diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3a16116..792a430 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,13 +1,10 @@ name: Documentation on: + workflow_dispatch: push: branches: [ main ] - paths: [ 'docs/**', 'README.md' ] pull_request: - branches: [ main ] - paths: [ 'docs/**', 'README.md' ] - workflow_dispatch: permissions: contents: read @@ -26,16 +23,27 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages + id: pages uses: actions/configure-pages@v3 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 + - name: Set up Go (for Hugo Modules) + uses: actions/setup-go@v5 with: - source: ./docs - destination: ./_site + go-version: '1.21' + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: '0.125.7' + extended: true + + - name: Build with Hugo + run: hugo --source docs --minify --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact uses: actions/upload-pages-artifact@v2 + with: + path: docs/_site deploy: environment: diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index 31a47be..0000000 --- a/docs/_config.yml +++ /dev/null @@ -1,90 +0,0 @@ -# GitHub Pages configuration - -# Site settings -title: "Fetch ML Documentation" -description: "Secure Machine Learning Platform" -baseurl: "/fetch_ml" -url: "https://fetch-ml.github.io" - -# Build settings -markdown: kramdown -highlighter: rouge -theme: minima -plugins: - - jekyll-sitemap - - jekyll-feed - - jekyll-optional-front-matter - - jekyll-readme-index - - jekyll-titles-from-headings - - jekyll-seo-tag - -# Versioning -version: "1.0.0" -versions: - - "1.0.0" - - "0.9.0" -latest_version: "1.0.0" - -# Navigation -nav: - - title: "Getting Started" - subnav: - - title: "Quick Start" - url: "/quick-start/" - - title: "Guides" - subnav: - - title: "CLI Reference" - url: "/cli-reference/" - - title: "Architecture" - url: "/architecture/" - - title: "Server Setup" - url: "/server-setup/" - - title: "Development" - subnav: - - title: "Contributing" - url: "/contributing/" - - title: "API Reference" - url: "/api/" - - title: "Performance Monitoring" - url: "/performance-monitoring/" - -# Collections -collections: - docs: - output: true - permalink: /:collection/:name/ - api: - output: true - permalink: /api/:name/ - -# Exclude files from processing -exclude: - - Gemfile - - Gemfile.lock - - node_modules - - vendor - - .gitignore - - README.md - - Makefile - -# Include files -include: - - _pages - -# SEO -author: "Fetch ML Team" -twitter: - username: "fetch_ml" - card: "summary" - -# Google Analytics (optional) -google_analytics: "" - -# Mermaid diagrams for architecture -mermaid: - enabled: true - -# Code highlighting -kramdown: - input: GFM - syntax_highlighter: rouge diff --git a/docs/_site/404.html b/docs/_site/404.html deleted file mode 100644 index a07fa07..0000000 --- a/docs/_site/404.html +++ /dev/null @@ -1,1630 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- -

404 - Not found

- -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/adr/ADR-001-use-go-for-api-server/index.html b/docs/_site/adr/ADR-001-use-go-for-api-server/index.html deleted file mode 100644 index 7dd91f1..0000000 --- a/docs/_site/adr/ADR-001-use-go-for-api-server/index.html +++ /dev/null @@ -1,1923 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - ADR-001: Use Go for API Server - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Skip to content - - -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- - - - - - - - -

ADR-001: Use Go for API Server

-

Status

-

Accepted

-

Context

-

We needed to choose a programming language for the Fetch ML API server that would provide: -- High performance for ML experiment management -- Strong concurrency support for handling multiple experiments -- Good ecosystem for HTTP APIs and WebSocket connections -- Easy deployment and containerization -- Strong type safety and reliability

-

Decision

-

We chose Go as the primary language for the API server implementation.

-

Consequences

-

Positive

-
    -
  • Excellent performance with low memory footprint
  • -
  • Built-in concurrency primitives (goroutines, channels) perfect for parallel ML experiment execution
  • -
  • Rich ecosystem for HTTP servers, WebSocket, and database drivers
  • -
  • Static compilation creates single binary deployments
  • -
  • Strong typing catches many errors at compile time
  • -
  • Good tooling for testing, benchmarking, and profiling
  • -
-

Negative

-
    -
  • Steeper learning curve for team members unfamiliar with Go
  • -
  • Less expressive than dynamic languages for rapid prototyping
  • -
  • Smaller ecosystem for ML-specific libraries compared to Python
  • -
-

Options Considered

-

Python with FastAPI

-

Pros: -- Rich ML ecosystem (TensorFlow, PyTorch, scikit-learn) -- Easy to learn and write -- Great for data science teams -- FastAPI provides good performance

-

Cons: -- Global Interpreter Lock limits true parallelism -- Higher memory usage -- Slower performance for high-throughput scenarios -- More complex deployment (multiple files, dependencies)

-

Node.js with Express

-

Pros: -- Excellent WebSocket support -- Large ecosystem -- Fast development cycle

-

Cons: -- Single-threaded event loop can be limiting -- Not ideal for CPU-intensive ML operations -- Dynamic typing can lead to runtime errors

-

Rust

-

Pros: -- Maximum performance and memory safety -- Strong type system -- Growing ecosystem

-

Cons: -- Very steep learning curve -- Longer development time -- Smaller ecosystem for web frameworks

-

Java with Spring Boot

-

Pros: -- Mature ecosystem -- Good performance -- Strong typing

-

Cons: -- Higher memory usage -- More verbose syntax -- Slower startup time -- Heavier deployment footprint

-

Rationale

-

Go provides the best balance of performance, concurrency support, and deployment simplicity for our API server needs. The ability to handle many concurrent ML experiments efficiently with goroutines is a key advantage. The single binary deployment model also simplifies our containerization and distribution strategy.

- - - - - - - - - - - - - -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/adr/ADR-002-use-sqlite-for-local-development/index.html b/docs/_site/adr/ADR-002-use-sqlite-for-local-development/index.html deleted file mode 100644 index 143e1c9..0000000 --- a/docs/_site/adr/ADR-002-use-sqlite-for-local-development/index.html +++ /dev/null @@ -1,1922 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - ADR-002: Use SQLite for Local Development - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Skip to content - - -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- - - - - - - - -

ADR-002: Use SQLite for Local Development

-

Status

-

Accepted

-

Context

-

For local development and testing, we needed a database solution that: -- Requires minimal setup and configuration -- Works well with Go's database drivers -- Supports the same SQL features as production databases -- Allows easy reset and recreation of test data -- Doesn't require external services running locally

-

Decision

-

We chose SQLite as the default database for local development and testing environments.

-

Consequences

-

Positive

-
    -
  • Zero configuration - database is just a file
  • -
  • Fast performance for local development workloads
  • -
  • Easy to reset by deleting the database file
  • -
  • Excellent Go driver support (mattn/go-sqlite3)
  • -
  • Supports most SQL features we need
  • -
  • Portable across different development machines
  • -
  • No external dependencies or services to manage
  • -
-

Negative

-
    -
  • Limited to single connection at a time (file locking)
  • -
  • Not suitable for production multi-user scenarios
  • -
  • Some advanced SQL features may not be available
  • -
  • Different behavior compared to PostgreSQL in production
  • -
-

Options Considered

-

PostgreSQL

-

Pros: -- Production-grade database -- Excellent feature support -- Good Go driver support -- Consistent with production environment

-

Cons: -- Requires external service installation and configuration -- Higher resource usage -- More complex setup for new developers -- Overkill for simple local development

-

MySQL

-

Pros: -- Popular and well-supported -- Good Go drivers available

-

Cons: -- Requires external service -- More complex setup -- Different SQL dialect than PostgreSQL

-

In-memory databases (Redis, etc.)

-

Pros: -- Very fast -- No persistence needed for some tests

-

Cons: -- Limited query capabilities -- Not suitable for complex relational data -- Different data model than production

-

No database (file-based storage)

-

Pros: -- Simple implementation -- No dependencies

-

Cons: -- Limited query capabilities -- No transaction support -- Hard to scale to complex data needs

-

Rationale

-

SQLite provides the perfect balance of simplicity and functionality for local development. It requires zero setup - developers can just run the application and it works. The file-based nature makes it easy to reset test data by deleting the database file. While it differs from our production PostgreSQL database, it supports the same core SQL features needed for development and testing.

-

The main limitation is single-writer access, but this is acceptable for local development where typically only one developer is working with the database at a time. For integration tests that need concurrent access, we can use PostgreSQL or Redis.

- - - - - - - - - - - - - -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/adr/ADR-003-use-redis-for-job-queue/index.html b/docs/_site/adr/ADR-003-use-redis-for-job-queue/index.html deleted file mode 100644 index 1aad7be..0000000 --- a/docs/_site/adr/ADR-003-use-redis-for-job-queue/index.html +++ /dev/null @@ -1,1931 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - ADR-003: Use Redis for Job Queue - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Skip to content - - -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- - - - - - - - -

ADR-003: Use Redis for Job Queue

-

Status

-

Accepted

-

Context

-

For the ML experiment job queue system, we needed a solution that: -- Provides reliable job queuing and distribution -- Supports multiple workers consuming jobs concurrently -- Offers persistence and durability -- Handles job priorities and retries -- Integrates well with our Go-based API server -- Can scale horizontally with multiple workers

-

Decision

-

We chose Redis as the job queue backend using its list data structures and pub/sub capabilities.

-

Consequences

-

Positive

-
    -
  • Excellent performance with sub-millisecond latency
  • -
  • Built-in persistence options (AOF, RDB)
  • -
  • Simple and reliable queue operations (LPUSH/RPOP)
  • -
  • Good Go client library support
  • -
  • Supports job priorities through multiple lists
  • -
  • Easy to monitor and debug
  • -
  • Can handle high throughput workloads
  • -
  • Low memory overhead for queue operations
  • -
-

Negative

-
    -
  • Additional infrastructure component to manage
  • -
  • Memory-based (requires sufficient RAM)
  • -
  • Limited built-in job scheduling features
  • -
  • No complex job dependency management
  • -
  • Requires careful handling of connection failures
  • -
-

Options Considered

-

Database-based Queuing (PostgreSQL)

-

Pros: -- No additional infrastructure -- ACID transactions -- Complex queries and joins possible -- Integrated with primary database

-

Cons: -- Higher latency for queue operations -- Database contention under high load -- More complex implementation for reliable polling -- Limited scalability for high-frequency operations

-

RabbitMQ

-

Pros: -- Purpose-built message broker -- Advanced routing and filtering -- Built-in acknowledgments and retries -- Good clustering support

-

Cons: -- More complex setup and configuration -- Higher resource requirements -- Steeper learning curve -- Overkill for simple queue needs

-

Apache Kafka

-

Pros: -- Extremely high throughput -- Built-in partitioning and replication -- Good for event streaming

-

Cons: -- Complex setup and operations -- Designed for streaming, not job queuing -- Higher latency for individual job processing -- More resource intensive

-

In-memory Queuing (Go channels)

-

Pros: -- Zero external dependencies -- Very fast -- Simple implementation

-

Cons: -- No persistence (jobs lost on restart) -- Limited to single process -- No monitoring or observability -- Not suitable for distributed systems

-

Rationale

-

Redis provides the optimal balance of simplicity, performance, and reliability for our job queue needs. The list-based queue implementation (LPUSH/RPOP) is straightforward and highly performant. Redis's persistence options ensure jobs aren't lost during restarts, and the pub/sub capabilities enable real-time notifications for workers.

-

The Go client library is excellent and provides connection pooling, automatic reconnection, and good error handling. Redis's low memory footprint and fast operations make it ideal for high-frequency job queuing scenarios common in ML workloads.

-

While RabbitMQ offers more advanced features, Redis is sufficient for our current needs and much simpler to operate. The simple queue model also makes it easier to understand and debug when issues arise.

- - - - - - - - - - - - - -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/adr/index.html b/docs/_site/adr/index.html deleted file mode 100644 index 52bc13b..0000000 --- a/docs/_site/adr/index.html +++ /dev/null @@ -1,1726 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - Architecture Decision Records (ADRs) - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Skip to content - - -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- - - - - - - - -

Architecture Decision Records (ADRs)

-

This directory contains Architecture Decision Records (ADRs) for the Fetch ML project.

-

What are ADRs?

-

Architecture Decision Records are short text files that document a single architectural decision. They capture the context, options considered, decision made, and consequences of that decision.

-

ADR Template

-

Each ADR follows this structure:

-
# ADR-XXX: [Title]
-
-## Status
-[Proposed | Accepted | Deprecated | Superseded]
-
-## Context
-[What is the issue that we're facing that needs a decision?]
-
-## Decision
-[What is the change that we're proposing and/or doing?]
-
-## Consequences
-[What becomes easier or more difficult to do because of this change?]
-
-## Options Considered
-[What other approaches did we consider and why did we reject them?]
-
-

ADR Index

- - - - - - - - - - - - - - - - - - - - - - - - - -
ADRTitleStatus
ADR-001Use Go for API ServerAccepted
ADR-002Use SQLite for Local DevelopmentAccepted
ADR-003Use Redis for Job QueueAccepted
-

How to Add a New ADR

-
    -
  1. Create a new file named ADR-XXX-title.md where XXX is the next sequential number
  2. -
  3. Use the template above
  4. -
  5. Update this README with the new ADR in the index
  6. -
  7. Submit a pull request for review
  8. -
-

ADR Lifecycle

-
    -
  • Proposed: Initial draft, under discussion
  • -
  • Accepted: Decision made and implemented
  • -
  • Deprecated: Decision no longer recommended but still in use
  • -
  • Superseded: Replaced by a newer ADR
  • -
- - - - - - - - - - - - - -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/api-key-process/index.html b/docs/_site/api-key-process/index.html deleted file mode 100644 index f2ca31f..0000000 --- a/docs/_site/api-key-process/index.html +++ /dev/null @@ -1,1939 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - FetchML API Key Process - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Skip to content - - -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- - - - - - - - -

FetchML API Key Process

-

This document describes how API keys are issued and how team members should configure the ml CLI to use them.

-

The goal is to keep access easy for your homelab while treating API keys as sensitive secrets.

-

Overview

-
    -
  • Each user gets a personal API key (no shared admin keys for normal use).
  • -
  • API keys are used by the ml CLI to authenticate to the FetchML API.
  • -
  • API keys and their SHA256 hashes must both be treated as secrets.
  • -
-

There are two supported ways to receive your key:

-
    -
  1. Bitwarden (recommended) – for users who already use Bitwarden.
  2. -
  3. Direct share (minimal tools) – for users who do not use Bitwarden.
  4. -
-
- -

For the admin

-
    -
  • Use the helper script to create a Bitwarden item for each user:
  • -
-
./scripts/create_bitwarden_fetchml_item.sh <username> <api_key> <api_key_hash>
-
-

This script:

-
    -
  • Creates a Bitwarden item named FetchML API – <username>.
  • -
  • -

    Stores:

    -
      -
    • Username: <username>
    • -
    • Password: <api_key> (the actual API key)
    • -
    • Custom field api_key_hash: <api_key_hash>
    • -
    -
  • -
  • -

    Share that item with the user in Bitwarden (for example, via a shared collection like FetchML).

    -
  • -
-

For the user

-
    -
  1. -

    Open Bitwarden and locate the item:

    -
  2. -
  3. -

    Name: FetchML API – <your-name>

    -
  4. -
  5. -

    Copy the password field (this is your FetchML API key).

    -
  6. -
  7. -

    Configure the CLI, e.g. in ~/.ml/config.toml:

    -
  8. -
-
api_key     = "<paste-from-bitwarden>"
-worker_host = "localhost"
-worker_port = 9100
-api_url     = "ws://localhost:9100/ws"
-
-
    -
  1. Test your setup:
  2. -
-
ml status
-
-

If the command works, your key and tunnel/config are correct.

-
-

2. Direct share (no password manager required)

-

For users who do not use Bitwarden, a lightweight alternative is a direct one-to-one share.

-

For the admin

-
    -
  1. Generate a per-user API key and hash as usual.
  2. -
  3. Store them securely on your side (for example, in your own Bitwarden vault or configuration files).
  4. -
  5. -

    Share only the API key with the user via a direct channel you both trust, such as:

    -
  6. -
  7. -

    Signal / WhatsApp direct message

    -
  8. -
  9. SMS
  10. -
  11. -

    Short call/meeting where you read it to them

    -
  12. -
  13. -

    Ask the user to:

    -
  14. -
  15. -

    Paste the key into their local config.

    -
  16. -
  17. Avoid keeping the key in plain chat history if possible.
  18. -
-

For the user

-
    -
  1. When you receive your FetchML API key from the admin, create or edit ~/.ml/config.toml:
  2. -
-
api_key     = "<your-api-key>"
-worker_host = "localhost"
-worker_port = 9100
-api_url     = "ws://localhost:9100/ws"
-
-
    -
  1. Save the file and run:
  2. -
-
ml status
-
-
    -
  1. If it works, you are ready to use the CLI:
  2. -
-
ml queue my-training-job
-ml cancel my-training-job
-
-
-

3. Security notes

-
    -
  • API key and hash are secrets
  • -
  • The 64-character api_key_hash is as sensitive as the API key itself.
  • -
  • -

    Do not commit keys or hashes to Git or share them in screenshots or tickets.

    -
  • -
  • -

    Rotation

    -
  • -
  • If you suspect a key has leaked, notify the admin.
  • -
  • -

    The admin will revoke the old key, generate a new one, and update Bitwarden or share a new key.

    -
  • -
  • -

    Transport security

    -
  • -
  • The api_url is typically ws://localhost:9100/ws when used through an SSH tunnel to the homelab.
  • -
  • The SSH tunnel and nginx/TLS provide encryption over the network.
  • -
-

Following these steps keeps API access easy for the team while maintaining a reasonable security posture for a personal homelab deployment.

- - - - - - - - - - - - - -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/architecture/index.html b/docs/_site/architecture/index.html deleted file mode 100644 index 035cb1f..0000000 --- a/docs/_site/architecture/index.html +++ /dev/null @@ -1,3055 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - Homelab Architecture - Fetch ML Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Skip to content - - -
-
- -
- - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - - - - -
-
-
- - - - -
- -
- - - - - - - - -

Homelab Architecture

-

Simple, secure architecture for ML experiments in your homelab.

-

Components Overview

-
graph TB
-    subgraph "Homelab Stack"
-        CLI[Zig CLI]
-        API[HTTPS API]
-        REDIS[Redis Cache]
-        FS[Local Storage]
-    end
-
-    CLI --> API
-    API --> REDIS
-    API --> FS
-
-

Core Services

-

API Server

-
    -
  • Purpose: Secure HTTPS API for ML experiments
  • -
  • Port: 9101 (HTTPS only)
  • -
  • Auth: API key authentication
  • -
  • Security: Rate limiting, IP whitelisting
  • -
-

Redis

-
    -
  • Purpose: Caching and job queuing
  • -
  • Port: 6379 (localhost only)
  • -
  • Storage: Temporary data only
  • -
  • Persistence: Local volume
  • -
-

Zig CLI

-
    -
  • Purpose: High-performance experiment management
  • -
  • Language: Zig for maximum speed and efficiency
  • -
  • Features:
  • -
  • Content-addressed storage with deduplication
  • -
  • SHA256-based commit ID generation
  • -
  • WebSocket communication for real-time updates
  • -
  • Rsync-based incremental file transfers
  • -
  • Multi-threaded operations
  • -
  • Secure API key authentication
  • -
  • Auto-sync monitoring with file system watching
  • -
  • Priority-based job queuing
  • -
  • Memory-efficient operations with arena allocators
  • -
-

Security Architecture

-
graph LR
-    USER[User] --> AUTH[API Key Auth]
-    AUTH --> RATE[Rate Limiting]
-    RATE --> WHITELIST[IP Whitelist]
-    WHITELIST --> API[Secure API]
-    API --> AUDIT[Audit Logging]
-
-

Security Layers

-
    -
  1. API Key Authentication - Hashed keys with roles
  2. -
  3. Rate Limiting - 30 requests/minute
  4. -
  5. IP Whitelisting - Local networks only
  6. -
  7. Fail2Ban - Automatic IP blocking
  8. -
  9. HTTPS/TLS - Encrypted communication
  10. -
  11. Audit Logging - Complete action tracking
  12. -
-

Data Flow

-
sequenceDiagram
-    participant CLI
-    participant API
-    participant Redis
-    participant Storage
-
-    CLI->>API: HTTPS Request
-    API->>API: Validate Auth
-    API->>Redis: Cache/Queue
-    API->>Storage: Experiment Data
-    Storage->>API: Results
-    API->>CLI: Response
-
-

Deployment Options

- -
services:
-  redis:
-    image: redis:7-alpine
-    ports: ["6379:6379"]
-    volumes: [redis_data:/data]
-
-  api-server:
-    build: .
-    ports: ["9101:9101"]
-    depends_on: [redis]
-
-

Local Setup

-
./setup.sh && ./manage.sh start
-
-

Network Architecture

-
    -
  • Private Network: Docker internal network
  • -
  • Localhost Access: Redis only on localhost
  • -
  • HTTPS API: Port 9101, TLS encrypted
  • -
  • No External Dependencies: Everything runs locally
  • -
-

Storage Architecture

-
data/
-├── experiments/     # ML experiment results
-├── cache/          # Temporary cache files
-└── backups/        # Local backups
-
-logs/
-├── app.log         # Application logs
-├── audit.log       # Security events
-└── access.log      # API access logs
-
-

Monitoring Architecture

-

Simple, lightweight monitoring: -- Health Checks: Service availability -- Log Files: Structured logging -- Basic Metrics: Request counts, error rates -- Security Events: Failed auth, rate limits

-

Homelab Benefits

-
    -
  • Simple Setup: One-command installation
  • -
  • Local Only: No external dependencies
  • -
  • Secure by Default: HTTPS, auth, rate limiting
  • -
  • Low Resource: Minimal CPU/memory usage
  • -
  • Easy Backup: Local file system
  • -
  • Privacy: Everything stays on your network
  • -
-

High-Level Architecture

-
graph TB
-    subgraph "Client Layer"
-        CLI[CLI Tools]
-        TUI[Terminal UI]
-        API[REST API]
-    end
-
-    subgraph "Authentication Layer"
-        Auth[Authentication Service]
-        RBAC[Role-Based Access Control]
-        Perm[Permission Manager]
-    end
-
-    subgraph "Core Services"
-        Worker[ML Worker Service]
-        DataMgr[Data Manager Service]
-        Queue[Job Queue]
-    end
-
-    subgraph "Storage Layer"
-        Redis[(Redis Cache)]
-        DB[(SQLite/PostgreSQL)]
-        Files[File Storage]
-    end
-
-    subgraph "Container Runtime"
-        Podman[Podman/Docker]
-        Containers[ML Containers]
-    end
-
-    CLI --> Auth
-    TUI --> Auth
-    API --> Auth
-
-    Auth --> RBAC
-    RBAC --> Perm
-
-    Worker --> Queue
-    Worker --> DataMgr
-    Worker --> Podman
-
-    DataMgr --> DB
-    DataMgr --> Files
-
-    Queue --> Redis
-
-    Podman --> Containers
-
-

Zig CLI Architecture

-

Component Structure

-
graph TB
-    subgraph "Zig CLI Components"
-        Main[main.zig] --> Commands[commands/]
-        Commands --> Config[config.zig]
-        Commands --> Utils[utils/]
-        Commands --> Net[net/]
-        Commands --> Errors[errors.zig]
-
-        subgraph "Commands"
-            Init[init.zig]
-            Sync[sync.zig]
-            Queue[queue.zig]
-            Watch[watch.zig]
-            Status[status.zig]
-            Monitor[monitor.zig]
-            Cancel[cancel.zig]
-            Prune[prune.zig]
-        end
-
-        subgraph "Utils"
-            Crypto[crypto.zig]
-            Storage[storage.zig]
-            Rsync[rsync.zig]
-        end
-
-        subgraph "Network"
-            WS[ws.zig]
-        end
-    end
-
-

Performance Optimizations

-

Content-Addressed Storage

-
    -
  • Deduplication: Files stored by SHA256 hash
  • -
  • Space Efficiency: Shared files across experiments
  • -
  • Fast Lookup: Hash-based file retrieval
  • -
-

Memory Management

-
    -
  • Arena Allocators: Efficient bulk allocation
  • -
  • Zero-Copy Operations: Minimized memory copying
  • -
  • Automatic Cleanup: Resource deallocation
  • -
-

Network Communication

-
    -
  • WebSocket Protocol: Real-time bidirectional communication
  • -
  • Connection Pooling: Reused connections
  • -
  • Binary Messaging: Efficient data transfer
  • -
-

Security Implementation

-
graph LR
-    subgraph "CLI Security"
-        Config[Config File] --> Hash[SHA256 Hashing]
-        Hash --> Auth[API Authentication]
-        Auth --> SSH[SSH Transfer]
-        SSH --> WS[WebSocket Security]
-    end
-
-

Core Components

-

1. Authentication & Authorization

-
graph LR
-    subgraph "Auth Flow"
-        Client[Client] --> APIKey[API Key]
-        APIKey --> Hash[Hash Validation]
-        Hash --> Roles[Role Resolution]
-        Roles --> Perms[Permission Check]
-        Perms --> Access[Grant/Deny Access]
-    end
-
-    subgraph "Permission Sources"
-        YAML[YAML Config]
-        Inline[Inline Fallback]
-        Roles --> YAML
-        Roles --> Inline
-    end
-
-

Features: -- API key-based authentication -- Role-based access control (RBAC) -- YAML-based permission configuration -- Fallback to inline permissions -- Admin wildcard permissions

-

2. Worker Service

-
graph TB
-    subgraph "Worker Architecture"
-        API[HTTP API] --> Router[Request Router]
-        Router --> Auth[Auth Middleware]
-        Auth --> Queue[Job Queue]
-        Queue --> Processor[Job Processor]
-        Processor --> Runtime[Container Runtime]
-        Runtime --> Storage[Result Storage]
-
-        subgraph "Job Lifecycle"
-            Submit[Submit Job] --> Queue
-            Queue --> Execute[Execute]
-            Execute --> Monitor[Monitor]
-            Monitor --> Complete[Complete]
-            Complete --> Store[Store Results]
-        end
-    end
-
-

Responsibilities: -- HTTP API for job submission -- Job queue management -- Container orchestration -- Result collection and storage -- Metrics and monitoring

-

3. Data Manager Service

-
graph TB
-    subgraph "Data Management"
-        API[Data API] --> Storage[Storage Layer]
-        Storage --> Metadata[Metadata DB]
-        Storage --> Files[File System]
-        Storage --> Cache[Redis Cache]
-
-        subgraph "Data Operations"
-            Upload[Upload Data] --> Validate[Validate]
-            Validate --> Store[Store]
-            Store --> Index[Index]
-            Index --> Catalog[Catalog]
-        end
-    end
-
-

Features: -- Data upload and validation -- Metadata management -- File system abstraction -- Caching layer -- Data catalog

-

4. Terminal UI (TUI)

-
graph TB
-    subgraph "TUI Architecture"
-        UI[UI Components] --> Model[Data Model]
-        Model --> Update[Update Loop]
-        Update --> Render[Render]
-
-        subgraph "UI Panels"
-            Jobs[Job List]
-            Details[Job Details]
-            Logs[Log Viewer]
-            Status[Status Bar]
-        end
-
-        UI --> Jobs
-        UI --> Details
-        UI --> Logs
-        UI --> Status
-    end
-
-

Components: -- Bubble Tea framework -- Component-based architecture -- Real-time updates -- Keyboard navigation -- Theme support

-

Data Flow

-

Job Execution Flow

-
sequenceDiagram
-    participant Client
-    participant Auth
-    participant Worker
-    participant Queue
-    participant Container
-    participant Storage
-
-    Client->>Auth: Submit job with API key
-    Auth->>Client: Validate and return job ID
-
-    Client->>Worker: Execute job request
-    Worker->>Queue: Queue job
-    Queue->>Worker: Job ready
-    Worker->>Container: Start ML container
-    Container->>Worker: Execute experiment
-    Worker->>Storage: Store results
-    Worker->>Client: Return results
-
-

Authentication Flow

-
sequenceDiagram
-    participant Client
-    participant Auth
-    participant PermMgr
-    participant Config
-
-    Client->>Auth: Request with API key
-    Auth->>Auth: Validate key hash
-    Auth->>PermMgr: Get user permissions
-    PermMgr->>Config: Load YAML permissions
-    Config->>PermMgr: Return permissions
-    PermMgr->>Auth: Return resolved permissions
-    Auth->>Client: Grant/deny access
-
-

Security Architecture

-

Defense in Depth

-
graph TB
-    subgraph "Security Layers"
-        Network[Network Security]
-        Auth[Authentication]
-        AuthZ[Authorization]
-        Container[Container Security]
-        Data[Data Protection]
-        Audit[Audit Logging]
-    end
-
-    Network --> Auth
-    Auth --> AuthZ
-    AuthZ --> Container
-    Container --> Data
-    Data --> Audit
-
-

Security Features: -- API key authentication -- Role-based permissions -- Container isolation -- File system sandboxing -- Comprehensive audit logs -- Input validation and sanitization

-

Container Security

-
graph TB
-    subgraph "Container Isolation"
-        Host[Host System]
-        Podman[Podman Runtime]
-        Network[Network Isolation]
-        FS[File System Isolation]
-        User[User Namespaces]
-        ML[ML Container]
-
-        Host --> Podman
-        Podman --> Network
-        Podman --> FS
-        Podman --> User
-        User --> ML
-    end
-
-

Isolation Features: -- Rootless containers -- Network isolation -- File system sandboxing -- User namespace mapping -- Resource limits

-

Configuration Architecture

-

Configuration Hierarchy

-
graph TB
-    subgraph "Config Sources"
-        Env[Environment Variables]
-        File[Config Files]
-        CLI[CLI Flags]
-        Defaults[Default Values]
-    end
-
-    subgraph "Config Processing"
-        Merge[Config Merger]
-        Validate[Schema Validator]
-        Apply[Config Applier]
-    end
-
-    Env --> Merge
-    File --> Merge
-    CLI --> Merge
-    Defaults --> Merge
-
-    Merge --> Validate
-    Validate --> Apply
-
-

Configuration Priority: -1. CLI flags (highest) -2. Environment variables -3. Configuration files -4. Default values (lowest)

-

Scalability Architecture

-

Horizontal Scaling

-
graph TB
-    subgraph "Scaled Architecture"
-        LB[Load Balancer]
-        W1[Worker 1]
-        W2[Worker 2]
-        W3[Worker N]
-        Redis[Redis Cluster]
-        Storage[Shared Storage]
-
-        LB --> W1
-        LB --> W2
-        LB --> W3
-
-        W1 --> Redis
-        W2 --> Redis
-        W3 --> Redis
-
-        W1 --> Storage
-        W2 --> Storage
-        W3 --> Storage
-    end
-
-

Scaling Features: -- Stateless worker services -- Shared job queue (Redis) -- Distributed storage -- Load balancer ready -- Health checks and monitoring

-

Technology Stack

-

Backend Technologies

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ComponentTechnologyPurpose
LanguageGo 1.25+Core application
Web FrameworkStandard libraryHTTP server
AuthenticationCustomAPI key + RBAC
DatabaseSQLite/PostgreSQLMetadata storage
CacheRedisJob queue & caching
ContainersPodman/DockerJob isolation
UI FrameworkBubble TeaTerminal UI
-

Dependencies

-
// Core dependencies
-require (
-    github.com/charmbracelet/bubbletea v1.3.10  // TUI framework
-    github.com/go-redis/redis/v8 v8.11.5        // Redis client
-    github.com/google/uuid v1.6.0               // UUID generation
-    github.com/mattn/go-sqlite3 v1.14.32        // SQLite driver
-    golang.org/x/crypto v0.45.0                 // Crypto utilities
-    gopkg.in/yaml.v3 v3.0.1                     // YAML parsing
-)
-
-

Development Architecture

-

Project Structure

-
fetch_ml/
-├── cmd/                    # CLI applications
-│   ├── worker/            # ML worker service
-│   ├── tui/               # Terminal UI
-│   ├── data_manager/      # Data management
-│   └── user_manager/      # User management
-├── internal/              # Internal packages
-│   ├── auth/              # Authentication system
-│   ├── config/            # Configuration management
-│   ├── container/         # Container operations
-│   ├── database/          # Database operations
-│   ├── logging/           # Logging utilities
-│   ├── metrics/           # Metrics collection
-│   └── network/           # Network utilities
-├── configs/               # Configuration files
-├── scripts/               # Setup and utility scripts
-├── tests/                 # Test suites
-└── docs/                  # Documentation
-
-

Package Dependencies

-
graph TB
-    subgraph "Application Layer"
-        Worker[cmd/worker]
-        TUI[cmd/tui]
-        DataMgr[cmd/data_manager]
-        UserMgr[cmd/user_manager]
-    end
-
-    subgraph "Service Layer"
-        Auth[internal/auth]
-        Config[internal/config]
-        Container[internal/container]
-        Database[internal/database]
-    end
-
-    subgraph "Utility Layer"
-        Logging[internal/logging]
-        Metrics[internal/metrics]
-        Network[internal/network]
-    end
-
-    Worker --> Auth
-    Worker --> Config
-    Worker --> Container
-    TUI --> Auth
-    DataMgr --> Database
-    UserMgr --> Auth
-
-    Auth --> Logging
-    Container --> Network
-    Database --> Metrics
-
-

Monitoring & Observability

-

Metrics Collection

-
graph TB
-    subgraph "Metrics Pipeline"
-        App[Application] --> Metrics[Metrics Collector]
-        Metrics --> Export[Prometheus Exporter]
-        Export --> Prometheus[Prometheus Server]
-        Prometheus --> Grafana[Grafana Dashboard]
-
-        subgraph "Metric Types"
-            Counter[Counters]
-            Gauge[Gauges]
-            Histogram[Histograms]
-            Timer[Timers]
-        end
-
-        App --> Counter
-        App --> Gauge
-        App --> Histogram
-        App --> Timer
-    end
-
-

Logging Architecture

-
graph TB
-    subgraph "Logging Pipeline"
-        App[Application] --> Logger[Structured Logger]
-        Logger --> File[File Output]
-        Logger --> Console[Console Output]
-        Logger --> Syslog[Syslog Forwarder]
-        Syslog --> Aggregator[Log Aggregator]
-        Aggregator --> Storage[Log Storage]
-        Storage --> Viewer[Log Viewer]
-    end
-
-

Deployment Architecture

-

Container Deployment

-
graph TB
-    subgraph "Deployment Stack"
-        Image[Container Image]
-        Registry[Container Registry]
-        Orchestrator[Docker Compose]
-        Config[ConfigMaps/Secrets]
-        Storage[Persistent Storage]
-
-        Image --> Registry
-        Registry --> Orchestrator
-        Config --> Orchestrator
-        Storage --> Orchestrator
-    end
-
-

Service Discovery

-
graph TB
-    subgraph "Service Mesh"
-        Gateway[API Gateway]
-        Discovery[Service Discovery]
-        Worker[Worker Service]
-        Data[Data Service]
-        Redis[Redis Cluster]
-
-        Gateway --> Discovery
-        Discovery --> Worker
-        Discovery --> Data
-        Discovery --> Redis
-    end
-
-

Future Architecture Considerations

-

Microservices Evolution

-
    -
  • API Gateway: Centralized routing and authentication
  • -
  • Service Mesh: Inter-service communication
  • -
  • Event Streaming: Kafka for job events
  • -
  • Distributed Tracing: OpenTelemetry integration
  • -
  • Multi-tenant: Tenant isolation and quotas
  • -
-

Homelab Features

-
    -
  • Docker Compose: Simple container orchestration
  • -
  • Local Development: Easy setup and testing
  • -
  • Security: Built-in authentication and encryption
  • -
  • Monitoring: Basic health checks and logging
  • -
-
-

This architecture provides a solid foundation for secure, scalable machine learning experiments while maintaining simplicity and developer productivity.

- - - - - - - - - - - - - - - - -
-
- - - -
- -
- - - -
-
-
-
- - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/_site/assets/images/favicon.png b/docs/_site/assets/images/favicon.png deleted file mode 100644 index 1cf13b9..0000000 Binary files a/docs/_site/assets/images/favicon.png and /dev/null differ diff --git a/docs/_site/assets/javascripts/bundle.e71a0d61.min.js b/docs/_site/assets/javascripts/bundle.e71a0d61.min.js deleted file mode 100644 index c76b3b2..0000000 --- a/docs/_site/assets/javascripts/bundle.e71a0d61.min.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict";(()=>{var Zi=Object.create;var _r=Object.defineProperty;var ea=Object.getOwnPropertyDescriptor;var ta=Object.getOwnPropertyNames,Bt=Object.getOwnPropertySymbols,ra=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable;var ho=(e,t,r)=>t in e?_r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))Ar.call(t,r)&&ho(e,r,t[r]);if(Bt)for(var r of Bt(t))bo.call(t,r)&&ho(e,r,t[r]);return e};var vo=(e,t)=>{var r={};for(var o in e)Ar.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Bt)for(var o of Bt(e))t.indexOf(o)<0&&bo.call(e,o)&&(r[o]=e[o]);return r};var Cr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var oa=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ta(t))!Ar.call(e,n)&&n!==r&&_r(e,n,{get:()=>t[n],enumerable:!(o=ea(t,n))||o.enumerable});return e};var $t=(e,t,r)=>(r=e!=null?Zi(ra(e)):{},oa(t||!e||!e.__esModule?_r(r,"default",{value:e,enumerable:!0}):r,e));var go=(e,t,r)=>new Promise((o,n)=>{var i=c=>{try{a(r.next(c))}catch(p){n(p)}},s=c=>{try{a(r.throw(c))}catch(p){n(p)}},a=c=>c.done?o(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(e,t)).next())});var xo=Cr((kr,yo)=>{(function(e,t){typeof kr=="object"&&typeof yo!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(kr,(function(){"use strict";function e(r){var o=!0,n=!1,i=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(k){return!!(k&&k!==document&&k.nodeName!=="HTML"&&k.nodeName!=="BODY"&&"classList"in k&&"contains"in k.classList)}function c(k){var ut=k.type,je=k.tagName;return!!(je==="INPUT"&&s[ut]&&!k.readOnly||je==="TEXTAREA"&&!k.readOnly||k.isContentEditable)}function p(k){k.classList.contains("focus-visible")||(k.classList.add("focus-visible"),k.setAttribute("data-focus-visible-added",""))}function l(k){k.hasAttribute("data-focus-visible-added")&&(k.classList.remove("focus-visible"),k.removeAttribute("data-focus-visible-added"))}function f(k){k.metaKey||k.altKey||k.ctrlKey||(a(r.activeElement)&&p(r.activeElement),o=!0)}function u(k){o=!1}function d(k){a(k.target)&&(o||c(k.target))&&p(k.target)}function v(k){a(k.target)&&(k.target.classList.contains("focus-visible")||k.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),l(k.target))}function S(k){document.visibilityState==="hidden"&&(n&&(o=!0),X())}function X(){document.addEventListener("mousemove",ee),document.addEventListener("mousedown",ee),document.addEventListener("mouseup",ee),document.addEventListener("pointermove",ee),document.addEventListener("pointerdown",ee),document.addEventListener("pointerup",ee),document.addEventListener("touchmove",ee),document.addEventListener("touchstart",ee),document.addEventListener("touchend",ee)}function re(){document.removeEventListener("mousemove",ee),document.removeEventListener("mousedown",ee),document.removeEventListener("mouseup",ee),document.removeEventListener("pointermove",ee),document.removeEventListener("pointerdown",ee),document.removeEventListener("pointerup",ee),document.removeEventListener("touchmove",ee),document.removeEventListener("touchstart",ee),document.removeEventListener("touchend",ee)}function ee(k){k.target.nodeName&&k.target.nodeName.toLowerCase()==="html"||(o=!1,re())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",S,!0),X(),r.addEventListener("focus",d,!0),r.addEventListener("blur",v,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)}))});var ro=Cr((jy,Rn)=>{"use strict";/*! - * escape-html - * Copyright(c) 2012-2013 TJ Holowaychuk - * Copyright(c) 2015 Andreas Lubbe - * Copyright(c) 2015 Tiancheng "Timothy" Gu - * MIT Licensed - */var qa=/["'&<>]/;Rn.exports=Ka;function Ka(e){var t=""+e,r=qa.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i{/*! - * clipboard.js v2.0.11 - * https://clipboardjs.com/ - * - * Licensed MIT © Zeno Rocha - */(function(t,r){typeof Nt=="object"&&typeof io=="object"?io.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Nt=="object"?Nt.ClipboardJS=r():t.ClipboardJS=r()})(Nt,function(){return(function(){var e={686:(function(o,n,i){"use strict";i.d(n,{default:function(){return Xi}});var s=i(279),a=i.n(s),c=i(370),p=i.n(c),l=i(817),f=i.n(l);function u(q){try{return document.execCommand(q)}catch(C){return!1}}var d=function(C){var _=f()(C);return u("cut"),_},v=d;function S(q){var C=document.documentElement.getAttribute("dir")==="rtl",_=document.createElement("textarea");_.style.fontSize="12pt",_.style.border="0",_.style.padding="0",_.style.margin="0",_.style.position="absolute",_.style[C?"right":"left"]="-9999px";var D=window.pageYOffset||document.documentElement.scrollTop;return _.style.top="".concat(D,"px"),_.setAttribute("readonly",""),_.value=q,_}var X=function(C,_){var D=S(C);_.container.appendChild(D);var N=f()(D);return u("copy"),D.remove(),N},re=function(C){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},D="";return typeof C=="string"?D=X(C,_):C instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(C==null?void 0:C.type)?D=X(C.value,_):(D=f()(C),u("copy")),D},ee=re;function k(q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(_){return typeof _}:k=function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},k(q)}var ut=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_=C.action,D=_===void 0?"copy":_,N=C.container,G=C.target,We=C.text;if(D!=="copy"&&D!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(G!==void 0)if(G&&k(G)==="object"&&G.nodeType===1){if(D==="copy"&&G.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(D==="cut"&&(G.hasAttribute("readonly")||G.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(We)return ee(We,{container:N});if(G)return D==="cut"?v(G):ee(G,{container:N})},je=ut;function R(q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(_){return typeof _}:R=function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},R(q)}function se(q,C){if(!(q instanceof C))throw new TypeError("Cannot call a class as a function")}function ce(q,C){for(var _=0;_0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof N.action=="function"?N.action:this.defaultAction,this.target=typeof N.target=="function"?N.target:this.defaultTarget,this.text=typeof N.text=="function"?N.text:this.defaultText,this.container=R(N.container)==="object"?N.container:document.body}},{key:"listenClick",value:function(N){var G=this;this.listener=p()(N,"click",function(We){return G.onClick(We)})}},{key:"onClick",value:function(N){var G=N.delegateTarget||N.currentTarget,We=this.action(G)||"copy",Yt=je({action:We,container:this.container,target:this.target(G),text:this.text(G)});this.emit(Yt?"success":"error",{action:We,text:Yt,trigger:G,clearSelection:function(){G&&G.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(N){return Mr("action",N)}},{key:"defaultTarget",value:function(N){var G=Mr("target",N);if(G)return document.querySelector(G)}},{key:"defaultText",value:function(N){return Mr("text",N)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(N){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return ee(N,G)}},{key:"cut",value:function(N){return v(N)}},{key:"isSupported",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],G=typeof N=="string"?[N]:N,We=!!document.queryCommandSupported;return G.forEach(function(Yt){We=We&&!!document.queryCommandSupported(Yt)}),We}}]),_})(a()),Xi=Ji}),828:(function(o){var n=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function s(a,c){for(;a&&a.nodeType!==n;){if(typeof a.matches=="function"&&a.matches(c))return a;a=a.parentNode}}o.exports=s}),438:(function(o,n,i){var s=i(828);function a(l,f,u,d,v){var S=p.apply(this,arguments);return l.addEventListener(u,S,v),{destroy:function(){l.removeEventListener(u,S,v)}}}function c(l,f,u,d,v){return typeof l.addEventListener=="function"?a.apply(null,arguments):typeof u=="function"?a.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(S){return a(S,f,u,d,v)}))}function p(l,f,u,d){return function(v){v.delegateTarget=s(v.target,f),v.delegateTarget&&d.call(l,v)}}o.exports=c}),879:(function(o,n){n.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},n.nodeList=function(i){var s=Object.prototype.toString.call(i);return i!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in i&&(i.length===0||n.node(i[0]))},n.string=function(i){return typeof i=="string"||i instanceof String},n.fn=function(i){var s=Object.prototype.toString.call(i);return s==="[object Function]"}}),370:(function(o,n,i){var s=i(879),a=i(438);function c(u,d,v){if(!u&&!d&&!v)throw new Error("Missing required arguments");if(!s.string(d))throw new TypeError("Second argument must be a String");if(!s.fn(v))throw new TypeError("Third argument must be a Function");if(s.node(u))return p(u,d,v);if(s.nodeList(u))return l(u,d,v);if(s.string(u))return f(u,d,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function p(u,d,v){return u.addEventListener(d,v),{destroy:function(){u.removeEventListener(d,v)}}}function l(u,d,v){return Array.prototype.forEach.call(u,function(S){S.addEventListener(d,v)}),{destroy:function(){Array.prototype.forEach.call(u,function(S){S.removeEventListener(d,v)})}}}function f(u,d,v){return a(document.body,u,d,v)}o.exports=c}),817:(function(o){function n(i){var s;if(i.nodeName==="SELECT")i.focus(),s=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var a=i.hasAttribute("readonly");a||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),a||i.removeAttribute("readonly"),s=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var c=window.getSelection(),p=document.createRange();p.selectNodeContents(i),c.removeAllRanges(),c.addRange(p),s=c.toString()}return s}o.exports=n}),279:(function(o){function n(){}n.prototype={on:function(i,s,a){var c=this.e||(this.e={});return(c[i]||(c[i]=[])).push({fn:s,ctx:a}),this},once:function(i,s,a){var c=this;function p(){c.off(i,p),s.apply(a,arguments)}return p._=s,this.on(i,p,a)},emit:function(i){var s=[].slice.call(arguments,1),a=((this.e||(this.e={}))[i]||[]).slice(),c=0,p=a.length;for(c;c0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function K(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,i=[],s;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.error}}return i}function B(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o1||c(d,S)})},v&&(n[d]=v(n[d])))}function c(d,v){try{p(o[d](v))}catch(S){u(i[0][3],S)}}function p(d){d.value instanceof dt?Promise.resolve(d.value.v).then(l,f):u(i[0][2],d)}function l(d){c("next",d)}function f(d){c("throw",d)}function u(d,v){d(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}function To(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Oe=="function"?Oe(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(i){r[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),n(a,c,s.done,s.value)})}}function n(i,s,a,c){Promise.resolve(c).then(function(p){i({value:p,done:a})},s)}}function I(e){return typeof e=="function"}function yt(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Jt=yt(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: -`+r.map(function(o,n){return n+1+") "+o.toString()}).join(` - `):"",this.name="UnsubscriptionError",this.errors=r}});function Ze(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var qe=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Oe(s),c=a.next();!c.done;c=a.next()){var p=c.value;p.remove(this)}}catch(S){t={error:S}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if(I(l))try{l()}catch(S){i=S instanceof Jt?S.errors:[S]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var u=Oe(f),d=u.next();!d.done;d=u.next()){var v=d.value;try{So(v)}catch(S){i=i!=null?i:[],S instanceof Jt?i=B(B([],K(i)),K(S.errors)):i.push(S)}}}catch(S){o={error:S}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new Jt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)So(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ze(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ze(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})();var $r=qe.EMPTY;function Xt(e){return e instanceof qe||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function So(e){I(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xt={setTimeout:function(e,t){for(var r=[],o=2;o0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var o=this,n=this,i=n.hasError,s=n.isStopped,a=n.observers;return i||s?$r:(this.currentObservers=null,a.push(r),new qe(function(){o.currentObservers=null,Ze(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,n=o.hasError,i=o.thrownError,s=o.isStopped;n?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new F;return r.source=this,r},t.create=function(r,o){return new Ho(r,o)},t})(F);var Ho=(function(e){ie(t,e);function t(r,o){var n=e.call(this)||this;return n.destination=r,n.source=o,n}return t.prototype.next=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,r)},t.prototype.error=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&n!==void 0?n:$r},t})(T);var jr=(function(e){ie(t,e);function t(r){var o=e.call(this)||this;return o._value=r,o}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var o=e.prototype._subscribe.call(this,r);return!o.closed&&r.next(this._value),o},t.prototype.getValue=function(){var r=this,o=r.hasError,n=r.thrownError,i=r._value;if(o)throw n;return this._throwIfClosed(),i},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t})(T);var Rt={now:function(){return(Rt.delegate||Date).now()},delegate:void 0};var It=(function(e){ie(t,e);function t(r,o,n){r===void 0&&(r=1/0),o===void 0&&(o=1/0),n===void 0&&(n=Rt);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,o),i}return t.prototype.next=function(r){var o=this,n=o.isStopped,i=o._buffer,s=o._infiniteTimeWindow,a=o._timestampProvider,c=o._windowTime;n||(i.push(r),!s&&i.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),n=this,i=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c0?e.prototype.schedule.call(this,r,o):(this.delay=o,this.state=r,this.scheduler.flush(this),this)},t.prototype.execute=function(r,o){return o>0||this.closed?e.prototype.execute.call(this,r,o):this._execute(r,o)},t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),n!=null&&n>0||n==null&&this.delay>0?e.prototype.requestAsyncId.call(this,r,o,n):(r.flush(this),0)},t})(St);var Ro=(function(e){ie(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(Ot);var Dr=new Ro(Po);var Io=(function(e){ie(t,e);function t(r,o){var n=e.call(this,r,o)||this;return n.scheduler=r,n.work=o,n}return t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),n!==null&&n>0?e.prototype.requestAsyncId.call(this,r,o,n):(r.actions.push(this),r._scheduled||(r._scheduled=Tt.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,o,n){var i;if(n===void 0&&(n=0),n!=null?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,o,n);var s=r.actions;o!=null&&o===r._scheduled&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==o&&(Tt.cancelAnimationFrame(o),r._scheduled=void 0)},t})(St);var Fo=(function(e){ie(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var o;r?o=r.id:(o=this._scheduled,this._scheduled=void 0);var n=this.actions,i;r=r||n.shift();do if(i=r.execute(r.state,r.delay))break;while((r=n[0])&&r.id===o&&n.shift());if(this._active=!1,i){for(;(r=n[0])&&r.id===o&&n.shift();)r.unsubscribe();throw i}},t})(Ot);var ye=new Fo(Io);var y=new F(function(e){return e.complete()});function tr(e){return e&&I(e.schedule)}function Vr(e){return e[e.length-1]}function pt(e){return I(Vr(e))?e.pop():void 0}function Fe(e){return tr(Vr(e))?e.pop():void 0}function rr(e,t){return typeof Vr(e)=="number"?e.pop():t}var Lt=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"});function or(e){return I(e==null?void 0:e.then)}function nr(e){return I(e[wt])}function ir(e){return Symbol.asyncIterator&&I(e==null?void 0:e[Symbol.asyncIterator])}function ar(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function fa(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sr=fa();function cr(e){return I(e==null?void 0:e[sr])}function pr(e){return wo(this,arguments,function(){var r,o,n,i;return Gt(this,function(s){switch(s.label){case 0:r=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,dt(r.read())];case 3:return o=s.sent(),n=o.value,i=o.done,i?[4,dt(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,dt(n)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function lr(e){return I(e==null?void 0:e.getReader)}function U(e){if(e instanceof F)return e;if(e!=null){if(nr(e))return ua(e);if(Lt(e))return da(e);if(or(e))return ha(e);if(ir(e))return jo(e);if(cr(e))return ba(e);if(lr(e))return va(e)}throw ar(e)}function ua(e){return new F(function(t){var r=e[wt]();if(I(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function da(e){return new F(function(t){for(var r=0;r=2;return function(o){return o.pipe(e?g(function(n,i){return e(n,i,o)}):be,Ee(1),r?Qe(t):tn(function(){return new fr}))}}function Yr(e){return e<=0?function(){return y}:E(function(t,r){var o=[];t.subscribe(w(r,function(n){o.push(n),e=2,!0))}function le(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new T}:t,o=e.resetOnError,n=o===void 0?!0:o,i=e.resetOnComplete,s=i===void 0?!0:i,a=e.resetOnRefCountZero,c=a===void 0?!0:a;return function(p){var l,f,u,d=0,v=!1,S=!1,X=function(){f==null||f.unsubscribe(),f=void 0},re=function(){X(),l=u=void 0,v=S=!1},ee=function(){var k=l;re(),k==null||k.unsubscribe()};return E(function(k,ut){d++,!S&&!v&&X();var je=u=u!=null?u:r();ut.add(function(){d--,d===0&&!S&&!v&&(f=Br(ee,c))}),je.subscribe(ut),!l&&d>0&&(l=new bt({next:function(R){return je.next(R)},error:function(R){S=!0,X(),f=Br(re,n,R),je.error(R)},complete:function(){v=!0,X(),f=Br(re,s),je.complete()}}),U(k).subscribe(l))})(p)}}function Br(e,t){for(var r=[],o=2;oe.next(document)),e}function M(e,t=document){return Array.from(t.querySelectorAll(e))}function j(e,t=document){let r=ue(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function ue(e,t=document){return t.querySelector(e)||void 0}function Ne(){var e,t,r,o;return(o=(r=(t=(e=document.activeElement)==null?void 0:e.shadowRoot)==null?void 0:t.activeElement)!=null?r:document.activeElement)!=null?o:void 0}var Ra=L(h(document.body,"focusin"),h(document.body,"focusout")).pipe(Ae(1),Q(void 0),m(()=>Ne()||document.body),Z(1));function Ye(e){return Ra.pipe(m(t=>e.contains(t)),Y())}function it(e,t){return H(()=>L(h(e,"mouseenter").pipe(m(()=>!0)),h(e,"mouseleave").pipe(m(()=>!1))).pipe(t?jt(r=>He(+!r*t)):be,Q(e.matches(":hover"))))}function sn(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)sn(e,r)}function x(e,t,...r){let o=document.createElement(e);if(t)for(let n of Object.keys(t))typeof t[n]!="undefined"&&(typeof t[n]!="boolean"?o.setAttribute(n,t[n]):o.setAttribute(n,""));for(let n of r)sn(o,n);return o}function br(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function _t(e){let t=x("script",{src:e});return H(()=>(document.head.appendChild(t),L(h(t,"load"),h(t,"error").pipe(b(()=>Nr(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(m(()=>{}),A(()=>document.head.removeChild(t)),Ee(1))))}var cn=new T,Ia=H(()=>typeof ResizeObserver=="undefined"?_t("https://unpkg.com/resize-observer-polyfill"):$(void 0)).pipe(m(()=>new ResizeObserver(e=>e.forEach(t=>cn.next(t)))),b(e=>L(tt,$(e)).pipe(A(()=>e.disconnect()))),Z(1));function de(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Le(e){let t=e;for(;t.clientWidth===0&&t.parentElement;)t=t.parentElement;return Ia.pipe(O(r=>r.observe(t)),b(r=>cn.pipe(g(o=>o.target===t),A(()=>r.unobserve(t)))),m(()=>de(e)),Q(de(e)))}function At(e){return{width:e.scrollWidth,height:e.scrollHeight}}function vr(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}function pn(e){let t=[],r=e.parentElement;for(;r;)(e.clientWidth>r.clientWidth||e.clientHeight>r.clientHeight)&&t.push(r),r=(e=r).parentElement;return t.length===0&&t.push(document.documentElement),t}function Be(e){return{x:e.offsetLeft,y:e.offsetTop}}function ln(e){let t=e.getBoundingClientRect();return{x:t.x+window.scrollX,y:t.y+window.scrollY}}function mn(e){return L(h(window,"load"),h(window,"resize")).pipe($e(0,ye),m(()=>Be(e)),Q(Be(e)))}function gr(e){return{x:e.scrollLeft,y:e.scrollTop}}function Ge(e){return L(h(e,"scroll"),h(window,"scroll"),h(window,"resize")).pipe($e(0,ye),m(()=>gr(e)),Q(gr(e)))}var fn=new T,Fa=H(()=>$(new IntersectionObserver(e=>{for(let t of e)fn.next(t)},{threshold:0}))).pipe(b(e=>L(tt,$(e)).pipe(A(()=>e.disconnect()))),Z(1));function mt(e){return Fa.pipe(O(t=>t.observe(e)),b(t=>fn.pipe(g(({target:r})=>r===e),A(()=>t.unobserve(e)),m(({isIntersecting:r})=>r))))}function un(e,t=16){return Ge(e).pipe(m(({y:r})=>{let o=de(e),n=At(e);return r>=n.height-o.height-t}),Y())}var yr={drawer:j("[data-md-toggle=drawer]"),search:j("[data-md-toggle=search]")};function dn(e){return yr[e].checked}function at(e,t){yr[e].checked!==t&&yr[e].click()}function Je(e){let t=yr[e];return h(t,"change").pipe(m(()=>t.checked),Q(t.checked))}function ja(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function Ua(){return L(h(window,"compositionstart").pipe(m(()=>!0)),h(window,"compositionend").pipe(m(()=>!1))).pipe(Q(!1))}function hn(){let e=h(window,"keydown").pipe(g(t=>!(t.metaKey||t.ctrlKey)),m(t=>({mode:dn("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),g(({mode:t,type:r})=>{if(t==="global"){let o=Ne();if(typeof o!="undefined")return!ja(o,r)}return!0}),le());return Ua().pipe(b(t=>t?y:e))}function we(){return new URL(location.href)}function st(e,t=!1){if(V("navigation.instant")&&!t){let r=x("a",{href:e.href});document.body.appendChild(r),r.click(),r.remove()}else location.href=e.href}function bn(){return new T}function vn(){return location.hash.slice(1)}function gn(e){let t=x("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Zr(e){return L(h(window,"hashchange"),e).pipe(m(vn),Q(vn()),g(t=>t.length>0),Z(1))}function yn(e){return Zr(e).pipe(m(t=>ue(`[id="${t}"]`)),g(t=>typeof t!="undefined"))}function Wt(e){let t=matchMedia(e);return ur(r=>t.addListener(()=>r(t.matches))).pipe(Q(t.matches))}function xn(){let e=matchMedia("print");return L(h(window,"beforeprint").pipe(m(()=>!0)),h(window,"afterprint").pipe(m(()=>!1))).pipe(Q(e.matches))}function eo(e,t){return e.pipe(b(r=>r?t():y))}function to(e,t){return new F(r=>{let o=new XMLHttpRequest;return o.open("GET",`${e}`),o.responseType="blob",o.addEventListener("load",()=>{o.status>=200&&o.status<300?(r.next(o.response),r.complete()):r.error(new Error(o.statusText))}),o.addEventListener("error",()=>{r.error(new Error("Network error"))}),o.addEventListener("abort",()=>{r.complete()}),typeof(t==null?void 0:t.progress$)!="undefined"&&(o.addEventListener("progress",n=>{var i;if(n.lengthComputable)t.progress$.next(n.loaded/n.total*100);else{let s=(i=o.getResponseHeader("Content-Length"))!=null?i:0;t.progress$.next(n.loaded/+s*100)}}),t.progress$.next(5)),o.send(),()=>o.abort()})}function ze(e,t){return to(e,t).pipe(b(r=>r.text()),m(r=>JSON.parse(r)),Z(1))}function xr(e,t){let r=new DOMParser;return to(e,t).pipe(b(o=>o.text()),m(o=>r.parseFromString(o,"text/html")),Z(1))}function En(e,t){let r=new DOMParser;return to(e,t).pipe(b(o=>o.text()),m(o=>r.parseFromString(o,"text/xml")),Z(1))}function wn(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function Tn(){return L(h(window,"scroll",{passive:!0}),h(window,"resize",{passive:!0})).pipe(m(wn),Q(wn()))}function Sn(){return{width:innerWidth,height:innerHeight}}function On(){return h(window,"resize",{passive:!0}).pipe(m(Sn),Q(Sn()))}function Ln(){return z([Tn(),On()]).pipe(m(([e,t])=>({offset:e,size:t})),Z(1))}function Er(e,{viewport$:t,header$:r}){let o=t.pipe(ne("size")),n=z([o,r]).pipe(m(()=>Be(e)));return z([r,t,n]).pipe(m(([{height:i},{offset:s,size:a},{x:c,y:p}])=>({offset:{x:s.x-c,y:s.y-p+i},size:a})))}function Wa(e){return h(e,"message",t=>t.data)}function Da(e){let t=new T;return t.subscribe(r=>e.postMessage(r)),t}function Mn(e,t=new Worker(e)){let r=Wa(t),o=Da(t),n=new T;n.subscribe(o);let i=o.pipe(oe(),ae(!0));return n.pipe(oe(),Ve(r.pipe(W(i))),le())}var Va=j("#__config"),Ct=JSON.parse(Va.textContent);Ct.base=`${new URL(Ct.base,we())}`;function Te(){return Ct}function V(e){return Ct.features.includes(e)}function Me(e,t){return typeof t!="undefined"?Ct.translations[e].replace("#",t.toString()):Ct.translations[e]}function Ce(e,t=document){return j(`[data-md-component=${e}]`,t)}function me(e,t=document){return M(`[data-md-component=${e}]`,t)}function Na(e){let t=j(".md-typeset > :first-child",e);return h(t,"click",{once:!0}).pipe(m(()=>j(".md-typeset",e)),m(r=>({hash:__md_hash(r.innerHTML)})))}function _n(e){if(!V("announce.dismiss")||!e.childElementCount)return y;if(!e.hidden){let t=j(".md-typeset",e);__md_hash(t.innerHTML)===__md_get("__announce")&&(e.hidden=!0)}return H(()=>{let t=new T;return t.subscribe(({hash:r})=>{e.hidden=!0,__md_set("__announce",r)}),Na(e).pipe(O(r=>t.next(r)),A(()=>t.complete()),m(r=>P({ref:e},r)))})}function za(e,{target$:t}){return t.pipe(m(r=>({hidden:r!==e})))}function An(e,t){let r=new T;return r.subscribe(({hidden:o})=>{e.hidden=o}),za(e,t).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>P({ref:e},o)))}function Dt(e,t){return t==="inline"?x("div",{class:"md-tooltip md-tooltip--inline",id:e,role:"tooltip"},x("div",{class:"md-tooltip__inner md-typeset"})):x("div",{class:"md-tooltip",id:e,role:"tooltip"},x("div",{class:"md-tooltip__inner md-typeset"}))}function wr(...e){return x("div",{class:"md-tooltip2",role:"dialog"},x("div",{class:"md-tooltip2__inner md-typeset"},e))}function Cn(...e){return x("div",{class:"md-tooltip2",role:"tooltip"},x("div",{class:"md-tooltip2__inner md-typeset"},e))}function kn(e,t){if(t=t?`${t}_annotation_${e}`:void 0,t){let r=t?`#${t}`:void 0;return x("aside",{class:"md-annotation",tabIndex:0},Dt(t),x("a",{href:r,class:"md-annotation__index",tabIndex:-1},x("span",{"data-md-annotation-id":e})))}else return x("aside",{class:"md-annotation",tabIndex:0},Dt(t),x("span",{class:"md-annotation__index",tabIndex:-1},x("span",{"data-md-annotation-id":e})))}function Hn(e){return x("button",{class:"md-code__button",title:Me("clipboard.copy"),"data-clipboard-target":`#${e} > code`,"data-md-type":"copy"})}function $n(){return x("button",{class:"md-code__button",title:"Toggle line selection","data-md-type":"select"})}function Pn(){return x("nav",{class:"md-code__nav"})}var In=$t(ro());function oo(e,t){let r=t&2,o=t&1,n=Object.keys(e.terms).filter(c=>!e.terms[c]).reduce((c,p)=>[...c,x("del",null,(0,In.default)(p))," "],[]).slice(0,-1),i=Te(),s=new URL(e.location,i.base);V("search.highlight")&&s.searchParams.set("h",Object.entries(e.terms).filter(([,c])=>c).reduce((c,[p])=>`${c} ${p}`.trim(),""));let{tags:a}=Te();return x("a",{href:`${s}`,class:"md-search-result__link",tabIndex:-1},x("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},r>0&&x("div",{class:"md-search-result__icon md-icon"}),r>0&&x("h1",null,e.title),r<=0&&x("h2",null,e.title),o>0&&e.text.length>0&&e.text,e.tags&&x("nav",{class:"md-tags"},e.tags.map(c=>{let p=a?c in a?`md-tag-icon md-tag--${a[c]}`:"md-tag-icon":"";return x("span",{class:`md-tag ${p}`},c)})),o>0&&n.length>0&&x("p",{class:"md-search-result__terms"},Me("search.result.term.missing"),": ",...n)))}function Fn(e){let t=e[0].score,r=[...e],o=Te(),n=r.findIndex(l=>!`${new URL(l.location,o.base)}`.includes("#")),[i]=r.splice(n,1),s=r.findIndex(l=>l.scoreoo(l,1)),...c.length?[x("details",{class:"md-search-result__more"},x("summary",{tabIndex:-1},x("div",null,c.length>0&&c.length===1?Me("search.result.more.one"):Me("search.result.more.other",c.length))),...c.map(l=>oo(l,1)))]:[]];return x("li",{class:"md-search-result__item"},p)}function jn(e){return x("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>x("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?br(r):r)))}function no(e){let t=`tabbed-control tabbed-control--${e}`;return x("div",{class:t,hidden:!0},x("button",{class:"tabbed-button",tabIndex:-1,"aria-hidden":"true"}))}function Un(e){return x("div",{class:"md-typeset__scrollwrap"},x("div",{class:"md-typeset__table"},e))}function Qa(e){var o;let t=Te(),r=new URL(`../${e.version}/`,t.base);return x("li",{class:"md-version__item"},x("a",{href:`${r}`,class:"md-version__link"},e.title,((o=t.version)==null?void 0:o.alias)&&e.aliases.length>0&&x("span",{class:"md-version__alias"},e.aliases[0])))}function Wn(e,t){var o;let r=Te();return e=e.filter(n=>{var i;return!((i=n.properties)!=null&&i.hidden)}),x("div",{class:"md-version"},x("button",{class:"md-version__current","aria-label":Me("select.version")},t.title,((o=r.version)==null?void 0:o.alias)&&t.aliases.length>0&&x("span",{class:"md-version__alias"},t.aliases[0])),x("ul",{class:"md-version__list"},e.map(Qa)))}var Ya=0;function Ba(e,t=250){let r=z([Ye(e),it(e,t)]).pipe(m(([n,i])=>n||i),Y()),o=H(()=>pn(e)).pipe(J(Ge),gt(1),Pe(r),m(()=>ln(e)));return r.pipe(Re(n=>n),b(()=>z([r,o])),m(([n,i])=>({active:n,offset:i})),le())}function Vt(e,t,r=250){let{content$:o,viewport$:n}=t,i=`__tooltip2_${Ya++}`;return H(()=>{let s=new T,a=new jr(!1);s.pipe(oe(),ae(!1)).subscribe(a);let c=a.pipe(jt(l=>He(+!l*250,Dr)),Y(),b(l=>l?o:y),O(l=>l.id=i),le());z([s.pipe(m(({active:l})=>l)),c.pipe(b(l=>it(l,250)),Q(!1))]).pipe(m(l=>l.some(f=>f))).subscribe(a);let p=a.pipe(g(l=>l),te(c,n),m(([l,f,{size:u}])=>{let d=e.getBoundingClientRect(),v=d.width/2;if(f.role==="tooltip")return{x:v,y:8+d.height};if(d.y>=u.height/2){let{height:S}=de(f);return{x:v,y:-16-S}}else return{x:v,y:16+d.height}}));return z([c,s,p]).subscribe(([l,{offset:f},u])=>{l.style.setProperty("--md-tooltip-host-x",`${f.x}px`),l.style.setProperty("--md-tooltip-host-y",`${f.y}px`),l.style.setProperty("--md-tooltip-x",`${u.x}px`),l.style.setProperty("--md-tooltip-y",`${u.y}px`),l.classList.toggle("md-tooltip2--top",u.y<0),l.classList.toggle("md-tooltip2--bottom",u.y>=0)}),a.pipe(g(l=>l),te(c,(l,f)=>f),g(l=>l.role==="tooltip")).subscribe(l=>{let f=de(j(":scope > *",l));l.style.setProperty("--md-tooltip-width",`${f.width}px`),l.style.setProperty("--md-tooltip-tail","0px")}),a.pipe(Y(),xe(ye),te(c)).subscribe(([l,f])=>{f.classList.toggle("md-tooltip2--active",l)}),z([a.pipe(g(l=>l)),c]).subscribe(([l,f])=>{f.role==="dialog"?(e.setAttribute("aria-controls",i),e.setAttribute("aria-haspopup","dialog")):e.setAttribute("aria-describedby",i)}),a.pipe(g(l=>!l)).subscribe(()=>{e.removeAttribute("aria-controls"),e.removeAttribute("aria-describedby"),e.removeAttribute("aria-haspopup")}),Ba(e,r).pipe(O(l=>s.next(l)),A(()=>s.complete()),m(l=>P({ref:e},l)))})}function Xe(e,{viewport$:t},r=document.body){return Vt(e,{content$:new F(o=>{let n=e.title,i=Cn(n);return o.next(i),e.removeAttribute("title"),r.append(i),()=>{i.remove(),e.setAttribute("title",n)}}),viewport$:t},0)}function Ga(e,t){let r=H(()=>z([mn(e),Ge(t)])).pipe(m(([{x:o,y:n},i])=>{let{width:s,height:a}=de(e);return{x:o-i.x+s/2,y:n-i.y+a/2}}));return Ye(e).pipe(b(o=>r.pipe(m(n=>({active:o,offset:n})),Ee(+!o||1/0))))}function Dn(e,t,{target$:r}){let[o,n]=Array.from(e.children);return H(()=>{let i=new T,s=i.pipe(oe(),ae(!0));return i.subscribe({next({offset:a}){e.style.setProperty("--md-tooltip-x",`${a.x}px`),e.style.setProperty("--md-tooltip-y",`${a.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),mt(e).pipe(W(s)).subscribe(a=>{e.toggleAttribute("data-md-visible",a)}),L(i.pipe(g(({active:a})=>a)),i.pipe(Ae(250),g(({active:a})=>!a))).subscribe({next({active:a}){a?e.prepend(o):o.remove()},complete(){e.prepend(o)}}),i.pipe($e(16,ye)).subscribe(({active:a})=>{o.classList.toggle("md-tooltip--active",a)}),i.pipe(gt(125,ye),g(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:a})=>a)).subscribe({next(a){a?e.style.setProperty("--md-tooltip-0",`${-a}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}}),h(n,"click").pipe(W(s),g(a=>!(a.metaKey||a.ctrlKey))).subscribe(a=>{a.stopPropagation(),a.preventDefault()}),h(n,"mousedown").pipe(W(s),te(i)).subscribe(([a,{active:c}])=>{var p;if(a.button!==0||a.metaKey||a.ctrlKey)a.preventDefault();else if(c){a.preventDefault();let l=e.parentElement.closest(".md-annotation");l instanceof HTMLElement?l.focus():(p=Ne())==null||p.blur()}}),r.pipe(W(s),g(a=>a===o),nt(125)).subscribe(()=>e.focus()),Ga(e,t).pipe(O(a=>i.next(a)),A(()=>i.complete()),m(a=>P({ref:e},a)))})}function Ja(e){let t=Te();if(e.tagName!=="CODE")return[e];let r=[".c",".c1",".cm"];if(t.annotate&&typeof t.annotate=="object"){let o=e.closest("[class|=language]");if(o)for(let n of Array.from(o.classList)){if(!n.startsWith("language-"))continue;let[,i]=n.split("-");i in t.annotate&&r.push(...t.annotate[i])}}return M(r.join(", "),e)}function Xa(e){let t=[];for(let r of Ja(e)){let o=[],n=document.createNodeIterator(r,NodeFilter.SHOW_TEXT);for(let i=n.nextNode();i;i=n.nextNode())o.push(i);for(let i of o){let s;for(;s=/(\(\d+\))(!)?/.exec(i.textContent);){let[,a,c]=s;if(typeof c=="undefined"){let p=i.splitText(s.index);i=p.splitText(a.length),t.push(p)}else{i.textContent=a,t.push(i);break}}}}return t}function Vn(e,t){t.append(...Array.from(e.childNodes))}function Tr(e,t,{target$:r,print$:o}){let n=t.closest("[id]"),i=n==null?void 0:n.id,s=new Map;for(let a of Xa(t)){let[,c]=a.textContent.match(/\((\d+)\)/);ue(`:scope > li:nth-child(${c})`,e)&&(s.set(c,kn(c,i)),a.replaceWith(s.get(c)))}return s.size===0?y:H(()=>{let a=new T,c=a.pipe(oe(),ae(!0)),p=[];for(let[l,f]of s)p.push([j(".md-typeset",f),j(`:scope > li:nth-child(${l})`,e)]);return o.pipe(W(c)).subscribe(l=>{e.hidden=!l,e.classList.toggle("md-annotation-list",l);for(let[f,u]of p)l?Vn(f,u):Vn(u,f)}),L(...[...s].map(([,l])=>Dn(l,t,{target$:r}))).pipe(A(()=>a.complete()),le())})}function Nn(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Nn(t)}}function zn(e,t){return H(()=>{let r=Nn(e);return typeof r!="undefined"?Tr(r,e,t):y})}var Kn=$t(ao());var Za=0,qn=L(h(window,"keydown").pipe(m(()=>!0)),L(h(window,"keyup"),h(window,"contextmenu")).pipe(m(()=>!1))).pipe(Q(!1),Z(1));function Qn(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Qn(t)}}function es(e){return Le(e).pipe(m(({width:t})=>({scrollable:At(e).width>t})),ne("scrollable"))}function Yn(e,t){let{matches:r}=matchMedia("(hover)"),o=H(()=>{let n=new T,i=n.pipe(Yr(1));n.subscribe(({scrollable:d})=>{d&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")});let s=[],a=e.closest("pre"),c=a.closest("[id]"),p=c?c.id:Za++;a.id=`__code_${p}`;let l=[],f=e.closest(".highlight");if(f instanceof HTMLElement){let d=Qn(f);if(typeof d!="undefined"&&(f.classList.contains("annotate")||V("content.code.annotate"))){let v=Tr(d,e,t);l.push(Le(f).pipe(W(i),m(({width:S,height:X})=>S&&X),Y(),b(S=>S?v:y)))}}let u=M(":scope > span[id]",e);if(u.length&&(e.classList.add("md-code__content"),e.closest(".select")||V("content.code.select")&&!e.closest(".no-select"))){let d=+u[0].id.split("-").pop(),v=$n();s.push(v),V("content.tooltips")&&l.push(Xe(v,{viewport$}));let S=h(v,"click").pipe(Ut(R=>!R,!1),O(()=>v.blur()),le());S.subscribe(R=>{v.classList.toggle("md-code__button--active",R)});let X=fe(u).pipe(J(R=>it(R).pipe(m(se=>[R,se]))));S.pipe(b(R=>R?X:y)).subscribe(([R,se])=>{let ce=ue(".hll.select",R);if(ce&&!se)ce.replaceWith(...Array.from(ce.childNodes));else if(!ce&&se){let he=document.createElement("span");he.className="hll select",he.append(...Array.from(R.childNodes).slice(1)),R.append(he)}});let re=fe(u).pipe(J(R=>h(R,"mousedown").pipe(O(se=>se.preventDefault()),m(()=>R)))),ee=S.pipe(b(R=>R?re:y),te(qn),m(([R,se])=>{var he;let ce=u.indexOf(R)+d;if(se===!1)return[ce,ce];{let Se=M(".hll",e).map(Ue=>u.indexOf(Ue.parentElement)+d);return(he=window.getSelection())==null||he.removeAllRanges(),[Math.min(ce,...Se),Math.max(ce,...Se)]}})),k=Zr(y).pipe(g(R=>R.startsWith(`__codelineno-${p}-`)));k.subscribe(R=>{let[,,se]=R.split("-"),ce=se.split(":").map(Se=>+Se-d+1);ce.length===1&&ce.push(ce[0]);for(let Se of M(".hll:not(.select)",e))Se.replaceWith(...Array.from(Se.childNodes));let he=u.slice(ce[0]-1,ce[1]);for(let Se of he){let Ue=document.createElement("span");Ue.className="hll",Ue.append(...Array.from(Se.childNodes).slice(1)),Se.append(Ue)}}),k.pipe(Ee(1),xe(pe)).subscribe(R=>{if(R.includes(":")){let se=document.getElementById(R.split(":")[0]);se&&setTimeout(()=>{let ce=se,he=-64;for(;ce!==document.body;)he+=ce.offsetTop,ce=ce.offsetParent;window.scrollTo({top:he})},1)}});let je=fe(M('a[href^="#__codelineno"]',f)).pipe(J(R=>h(R,"click").pipe(O(se=>se.preventDefault()),m(()=>R)))).pipe(W(i),te(qn),m(([R,se])=>{let he=+j(`[id="${R.hash.slice(1)}"]`).parentElement.id.split("-").pop();if(se===!1)return[he,he];{let Se=M(".hll",e).map(Ue=>+Ue.parentElement.id.split("-").pop());return[Math.min(he,...Se),Math.max(he,...Se)]}}));L(ee,je).subscribe(R=>{let se=`#__codelineno-${p}-`;R[0]===R[1]?se+=R[0]:se+=`${R[0]}:${R[1]}`,history.replaceState({},"",se),window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:window.location.origin+window.location.pathname+se,oldURL:window.location.href}))})}if(Kn.default.isSupported()&&(e.closest(".copy")||V("content.code.copy")&&!e.closest(".no-copy"))){let d=Hn(a.id);s.push(d),V("content.tooltips")&&l.push(Xe(d,{viewport$}))}if(s.length){let d=Pn();d.append(...s),a.insertBefore(d,e)}return es(e).pipe(O(d=>n.next(d)),A(()=>n.complete()),m(d=>P({ref:e},d)),Ve(L(...l).pipe(W(i))))});return V("content.lazy")?mt(e).pipe(g(n=>n),Ee(1),b(()=>o)):o}function ts(e,{target$:t,print$:r}){let o=!0;return L(t.pipe(m(n=>n.closest("details:not([open])")),g(n=>e===n),m(()=>({action:"open",reveal:!0}))),r.pipe(g(n=>n||!o),O(()=>o=e.open),m(n=>({action:n?"open":"close"}))))}function Bn(e,t){return H(()=>{let r=new T;return r.subscribe(({action:o,reveal:n})=>{e.toggleAttribute("open",o==="open"),n&&e.scrollIntoView()}),ts(e,t).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>P({ref:e},o)))})}var Gn=0;function rs(e){let t=document.createElement("h3");t.innerHTML=e.innerHTML;let r=[t],o=e.nextElementSibling;for(;o&&!(o instanceof HTMLHeadingElement);)r.push(o),o=o.nextElementSibling;return r}function os(e,t){for(let r of M("[href], [src]",e))for(let o of["href","src"]){let n=r.getAttribute(o);if(n&&!/^(?:[a-z]+:)?\/\//i.test(n)){r[o]=new URL(r.getAttribute(o),t).toString();break}}for(let r of M("[name^=__], [for]",e))for(let o of["id","for","name"]){let n=r.getAttribute(o);n&&r.setAttribute(o,`${n}$preview_${Gn}`)}return Gn++,$(e)}function Jn(e,t){let{sitemap$:r}=t;if(!(e instanceof HTMLAnchorElement))return y;if(!(V("navigation.instant.preview")||e.hasAttribute("data-preview")))return y;e.removeAttribute("title");let o=z([Ye(e),it(e)]).pipe(m(([i,s])=>i||s),Y(),g(i=>i));return rt([r,o]).pipe(b(([i])=>{let s=new URL(e.href);return s.search=s.hash="",i.has(`${s}`)?$(s):y}),b(i=>xr(i).pipe(b(s=>os(s,i)))),b(i=>{let s=e.hash?`article [id="${e.hash.slice(1)}"]`:"article h1",a=ue(s,i);return typeof a=="undefined"?y:$(rs(a))})).pipe(b(i=>{let s=new F(a=>{let c=wr(...i);return a.next(c),document.body.append(c),()=>c.remove()});return Vt(e,P({content$:s},t))}))}var Xn=".node circle,.node ellipse,.node path,.node polygon,.node rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}marker{fill:var(--md-mermaid-edge-color)!important}.edgeLabel .label rect{fill:#0000}.flowchartTitleText{fill:var(--md-mermaid-label-fg-color)}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{line-height:normal;overflow:visible}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.edgeLabel,.edgeLabel p,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel p{fill:var(--md-mermaid-label-bg-color);color:var(--md-mermaid-edge-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color)}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.cluster span{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}g #flowchart-circleEnd,g #flowchart-circleStart,g #flowchart-crossEnd,g #flowchart-crossStart,g #flowchart-pointEnd,g #flowchart-pointStart{stroke:none}.classDiagramTitleText{fill:var(--md-mermaid-label-fg-color)}g.classGroup line,g.classGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.classGroup text{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.classLabel .box{fill:var(--md-mermaid-label-bg-color);background-color:var(--md-mermaid-label-bg-color);opacity:1}.classLabel .label{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node .divider{stroke:var(--md-mermaid-node-fg-color)}.relation{stroke:var(--md-mermaid-edge-color)}.cardinality{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.cardinality text{fill:inherit!important}defs marker.marker.composition.class path,defs marker.marker.dependency.class path,defs marker.marker.extension.class path{fill:var(--md-mermaid-edge-color)!important;stroke:var(--md-mermaid-edge-color)!important}defs marker.marker.aggregation.class path{fill:var(--md-mermaid-label-bg-color)!important;stroke:var(--md-mermaid-edge-color)!important}.statediagramTitleText{fill:var(--md-mermaid-label-fg-color)}g.stateGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.stateGroup .state-title{fill:var(--md-mermaid-label-fg-color)!important;font-family:var(--md-mermaid-font-family)}g.stateGroup .composit{fill:var(--md-mermaid-label-bg-color)}.nodeLabel,.nodeLabel p{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}a .nodeLabel{text-decoration:underline}.node circle.state-end,.node circle.state-start,.start-state{fill:var(--md-mermaid-edge-color);stroke:none}.end-state-inner,.end-state-outer{fill:var(--md-mermaid-edge-color)}.end-state-inner,.node circle.state-end{stroke:var(--md-mermaid-label-bg-color)}.transition{stroke:var(--md-mermaid-edge-color)}[id^=state-fork] rect,[id^=state-join] rect{fill:var(--md-mermaid-edge-color)!important;stroke:none!important}.statediagram-cluster.statediagram-cluster .inner{fill:var(--md-default-bg-color)}.statediagram-cluster rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.statediagram-state rect.divider{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}defs #statediagram-barbEnd{stroke:var(--md-mermaid-edge-color)}[id^=entity] path,[id^=entity] rect{fill:var(--md-default-bg-color)}.relationshipLine{stroke:var(--md-mermaid-edge-color)}defs .marker.oneOrMore.er *,defs .marker.onlyOne.er *,defs .marker.zeroOrMore.er *,defs .marker.zeroOrOne.er *{stroke:var(--md-mermaid-edge-color)!important}text:not([class]):last-child{fill:var(--md-mermaid-label-fg-color)}.actor{fill:var(--md-mermaid-sequence-actor-bg-color);stroke:var(--md-mermaid-sequence-actor-border-color)}text.actor>tspan{fill:var(--md-mermaid-sequence-actor-fg-color);font-family:var(--md-mermaid-font-family)}line{stroke:var(--md-mermaid-sequence-actor-line-color)}.actor-man circle,.actor-man line{fill:var(--md-mermaid-sequence-actorman-bg-color);stroke:var(--md-mermaid-sequence-actorman-line-color)}.messageLine0,.messageLine1{stroke:var(--md-mermaid-sequence-message-line-color)}.note{fill:var(--md-mermaid-sequence-note-bg-color);stroke:var(--md-mermaid-sequence-note-border-color)}.loopText,.loopText>tspan,.messageText,.noteText>tspan{stroke:none;font-family:var(--md-mermaid-font-family)!important}.messageText{fill:var(--md-mermaid-sequence-message-fg-color)}.loopText,.loopText>tspan{fill:var(--md-mermaid-sequence-loop-fg-color)}.noteText>tspan{fill:var(--md-mermaid-sequence-note-fg-color)}#arrowhead path{fill:var(--md-mermaid-sequence-message-line-color);stroke:none}.loopLine{fill:var(--md-mermaid-sequence-loop-bg-color);stroke:var(--md-mermaid-sequence-loop-border-color)}.labelBox{fill:var(--md-mermaid-sequence-label-bg-color);stroke:none}.labelText,.labelText>span{fill:var(--md-mermaid-sequence-label-fg-color);font-family:var(--md-mermaid-font-family)}.sequenceNumber{fill:var(--md-mermaid-sequence-number-fg-color)}rect.rect{fill:var(--md-mermaid-sequence-box-bg-color);stroke:none}rect.rect+text.text{fill:var(--md-mermaid-sequence-box-fg-color)}defs #sequencenumber{fill:var(--md-mermaid-sequence-number-bg-color)!important}";var so,is=0;function as(){return typeof mermaid=="undefined"||mermaid instanceof Element?_t("https://unpkg.com/mermaid@11/dist/mermaid.min.js"):$(void 0)}function Zn(e){return e.classList.remove("mermaid"),so||(so=as().pipe(O(()=>mermaid.initialize({startOnLoad:!1,themeCSS:Xn,sequence:{actorFontSize:"16px",messageFontSize:"16px",noteFontSize:"16px"}})),m(()=>{}),Z(1))),so.subscribe(()=>go(null,null,function*(){e.classList.add("mermaid");let t=`__mermaid_${is++}`,r=x("div",{class:"mermaid"}),o=e.textContent,{svg:n,fn:i}=yield mermaid.render(t,o),s=r.attachShadow({mode:"closed"});s.innerHTML=n,e.replaceWith(r),i==null||i(s)})),so.pipe(m(()=>({ref:e})))}var ei=x("table");function ti(e){return e.replaceWith(ei),ei.replaceWith(Un(e)),$({ref:e})}function ss(e){let t=e.find(r=>r.checked)||e[0];return L(...e.map(r=>h(r,"change").pipe(m(()=>j(`label[for="${r.id}"]`))))).pipe(Q(j(`label[for="${t.id}"]`)),m(r=>({active:r})))}function ri(e,{viewport$:t,target$:r}){let o=j(".tabbed-labels",e),n=M(":scope > input",e),i=no("prev");e.append(i);let s=no("next");return e.append(s),H(()=>{let a=new T,c=a.pipe(oe(),ae(!0));z([a,Le(e),mt(e)]).pipe(W(c),$e(1,ye)).subscribe({next([{active:p},l]){let f=Be(p),{width:u}=de(p);e.style.setProperty("--md-indicator-x",`${f.x}px`),e.style.setProperty("--md-indicator-width",`${u}px`);let d=gr(o);(f.xd.x+l.width)&&o.scrollTo({left:Math.max(0,f.x-16),behavior:"smooth"})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),z([Ge(o),Le(o)]).pipe(W(c)).subscribe(([p,l])=>{let f=At(o);i.hidden=p.x<16,s.hidden=p.x>f.width-l.width-16}),L(h(i,"click").pipe(m(()=>-1)),h(s,"click").pipe(m(()=>1))).pipe(W(c)).subscribe(p=>{let{width:l}=de(o);o.scrollBy({left:l*p,behavior:"smooth"})}),r.pipe(W(c),g(p=>n.includes(p))).subscribe(p=>p.click()),o.classList.add("tabbed-labels--linked");for(let p of n){let l=j(`label[for="${p.id}"]`);l.replaceChildren(x("a",{href:`#${l.htmlFor}`,tabIndex:-1},...Array.from(l.childNodes))),h(l.firstElementChild,"click").pipe(W(c),g(f=>!(f.metaKey||f.ctrlKey)),O(f=>{f.preventDefault(),f.stopPropagation()})).subscribe(()=>{history.replaceState({},"",`#${l.htmlFor}`),l.click()})}return V("content.tabs.link")&&a.pipe(Ie(1),te(t)).subscribe(([{active:p},{offset:l}])=>{let f=p.innerText.trim();if(p.hasAttribute("data-md-switching"))p.removeAttribute("data-md-switching");else{let u=e.offsetTop-l.y;for(let v of M("[data-tabs]"))for(let S of M(":scope > input",v)){let X=j(`label[for="${S.id}"]`);if(X!==p&&X.innerText.trim()===f){X.setAttribute("data-md-switching",""),S.click();break}}window.scrollTo({top:e.offsetTop-u});let d=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([f,...d])])}}),a.pipe(W(c)).subscribe(()=>{for(let p of M("audio, video",e))p.offsetWidth&&p.autoplay?p.play().catch(()=>{}):p.pause()}),ss(n).pipe(O(p=>a.next(p)),A(()=>a.complete()),m(p=>P({ref:e},p)))}).pipe(et(pe))}function oi(e,t){let{viewport$:r,target$:o,print$:n}=t;return L(...M(".annotate:not(.highlight)",e).map(i=>zn(i,{target$:o,print$:n})),...M("pre:not(.mermaid) > code",e).map(i=>Yn(i,{target$:o,print$:n})),...M("a",e).map(i=>Jn(i,t)),...M("pre.mermaid",e).map(i=>Zn(i)),...M("table:not([class])",e).map(i=>ti(i)),...M("details",e).map(i=>Bn(i,{target$:o,print$:n})),...M("[data-tabs]",e).map(i=>ri(i,{viewport$:r,target$:o})),...M("[title]:not([data-preview])",e).filter(()=>V("content.tooltips")).map(i=>Xe(i,{viewport$:r})),...M(".footnote-ref",e).filter(()=>V("content.footnote.tooltips")).map(i=>Vt(i,{content$:new F(s=>{let a=new URL(i.href).hash.slice(1),c=Array.from(document.getElementById(a).cloneNode(!0).children),p=wr(...c);return s.next(p),document.body.append(p),()=>p.remove()}),viewport$:r})))}function cs(e,{alert$:t}){return t.pipe(b(r=>L($(!0),$(!1).pipe(nt(2e3))).pipe(m(o=>({message:r,active:o})))))}function ni(e,t){let r=j(".md-typeset",e);return H(()=>{let o=new T;return o.subscribe(({message:n,active:i})=>{e.classList.toggle("md-dialog--active",i),r.textContent=n}),cs(e,t).pipe(O(n=>o.next(n)),A(()=>o.complete()),m(n=>P({ref:e},n)))})}var ps=0;function ls(e,t){document.body.append(e);let{width:r}=de(e);e.style.setProperty("--md-tooltip-width",`${r}px`),e.remove();let o=vr(t),n=typeof o!="undefined"?Ge(o):$({x:0,y:0}),i=L(Ye(t),it(t)).pipe(Y());return z([i,n]).pipe(m(([s,a])=>{let{x:c,y:p}=Be(t),l=de(t),f=t.closest("table");return f&&t.parentElement&&(c+=f.offsetLeft+t.parentElement.offsetLeft,p+=f.offsetTop+t.parentElement.offsetTop),{active:s,offset:{x:c-a.x+l.width/2-r/2,y:p-a.y+l.height+8}}}))}function ii(e){let t=e.title;if(!t.length)return y;let r=`__tooltip_${ps++}`,o=Dt(r,"inline"),n=j(".md-typeset",o);return n.innerHTML=t,H(()=>{let i=new T;return i.subscribe({next({offset:s}){o.style.setProperty("--md-tooltip-x",`${s.x}px`),o.style.setProperty("--md-tooltip-y",`${s.y}px`)},complete(){o.style.removeProperty("--md-tooltip-x"),o.style.removeProperty("--md-tooltip-y")}}),L(i.pipe(g(({active:s})=>s)),i.pipe(Ae(250),g(({active:s})=>!s))).subscribe({next({active:s}){s?(e.insertAdjacentElement("afterend",o),e.setAttribute("aria-describedby",r),e.removeAttribute("title")):(o.remove(),e.removeAttribute("aria-describedby"),e.setAttribute("title",t))},complete(){o.remove(),e.removeAttribute("aria-describedby"),e.setAttribute("title",t)}}),i.pipe($e(16,ye)).subscribe(({active:s})=>{o.classList.toggle("md-tooltip--active",s)}),i.pipe(gt(125,ye),g(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:s})=>s)).subscribe({next(s){s?o.style.setProperty("--md-tooltip-0",`${-s}px`):o.style.removeProperty("--md-tooltip-0")},complete(){o.style.removeProperty("--md-tooltip-0")}}),ls(o,e).pipe(O(s=>i.next(s)),A(()=>i.complete()),m(s=>P({ref:e},s)))}).pipe(et(pe))}function ms({viewport$:e}){if(!V("header.autohide"))return $(!1);let t=e.pipe(m(({offset:{y:n}})=>n),ot(2,1),m(([n,i])=>[nMath.abs(i-n.y)>100),m(([,[n]])=>n),Y()),o=Je("search");return z([e,o]).pipe(m(([{offset:n},i])=>n.y>400&&!i),Y(),b(n=>n?r:$(!1)),Q(!1))}function ai(e,t){return H(()=>z([Le(e),ms(t)])).pipe(m(([{height:r},o])=>({height:r,hidden:o})),Y((r,o)=>r.height===o.height&&r.hidden===o.hidden),Z(1))}function si(e,{header$:t,main$:r}){return H(()=>{let o=new T,n=o.pipe(oe(),ae(!0));o.pipe(ne("active"),Pe(t)).subscribe(([{active:s},{hidden:a}])=>{e.classList.toggle("md-header--shadow",s&&!a),e.hidden=a});let i=fe(M("[title]",e)).pipe(g(()=>V("content.tooltips")),J(s=>ii(s)));return r.subscribe(o),t.pipe(W(n),m(s=>P({ref:e},s)),Ve(i.pipe(W(n))))})}function fs(e,{viewport$:t,header$:r}){return Er(e,{viewport$:t,header$:r}).pipe(m(({offset:{y:o}})=>{let{height:n}=de(e);return{active:n>0&&o>=n}}),ne("active"))}function ci(e,t){return H(()=>{let r=new T;r.subscribe({next({active:n}){e.classList.toggle("md-header__title--active",n)},complete(){e.classList.remove("md-header__title--active")}});let o=ue(".md-content h1");return typeof o=="undefined"?y:fs(o,t).pipe(O(n=>r.next(n)),A(()=>r.complete()),m(n=>P({ref:e},n)))})}function pi(e,{viewport$:t,header$:r}){let o=r.pipe(m(({height:i})=>i),Y()),n=o.pipe(b(()=>Le(e).pipe(m(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),ne("bottom"))));return z([o,n,t]).pipe(m(([i,{top:s,bottom:a},{offset:{y:c},size:{height:p}}])=>(p=Math.max(0,p-Math.max(0,s-c,i)-Math.max(0,p+c-a)),{offset:s-i,height:p,active:s-i<=c})),Y((i,s)=>i.offset===s.offset&&i.height===s.height&&i.active===s.active))}function us(e){let t=__md_get("__palette")||{index:e.findIndex(o=>matchMedia(o.getAttribute("data-md-color-media")).matches)},r=Math.max(0,Math.min(t.index,e.length-1));return $(...e).pipe(J(o=>h(o,"change").pipe(m(()=>o))),Q(e[r]),m(o=>({index:e.indexOf(o),color:{media:o.getAttribute("data-md-color-media"),scheme:o.getAttribute("data-md-color-scheme"),primary:o.getAttribute("data-md-color-primary"),accent:o.getAttribute("data-md-color-accent")}})),Z(1))}function li(e){let t=M("input",e),r=x("meta",{name:"theme-color"});document.head.appendChild(r);let o=x("meta",{name:"color-scheme"});document.head.appendChild(o);let n=Wt("(prefers-color-scheme: light)");return H(()=>{let i=new T;return i.subscribe(s=>{if(document.body.setAttribute("data-md-color-switching",""),s.color.media==="(prefers-color-scheme)"){let a=matchMedia("(prefers-color-scheme: light)"),c=document.querySelector(a.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");s.color.scheme=c.getAttribute("data-md-color-scheme"),s.color.primary=c.getAttribute("data-md-color-primary"),s.color.accent=c.getAttribute("data-md-color-accent")}for(let[a,c]of Object.entries(s.color))document.body.setAttribute(`data-md-color-${a}`,c);for(let a=0;as.key==="Enter"),te(i,(s,a)=>a)).subscribe(({index:s})=>{s=(s+1)%t.length,t[s].click(),t[s].focus()}),i.pipe(m(()=>{let s=Ce("header"),a=window.getComputedStyle(s);return o.content=a.colorScheme,a.backgroundColor.match(/\d+/g).map(c=>(+c).toString(16).padStart(2,"0")).join("")})).subscribe(s=>r.content=`#${s}`),i.pipe(xe(pe)).subscribe(()=>{document.body.removeAttribute("data-md-color-switching")}),us(t).pipe(W(n.pipe(Ie(1))),vt(),O(s=>i.next(s)),A(()=>i.complete()),m(s=>P({ref:e},s)))})}function mi(e,{progress$:t}){return H(()=>{let r=new T;return r.subscribe(({value:o})=>{e.style.setProperty("--md-progress-value",`${o}`)}),t.pipe(O(o=>r.next({value:o})),A(()=>r.complete()),m(o=>({ref:e,value:o})))})}function fi(e,t){return e.protocol=t.protocol,e.hostname=t.hostname,e}function ds(e,t){let r=new Map;for(let o of M("url",e)){let n=j("loc",o),i=[fi(new URL(n.textContent),t)];r.set(`${i[0]}`,i);for(let s of M("[rel=alternate]",o)){let a=s.getAttribute("href");a!=null&&i.push(fi(new URL(a),t))}}return r}function kt(e){return En(new URL("sitemap.xml",e)).pipe(m(t=>ds(t,new URL(e))),ve(()=>$(new Map)),le())}function ui({document$:e}){let t=new Map;e.pipe(b(()=>M("link[rel=alternate]")),m(r=>new URL(r.href)),g(r=>!t.has(r.toString())),J(r=>kt(r).pipe(m(o=>[r,o]),ve(()=>y)))).subscribe(([r,o])=>{t.set(r.toString().replace(/\/$/,""),o)}),h(document.body,"click").pipe(g(r=>!r.metaKey&&!r.ctrlKey),b(r=>{if(r.target instanceof Element){let o=r.target.closest("a");if(o&&!o.target){let n=[...t].find(([f])=>o.href.startsWith(`${f}/`));if(typeof n=="undefined")return y;let[i,s]=n,a=we();if(a.href.startsWith(i))return y;let c=Te(),p=a.href.replace(c.base,"");p=`${i}/${p}`;let l=s.has(p.split("#")[0])?new URL(p,c.base):new URL(i);return r.preventDefault(),$(l)}}return y})).subscribe(r=>st(r,!0))}var co=$t(ao());function hs(e){e.setAttribute("data-md-copying","");let t=e.closest("[data-copy]"),r=t?t.getAttribute("data-copy"):e.innerText;return e.removeAttribute("data-md-copying"),r.trimEnd()}function di({alert$:e}){co.default.isSupported()&&new F(t=>{new co.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||hs(j(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(O(t=>{t.trigger.focus()}),m(()=>Me("clipboard.copied"))).subscribe(e)}function hi(e,t){if(!(e.target instanceof Element))return y;let r=e.target.closest("a");if(r===null)return y;if(r.target||e.metaKey||e.ctrlKey)return y;let o=new URL(r.href);return o.search=o.hash="",t.has(`${o}`)?(e.preventDefault(),$(r)):y}function bi(e){let t=new Map;for(let r of M(":scope > *",e.head))t.set(r.outerHTML,r);return t}function vi(e){for(let t of M("[href], [src]",e))for(let r of["href","src"]){let o=t.getAttribute(r);if(o&&!/^(?:[a-z]+:)?\/\//i.test(o)){t[r]=t[r];break}}return $(e)}function bs(e){for(let o of["[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=outdated]","[data-md-component=logo]","[data-md-component=skip]",...V("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let n=ue(o),i=ue(o,e);typeof n!="undefined"&&typeof i!="undefined"&&n.replaceWith(i)}let t=bi(document);for(let[o,n]of bi(e))t.has(o)?t.delete(o):document.head.appendChild(n);for(let o of t.values()){let n=o.getAttribute("name");n!=="theme-color"&&n!=="color-scheme"&&o.remove()}let r=Ce("container");return Ke(M("script",r)).pipe(b(o=>{let n=e.createElement("script");if(o.src){for(let i of o.getAttributeNames())n.setAttribute(i,o.getAttribute(i));return o.replaceWith(n),new F(i=>{n.onload=()=>i.complete()})}else return n.textContent=o.textContent,o.replaceWith(n),y}),oe(),ae(document))}function gi({sitemap$:e,location$:t,viewport$:r,progress$:o}){if(location.protocol==="file:")return y;$(document).subscribe(vi);let n=h(document.body,"click").pipe(Pe(e),b(([a,c])=>hi(a,c)),m(({href:a})=>new URL(a)),le()),i=h(window,"popstate").pipe(m(we),le());n.pipe(te(r)).subscribe(([a,{offset:c}])=>{history.replaceState(c,""),history.pushState(null,"",a)}),L(n,i).subscribe(t);let s=t.pipe(ne("pathname"),b(a=>xr(a,{progress$:o}).pipe(ve(()=>(st(a,!0),y)))),b(vi),b(bs),le());return L(s.pipe(te(t,(a,c)=>c)),s.pipe(b(()=>t),ne("hash")),t.pipe(Y((a,c)=>a.pathname===c.pathname&&a.hash===c.hash),b(()=>n),O(()=>history.back()))).subscribe(a=>{var c,p;history.state!==null||!a.hash?window.scrollTo(0,(p=(c=history.state)==null?void 0:c.y)!=null?p:0):(history.scrollRestoration="auto",gn(a.hash),history.scrollRestoration="manual")}),t.subscribe(()=>{history.scrollRestoration="manual"}),h(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}),r.pipe(ne("offset"),Ae(100)).subscribe(({offset:a})=>{history.replaceState(a,"")}),V("navigation.instant.prefetch")&&L(h(document.body,"mousemove"),h(document.body,"focusin")).pipe(Pe(e),b(([a,c])=>hi(a,c)),Ae(25),Qr(({href:a})=>a),hr(a=>{let c=document.createElement("link");return c.rel="prefetch",c.href=a.toString(),document.head.appendChild(c),h(c,"load").pipe(m(()=>c),Ee(1))})).subscribe(a=>a.remove()),s}var yi=$t(ro());function xi(e){let t=e.separator.split("|").map(n=>n.replace(/(\(\?[!=<][^)]+\))/g,"").length===0?"\uFFFD":n).join("|"),r=new RegExp(t,"img"),o=(n,i,s)=>`${i}${s}`;return n=>{n=n.replace(/[\s*+\-:~^]+/g," ").replace(/&/g,"&").trim();let i=new RegExp(`(^|${e.separator}|)(${n.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return s=>(0,yi.default)(s).replace(i,o).replace(/<\/mark>(\s+)]*>/img,"$1")}}function zt(e){return e.type===1}function Sr(e){return e.type===3}function Ei(e,t){let r=Mn(e);return L($(location.protocol!=="file:"),Je("search")).pipe(Re(o=>o),b(()=>t)).subscribe(({config:o,docs:n})=>r.next({type:0,data:{config:o,docs:n,options:{suggest:V("search.suggest")}}})),r}function wi(e){var l;let{selectedVersionSitemap:t,selectedVersionBaseURL:r,currentLocation:o,currentBaseURL:n}=e,i=(l=po(n))==null?void 0:l.pathname;if(i===void 0)return;let s=ys(o.pathname,i);if(s===void 0)return;let a=Es(t.keys());if(!t.has(a))return;let c=po(s,a);if(!c||!t.has(c.href))return;let p=po(s,r);if(p)return p.hash=o.hash,p.search=o.search,p}function po(e,t){try{return new URL(e,t)}catch(r){return}}function ys(e,t){if(e.startsWith(t))return e.slice(t.length)}function xs(e,t){let r=Math.min(e.length,t.length),o;for(o=0;oy)),o=r.pipe(m(n=>{let[,i]=t.base.match(/([^/]+)\/?$/);return n.find(({version:s,aliases:a})=>s===i||a.includes(i))||n[0]}));r.pipe(m(n=>new Map(n.map(i=>[`${new URL(`../${i.version}/`,t.base)}`,i]))),b(n=>h(document.body,"click").pipe(g(i=>!i.metaKey&&!i.ctrlKey),te(o),b(([i,s])=>{if(i.target instanceof Element){let a=i.target.closest("a");if(a&&!a.target&&n.has(a.href)){let c=a.href;return!i.target.closest(".md-version")&&n.get(c)===s?y:(i.preventDefault(),$(new URL(c)))}}return y}),b(i=>kt(i).pipe(m(s=>{var a;return(a=wi({selectedVersionSitemap:s,selectedVersionBaseURL:i,currentLocation:we(),currentBaseURL:t.base}))!=null?a:i})))))).subscribe(n=>st(n,!0)),z([r,o]).subscribe(([n,i])=>{j(".md-header__topic").appendChild(Wn(n,i))}),e.pipe(b(()=>o)).subscribe(n=>{var a;let i=new URL(t.base),s=__md_get("__outdated",sessionStorage,i);if(s===null){s=!0;let c=((a=t.version)==null?void 0:a.default)||"latest";Array.isArray(c)||(c=[c]);e:for(let p of c)for(let l of n.aliases.concat(n.version))if(new RegExp(p,"i").test(l)){s=!1;break e}__md_set("__outdated",s,sessionStorage,i)}if(s)for(let c of me("outdated"))c.hidden=!1})}function ws(e,{worker$:t}){let{searchParams:r}=we();r.has("q")&&(at("search",!0),e.value=r.get("q"),e.focus(),Je("search").pipe(Re(i=>!i)).subscribe(()=>{let i=we();i.searchParams.delete("q"),history.replaceState({},"",`${i}`)}));let o=Ye(e),n=L(t.pipe(Re(zt)),h(e,"keyup"),o).pipe(m(()=>e.value),Y());return z([n,o]).pipe(m(([i,s])=>({value:i,focus:s})),Z(1))}function Si(e,{worker$:t}){let r=new T,o=r.pipe(oe(),ae(!0));z([t.pipe(Re(zt)),r],(i,s)=>s).pipe(ne("value")).subscribe(({value:i})=>t.next({type:2,data:i})),r.pipe(ne("focus")).subscribe(({focus:i})=>{i&&at("search",i)}),h(e.form,"reset").pipe(W(o)).subscribe(()=>e.focus());let n=j("header [for=__search]");return h(n,"click").subscribe(()=>e.focus()),ws(e,{worker$:t}).pipe(O(i=>r.next(i)),A(()=>r.complete()),m(i=>P({ref:e},i)),Z(1))}function Oi(e,{worker$:t,query$:r}){let o=new T,n=un(e.parentElement).pipe(g(Boolean)),i=e.parentElement,s=j(":scope > :first-child",e),a=j(":scope > :last-child",e);Je("search").subscribe(l=>{a.setAttribute("role",l?"list":"presentation"),a.hidden=!l}),o.pipe(te(r),Gr(t.pipe(Re(zt)))).subscribe(([{items:l},{value:f}])=>{switch(l.length){case 0:s.textContent=f.length?Me("search.result.none"):Me("search.result.placeholder");break;case 1:s.textContent=Me("search.result.one");break;default:let u=br(l.length);s.textContent=Me("search.result.other",u)}});let c=o.pipe(O(()=>a.innerHTML=""),b(({items:l})=>L($(...l.slice(0,10)),$(...l.slice(10)).pipe(ot(4),Xr(n),b(([f])=>f)))),m(Fn),le());return c.subscribe(l=>a.appendChild(l)),c.pipe(J(l=>{let f=ue("details",l);return typeof f=="undefined"?y:h(f,"toggle").pipe(W(o),m(()=>f))})).subscribe(l=>{l.open===!1&&l.offsetTop<=i.scrollTop&&i.scrollTo({top:l.offsetTop})}),t.pipe(g(Sr),m(({data:l})=>l)).pipe(O(l=>o.next(l)),A(()=>o.complete()),m(l=>P({ref:e},l)))}function Ts(e,{query$:t}){return t.pipe(m(({value:r})=>{let o=we();return o.hash="",r=r.replace(/\s+/g,"+").replace(/&/g,"%26").replace(/=/g,"%3D"),o.search=`q=${r}`,{url:o}}))}function Li(e,t){let r=new T,o=r.pipe(oe(),ae(!0));return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),h(e,"click").pipe(W(o)).subscribe(n=>n.preventDefault()),Ts(e,t).pipe(O(n=>r.next(n)),A(()=>r.complete()),m(n=>P({ref:e},n)))}function Mi(e,{worker$:t,keyboard$:r}){let o=new T,n=Ce("search-query"),i=L(h(n,"keydown"),h(n,"focus")).pipe(xe(pe),m(()=>n.value),Y());return o.pipe(Pe(i),m(([{suggest:a},c])=>{let p=c.split(/([\s-]+)/);if(a!=null&&a.length&&p[p.length-1]){let l=a[a.length-1];l.startsWith(p[p.length-1])&&(p[p.length-1]=l)}else p.length=0;return p})).subscribe(a=>e.innerHTML=a.join("").replace(/\s/g," ")),r.pipe(g(({mode:a})=>a==="search")).subscribe(a=>{switch(a.type){case"ArrowRight":e.innerText.length&&n.selectionStart===n.value.length&&(n.value=e.innerText);break}}),t.pipe(g(Sr),m(({data:a})=>a)).pipe(O(a=>o.next(a)),A(()=>o.complete()),m(()=>({ref:e})))}function _i(e,{index$:t,keyboard$:r}){let o=Te();try{let n=Ei(o.search,t),i=Ce("search-query",e),s=Ce("search-result",e);h(e,"click").pipe(g(({target:c})=>c instanceof Element&&!!c.closest("a"))).subscribe(()=>at("search",!1)),r.pipe(g(({mode:c})=>c==="search")).subscribe(c=>{let p=Ne();switch(c.type){case"Enter":if(p===i){let l=new Map;for(let f of M(":first-child [href]",s)){let u=f.firstElementChild;l.set(f,parseFloat(u.getAttribute("data-md-score")))}if(l.size){let[[f]]=[...l].sort(([,u],[,d])=>d-u);f.click()}c.claim()}break;case"Escape":case"Tab":at("search",!1),i.blur();break;case"ArrowUp":case"ArrowDown":if(typeof p=="undefined")i.focus();else{let l=[i,...M(":not(details) > [href], summary, details[open] [href]",s)],f=Math.max(0,(Math.max(0,l.indexOf(p))+l.length+(c.type==="ArrowUp"?-1:1))%l.length);l[f].focus()}c.claim();break;default:i!==Ne()&&i.focus()}}),r.pipe(g(({mode:c})=>c==="global")).subscribe(c=>{switch(c.type){case"f":case"s":case"/":i.focus(),i.select(),c.claim();break}});let a=Si(i,{worker$:n});return L(a,Oi(s,{worker$:n,query$:a})).pipe(Ve(...me("search-share",e).map(c=>Li(c,{query$:a})),...me("search-suggest",e).map(c=>Mi(c,{worker$:n,keyboard$:r}))))}catch(n){return e.hidden=!0,tt}}function Ai(e,{index$:t,location$:r}){return z([t,r.pipe(Q(we()),g(o=>!!o.searchParams.get("h")))]).pipe(m(([o,n])=>xi(o.config)(n.searchParams.get("h"))),m(o=>{var s;let n=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let a=i.nextNode();a;a=i.nextNode())if((s=a.parentElement)!=null&&s.offsetHeight){let c=a.textContent,p=o(c);p.length>c.length&&n.set(a,p)}for(let[a,c]of n){let{childNodes:p}=x("span",null,c);a.replaceWith(...Array.from(p))}return{ref:e,nodes:n}}))}function Ss(e,{viewport$:t,main$:r}){let o=e.closest(".md-grid"),n=o.offsetTop-o.parentElement.offsetTop;return z([r,t]).pipe(m(([{offset:i,height:s},{offset:{y:a}}])=>(s=s+Math.min(n,Math.max(0,a-i))-n,{height:s,locked:a>=i+n})),Y((i,s)=>i.height===s.height&&i.locked===s.locked))}function lo(e,o){var n=o,{header$:t}=n,r=vo(n,["header$"]);let i=j(".md-sidebar__scrollwrap",e),{y:s}=Be(i);return H(()=>{let a=new T,c=a.pipe(oe(),ae(!0)),p=a.pipe($e(0,ye));return p.pipe(te(t)).subscribe({next([{height:l},{height:f}]){i.style.height=`${l-2*s}px`,e.style.top=`${f}px`},complete(){i.style.height="",e.style.top=""}}),p.pipe(Re()).subscribe(()=>{for(let l of M(".md-nav__link--active[href]",e)){if(!l.clientHeight)continue;let f=l.closest(".md-sidebar__scrollwrap");if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:d}=de(f);f.scrollTo({top:u-d/2})}}}),fe(M("label[tabindex]",e)).pipe(J(l=>h(l,"click").pipe(xe(pe),m(()=>l),W(c)))).subscribe(l=>{let f=j(`[id="${l.htmlFor}"]`);j(`[aria-labelledby="${l.id}"]`).setAttribute("aria-expanded",`${f.checked}`)}),V("content.tooltips")&&fe(M("abbr[title]",e)).pipe(J(l=>Xe(l,{viewport$})),W(c)).subscribe(),Ss(e,r).pipe(O(l=>a.next(l)),A(()=>a.complete()),m(l=>P({ref:e},l)))})}function Ci(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return rt(ze(`${r}/releases/latest`).pipe(ve(()=>y),m(o=>({version:o.tag_name})),Qe({})),ze(r).pipe(ve(()=>y),m(o=>({stars:o.stargazers_count,forks:o.forks_count})),Qe({}))).pipe(m(([o,n])=>P(P({},o),n)))}else{let r=`https://api.github.com/users/${e}`;return ze(r).pipe(m(o=>({repositories:o.public_repos})),Qe({}))}}function ki(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return rt(ze(`${r}/releases/permalink/latest`).pipe(ve(()=>y),m(({tag_name:o})=>({version:o})),Qe({})),ze(r).pipe(ve(()=>y),m(({star_count:o,forks_count:n})=>({stars:o,forks:n})),Qe({}))).pipe(m(([o,n])=>P(P({},o),n)))}function Hi(e){let t=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);if(t){let[,r,o]=t;return Ci(r,o)}if(t=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i),t){let[,r,o]=t;return ki(r,o)}return y}var Os;function Ls(e){return Os||(Os=H(()=>{let t=__md_get("__source",sessionStorage);if(t)return $(t);if(me("consent").length){let o=__md_get("__consent");if(!(o&&o.github))return y}return Hi(e.href).pipe(O(o=>__md_set("__source",o,sessionStorage)))}).pipe(ve(()=>y),g(t=>Object.keys(t).length>0),m(t=>({facts:t})),Z(1)))}function $i(e){let t=j(":scope > :last-child",e);return H(()=>{let r=new T;return r.subscribe(({facts:o})=>{t.appendChild(jn(o)),t.classList.add("md-source__repository--active")}),Ls(e).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>P({ref:e},o)))})}function Ms(e,{viewport$:t,header$:r}){return Le(document.body).pipe(b(()=>Er(e,{header$:r,viewport$:t})),m(({offset:{y:o}})=>({hidden:o>=10})),ne("hidden"))}function Pi(e,t){return H(()=>{let r=new T;return r.subscribe({next({hidden:o}){e.hidden=o},complete(){e.hidden=!1}}),(V("navigation.tabs.sticky")?$({hidden:!1}):Ms(e,t)).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>P({ref:e},o)))})}function _s(e,{viewport$:t,header$:r}){let o=new Map,n=M(".md-nav__link",e);for(let a of n){let c=decodeURIComponent(a.hash.substring(1)),p=ue(`[id="${c}"]`);typeof p!="undefined"&&o.set(a,p)}let i=r.pipe(ne("height"),m(({height:a})=>{let c=Ce("main"),p=j(":scope > :first-child",c);return a+.8*(p.offsetTop-c.offsetTop)}),le());return Le(document.body).pipe(ne("height"),b(a=>H(()=>{let c=[];return $([...o].reduce((p,[l,f])=>{for(;c.length&&o.get(c[c.length-1]).tagName>=f.tagName;)c.pop();let u=f.offsetTop;for(;!u&&f.parentElement;)f=f.parentElement,u=f.offsetTop;let d=f.offsetParent;for(;d;d=d.offsetParent)u+=d.offsetTop;return p.set([...c=[...c,l]].reverse(),u)},new Map))}).pipe(m(c=>new Map([...c].sort(([,p],[,l])=>p-l))),Pe(i),b(([c,p])=>t.pipe(Ut(([l,f],{offset:{y:u},size:d})=>{let v=u+d.height>=Math.floor(a.height);for(;f.length;){let[,S]=f[0];if(S-p=u&&!v)f=[l.pop(),...f];else break}return[l,f]},[[],[...c]]),Y((l,f)=>l[0]===f[0]&&l[1]===f[1])))))).pipe(m(([a,c])=>({prev:a.map(([p])=>p),next:c.map(([p])=>p)})),Q({prev:[],next:[]}),ot(2,1),m(([a,c])=>a.prev.length{let i=new T,s=i.pipe(oe(),ae(!0));if(i.subscribe(({prev:a,next:c})=>{for(let[p]of c)p.classList.remove("md-nav__link--passed"),p.classList.remove("md-nav__link--active");for(let[p,[l]]of a.entries())l.classList.add("md-nav__link--passed"),l.classList.toggle("md-nav__link--active",p===a.length-1)}),V("toc.follow")){let a=L(t.pipe(Ae(1),m(()=>{})),t.pipe(Ae(250),m(()=>"smooth")));i.pipe(g(({prev:c})=>c.length>0),Pe(o.pipe(xe(pe))),te(a)).subscribe(([[{prev:c}],p])=>{let[l]=c[c.length-1];if(l.offsetHeight){let f=vr(l);if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:d}=de(f);f.scrollTo({top:u-d/2,behavior:p})}}})}return V("navigation.tracking")&&t.pipe(W(s),ne("offset"),Ae(250),Ie(1),W(n.pipe(Ie(1))),vt({delay:250}),te(i)).subscribe(([,{prev:a}])=>{let c=we(),p=a[a.length-1];if(p&&p.length){let[l]=p,{hash:f}=new URL(l.href);c.hash!==f&&(c.hash=f,history.replaceState({},"",`${c}`))}else c.hash="",history.replaceState({},"",`${c}`)}),_s(e,{viewport$:t,header$:r}).pipe(O(a=>i.next(a)),A(()=>i.complete()),m(a=>P({ref:e},a)))})}function As(e,{viewport$:t,main$:r,target$:o}){let n=t.pipe(m(({offset:{y:s}})=>s),ot(2,1),m(([s,a])=>s>a&&a>0),Y()),i=r.pipe(m(({active:s})=>s));return z([i,n]).pipe(m(([s,a])=>!(s&&a)),Y(),W(o.pipe(Ie(1))),ae(!0),vt({delay:250}),m(s=>({hidden:s})))}function Ii(e,{viewport$:t,header$:r,main$:o,target$:n}){let i=new T,s=i.pipe(oe(),ae(!0));return i.subscribe({next({hidden:a}){e.hidden=a,a?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.hidden=!0,e.removeAttribute("tabindex")}}),r.pipe(W(s),ne("height")).subscribe(({height:a})=>{e.style.top=`${a+16}px`}),h(e,"click").subscribe(a=>{a.preventDefault(),window.scrollTo({top:0})}),As(e,{viewport$:t,main$:o,target$:n}).pipe(O(a=>i.next(a)),A(()=>i.complete()),m(a=>P({ref:e},a)))}function Fi({document$:e,viewport$:t}){e.pipe(b(()=>M(".md-ellipsis")),J(r=>mt(r).pipe(W(e.pipe(Ie(1))),g(o=>o),m(()=>r),Ee(1))),g(r=>r.offsetWidth{let o=r.innerText,n=r.closest("a")||r;return n.title=o,V("content.tooltips")?Xe(n,{viewport$:t}).pipe(W(e.pipe(Ie(1))),A(()=>n.removeAttribute("title"))):y})).subscribe(),V("content.tooltips")&&e.pipe(b(()=>M(".md-status")),J(r=>Xe(r,{viewport$:t}))).subscribe()}function ji({document$:e,tablet$:t}){e.pipe(b(()=>M(".md-toggle--indeterminate")),O(r=>{r.indeterminate=!0,r.checked=!1}),J(r=>h(r,"change").pipe(Jr(()=>r.classList.contains("md-toggle--indeterminate")),m(()=>r))),te(t)).subscribe(([r,o])=>{r.classList.remove("md-toggle--indeterminate"),o&&(r.checked=!1)})}function Cs(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Ui({document$:e}){e.pipe(b(()=>M("[data-md-scrollfix]")),O(t=>t.removeAttribute("data-md-scrollfix")),g(Cs),J(t=>h(t,"touchstart").pipe(m(()=>t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function Wi({viewport$:e,tablet$:t}){z([Je("search"),t]).pipe(m(([r,o])=>r&&!o),b(r=>$(r).pipe(nt(r?400:100))),te(e)).subscribe(([r,{offset:{y:o}}])=>{if(r)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${o}px`;else{let n=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",n&&window.scrollTo(0,n)}})}Object.entries||(Object.entries=function(e){let t=[];for(let r of Object.keys(e))t.push([r,e[r]]);return t});Object.values||(Object.values=function(e){let t=[];for(let r of Object.keys(e))t.push(e[r]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let r=e.length-1;r>=0;r--){let o=e[r];typeof o=="string"?o=document.createTextNode(o):o.parentNode&&o.parentNode.removeChild(o),r?t.insertBefore(this.previousSibling,o):t.replaceChild(o,this)}}}));function ks(){return location.protocol==="file:"?_t(`${new URL("search/search_index.js",Or.base)}`).pipe(m(()=>__index),Z(1)):ze(new URL("search/search_index.json",Or.base))}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ct=an(),Kt=bn(),Ht=yn(Kt),mo=hn(),ke=Ln(),Lr=Wt("(min-width: 60em)"),Vi=Wt("(min-width: 76.25em)"),Ni=xn(),Or=Te(),zi=document.forms.namedItem("search")?ks():tt,fo=new T;di({alert$:fo});ui({document$:ct});var uo=new T,qi=kt(Or.base);V("navigation.instant")&&gi({sitemap$:qi,location$:Kt,viewport$:ke,progress$:uo}).subscribe(ct);var Di;((Di=Or.version)==null?void 0:Di.provider)==="mike"&&Ti({document$:ct});L(Kt,Ht).pipe(nt(125)).subscribe(()=>{at("drawer",!1),at("search",!1)});mo.pipe(g(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ue("link[rel=prev]");typeof t!="undefined"&&st(t);break;case"n":case".":let r=ue("link[rel=next]");typeof r!="undefined"&&st(r);break;case"Enter":let o=Ne();o instanceof HTMLLabelElement&&o.click()}});Fi({viewport$:ke,document$:ct});ji({document$:ct,tablet$:Lr});Ui({document$:ct});Wi({viewport$:ke,tablet$:Lr});var ft=ai(Ce("header"),{viewport$:ke}),qt=ct.pipe(m(()=>Ce("main")),b(e=>pi(e,{viewport$:ke,header$:ft})),Z(1)),Hs=L(...me("consent").map(e=>An(e,{target$:Ht})),...me("dialog").map(e=>ni(e,{alert$:fo})),...me("palette").map(e=>li(e)),...me("progress").map(e=>mi(e,{progress$:uo})),...me("search").map(e=>_i(e,{index$:zi,keyboard$:mo})),...me("source").map(e=>$i(e))),$s=H(()=>L(...me("announce").map(e=>_n(e)),...me("content").map(e=>oi(e,{sitemap$:qi,viewport$:ke,target$:Ht,print$:Ni})),...me("content").map(e=>V("search.highlight")?Ai(e,{index$:zi,location$:Kt}):y),...me("header").map(e=>si(e,{viewport$:ke,header$:ft,main$:qt})),...me("header-title").map(e=>ci(e,{viewport$:ke,header$:ft})),...me("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?eo(Vi,()=>lo(e,{viewport$:ke,header$:ft,main$:qt})):eo(Lr,()=>lo(e,{viewport$:ke,header$:ft,main$:qt}))),...me("tabs").map(e=>Pi(e,{viewport$:ke,header$:ft})),...me("toc").map(e=>Ri(e,{viewport$:ke,header$:ft,main$:qt,target$:Ht})),...me("top").map(e=>Ii(e,{viewport$:ke,header$:ft,main$:qt,target$:Ht})))),Ki=ct.pipe(b(()=>$s),Ve(Hs),Z(1));Ki.subscribe();window.document$=ct;window.location$=Kt;window.target$=Ht;window.keyboard$=mo;window.viewport$=ke;window.tablet$=Lr;window.screen$=Vi;window.print$=Ni;window.alert$=fo;window.progress$=uo;window.component$=Ki;})(); -//# sourceMappingURL=bundle.e71a0d61.min.js.map - diff --git a/docs/_site/assets/javascripts/bundle.e71a0d61.min.js.map b/docs/_site/assets/javascripts/bundle.e71a0d61.min.js.map deleted file mode 100644 index 23451b5..0000000 --- a/docs/_site/assets/javascripts/bundle.e71a0d61.min.js.map +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": 3, - "sources": ["node_modules/focus-visible/dist/focus-visible.js", "node_modules/escape-html/index.js", "node_modules/clipboard/dist/clipboard.js", "src/templates/assets/javascripts/bundle.ts", "node_modules/tslib/tslib.es6.mjs", "node_modules/rxjs/src/internal/util/isFunction.ts", "node_modules/rxjs/src/internal/util/createErrorClass.ts", "node_modules/rxjs/src/internal/util/UnsubscriptionError.ts", "node_modules/rxjs/src/internal/util/arrRemove.ts", "node_modules/rxjs/src/internal/Subscription.ts", "node_modules/rxjs/src/internal/config.ts", "node_modules/rxjs/src/internal/scheduler/timeoutProvider.ts", "node_modules/rxjs/src/internal/util/reportUnhandledError.ts", "node_modules/rxjs/src/internal/util/noop.ts", "node_modules/rxjs/src/internal/NotificationFactories.ts", "node_modules/rxjs/src/internal/util/errorContext.ts", "node_modules/rxjs/src/internal/Subscriber.ts", "node_modules/rxjs/src/internal/symbol/observable.ts", "node_modules/rxjs/src/internal/util/identity.ts", "node_modules/rxjs/src/internal/util/pipe.ts", "node_modules/rxjs/src/internal/Observable.ts", "node_modules/rxjs/src/internal/util/lift.ts", "node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts", "node_modules/rxjs/src/internal/scheduler/animationFrameProvider.ts", "node_modules/rxjs/src/internal/util/ObjectUnsubscribedError.ts", "node_modules/rxjs/src/internal/Subject.ts", "node_modules/rxjs/src/internal/BehaviorSubject.ts", "node_modules/rxjs/src/internal/scheduler/dateTimestampProvider.ts", "node_modules/rxjs/src/internal/ReplaySubject.ts", "node_modules/rxjs/src/internal/scheduler/Action.ts", "node_modules/rxjs/src/internal/scheduler/intervalProvider.ts", "node_modules/rxjs/src/internal/scheduler/AsyncAction.ts", "node_modules/rxjs/src/internal/Scheduler.ts", "node_modules/rxjs/src/internal/scheduler/AsyncScheduler.ts", "node_modules/rxjs/src/internal/scheduler/async.ts", "node_modules/rxjs/src/internal/scheduler/QueueAction.ts", "node_modules/rxjs/src/internal/scheduler/QueueScheduler.ts", "node_modules/rxjs/src/internal/scheduler/queue.ts", "node_modules/rxjs/src/internal/scheduler/AnimationFrameAction.ts", "node_modules/rxjs/src/internal/scheduler/AnimationFrameScheduler.ts", "node_modules/rxjs/src/internal/scheduler/animationFrame.ts", "node_modules/rxjs/src/internal/observable/empty.ts", "node_modules/rxjs/src/internal/util/isScheduler.ts", "node_modules/rxjs/src/internal/util/args.ts", "node_modules/rxjs/src/internal/util/isArrayLike.ts", "node_modules/rxjs/src/internal/util/isPromise.ts", "node_modules/rxjs/src/internal/util/isInteropObservable.ts", "node_modules/rxjs/src/internal/util/isAsyncIterable.ts", "node_modules/rxjs/src/internal/util/throwUnobservableError.ts", "node_modules/rxjs/src/internal/symbol/iterator.ts", "node_modules/rxjs/src/internal/util/isIterable.ts", "node_modules/rxjs/src/internal/util/isReadableStreamLike.ts", "node_modules/rxjs/src/internal/observable/innerFrom.ts", "node_modules/rxjs/src/internal/util/executeSchedule.ts", "node_modules/rxjs/src/internal/operators/observeOn.ts", "node_modules/rxjs/src/internal/operators/subscribeOn.ts", "node_modules/rxjs/src/internal/scheduled/scheduleObservable.ts", "node_modules/rxjs/src/internal/scheduled/schedulePromise.ts", "node_modules/rxjs/src/internal/scheduled/scheduleArray.ts", "node_modules/rxjs/src/internal/scheduled/scheduleIterable.ts", "node_modules/rxjs/src/internal/scheduled/scheduleAsyncIterable.ts", "node_modules/rxjs/src/internal/scheduled/scheduleReadableStreamLike.ts", "node_modules/rxjs/src/internal/scheduled/scheduled.ts", "node_modules/rxjs/src/internal/observable/from.ts", "node_modules/rxjs/src/internal/observable/of.ts", "node_modules/rxjs/src/internal/observable/throwError.ts", "node_modules/rxjs/src/internal/util/EmptyError.ts", "node_modules/rxjs/src/internal/util/isDate.ts", "node_modules/rxjs/src/internal/operators/map.ts", "node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts", "node_modules/rxjs/src/internal/util/argsArgArrayOrObject.ts", "node_modules/rxjs/src/internal/util/createObject.ts", "node_modules/rxjs/src/internal/observable/combineLatest.ts", "node_modules/rxjs/src/internal/operators/mergeInternals.ts", "node_modules/rxjs/src/internal/operators/mergeMap.ts", "node_modules/rxjs/src/internal/operators/mergeAll.ts", "node_modules/rxjs/src/internal/operators/concatAll.ts", "node_modules/rxjs/src/internal/observable/concat.ts", "node_modules/rxjs/src/internal/observable/defer.ts", "node_modules/rxjs/src/internal/observable/fromEvent.ts", "node_modules/rxjs/src/internal/observable/fromEventPattern.ts", "node_modules/rxjs/src/internal/observable/timer.ts", "node_modules/rxjs/src/internal/observable/merge.ts", "node_modules/rxjs/src/internal/observable/never.ts", "node_modules/rxjs/src/internal/util/argsOrArgArray.ts", "node_modules/rxjs/src/internal/operators/filter.ts", "node_modules/rxjs/src/internal/observable/zip.ts", "node_modules/rxjs/src/internal/operators/audit.ts", "node_modules/rxjs/src/internal/operators/auditTime.ts", "node_modules/rxjs/src/internal/operators/bufferCount.ts", "node_modules/rxjs/src/internal/operators/catchError.ts", "node_modules/rxjs/src/internal/operators/scanInternals.ts", "node_modules/rxjs/src/internal/operators/combineLatest.ts", "node_modules/rxjs/src/internal/operators/combineLatestWith.ts", "node_modules/rxjs/src/internal/operators/debounce.ts", "node_modules/rxjs/src/internal/operators/debounceTime.ts", "node_modules/rxjs/src/internal/operators/defaultIfEmpty.ts", "node_modules/rxjs/src/internal/operators/take.ts", "node_modules/rxjs/src/internal/operators/ignoreElements.ts", "node_modules/rxjs/src/internal/operators/mapTo.ts", "node_modules/rxjs/src/internal/operators/delayWhen.ts", "node_modules/rxjs/src/internal/operators/delay.ts", "node_modules/rxjs/src/internal/operators/distinct.ts", "node_modules/rxjs/src/internal/operators/distinctUntilChanged.ts", "node_modules/rxjs/src/internal/operators/distinctUntilKeyChanged.ts", "node_modules/rxjs/src/internal/operators/throwIfEmpty.ts", "node_modules/rxjs/src/internal/operators/endWith.ts", "node_modules/rxjs/src/internal/operators/exhaustMap.ts", "node_modules/rxjs/src/internal/operators/finalize.ts", "node_modules/rxjs/src/internal/operators/first.ts", "node_modules/rxjs/src/internal/operators/takeLast.ts", "node_modules/rxjs/src/internal/operators/merge.ts", "node_modules/rxjs/src/internal/operators/mergeWith.ts", "node_modules/rxjs/src/internal/operators/repeat.ts", "node_modules/rxjs/src/internal/operators/scan.ts", "node_modules/rxjs/src/internal/operators/share.ts", "node_modules/rxjs/src/internal/operators/shareReplay.ts", "node_modules/rxjs/src/internal/operators/skip.ts", "node_modules/rxjs/src/internal/operators/skipUntil.ts", "node_modules/rxjs/src/internal/operators/startWith.ts", "node_modules/rxjs/src/internal/operators/switchMap.ts", "node_modules/rxjs/src/internal/operators/takeUntil.ts", "node_modules/rxjs/src/internal/operators/takeWhile.ts", "node_modules/rxjs/src/internal/operators/tap.ts", "node_modules/rxjs/src/internal/operators/throttle.ts", "node_modules/rxjs/src/internal/operators/throttleTime.ts", "node_modules/rxjs/src/internal/operators/withLatestFrom.ts", "node_modules/rxjs/src/internal/operators/zip.ts", "node_modules/rxjs/src/internal/operators/zipWith.ts", "src/templates/assets/javascripts/browser/document/index.ts", "src/templates/assets/javascripts/browser/element/_/index.ts", "src/templates/assets/javascripts/browser/element/focus/index.ts", "src/templates/assets/javascripts/browser/element/hover/index.ts", "src/templates/assets/javascripts/utilities/h/index.ts", "src/templates/assets/javascripts/utilities/round/index.ts", "src/templates/assets/javascripts/browser/script/index.ts", "src/templates/assets/javascripts/browser/element/size/_/index.ts", "src/templates/assets/javascripts/browser/element/size/content/index.ts", "src/templates/assets/javascripts/browser/element/offset/_/index.ts", "src/templates/assets/javascripts/browser/element/offset/content/index.ts", "src/templates/assets/javascripts/browser/element/visibility/index.ts", "src/templates/assets/javascripts/browser/toggle/index.ts", "src/templates/assets/javascripts/browser/keyboard/index.ts", "src/templates/assets/javascripts/browser/location/_/index.ts", "src/templates/assets/javascripts/browser/location/hash/index.ts", "src/templates/assets/javascripts/browser/media/index.ts", "src/templates/assets/javascripts/browser/request/index.ts", "src/templates/assets/javascripts/browser/viewport/offset/index.ts", "src/templates/assets/javascripts/browser/viewport/size/index.ts", "src/templates/assets/javascripts/browser/viewport/_/index.ts", "src/templates/assets/javascripts/browser/viewport/at/index.ts", "src/templates/assets/javascripts/browser/worker/index.ts", "src/templates/assets/javascripts/_/index.ts", "src/templates/assets/javascripts/components/_/index.ts", "src/templates/assets/javascripts/components/announce/index.ts", "src/templates/assets/javascripts/components/consent/index.ts", "src/templates/assets/javascripts/templates/tooltip/index.tsx", "src/templates/assets/javascripts/templates/annotation/index.tsx", "src/templates/assets/javascripts/templates/clipboard/index.tsx", "src/templates/assets/javascripts/templates/search/index.tsx", "src/templates/assets/javascripts/templates/source/index.tsx", "src/templates/assets/javascripts/templates/tabbed/index.tsx", "src/templates/assets/javascripts/templates/table/index.tsx", "src/templates/assets/javascripts/templates/version/index.tsx", "src/templates/assets/javascripts/components/tooltip2/index.ts", "src/templates/assets/javascripts/components/content/annotation/_/index.ts", "src/templates/assets/javascripts/components/content/annotation/list/index.ts", "src/templates/assets/javascripts/components/content/annotation/block/index.ts", "src/templates/assets/javascripts/components/content/code/_/index.ts", "src/templates/assets/javascripts/components/content/details/index.ts", "src/templates/assets/javascripts/components/content/link/index.ts", "src/templates/assets/javascripts/components/content/mermaid/index.css", "src/templates/assets/javascripts/components/content/mermaid/index.ts", "src/templates/assets/javascripts/components/content/table/index.ts", "src/templates/assets/javascripts/components/content/tabs/index.ts", "src/templates/assets/javascripts/components/content/_/index.ts", "src/templates/assets/javascripts/components/dialog/index.ts", "src/templates/assets/javascripts/components/tooltip/index.ts", "src/templates/assets/javascripts/components/header/_/index.ts", "src/templates/assets/javascripts/components/header/title/index.ts", "src/templates/assets/javascripts/components/main/index.ts", "src/templates/assets/javascripts/components/palette/index.ts", "src/templates/assets/javascripts/components/progress/index.ts", "src/templates/assets/javascripts/integrations/sitemap/index.ts", "src/templates/assets/javascripts/integrations/alternate/index.ts", "src/templates/assets/javascripts/integrations/clipboard/index.ts", "src/templates/assets/javascripts/integrations/instant/index.ts", "src/templates/assets/javascripts/integrations/search/highlighter/index.ts", "src/templates/assets/javascripts/integrations/search/worker/message/index.ts", "src/templates/assets/javascripts/integrations/search/worker/_/index.ts", "src/templates/assets/javascripts/integrations/version/findurl/index.ts", "src/templates/assets/javascripts/integrations/version/index.ts", "src/templates/assets/javascripts/components/search/query/index.ts", "src/templates/assets/javascripts/components/search/result/index.ts", "src/templates/assets/javascripts/components/search/share/index.ts", "src/templates/assets/javascripts/components/search/suggest/index.ts", "src/templates/assets/javascripts/components/search/_/index.ts", "src/templates/assets/javascripts/components/search/highlight/index.ts", "src/templates/assets/javascripts/components/sidebar/index.ts", "src/templates/assets/javascripts/components/source/facts/github/index.ts", "src/templates/assets/javascripts/components/source/facts/gitlab/index.ts", "src/templates/assets/javascripts/components/source/facts/_/index.ts", "src/templates/assets/javascripts/components/source/_/index.ts", "src/templates/assets/javascripts/components/tabs/index.ts", "src/templates/assets/javascripts/components/toc/index.ts", "src/templates/assets/javascripts/components/top/index.ts", "src/templates/assets/javascripts/patches/ellipsis/index.ts", "src/templates/assets/javascripts/patches/indeterminate/index.ts", "src/templates/assets/javascripts/patches/scrollfix/index.ts", "src/templates/assets/javascripts/patches/scrolllock/index.ts", "src/templates/assets/javascripts/polyfills/index.ts"], - "sourcesContent": ["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n /**\n * Applies the :focus-visible polyfill at the given scope.\n * A scope in this case is either the top-level Document or a Shadow Root.\n *\n * @param {(Document|ShadowRoot)} scope\n * @see https://github.com/WICG/focus-visible\n */\n function applyFocusVisiblePolyfill(scope) {\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n\n var inputTypesAllowlist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n * @param {Element} el\n */\n function isValidFocusTarget(el) {\n if (\n el &&\n el !== document &&\n el.nodeName !== 'HTML' &&\n el.nodeName !== 'BODY' &&\n 'classList' in el &&\n 'contains' in el.classList\n ) {\n return true;\n }\n return false;\n }\n\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} el\n * @return {boolean}\n */\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n\n if (tagName === 'INPUT' && inputTypesAllowlist[type] && !el.readOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !el.readOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Add the `focus-visible` class to the given element if it was not added by\n * the author.\n * @param {Element} el\n */\n function addFocusVisibleClass(el) {\n if (el.classList.contains('focus-visible')) {\n return;\n }\n el.classList.add('focus-visible');\n el.setAttribute('data-focus-visible-added', '');\n }\n\n /**\n * Remove the `focus-visible` class from the given element if it was not\n * originally added by the author.\n * @param {Element} el\n */\n function removeFocusVisibleClass(el) {\n if (!el.hasAttribute('data-focus-visible-added')) {\n return;\n }\n el.classList.remove('focus-visible');\n el.removeAttribute('data-focus-visible-added');\n }\n\n /**\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n * @param {KeyboardEvent} e\n */\n function onKeyDown(e) {\n if (e.metaKey || e.altKey || e.ctrlKey) {\n return;\n }\n\n if (isValidFocusTarget(scope.activeElement)) {\n addFocusVisibleClass(scope.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * @param {Event} e\n */\n function onPointerDown(e) {\n hadKeyboardEvent = false;\n }\n\n /**\n * On `focus`, add the `focus-visible` class to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n * @param {Event} e\n */\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleClass(e.target);\n }\n }\n\n /**\n * On `blur`, remove the `focus-visible` class from the target.\n * @param {Event} e\n */\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (\n e.target.classList.contains('focus-visible') ||\n e.target.hasAttribute('data-focus-visible-added')\n ) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {\n hadFocusVisibleRecently = false;\n }, 100);\n removeFocusVisibleClass(e.target);\n }\n }\n\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had .focus-visible.\n * @param {Event} e\n */\n function onVisibilityChange(e) {\n if (document.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n addInitialPointerMoveListeners();\n }\n }\n\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n * @param {Event} e\n */\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on whenever the\n // window blurs, even if you're tabbing out of the page. \u00AF\\_(\u30C4)_/\u00AF\n if (e.target.nodeName && e.target.nodeName.toLowerCase() === 'html') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n // For some kinds of state, we are interested in changes at the global scope\n // only. For example, global pointer input, global key presses and global\n // visibility change should affect the state at every scope:\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n\n addInitialPointerMoveListeners();\n\n // For focus and blur, we specifically care about state changes in the local\n // scope. This is because focus / blur events that originate from within a\n // shadow root are not re-dispatched from the host element if it was already\n // the active element in its own scope:\n scope.addEventListener('focus', onFocus, true);\n scope.addEventListener('blur', onBlur, true);\n\n // We detect that a node is a ShadowRoot by ensuring that it is a\n // DocumentFragment and also has a host property. This check covers native\n // implementation and polyfill implementation transparently. If we only cared\n // about the native implementation, we could just check if the scope was\n // an instance of a ShadowRoot.\n if (scope.nodeType === Node.DOCUMENT_FRAGMENT_NODE && scope.host) {\n // Since a ShadowRoot is a special kind of DocumentFragment, it does not\n // have a root element to add a class to. So, we add this attribute to the\n // host element instead:\n scope.host.setAttribute('data-js-focus-visible', '');\n } else if (scope.nodeType === Node.DOCUMENT_NODE) {\n document.documentElement.classList.add('js-focus-visible');\n document.documentElement.setAttribute('data-js-focus-visible', '');\n }\n }\n\n // It is important to wrap all references to global window and document in\n // these checks to support server-side rendering use cases\n // @see https://github.com/WICG/focus-visible/issues/199\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n // Make the polyfill helper globally available. This can be used as a signal\n // to interested libraries that wish to coordinate with the polyfill for e.g.,\n // applying the polyfill to a shadow root:\n window.applyFocusVisiblePolyfill = applyFocusVisiblePolyfill;\n\n // Notify interested libraries of the polyfill's presence, in case the\n // polyfill was loaded lazily:\n var event;\n\n try {\n event = new CustomEvent('focus-visible-polyfill-ready');\n } catch (error) {\n // IE11 does not support using CustomEvent as a constructor directly:\n event = document.createEvent('CustomEvent');\n event.initCustomEvent('focus-visible-polyfill-ready', false, false, {});\n }\n\n window.dispatchEvent(event);\n }\n\n if (typeof document !== 'undefined') {\n // Apply the polyfill to the global document, so that no JavaScript\n // coordination is required to use the polyfill in the top-level document:\n applyFocusVisiblePolyfill(document);\n }\n\n})));\n", "/*!\n * escape-html\n * Copyright(c) 2012-2013 TJ Holowaychuk\n * Copyright(c) 2015 Andreas Lubbe\n * Copyright(c) 2015 Tiancheng \"Timothy\" Gu\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = escapeHtml;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34: // \"\n escape = '"';\n break;\n case 38: // &\n escape = '&';\n break;\n case 39: // '\n escape = ''';\n break;\n case 60: // <\n escape = '<';\n break;\n case 62: // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index\n ? html + str.substring(lastIndex, index)\n : html;\n}\n", "/*!\n * clipboard.js v2.0.11\n * https://clipboardjs.com/\n *\n * Licensed MIT \u00A9 Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 686:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ clipboard; }\n});\n\n// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js\nvar tiny_emitter = __webpack_require__(279);\nvar tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);\n// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js\nvar listen = __webpack_require__(370);\nvar listen_default = /*#__PURE__*/__webpack_require__.n(listen);\n// EXTERNAL MODULE: ./node_modules/select/src/select.js\nvar src_select = __webpack_require__(817);\nvar select_default = /*#__PURE__*/__webpack_require__.n(src_select);\n;// CONCATENATED MODULE: ./src/common/command.js\n/**\n * Executes a given operation type.\n * @param {String} type\n * @return {Boolean}\n */\nfunction command(type) {\n try {\n return document.execCommand(type);\n } catch (err) {\n return false;\n }\n}\n;// CONCATENATED MODULE: ./src/actions/cut.js\n\n\n/**\n * Cut action wrapper.\n * @param {String|HTMLElement} target\n * @return {String}\n */\n\nvar ClipboardActionCut = function ClipboardActionCut(target) {\n var selectedText = select_default()(target);\n command('cut');\n return selectedText;\n};\n\n/* harmony default export */ var actions_cut = (ClipboardActionCut);\n;// CONCATENATED MODULE: ./src/common/create-fake-element.js\n/**\n * Creates a fake textarea element with a value.\n * @param {String} value\n * @return {HTMLElement}\n */\nfunction createFakeElement(value) {\n var isRTL = document.documentElement.getAttribute('dir') === 'rtl';\n var fakeElement = document.createElement('textarea'); // Prevent zooming on iOS\n\n fakeElement.style.fontSize = '12pt'; // Reset box model\n\n fakeElement.style.border = '0';\n fakeElement.style.padding = '0';\n fakeElement.style.margin = '0'; // Move element out of screen horizontally\n\n fakeElement.style.position = 'absolute';\n fakeElement.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically\n\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n fakeElement.style.top = \"\".concat(yPosition, \"px\");\n fakeElement.setAttribute('readonly', '');\n fakeElement.value = value;\n return fakeElement;\n}\n;// CONCATENATED MODULE: ./src/actions/copy.js\n\n\n\n/**\n * Create fake copy action wrapper using a fake element.\n * @param {String} target\n * @param {Object} options\n * @return {String}\n */\n\nvar fakeCopyAction = function fakeCopyAction(value, options) {\n var fakeElement = createFakeElement(value);\n options.container.appendChild(fakeElement);\n var selectedText = select_default()(fakeElement);\n command('copy');\n fakeElement.remove();\n return selectedText;\n};\n/**\n * Copy action wrapper.\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @return {String}\n */\n\n\nvar ClipboardActionCopy = function ClipboardActionCopy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n var selectedText = '';\n\n if (typeof target === 'string') {\n selectedText = fakeCopyAction(target, options);\n } else if (target instanceof HTMLInputElement && !['text', 'search', 'url', 'tel', 'password'].includes(target === null || target === void 0 ? void 0 : target.type)) {\n // If input type doesn't support `setSelectionRange`. Simulate it. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n selectedText = fakeCopyAction(target.value, options);\n } else {\n selectedText = select_default()(target);\n command('copy');\n }\n\n return selectedText;\n};\n\n/* harmony default export */ var actions_copy = (ClipboardActionCopy);\n;// CONCATENATED MODULE: ./src/actions/default.js\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n\n\n/**\n * Inner function which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n * @param {Object} options\n */\n\nvar ClipboardActionDefault = function ClipboardActionDefault() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // Defines base properties passed from constructor.\n var _options$action = options.action,\n action = _options$action === void 0 ? 'copy' : _options$action,\n container = options.container,\n target = options.target,\n text = options.text; // Sets the `action` to be performed which can be either 'copy' or 'cut'.\n\n if (action !== 'copy' && action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n } // Sets the `target` property using an element that will be have its content copied.\n\n\n if (target !== undefined) {\n if (target && _typeof(target) === 'object' && target.nodeType === 1) {\n if (action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n } // Define selection strategy based on `text` property.\n\n\n if (text) {\n return actions_copy(text, {\n container: container\n });\n } // Defines which selection strategy based on `target` property.\n\n\n if (target) {\n return action === 'cut' ? actions_cut(target) : actions_copy(target, {\n container: container\n });\n }\n};\n\n/* harmony default export */ var actions_default = (ClipboardActionDefault);\n;// CONCATENATED MODULE: ./src/clipboard.js\nfunction clipboard_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return clipboard_typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\nfunction getAttributeValue(suffix, element) {\n var attribute = \"data-clipboard-\".concat(suffix);\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\n\n\nvar Clipboard = /*#__PURE__*/function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n var _super = _createSuper(Clipboard);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n var _this;\n\n _classCallCheck(this, Clipboard);\n\n _this = _super.call(this);\n\n _this.resolveOptions(options);\n\n _this.listenClick(trigger);\n\n return _this;\n }\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n _createClass(Clipboard, [{\n key: \"resolveOptions\",\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;\n }\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: \"listenClick\",\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = listen_default()(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: \"onClick\",\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n var action = this.action(trigger) || 'copy';\n var text = actions_default({\n action: action,\n container: this.container,\n target: this.target(trigger),\n text: this.text(trigger)\n }); // Fires an event based on the copy operation result.\n\n this.emit(text ? 'success' : 'error', {\n action: action,\n text: text,\n trigger: trigger,\n clearSelection: function clearSelection() {\n if (trigger) {\n trigger.focus();\n }\n\n window.getSelection().removeAllRanges();\n }\n });\n }\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultAction\",\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultTarget\",\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n /**\n * Allow fire programmatically a copy action\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @returns Text copied.\n */\n\n }, {\n key: \"defaultText\",\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: \"destroy\",\n value: function destroy() {\n this.listener.destroy();\n }\n }], [{\n key: \"copy\",\n value: function copy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n return actions_copy(target, options);\n }\n /**\n * Allow fire programmatically a cut action\n * @param {String|HTMLElement} target\n * @returns Text cutted.\n */\n\n }, {\n key: \"cut\",\n value: function cut(target) {\n return actions_cut(target);\n }\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: \"isSupported\",\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n return support;\n }\n }]);\n\n return Clipboard;\n}((tiny_emitter_default()));\n\n/* harmony default export */ var clipboard = (Clipboard);\n\n/***/ }),\n\n/***/ 828:\n/***/ (function(module) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n\n/***/ 438:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar closest = __webpack_require__(828);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n\n/***/ 879:\n/***/ (function(__unused_webpack_module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n\n/***/ 370:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar is = __webpack_require__(879);\nvar delegate = __webpack_require__(438);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n\n/***/ 817:\n/***/ (function(module) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n\n/***/ 279:\n/***/ (function(module) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(__webpack_module_cache__[moduleId]) {\n/******/ \t\t\treturn __webpack_module_cache__[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\n/******/ \t// module exports must be returned from runtime so entry inlining is disabled\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(686);\n/******/ })()\n.default;\n});", "/*\n * Copyright (c) 2016-2025 Martin Donath \n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nimport \"focus-visible\"\n\nimport {\n EMPTY,\n NEVER,\n Observable,\n Subject,\n defer,\n delay,\n filter,\n map,\n merge,\n mergeWith,\n shareReplay,\n switchMap\n} from \"rxjs\"\n\nimport { configuration, feature } from \"./_\"\nimport {\n at,\n getActiveElement,\n getOptionalElement,\n requestJSON,\n setLocation,\n setToggle,\n watchDocument,\n watchKeyboard,\n watchLocation,\n watchLocationTarget,\n watchMedia,\n watchPrint,\n watchScript,\n watchViewport\n} from \"./browser\"\nimport {\n getComponentElement,\n getComponentElements,\n mountAnnounce,\n mountBackToTop,\n mountConsent,\n mountContent,\n mountDialog,\n mountHeader,\n mountHeaderTitle,\n mountPalette,\n mountProgress,\n mountSearch,\n mountSearchHiglight,\n mountSidebar,\n mountSource,\n mountTableOfContents,\n mountTabs,\n watchHeader,\n watchMain\n} from \"./components\"\nimport {\n SearchIndex,\n fetchSitemap,\n setupAlternate,\n setupClipboardJS,\n setupInstantNavigation,\n setupVersionSelector\n} from \"./integrations\"\nimport {\n patchEllipsis,\n patchIndeterminate,\n patchScrollfix,\n patchScrolllock\n} from \"./patches\"\nimport \"./polyfills\"\n\n/* ----------------------------------------------------------------------------\n * Functions - @todo refactor\n * ------------------------------------------------------------------------- */\n\n/**\n * Fetch search index\n *\n * @returns Search index observable\n */\nfunction fetchSearchIndex(): Observable {\n if (location.protocol === \"file:\") {\n return watchScript(\n `${new URL(\"search/search_index.js\", config.base)}`\n )\n .pipe(\n // @ts-ignore - @todo fix typings\n map(() => __index),\n shareReplay(1)\n )\n } else {\n return requestJSON(\n new URL(\"search/search_index.json\", config.base)\n )\n }\n}\n\n/* ----------------------------------------------------------------------------\n * Application\n * ------------------------------------------------------------------------- */\n\n/* Yay, JavaScript is available */\ndocument.documentElement.classList.remove(\"no-js\")\ndocument.documentElement.classList.add(\"js\")\n\n/* Set up navigation observables and subjects */\nconst document$ = watchDocument()\nconst location$ = watchLocation()\nconst target$ = watchLocationTarget(location$)\nconst keyboard$ = watchKeyboard()\n\n/* Set up media observables */\nconst viewport$ = watchViewport()\nconst tablet$ = watchMedia(\"(min-width: 60em)\")\nconst screen$ = watchMedia(\"(min-width: 76.25em)\")\nconst print$ = watchPrint()\n\n/* Retrieve search index, if search is enabled */\nconst config = configuration()\nconst index$ = document.forms.namedItem(\"search\")\n ? fetchSearchIndex()\n : NEVER\n\n/* Set up Clipboard.js integration */\nconst alert$ = new Subject()\nsetupClipboardJS({ alert$ })\n\n/* Set up language selector */\nsetupAlternate({ document$ })\n\n/* Set up progress indicator */\nconst progress$ = new Subject()\n\n/* Set up sitemap for instant navigation and previews */\nconst sitemap$ = fetchSitemap(config.base)\n\n/* Set up instant navigation, if enabled */\nif (feature(\"navigation.instant\"))\n setupInstantNavigation({ sitemap$, location$, viewport$, progress$ })\n .subscribe(document$)\n\n/* Set up version selector */\nif (config.version?.provider === \"mike\")\n setupVersionSelector({ document$ })\n\n/* Always close drawer and search on navigation */\nmerge(location$, target$)\n .pipe(\n delay(125)\n )\n .subscribe(() => {\n setToggle(\"drawer\", false)\n setToggle(\"search\", false)\n })\n\n/* Set up global keyboard handlers */\nkeyboard$\n .pipe(\n filter(({ mode }) => mode === \"global\")\n )\n .subscribe(key => {\n switch (key.type) {\n\n /* Go to previous page */\n case \"p\":\n case \",\":\n const prev = getOptionalElement(\"link[rel=prev]\")\n if (typeof prev !== \"undefined\")\n setLocation(prev)\n break\n\n /* Go to next page */\n case \"n\":\n case \".\":\n const next = getOptionalElement(\"link[rel=next]\")\n if (typeof next !== \"undefined\")\n setLocation(next)\n break\n\n /* Expand navigation, see https://bit.ly/3ZjG5io */\n case \"Enter\":\n const active = getActiveElement()\n if (active instanceof HTMLLabelElement)\n active.click()\n }\n })\n\n/* Set up patches */\npatchEllipsis({ viewport$, document$ })\npatchIndeterminate({ document$, tablet$ })\npatchScrollfix({ document$ })\npatchScrolllock({ viewport$, tablet$ })\n\n/* Set up header and main area observable */\nconst header$ = watchHeader(getComponentElement(\"header\"), { viewport$ })\nconst main$ = document$\n .pipe(\n map(() => getComponentElement(\"main\")),\n switchMap(el => watchMain(el, { viewport$, header$ })),\n shareReplay(1)\n )\n\n/* Set up control component observables */\nconst control$ = merge(\n\n /* Consent */\n ...getComponentElements(\"consent\")\n .map(el => mountConsent(el, { target$ })),\n\n /* Dialog */\n ...getComponentElements(\"dialog\")\n .map(el => mountDialog(el, { alert$ })),\n\n /* Color palette */\n ...getComponentElements(\"palette\")\n .map(el => mountPalette(el)),\n\n /* Progress bar */\n ...getComponentElements(\"progress\")\n .map(el => mountProgress(el, { progress$ })),\n\n /* Search */\n ...getComponentElements(\"search\")\n .map(el => mountSearch(el, { index$, keyboard$ })),\n\n /* Repository information */\n ...getComponentElements(\"source\")\n .map(el => mountSource(el))\n)\n\n/* Set up content component observables */\nconst content$ = defer(() => merge(\n\n /* Announcement bar */\n ...getComponentElements(\"announce\")\n .map(el => mountAnnounce(el)),\n\n /* Content */\n ...getComponentElements(\"content\")\n .map(el => mountContent(el, { sitemap$, viewport$, target$, print$ })),\n\n /* Search highlighting */\n ...getComponentElements(\"content\")\n .map(el => feature(\"search.highlight\")\n ? mountSearchHiglight(el, { index$, location$ })\n : EMPTY\n ),\n\n /* Header */\n ...getComponentElements(\"header\")\n .map(el => mountHeader(el, { viewport$, header$, main$ })),\n\n /* Header title */\n ...getComponentElements(\"header-title\")\n .map(el => mountHeaderTitle(el, { viewport$, header$ })),\n\n /* Sidebar */\n ...getComponentElements(\"sidebar\")\n .map(el => el.getAttribute(\"data-md-type\") === \"navigation\"\n ? at(screen$, () => mountSidebar(el, { viewport$, header$, main$ }))\n : at(tablet$, () => mountSidebar(el, { viewport$, header$, main$ }))\n ),\n\n /* Navigation tabs */\n ...getComponentElements(\"tabs\")\n .map(el => mountTabs(el, { viewport$, header$ })),\n\n /* Table of contents */\n ...getComponentElements(\"toc\")\n .map(el => mountTableOfContents(el, {\n viewport$, header$, main$, target$\n })),\n\n /* Back-to-top button */\n ...getComponentElements(\"top\")\n .map(el => mountBackToTop(el, { viewport$, header$, main$, target$ }))\n))\n\n/* Set up component observables */\nconst component$ = document$\n .pipe(\n switchMap(() => content$),\n mergeWith(control$),\n shareReplay(1)\n )\n\n/* Subscribe to all components */\ncomponent$.subscribe()\n\n/* ----------------------------------------------------------------------------\n * Exports\n * ------------------------------------------------------------------------- */\n\nwindow.document$ = document$ /* Document observable */\nwindow.location$ = location$ /* Location subject */\nwindow.target$ = target$ /* Location target observable */\nwindow.keyboard$ = keyboard$ /* Keyboard observable */\nwindow.viewport$ = viewport$ /* Viewport observable */\nwindow.tablet$ = tablet$ /* Media tablet observable */\nwindow.screen$ = screen$ /* Media screen observable */\nwindow.print$ = print$ /* Media print observable */\nwindow.alert$ = alert$ /* Alert subject */\nwindow.progress$ = progress$ /* Progress indicator subject */\nwindow.component$ = component$ /* Component observable */\n", "/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n", "/**\n * Returns true if the object is a function.\n * @param value The value to check\n */\nexport function isFunction(value: any): value is (...args: any[]) => any {\n return typeof value === 'function';\n}\n", "/**\n * Used to create Error subclasses until the community moves away from ES5.\n *\n * This is because compiling from TypeScript down to ES5 has issues with subclassing Errors\n * as well as other built-in types: https://github.com/Microsoft/TypeScript/issues/12123\n *\n * @param createImpl A factory function to create the actual constructor implementation. The returned\n * function should be a named function that calls `_super` internally.\n */\nexport function createErrorClass(createImpl: (_super: any) => any): T {\n const _super = (instance: any) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n", "import { createErrorClass } from './createErrorClass';\n\nexport interface UnsubscriptionError extends Error {\n readonly errors: any[];\n}\n\nexport interface UnsubscriptionErrorCtor {\n /**\n * @deprecated Internal implementation detail. Do not construct error instances.\n * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269\n */\n new (errors: any[]): UnsubscriptionError;\n}\n\n/**\n * An error thrown when one or more errors have occurred during the\n * `unsubscribe` of a {@link Subscription}.\n */\nexport const UnsubscriptionError: UnsubscriptionErrorCtor = createErrorClass(\n (_super) =>\n function UnsubscriptionErrorImpl(this: any, errors: (Error | string)[]) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n }\n);\n", "/**\n * Removes an item from an array, mutating it.\n * @param arr The array to remove the item from\n * @param item The item to remove\n */\nexport function arrRemove(arr: T[] | undefined | null, item: T) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n", "import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { SubscriptionLike, TeardownLogic, Unsubscribable } from './types';\nimport { arrRemove } from './util/arrRemove';\n\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n */\nexport class Subscription implements SubscriptionLike {\n public static EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n */\n public closed = false;\n\n private _parentage: Subscription[] | Subscription | null = null;\n\n /**\n * The list of registered finalizers to execute upon unsubscription. Adding and removing from this\n * list occurs in the {@link #add} and {@link #remove} methods.\n */\n private _finalizers: Exclude[] | null = null;\n\n /**\n * @param initialTeardown A function executed first as part of the finalization\n * process that is kicked off when {@link #unsubscribe} is called.\n */\n constructor(private initialTeardown?: () => void) {}\n\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n */\n unsubscribe(): void {\n let errors: any[] | undefined;\n\n if (!this.closed) {\n this.closed = true;\n\n // Remove this from it's parents.\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n } else {\n _parentage.remove(this);\n }\n }\n\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n } catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n } catch (err) {\n errors = errors ?? [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n } else {\n errors.push(err);\n }\n }\n }\n }\n\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n\n /**\n * Adds a finalizer to this subscription, so that finalization will be unsubscribed/called\n * when this subscription is unsubscribed. If this subscription is already {@link #closed},\n * because it has already been unsubscribed, then whatever finalizer is passed to it\n * will automatically be executed (unless the finalizer itself is also a closed subscription).\n *\n * Closed Subscriptions cannot be added as finalizers to any subscription. Adding a closed\n * subscription to a any subscription will result in no operation. (A noop).\n *\n * Adding a subscription to itself, or adding `null` or `undefined` will not perform any\n * operation at all. (A noop).\n *\n * `Subscription` instances that are added to this instance will automatically remove themselves\n * if they are unsubscribed. Functions and {@link Unsubscribable} objects that you wish to remove\n * will need to be removed manually with {@link #remove}\n *\n * @param teardown The finalization logic to add to this subscription.\n */\n add(teardown: TeardownLogic): void {\n // Only add the finalizer if it's not undefined\n // and don't add a subscription to itself.\n if (teardown && teardown !== this) {\n if (this.closed) {\n // If this subscription is already closed,\n // execute whatever finalizer is handed to it automatically.\n execFinalizer(teardown);\n } else {\n if (teardown instanceof Subscription) {\n // We don't add closed subscriptions, and we don't add the same subscription\n // twice. Subscription unsubscribe is idempotent.\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = this._finalizers ?? []).push(teardown);\n }\n }\n }\n\n /**\n * Checks to see if a this subscription already has a particular parent.\n * This will signal that this subscription has already been added to the parent in question.\n * @param parent the parent to check for\n */\n private _hasParent(parent: Subscription) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n\n /**\n * Adds a parent to this subscription so it can be removed from the parent if it\n * unsubscribes on it's own.\n *\n * NOTE: THIS ASSUMES THAT {@link _hasParent} HAS ALREADY BEEN CHECKED.\n * @param parent The parent subscription to add\n */\n private _addParent(parent: Subscription) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n\n /**\n * Called on a child when it is removed via {@link #remove}.\n * @param parent The parent to remove\n */\n private _removeParent(parent: Subscription) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n } else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n\n /**\n * Removes a finalizer from this subscription that was previously added with the {@link #add} method.\n *\n * Note that `Subscription` instances, when unsubscribed, will automatically remove themselves\n * from every other `Subscription` they have been added to. This means that using the `remove` method\n * is not a common thing and should be used thoughtfully.\n *\n * If you add the same finalizer instance of a function or an unsubscribable object to a `Subscription` instance\n * more than once, you will need to call `remove` the same number of times to remove all instances.\n *\n * All finalizer instances are removed to free up memory upon unsubscription.\n *\n * @param teardown The finalizer to remove from this subscription\n */\n remove(teardown: Exclude): void {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\n\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\n\nexport function isSubscription(value: any): value is Subscription {\n return (\n value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe))\n );\n}\n\nfunction execFinalizer(finalizer: Unsubscribable | (() => void)) {\n if (isFunction(finalizer)) {\n finalizer();\n } else {\n finalizer.unsubscribe();\n }\n}\n", "import { Subscriber } from './Subscriber';\nimport { ObservableNotification } from './types';\n\n/**\n * The {@link GlobalConfig} object for RxJS. It is used to configure things\n * like how to react on unhandled errors.\n */\nexport const config: GlobalConfig = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n\n/**\n * The global configuration object for RxJS, used to configure things\n * like how to react on unhandled errors. Accessible via {@link config}\n * object.\n */\nexport interface GlobalConfig {\n /**\n * A registration point for unhandled errors from RxJS. These are errors that\n * cannot were not handled by consuming code in the usual subscription path. For\n * example, if you have this configured, and you subscribe to an observable without\n * providing an error handler, errors from that subscription will end up here. This\n * will _always_ be called asynchronously on another job in the runtime. This is because\n * we do not want errors thrown in this user-configured handler to interfere with the\n * behavior of the library.\n */\n onUnhandledError: ((err: any) => void) | null;\n\n /**\n * A registration point for notifications that cannot be sent to subscribers because they\n * have completed, errored or have been explicitly unsubscribed. By default, next, complete\n * and error notifications sent to stopped subscribers are noops. However, sometimes callers\n * might want a different behavior. For example, with sources that attempt to report errors\n * to stopped subscribers, a caller can configure RxJS to throw an unhandled error instead.\n * This will _always_ be called asynchronously on another job in the runtime. This is because\n * we do not want errors thrown in this user-configured handler to interfere with the\n * behavior of the library.\n */\n onStoppedNotification: ((notification: ObservableNotification, subscriber: Subscriber) => void) | null;\n\n /**\n * The promise constructor used by default for {@link Observable#toPromise toPromise} and {@link Observable#forEach forEach}\n * methods.\n *\n * @deprecated As of version 8, RxJS will no longer support this sort of injection of a\n * Promise constructor. If you need a Promise implementation other than native promises,\n * please polyfill/patch Promise as you see appropriate. Will be removed in v8.\n */\n Promise?: PromiseConstructorLike;\n\n /**\n * If true, turns on synchronous error rethrowing, which is a deprecated behavior\n * in v6 and higher. This behavior enables bad patterns like wrapping a subscribe\n * call in a try/catch block. It also enables producer interference, a nasty bug\n * where a multicast can be broken for all observers by a downstream consumer with\n * an unhandled error. DO NOT USE THIS FLAG UNLESS IT'S NEEDED TO BUY TIME\n * FOR MIGRATION REASONS.\n *\n * @deprecated As of version 8, RxJS will no longer support synchronous throwing\n * of unhandled errors. All errors will be thrown on a separate call stack to prevent bad\n * behaviors described above. Will be removed in v8.\n */\n useDeprecatedSynchronousErrorHandling: boolean;\n\n /**\n * If true, enables an as-of-yet undocumented feature from v5: The ability to access\n * `unsubscribe()` via `this` context in `next` functions created in observers passed\n * to `subscribe`.\n *\n * This is being removed because the performance was severely problematic, and it could also cause\n * issues when types other than POJOs are passed to subscribe as subscribers, as they will likely have\n * their `this` context overwritten.\n *\n * @deprecated As of version 8, RxJS will no longer support altering the\n * context of next functions provided as part of an observer to Subscribe. Instead,\n * you will have access to a subscription or a signal or token that will allow you to do things like\n * unsubscribe and test closed status. Will be removed in v8.\n */\n useDeprecatedNextContext: boolean;\n}\n", "import type { TimerHandle } from './timerHandle';\ntype SetTimeoutFunction = (handler: () => void, timeout?: number, ...args: any[]) => TimerHandle;\ntype ClearTimeoutFunction = (handle: TimerHandle) => void;\n\ninterface TimeoutProvider {\n setTimeout: SetTimeoutFunction;\n clearTimeout: ClearTimeoutFunction;\n delegate:\n | {\n setTimeout: SetTimeoutFunction;\n clearTimeout: ClearTimeoutFunction;\n }\n | undefined;\n}\n\nexport const timeoutProvider: TimeoutProvider = {\n // When accessing the delegate, use the variable rather than `this` so that\n // the functions can be called without being bound to the provider.\n setTimeout(handler: () => void, timeout?: number, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate?.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return (delegate?.clearTimeout || clearTimeout)(handle as any);\n },\n delegate: undefined,\n};\n", "import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\n\n/**\n * Handles an error on another job either with the user-configured {@link onUnhandledError},\n * or by throwing it on that new job so it can be picked up by `window.onerror`, `process.on('error')`, etc.\n *\n * This should be called whenever there is an error that is out-of-band with the subscription\n * or when an error hits a terminal boundary of the subscription and no error handler was provided.\n *\n * @param err the error to report\n */\nexport function reportUnhandledError(err: any) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n // Execute the user-configured error handler.\n onUnhandledError(err);\n } else {\n // Throw so it is picked up by the runtime's uncaught error mechanism.\n throw err;\n }\n });\n}\n", "/* tslint:disable:no-empty */\nexport function noop() { }\n", "import { CompleteNotification, NextNotification, ErrorNotification } from './types';\n\n/**\n * A completion object optimized for memory use and created to be the\n * same \"shape\" as other notifications in v8.\n * @internal\n */\nexport const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined) as CompleteNotification)();\n\n/**\n * Internal use only. Creates an optimized error notification that is the same \"shape\"\n * as other notifications.\n * @internal\n */\nexport function errorNotification(error: any): ErrorNotification {\n return createNotification('E', undefined, error) as any;\n}\n\n/**\n * Internal use only. Creates an optimized next notification that is the same \"shape\"\n * as other notifications.\n * @internal\n */\nexport function nextNotification(value: T) {\n return createNotification('N', value, undefined) as NextNotification;\n}\n\n/**\n * Ensures that all notifications created internally have the same \"shape\" in v8.\n *\n * TODO: This is only exported to support a crazy legacy test in `groupBy`.\n * @internal\n */\nexport function createNotification(kind: 'N' | 'E' | 'C', value: any, error: any) {\n return {\n kind,\n value,\n error,\n };\n}\n", "import { config } from '../config';\n\nlet context: { errorThrown: boolean; error: any } | null = null;\n\n/**\n * Handles dealing with errors for super-gross mode. Creates a context, in which\n * any synchronously thrown errors will be passed to {@link captureError}. Which\n * will record the error such that it will be rethrown after the call back is complete.\n * TODO: Remove in v8\n * @param cb An immediately executed function.\n */\nexport function errorContext(cb: () => void) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context!;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n } else {\n // This is the general non-deprecated path for everyone that\n // isn't crazy enough to use super-gross mode (useDeprecatedSynchronousErrorHandling)\n cb();\n }\n}\n\n/**\n * Captures errors only in super-gross mode.\n * @param err the error to capture\n */\nexport function captureError(err: any) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n", "import { isFunction } from './util/isFunction';\nimport { Observer, ObservableNotification } from './types';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\n\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n */\nexport class Subscriber extends Subscription implements Observer {\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param next The `next` callback of an Observer.\n * @param error The `error` callback of an\n * Observer.\n * @param complete The `complete` callback of an\n * Observer.\n * @return A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n * @deprecated Do not use. Will be removed in v8. There is no replacement for this\n * method, and there is no reason to be creating instances of `Subscriber` directly.\n * If you have a specific use case, please file an issue.\n */\n static create(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber {\n return new SafeSubscriber(next, error, complete);\n }\n\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n protected isStopped: boolean = false;\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n protected destination: Subscriber | Observer; // this `any` is the escape hatch to erase extra type param (e.g. R)\n\n /**\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n * There is no reason to directly create an instance of Subscriber. This type is exported for typings reasons.\n */\n constructor(destination?: Subscriber | Observer) {\n super();\n if (destination) {\n this.destination = destination;\n // Automatically chain subscriptions together here.\n // if destination is a Subscription, then it is a Subscriber.\n if (isSubscription(destination)) {\n destination.add(this);\n }\n } else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param value The `next` value.\n */\n next(value: T): void {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n } else {\n this._next(value!);\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached `Error`. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param err The `error` exception.\n */\n error(err?: any): void {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n } else {\n this.isStopped = true;\n this._error(err);\n }\n }\n\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n */\n complete(): void {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n } else {\n this.isStopped = true;\n this._complete();\n }\n }\n\n unsubscribe(): void {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null!;\n }\n }\n\n protected _next(value: T): void {\n this.destination.next(value);\n }\n\n protected _error(err: any): void {\n try {\n this.destination.error(err);\n } finally {\n this.unsubscribe();\n }\n }\n\n protected _complete(): void {\n try {\n this.destination.complete();\n } finally {\n this.unsubscribe();\n }\n }\n}\n\n/**\n * This bind is captured here because we want to be able to have\n * compatibility with monoid libraries that tend to use a method named\n * `bind`. In particular, a library called Monio requires this.\n */\nconst _bind = Function.prototype.bind;\n\nfunction bind any>(fn: Fn, thisArg: any): Fn {\n return _bind.call(fn, thisArg);\n}\n\n/**\n * Internal optimization only, DO NOT EXPOSE.\n * @internal\n */\nclass ConsumerObserver implements Observer {\n constructor(private partialObserver: Partial>) {}\n\n next(value: T): void {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n } catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n\n error(err: any): void {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n } catch (error) {\n handleUnhandledError(error);\n }\n } else {\n handleUnhandledError(err);\n }\n }\n\n complete(): void {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n } catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\n\nexport class SafeSubscriber extends Subscriber {\n constructor(\n observerOrNext?: Partial> | ((value: T) => void) | null,\n error?: ((e?: any) => void) | null,\n complete?: (() => void) | null\n ) {\n super();\n\n let partialObserver: Partial>;\n if (isFunction(observerOrNext) || !observerOrNext) {\n // The first argument is a function, not an observer. The next\n // two arguments *could* be observers, or they could be empty.\n partialObserver = {\n next: (observerOrNext ?? undefined) as ((value: T) => void) | undefined,\n error: error ?? undefined,\n complete: complete ?? undefined,\n };\n } else {\n // The first argument is a partial observer.\n let context: any;\n if (this && config.useDeprecatedNextContext) {\n // This is a deprecated path that made `this.unsubscribe()` available in\n // next handler functions passed to subscribe. This only exists behind a flag\n // now, as it is *very* slow.\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n } else {\n // The \"normal\" path. Just use the partial observer directly.\n partialObserver = observerOrNext;\n }\n }\n\n // Wrap the partial observer to ensure it's a full observer, and\n // make sure proper error handling is accounted for.\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\n\nfunction handleUnhandledError(error: any) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n } else {\n // Ideal path, we report this as an unhandled error,\n // which is thrown on a new call stack.\n reportUnhandledError(error);\n }\n}\n\n/**\n * An error handler used when no error handler was supplied\n * to the SafeSubscriber -- meaning no error handler was supplied\n * do the `subscribe` call on our observable.\n * @param err The error to handle\n */\nfunction defaultErrorHandler(err: any) {\n throw err;\n}\n\n/**\n * A handler for notifications that cannot be sent to a stopped subscriber.\n * @param notification The notification being sent.\n * @param subscriber The stopped subscriber.\n */\nfunction handleStoppedNotification(notification: ObservableNotification, subscriber: Subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\n\n/**\n * The observer used as a stub for subscriptions where the user did not\n * pass any arguments to `subscribe`. Comes with the default error handling\n * behavior.\n */\nexport const EMPTY_OBSERVER: Readonly> & { closed: true } = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n", "/**\n * Symbol.observable or a string \"@@observable\". Used for interop\n *\n * @deprecated We will no longer be exporting this symbol in upcoming versions of RxJS.\n * Instead polyfill and use Symbol.observable directly *or* use https://www.npmjs.com/package/symbol-observable\n */\nexport const observable: string | symbol = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n", "/**\n * This function takes one parameter and just returns it. Simply put,\n * this is like `(x: T): T => x`.\n *\n * ## Examples\n *\n * This is useful in some cases when using things like `mergeMap`\n *\n * ```ts\n * import { interval, take, map, range, mergeMap, identity } from 'rxjs';\n *\n * const source$ = interval(1000).pipe(take(5));\n *\n * const result$ = source$.pipe(\n * map(i => range(i)),\n * mergeMap(identity) // same as mergeMap(x => x)\n * );\n *\n * result$.subscribe({\n * next: console.log\n * });\n * ```\n *\n * Or when you want to selectively apply an operator\n *\n * ```ts\n * import { interval, take, identity } from 'rxjs';\n *\n * const shouldLimit = () => Math.random() < 0.5;\n *\n * const source$ = interval(1000);\n *\n * const result$ = source$.pipe(shouldLimit() ? take(5) : identity);\n *\n * result$.subscribe({\n * next: console.log\n * });\n * ```\n *\n * @param x Any value that is returned by this function\n * @returns The value passed as the first parameter to this function\n */\nexport function identity(x: T): T {\n return x;\n}\n", "import { identity } from './identity';\nimport { UnaryFunction } from '../types';\n\nexport function pipe(): typeof identity;\nexport function pipe(fn1: UnaryFunction): UnaryFunction;\nexport function pipe(fn1: UnaryFunction, fn2: UnaryFunction): UnaryFunction;\nexport function pipe(fn1: UnaryFunction, fn2: UnaryFunction, fn3: UnaryFunction): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction,\n fn8: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction,\n fn8: UnaryFunction,\n fn9: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction,\n fn8: UnaryFunction,\n fn9: UnaryFunction,\n ...fns: UnaryFunction[]\n): UnaryFunction;\n\n/**\n * pipe() can be called on one or more functions, each of which can take one argument (\"UnaryFunction\")\n * and uses it to return a value.\n * It returns a function that takes one argument, passes it to the first UnaryFunction, and then\n * passes the result to the next one, passes that result to the next one, and so on. \n */\nexport function pipe(...fns: Array>): UnaryFunction {\n return pipeFromArray(fns);\n}\n\n/** @internal */\nexport function pipeFromArray(fns: Array>): UnaryFunction {\n if (fns.length === 0) {\n return identity as UnaryFunction;\n }\n\n if (fns.length === 1) {\n return fns[0];\n }\n\n return function piped(input: T): R {\n return fns.reduce((prev: any, fn: UnaryFunction) => fn(prev), input as any);\n };\n}\n", "import { Operator } from './Operator';\nimport { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription, Subscription } from './Subscription';\nimport { TeardownLogic, OperatorFunction, Subscribable, Observer } from './types';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\n\n/**\n * A representation of any set of values over any amount of time. This is the most basic building block\n * of RxJS.\n */\nexport class Observable implements Subscribable {\n /**\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n */\n source: Observable | undefined;\n\n /**\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n */\n operator: Operator | undefined;\n\n /**\n * @param subscribe The function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n constructor(subscribe?: (this: Observable, subscriber: Subscriber) => TeardownLogic) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new Observable by calling the Observable constructor\n * @param subscribe the subscriber function to be passed to the Observable constructor\n * @return A new observable.\n * @deprecated Use `new Observable()` instead. Will be removed in v8.\n */\n static create: (...args: any[]) => any = (subscribe?: (subscriber: Subscriber) => TeardownLogic) => {\n return new Observable(subscribe);\n };\n\n /**\n * Creates a new Observable, with this Observable instance as the source, and the passed\n * operator defined as the new observable's operator.\n * @param operator the operator defining the operation to take on the observable\n * @return A new observable with the Operator applied.\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n * If you have implemented an operator using `lift`, it is recommended that you create an\n * operator by simply returning `new Observable()` directly. See \"Creating new operators from\n * scratch\" section here: https://rxjs.dev/guide/operators\n */\n lift(operator?: Operator): Observable {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n\n subscribe(observerOrNext?: Partial> | ((value: T) => void)): Subscription;\n /** @deprecated Instead of passing separate callback arguments, use an observer argument. Signatures taking separate callback arguments will be removed in v8. Details: https://rxjs.dev/deprecations/subscribe-arguments */\n subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription;\n /**\n * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit.\n *\n * Use it when you have all these Observables, but still nothing is happening.\n *\n * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It\n * might be for example a function that you passed to Observable's constructor, but most of the time it is\n * a library implementation, which defines what will be emitted by an Observable, and when it be will emitted. This means\n * that calling `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often\n * the thought.\n *\n * Apart from starting the execution of an Observable, this method allows you to listen for values\n * that an Observable emits, as well as for when it completes or errors. You can achieve this in two\n * of the following ways.\n *\n * The first way is creating an object that implements {@link Observer} interface. It should have methods\n * defined by that interface, but note that it should be just a regular JavaScript object, which you can create\n * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular, do\n * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also\n * that your object does not have to implement all methods. If you find yourself creating a method that doesn't\n * do anything, you can simply omit it. Note however, if the `error` method is not provided and an error happens,\n * it will be thrown asynchronously. Errors thrown asynchronously cannot be caught using `try`/`catch`. Instead,\n * use the {@link onUnhandledError} configuration option or use a runtime handler (like `window.onerror` or\n * `process.on('error)`) to be notified of unhandled errors. Because of this, it's recommended that you provide\n * an `error` method to avoid missing thrown errors.\n *\n * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods.\n * This means you can provide three functions as arguments to `subscribe`, where the first function is equivalent\n * of a `next` method, the second of an `error` method and the third of a `complete` method. Just as in case of an Observer,\n * if you do not need to listen for something, you can omit a function by passing `undefined` or `null`,\n * since `subscribe` recognizes these functions by where they were placed in function call. When it comes\n * to the `error` function, as with an Observer, if not provided, errors emitted by an Observable will be thrown asynchronously.\n *\n * You can, however, subscribe with no parameters at all. This may be the case where you're not interested in terminal events\n * and you also handled emissions internally by using operators (e.g. using `tap`).\n *\n * Whichever style of calling `subscribe` you use, in both cases it returns a Subscription object.\n * This object allows you to call `unsubscribe` on it, which in turn will stop the work that an Observable does and will clean\n * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback\n * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable.\n *\n * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously.\n * It is an Observable itself that decides when these functions will be called. For example {@link of}\n * by default emits all its values synchronously. Always check documentation for how given Observable\n * will behave when subscribed and if its default behavior can be modified with a `scheduler`.\n *\n * #### Examples\n *\n * Subscribe with an {@link guide/observer Observer}\n *\n * ```ts\n * import { of } from 'rxjs';\n *\n * const sumObserver = {\n * sum: 0,\n * next(value) {\n * console.log('Adding: ' + value);\n * this.sum = this.sum + value;\n * },\n * error() {\n * // We actually could just remove this method,\n * // since we do not really care about errors right now.\n * },\n * complete() {\n * console.log('Sum equals: ' + this.sum);\n * }\n * };\n *\n * of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes.\n * .subscribe(sumObserver);\n *\n * // Logs:\n * // 'Adding: 1'\n * // 'Adding: 2'\n * // 'Adding: 3'\n * // 'Sum equals: 6'\n * ```\n *\n * Subscribe with functions ({@link deprecations/subscribe-arguments deprecated})\n *\n * ```ts\n * import { of } from 'rxjs'\n *\n * let sum = 0;\n *\n * of(1, 2, 3).subscribe(\n * value => {\n * console.log('Adding: ' + value);\n * sum = sum + value;\n * },\n * undefined,\n * () => console.log('Sum equals: ' + sum)\n * );\n *\n * // Logs:\n * // 'Adding: 1'\n * // 'Adding: 2'\n * // 'Adding: 3'\n * // 'Sum equals: 6'\n * ```\n *\n * Cancel a subscription\n *\n * ```ts\n * import { interval } from 'rxjs';\n *\n * const subscription = interval(1000).subscribe({\n * next(num) {\n * console.log(num)\n * },\n * complete() {\n * // Will not be called, even when cancelling subscription.\n * console.log('completed!');\n * }\n * });\n *\n * setTimeout(() => {\n * subscription.unsubscribe();\n * console.log('unsubscribed!');\n * }, 2500);\n *\n * // Logs:\n * // 0 after 1s\n * // 1 after 2s\n * // 'unsubscribed!' after 2.5s\n * ```\n *\n * @param observerOrNext Either an {@link Observer} with some or all callback methods,\n * or the `next` handler that is called for each value emitted from the subscribed Observable.\n * @param error A handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown asynchronously as unhandled.\n * @param complete A handler for a terminal event resulting from successful completion.\n * @return A subscription reference to the registered handlers.\n */\n subscribe(\n observerOrNext?: Partial> | ((value: T) => void) | null,\n error?: ((error: any) => void) | null,\n complete?: (() => void) | null\n ): Subscription {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(\n operator\n ? // We're dealing with a subscription in the\n // operator chain to one of our lifted operators.\n operator.call(subscriber, source)\n : source\n ? // If `source` has a value, but `operator` does not, something that\n // had intimate knowledge of our API, like our `Subject`, must have\n // set it. We're going to just call `_subscribe` directly.\n this._subscribe(subscriber)\n : // In all other cases, we're likely wrapping a user-provided initializer\n // function, so we need to catch errors and handle them appropriately.\n this._trySubscribe(subscriber)\n );\n });\n\n return subscriber;\n }\n\n /** @internal */\n protected _trySubscribe(sink: Subscriber): TeardownLogic {\n try {\n return this._subscribe(sink);\n } catch (err) {\n // We don't need to return anything in this case,\n // because it's just going to try to `add()` to a subscription\n // above.\n sink.error(err);\n }\n }\n\n /**\n * Used as a NON-CANCELLABLE means of subscribing to an observable, for use with\n * APIs that expect promises, like `async/await`. You cannot unsubscribe from this.\n *\n * **WARNING**: Only use this with observables you *know* will complete. If the source\n * observable does not complete, you will end up with a promise that is hung up, and\n * potentially all of the state of an async function hanging out in memory. To avoid\n * this situation, look into adding something like {@link timeout}, {@link take},\n * {@link takeWhile}, or {@link takeUntil} amongst others.\n *\n * #### Example\n *\n * ```ts\n * import { interval, take } from 'rxjs';\n *\n * const source$ = interval(1000).pipe(take(4));\n *\n * async function getTotal() {\n * let total = 0;\n *\n * await source$.forEach(value => {\n * total += value;\n * console.log('observable -> ' + value);\n * });\n *\n * return total;\n * }\n *\n * getTotal().then(\n * total => console.log('Total: ' + total)\n * );\n *\n * // Expected:\n * // 'observable -> 0'\n * // 'observable -> 1'\n * // 'observable -> 2'\n * // 'observable -> 3'\n * // 'Total: 6'\n * ```\n *\n * @param next A handler for each value emitted by the observable.\n * @return A promise that either resolves on observable completion or\n * rejects with the handled error.\n */\n forEach(next: (value: T) => void): Promise;\n\n /**\n * @param next a handler for each value emitted by the observable\n * @param promiseCtor a constructor function used to instantiate the Promise\n * @return a promise that either resolves on observable completion or\n * rejects with the handled error\n * @deprecated Passing a Promise constructor will no longer be available\n * in upcoming versions of RxJS. This is because it adds weight to the library, for very\n * little benefit. If you need this functionality, it is recommended that you either\n * polyfill Promise, or you create an adapter to convert the returned native promise\n * to whatever promise implementation you wanted. Will be removed in v8.\n */\n forEach(next: (value: T) => void, promiseCtor: PromiseConstructorLike): Promise;\n\n forEach(next: (value: T) => void, promiseCtor?: PromiseConstructorLike): Promise {\n promiseCtor = getPromiseCtor(promiseCtor);\n\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n }) as Promise;\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): TeardownLogic {\n return this.source?.subscribe(subscriber);\n }\n\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @return This instance of the observable.\n */\n [Symbol_observable]() {\n return this;\n }\n\n /* tslint:disable:max-line-length */\n pipe(): Observable;\n pipe(op1: OperatorFunction): Observable;\n pipe(op1: OperatorFunction, op2: OperatorFunction): Observable;\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction,\n op8: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction,\n op8: OperatorFunction,\n op9: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction,\n op8: OperatorFunction,\n op9: OperatorFunction,\n ...operations: OperatorFunction[]\n ): Observable;\n /* tslint:enable:max-line-length */\n\n /**\n * Used to stitch together functional operators into a chain.\n *\n * ## Example\n *\n * ```ts\n * import { interval, filter, map, scan } from 'rxjs';\n *\n * interval(1000)\n * .pipe(\n * filter(x => x % 2 === 0),\n * map(x => x + x),\n * scan((acc, x) => acc + x)\n * )\n * .subscribe(x => console.log(x));\n * ```\n *\n * @return The Observable result of all the operators having been called\n * in the order they were passed in.\n */\n pipe(...operations: OperatorFunction[]): Observable {\n return pipeFromArray(operations)(this);\n }\n\n /* tslint:disable:max-line-length */\n /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */\n toPromise(): Promise;\n /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */\n toPromise(PromiseCtor: typeof Promise): Promise;\n /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */\n toPromise(PromiseCtor: PromiseConstructorLike): Promise;\n /* tslint:enable:max-line-length */\n\n /**\n * Subscribe to this Observable and get a Promise resolving on\n * `complete` with the last emission (if any).\n *\n * **WARNING**: Only use this with observables you *know* will complete. If the source\n * observable does not complete, you will end up with a promise that is hung up, and\n * potentially all of the state of an async function hanging out in memory. To avoid\n * this situation, look into adding something like {@link timeout}, {@link take},\n * {@link takeWhile}, or {@link takeUntil} amongst others.\n *\n * @param [promiseCtor] a constructor function used to instantiate\n * the Promise\n * @return A Promise that resolves with the last value emit, or\n * rejects on an error. If there were no emissions, Promise\n * resolves with undefined.\n * @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise\n */\n toPromise(promiseCtor?: PromiseConstructorLike): Promise {\n promiseCtor = getPromiseCtor(promiseCtor);\n\n return new promiseCtor((resolve, reject) => {\n let value: T | undefined;\n this.subscribe(\n (x: T) => (value = x),\n (err: any) => reject(err),\n () => resolve(value)\n );\n }) as Promise;\n }\n}\n\n/**\n * Decides between a passed promise constructor from consuming code,\n * A default configured promise constructor, and the native promise\n * constructor and returns it. If nothing can be found, it will throw\n * an error.\n * @param promiseCtor The optional promise constructor to passed by consuming code\n */\nfunction getPromiseCtor(promiseCtor: PromiseConstructorLike | undefined) {\n return promiseCtor ?? config.Promise ?? Promise;\n}\n\nfunction isObserver(value: any): value is Observer {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\n\nfunction isSubscriber(value: any): value is Subscriber {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n", "import { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { OperatorFunction } from '../types';\nimport { isFunction } from './isFunction';\n\n/**\n * Used to determine if an object is an Observable with a lift function.\n */\nexport function hasLift(source: any): source is { lift: InstanceType['lift'] } {\n return isFunction(source?.lift);\n}\n\n/**\n * Creates an `OperatorFunction`. Used to define operators throughout the library in a concise way.\n * @param init The logic to connect the liftedSource to the subscriber at the moment of subscription.\n */\nexport function operate(\n init: (liftedSource: Observable, subscriber: Subscriber) => (() => void) | void\n): OperatorFunction {\n return (source: Observable) => {\n if (hasLift(source)) {\n return source.lift(function (this: Subscriber, liftedSource: Observable) {\n try {\n return init(liftedSource, this);\n } catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n", "import { Subscriber } from '../Subscriber';\n\n/**\n * Creates an instance of an `OperatorSubscriber`.\n * @param destination The downstream subscriber.\n * @param onNext Handles next values, only called if this subscriber is not stopped or closed. Any\n * error that occurs in this function is caught and sent to the `error` method of this subscriber.\n * @param onError Handles errors from the subscription, any errors that occur in this handler are caught\n * and send to the `destination` error handler.\n * @param onComplete Handles completion notification from the subscription. Any errors that occur in\n * this handler are sent to the `destination` error handler.\n * @param onFinalize Additional teardown logic here. This will only be called on teardown if the\n * subscriber itself is not already closed. This is called after all other teardown logic is executed.\n */\nexport function createOperatorSubscriber(\n destination: Subscriber,\n onNext?: (value: T) => void,\n onComplete?: () => void,\n onError?: (err: any) => void,\n onFinalize?: () => void\n): Subscriber {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\n\n/**\n * A generic helper for allowing operators to be created with a Subscriber and\n * use closures to capture necessary state from the operator function itself.\n */\nexport class OperatorSubscriber extends Subscriber {\n /**\n * Creates an instance of an `OperatorSubscriber`.\n * @param destination The downstream subscriber.\n * @param onNext Handles next values, only called if this subscriber is not stopped or closed. Any\n * error that occurs in this function is caught and sent to the `error` method of this subscriber.\n * @param onError Handles errors from the subscription, any errors that occur in this handler are caught\n * and send to the `destination` error handler.\n * @param onComplete Handles completion notification from the subscription. Any errors that occur in\n * this handler are sent to the `destination` error handler.\n * @param onFinalize Additional finalization logic here. This will only be called on finalization if the\n * subscriber itself is not already closed. This is called after all other finalization logic is executed.\n * @param shouldUnsubscribe An optional check to see if an unsubscribe call should truly unsubscribe.\n * NOTE: This currently **ONLY** exists to support the strange behavior of {@link groupBy}, where unsubscription\n * to the resulting observable does not actually disconnect from the source if there are active subscriptions\n * to any grouped observable. (DO NOT EXPOSE OR USE EXTERNALLY!!!)\n */\n constructor(\n destination: Subscriber,\n onNext?: (value: T) => void,\n onComplete?: () => void,\n onError?: (err: any) => void,\n private onFinalize?: () => void,\n private shouldUnsubscribe?: () => boolean\n ) {\n // It's important - for performance reasons - that all of this class's\n // members are initialized and that they are always initialized in the same\n // order. This will ensure that all OperatorSubscriber instances have the\n // same hidden class in V8. This, in turn, will help keep the number of\n // hidden classes involved in property accesses within the base class as\n // low as possible. If the number of hidden classes involved exceeds four,\n // the property accesses will become megamorphic and performance penalties\n // will be incurred - i.e. inline caches won't be used.\n //\n // The reasons for ensuring all instances have the same hidden class are\n // further discussed in this blog post from Benedikt Meurer:\n // https://benediktmeurer.de/2018/03/23/impact-of-polymorphism-on-component-based-frameworks-like-react/\n super(destination);\n this._next = onNext\n ? function (this: OperatorSubscriber, value: T) {\n try {\n onNext(value);\n } catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (this: OperatorSubscriber, err: any) {\n try {\n onError(err);\n } catch (err) {\n // Send any errors that occur down stream.\n destination.error(err);\n } finally {\n // Ensure finalization.\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function (this: OperatorSubscriber) {\n try {\n onComplete();\n } catch (err) {\n // Send any errors that occur down stream.\n destination.error(err);\n } finally {\n // Ensure finalization.\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n\n unsubscribe() {\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n // Execute additional teardown if we have any and we didn't already do so.\n !closed && this.onFinalize?.();\n }\n }\n}\n", "import { Subscription } from '../Subscription';\n\ninterface AnimationFrameProvider {\n schedule(callback: FrameRequestCallback): Subscription;\n requestAnimationFrame: typeof requestAnimationFrame;\n cancelAnimationFrame: typeof cancelAnimationFrame;\n delegate:\n | {\n requestAnimationFrame: typeof requestAnimationFrame;\n cancelAnimationFrame: typeof cancelAnimationFrame;\n }\n | undefined;\n}\n\nexport const animationFrameProvider: AnimationFrameProvider = {\n // When accessing the delegate, use the variable rather than `this` so that\n // the functions can be called without being bound to the provider.\n schedule(callback) {\n let request = requestAnimationFrame;\n let cancel: typeof cancelAnimationFrame | undefined = cancelAnimationFrame;\n const { delegate } = animationFrameProvider;\n if (delegate) {\n request = delegate.requestAnimationFrame;\n cancel = delegate.cancelAnimationFrame;\n }\n const handle = request((timestamp) => {\n // Clear the cancel function. The request has been fulfilled, so\n // attempting to cancel the request upon unsubscription would be\n // pointless.\n cancel = undefined;\n callback(timestamp);\n });\n return new Subscription(() => cancel?.(handle));\n },\n requestAnimationFrame(...args) {\n const { delegate } = animationFrameProvider;\n return (delegate?.requestAnimationFrame || requestAnimationFrame)(...args);\n },\n cancelAnimationFrame(...args) {\n const { delegate } = animationFrameProvider;\n return (delegate?.cancelAnimationFrame || cancelAnimationFrame)(...args);\n },\n delegate: undefined,\n};\n", "import { createErrorClass } from './createErrorClass';\n\nexport interface ObjectUnsubscribedError extends Error {}\n\nexport interface ObjectUnsubscribedErrorCtor {\n /**\n * @deprecated Internal implementation detail. Do not construct error instances.\n * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269\n */\n new (): ObjectUnsubscribedError;\n}\n\n/**\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n */\nexport const ObjectUnsubscribedError: ObjectUnsubscribedErrorCtor = createErrorClass(\n (_super) =>\n function ObjectUnsubscribedErrorImpl(this: any) {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n }\n);\n", "import { Operator } from './Operator';\nimport { Observable } from './Observable';\nimport { Subscriber } from './Subscriber';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { Observer, SubscriptionLike, TeardownLogic } from './types';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\n\n/**\n * A Subject is a special type of Observable that allows values to be\n * multicasted to many Observers. Subjects are like EventEmitters.\n *\n * Every Subject is an Observable and an Observer. You can subscribe to a\n * Subject, and you can call next to feed values as well as error and complete.\n */\nexport class Subject extends Observable implements SubscriptionLike {\n closed = false;\n\n private currentObservers: Observer[] | null = null;\n\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n observers: Observer[] = [];\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n isStopped = false;\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n hasError = false;\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n thrownError: any = null;\n\n /**\n * Creates a \"subject\" by basically gluing an observer to an observable.\n *\n * @deprecated Recommended you do not use. Will be removed at some point in the future. Plans for replacement still under discussion.\n */\n static create: (...args: any[]) => any = (destination: Observer, source: Observable): AnonymousSubject => {\n return new AnonymousSubject(destination, source);\n };\n\n constructor() {\n // NOTE: This must be here to obscure Observable's constructor.\n super();\n }\n\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n lift(operator: Operator): Observable {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator as any;\n return subject as any;\n }\n\n /** @internal */\n protected _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n\n next(value: T) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n\n error(err: any) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift()!.error(err);\n }\n }\n });\n }\n\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift()!.complete();\n }\n }\n });\n }\n\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null!;\n }\n\n get observed() {\n return this.observers?.length > 0;\n }\n\n /** @internal */\n protected _trySubscribe(subscriber: Subscriber): TeardownLogic {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n\n /** @internal */\n protected _innerSubscribe(subscriber: Subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n\n /** @internal */\n protected _checkFinalizedStatuses(subscriber: Subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n } else if (isStopped) {\n subscriber.complete();\n }\n }\n\n /**\n * Creates a new Observable with this Subject as the source. You can do this\n * to create custom Observer-side logic of the Subject and conceal it from\n * code that uses the Observable.\n * @return Observable that this Subject casts to.\n */\n asObservable(): Observable {\n const observable: any = new Observable();\n observable.source = this;\n return observable;\n }\n}\n\nexport class AnonymousSubject extends Subject {\n constructor(\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n public destination?: Observer,\n source?: Observable\n ) {\n super();\n this.source = source;\n }\n\n next(value: T) {\n this.destination?.next?.(value);\n }\n\n error(err: any) {\n this.destination?.error?.(err);\n }\n\n complete() {\n this.destination?.complete?.();\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n return this.source?.subscribe(subscriber) ?? EMPTY_SUBSCRIPTION;\n }\n}\n", "import { Subject } from './Subject';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\n\n/**\n * A variant of Subject that requires an initial value and emits its current\n * value whenever it is subscribed to.\n */\nexport class BehaviorSubject extends Subject {\n constructor(private _value: T) {\n super();\n }\n\n get value(): T {\n return this.getValue();\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n\n getValue(): T {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n\n next(value: T): void {\n super.next((this._value = value));\n }\n}\n", "import { TimestampProvider } from '../types';\n\ninterface DateTimestampProvider extends TimestampProvider {\n delegate: TimestampProvider | undefined;\n}\n\nexport const dateTimestampProvider: DateTimestampProvider = {\n now() {\n // Use the variable rather than `this` so that the function can be called\n // without being bound to the provider.\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n", "import { Subject } from './Subject';\nimport { TimestampProvider } from './types';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\n\n/**\n * A variant of {@link Subject} that \"replays\" old values to new subscribers by emitting them when they first subscribe.\n *\n * `ReplaySubject` has an internal buffer that will store a specified number of values that it has observed. Like `Subject`,\n * `ReplaySubject` \"observes\" values by having them passed to its `next` method. When it observes a value, it will store that\n * value for a time determined by the configuration of the `ReplaySubject`, as passed to its constructor.\n *\n * When a new subscriber subscribes to the `ReplaySubject` instance, it will synchronously emit all values in its buffer in\n * a First-In-First-Out (FIFO) manner. The `ReplaySubject` will also complete, if it has observed completion; and it will\n * error if it has observed an error.\n *\n * There are two main configuration items to be concerned with:\n *\n * 1. `bufferSize` - This will determine how many items are stored in the buffer, defaults to infinite.\n * 2. `windowTime` - The amount of time to hold a value in the buffer before removing it from the buffer.\n *\n * Both configurations may exist simultaneously. So if you would like to buffer a maximum of 3 values, as long as the values\n * are less than 2 seconds old, you could do so with a `new ReplaySubject(3, 2000)`.\n *\n * ### Differences with BehaviorSubject\n *\n * `BehaviorSubject` is similar to `new ReplaySubject(1)`, with a couple of exceptions:\n *\n * 1. `BehaviorSubject` comes \"primed\" with a single value upon construction.\n * 2. `ReplaySubject` will replay values, even after observing an error, where `BehaviorSubject` will not.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n * @see {@link shareReplay}\n */\nexport class ReplaySubject extends Subject {\n private _buffer: (T | number)[] = [];\n private _infiniteTimeWindow = true;\n\n /**\n * @param _bufferSize The size of the buffer to replay on subscription\n * @param _windowTime The amount of time the buffered items will stay buffered\n * @param _timestampProvider An object with a `now()` method that provides the current timestamp. This is used to\n * calculate the amount of time something has been buffered.\n */\n constructor(\n private _bufferSize = Infinity,\n private _windowTime = Infinity,\n private _timestampProvider: TimestampProvider = dateTimestampProvider\n ) {\n super();\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n\n next(value: T): void {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n this._throwIfClosed();\n this._trimBuffer();\n\n const subscription = this._innerSubscribe(subscriber);\n\n const { _infiniteTimeWindow, _buffer } = this;\n // We use a copy here, so reentrant code does not mutate our array while we're\n // emitting it to a new subscriber.\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i] as T);\n }\n\n this._checkFinalizedStatuses(subscriber);\n\n return subscription;\n }\n\n private _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n // If we don't have an infinite buffer size, and we're over the length,\n // use splice to truncate the old buffer values off. Note that we have to\n // double the size for instances where we're not using an infinite time window\n // because we're storing the values and the timestamps in the same array.\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n\n // Now, if we're not in an infinite time window, remove all values where the time is\n // older than what is allowed.\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n // Search the array for the first timestamp that isn't expired and\n // truncate the buffer up to that point.\n for (let i = 1; i < _buffer.length && (_buffer[i] as number) <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n", "import { Scheduler } from '../Scheduler';\nimport { Subscription } from '../Subscription';\nimport { SchedulerAction } from '../types';\n\n/**\n * A unit of work to be executed in a `scheduler`. An action is typically\n * created from within a {@link SchedulerLike} and an RxJS user does not need to concern\n * themselves about creating and manipulating an Action.\n *\n * ```ts\n * class Action extends Subscription {\n * new (scheduler: Scheduler, work: (state?: T) => void);\n * schedule(state?: T, delay: number = 0): Subscription;\n * }\n * ```\n */\nexport class Action extends Subscription {\n constructor(scheduler: Scheduler, work: (this: SchedulerAction, state?: T) => void) {\n super();\n }\n /**\n * Schedules this action on its parent {@link SchedulerLike} for execution. May be passed\n * some context object, `state`. May happen at some point in the future,\n * according to the `delay` parameter, if specified.\n * @param state Some contextual data that the `work` function uses when called by the\n * Scheduler.\n * @param delay Time to wait before executing the work, where the time unit is implicit\n * and defined by the Scheduler.\n * @return A subscription in order to be able to unsubscribe the scheduled work.\n */\n public schedule(state?: T, delay: number = 0): Subscription {\n return this;\n }\n}\n", "import type { TimerHandle } from './timerHandle';\ntype SetIntervalFunction = (handler: () => void, timeout?: number, ...args: any[]) => TimerHandle;\ntype ClearIntervalFunction = (handle: TimerHandle) => void;\n\ninterface IntervalProvider {\n setInterval: SetIntervalFunction;\n clearInterval: ClearIntervalFunction;\n delegate:\n | {\n setInterval: SetIntervalFunction;\n clearInterval: ClearIntervalFunction;\n }\n | undefined;\n}\n\nexport const intervalProvider: IntervalProvider = {\n // When accessing the delegate, use the variable rather than `this` so that\n // the functions can be called without being bound to the provider.\n setInterval(handler: () => void, timeout?: number, ...args) {\n const { delegate } = intervalProvider;\n if (delegate?.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return (delegate?.clearInterval || clearInterval)(handle as any);\n },\n delegate: undefined,\n};\n", "import { Action } from './Action';\nimport { SchedulerAction } from '../types';\nimport { Subscription } from '../Subscription';\nimport { AsyncScheduler } from './AsyncScheduler';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nimport { TimerHandle } from './timerHandle';\n\nexport class AsyncAction extends Action {\n public id: TimerHandle | undefined;\n public state?: T;\n // @ts-ignore: Property has no initializer and is not definitely assigned\n public delay: number;\n protected pending: boolean = false;\n\n constructor(protected scheduler: AsyncScheduler, protected work: (this: SchedulerAction, state?: T) => void) {\n super(scheduler, work);\n }\n\n public schedule(state?: T, delay: number = 0): Subscription {\n if (this.closed) {\n return this;\n }\n\n // Always replace the current state with the new state.\n this.state = state;\n\n const id = this.id;\n const scheduler = this.scheduler;\n\n //\n // Important implementation note:\n //\n // Actions only execute once by default, unless rescheduled from within the\n // scheduled callback. This allows us to implement single and repeat\n // actions via the same code path, without adding API surface area, as well\n // as mimic traditional recursion but across asynchronous boundaries.\n //\n // However, JS runtimes and timers distinguish between intervals achieved by\n // serial `setTimeout` calls vs. a single `setInterval` call. An interval of\n // serial `setTimeout` calls can be individually delayed, which delays\n // scheduling the next `setTimeout`, and so on. `setInterval` attempts to\n // guarantee the interval callback will be invoked more precisely to the\n // interval period, regardless of load.\n //\n // Therefore, we use `setInterval` to schedule single and repeat actions.\n // If the action reschedules itself with the same delay, the interval is not\n // canceled. If the action doesn't reschedule, or reschedules with a\n // different delay, the interval will be canceled after scheduled callback\n // execution.\n //\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n\n // Set the pending flag indicating that this action has been scheduled, or\n // has recursively rescheduled itself.\n this.pending = true;\n\n this.delay = delay;\n // If this action has already an async Id, don't request a new one.\n this.id = this.id ?? this.requestAsyncId(scheduler, this.id, delay);\n\n return this;\n }\n\n protected requestAsyncId(scheduler: AsyncScheduler, _id?: TimerHandle, delay: number = 0): TimerHandle {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n\n protected recycleAsyncId(_scheduler: AsyncScheduler, id?: TimerHandle, delay: number | null = 0): TimerHandle | undefined {\n // If this action is rescheduled with the same delay time, don't clear the interval id.\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n // Otherwise, if the action's delay time is different from the current delay,\n // or the action has been rescheduled before it's executed, clear the interval id\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n\n return undefined;\n }\n\n /**\n * Immediately executes this action and the `work` it contains.\n */\n public execute(state: T, delay: number): any {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n } else if (this.pending === false && this.id != null) {\n // Dequeue if the action didn't reschedule itself. Don't call\n // unsubscribe(), because the action could reschedule later.\n // For example:\n // ```\n // scheduler.schedule(function doWork(counter) {\n // /* ... I'm a busy worker bee ... */\n // var originalAction = this;\n // /* wait 100ms before rescheduling the action */\n // setTimeout(function () {\n // originalAction.schedule(counter + 1);\n // }, 100);\n // }, 1000);\n // ```\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n\n protected _execute(state: T, _delay: number): any {\n let errored: boolean = false;\n let errorValue: any;\n try {\n this.work(state);\n } catch (e) {\n errored = true;\n // HACK: Since code elsewhere is relying on the \"truthiness\" of the\n // return here, we can't have it return \"\" or 0 or false.\n // TODO: Clean this up when we refactor schedulers mid-version-8 or so.\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n\n this.work = this.state = this.scheduler = null!;\n this.pending = false;\n\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n\n this.delay = null!;\n super.unsubscribe();\n }\n }\n}\n", "import { Action } from './scheduler/Action';\nimport { Subscription } from './Subscription';\nimport { SchedulerLike, SchedulerAction } from './types';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\n\n/**\n * An execution context and a data structure to order tasks and schedule their\n * execution. Provides a notion of (potentially virtual) time, through the\n * `now()` getter method.\n *\n * Each unit of work in a Scheduler is called an `Action`.\n *\n * ```ts\n * class Scheduler {\n * now(): number;\n * schedule(work, delay?, state?): Subscription;\n * }\n * ```\n *\n * @deprecated Scheduler is an internal implementation detail of RxJS, and\n * should not be used directly. Rather, create your own class and implement\n * {@link SchedulerLike}. Will be made internal in v8.\n */\nexport class Scheduler implements SchedulerLike {\n public static now: () => number = dateTimestampProvider.now;\n\n constructor(private schedulerActionCtor: typeof Action, now: () => number = Scheduler.now) {\n this.now = now;\n }\n\n /**\n * A getter method that returns a number representing the current time\n * (at the time this function was called) according to the scheduler's own\n * internal clock.\n * @return A number that represents the current time. May or may not\n * have a relation to wall-clock time. May or may not refer to a time unit\n * (e.g. milliseconds).\n */\n public now: () => number;\n\n /**\n * Schedules a function, `work`, for execution. May happen at some point in\n * the future, according to the `delay` parameter, if specified. May be passed\n * some context object, `state`, which will be passed to the `work` function.\n *\n * The given arguments will be processed an stored as an Action object in a\n * queue of actions.\n *\n * @param work A function representing a task, or some unit of work to be\n * executed by the Scheduler.\n * @param delay Time to wait before executing the work, where the time unit is\n * implicit and defined by the Scheduler itself.\n * @param state Some contextual data that the `work` function uses when called\n * by the Scheduler.\n * @return A subscription in order to be able to unsubscribe the scheduled work.\n */\n public schedule(work: (this: SchedulerAction, state?: T) => void, delay: number = 0, state?: T): Subscription {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\n", "import { Scheduler } from '../Scheduler';\nimport { Action } from './Action';\nimport { AsyncAction } from './AsyncAction';\nimport { TimerHandle } from './timerHandle';\n\nexport class AsyncScheduler extends Scheduler {\n public actions: Array> = [];\n /**\n * A flag to indicate whether the Scheduler is currently executing a batch of\n * queued actions.\n * @internal\n */\n public _active: boolean = false;\n /**\n * An internal ID used to track the latest asynchronous task such as those\n * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and\n * others.\n * @internal\n */\n public _scheduled: TimerHandle | undefined;\n\n constructor(SchedulerAction: typeof Action, now: () => number = Scheduler.now) {\n super(SchedulerAction, now);\n }\n\n public flush(action: AsyncAction): void {\n const { actions } = this;\n\n if (this._active) {\n actions.push(action);\n return;\n }\n\n let error: any;\n this._active = true;\n\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()!)); // exhaust the scheduler queue\n\n this._active = false;\n\n if (error) {\n while ((action = actions.shift()!)) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n", "import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\n\n/**\n *\n * Async Scheduler\n *\n * Schedule task as if you used setTimeout(task, duration)\n *\n * `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript\n * event loop queue. It is best used to delay tasks in time or to schedule tasks repeating\n * in intervals.\n *\n * If you just want to \"defer\" task, that is to perform it right after currently\n * executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`),\n * better choice will be the {@link asapScheduler} scheduler.\n *\n * ## Examples\n * Use async scheduler to delay task\n * ```ts\n * import { asyncScheduler } from 'rxjs';\n *\n * const task = () => console.log('it works!');\n *\n * asyncScheduler.schedule(task, 2000);\n *\n * // After 2 seconds logs:\n * // \"it works!\"\n * ```\n *\n * Use async scheduler to repeat task in intervals\n * ```ts\n * import { asyncScheduler } from 'rxjs';\n *\n * function task(state) {\n * console.log(state);\n * this.schedule(state + 1, 1000); // `this` references currently executing Action,\n * // which we reschedule with new state and delay\n * }\n *\n * asyncScheduler.schedule(task, 3000, 0);\n *\n * // Logs:\n * // 0 after 3s\n * // 1 after 4s\n * // 2 after 5s\n * // 3 after 6s\n * ```\n */\n\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\n\n/**\n * @deprecated Renamed to {@link asyncScheduler}. Will be removed in v8.\n */\nexport const async = asyncScheduler;\n", "import { AsyncAction } from './AsyncAction';\nimport { Subscription } from '../Subscription';\nimport { QueueScheduler } from './QueueScheduler';\nimport { SchedulerAction } from '../types';\nimport { TimerHandle } from './timerHandle';\n\nexport class QueueAction extends AsyncAction {\n constructor(protected scheduler: QueueScheduler, protected work: (this: SchedulerAction, state?: T) => void) {\n super(scheduler, work);\n }\n\n public schedule(state?: T, delay: number = 0): Subscription {\n if (delay > 0) {\n return super.schedule(state, delay);\n }\n this.delay = delay;\n this.state = state;\n this.scheduler.flush(this);\n return this;\n }\n\n public execute(state: T, delay: number): any {\n return delay > 0 || this.closed ? super.execute(state, delay) : this._execute(state, delay);\n }\n\n protected requestAsyncId(scheduler: QueueScheduler, id?: TimerHandle, delay: number = 0): TimerHandle {\n // If delay exists and is greater than 0, or if the delay is null (the\n // action wasn't rescheduled) but was originally scheduled as an async\n // action, then recycle as an async action.\n\n if ((delay != null && delay > 0) || (delay == null && this.delay > 0)) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n\n // Otherwise flush the scheduler starting with this action.\n scheduler.flush(this);\n\n // HACK: In the past, this was returning `void`. However, `void` isn't a valid\n // `TimerHandle`, and generally the return value here isn't really used. So the\n // compromise is to return `0` which is both \"falsy\" and a valid `TimerHandle`,\n // as opposed to refactoring every other instanceo of `requestAsyncId`.\n return 0;\n }\n}\n", "import { AsyncScheduler } from './AsyncScheduler';\n\nexport class QueueScheduler extends AsyncScheduler {\n}\n", "import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\n\n/**\n *\n * Queue Scheduler\n *\n * Put every next task on a queue, instead of executing it immediately\n *\n * `queue` scheduler, when used with delay, behaves the same as {@link asyncScheduler} scheduler.\n *\n * When used without delay, it schedules given task synchronously - executes it right when\n * it is scheduled. However when called recursively, that is when inside the scheduled task,\n * another task is scheduled with queue scheduler, instead of executing immediately as well,\n * that task will be put on a queue and wait for current one to finish.\n *\n * This means that when you execute task with `queue` scheduler, you are sure it will end\n * before any other task scheduled with that scheduler will start.\n *\n * ## Examples\n * Schedule recursively first, then do something\n * ```ts\n * import { queueScheduler } from 'rxjs';\n *\n * queueScheduler.schedule(() => {\n * queueScheduler.schedule(() => console.log('second')); // will not happen now, but will be put on a queue\n *\n * console.log('first');\n * });\n *\n * // Logs:\n * // \"first\"\n * // \"second\"\n * ```\n *\n * Reschedule itself recursively\n * ```ts\n * import { queueScheduler } from 'rxjs';\n *\n * queueScheduler.schedule(function(state) {\n * if (state !== 0) {\n * console.log('before', state);\n * this.schedule(state - 1); // `this` references currently executing Action,\n * // which we reschedule with new state\n * console.log('after', state);\n * }\n * }, 0, 3);\n *\n * // In scheduler that runs recursively, you would expect:\n * // \"before\", 3\n * // \"before\", 2\n * // \"before\", 1\n * // \"after\", 1\n * // \"after\", 2\n * // \"after\", 3\n *\n * // But with queue it logs:\n * // \"before\", 3\n * // \"after\", 3\n * // \"before\", 2\n * // \"after\", 2\n * // \"before\", 1\n * // \"after\", 1\n * ```\n */\n\nexport const queueScheduler = new QueueScheduler(QueueAction);\n\n/**\n * @deprecated Renamed to {@link queueScheduler}. Will be removed in v8.\n */\nexport const queue = queueScheduler;\n", "import { AsyncAction } from './AsyncAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\nimport { SchedulerAction } from '../types';\nimport { animationFrameProvider } from './animationFrameProvider';\nimport { TimerHandle } from './timerHandle';\n\nexport class AnimationFrameAction extends AsyncAction {\n constructor(protected scheduler: AnimationFrameScheduler, protected work: (this: SchedulerAction, state?: T) => void) {\n super(scheduler, work);\n }\n\n protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: TimerHandle, delay: number = 0): TimerHandle {\n // If delay is greater than 0, request as an async action.\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n // Push the action to the end of the scheduler queue.\n scheduler.actions.push(this);\n // If an animation frame has already been requested, don't request another\n // one. If an animation frame hasn't been requested yet, request one. Return\n // the current animation frame request id.\n return scheduler._scheduled || (scheduler._scheduled = animationFrameProvider.requestAnimationFrame(() => scheduler.flush(undefined)));\n }\n\n protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: TimerHandle, delay: number = 0): TimerHandle | undefined {\n // If delay exists and is greater than 0, or if the delay is null (the\n // action wasn't rescheduled) but was originally scheduled as an async\n // action, then recycle as an async action.\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n // If the scheduler queue has no remaining actions with the same async id,\n // cancel the requested animation frame and set the scheduled flag to\n // undefined so the next AnimationFrameAction will request its own.\n const { actions } = scheduler;\n if (id != null && id === scheduler._scheduled && actions[actions.length - 1]?.id !== id) {\n animationFrameProvider.cancelAnimationFrame(id as number);\n scheduler._scheduled = undefined;\n }\n // Return undefined so the action knows to request a new async id if it's rescheduled.\n return undefined;\n }\n}\n", "import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\n\nexport class AnimationFrameScheduler extends AsyncScheduler {\n public flush(action?: AsyncAction): void {\n this._active = true;\n // The async id that effects a call to flush is stored in _scheduled.\n // Before executing an action, it's necessary to check the action's async\n // id to determine whether it's supposed to be executed in the current\n // flush.\n // Previous implementations of this method used a count to determine this,\n // but that was unsound, as actions that are unsubscribed - i.e. cancelled -\n // are removed from the actions array and that can shift actions that are\n // scheduled to be executed in a subsequent flush into positions at which\n // they are executed within the current flush.\n let flushId;\n if (action) {\n flushId = action.id;\n } else {\n flushId = this._scheduled;\n this._scheduled = undefined;\n }\n\n const { actions } = this;\n let error: any;\n action = action || actions.shift()!;\n\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions[0]) && action.id === flushId && actions.shift());\n\n this._active = false;\n\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n", "import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\n\n/**\n *\n * Animation Frame Scheduler\n *\n * Perform task when `window.requestAnimationFrame` would fire\n *\n * When `animationFrame` scheduler is used with delay, it will fall back to {@link asyncScheduler} scheduler\n * behaviour.\n *\n * Without delay, `animationFrame` scheduler can be used to create smooth browser animations.\n * It makes sure scheduled task will happen just before next browser content repaint,\n * thus performing animations as efficiently as possible.\n *\n * ## Example\n * Schedule div height animation\n * ```ts\n * // html:
\n * import { animationFrameScheduler } from 'rxjs';\n *\n * const div = document.querySelector('div');\n *\n * animationFrameScheduler.schedule(function(height) {\n * div.style.height = height + \"px\";\n *\n * this.schedule(height + 1); // `this` references currently executing Action,\n * // which we reschedule with new state\n * }, 0, 0);\n *\n * // You will see a div element growing in height\n * ```\n */\n\nexport const animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction);\n\n/**\n * @deprecated Renamed to {@link animationFrameScheduler}. Will be removed in v8.\n */\nexport const animationFrame = animationFrameScheduler;\n", "import { Observable } from '../Observable';\nimport { SchedulerLike } from '../types';\n\n/**\n * A simple Observable that emits no items to the Observer and immediately\n * emits a complete notification.\n *\n * Just emits 'complete', and nothing else.\n *\n * ![](empty.png)\n *\n * A simple Observable that only emits the complete notification. It can be used\n * for composing with other Observables, such as in a {@link mergeMap}.\n *\n * ## Examples\n *\n * Log complete notification\n *\n * ```ts\n * import { EMPTY } from 'rxjs';\n *\n * EMPTY.subscribe({\n * next: () => console.log('Next'),\n * complete: () => console.log('Complete!')\n * });\n *\n * // Outputs\n * // Complete!\n * ```\n *\n * Emit the number 7, then complete\n *\n * ```ts\n * import { EMPTY, startWith } from 'rxjs';\n *\n * const result = EMPTY.pipe(startWith(7));\n * result.subscribe(x => console.log(x));\n *\n * // Outputs\n * // 7\n * ```\n *\n * Map and flatten only odd numbers to the sequence `'a'`, `'b'`, `'c'`\n *\n * ```ts\n * import { interval, mergeMap, of, EMPTY } from 'rxjs';\n *\n * const interval$ = interval(1000);\n * const result = interval$.pipe(\n * mergeMap(x => x % 2 === 1 ? of('a', 'b', 'c') : EMPTY),\n * );\n * result.subscribe(x => console.log(x));\n *\n * // Results in the following to the console:\n * // x is equal to the count on the interval, e.g. (0, 1, 2, 3, ...)\n * // x will occur every 1000ms\n * // if x % 2 is equal to 1, print a, b, c (each on its own)\n * // if x % 2 is not equal to 1, nothing will be output\n * ```\n *\n * @see {@link Observable}\n * @see {@link NEVER}\n * @see {@link of}\n * @see {@link throwError}\n */\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\n\n/**\n * @param scheduler A {@link SchedulerLike} to use for scheduling\n * the emission of the complete notification.\n * @deprecated Replaced with the {@link EMPTY} constant or {@link scheduled} (e.g. `scheduled([], scheduler)`). Will be removed in v8.\n */\nexport function empty(scheduler?: SchedulerLike) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\n\nfunction emptyScheduled(scheduler: SchedulerLike) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n", "import { SchedulerLike } from '../types';\nimport { isFunction } from './isFunction';\n\nexport function isScheduler(value: any): value is SchedulerLike {\n return value && isFunction(value.schedule);\n}\n", "import { SchedulerLike } from '../types';\nimport { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\n\nfunction last(arr: T[]): T | undefined {\n return arr[arr.length - 1];\n}\n\nexport function popResultSelector(args: any[]): ((...args: unknown[]) => unknown) | undefined {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\n\nexport function popScheduler(args: any[]): SchedulerLike | undefined {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\n\nexport function popNumber(args: any[], defaultValue: number): number {\n return typeof last(args) === 'number' ? args.pop()! : defaultValue;\n}\n", "export const isArrayLike = ((x: any): x is ArrayLike => x && typeof x.length === 'number' && typeof x !== 'function');", "import { isFunction } from \"./isFunction\";\n\n/**\n * Tests to see if the object is \"thennable\".\n * @param value the object to test\n */\nexport function isPromise(value: any): value is PromiseLike {\n return isFunction(value?.then);\n}\n", "import { InteropObservable } from '../types';\nimport { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\n\n/** Identifies an input as being Observable (but not necessary an Rx Observable) */\nexport function isInteropObservable(input: any): input is InteropObservable {\n return isFunction(input[Symbol_observable]);\n}\n", "import { isFunction } from './isFunction';\n\nexport function isAsyncIterable(obj: any): obj is AsyncIterable {\n return Symbol.asyncIterator && isFunction(obj?.[Symbol.asyncIterator]);\n}\n", "/**\n * Creates the TypeError to throw if an invalid object is passed to `from` or `scheduled`.\n * @param input The object that was passed.\n */\nexport function createInvalidObservableTypeError(input: any) {\n // TODO: We should create error codes that can be looked up, so this can be less verbose.\n return new TypeError(\n `You provided ${\n input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`\n } where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`\n );\n}\n", "export function getSymbolIterator(): symbol {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator' as any;\n }\n\n return Symbol.iterator;\n}\n\nexport const iterator = getSymbolIterator();\n", "import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\n\n/** Identifies an input as being an Iterable */\nexport function isIterable(input: any): input is Iterable {\n return isFunction(input?.[Symbol_iterator]);\n}\n", "import { ReadableStreamLike } from '../types';\nimport { isFunction } from './isFunction';\n\nexport async function* readableStreamLikeToAsyncGenerator(readableStream: ReadableStreamLike): AsyncGenerator {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const { value, done } = await reader.read();\n if (done) {\n return;\n }\n yield value!;\n }\n } finally {\n reader.releaseLock();\n }\n}\n\nexport function isReadableStreamLike(obj: any): obj is ReadableStreamLike {\n // We don't want to use instanceof checks because they would return\n // false for instances from another Realm, like an `},wW=(s,o,f,p,w)=>{const k=s.append("div");k.attr("id",f),p&&k.attr("style",p);const b=k.append("svg").attr("id",o).attr("width","100%").attr("xmlns",aHt);return w&&b.attr("xmlns:xlink",w),b.append("g"),s};function mW(s,o){return s.append("iframe").attr("id",o).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const FFe=(s,o,f,p)=>{var w,k,b;(w=s.getElementById(o))==null||w.remove(),(k=s.getElementById(f))==null||k.remove(),(b=s.getElementById(p))==null||b.remove()},bHt=function(s,o,f,p){var X,Re,pe,Ge;kP(),SN();const w=Pa.detectInit(o);w&&(VE(w),z1e(w));const k=Pt();je.debug(k),o.length>((k==null?void 0:k.maxTextSize)??5e4)&&(o=_Fe),o=o.replace(/\r\n?/g,` +`);const b="#"+s,_="i"+s,A="#"+_,N="d"+s,B="#"+N;let F=sr("body");const H=k.securityLevel===CFe,j=k.securityLevel===SFe,V=k.fontFamily;if(p!==void 0){if(p&&(p.innerHTML=""),H){const de=mW(sr(p),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr(p);wW(F,s,N,`font-family: ${V}`,AFe)}else{if(FFe(document,s,N,_),H){const de=mW(sr("body"),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr("body");wW(F,s,N)}o=IFe(o);let Z,ae;try{if(Z=J0e(o),"then"in Z)throw new Error("Diagram is a promise. Use renderAsync.")}catch(de){Z=new ege("error"),ae=de}const le=F.select(B).node(),ce=Z.type,be=le.firstChild,xe=be.firstChild,Ee=tge.includes(ce)?Z.renderer.getClasses(o,Z):{},Me=NFe(k,ce,Ee,b),fe=document.createElement("style");fe.innerHTML=Me,be.insertBefore(fe,xe);try{Z.renderer.draw(o,s,rK,Z)}catch(de){throw vW.draw(o,s,rK),de}const ye=F.select(`${B} svg`),re=(Re=(X=Z.db).getAccTitle)==null?void 0:Re.call(X),we=(Ge=(pe=Z.db).getAccDescription)==null?void 0:Ge.call(pe);RFe(ce,ye,re,we),F.select(`[id="${s}"]`).selectAll("foreignobject > *").attr("xmlns",LFe);let ke=F.select(B).node().innerHTML;if(je.debug("config.arrowMarkerAbsolute",k.arrowMarkerAbsolute),ke=PFe(ke,H,l1(k.arrowMarkerAbsolute)),H){const de=F.select(B+" svg").node();ke=BFe(ke,de)}else j||(ke=vN.sanitize(ke,{ADD_TAGS:MFe,ADD_ATTR:DFe}));if(f!==void 0)switch(ce){case"flowchart":case"flowchart-v2":f(ke,a3.bindFunctions);break;case"gantt":f(ke,m0e.bindFunctions);break;case"class":case"classDiagram":f(ke,SA.bindFunctions);break;default:f(ke)}else je.debug("CB = undefined!");SBe();const De=sr(H?A:B).node();if(De&&"remove"in De&&De.remove(),ae)throw ae;return ke},vHt=async function(s,o,f,p){var X,Re,pe,Ge;kP(),SN();const w=Pa.detectInit(o);w&&(VE(w),z1e(w));const k=Pt();je.debug(k),o.length>((k==null?void 0:k.maxTextSize)??5e4)&&(o=_Fe),o=o.replace(/\r\n?/g,` +`);const b="#"+s,_="i"+s,A="#"+_,N="d"+s,B="#"+N;let F=sr("body");const H=k.securityLevel===CFe,j=k.securityLevel===SFe,V=k.fontFamily;if(p!==void 0){if(p&&(p.innerHTML=""),H){const de=mW(sr(p),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr(p);wW(F,s,N,`font-family: ${V}`,AFe)}else{if(FFe(document,s,N,_),H){const de=mW(sr("body"),_);F=sr(de.nodes()[0].contentDocument.body),F.node().style.margin=0}else F=sr("body");wW(F,s,N)}o=IFe(o);let Z,ae;try{Z=await J0e(o)}catch(de){Z=new ege("error"),ae=de}const le=F.select(B).node(),ce=Z.type,be=le.firstChild,xe=be.firstChild,Ee=tge.includes(ce)?Z.renderer.getClasses(o,Z):{},Me=NFe(k,ce,Ee,b),fe=document.createElement("style");fe.innerHTML=Me,be.insertBefore(fe,xe);try{await Z.renderer.draw(o,s,rK,Z)}catch(de){throw vW.draw(o,s,rK),de}const ye=F.select(`${B} svg`),re=(Re=(X=Z.db).getAccTitle)==null?void 0:Re.call(X),we=(Ge=(pe=Z.db).getAccDescription)==null?void 0:Ge.call(pe);RFe(ce,ye,re,we),F.select(`[id="${s}"]`).selectAll("foreignobject > *").attr("xmlns",LFe);let ke=F.select(B).node().innerHTML;if(je.debug("config.arrowMarkerAbsolute",k.arrowMarkerAbsolute),ke=PFe(ke,H,l1(k.arrowMarkerAbsolute)),H){const de=F.select(B+" svg").node();ke=BFe(ke,de)}else j||(ke=vN.sanitize(ke,{ADD_TAGS:MFe,ADD_ATTR:DFe}));if(f!==void 0)switch(ce){case"flowchart":case"flowchart-v2":f(ke,a3.bindFunctions);break;case"gantt":f(ke,m0e.bindFunctions);break;case"class":case"classDiagram":f(ke,SA.bindFunctions);break;default:f(ke)}else je.debug("CB = undefined!");SBe();const De=sr(H?A:B).node();if(De&&"remove"in De&&De.remove(),ae)throw ae;return ke};function wHt(s={}){var f;s!=null&&s.fontFamily&&!((f=s.themeVariables)!=null&&f.fontFamily)&&(s.themeVariables={fontFamily:s.fontFamily}),W_t(s),s!=null&&s.theme&&s.theme in f5?s.themeVariables=f5[s.theme].getThemeVariables(s.themeVariables):s&&(s.themeVariables=f5.default.getThemeVariables(s.themeVariables));const o=typeof s=="object"?K_t(s):JDe();ffe(o.logLevel),kP()}function RFe(s,o,f,p){iHt(o,s),sHt(o,f,p,o.attr("id"))}const Fl=Object.freeze({render:bHt,renderAsync:vHt,parse:dHt,parseAsync:gHt,parseDirective:K1e,initialize:wHt,getConfig:Pt,setConfig:eIe,getSiteConfig:JDe,updateSiteConfig:Y_t,reset:()=>{SN()},globalReset:()=>{SN(_A)},defaultConfig:_A});ffe(Pt().logLevel),SN(Pt());const mHt=async function(s,o,f){try{await $Fe(s,o,f)}catch(p){je.warn("Syntax Error rendering"),N1e(p)&&je.warn(p.str),Wb.parseError&&Wb.parseError(p)}},jFe=(s,o,f)=>{je.warn(s),N1e(s)?(f&&f(s.str,s.hash),o.push({...s,message:s.str,error:s})):(f&&f(s),s instanceof Error&&o.push({str:s.message,message:s.message,hash:s.name,error:s}))},yHt=function(s,o,f){const p=Fl.getConfig();s&&(Wb.sequenceConfig=s),je.debug(`${f?"":"No "}Callback function found`);let w;if(o===void 0)w=document.querySelectorAll(".mermaid");else if(typeof o=="string")w=document.querySelectorAll(o);else if(o instanceof HTMLElement)w=[o];else if(o instanceof NodeList)w=o;else throw new Error("Invalid argument nodes for mermaid.init");je.debug(`Found ${w.length} diagrams`),(s==null?void 0:s.startOnLoad)!==void 0&&(je.debug("Start On Load: "+(s==null?void 0:s.startOnLoad)),Fl.updateSiteConfig({startOnLoad:s==null?void 0:s.startOnLoad}));const k=new Pa.initIdGenerator(p.deterministicIds,p.deterministicIDSeed);let b;const _=[];for(const A of Array.from(w)){je.info("Rendering diagram: "+A.id);/*! Check if previously processed */if(A.getAttribute("data-processed"))continue;A.setAttribute("data-processed","true");const N=`mermaid-${k.next()}`;b=A.innerHTML,b=tA(Pa.entityDecode(b)).trim().replace(//gi,"
");const B=Pa.detectInit(b);B&&je.debug("Detected early reinit: ",B);try{Fl.render(N,b,(F,H)=>{A.innerHTML=F,f!==void 0&&f(N),H&&H(A)},A)}catch(F){jFe(F,_,Wb.parseError)}}if(_.length>0)throw _[0]},kHt=async(...s)=>{je.debug(`Loading ${s.length} external diagrams`);const f=(await Promise.allSettled(s.map(async({id:p,detector:w,loader:k})=>{const{diagram:b}=await k();h1(p,b,w)}))).filter(p=>p.status==="rejected");if(f.length>0){je.error(`Failed to load ${f.length} external diagrams`);for(const p of f)je.error(p);throw new Error(`Failed to load ${f.length} external diagrams`)}},$Fe=async function(s,o,f){const p=Fl.getConfig();s&&(Wb.sequenceConfig=s),je.debug(`${f?"":"No "}Callback function found`);let w;if(o===void 0)w=document.querySelectorAll(".mermaid");else if(typeof o=="string")w=document.querySelectorAll(o);else if(o instanceof HTMLElement)w=[o];else if(o instanceof NodeList)w=o;else throw new Error("Invalid argument nodes for mermaid.init");je.debug(`Found ${w.length} diagrams`),(s==null?void 0:s.startOnLoad)!==void 0&&(je.debug("Start On Load: "+(s==null?void 0:s.startOnLoad)),Fl.updateSiteConfig({startOnLoad:s==null?void 0:s.startOnLoad}));const k=new Pa.initIdGenerator(p.deterministicIds,p.deterministicIDSeed);let b;const _=[];for(const A of Array.from(w)){je.info("Rendering diagram: "+A.id);/*! Check if previously processed */if(A.getAttribute("data-processed"))continue;A.setAttribute("data-processed","true");const N=`mermaid-${k.next()}`;b=A.innerHTML,b=tA(Pa.entityDecode(b)).trim().replace(//gi,"
");const B=Pa.detectInit(b);B&&je.debug("Detected early reinit: ",B);try{await Fl.renderAsync(N,b,(F,H)=>{A.innerHTML=F,f!==void 0&&f(N),H&&H(A)},A)}catch(F){jFe(F,_,Wb.parseError)}}if(_.length>0)throw _[0]},xHt=function(s){Fl.initialize(s)},EHt=async(s,{lazyLoad:o=!0}={})=>{o?ODe(...s):await kHt(...s)},HFe=function(){if(Wb.startOnLoad){const{startOnLoad:s}=Fl.getConfig();s&&Wb.init().catch(o=>je.error("Mermaid failed to initialize",o))}};if(typeof document<"u"){/*! + * Wait for document loaded before starting the execution + */window.addEventListener("load",HFe,!1)}const THt=function(s){Wb.parseError=s},_Ht=s=>Fl.parse(s,Wb.parseError),yW=[];let rge=!1;const zFe=async()=>{if(!rge){for(rge=!0;yW.length>0;){const s=yW.shift();if(s)try{await s()}catch(o){je.error("Error executing queue",o)}}rge=!1}},CHt=s=>new Promise((o,f)=>{const p=()=>new Promise((w,k)=>{Fl.parseAsync(s,Wb.parseError).then(b=>{w(b),o(b)},b=>{je.error("Error parsing",b),k(b),f(b)})});yW.push(p),zFe().catch(f)}),SHt=(s,o,f,p)=>new Promise((w,k)=>{const b=()=>new Promise((_,A)=>{Fl.renderAsync(s,o,f,p).then(N=>{_(N),w(N)},N=>{je.error("Error parsing",N),A(N),k(N)})});yW.push(b),zFe().catch(k)}),Wb={startOnLoad:!0,diagrams:{},mermaidAPI:Fl,parse:_Ht,parseAsync:CHt,render:Fl.render,renderAsync:SHt,init:mHt,initThrowsErrors:yHt,initThrowsErrorsAsync:$Fe,registerExternalDiagrams:EHt,initialize:xHt,parseError:void 0,contentLoaded:HFe,setParseErrorHandler:THt},AHt=(s,o,f)=>{const{parentById:p}=f,w=new Set;let k=s;for(;k;){if(w.add(k),k===o)return k;k=p[k]}for(k=o;k;){if(w.has(k))return k;k=p[k]}return"root"};function kW(s){throw new Error('Could not dynamically require "'+s+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ige={},LHt={get exports(){return ige},set exports(s){ige=s}};(function(s,o){(function(f){s.exports=f()})(function(){return function(){function f(p,w,k){function b(N,B){if(!w[N]){if(!p[N]){var F=typeof kW=="function"&&kW;if(!B&&F)return F(N,!0);if(_)return _(N,!0);var H=new Error("Cannot find module '"+N+"'");throw H.code="MODULE_NOT_FOUND",H}var j=w[N]={exports:{}};p[N][0].call(j.exports,function(V){var Z=p[N][1][V];return b(Z||V)},j,j.exports,f,p,w,k)}return w[N].exports}for(var _=typeof kW=="function"&&kW,A=0;A0&&arguments[0]!==void 0?arguments[0]:{},H=F.defaultLayoutOptions,j=H===void 0?{}:H,V=F.algorithms,Z=V===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:V,ae=F.workerFactory,le=F.workerUrl;if(b(this,N),this.defaultLayoutOptions=j,this.initialized=!1,typeof le>"u"&&typeof ae>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var ce=ae;typeof le<"u"&&typeof ae>"u"&&(ce=function(Ee){return new Worker(Ee)});var be=ce(le);if(typeof be.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new A(be),this.worker.postMessage({cmd:"register",algorithms:Z}).then(function(xe){return B.initialized=!0}).catch(console.err)}return k(N,[{key:"layout",value:function(F){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=H.layoutOptions,V=j===void 0?this.defaultLayoutOptions:j,Z=H.logging,ae=Z===void 0?!1:Z,le=H.measureExecutionTime,ce=le===void 0?!1:le;return F?this.worker.postMessage({cmd:"layout",graph:F,layoutOptions:V,options:{logging:ae,measureExecutionTime:ce}}):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.terminate()}}]),N}();w.default=_;var A=function(){function N(B){var F=this;if(b(this,N),B===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=B,this.worker.onmessage=function(H){setTimeout(function(){F.receive(F,H)},0)}}return k(N,[{key:"postMessage",value:function(F){var H=this.id||0;this.id=H+1,F.id=H;var j=this;return new Promise(function(V,Z){j.resolvers[H]=function(ae,le){ae?(j.convertGwtStyleError(ae),Z(ae)):V(le)},j.worker.postMessage(F)})}},{key:"receive",value:function(F,H){var j=H.data,V=F.resolvers[j.id];V&&(delete F.resolvers[j.id],j.error?V(j.error):V(null,j.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(F){if(F){var H=F.__java$exception;H&&(H.cause&&H.cause.backingJsObject&&(F.cause=H.cause.backingJsObject,this.convertGwtStyleError(F.cause)),delete F.__java$exception)}}}]),N}()},{}],2:[function(f,p,w){(function(k){(function(){var b;typeof window<"u"?b=window:typeof k<"u"?b=k:typeof self<"u"&&(b=self);var _;function A(){}function N(){}function B(){}function F(){}function H(){}function j(){}function V(){}function Z(){}function ae(){}function le(){}function ce(){}function be(){}function xe(){}function Ee(){}function Me(){}function fe(){}function ye(){}function re(){}function we(){}function ke(){}function he(){}function De(){}function X(){}function Re(){}function pe(){}function Ge(){}function de(){}function ct(){}function bt(){}function St(){}function yt(){}function Mt(){}function nn(){}function dn(){}function vt(){}function Lr(){}function xt(){}function Tt(){}function wt(){}function At(){}function He(){}function Ze(){}function Lt(){}function Ve(){}function Mn(){}function Oe(){}function Di(){}function rn(){}function pi(){}function Fr(){}function tr(){}function Wn(){}function er(){}function Fn(){}function nr(){}function ha(){}function fa(){}function is(){}function Xi(){}function da(){}function Cc(){}function na(){}function Ji(){}function Fi(){}function vr(){}function wr(){}function ni(){}function Yn(){}function Gi(){}function un(){}function Ks(){}function Hn(){}function Ms(){}function Ea(){}function Va(){}function Ba(){}function Ta(){}function ss(){}function Zs(){}function Fa(){}function $s(){}function ap(){}function Xb(){}function bu(){}function ra(){}function Ju(){}function lf(){}function el(){}function Rl(){}function vu(){}function Mh(){}function ah(){}function Ai(){}function $t(){}function Mr(){}function bi(){}function Aa(){}function Nc(){}function $c(){}function wu(){}function oh(){}function tl(){}function Qb(){}function rm(){}function Rd(){}function cs(){}function Es(){}function Ya(){}function Ei(){}function uc(){}function Ot(){}function im(){}function Kt(){}function id(){}function sm(){}function f3(){}function s8(){}function I2(){}function fl(){}function Zb(){}function op(){}function I5(){}function f9(){}function d9(){}function p1(){}function Jb(){}function b1(){}function O5(){}function cp(){}function d3(){}function x0(){}function Fu(){}function g3(){}function Jo(){}function up(){}function O2(){}function CW(){}function g9(){}function SW(){}function EP(){}function zf(){}function am(){}function JA(){}function TP(){}function lp(){}function om(){}function AW(){}function N2(){}function LW(){}function MW(){}function N5(){}function p9(){}function _P(){}function a8(){}function DW(){}function o8(){}function IW(){}function OW(){}function NW(){}function PW(){}function BW(){}function FW(){}function RW(){}function jW(){}function $W(){}function HW(){}function zW(){}function eL(){}function GW(){}function qW(){}function b9(){}function CP(){}function P5(){}function VW(){}function UW(){}function KW(){}function WW(){}function YW(){}function v9(){}function tL(){}function SP(){}function p3(){}function b3(){}function XW(){}function hf(){}function B5(){}function QW(){}function c8(){}function jd(){}function ZW(){}function JW(){}function eY(){}function tY(){}function w9(){}function nL(){}function AP(){}function rL(){}function F5(){}function nY(){}function LP(){}function MP(){}function rY(){}function iY(){}function sY(){}function aY(){}function oY(){}function cY(){}function $d(){}function ev(){}function uY(){}function DP(){}function IP(){}function lY(){}function v3(){}function u8(){}function iL(){}function cm(){}function l8(){}function hY(){}function m9(){}function sd(){}function OP(){}function sL(){}function h8(){}function aL(){}function NP(){}function fY(){}function oL(){}function dY(){}function gY(){}function PP(){}function R5(){}function BP(){}function j5(){}function pY(){}function cL(){}function bY(){}function vY(){}function wY(){}function mY(){}function FP(){}function yY(){}function kY(){}function xY(){}function RP(){}function EY(){}function TY(){}function _Y(){}function jP(){}function CY(){}function SY(){}function $P(){}function HP(){}function zP(){}function AY(){}function LY(){}function f8(){}function $5(){}function y9(){}function MY(){}function uL(){}function k9(){}function lL(){}function GP(){}function qP(){}function DY(){}function IY(){}function OY(){}function VP(){}function UP(){}function NY(){}function PY(){}function BY(){}function FY(){}function RY(){}function KP(){}function jY(){}function $Y(){}function HY(){}function zY(){}function WP(){}function x9(){}function GY(){}function qY(){}function YP(){}function VY(){}function UY(){}function KY(){}function WY(){}function YY(){}function XY(){}function XP(){}function QY(){}function QP(){}function ZY(){}function JY(){}function eX(){}function E9(){}function tX(){}function T9(){}function nX(){}function ZP(){}function JP(){}function eB(){}function tB(){}function tv(){}function nB(){}function rB(){}function iB(){}function sB(){}function rX(){}function H5(){}function _9(){}function w3(){}function iX(){}function sX(){}function C9(){}function aX(){}function oX(){}function cX(){}function uX(){}function lX(){}function hX(){}function fX(){}function dX(){}function gX(){}function pX(){}function bX(){}function hL(){}function aB(){}function vX(){}function wX(){}function mX(){}function oB(){}function yX(){}function kX(){}function xX(){}function EX(){}function TX(){}function _X(){}function cB(){}function uB(){}function CX(){}function lB(){}function hB(){}function SX(){}function AX(){}function LX(){}function fL(){}function MX(){}function d8(){}function DX(){}function IX(){}function OX(){}function fB(){}function NX(){}function PX(){}function BX(){}function FX(){}function RX(){}function jX(){}function $X(){}function HX(){}function zX(){}function GX(){}function qX(){}function VX(){}function z5(){}function dB(){}function UX(){}function KX(){}function WX(){}function gB(){}function YX(){}function S9(){}function XX(){}function QX(){}function ZX(){}function JX(){}function eQ(){}function tQ(){}function nQ(){}function rQ(){}function iQ(){}function sQ(){}function G5(){}function aQ(){}function oQ(){}function cQ(){}function uQ(){}function lQ(){}function hQ(){}function fQ(){}function dQ(){}function A9(){}function gQ(){}function pQ(){}function bQ(){}function vQ(){}function wQ(){}function mQ(){}function yQ(){}function kQ(){}function q5(){}function pB(){}function xQ(){}function dL(){}function EQ(){}function TQ(){}function _Q(){}function CQ(){}function SQ(){}function AQ(){}function LQ(){}function bB(){}function MQ(){}function vB(){}function DQ(){}function wB(){}function mB(){}function yB(){}function IQ(){}function OQ(){}function L9(){}function gL(){}function M9(){}function NQ(){}function PQ(){}function pL(){}function BQ(){}function FQ(){}function kB(){}function RQ(){}function jQ(){}function $Q(){}function HQ(){}function zQ(){}function GQ(){}function qQ(){}function VQ(){}function UQ(){}function KQ(){}function og(){}function WQ(){}function um(){}function xB(){}function YQ(){}function XQ(){}function QQ(){}function ZQ(){}function JQ(){}function eZ(){}function tZ(){}function nZ(){}function rZ(){}function Pc(){}function iZ(){}function D9(){}function lc(){}function eu(){}function Ki(){}function bL(){}function sZ(){}function aZ(){}function oZ(){}function V5(){}function lm(){}function zt(){}function cZ(){}function uZ(){}function lZ(){}function hZ(){}function fZ(){}function EB(){}function dZ(){}function gZ(){}function vL(){}function pZ(){}function nl(){}function Ru(){}function bZ(){}function vZ(){}function wZ(){}function hm(){}function nv(){}function hp(){}function ad(){}function U5(){}function I9(){}function g8(){}function TB(){}function mZ(){}function p8(){}function _B(){}function yZ(){}function O9(){}function K5(){}function W5(){}function fp(){}function CB(){}function b8(){}function SB(){}function AB(){}function Y5(){}function P2(){}function E0(){}function dp(){}function m3(){}function v8(){}function N9(){}function LB(){}function kZ(){}function MB(){}function DB(){}function IB(){}function w8(){}function OB(){}function NB(){}function xZ(){}function m8(){}function y8(){}function fm(){}function wL(){}function EZ(){}function TZ(){}function _Z(){}function CZ(){}function SZ(){}function AZ(){}function LZ(){}function MZ(){}function PB(){}function DZ(){}function IZ(){}function OZ(){}function BB(){}function k8(){}function P9(){}function FB(){}function NZ(){}function RB(){}function jB(){}function PZ(){}function B9(){}function dm(){}function $B(){}function HB(){}function BZ(){}function FZ(){}function F9(){}function zB(){}function GB(){}function mc(){}function RZ(){}function qB(){}function R9(){}function jZ(){}function $Z(){}function j9(){}function VB(){}function $9(){}function H9(){}function Gf(){}function mL(){}function yL(){}function X5(){}function HZ(){}function zZ(){}function GZ(){}function qZ(){}function gm(){}function UB(){}function Q5(){}function v1(){}function KB(){}function WB(){}function YB(){}function XB(){}function QB(){}function ZB(){}function qf(){}function mu(){}function VZ(){}function UZ(){}function KZ(){}function yu(){}function z9(){}function JB(){}function eF(){}function Z5(){}function WZ(){}function x8(){}function YZ(){}function tF(){}function XZ(){}function QZ(){}function G9(){}function nF(){}function kL(){}function q9(){}function ZZ(){}function JZ(){}function xL(){}function V9(){}function w1(){}function E8(){}function eJ(){}function T8(){}function EL(){}function B2(){}function U9(){}function TL(){}function Vf(){}function K9(){}function m1(){}function y1(){}function tJ(){}function nJ(){}function y3(){}function _8(){}function C8(){}function W9(){}function rJ(){}function J5(){}function _L(){}function rF(){}function iJ(){}function Y9(){gT()}function sJ(){Jre()}function iF(){H_()}function CL(){EH()}function aJ(){K3e()}function X9(){r1()}function oJ(){i3e()}function cJ(){OD()}function uJ(){ZL()}function lJ(){QL()}function hJ(){TM()}function sF(){Mze()}function fJ(){G6()}function dJ(){iR()}function gJ(){HQe()}function aF(){eet()}function pJ(){mZe()}function bJ(){BYe()}function Q9(){Gx()}function vJ(){Up()}function wJ(){tet()}function mJ(){LXe()}function yJ(){$5e()}function kJ(){qrt()}function xJ(){FYe()}function oF(){mt()}function EJ(){PYe()}function cF(){net()}function TJ(){ott()}function SL(){jYe()}function _J(){TZe()}function uF(){Dze()}function CJ(){A4e()}function lF(){Qm()}function SJ(){Det()}function hF(){FD()}function fF(){Ase()}function dF(){Pie()}function AL(){tw()}function k3(){Tme()}function Z9(){RYe()}function od(){Zot()}function gF(){_4e()}function S8(){yse()}function LL(){c$()}function AJ(){MH()}function gp(){di()}function pF(){V$()}function bF(){Iye()}function vF(){YH()}function ch(){_Ue()}function ML(){Fre()}function wF(){f5e()}function A8(e){An(e)}function J9(e){this.a=e}function L8(e){this.a=e}function mF(e){this.a=e}function e6(e){this.a=e}function rv(e){this.a=e}function M8(e){this.a=e}function yF(e){this.a=e}function LJ(e){this.a=e}function DL(e){this.a=e}function x3(e){this.a=e}function IL(e){this.a=e}function eT(e){this.a=e}function MJ(e){this.a=e}function tT(e){this.a=e}function nT(e){this.a=e}function t6(e){this.a=e}function OL(e){this.a=e}function NL(e){this.a=e}function DJ(e){this.a=e}function IJ(e){this.a=e}function OJ(e){this.a=e}function kF(e){this.b=e}function NJ(e){this.c=e}function PJ(e){this.a=e}function BJ(e){this.a=e}function FJ(e){this.a=e}function RJ(e){this.a=e}function jJ(e){this.a=e}function $J(e){this.a=e}function HJ(e){this.a=e}function zJ(e){this.a=e}function n6(e){this.a=e}function GJ(e){this.a=e}function D8(e){this.a=e}function Dh(e){this.a=e}function qJ(e){this.a=e}function r6(e){this.a=e}function I8(e){this.a=e}function rT(e){this.a=e}function O8(e){this.a=e}function cg(){this.a=[]}function VJ(e,t){e.a=t}function dge(e,t){e.a=t}function gge(e,t){e.b=t}function pge(e,t){e.b=t}function bge(e,t){e.b=t}function PL(e,t){e.j=t}function vge(e,t){e.g=t}function wge(e,t){e.i=t}function UJ(e,t){e.c=t}function k1(e,t){e.d=t}function KJ(e,t){e.d=t}function mge(e,t){e.c=t}function T0(e,t){e.k=t}function WJ(e,t){e.c=t}function xF(e,t){e.c=t}function EF(e,t){e.a=t}function YJ(e,t){e.a=t}function yge(e,t){e.f=t}function kge(e,t){e.a=t}function iv(e,t){e.b=t}function BL(e,t){e.d=t}function iT(e,t){e.i=t}function TF(e,t){e.o=t}function xge(e,t){e.r=t}function Ege(e,t){e.a=t}function _F(e,t){e.b=t}function sv(e,t){e.e=t}function XJ(e,t){e.f=t}function sT(e,t){e.g=t}function i6(e,t){e.e=t}function Tge(e,t){e.f=t}function N8(e,t){e.f=t}function QJ(e,t){e.n=t}function ug(e,t){e.a=t}function _ge(e,t){e.a=t}function E3(e,t){e.c=t}function ZJ(e,t){e.c=t}function JJ(e,t){e.d=t}function CF(e,t){e.e=t}function SF(e,t){e.g=t}function eee(e,t){e.a=t}function P8(e,t){e.c=t}function aT(e,t){e.d=t}function Cge(e,t){e.e=t}function tee(e,t){e.f=t}function nee(e,t){e.j=t}function ree(e,t){e.a=t}function Sge(e,t){e.b=t}function Sc(e,t){e.a=t}function AF(e){e.b=e.a}function iee(e){e.c=e.d.d}function s6(e){this.d=e}function lg(e){this.a=e}function pm(e){this.a=e}function FL(e){this.a=e}function x1(e){this.a=e}function a6(e){this.a=e}function see(e){this.a=e}function LF(e){this.a=e}function T3(e){this.a=e}function RL(e){this.a=e}function bm(e){this.a=e}function MF(e){this.a=e}function E1(e){this.a=e}function m(e){this.a=e}function g(e){this.a=e}function y(e){this.b=e}function E(e){this.b=e}function S(e){this.b=e}function D(e){this.a=e}function I(e){this.a=e}function R(e){this.a=e}function $(e){this.c=e}function C(e){this.c=e}function G(e){this.c=e}function U(e){this.a=e}function J(e){this.a=e}function te(e){this.a=e}function se(e){this.a=e}function oe(e){this.a=e}function Ce(e){this.a=e}function ve(e){this.a=e}function Ae(e){this.a=e}function Le(e){this.a=e}function Be(e){this.a=e}function Xe(e){this.a=e}function Ue(e){this.a=e}function Fe(e){this.a=e}function et(e){this.a=e}function ze(e){this.a=e}function ut(e){this.a=e}function ht(e){this.a=e}function tt(e){this.a=e}function Dt(e){this.a=e}function ft(e){this.a=e}function ln(e){this.a=e}function Rt(e){this.a=e}function Ht(e){this.a=e}function wn(e){this.a=e}function Sn(e){this.a=e}function Kn(e){this.a=e}function xn(e){this.a=e}function Un(e){this.a=e}function ar(e){this.a=e}function xr(e){this.a=e}function fr(e){this.a=e}function rr(e){this.a=e}function gn(e){this.a=e}function mr(e){this.a=e}function pr(e){this.a=e}function ri(e){this.a=e}function Ti(e){this.a=e}function ia(e){this.a=e}function Ra(e){this.a=e}function Li(e){this.a=e}function vi(e){this.a=e}function Ts(e){this.a=e}function Wi(e){this.a=e}function Ii(e){this.a=e}function es(e){this.a=e}function to(e){this.e=e}function sa(e){this.a=e}function Ws(e){this.a=e}function Cr(e){this.a=e}function Ye(e){this.a=e}function Pn(e){this.a=e}function Dr(e){this.a=e}function or(e){this.a=e}function cr(e){this.a=e}function Ua(e){this.a=e}function qr(e){this.a=e}function ns(e){this.a=e}function qo(e){this.a=e}function Hc(e){this.a=e}function uo(e){this.a=e}function Ac(e){this.a=e}function ja(e){this.a=e}function lo(e){this.a=e}function _l(e){this.a=e}function Uf(e){this.a=e}function pp(e){this.a=e}function bp(e){this.a=e}function Kf(e){this.a=e}function hg(e){this.a=e}function cd(e){this.a=e}function av(e){this.a=e}function vm(e){this.a=e}function o6(e){this.a=e}function _3(e){this.a=e}function c6(e){this.a=e}function oT(e){this.a=e}function C3(e){this.a=e}function Hd(e){this.a=e}function T1(e){this.a=e}function zd(e){this.a=e}function cT(e){this.a=e}function F2(e){this.a=e}function DF(e){this.a=e}function aee(e){this.a=e}function oee(e){this.a=e}function cee(e){this.a=e}function uee(e){this.a=e}function lee(e){this.a=e}function hee(e){this.a=e}function fee(e){this.a=e}function B8(e){this.a=e}function jL(e){this.a=e}function uT(e){this.a=e}function IF(e){this.a=e}function OF(e){this.a=e}function dee(e){this.a=e}function vp(e){this.a=e}function $L(e){this.a=e}function NF(e){this.a=e}function F8(e){this.c=e}function wp(e){this.b=e}function gee(e){this.a=e}function yRe(e){this.a=e}function kRe(e){this.a=e}function xRe(e){this.a=e}function ERe(e){this.a=e}function TRe(e){this.a=e}function _Re(e){this.a=e}function CRe(e){this.a=e}function SRe(e){this.a=e}function ARe(e){this.a=e}function LRe(e){this.a=e}function MRe(e){this.a=e}function DRe(e){this.a=e}function IRe(e){this.a=e}function ORe(e){this.a=e}function NRe(e){this.a=e}function PRe(e){this.a=e}function BRe(e){this.a=e}function FRe(e){this.a=e}function RRe(e){this.a=e}function jRe(e){this.a=e}function $Re(e){this.a=e}function HRe(e){this.a=e}function zRe(e){this.a=e}function mp(e){this.a=e}function u6(e){this.a=e}function GRe(e){this.a=e}function qRe(e){this.a=e}function VRe(e){this.a=e}function URe(e){this.a=e}function KRe(e){this.a=e}function WRe(e){this.a=e}function YRe(e){this.a=e}function XRe(e){this.a=e}function QRe(e){this.a=e}function ZRe(e){this.a=e}function JRe(e){this.a=e}function eje(e){this.a=e}function tje(e){this.a=e}function nje(e){this.a=e}function rje(e){this.a=e}function ije(e){this.a=e}function PF(e){this.a=e}function sje(e){this.a=e}function aje(e){this.a=e}function oje(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function lje(e){this.a=e}function hje(e){this.a=e}function fje(e){this.a=e}function dje(e){this.a=e}function gje(e){this.a=e}function pje(e){this.a=e}function bje(e){this.a=e}function vje(e){this.a=e}function wje(e){this.a=e}function mje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function xje(e){this.a=e}function Eje(e){this.a=e}function Tje(e){this.a=e}function _je(e){this.a=e}function Cje(e){this.a=e}function Sje(e){this.a=e}function Aje(e){this.a=e}function Lje(e){this.a=e}function Mje(e){this.a=e}function Dje(e){this.a=e}function Ije(e){this.a=e}function Age(e){this.a=e}function Qi(e){this.b=e}function Oje(e){this.f=e}function Lge(e){this.a=e}function Nje(e){this.a=e}function Pje(e){this.a=e}function Bje(e){this.a=e}function Fje(e){this.a=e}function Rje(e){this.a=e}function jje(e){this.a=e}function $je(e){this.a=e}function Hje(e){this.a=e}function HL(e){this.a=e}function zje(e){this.a=e}function Gje(e){this.b=e}function Mge(e){this.c=e}function BF(e){this.e=e}function qje(e){this.a=e}function FF(e){this.a=e}function RF(e){this.a=e}function pee(e){this.a=e}function Vje(e){this.a=e}function Uje(e){this.d=e}function Dge(e){this.a=e}function Ige(e){this.a=e}function ov(e){this.e=e}function Gzt(){this.a=0}function S3(){_qe(this)}function at(){kte(this)}function Ar(){il(this)}function bee(){LWe(this)}function Kje(){}function cv(){this.c=fAe}function qzt(e,t){t.Wb(e)}function Wje(e,t){e.b+=t}function Yje(e){e.b=new Oee}function ee(e){return e.e}function Vzt(e){return e.a}function Uzt(e){return e.a}function Kzt(e){return e.a}function Wzt(e){return e.a}function Yzt(e){return e.a}function Xzt(){return null}function Qzt(){return null}function Zzt(){wpe(),uwn()}function Jzt(e){e.b.tf(e.e)}function lT(e,t){e.b=t-e.b}function hT(e,t){e.a=t-e.a}function Xje(e,t){t.ad(e.a)}function eGt(e,t){qs(t,e)}function tGt(e,t,n){e.Od(n,t)}function zL(e,t){e.e=t,t.b=e}function Oge(e){gd(),this.a=e}function Qje(e){gd(),this.a=e}function Zje(e){gd(),this.a=e}function Nge(e){Pm(),this.a=e}function Jje(e){gx(),Wce.be(e)}function R2(){cVe.call(this)}function Pge(){cVe.call(this)}function Bge(){R2.call(this)}function vee(){R2.call(this)}function e$e(){R2.call(this)}function GL(){R2.call(this)}function ju(){R2.call(this)}function fT(){R2.call(this)}function Rr(){R2.call(this)}function uh(){R2.call(this)}function t$e(){R2.call(this)}function yc(){R2.call(this)}function n$e(){R2.call(this)}function r$e(){this.a=this}function jF(){this.Bb|=256}function i$e(){this.b=new aqe}function Fge(){Fge=de,new Ar}function Rge(){Bge.call(this)}function s$e(e,t){e.length=t}function $F(e,t){st(e.a,t)}function nGt(e,t){Y3e(e.c,t)}function rGt(e,t){zs(e.b,t)}function iGt(e,t){vH(e.a,t)}function sGt(e,t){cie(e.a,t)}function R8(e,t){_i(e.e,t)}function l6(e){OH(e.c,e.b)}function aGt(e,t){e.kc().Nb(t)}function jge(e){this.a=isn(e)}function Ys(){this.a=new Ar}function a$e(){this.a=new Ar}function HF(){this.a=new at}function wee(){this.a=new at}function $ge(){this.a=new at}function Ih(){this.a=new Ks}function j2(){this.a=new FQe}function Hge(){this.a=new s8}function zge(){this.a=new xze}function o$e(){this.a=new lXe}function Gge(){this.a=new CYe}function qge(){this.a=new XVe}function c$e(){this.a=new at}function Vge(){this.a=new at}function u$e(){this.a=new at}function l$e(){this.a=new at}function h$e(){this.d=new at}function f$e(){this.a=new Ys}function d$e(){this.a=new Ar}function g$e(){this.b=new Ar}function p$e(){this.b=new at}function Uge(){this.e=new at}function b$e(){this.d=new at}function v$e(){this.a=new vJ}function w$e(){at.call(this)}function Kge(){HF.call(this)}function m$e(){XR.call(this)}function y$e(){Vge.call(this)}function mee(){dT.call(this)}function dT(){Kje.call(this)}function h6(){Kje.call(this)}function Wge(){h6.call(this)}function k$e(){rYe.call(this)}function x$e(){rYe.call(this)}function E$e(){tpe.call(this)}function T$e(){tpe.call(this)}function _$e(){tpe.call(this)}function C$e(){npe.call(this)}function $u(){as.call(this)}function Yge(){hm.call(this)}function Xge(){hm.call(this)}function S$e(){G$e.call(this)}function A$e(){G$e.call(this)}function L$e(){Ar.call(this)}function M$e(){Ar.call(this)}function D$e(){Ar.call(this)}function I$e(){Ys.call(this)}function yee(){QJe.call(this)}function O$e(){jF.call(this)}function kee(){C2e.call(this)}function xee(){C2e.call(this)}function Qge(){Ar.call(this)}function Eee(){Ar.call(this)}function N$e(){Ar.call(this)}function Zge(){b8.call(this)}function P$e(){b8.call(this)}function B$e(){Zge.call(this)}function F$e(){_L.call(this)}function R$e(e){xJe.call(this,e)}function j$e(e){xJe.call(this,e)}function Jge(e){DL.call(this,e)}function epe(e){fze.call(this,e)}function oGt(e){epe.call(this,e)}function cGt(e){fze.call(this,e)}function j8(){this.a=new as}function tpe(){this.a=new Ys}function npe(){this.a=new Ar}function $$e(){this.a=new at}function H$e(){this.j=new at}function rpe(){this.a=new yB}function z$e(){this.a=new FHe}function G$e(){this.a=new CB}function Tee(){Tee=de,zce=new oHe}function _ee(){_ee=de,Hce=new aHe}function gT(){gT=de,$ce=new N}function zF(){zF=de,Vce=new aVe}function uGt(e){epe.call(this,e)}function lGt(e){epe.call(this,e)}function q$e(e){tre.call(this,e)}function V$e(e){tre.call(this,e)}function U$e(e){wUe.call(this,e)}function Cee(e){Mln.call(this,e)}function uv(e){km.call(this,e)}function pT(e){eR.call(this,e)}function ipe(e){eR.call(this,e)}function K$e(e){eR.call(this,e)}function ec(e){IKe.call(this,e)}function W$e(e){ec.call(this,e)}function f6(){O8.call(this,{})}function GF(e){J8(),this.a=e}function bT(e){e.b=null,e.c=0}function hGt(e,t){e.e=t,Qat(e,t)}function fGt(e,t){e.a=t,bhn(e)}function See(e,t,n){e.a[t.g]=n}function dGt(e,t,n){Icn(n,e,t)}function gGt(e,t){jUt(t.i,e.n)}function Y$e(e,t){$rn(e).td(t)}function pGt(e,t){return e*e/t}function X$e(e,t){return e.g-t.g}function bGt(e){return new rT(e)}function vGt(e){return new Nm(e)}function qF(e){ec.call(this,e)}function Mo(e){ec.call(this,e)}function Q$e(e){ec.call(this,e)}function Aee(e){IKe.call(this,e)}function Lee(e){xme(),this.a=e}function Z$e(e){TUe(),this.a=e}function wm(e){sne(),this.f=e}function Mee(e){sne(),this.f=e}function $8(e){ec.call(this,e)}function Dn(e){ec.call(this,e)}function Vo(e){ec.call(this,e)}function J$e(e){ec.call(this,e)}function d6(e){ec.call(this,e)}function Bt(e){return An(e),e}function We(e){return An(e),e}function qL(e){return An(e),e}function spe(e){return An(e),e}function wGt(e){return An(e),e}function vT(e){return e.b==e.c}function mm(e){return!!e&&e.b}function mGt(e){return!!e&&e.k}function yGt(e){return!!e&&e.j}function Cl(e){An(e),this.a=e}function ape(e){return rb(e),e}function wT(e){wve(e,e.length)}function fg(e){ec.call(this,e)}function ud(e){ec.call(this,e)}function Dee(e){ec.call(this,e)}function A3(e){ec.call(this,e)}function mT(e){ec.call(this,e)}function $r(e){ec.call(this,e)}function Iee(e){q2e.call(this,e,0)}function Oee(){Zve.call(this,12,3)}function ope(){ope=de,cxe=new we}function eHe(){eHe=de,oxe=new A}function VF(){VF=de,zC=new xe}function tHe(){tHe=de,Idt=new Me}function nHe(){throw ee(new Rr)}function cpe(){throw ee(new Rr)}function rHe(){throw ee(new Rr)}function kGt(){throw ee(new Rr)}function xGt(){throw ee(new Rr)}function EGt(){throw ee(new Rr)}function Nee(){this.a=Hr(Or(so))}function g6(e){gd(),this.a=Or(e)}function iHe(e,t){e.Td(t),t.Sd(e)}function TGt(e,t){e.a.ec().Mc(t)}function _Gt(e,t,n){e.c.lf(t,n)}function upe(e){Mo.call(this,e)}function ld(e){Dn.call(this,e)}function dg(){a6.call(this,"")}function yT(){a6.call(this,"")}function yp(){a6.call(this,"")}function ym(){a6.call(this,"")}function lpe(e){Mo.call(this,e)}function H8(e){E.call(this,e)}function Pee(e){HR.call(this,e)}function sHe(e){H8.call(this,e)}function aHe(){tT.call(this,null)}function oHe(){tT.call(this,null)}function UF(){UF=de,gx()}function cHe(){cHe=de,zdt=sun()}function uHe(e){return e.a?e.b:0}function CGt(e){return e.a?e.b:0}function SGt(e,t){return e.a-t.a}function AGt(e,t){return e.a-t.a}function LGt(e,t){return e.a-t.a}function KF(e,t){return zwe(e,t)}function ne(e,t){return LYe(e,t)}function MGt(e,t){return t in e.a}function lHe(e,t){return e.f=t,e}function DGt(e,t){return e.b=t,e}function hHe(e,t){return e.c=t,e}function IGt(e,t){return e.g=t,e}function hpe(e,t){return e.a=t,e}function fpe(e,t){return e.f=t,e}function OGt(e,t){return e.k=t,e}function dpe(e,t){return e.a=t,e}function NGt(e,t){return e.e=t,e}function gpe(e,t){return e.e=t,e}function PGt(e,t){return e.f=t,e}function BGt(e,t){e.b=!0,e.d=t}function FGt(e,t){e.b=new Do(t)}function RGt(e,t,n){t.td(e.a[n])}function jGt(e,t,n){t.we(e.a[n])}function $Gt(e,t){return e.b-t.b}function HGt(e,t){return e.g-t.g}function zGt(e,t){return e.s-t.s}function GGt(e,t){return e?0:t-1}function fHe(e,t){return e?0:t-1}function qGt(e,t){return e?t-1:0}function VGt(e,t){return t.Yf(e)}function lv(e,t){return e.b=t,e}function WF(e,t){return e.a=t,e}function hv(e,t){return e.c=t,e}function fv(e,t){return e.d=t,e}function dv(e,t){return e.e=t,e}function ppe(e,t){return e.f=t,e}function kT(e,t){return e.a=t,e}function z8(e,t){return e.b=t,e}function G8(e,t){return e.c=t,e}function Wt(e,t){return e.c=t,e}function vn(e,t){return e.b=t,e}function Yt(e,t){return e.d=t,e}function Xt(e,t){return e.e=t,e}function UGt(e,t){return e.f=t,e}function Qt(e,t){return e.g=t,e}function Zt(e,t){return e.a=t,e}function Jt(e,t){return e.i=t,e}function en(e,t){return e.j=t,e}function dHe(e,t){return e.k=t,e}function KGt(e,t){return e.j=t,e}function WGt(e,t){Up(),nc(t,e)}function YGt(e,t,n){GYt(e.a,t,n)}function gHe(e){DWe.call(this,e)}function bpe(e){DWe.call(this,e)}function YF(e){zte.call(this,e)}function pHe(e){fsn.call(this,e)}function kp(e){Rv.call(this,e)}function bHe(e){Mne.call(this,e)}function vHe(e){Mne.call(this,e)}function wHe(){k2e.call(this,"")}function $a(){this.a=0,this.b=0}function mHe(){this.b=0,this.a=0}function yHe(e,t){e.b=0,Vm(e,t)}function XGt(e,t){e.c=t,e.b=!0}function kHe(e,t){return e.c._b(t)}function Wf(e){return e.e&&e.e()}function Bee(e){return e?e.d:null}function xHe(e,t){return Xtt(e.b,t)}function QGt(e){return e?e.g:null}function ZGt(e){return e?e.i:null}function xp(e){return S0(e),e.o}function gv(){gv=de,$yt=bcn()}function EHe(){EHe=de,la=Aun()}function q8(){q8=de,hAe=wcn()}function THe(){THe=de,T3t=vcn()}function vpe(){vpe=de,_c=dhn()}function wpe(){wpe=de,w2=Dx()}function _He(){throw ee(new Rr)}function CHe(){throw ee(new Rr)}function SHe(){throw ee(new Rr)}function AHe(){throw ee(new Rr)}function LHe(){throw ee(new Rr)}function MHe(){throw ee(new Rr)}function XF(e){this.a=new p6(e)}function mpe(e){Sut(),xwn(this,e)}function Ep(e){this.a=new une(e)}function L3(e,t){for(;e.ye(t););}function ype(e,t){for(;e.sd(t););}function M3(e,t){return e.a+=t,e}function Fee(e,t){return e.a+=t,e}function gg(e,t){return e.a+=t,e}function pv(e,t){return e.a+=t,e}function xT(e){return Np(e),e.a}function QF(e){return e.b!=e.d.c}function DHe(e){return e.l|e.m<<22}function kpe(e,t){return e.d[t.p]}function IHe(e,t){return n0n(e,t)}function xpe(e,t,n){e.splice(t,n)}function OHe(e){e.c?wot(e):mot(e)}function ZF(e){this.a=0,this.b=e}function NHe(){this.a=new KD(T_e)}function PHe(){this.b=new KD(l_e)}function BHe(){this.b=new KD(dhe)}function FHe(){this.b=new KD(dhe)}function RHe(){throw ee(new Rr)}function jHe(){throw ee(new Rr)}function $He(){throw ee(new Rr)}function HHe(){throw ee(new Rr)}function zHe(){throw ee(new Rr)}function GHe(){throw ee(new Rr)}function qHe(){throw ee(new Rr)}function VHe(){throw ee(new Rr)}function UHe(){throw ee(new Rr)}function KHe(){throw ee(new Rr)}function JGt(){throw ee(new yc)}function eqt(){throw ee(new yc)}function VL(e){this.a=new WHe(e)}function WHe(e){hnn(this,e,hun())}function UL(e){return!e||pWe(e)}function KL(e){return Z1[e]!=-1}function tqt(){bG!=0&&(bG=0),vG=-1}function YHe(){jce==null&&(jce=[])}function nqt(e,t){pse(qe(e.a),t)}function rqt(e,t){pse(qe(e.a),t)}function WL(e,t){j3.call(this,e,t)}function V8(e,t){WL.call(this,e,t)}function Epe(e,t){this.b=e,this.c=t}function XHe(e,t){this.b=e,this.a=t}function QHe(e,t){this.a=e,this.b=t}function ZHe(e,t){this.a=e,this.b=t}function JHe(e,t){this.a=e,this.b=t}function eze(e,t){this.a=e,this.b=t}function tze(e,t){this.a=e,this.b=t}function nze(e,t){this.a=e,this.b=t}function rze(e,t){this.a=e,this.b=t}function ize(e,t){this.a=e,this.b=t}function sze(e,t){this.b=e,this.a=t}function aze(e,t){this.b=e,this.a=t}function oze(e,t){this.b=e,this.a=t}function cze(e,t){this.b=e,this.a=t}function Wr(e,t){this.f=e,this.g=t}function U8(e,t){this.e=e,this.d=t}function bv(e,t){this.g=e,this.i=t}function Ree(e,t){this.a=e,this.b=t}function uze(e,t){this.a=e,this.f=t}function lze(e,t){this.b=e,this.c=t}function iqt(e,t){this.a=e,this.b=t}function hze(e,t){this.a=e,this.b=t}function jee(e,t){this.a=e,this.b=t}function fze(e){O2e(e.dc()),this.c=e}function JF(e){this.b=u(Or(e),83)}function dze(e){this.a=u(Or(e),83)}function km(e){this.a=u(Or(e),15)}function gze(e){this.a=u(Or(e),15)}function eR(e){this.b=u(Or(e),47)}function tR(){this.q=new b.Date}function Gd(){Gd=de,Exe=new ct}function K8(){K8=de,z7=new Re}function ET(e){return e.f.c+e.g.c}function YL(e,t){return e.b.Hc(t)}function pze(e,t){return e.b.Ic(t)}function bze(e,t){return e.b.Qc(t)}function vze(e,t){return e.b.Hc(t)}function wze(e,t){return e.c.uc(t)}function _0(e,t){return e.a._b(t)}function mze(e,t){return Ci(e.c,t)}function yze(e,t){return Ml(e.b,t)}function kze(e,t){return e>t&&t0}function Hee(e,t){return Lc(e,t)<0}function LT(e,t){return e.a.get(t)}function vqt(e,t){return t.split(e)}function $ze(e,t){return Ml(e.e,t)}function Dpe(e){return An(e),!1}function hR(e){kn.call(this,e,21)}function wqt(e,t){vYe.call(this,e,t)}function fR(e,t){Wr.call(this,e,t)}function zee(e,t){Wr.call(this,e,t)}function Ipe(e){xne(),wUe.call(this,e)}function Ope(e,t){kKe(e,e.length,t)}function eM(e,t){XKe(e,e.length,t)}function mqt(e,t,n){t.ud(e.a.Ge(n))}function yqt(e,t,n){t.we(e.a.Fe(n))}function kqt(e,t,n){t.td(e.a.Kb(n))}function xqt(e,t,n){e.Mb(n)&&t.td(n)}function MT(e,t,n){e.splice(t,0,n)}function Eqt(e,t){return zu(e.e,t)}function dR(e,t){this.d=e,this.e=t}function Hze(e,t){this.b=e,this.a=t}function zze(e,t){this.b=e,this.a=t}function Npe(e,t){this.b=e,this.a=t}function Gze(e,t){this.a=e,this.b=t}function qze(e,t){this.a=e,this.b=t}function Vze(e,t){this.a=e,this.b=t}function Uze(e,t){this.a=e,this.b=t}function v6(e,t){this.a=e,this.b=t}function Ppe(e,t){this.b=e,this.a=t}function Bpe(e,t){this.b=e,this.a=t}function gR(e,t){Wr.call(this,e,t)}function pR(e,t){Wr.call(this,e,t)}function Fpe(e,t){Wr.call(this,e,t)}function Rpe(e,t){Wr.call(this,e,t)}function D3(e,t){Wr.call(this,e,t)}function Gee(e,t){Wr.call(this,e,t)}function qee(e,t){Wr.call(this,e,t)}function Vee(e,t){Wr.call(this,e,t)}function bR(e,t){Wr.call(this,e,t)}function jpe(e,t){Wr.call(this,e,t)}function Uee(e,t){Wr.call(this,e,t)}function tM(e,t){Wr.call(this,e,t)}function vR(e,t){Wr.call(this,e,t)}function Kee(e,t){Wr.call(this,e,t)}function DT(e,t){Wr.call(this,e,t)}function $pe(e,t){Wr.call(this,e,t)}function Cs(e,t){Wr.call(this,e,t)}function wR(e,t){Wr.call(this,e,t)}function Kze(e,t){this.a=e,this.b=t}function Wze(e,t){this.a=e,this.b=t}function Yze(e,t){this.a=e,this.b=t}function Xze(e,t){this.a=e,this.b=t}function Qze(e,t){this.a=e,this.b=t}function Zze(e,t){this.a=e,this.b=t}function Jze(e,t){this.a=e,this.b=t}function eGe(e,t){this.a=e,this.b=t}function tGe(e,t){this.a=e,this.b=t}function Hpe(e,t){this.b=e,this.a=t}function nGe(e,t){this.b=e,this.a=t}function rGe(e,t){this.b=e,this.a=t}function iGe(e,t){this.b=e,this.a=t}function X8(e,t){this.c=e,this.d=t}function sGe(e,t){this.e=e,this.d=t}function aGe(e,t){this.a=e,this.b=t}function oGe(e,t){this.b=t,this.c=e}function mR(e,t){Wr.call(this,e,t)}function nM(e,t){Wr.call(this,e,t)}function Wee(e,t){Wr.call(this,e,t)}function IT(e,t){Wr.call(this,e,t)}function zpe(e,t){Wr.call(this,e,t)}function Yee(e,t){Wr.call(this,e,t)}function Xee(e,t){Wr.call(this,e,t)}function rM(e,t){Wr.call(this,e,t)}function Gpe(e,t){Wr.call(this,e,t)}function Qee(e,t){Wr.call(this,e,t)}function OT(e,t){Wr.call(this,e,t)}function qpe(e,t){Wr.call(this,e,t)}function NT(e,t){Wr.call(this,e,t)}function PT(e,t){Wr.call(this,e,t)}function Em(e,t){Wr.call(this,e,t)}function Zee(e,t){Wr.call(this,e,t)}function Jee(e,t){Wr.call(this,e,t)}function Vpe(e,t){Wr.call(this,e,t)}function BT(e,t){Wr.call(this,e,t)}function ete(e,t){Wr.call(this,e,t)}function yR(e,t){Wr.call(this,e,t)}function iM(e,t){Wr.call(this,e,t)}function sM(e,t){Wr.call(this,e,t)}function w6(e,t){Wr.call(this,e,t)}function tte(e,t){Wr.call(this,e,t)}function Upe(e,t){Wr.call(this,e,t)}function nte(e,t){Wr.call(this,e,t)}function rte(e,t){Wr.call(this,e,t)}function Kpe(e,t){Wr.call(this,e,t)}function ite(e,t){Wr.call(this,e,t)}function ste(e,t){Wr.call(this,e,t)}function ate(e,t){Wr.call(this,e,t)}function ote(e,t){Wr.call(this,e,t)}function Wpe(e,t){Wr.call(this,e,t)}function cGe(e,t){this.b=e,this.a=t}function uGe(e,t){this.a=e,this.b=t}function lGe(e,t){this.a=e,this.b=t}function hGe(e,t){this.a=e,this.b=t}function fGe(e,t){this.a=e,this.b=t}function Ype(e,t){Wr.call(this,e,t)}function Xpe(e,t){Wr.call(this,e,t)}function dGe(e,t){this.b=e,this.d=t}function Qpe(e,t){Wr.call(this,e,t)}function Zpe(e,t){Wr.call(this,e,t)}function gGe(e,t){this.a=e,this.b=t}function pGe(e,t){this.a=e,this.b=t}function kR(e,t){Wr.call(this,e,t)}function FT(e,t){Wr.call(this,e,t)}function Jpe(e,t){Wr.call(this,e,t)}function e2e(e,t){Wr.call(this,e,t)}function t2e(e,t){Wr.call(this,e,t)}function cte(e,t){Wr.call(this,e,t)}function n2e(e,t){Wr.call(this,e,t)}function ute(e,t){Wr.call(this,e,t)}function xR(e,t){Wr.call(this,e,t)}function lte(e,t){Wr.call(this,e,t)}function hte(e,t){Wr.call(this,e,t)}function aM(e,t){Wr.call(this,e,t)}function fte(e,t){Wr.call(this,e,t)}function r2e(e,t){Wr.call(this,e,t)}function oM(e,t){Wr.call(this,e,t)}function i2e(e,t){Wr.call(this,e,t)}function Tqt(e,t){return zu(e.c,t)}function _qt(e,t){return zu(t.b,e)}function Cqt(e,t){return-e.b.Je(t)}function s2e(e,t){return zu(e.g,t)}function cM(e,t){Wr.call(this,e,t)}function m6(e,t){Wr.call(this,e,t)}function bGe(e,t){this.a=e,this.b=t}function vGe(e,t){this.a=e,this.b=t}function Ft(e,t){this.a=e,this.b=t}function RT(e,t){Wr.call(this,e,t)}function jT(e,t){Wr.call(this,e,t)}function uM(e,t){Wr.call(this,e,t)}function dte(e,t){Wr.call(this,e,t)}function ER(e,t){Wr.call(this,e,t)}function $T(e,t){Wr.call(this,e,t)}function gte(e,t){Wr.call(this,e,t)}function TR(e,t){Wr.call(this,e,t)}function I3(e,t){Wr.call(this,e,t)}function lM(e,t){Wr.call(this,e,t)}function HT(e,t){Wr.call(this,e,t)}function zT(e,t){Wr.call(this,e,t)}function hM(e,t){Wr.call(this,e,t)}function _R(e,t){Wr.call(this,e,t)}function O3(e,t){Wr.call(this,e,t)}function CR(e,t){Wr.call(this,e,t)}function wGe(e,t){this.a=e,this.b=t}function mGe(e,t){this.a=e,this.b=t}function yGe(e,t){this.a=e,this.b=t}function kGe(e,t){this.a=e,this.b=t}function xGe(e,t){this.a=e,this.b=t}function EGe(e,t){this.a=e,this.b=t}function _a(e,t){this.a=e,this.b=t}function SR(e,t){Wr.call(this,e,t)}function TGe(e,t){this.a=e,this.b=t}function _Ge(e,t){this.a=e,this.b=t}function CGe(e,t){this.a=e,this.b=t}function SGe(e,t){this.a=e,this.b=t}function AGe(e,t){this.a=e,this.b=t}function LGe(e,t){this.a=e,this.b=t}function MGe(e,t){this.b=e,this.a=t}function DGe(e,t){this.b=e,this.a=t}function IGe(e,t){this.b=e,this.a=t}function OGe(e,t){this.b=e,this.a=t}function NGe(e,t){this.a=e,this.b=t}function PGe(e,t){this.a=e,this.b=t}function Sqt(e,t){rdn(e.a,u(t,56))}function BGe(e,t){ptn(e.a,u(t,11))}function Aqt(e,t){return ix(),t!=e}function FGe(){return cHe(),new zdt}function RGe(){Hne(),this.b=new Ys}function jGe(){$H(),this.a=new Ys}function $Ge(){Qve(),ave.call(this)}function y6(e,t){Wr.call(this,e,t)}function HGe(e,t){this.a=e,this.b=t}function zGe(e,t){this.a=e,this.b=t}function AR(e,t){this.a=e,this.b=t}function GGe(e,t){this.a=e,this.b=t}function qGe(e,t){this.a=e,this.b=t}function VGe(e,t){this.a=e,this.b=t}function UGe(e,t){this.d=e,this.b=t}function a2e(e,t){this.d=e,this.e=t}function KGe(e,t){this.f=e,this.c=t}function fM(e,t){this.b=e,this.c=t}function o2e(e,t){this.i=e,this.g=t}function WGe(e,t){this.e=e,this.a=t}function YGe(e,t){this.a=e,this.b=t}function c2e(e,t){e.i=null,M$(e,t)}function Lqt(e,t){e&&Si(zO,e,t)}function XGe(e,t){return mie(e.a,t)}function LR(e){return _D(e.c,e.b)}function hc(e){return e?e.dd():null}function $e(e){return e??null}function Tm(e){return typeof e===nk}function _m(e){return typeof e===H5e}function ga(e){return typeof e===sae}function Cp(e,t){return e.Hd().Xb(t)}function MR(e,t){return Vnn(e.Kc(),t)}function wv(e,t){return Lc(e,t)==0}function Mqt(e,t){return Lc(e,t)>=0}function GT(e,t){return Lc(e,t)!=0}function Dqt(e){return""+(An(e),e)}function dM(e,t){return e.substr(t)}function QGe(e){return bl(e),e.d.gc()}function pte(e){return Sfn(e,e.c),e}function DR(e){return n_(e==null),e}function qT(e,t){return e.a+=""+t,e}function To(e,t){return e.a+=""+t,e}function VT(e,t){return e.a+=""+t,e}function kc(e,t){return e.a+=""+t,e}function Yr(e,t){return e.a+=""+t,e}function u2e(e,t){return e.a+=""+t,e}function ZGe(e,t){ks(e,t,e.a,e.a.a)}function H2(e,t){ks(e,t,e.c.b,e.c)}function Iqt(e,t,n){uit(t,cse(e,n))}function Oqt(e,t,n){uit(t,cse(e,n))}function Nqt(e,t){Ctn(new ir(e),t)}function JGe(e,t){e.q.setTime(Pv(t))}function eqe(e,t){pve.call(this,e,t)}function tqe(e,t){pve.call(this,e,t)}function bte(e,t){pve.call(this,e,t)}function nqe(e){il(this),A_(this,e)}function l2e(e){return En(e,0),null}function Yf(e){return e.a=0,e.b=0,e}function rqe(e,t){return e.a=t.g+1,e}function Pqt(e,t){return e.j[t.p]==2}function h2e(e){return vXt(u(e,79))}function iqe(){iqe=de,B0t=Qr(_ie())}function sqe(){sqe=de,Jgt=Qr(Gat())}function aqe(){this.b=new p6(zm(12))}function oqe(){this.b=0,this.a=!1}function cqe(){this.b=0,this.a=!1}function UT(e){this.a=e,Y9.call(this)}function uqe(e){this.a=e,Y9.call(this)}function pn(e,t){Hs.call(this,e,t)}function vte(e,t){Mm.call(this,e,t)}function N3(e,t){o2e.call(this,e,t)}function wte(e,t){Bx.call(this,e,t)}function lqe(e,t){gM.call(this,e,t)}function ci(e,t){uR(),Si(DV,e,t)}function mte(e,t){return $l(e.a,0,t)}function hqe(e,t){return e.a.a.a.cc(t)}function fqe(e,t){return $e(e)===$e(t)}function Bqt(e,t){return Bs(e.a,t.a)}function Fqt(e,t){return ku(e.a,t.a)}function Rqt(e,t){return KKe(e.a,t.a)}function hd(e,t){return e.indexOf(t)}function mv(e,t){return e==t?0:e?1:-1}function IR(e){return e<10?"0"+e:""+e}function jqt(e){return Or(e),new UT(e)}function dqe(e){return cu(e.l,e.m,e.h)}function Q8(e){return _s((An(e),e))}function $qt(e){return _s((An(e),e))}function gqe(e,t){return ku(e.g,t.g)}function Uo(e){return typeof e===H5e}function Hqt(e){return e==bw||e==Ey}function zqt(e){return e==bw||e==xy}function f2e(e){return Ko(e.b.b,e,0)}function pqe(e){this.a=FGe(),this.b=e}function bqe(e){this.a=FGe(),this.b=e}function Gqt(e,t){return st(e.a,t),t}function qqt(e,t){return st(e.c,t),e}function vqe(e,t){return Ul(e.a,t),e}function Vqt(e,t){return vf(),t.a+=e}function Uqt(e,t){return vf(),t.a+=e}function Kqt(e,t){return vf(),t.c+=e}function d2e(e,t){xx(e,0,e.length,t)}function C0(){ve.call(this,new Y2)}function wqe(){hj.call(this,0,0,0,0)}function k6(){fh.call(this,0,0,0,0)}function Do(e){this.a=e.a,this.b=e.b}function Sp(e){return e==Wh||e==Lf}function Z8(e){return e==X0||e==Y0}function mqe(e){return e==U4||e==V4}function P3(e){return e!=Y1&&e!=g2}function Sl(e){return e.Lg()&&e.Mg()}function yqe(e){return Sj(u(e,118))}function OR(e){return Ul(new Xs,e)}function kqe(e,t){return new Bx(t,e)}function Wqt(e,t){return new Bx(t,e)}function g2e(e,t,n){x$(e,t),E$(e,n)}function NR(e,t,n){Hv(e,t),$v(e,n)}function _1(e,t,n){Au(e,t),Lu(e,n)}function PR(e,t,n){Cx(e,t),Ax(e,n)}function BR(e,t,n){Sx(e,t),Lx(e,n)}function yte(e,t){zx(e,t),Mx(e,e.D)}function p2e(e){KGe.call(this,e,!0)}function xqe(e,t,n){ibe.call(this,e,t,n)}function Ap(e){Kp(),Ynn.call(this,e)}function Eqe(){fR.call(this,"Head",1)}function Tqe(){fR.call(this,"Tail",3)}function kte(e){e.c=Ie(Xn,_t,1,0,5,1)}function _qe(e){e.a=Ie(Xn,_t,1,8,5,1)}function Cqe(e){Su(e.xf(),new fr(e))}function B3(e){return e!=null?Yi(e):0}function Yqt(e,t){return Gm(t,A1(e))}function Xqt(e,t){return Gm(t,A1(e))}function Qqt(e,t){return e[e.length]=t}function Zqt(e,t){return e[e.length]=t}function b2e(e){return QWt(e.b.Kc(),e.a)}function Jqt(e,t){return L$(yne(e.d),t)}function eVt(e,t){return L$(yne(e.g),t)}function tVt(e,t){return L$(yne(e.j),t)}function fo(e,t){Hs.call(this,e.b,t)}function yv(e){hj.call(this,e,e,e,e)}function v2e(e){return e.b&&zse(e),e.a}function w2e(e){return e.b&&zse(e),e.c}function nVt(e,t){q1||(e.b=t)}function xte(e,t,n){return us(e,t,n),n}function Sqe(e,t,n){us(e.c[t.g],t.g,n)}function rVt(e,t,n){u(e.c,69).Xh(t,n)}function iVt(e,t,n){_1(n,n.i+e,n.j+t)}function sVt(e,t){Pr(Bc(e.a),HYe(t))}function aVt(e,t){Pr(gl(e.a),zYe(t))}function KT(e){mi(),ov.call(this,e)}function oVt(e){return e==null?0:Yi(e)}function Aqe(){Aqe=de,Ule=new R_(Hhe)}function jr(){jr=de,new Lqe,new at}function Lqe(){new Ar,new Ar,new Ar}function m2e(){m2e=de,Fge(),uxe=new Ar}function C1(){C1=de,b.Math.log(2)}function lh(){lh=de,d0=(Pze(),Uyt)}function cVt(){throw ee(new fg(vdt))}function uVt(){throw ee(new fg(vdt))}function lVt(){throw ee(new fg(wdt))}function hVt(){throw ee(new fg(wdt))}function Mqe(e){this.a=e,Fbe.call(this,e)}function Ete(e){this.a=e,JF.call(this,e)}function Tte(e){this.a=e,JF.call(this,e)}function aa(e,t){tne(e.c,e.c.length,t)}function tc(e){return e.at?1:0}function Iqe(e,t){return Lc(e,t)>0?e:t}function cu(e,t,n){return{l:e,m:t,h:n}}function fVt(e,t){e.a!=null&&BGe(t,e.a)}function Oqe(e){e.a=new bt,e.c=new bt}function FR(e){this.b=e,this.a=new at}function Nqe(e){this.b=new cs,this.a=e}function k2e(e){dbe.call(this),this.a=e}function Pqe(){fR.call(this,"Range",2)}function Bqe(){p3e(),this.a=new KD(F7e)}function dVt(e,t){Or(t),H3(e).Jc(new le)}function gVt(e,t){return Hl(),t.n.b+=e}function pVt(e,t,n){return Si(e.g,n,t)}function bVt(e,t,n){return Si(e.k,n,t)}function vVt(e,t){return Si(e.a,t.a,t)}function F3(e,t,n){return Pye(t,n,e.c)}function x2e(e){return new Ft(e.c,e.d)}function wVt(e){return new Ft(e.c,e.d)}function fc(e){return new Ft(e.a,e.b)}function Fqe(e,t){return Hbn(e.a,t,null)}function mVt(e){Ka(e,null),wa(e,null)}function Rqe(e){Gne(e,null),qne(e,null)}function jqe(){gM.call(this,null,null)}function $qe(){VR.call(this,null,null)}function E2e(e){this.a=e,Ar.call(this)}function yVt(e){this.b=(fn(),new $(e))}function RR(e){e.j=Ie(xxe,Je,310,0,0,1)}function kVt(e,t,n){e.c.Vc(t,u(n,133))}function xVt(e,t,n){e.c.ji(t,u(n,133))}function Hqe(e,t){_r(e),e.Gc(u(t,15))}function WT(e,t){return rbn(e.c,e.b,t)}function EVt(e,t){return new uVe(e.Kc(),t)}function _te(e,t){return xrn(e.Kc(),t)!=-1}function T2e(e,t){return e.a.Bc(t)!=null}function jR(e){return e.Ob()?e.Pb():null}function zqe(e){return Fh(e,0,e.length)}function me(e,t){return e!=null&&Lie(e,t)}function TVt(e,t){e.q.setHours(t),rC(e,t)}function Gqe(e,t){e.c&&(Wbe(t),pYe(t))}function _Vt(e,t,n){u(e.Kb(n),164).Nb(t)}function CVt(e,t,n){return Nbn(e,t,n),n}function qqe(e,t,n){e.a=t^1502,e.b=n^Rae}function Cte(e,t,n){return e.a[t.g][n.g]}function S1(e,t){return e.a[t.c.p][t.p]}function SVt(e,t){return e.e[t.c.p][t.p]}function AVt(e,t){return e.c[t.c.p][t.p]}function LVt(e,t){return e.j[t.p]=R1n(t)}function MVt(e,t){return Swe(e.f,t.tg())}function DVt(e,t){return Swe(e.b,t.tg())}function IVt(e,t){return e.a0?t*t/e:t*t*100}function rUt(e,t){return e>0?t/(e*e):t*100}function iUt(e,t,n){return st(t,pnt(e,n))}function sUt(e,t,n){c$(),e.Xe(t)&&n.td(e)}function tx(e,t,n){var r;r=e.Zc(t),r.Rb(n)}function Sm(e,t,n){return e.a+=t,e.b+=n,e}function aUt(e,t,n){return e.a*=t,e.b*=n,e}function vM(e,t,n){return e.a-=t,e.b-=n,e}function W2e(e,t){return e.a=t.a,e.b=t.b,e}function WR(e){return e.a=-e.a,e.b=-e.b,e}function kVe(e){this.c=e,this.a=1,this.b=1}function xVe(e){this.c=e,Au(e,0),Lu(e,0)}function EVe(e){as.call(this),T_(this,e)}function TVe(e){rae(),Yje(this),this.mf(e)}function _Ve(e,t){AT(),gM.call(this,e,t)}function Y2e(e,t){pg(),VR.call(this,e,t)}function CVe(e,t){pg(),VR.call(this,e,t)}function SVe(e,t){pg(),Y2e.call(this,e,t)}function Al(e,t,n){Il.call(this,e,t,n,2)}function Ote(e,t){lh(),lj.call(this,e,t)}function AVe(e,t){lh(),Ote.call(this,e,t)}function X2e(e,t){lh(),Ote.call(this,e,t)}function LVe(e,t){lh(),X2e.call(this,e,t)}function Q2e(e,t){lh(),lj.call(this,e,t)}function MVe(e,t){lh(),Q2e.call(this,e,t)}function DVe(e,t){lh(),lj.call(this,e,t)}function oUt(e,t){return e.c.Fc(u(t,133))}function Z2e(e,t,n){return ZH(JM(e,t),n)}function cUt(e,t,n){return t.Qk(e.e,e.c,n)}function uUt(e,t,n){return t.Rk(e.e,e.c,n)}function Nte(e,t){return zp(e.e,u(t,49))}function lUt(e,t,n){B_(gl(e.a),t,zYe(n))}function hUt(e,t,n){B_(Bc(e.a),t,HYe(n))}function J2e(e,t){t.$modCount=e.$modCount}function JT(){JT=de,ES=new Qi("root")}function nx(){nx=de,qO=new S$e,new A$e}function IVe(){this.a=new Ov,this.b=new Ov}function ebe(){QJe.call(this),this.Bb|=ao}function OVe(){Wr.call(this,"GROW_TREE",0)}function fUt(e){return e==null?null:Mvn(e)}function dUt(e){return e==null?null:Rln(e)}function gUt(e){return e==null?null:Yo(e)}function pUt(e){return e==null?null:Yo(e)}function S0(e){e.o==null&&f1n(e)}function Nt(e){return n_(e==null||Tm(e)),e}function gt(e){return n_(e==null||_m(e)),e}function Hr(e){return n_(e==null||ga(e)),e}function tbe(e){this.q=new b.Date(Pv(e))}function wM(e,t){this.c=e,U8.call(this,e,t)}function YR(e,t){this.a=e,wM.call(this,e,t)}function bUt(e,t){this.d=e,iee(this),this.b=t}function nbe(e,t){hre.call(this,e),this.a=t}function rbe(e,t){hre.call(this,e),this.a=t}function vUt(e){Mye.call(this,0,0),this.f=e}function ibe(e,t,n){a$.call(this,e,t,n,null)}function NVe(e,t,n){a$.call(this,e,t,n,null)}function wUt(e,t,n){return e.ue(t,n)<=0?n:t}function mUt(e,t,n){return e.ue(t,n)<=0?t:n}function yUt(e,t){return u(Fv(e.b,t),149)}function kUt(e,t){return u(Fv(e.c,t),229)}function Pte(e){return u(It(e.a,e.b),287)}function PVe(e){return new Ft(e.c,e.d+e.a)}function BVe(e){return Hl(),mqe(u(e,197))}function Am(){Am=de,f7e=sn((Nl(),Rb))}function xUt(e,t){t.a?o0n(e,t):Ste(e.a,t.b)}function FVe(e,t){q1||st(e.a,t)}function EUt(e,t){return QL(),Px(t.d.i,e)}function TUt(e,t){return G6(),new Hot(t,e)}function dd(e,t){return NM(t,o6e),e.f=t,e}function sbe(e,t,n){return n=Yl(e,t,3,n),n}function abe(e,t,n){return n=Yl(e,t,6,n),n}function obe(e,t,n){return n=Yl(e,t,9,n),n}function mM(e,t,n){++e.j,e.Ki(),ure(e,t,n)}function RVe(e,t,n){++e.j,e.Hi(t,e.oi(t,n))}function jVe(e,t,n){var r;r=e.Zc(t),r.Rb(n)}function $Ve(e,t,n){return k5e(e.c,e.b,t,n)}function cbe(e,t){return(t&xi)%e.d.length}function Hs(e,t){Qi.call(this,e),this.a=t}function ube(e,t){Mge.call(this,e),this.a=t}function Bte(e,t){Mge.call(this,e),this.a=t}function HVe(e,t){this.c=e,Rv.call(this,t)}function zVe(e,t){this.a=e,Gje.call(this,t)}function yM(e,t){this.a=e,Gje.call(this,t)}function GVe(e){this.a=(Vl(e,ly),new tu(e))}function qVe(e){this.a=(Vl(e,ly),new tu(e))}function kM(e){return!e.a&&(e.a=new ce),e.a}function VVe(e){return e>8?0:e+1}function _Ut(e,t){return In(),e==t?0:e?1:-1}function lbe(e,t,n){return S6(e,u(t,22),n)}function CUt(e,t,n){return e.apply(t,n)}function UVe(e,t,n){return e.a+=Fh(t,0,n),e}function hbe(e,t){var n;return n=e.e,e.e=t,n}function SUt(e,t){var n;n=e[Fae],n.call(e,t)}function AUt(e,t){var n;n=e[Fae],n.call(e,t)}function Lm(e,t){e.a.Vc(e.b,t),++e.b,e.c=-1}function KVe(e){il(e.e),e.d.b=e.d,e.d.a=e.d}function xM(e){e.b?xM(e.b):e.f.c.zc(e.e,e.d)}function LUt(e,t,n){$2(),VJ(e,t.Ce(e.a,n))}function MUt(e,t){return Bee(Dnt(e.a,t,!0))}function DUt(e,t){return Bee(Int(e.a,t,!0))}function bf(e,t){return KF(new Array(t),e)}function Fte(e){return String.fromCharCode(e)}function IUt(e){return e==null?null:e.message}function WVe(){this.a=new at,this.b=new at}function YVe(){this.a=new s8,this.b=new i$e}function XVe(){this.b=new $a,this.c=new at}function fbe(){this.d=new $a,this.e=new $a}function dbe(){this.n=new $a,this.o=new $a}function XR(){this.n=new h6,this.i=new k6}function QVe(){this.a=new dJ,this.b=new pX}function ZVe(){this.a=new at,this.d=new at}function JVe(){this.b=new Ys,this.a=new Ys}function eUe(){this.b=new Ar,this.a=new Ar}function tUe(){this.b=new PHe,this.a=new cQ}function nUe(){XR.call(this),this.a=new $a}function e_(e){rrn.call(this,e,(l$(),eue))}function gbe(e,t,n,r){hj.call(this,e,t,n,r)}function OUt(e,t,n){n!=null&&S$(t,$ie(e,n))}function NUt(e,t,n){n!=null&&A$(t,$ie(e,n))}function pbe(e,t,n){return n=Yl(e,t,11,n),n}function Ni(e,t){return e.a+=t.a,e.b+=t.b,e}function pa(e,t){return e.a-=t.a,e.b-=t.b,e}function PUt(e,t){return e.n.a=(An(t),t+10)}function BUt(e,t){return e.n.a=(An(t),t+10)}function FUt(e,t){return t==e||n7(FH(t),e)}function rUe(e,t){return Si(e.a,t,"")==null}function RUt(e,t){return QL(),!Px(t.d.i,e)}function jUt(e,t){Sp(e.f)?n1n(e,t):$un(e,t)}function $Ut(e,t){var n;return n=t.Hh(e.a),n}function Mm(e,t){Mo.call(this,OC+e+yb+t)}function T6(e,t,n,r){ot.call(this,e,t,n,r)}function bbe(e,t,n,r){ot.call(this,e,t,n,r)}function iUe(e,t,n,r){bbe.call(this,e,t,n,r)}function sUe(e,t,n,r){kj.call(this,e,t,n,r)}function Rte(e,t,n,r){kj.call(this,e,t,n,r)}function vbe(e,t,n,r){kj.call(this,e,t,n,r)}function aUe(e,t,n,r){Rte.call(this,e,t,n,r)}function wbe(e,t,n,r){Rte.call(this,e,t,n,r)}function yn(e,t,n,r){vbe.call(this,e,t,n,r)}function oUe(e,t,n,r){wbe.call(this,e,t,n,r)}function cUe(e,t,n,r){bve.call(this,e,t,n,r)}function uUe(e,t,n){this.a=e,q2e.call(this,t,n)}function lUe(e,t,n){this.c=t,this.b=n,this.a=e}function HUt(e,t,n){return e.d=u(t.Kb(n),164)}function mbe(e,t){return e.Aj().Nh().Kh(e,t)}function ybe(e,t){return e.Aj().Nh().Ih(e,t)}function hUe(e,t){return An(e),$e(e)===$e(t)}function on(e,t){return An(e),$e(e)===$e(t)}function jte(e,t){return Bee(Dnt(e.a,t,!1))}function $te(e,t){return Bee(Int(e.a,t,!1))}function zUt(e,t){return e.b.sd(new qze(e,t))}function GUt(e,t){return e.b.sd(new Vze(e,t))}function fUe(e,t){return e.b.sd(new Uze(e,t))}function kbe(e,t,n){return e.lastIndexOf(t,n)}function qUt(e,t,n){return Bs(e[t.b],e[n.b])}function VUt(e,t){return Qe(t,(mt(),aO),e)}function UUt(e,t){return ku(t.a.d.p,e.a.d.p)}function KUt(e,t){return ku(e.a.d.p,t.a.d.p)}function WUt(e,t){return Bs(e.c-e.s,t.c-t.s)}function dUe(e){return e.c?Ko(e.c.a,e,0):-1}function YUt(e){return e<100?null:new kp(e)}function _6(e){return e==Fb||e==f0||e==Zc}function gUe(e,t){return me(t,15)&&xot(e.c,t)}function XUt(e,t){q1||t&&(e.d=t)}function Hte(e,t){var n;return n=t,!!qme(e,n)}function xbe(e,t){this.c=e,gne.call(this,e,t)}function pUe(e){this.c=e,bte.call(this,az,0)}function bUe(e,t){tYt.call(this,e,e.length,t)}function QUt(e,t,n){return u(e.c,69).lk(t,n)}function QR(e,t,n){return u(e.c,69).mk(t,n)}function ZUt(e,t,n){return cUt(e,u(t,332),n)}function Ebe(e,t,n){return uUt(e,u(t,332),n)}function JUt(e,t,n){return bit(e,u(t,332),n)}function vUe(e,t,n){return Qun(e,u(t,332),n)}function t_(e,t){return t==null?null:Km(e.b,t)}function Tbe(e){return _m(e)?(An(e),e):e.ke()}function ZR(e){return!isNaN(e)&&!isFinite(e)}function wUe(e){gd(),this.a=(fn(),new H8(e))}function EM(e){ix(),this.d=e,this.a=new S3}function hh(e,t,n){this.a=e,this.b=t,this.c=n}function mUe(e,t,n){this.a=e,this.b=t,this.c=n}function yUe(e,t,n){this.d=e,this.b=n,this.a=t}function zte(e){Oqe(this),Ph(this),ro(this,e)}function Gu(e){kte(this),jbe(this.c,0,e.Pc())}function kUe(e){Dl(e.a),wZe(e.c,e.b),e.b=null}function xUe(e){this.a=e,Gd(),Mu(Date.now())}function EUe(){EUe=de,Gxe=new A,TG=new A}function Gte(){Gte=de,Nxe=new St,Gdt=new yt}function TUe(){TUe=de,Qyt=Ie(Xn,_t,1,0,5,1)}function _Ue(){_Ue=de,p3t=Ie(Xn,_t,1,0,5,1)}function _be(){_be=de,b3t=Ie(Xn,_t,1,0,5,1)}function gd(){gd=de,new Oge((fn(),fn(),bo))}function eKt(e){return l$(),Xr((LZe(),Udt),e)}function tKt(e){return F1(),Xr((WQe(),Zdt),e)}function nKt(e){return uH(),Xr((tQe(),i0t),e)}function rKt(e){return p$(),Xr((nQe(),s0t),e)}function iKt(e){return GH(),Xr((qet(),a0t),e)}function sKt(e){return Jf(),Xr((VQe(),u0t),e)}function aKt(e){return sl(),Xr((UQe(),h0t),e)}function oKt(e){return Cu(),Xr((KQe(),d0t),e)}function cKt(e){return iz(),Xr((iqe(),B0t),e)}function uKt(e){return qv(),Xr((DZe(),R0t),e)}function lKt(e){return Y6(),Xr((IZe(),$0t),e)}function hKt(e){return z_(),Xr((OZe(),G0t),e)}function fKt(e){return rR(),Xr((OXe(),q0t),e)}function dKt(e){return b$(),Xr((rQe(),ogt),e)}function gKt(e){return x_(),Xr((YQe(),Agt),e)}function pKt(e){return io(),Xr((uJe(),Igt),e)}function bKt(e){return Rx(),Xr((MZe(),Fgt),e)}function vKt(e){return Vv(),Xr((XQe(),Ggt),e)}function Cbe(e,t){if(!e)throw ee(new Dn(t))}function wKt(e){return zn(),Xr((MJe(),Kgt),e)}function Sbe(e){hj.call(this,e.d,e.c,e.a,e.b)}function qte(e){hj.call(this,e.d,e.c,e.a,e.b)}function Abe(e,t,n){this.b=e,this.c=t,this.a=n}function JR(e,t,n){this.b=e,this.a=t,this.c=n}function CUe(e,t,n){this.a=e,this.b=t,this.c=n}function Lbe(e,t,n){this.a=e,this.b=t,this.c=n}function SUe(e,t,n){this.a=e,this.b=t,this.c=n}function Mbe(e,t,n){this.a=e,this.b=t,this.c=n}function AUe(e,t,n){this.b=e,this.a=t,this.c=n}function ej(e,t,n){this.e=t,this.b=e,this.d=n}function mKt(e,t,n){return $2(),e.a.Od(t,n),t}function Vte(e){var t;return t=new Hn,t.e=e,t}function Dbe(e){var t;return t=new h$e,t.b=e,t}function TM(){TM=de,FG=new eY,RG=new tY}function vf(){vf=de,opt=new qY,cpt=new YP}function yKt(e){return z$(),Xr((PZe(),npt),e)}function kKt(e){return B1(),Xr((FZe(),hpt),e)}function xKt(e){return HH(),Xr((Oet(),mpt),e)}function EKt(e){return Q6(),Xr((OJe(),ypt),e)}function TKt(e){return o$(),Xr((uQe(),kpt),e)}function _Kt(e){return z6(),Xr((QQe(),xpt),e)}function CKt(e){return a4(),Xr((iJe(),dpt),e)}function SKt(e){return Gv(),Xr((eZe(),wpt),e)}function AKt(e){return _$(),Xr((ZQe(),Ept),e)}function LKt(e){return lb(),Xr((nJe(),Tpt),e)}function MKt(e){return iD(),Xr((sQe(),_pt),e)}function DKt(e){return nb(),Xr((JQe(),Spt),e)}function IKt(e){return DH(),Xr((FJe(),Apt),e)}function OKt(e){return XM(),Xr((aQe(),Lpt),e)}function NKt(e){return BD(),Xr((PJe(),Mpt),e)}function PKt(e){return i7(),Xr((NJe(),Dpt),e)}function BKt(e){return mo(),Xr((stt(),Ipt),e)}function FKt(e){return Fx(),Xr((nZe(),Opt),e)}function RKt(e){return P0(),Xr((tZe(),Ppt),e)}function jKt(e){return Xj(),Xr((lQe(),Bpt),e)}function $Kt(e){return mh(),Xr((sJe(),Fpt),e)}function HKt(e){return SH(),Xr((BJe(),Zbt),e)}function zKt(e){return I_(),Xr((rZe(),Jbt),e)}function GKt(e){return Xm(),Xr((RZe(),evt),e)}function qKt(e){return vo(),Xr((aZe(),avt),e)}function VKt(e){return l4(),Xr((Iet(),nvt),e)}function UKt(e){return F0(),Xr((sZe(),rvt),e)}function KKt(e){return eD(),Xr((cQe(),ivt),e)}function WKt(e){return R$(),Xr((iZe(),ovt),e)}function YKt(e){return G_(),Xr((rJe(),tvt),e)}function XKt(e){return qM(),Xr((oQe(),cvt),e)}function QKt(e){return qx(),Xr((cZe(),uvt),e)}function ZKt(e){return B$(),Xr((uZe(),lvt),e)}function JKt(e){return G$(),Xr((oZe(),hvt),e)}function eWt(e){return zv(),Xr((lZe(),Tvt),e)}function tWt(e){return y_(),Xr((fQe(),Lvt),e)}function nWt(e){return bd(),Xr((dQe(),Bvt),e)}function rWt(e){return L1(),Xr((gQe(),Rvt),e)}function iWt(e){return Xf(),Xr((hQe(),Jvt),e)}function sWt(e){return Iv(),Xr((pQe(),awt),e)}function aWt(e){return Jx(),Xr((NZe(),owt),e)}function oWt(e){return Y_(),Xr((RJe(),uwt),e)}function cWt(e){return zj(),Xr((wQe(),Ewt),e)}function uWt(e){return O$(),Xr((vQe(),Lwt),e)}function lWt(e){return Uj(),Xr((bQe(),Twt),e)}function hWt(e){return eH(),Xr((hZe(),Dwt),e)}function fWt(e){return u$(),Xr((mQe(),Iwt),e)}function dWt(e){return wD(),Xr((fZe(),Owt),e)}function gWt(e){return mH(),Xr((BZe(),Wwt),e)}function pWt(e){return F$(),Xr((gZe(),Ywt),e)}function bWt(e){return J$(),Xr((dZe(),Xwt),e)}function vWt(e){return l7(),Xr((cJe(),bmt),e)}function wWt(e){return TD(),Xr((pZe(),vmt),e)}function mWt(e){return sR(),Xr((DXe(),wmt),e)}function yWt(e){return aR(),Xr((MXe(),ymt),e)}function kWt(e){return VM(),Xr((kQe(),kmt),e)}function xWt(e){return RD(),Xr((aJe(),xmt),e)}function EWt(e){return CT(),Xr((IXe(),Rmt),e)}function TWt(e){return gD(),Xr((yQe(),jmt),e)}function _Wt(e){return t1(),Xr((oJe(),Vmt),e)}function CWt(e){return Dg(),Xr((Net(),Kmt),e)}function SWt(e){return Zd(),Xr((IJe(),Wmt),e)}function AWt(e){return Jm(),Xr((DJe(),eyt),e)}function LWt(e){return po(),Xr((sqe(),Jgt),e)}function MWt(e){return Ix(),Xr((iQe(),Zgt),e)}function DWt(e){return wo(),Xr((lJe(),pyt),e)}function IWt(e){return N1(),Xr((vZe(),byt),e)}function OWt(e){return $0(),Xr((HZe(),vyt),e)}function NWt(e){return LH(),Xr(($Je(),wyt),e)}function PWt(e){return R0(),Xr((bZe(),yyt),e)}function BWt(e){return Kl(),Xr(($Ze(),xyt),e)}function FWt(e){return ry(),Xr((Get(),Eyt),e)}function RWt(e){return e4(),Xr((hJe(),Tyt),e)}function jWt(e){return ya(),Xr((CJe(),_yt),e)}function $Wt(e){return al(),Xr((jJe(),Cyt),e)}function HWt(e){return Nl(),Xr((GZe(),Iyt),e)}function zWt(e){return wl(),Xr((att(),Oyt),e)}function GWt(e){return dt(),Xr((fJe(),Syt),e)}function qWt(e){return rH(),Xr((zZe(),Nyt),e)}function VWt(e){return Ol(),Xr((jZe(),Fyt),e)}function UWt(e){return o7(),Xr((Pet(),Xyt),e)}function KWt(e,t){return An(e),e+(An(t),t)}function WWt(e,t){return Gd(),Pr(qe(e.a),t)}function YWt(e,t){return Gd(),Pr(qe(e.a),t)}function Ute(e,t){this.c=e,this.a=t,this.b=t-e}function LUe(e,t,n){this.a=e,this.b=t,this.c=n}function Ibe(e,t,n){this.a=e,this.b=t,this.c=n}function Obe(e,t,n){this.a=e,this.b=t,this.c=n}function MUe(e,t,n){this.a=e,this.b=t,this.c=n}function DUe(e,t,n){this.a=e,this.b=t,this.c=n}function vg(e,t,n){this.e=e,this.a=t,this.c=n}function IUe(e,t,n){lh(),Vve.call(this,e,t,n)}function Kte(e,t,n){lh(),Lve.call(this,e,t,n)}function Nbe(e,t,n){lh(),Lve.call(this,e,t,n)}function Pbe(e,t,n){lh(),Lve.call(this,e,t,n)}function OUe(e,t,n){lh(),Kte.call(this,e,t,n)}function Bbe(e,t,n){lh(),Kte.call(this,e,t,n)}function NUe(e,t,n){lh(),Bbe.call(this,e,t,n)}function PUe(e,t,n){lh(),Nbe.call(this,e,t,n)}function BUe(e,t,n){lh(),Pbe.call(this,e,t,n)}function _M(e,t){return Or(e),Or(t),new rze(e,t)}function C6(e,t){return Or(e),Or(t),new YUe(e,t)}function XWt(e,t){return Or(e),Or(t),new XUe(e,t)}function QWt(e,t){return Or(e),Or(t),new sze(e,t)}function u(e,t){return n_(e==null||Lie(e,t)),e}function rx(e){var t;return t=new at,xre(t,e),t}function ZWt(e){var t;return t=new Ys,xre(t,e),t}function FUe(e){var t;return t=new zge,Bre(t,e),t}function CM(e){var t;return t=new as,Bre(t,e),t}function JWt(e){return!e.e&&(e.e=new at),e.e}function eYt(e){return!e.c&&(e.c=new fm),e.c}function st(e,t){return e.c[e.c.length]=t,!0}function RUe(e,t){this.c=e,this.b=t,this.a=!1}function Fbe(e){this.d=e,iee(this),this.b=UYt(e.d)}function jUe(){this.a=";,;",this.b="",this.c=""}function tYt(e,t,n){$Ke.call(this,t,n),this.a=e}function $Ue(e,t,n){this.b=e,eqe.call(this,t,n)}function Rbe(e,t,n){this.c=e,dR.call(this,t,n)}function jbe(e,t,n){o4e(n,0,e,t,n.length,!1)}function Vd(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function nYt(e,t){t&&(e.b=t,e.a=(Np(t),t.a))}function $be(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function Hbe(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function zbe(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function Gbe(e){return jp(cXt(Uo(e)?Bh(e):e))}function rYt(e,t){return ku(nKe(e.d),nKe(t.d))}function iYt(e,t){return t==(dt(),On)?e.c:e.d}function ix(){ix=de,c_e=(dt(),On),Gq=$n}function HUe(){this.b=We(gt(Ct((r1(),vue))))}function zUe(e){return $2(),Ie(Xn,_t,1,e,5,1)}function sYt(e){return new Ft(e.c+e.b,e.d+e.a)}function aYt(e,t){return iR(),ku(e.d.p,t.d.p)}function Wte(e){return Qn(e.b!=0),bh(e,e.a.a)}function oYt(e){return Qn(e.b!=0),bh(e,e.c.b)}function qbe(e,t){if(!e)throw ee(new Q$e(t))}function tj(e,t){if(!e)throw ee(new Dn(t))}function Vbe(e,t,n){X8.call(this,e,t),this.b=n}function SM(e,t,n){a2e.call(this,e,t),this.c=n}function GUe(e,t,n){yJe.call(this,t,n),this.d=e}function Ube(e){_be(),b8.call(this),this.th(e)}function qUe(e,t,n){this.a=e,N3.call(this,t,n)}function VUe(e,t,n){this.a=e,N3.call(this,t,n)}function nj(e,t,n){a2e.call(this,e,t),this.c=n}function UUe(){mx(),CXt.call(this,(Tp(),tf))}function KUe(e){return e!=null&&!pie(e,HS,zS)}function cYt(e,t){return(int(e)<<4|int(t))&Ss}function uYt(e,t){return Cj(),Fie(e,t),new yWe(e,t)}function z2(e,t){var n;e.n&&(n=t,st(e.f,n))}function sx(e,t,n){var r;r=new Nm(n),Zf(e,t,r)}function lYt(e,t){var n;return n=e.c,lme(e,t),n}function Kbe(e,t){return t<0?e.g=-1:e.g=t,e}function rj(e,t){return Wtn(e),e.a*=t,e.b*=t,e}function WUe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function oi(e,t){return ks(e,t,e.c.b,e.c),!0}function Wbe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Yte(e){this.b=e,this.a=_v(this.b.a).Ed()}function YUe(e,t){this.b=e,this.a=t,Y9.call(this)}function XUe(e,t){this.a=e,this.b=t,Y9.call(this)}function QUe(e,t){$Ke.call(this,t,1040),this.a=e}function AM(e){return e==0||isNaN(e)?e:e<0?-1:1}function hYt(e){return I6(),Jd(e)==ls(qp(e))}function fYt(e){return I6(),qp(e)==ls(Jd(e))}function Tv(e,t){return K_(e,new X8(t.a,t.b))}function dYt(e){return!no(e)&&e.c.i.c==e.d.i.c}function ij(e){var t;return t=e.n,e.a.b+t.d+t.a}function ZUe(e){var t;return t=e.n,e.e.b+t.d+t.a}function Ybe(e){var t;return t=e.n,e.e.a+t.b+t.c}function JUe(e){return mi(),new Ud(0,e)}function gYt(e){return e.a?e.a:Lne(e)}function n_(e){if(!e)throw ee(new $8(null))}function eKe(){eKe=de,tfe=(fn(),new D(Mce))}function sj(){sj=de,new Uye((Tee(),zce),(_ee(),Hce))}function tKe(){tKe=de,vxe=Ie(Ja,Je,19,256,0,1)}function Xte(e,t,n,r){kye.call(this,e,t,n,r,0,0)}function pYt(e,t,n){return Si(e.b,u(n.b,17),t)}function bYt(e,t,n){return Si(e.b,u(n.b,17),t)}function vYt(e,t){return st(e,new Ft(t.a,t.b))}function wYt(e,t){return e.c=t)throw ee(new Rge)}function eXt(e,t,n){return us(t,0,Jbe(t[0],n[0])),t}function tXt(e,t,n){t.Ye(n,We(gt(Jn(e.b,n)))*e.a)}function jKe(e,t,n){return f4(),Ox(e,t)&&Ox(e,n)}function o_(e){return al(),!e.Hc(Z0)&&!e.Hc(p2)}function mj(e){return new Ft(e.c+e.b/2,e.d+e.a/2)}function cne(e,t){return t.kh()?zp(e.b,u(t,49)):t}function pve(e,t){this.e=e,this.d=t&64?t|md:t}function $Ke(e,t){this.c=0,this.d=e,this.b=t|64|md}function yj(e){this.b=new tu(11),this.a=(z3(),e)}function une(e){this.b=null,this.a=(z3(),e||Dxe)}function HKe(e){this.a=frt(e.a),this.b=new Gu(e.b)}function zKe(e){this.b=e,x6.call(this,e),Vqe(this)}function GKe(e){this.b=e,pM.call(this,e),Uqe(this)}function Om(e,t,n){this.a=e,T6.call(this,t,n,5,6)}function bve(e,t,n,r){this.b=e,Ns.call(this,t,n,r)}function oa(e,t,n,r,i){gre.call(this,e,t,n,r,i,-1)}function c_(e,t,n,r,i){WM.call(this,e,t,n,r,i,-1)}function ot(e,t,n,r){Ns.call(this,e,t,n),this.b=r}function kj(e,t,n,r){SM.call(this,e,t,n),this.b=r}function qKe(e){KGe.call(this,e,!1),this.a=!1}function VKe(e,t){this.b=e,NJ.call(this,e.b),this.a=t}function UKe(e,t){Pm(),iqt.call(this,e,Y$(new Cl(t)))}function xj(e,t){return mi(),new Mve(e,t,0)}function lne(e,t){return mi(),new Mve(6,e,t)}function nXt(e,t){return on(e.substr(0,t.length),t)}function Ml(e,t){return ga(t)?Ine(e,t):!!jo(e.f,t)}function La(e,t){for(An(t);e.Ob();)t.td(e.Pb())}function $3(e,t,n){Kp(),this.e=e,this.d=t,this.a=n}function wg(e,t,n,r){var i;i=e.i,i.i=t,i.a=n,i.b=r}function vve(e){var t;for(t=e;t.f;)t=t.f;return t}function L6(e){var t;return t=D_(e),Qn(t!=null),t}function rXt(e){var t;return t=zin(e),Qn(t!=null),t}function ox(e,t){var n;return n=e.a.gc(),Awe(t,n),n-t}function wve(e,t){var n;for(n=0;n0?b.Math.log(e/t):-100}function KKe(e,t){return Lc(e,t)<0?-1:Lc(e,t)>0?1:0}function Eve(e,t,n){return $ct(e,u(t,46),u(n,167))}function WKe(e,t){return u(dve(_v(e.a)).Xb(t),42).cd()}function fXt(e,t){return Ptn(t,e.length),new QUe(e,t)}function gne(e,t){this.d=e,ir.call(this,e),this.e=t}function Cv(e){this.d=(An(e),e),this.a=0,this.c=az}function Tve(e,t){ov.call(this,1),this.a=e,this.b=t}function YKe(e,t){return e.c?YKe(e.c,t):st(e.b,t),e}function dXt(e,t,n){var r;return r=Hm(e,t),Zne(e,t,n),r}function _ve(e,t){var n;return n=e.slice(0,t),zwe(n,e)}function XKe(e,t,n){var r;for(r=0;r=e.g}function Ene(e,t,n){var r;return r=Nre(e,t,n),J4e(e,r)}function M6(e,t){var n;n=e.a.length,Hm(e,n),Zne(e,n,t)}function hWe(e,t){var n;n=console[e],n.call(console,t)}function fWe(e,t){var n;++e.j,n=e.Vi(),e.Ii(e.oi(n,t))}function _Xt(e,t,n){u(t.b,65),Su(t.a,new Ibe(e,n,t))}function Lve(e,t,n){BF.call(this,t),this.a=e,this.b=n}function Mve(e,t,n){ov.call(this,e),this.a=t,this.b=n}function Dve(e,t,n){this.a=e,Mge.call(this,t),this.b=n}function dWe(e,t,n){this.a=e,owe.call(this,8,t,null,n)}function CXt(e){this.a=(An(Zr),Zr),this.b=e,new Qge}function gWe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function Ive(e){this.c=e,this.b=e.a.d.a,J2e(e.a.e,this)}function Dl(e){Cm(e.c!=-1),e.d.$c(e.c),e.b=e.c,e.c=-1}function h_(e){return b.Math.sqrt(e.a*e.a+e.b*e.b)}function Av(e,t){return ax(t,e.a.c.length),It(e.a,t)}function pd(e,t){return $e(e)===$e(t)||e!=null&&Ci(e,t)}function SXt(e){return 0>=e?new Tpe:dnn(e-1)}function AXt(e){return Ky?Ine(Ky,e):!1}function pWe(e){return e?e.dc():!e.Kc().Ob()}function Xa(e){return!e.a&&e.c?e.c.b:e.a}function LXt(e){return!e.a&&(e.a=new Ns(b2,e,4)),e.a}function Lv(e){return!e.d&&(e.d=new Ns(Eo,e,1)),e.d}function An(e){if(e==null)throw ee(new fT);return e}function f_(e){e.c?e.c.He():(e.d=!0,Ndn(e))}function Np(e){e.c?Np(e.c):(ab(e),e.d=!0)}function bWe(e){Bve(e.a),e.b=Ie(Xn,_t,1,e.b.length,5,1)}function MXt(e,t){return ku(t.j.c.length,e.j.c.length)}function DXt(e,t){e.c<0||e.b.b=0?e.Bh(n):u4e(e,t)}function vWe(e){var t,n;return t=e.c.i.c,n=e.d.i.c,t==n}function OXt(e){if(e.p!=4)throw ee(new ju);return e.e}function NXt(e){if(e.p!=3)throw ee(new ju);return e.e}function PXt(e){if(e.p!=6)throw ee(new ju);return e.f}function BXt(e){if(e.p!=6)throw ee(new ju);return e.k}function FXt(e){if(e.p!=3)throw ee(new ju);return e.j}function RXt(e){if(e.p!=4)throw ee(new ju);return e.j}function Ove(e){return!e.b&&(e.b=new FF(new Eee)),e.b}function Mv(e){return e.c==-2&&P8(e,nln(e.g,e.b)),e.c}function lx(e,t){var n;return n=wne("",e),n.n=t,n.i=1,n}function jXt(e,t){rne(u(t.b,65),e),Su(t.a,new ri(e))}function $Xt(e,t){Pr((!e.a&&(e.a=new yM(e,e)),e.a),t)}function wWe(e,t){this.b=e,gne.call(this,e,t),Vqe(this)}function mWe(e,t){this.b=e,xbe.call(this,e,t),Uqe(this)}function Nve(e,t,n,r){bv.call(this,e,t),this.d=n,this.a=r}function _j(e,t,n,r){bv.call(this,e,n),this.a=t,this.f=r}function yWe(e,t){yVt.call(this,gnn(Or(e),Or(t))),this.a=t}function kWe(){H3e.call(this,xb,(THe(),T3t)),cbn(this)}function xWe(){H3e.call(this,qh,(q8(),hAe)),v2n(this)}function EWe(){Wr.call(this,"DELAUNAY_TRIANGULATION",0)}function HXt(e){return String.fromCharCode.apply(null,e)}function Si(e,t,n){return ga(t)?Io(e,t,n):lu(e.f,t,n)}function Pve(e){return fn(),e?e.ve():(z3(),z3(),Oxe)}function zXt(e,t,n){return q6(),n.pg(e,u(t.cd(),146))}function TWe(e,t){return sj(),new Uye(new sVe(e),new iVe(t))}function GXt(e){return Vl(e,uae),v$(Wa(Wa(5,e),e/10|0))}function Cj(){Cj=de,Edt=new Cee(ie(ne(Eb,1),oz,42,0,[]))}function _We(e){return!e.d&&(e.d=new E(e.c.Cc())),e.d}function hx(e){return!e.a&&(e.a=new sHe(e.c.vc())),e.a}function CWe(e){return!e.b&&(e.b=new H8(e.c.ec())),e.b}function Wd(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function zc(e,t){return $e(e)===$e(t)||e!=null&&Ci(e,t)}function qXt(e,t){return In(),u(t.b,19).ar&&++r,r}function L0(e){var t,n;return n=(t=new cv,t),_x(n,e),n}function Ane(e){var t,n;return n=(t=new cv,t),q3e(n,e),n}function sQt(e,t){var n;return n=Jn(e.f,t),kme(t,n),null}function Lne(e){var t;return t=bnn(e),t||null}function BWe(e){return!e.b&&(e.b=new ot(ta,e,12,3)),e.b}function aQt(e){return e!=null&&YL(IV,e.toLowerCase())}function oQt(e,t){return Bs(qu(e)*Ll(e),qu(t)*Ll(t))}function cQt(e,t){return Bs(qu(e)*Ll(e),qu(t)*Ll(t))}function uQt(e,t){return Bs(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function lQt(e,t){return Bs(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function FWe(e,t,n){n.a?Lu(e,t.b-e.f/2):Au(e,t.a-e.g/2)}function RWe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function jWe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function V2(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function $We(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function HWe(e,t,n,r){lh(),OQe.call(this,t,n,r),this.a=e}function zWe(e,t,n,r){lh(),OQe.call(this,t,n,r),this.a=e}function GWe(e,t){this.a=e,bUt.call(this,e,u(e.d,15).Zc(t))}function Mne(e){this.f=e,this.c=this.f.e,e.f>0&&rit(this)}function qWe(e,t,n,r){this.b=e,this.c=r,bte.call(this,t,n)}function VWe(e){return Qn(e.b=0&&on(e.substr(n,t.length),t)}function Pp(e,t,n,r,i,a,h){return new ere(e.e,t,n,r,i,a,h)}function cYe(e,t,n,r,i,a){this.a=e,Sre.call(this,t,n,r,i,a)}function uYe(e,t,n,r,i,a){this.a=e,Sre.call(this,t,n,r,i,a)}function lYe(e,t){this.g=e,this.d=ie(ne(c0,1),Og,10,0,[t])}function mg(e,t){this.e=e,this.a=Xn,this.b=Pot(t),this.c=t}function hYe(e,t){XR.call(this),Xwe(this),this.a=e,this.c=t}function PM(e,t,n,r){us(e.c[t.g],n.g,r),us(e.c[n.g],t.g,r)}function Pne(e,t,n,r){us(e.c[t.g],t.g,n),us(e.b[t.g],t.g,r)}function IQt(){return qM(),ie(ne(JTe,1),rt,376,0,[zle,fO])}function OQt(){return XM(),ie(ne(VEe,1),rt,479,0,[qEe,hq])}function NQt(){return iD(),ie(ne(zEe,1),rt,419,0,[uq,HEe])}function PQt(){return o$(),ie(ne(NEe,1),rt,422,0,[OEe,Gue])}function BQt(){return Xj(),ie(ne(i9e,1),rt,420,0,[ile,r9e])}function FQt(){return eD(),ie(ne(YTe,1),rt,421,0,[jle,$le])}function RQt(){return y_(),ie(ne(Avt,1),rt,523,0,[vS,bS])}function jQt(){return Xf(),ie(ne(Zvt,1),rt,520,0,[Fy,u2])}function $Qt(){return bd(),ie(ne(Pvt,1),rt,516,0,[Aw,$g])}function HQt(){return L1(),ie(ne(Fvt,1),rt,515,0,[Ib,K1])}function zQt(){return Iv(),ie(ne(swt,1),rt,455,0,[l2,K4])}function GQt(){return Uj(),ie(ne(E_e,1),rt,425,0,[rhe,x_e])}function qQt(){return zj(),ie(ne(k_e,1),rt,480,0,[nhe,y_e])}function VQt(){return O$(),ie(ne(T_e,1),rt,495,0,[Jq,dE])}function UQt(){return u$(),ie(ne(C_e,1),rt,426,0,[__e,ohe])}function KQt(){return gD(),ie(ne(LCe,1),rt,429,0,[cV,ACe])}function WQt(){return VM(),ie(ne(oCe,1),rt,430,0,[bhe,aV])}function YQt(){return uH(),ie(ne(Uxe,1),rt,428,0,[rue,Vxe])}function XQt(){return p$(),ie(ne(Wxe,1),rt,427,0,[Kxe,iue])}function QQt(){return b$(),ie(ne(x7e,1),rt,424,0,[pue,IG])}function ZQt(){return Ix(),ie(ne(Qgt,1),rt,511,0,[YI,Aue])}function Fj(e,t,n,r){return n>=0?e.jh(t,n,r):e.Sg(null,n,r)}function Bne(e){return e.b.b==0?e.a.$e():Wte(e.b)}function JQt(e){if(e.p!=5)throw ee(new ju);return Ir(e.f)}function eZt(e){if(e.p!=5)throw ee(new ju);return Ir(e.k)}function qve(e){return $e(e.a)===$e((Fre(),Zhe))&&tbn(e),e.a}function fYe(e){this.a=u(Or(e),271),this.b=(fn(),new F2e(e))}function dYe(e,t){Ege(this,new Ft(e.a,e.b)),_F(this,CM(t))}function Iv(){Iv=de,l2=new Zpe(ak,0),K4=new Zpe(ok,1)}function bd(){bd=de,Aw=new Xpe(ok,0),$g=new Xpe(ak,1)}function Ov(){lGt.call(this,new p6(zm(12))),O2e(!0),this.a=2}function Fne(e,t,n){mi(),ov.call(this,e),this.b=t,this.a=n}function Vve(e,t,n){lh(),BF.call(this,t),this.a=e,this.b=n}function gYe(e){XR.call(this),Xwe(this),this.a=e,this.c=!0}function pYe(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Rj(e){var t;onn(e.a),Cqe(e.a),t=new rr(e.a),yye(t)}function tZt(e,t){Cot(e,!0),Su(e.e.wf(),new Abe(e,!0,t))}function jj(e,t){return WXe(t),inn(e,Ie(Sr,Jr,25,t,15,1),t)}function nZt(e,t){return I6(),e==ls(Jd(t))||e==ls(qp(t))}function Gc(e,t){return t==null?hc(jo(e.f,null)):LT(e.g,t)}function rZt(e){return e.b==0?null:(Qn(e.b!=0),bh(e,e.a.a))}function _s(e){return Math.max(Math.min(e,xi),-2147483648)|0}function iZt(e,t){var n=Kce[e.charCodeAt(0)];return n??e}function $j(e,t){return Ij(e,"set1"),Ij(t,"set2"),new hze(e,t)}function sZt(e,t){var n;return n=Jtn(e.f,t),Ni(WR(n),e.f.d)}function g_(e,t){var n,r;return n=t,r=new At,gut(e,n,r),r.d}function Rne(e,t,n,r){var i;i=new nUe,t.a[n.g]=i,S6(e.b,r,i)}function Uve(e,t,n){var r;r=e.Yg(t),r>=0?e.sh(r,n):P4e(e,t,n)}function G3(e,t,n){Gj(),e&&Si(Yhe,e,t),e&&Si(zO,e,n)}function bYe(e,t,n){this.i=new at,this.b=e,this.g=t,this.a=n}function Hj(e,t,n){this.c=new at,this.e=e,this.f=t,this.b=n}function Kve(e,t,n){this.a=new at,this.e=e,this.f=t,this.c=n}function vYe(e,t){RR(this),this.f=t,this.g=e,Dj(this),this._d()}function BM(e,t){var n;n=e.q.getHours(),e.q.setDate(t),rC(e,n)}function wYe(e,t){var n;for(Or(t),n=e.a;n;n=n.c)t.Od(n.g,n.i)}function mYe(e){var t;return t=new XF(zm(e.length)),Rme(t,e),t}function aZt(e){function t(){}return t.prototype=e||{},new t}function oZt(e,t){return Xet(e,t)?(UJe(e),!0):!1}function M0(e,t){if(t==null)throw ee(new fT);return ian(e,t)}function cZt(e){if(e.qe())return null;var t=e.n;return pG[t]}function FM(e){return e.Db>>16!=3?null:u(e.Cb,33)}function A1(e){return e.Db>>16!=9?null:u(e.Cb,33)}function yYe(e){return e.Db>>16!=6?null:u(e.Cb,79)}function kYe(e){return e.Db>>16!=7?null:u(e.Cb,235)}function xYe(e){return e.Db>>16!=7?null:u(e.Cb,160)}function ls(e){return e.Db>>16!=11?null:u(e.Cb,33)}function EYe(e,t){var n;return n=e.Yg(t),n>=0?e.lh(n):dse(e,t)}function TYe(e,t){var n;return n=new Zbe(t),Sit(n,e),new Gu(n)}function Wve(e){var t;return t=e.d,t=e.si(e.f),Pr(e,t),t.Ob()}function _Ye(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function jne(e,t){return b.Math.abs(e)0}function CYe(){this.a=new C0,this.e=new Ys,this.g=0,this.i=0}function SYe(e){this.a=e,this.b=Ie(_vt,Je,1944,e.e.length,0,2)}function $ne(e,t,n){var r;r=btt(e,t,n),e.b=new I$(r.c.length)}function L1(){L1=de,Ib=new Ype(Uae,0),K1=new Ype("UP",1)}function zj(){zj=de,nhe=new Jpe(Ght,0),y_e=new Jpe("FAN",1)}function Gj(){Gj=de,Yhe=new Ar,zO=new Ar,Lqt(Hdt,new O9)}function lZt(e){if(e.p!=0)throw ee(new ju);return GT(e.f,0)}function hZt(e){if(e.p!=0)throw ee(new ju);return GT(e.k,0)}function AYe(e){return e.Db>>16!=3?null:u(e.Cb,147)}function px(e){return e.Db>>16!=6?null:u(e.Cb,235)}function Bm(e){return e.Db>>16!=17?null:u(e.Cb,26)}function LYe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.le(t))}function fZt(e,t){var n;return n=e.a.get(t),n??new Array}function dZt(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),rC(e,n)}function Io(e,t,n){return t==null?lu(e.f,null,n):Uv(e.g,t,n)}function p_(e,t,n,r,i,a){return new N0(e.e,t,e.aj(),n,r,i,a)}function RM(e,t,n){return e.a=$l(e.a,0,t)+(""+n)+dM(e.a,t),e}function gZt(e,t,n){return st(e.a,(Cj(),Fie(t,n),new bv(t,n))),e}function Yve(e){return P2e(e.c),e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function MYe(e){return P2e(e.e),e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function wa(e,t){e.d&&_u(e.d.e,e),e.d=t,e.d&&st(e.d.e,e)}function Ka(e,t){e.c&&_u(e.c.g,e),e.c=t,e.c&&st(e.c.g,e)}function Oo(e,t){e.c&&_u(e.c.a,e),e.c=t,e.c&&st(e.c.a,e)}function nc(e,t){e.i&&_u(e.i.j,e),e.i=t,e.i&&st(e.i.j,e)}function DYe(e,t,n){this.a=t,this.c=e,this.b=(Or(n),new Gu(n))}function IYe(e,t,n){this.a=t,this.c=e,this.b=(Or(n),new Gu(n))}function OYe(e,t){this.a=e,this.c=fc(this.a),this.b=new Bj(t)}function pZt(e){var t;return ab(e),t=new Ys,qi(e,new Ht(t))}function Fm(e,t){if(e<0||e>t)throw ee(new Mo(e6e+e+t6e+t))}function Xve(e,t){return EKe(e.a,t)?yve(e,u(t,22).g,null):null}function bZt(e){return rie(),In(),u(e.a,81).d.e!=0}function NYe(){NYe=de,Cdt=Qr((zF(),ie(ne(_dt,1),rt,538,0,[Vce])))}function PYe(){PYe=de,fvt=rl(new Xs,(io(),zo),(po(),XI))}function Qve(){Qve=de,dvt=rl(new Xs,(io(),zo),(po(),XI))}function BYe(){BYe=de,pvt=rl(new Xs,(io(),zo),(po(),XI))}function FYe(){FYe=de,Mvt=ki(new Xs,(io(),zo),(po(),YC))}function Hl(){Hl=de,Ovt=ki(new Xs,(io(),zo),(po(),YC))}function RYe(){RYe=de,Nvt=ki(new Xs,(io(),zo),(po(),YC))}function Hne(){Hne=de,jvt=ki(new Xs,(io(),zo),(po(),YC))}function jYe(){jYe=de,_wt=rl(new Xs,(Jx(),mS),(Y_(),Kle))}function K2(e,t,n,r){this.c=e,this.d=r,Gne(this,t),qne(this,n)}function N6(e){this.c=new as,this.b=e.b,this.d=e.c,this.a=e.a}function zne(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function Gne(e,t){e.a&&_u(e.a.k,e),e.a=t,e.a&&st(e.a.k,e)}function qne(e,t){e.b&&_u(e.b.f,e),e.b=t,e.b&&st(e.b.f,e)}function $Ye(e,t){_Xt(e,e.b,e.c),u(e.b.b,65),t&&u(t.b,65).b}function vZt(e,t){dye(e,t),me(e.Cb,88)&&ny(dl(u(e.Cb,88)),2)}function Vne(e,t){me(e.Cb,88)&&ny(dl(u(e.Cb,88)),4),nu(e,t)}function qj(e,t){me(e.Cb,179)&&(u(e.Cb,179).tb=null),nu(e,t)}function qc(e,t){return ho(),kre(t)?new aj(t,e):new fM(t,e)}function wZt(e,t){var n,r;n=t.c,r=n!=null,r&&M6(e,new Nm(t.c))}function HYe(e){var t,n;return n=(q8(),t=new cv,t),_x(n,e),n}function zYe(e){var t,n;return n=(q8(),t=new cv,t),_x(n,e),n}function GYe(e,t){var n;return n=new Nh(e),t.c[t.c.length]=n,n}function qYe(e,t){var n;return n=u(Km(O6(e.a),t),14),n?n.gc():0}function VYe(e){var t;return ab(e),t=(z3(),z3(),Ixe),m$(e,t)}function UYe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function Zve(e,t){cGt.call(this,new p6(zm(e))),Vl(t,olt),this.a=t}function Yd(e,t,n){tnt(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function KYe(e,t,n){var r;tnt(t,n,e.c.length),r=n-t,xpe(e.c,t,r)}function mZt(e,t){qqe(e,Ir(Gs(Mp(t,24),lz)),Ir(Gs(t,lz)))}function En(e,t){if(e<0||e>=t)throw ee(new Mo(e6e+e+t6e+t))}function zr(e,t){if(e<0||e>=t)throw ee(new lpe(e6e+e+t6e+t))}function kn(e,t){this.b=(An(e),e),this.a=t&hy?t:t|64|md}function WYe(e){_qe(this),s$e(this.a,Bme(b.Math.max(8,e))<<1)}function M1(e){return ic(ie(ne(ea,1),Je,8,0,[e.i.n,e.n,e.a]))}function yZt(){return F1(),ie(ne(yl,1),rt,132,0,[zxe,Zl,yy])}function kZt(){return Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])}function xZt(){return sl(),ie(ne(l0t,1),rt,461,0,[Md,n2,Cf])}function EZt(){return Cu(),ie(ne(f0t,1),rt,462,0,[a1,r2,Sf])}function TZt(){return Vv(),ie(ne($7e,1),rt,423,0,[I4,j7e,_ue])}function _Zt(){return x_(),ie(ne(B7e,1),rt,379,0,[mue,wue,yue])}function CZt(){return I_(),ie(ne(jTe,1),rt,378,0,[Ole,RTe,Rq])}function SZt(){return z6(),ie(ne(BEe,1),rt,314,0,[yk,ZI,PEe])}function AZt(){return _$(),ie(ne(REe,1),rt,337,0,[FEe,cq,que])}function LZt(){return nb(),ie(ne(Cpt,1),rt,450,0,[Kue,J7,B4])}function MZt(){return Gv(),ie(ne(Nue,1),rt,361,0,[ww,s2,vw])}function DZt(){return P0(),ie(ne(Npt,1),rt,303,0,[eO,R4,kk])}function IZt(){return Fx(),ie(ne(rle,1),rt,292,0,[tle,nle,JI])}function OZt(){return vo(),ie(ne(svt,1),rt,452,0,[dS,cl,ou])}function NZt(){return F0(),ie(ne(WTe,1),rt,339,0,[c2,KTe,Rle])}function PZt(){return R$(),ie(ne(ZTe,1),rt,375,0,[XTe,Hle,QTe])}function BZt(){return G$(),ie(ne(s_e,1),rt,377,0,[Vle,hE,By])}function FZt(){return qx(),ie(ne(t_e,1),rt,336,0,[Gle,e_e,gS])}function RZt(){return B$(),ie(ne(i_e,1),rt,338,0,[r_e,qle,n_e])}function jZt(){return zv(),ie(ne(Evt,1),rt,454,0,[dO,pS,zq])}function $Zt(){return eH(),ie(ne(Mwt,1),rt,442,0,[ahe,ihe,she])}function HZt(){return wD(),ie(ne(L_e,1),rt,380,0,[eV,S_e,A_e])}function zZt(){return J$(),ie(ne(K_e,1),rt,381,0,[U_e,fhe,V_e])}function GZt(){return F$(),ie(ne(G_e,1),rt,293,0,[hhe,z_e,H_e])}function qZt(){return TD(),ie(ne(dhe,1),rt,437,0,[rV,iV,sV])}function VZt(){return R0(),ie(ne(BSe,1),rt,334,0,[wV,qg,IS])}function UZt(){return N1(),ie(ne(TSe,1),rt,272,0,[bE,$y,vE])}function KZt(e,t){return g1n(e,t,me(t,99)&&(u(t,18).Bb&ao)!=0)}function WZt(e,t,n){var r;return r=aC(e,t,!1),r.b<=t&&r.a<=n}function YYe(e,t,n){var r;r=new JX,r.b=t,r.a=n,++t.b,st(e.d,r)}function YZt(e,t){var n;return n=(An(e),e).g,K2e(!!n),An(t),n(t)}function Jve(e,t){var n,r;return r=ox(e,t),n=e.a.Zc(r),new lze(e,n)}function XZt(e){return e.Db>>16!=6?null:u(bse(e),235)}function QZt(e){if(e.p!=2)throw ee(new ju);return Ir(e.f)&Ss}function ZZt(e){if(e.p!=2)throw ee(new ju);return Ir(e.k)&Ss}function JZt(e){return e.a==(mx(),BV)&&eee(e,M1n(e.g,e.b)),e.a}function P6(e){return e.d==(mx(),BV)&&aT(e,Egn(e.g,e.b)),e.d}function Y(e){return Qn(e.ar?1:0}function XYe(e,t){var n,r;return n=bre(t),r=n,u(Jn(e.c,r),19).a}function QYe(e,t){var n;for(n=e+"";n.length0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function bXe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function lJt(e){return!!e.a&&gl(e.a.a).i!=0&&!(e.b&&Nie(e.b))}function hJt(e){return!!e.u&&Bc(e.u.a).i!=0&&!(e.n&&Oie(e.n))}function vXe(e){return Zte(e.e.Hd().gc()*e.c.Hd().gc(),16,new e6(e))}function fJt(e,t){return KKe(Mu(e.q.getTime()),Mu(t.q.getTime()))}function vd(e){return u(R1(e,Ie(Cue,coe,17,e.c.length,0,1)),474)}function jM(e){return u(R1(e,Ie(c0,Og,10,e.c.length,0,1)),193)}function dJt(e){return Hl(),!no(e)&&!(!no(e)&&e.c.i.c==e.d.i.c)}function wXe(e,t,n){var r;r=(Or(e),new Gu(e)),Gon(new DYe(r,t,n))}function $M(e,t,n){var r;r=(Or(e),new Gu(e)),qon(new IYe(r,t,n))}function mXe(e,t){var n;return n=1-t,e.a[n]=D$(e.a[n],n),D$(e,t)}function yXe(e,t){var n;e.e=new rpe,n=sy(t),aa(n,e.c),pot(e,n,0)}function ma(e,t,n,r){var i;i=new xB,i.a=t,i.b=n,i.c=r,oi(e.a,i)}function pt(e,t,n,r){var i;i=new xB,i.a=t,i.b=n,i.c=r,oi(e.b,i)}function mf(e){var t,n,r;return t=new eWe,n=Pse(t,e),Zbn(t),r=n,r}function swe(){var e,t,n;return t=(n=(e=new cv,e),n),st(kAe,t),t}function Kj(e){return e.j.c=Ie(Xn,_t,1,0,5,1),Bve(e.c),KXt(e.a),e}function q3(e){return _T(),me(e.g,10)?u(e.g,10):null}function gJt(e){return H3(e).dc()?!1:(dVt(e,new fe),!0)}function pJt(e){if(!("stack"in e))try{throw e}catch{}return e}function HM(e,t){if(e<0||e>=t)throw ee(new Mo(Ahn(e,t)));return e}function kXe(e,t,n){if(e<0||tn)throw ee(new Mo(Jln(e,t,n)))}function Yne(e,t){if(zs(e.a,t),t.d)throw ee(new ec(Llt));t.d=e}function Xne(e,t){if(t.$modCount!=e.$modCount)throw ee(new uh)}function xXe(e,t){return me(t,42)?jie(e.a,u(t,42)):!1}function EXe(e,t){return me(t,42)?jie(e.a,u(t,42)):!1}function TXe(e,t){return me(t,42)?jie(e.a,u(t,42)):!1}function bJt(e,t){return e.a<=e.b?(t.ud(e.a++),!0):!1}function Pv(e){var t;return Uo(e)?(t=e,t==-0?0:t):_tn(e)}function Wj(e){var t;return Np(e),t=new xt,L3(e.a,new ln(t)),t}function _Xe(e){var t;return Np(e),t=new Lr,L3(e.a,new ft(t)),t}function Ca(e,t){this.a=e,s6.call(this,e),Fm(t,e.gc()),this.b=t}function awe(e){this.e=e,this.b=this.e.a.entries(),this.a=new Array}function vJt(e){return Zte(e.e.Hd().gc()*e.c.Hd().gc(),273,new mF(e))}function Yj(e){return new tu((Vl(e,uae),v$(Wa(Wa(5,e),e/10|0))))}function CXe(e){return u(R1(e,Ie(Wgt,aht,11,e.c.length,0,1)),1943)}function wJt(e,t,n){return n.f.c.length>0?Eve(e.a,t,n):Eve(e.b,t,n)}function mJt(e,t,n){e.d&&_u(e.d.e,e),e.d=t,e.d&&Dm(e.d.e,n,e)}function Qne(e,t){fwn(t,e),zbe(e.d),zbe(u(W(e,(mt(),Dq)),207))}function v_(e,t){hwn(t,e),Hbe(e.d),Hbe(u(W(e,(mt(),Dq)),207))}function Bv(e,t){var n,r;return n=M0(e,t),r=null,n&&(r=n.fe()),r}function bx(e,t){var n,r;return n=Hm(e,t),r=null,n&&(r=n.ie()),r}function w_(e,t){var n,r;return n=M0(e,t),r=null,n&&(r=n.ie()),r}function D0(e,t){var n,r;return n=M0(e,t),r=null,n&&(r=Q3e(n)),r}function yJt(e,t,n){var r;return r=Qx(n),UH(e.g,r,t),UH(e.i,t,n),t}function kJt(e,t,n){var r;r=Ysn();try{return CUt(e,t,n)}finally{IJt(r)}}function SXe(e){var t;t=e.Wg(),this.a=me(t,69)?u(t,69).Zh():t.Kc()}function Xs(){H$e.call(this),this.j.c=Ie(Xn,_t,1,0,5,1),this.a=-1}function owe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function AXe(e,t,n,r){this.e=r,this.d=null,this.c=e,this.a=t,this.b=n}function cwe(e,t,n){this.d=new NF(this),this.e=e,this.i=t,this.f=n}function Xj(){Xj=de,ile=new Vpe(T7,0),r9e=new Vpe("TOP_LEFT",1)}function LXe(){LXe=de,o_e=TWe(lt(1),lt(4)),a_e=TWe(lt(1),lt(2))}function MXe(){MXe=de,ymt=Qr((aR(),ie(ne(mmt,1),rt,551,0,[phe])))}function DXe(){DXe=de,wmt=Qr((sR(),ie(ne(aCe,1),rt,482,0,[ghe])))}function IXe(){IXe=de,Rmt=Qr((CT(),ie(ne(SCe,1),rt,530,0,[mO])))}function OXe(){OXe=de,q0t=Qr((rR(),ie(ne(p7e,1),rt,481,0,[lue])))}function xJt(){return qv(),ie(ne(F0t,1),rt,406,0,[$I,jI,cue,uue])}function EJt(){return l$(),ie(ne(EG,1),rt,297,0,[eue,Rxe,jxe,$xe])}function TJt(){return z_(),ie(ne(z0t,1),rt,394,0,[VI,AG,LG,UI])}function _Jt(){return Y6(),ie(ne(j0t,1),rt,323,0,[zI,HI,GI,qI])}function CJt(){return Rx(),ie(ne(Bgt,1),rt,405,0,[bw,Ey,xy,D4])}function SJt(){return z$(),ie(ne(tpt,1),rt,360,0,[Iue,tq,nq,QI])}function NXe(e,t,n,r){return me(n,54)?new yVe(e,t,n,r):new fve(e,t,n,r)}function AJt(){return B1(),ie(ne(lpt,1),rt,411,0,[mk,W7,Y7,Oue])}function LJt(e){var t;return e.j==(dt(),Tr)&&(t=iat(e),zu(t,$n))}function MJt(e,t){var n;n=t.a,Ka(n,t.c.d),wa(n,t.d.d),qm(n.a,e.n)}function PXe(e,t){return u(Ev(vj(u(Oi(e.k,t),15).Oc(),O4)),113)}function BXe(e,t){return u(Ev(wj(u(Oi(e.k,t),15).Oc(),O4)),113)}function DJt(e){return new kn(Ann(u(e.a.dd(),14).gc(),e.a.cd()),16)}function vx(e){return me(e,14)?u(e,14).dc():!e.Kc().Ob()}function B6(e){return _T(),me(e.g,145)?u(e.g,145):null}function FXe(e){if(e.e.g!=e.b)throw ee(new uh);return!!e.c&&e.d>0}function ii(e){return Qn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function uwe(e,t){An(t),us(e.a,e.c,t),e.c=e.c+1&e.a.length-1,$rt(e)}function Bp(e,t){An(t),e.b=e.b-1&e.a.length-1,us(e.a,e.b,t),$rt(e)}function RXe(e,t){var n;for(n=e.j.c.length;n0&&Rc(e.g,0,t,0,e.i),t}function zXe(e,t){uR();var n;return n=u(Jn(DV,e),55),!n||n.wj(t)}function qJt(e){if(e.p!=1)throw ee(new ju);return Ir(e.f)<<24>>24}function VJt(e){if(e.p!=1)throw ee(new ju);return Ir(e.k)<<24>>24}function UJt(e){if(e.p!=7)throw ee(new ju);return Ir(e.k)<<16>>16}function KJt(e){if(e.p!=7)throw ee(new ju);return Ir(e.f)<<16>>16}function I0(e){var t;for(t=0;e.Ob();)e.Pb(),t=Wa(t,1);return v$(t)}function GXe(e,t){var n;return n=new ym,e.xd(n),n.a+="..",t.yd(n),n.a}function WJt(e,t,n){var r;r=u(Jn(e.g,n),57),st(e.a.c,new _a(t,r))}function YJt(e,t,n){return one(gt(hc(jo(e.f,t))),gt(hc(jo(e.f,n))))}function Qj(e,t,n){return WH(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0)}function XJt(e,t,n){return d7(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0)}function QJt(e,t,n){return y1n(e,t,n,me(t,99)&&(u(t,18).Bb&ao)!=0)}function fwe(e,t){return e==(zn(),js)&&t==js?4:e==js||t==js?8:32}function qXe(e,t){return $e(t)===$e(e)?"(this Map)":t==null?Iu:Yo(t)}function ZJt(e,t){return u(t==null?hc(jo(e.f,null)):LT(e.g,t),281)}function VXe(e,t,n){var r;return r=Qx(n),Si(e.b,r,t),Si(e.c,t,n),t}function UXe(e,t){var n;for(n=t;n;)Sm(e,n.i,n.j),n=ls(n);return e}function dwe(e,t){var n;return n=OM(rx(new vre(e,t))),cj(new vre(e,t)),n}function Xd(e,t){ho();var n;return n=u(e,66).Mj(),Iln(n,t),n.Ok(t)}function JJt(e,t,n,r,i){var a;a=_1n(i,n,r),st(t,Ehn(i,a)),gln(e,i,t)}function KXe(e,t,n){e.i=0,e.e=0,t!=n&&(ytt(e,t,n),mtt(e,t,n))}function gwe(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+Xp),rC(e,n)}function een(e,t,n){if(n){var r=n.ee();e.a[t]=r(n)}else delete e.a[t]}function Zne(e,t,n){if(n){var r=n.ee();n=r(n)}else n=void 0;e.a[t]=n}function WXe(e){if(e<0)throw ee(new J$e("Negative array size: "+e))}function Bc(e){return e.n||(dl(e),e.n=new SKe(e,Eo,e),Ro(e)),e.n}function m_(e){return Qn(e.a=0&&e.a[n]===t[n];n--);return n<0}function JXe(e,t){Gx();var n;return n=e.j.g-t.j.g,n!=0?n:0}function eQe(e,t){return An(t),e.a!=null?jYt(t.Kb(e.a)):xG}function Zj(e){var t;return e?new Zbe(e):(t=new C0,Bre(t,e),t)}function Gl(e,t){var n;return t.b.Kb(UZe(e,t.c.Ee(),(n=new Sn(t),n)))}function Jj(e){P3e(),qqe(this,Ir(Gs(Mp(e,24),lz)),Ir(Gs(e,lz)))}function tQe(){tQe=de,i0t=Qr((uH(),ie(ne(Uxe,1),rt,428,0,[rue,Vxe])))}function nQe(){nQe=de,s0t=Qr((p$(),ie(ne(Wxe,1),rt,427,0,[Kxe,iue])))}function rQe(){rQe=de,ogt=Qr((b$(),ie(ne(x7e,1),rt,424,0,[pue,IG])))}function iQe(){iQe=de,Zgt=Qr((Ix(),ie(ne(Qgt,1),rt,511,0,[YI,Aue])))}function sQe(){sQe=de,_pt=Qr((iD(),ie(ne(zEe,1),rt,419,0,[uq,HEe])))}function aQe(){aQe=de,Lpt=Qr((XM(),ie(ne(VEe,1),rt,479,0,[qEe,hq])))}function oQe(){oQe=de,cvt=Qr((qM(),ie(ne(JTe,1),rt,376,0,[zle,fO])))}function cQe(){cQe=de,ivt=Qr((eD(),ie(ne(YTe,1),rt,421,0,[jle,$le])))}function uQe(){uQe=de,kpt=Qr((o$(),ie(ne(NEe,1),rt,422,0,[OEe,Gue])))}function lQe(){lQe=de,Bpt=Qr((Xj(),ie(ne(i9e,1),rt,420,0,[ile,r9e])))}function hQe(){hQe=de,Jvt=Qr((Xf(),ie(ne(Zvt,1),rt,520,0,[Fy,u2])))}function fQe(){fQe=de,Lvt=Qr((y_(),ie(ne(Avt,1),rt,523,0,[vS,bS])))}function dQe(){dQe=de,Bvt=Qr((bd(),ie(ne(Pvt,1),rt,516,0,[Aw,$g])))}function gQe(){gQe=de,Rvt=Qr((L1(),ie(ne(Fvt,1),rt,515,0,[Ib,K1])))}function pQe(){pQe=de,awt=Qr((Iv(),ie(ne(swt,1),rt,455,0,[l2,K4])))}function bQe(){bQe=de,Twt=Qr((Uj(),ie(ne(E_e,1),rt,425,0,[rhe,x_e])))}function vQe(){vQe=de,Lwt=Qr((O$(),ie(ne(T_e,1),rt,495,0,[Jq,dE])))}function wQe(){wQe=de,Ewt=Qr((zj(),ie(ne(k_e,1),rt,480,0,[nhe,y_e])))}function mQe(){mQe=de,Iwt=Qr((u$(),ie(ne(C_e,1),rt,426,0,[__e,ohe])))}function yQe(){yQe=de,jmt=Qr((gD(),ie(ne(LCe,1),rt,429,0,[cV,ACe])))}function kQe(){kQe=de,kmt=Qr((VM(),ie(ne(oCe,1),rt,430,0,[bhe,aV])))}function y_(){y_=de,vS=new Wpe("UPPER",0),bS=new Wpe("LOWER",1)}function ien(e,t){var n;n=new f6,U2(n,"x",t.a),U2(n,"y",t.b),M6(e,n)}function sen(e,t){var n;n=new f6,U2(n,"x",t.a),U2(n,"y",t.b),M6(e,n)}function aen(e,t){var n,r;r=!1;do n=htt(e,t),r=r|n;while(n);return r}function vwe(e,t){var n,r;for(n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function xQe(e,t){var n;for(n=t;n;)Sm(e,-n.i,-n.j),n=ls(n);return e}function Da(e,t){var n,r;for(An(t),r=e.Kc();r.Ob();)n=r.Pb(),t.td(n)}function EQe(e,t){var n;return n=t.cd(),new bv(n,e.e.pc(n,u(t.dd(),14)))}function ks(e,t,n,r){var i;i=new bt,i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function gh(e,t,n){var r;return r=(En(t,e.c.length),e.c[t]),e.c[t]=n,r}function oen(e,t,n){return u(t==null?lu(e.f,null,n):Uv(e.g,t,n),281)}function nre(e){return e.c&&e.d?ewe(e.c)+"->"+ewe(e.d):"e_"+kv(e)}function wx(e,t){return(ab(e),xT(new mn(e,new Hwe(t,e.a)))).sd(G7)}function cen(){return io(),ie(ne(F7e,1),rt,356,0,[Dd,i2,fu,Yc,zo])}function uen(){return dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])}function len(e){return UF(),function(){return kJt(e,this,arguments)}}function hen(){return Date.now?Date.now():new Date().getTime()}function no(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function TQe(e){if(!e.c.Sb())throw ee(new yc);return e.a=!0,e.c.Ub()}function zM(e){e.i=0,eM(e.b,null),eM(e.c,null),e.a=null,e.e=null,++e.g}function wwe(e){wqt.call(this,e==null?Iu:Yo(e),me(e,78)?u(e,78):null)}function _Qe(e){Zut(),Yje(this),this.a=new as,Vme(this,e),oi(this.a,e)}function CQe(){kte(this),this.b=new Ft(ps,ps),this.a=new Ft(Ds,Ds)}function SQe(e,t){this.c=0,this.b=t,tqe.call(this,e,17493),this.a=this.c}function rre(e){e$(),!q1&&(this.c=e,this.e=!0,this.a=new at)}function e$(){e$=de,q1=!0,Wdt=!1,Ydt=!1,Qdt=!1,Xdt=!1}function mwe(e,t){return me(t,149)?on(e.c,u(t,149).c):!1}function ywe(e,t){var n;return n=0,e&&(n+=e.f.a/2),t&&(n+=t.f.a/2),n}function ire(e,t){var n;return n=u(Fv(e.d,t),23),n||u(Fv(e.e,t),23)}function AQe(e){this.b=e,ir.call(this,e),this.a=u(Cn(this.b.a,4),126)}function LQe(e){this.b=e,E6.call(this,e),this.a=u(Cn(this.b.a,4),126)}function dl(e){return e.t||(e.t=new jje(e),B_(new Z$e(e),0,e.t)),e.t}function fen(){return wo(),ie(ne(MS,1),rt,103,0,[u0,Lf,Wh,Y0,X0])}function den(){return e4(),ie(ne(NS,1),rt,249,0,[d2,OO,FSe,OS,RSe])}function gen(){return t1(),ie(ne(Gg,1),rt,175,0,[jn,ua,Nd,Ob,zg])}function pen(){return RD(),ie(ne(hCe,1),rt,316,0,[cCe,vhe,lCe,whe,uCe])}function ben(){return G_(),ie(ne(HTe,1),rt,315,0,[$Te,Ble,Fle,hS,fS])}function ven(){return lb(),ie(ne($Ee,1),rt,335,0,[Vue,jEe,Uue,ZC,QC])}function wen(){return l7(),ie(ne(pmt,1),rt,355,0,[W4,Dk,_S,TS,CS])}function men(){return a4(),ie(ne(fpt,1),rt,363,0,[iq,aq,oq,sq,rq])}function yen(){return mh(),ie(ne(v9e,1),rt,163,0,[sO,rS,a2,iS,Sy])}function mx(){mx=de;var e,t;PV=(q8(),t=new jF,t),BV=(e=new yee,e)}function MQe(e){var t;return e.c||(t=e.r,me(t,88)&&(e.c=u(t,26))),e.c}function ken(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function sre(e){var t,n,r;return t=e&ml,n=e>>22&ml,r=e<0?V0:0,cu(t,n,r)}function xen(e){var t,n,r,i;for(n=e,r=0,i=n.length;r0?Mnt(e,t):Zat(e,-t)}function kwe(e,t){return t==0||e.e==0?e:t>0?Zat(e,t):Mnt(e,-t)}function Nr(e){if(Vr(e))return e.c=e.a,e.a.Pb();throw ee(new yc)}function IQe(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(zn(),Ls)&&n.k==Ls}function are(e){var t;return t=new Dv,$o(t,e),Qe(t,(mt(),Fo),null),t}function ore(e,t,n){var r;return r=e.Yg(t),r>=0?e._g(r,n,!0):ew(e,t,n)}function xwe(e,t,n,r){var i;for(i=0;it)throw ee(new Mo(i4e(e,t,"index")));return e}function cre(e,t,n,r){var i;return i=Ie(Sr,Jr,25,t,15,1),Pun(i,e,t,n,r),i}function Ten(e,t){var n;n=e.q.getHours()+(t/60|0),e.q.setMinutes(t),rC(e,n)}function _en(e,t){return b.Math.min(Fp(t.a,e.d.d.c),Fp(t.b,e.d.d.c))}function j6(e,t){return ga(t)?t==null?k4e(e.f,null):Ket(e.g,t):k4e(e.f,t)}function O1(e){this.c=e,this.a=new C(this.c.a),this.b=new C(this.c.b)}function t$(){this.e=new at,this.c=new at,this.d=new at,this.b=new at}function FQe(){this.g=new $ge,this.b=new $ge,this.a=new at,this.k=new at}function RQe(e,t,n){this.a=e,this.c=t,this.d=n,st(t.e,this),st(n.b,this)}function jQe(e,t){eqe.call(this,t.rd(),t.qd()&-6),An(e),this.a=e,this.b=t}function $Qe(e,t){tqe.call(this,t.rd(),t.qd()&-6),An(e),this.a=e,this.b=t}function Lwe(e,t){bte.call(this,t.rd(),t.qd()&-6),An(e),this.a=e,this.b=t}function n$(e,t,n){this.a=e,this.b=t,this.c=n,st(e.t,this),st(t.i,this)}function r$(){this.b=new as,this.a=new as,this.b=new as,this.a=new as}function i$(){i$=de,SS=new Qi("org.eclipse.elk.labels.labelManager")}function HQe(){HQe=de,AEe=new Hs("separateLayerConnections",(z$(),Iue))}function Xf(){Xf=de,Fy=new Qpe("REGULAR",0),u2=new Qpe("CRITICAL",1)}function qM(){qM=de,zle=new Kpe("STACKED",0),fO=new Kpe("SEQUENCED",1)}function VM(){VM=de,bhe=new r2e("FIXED",0),aV=new r2e("CENTER_NODE",1)}function Cen(e,t){var n;return n=Mbn(e,t),e.b=new I$(n.c.length),z2n(e,n)}function Sen(e,t,n){var r;return++e.e,--e.f,r=u(e.d[t].$c(n),133),r.dd()}function zQe(e){var t;return e.a||(t=e.r,me(t,148)&&(e.a=u(t,148))),e.a}function Mwe(e){if(e.a){if(e.e)return Mwe(e.e)}else return e;return null}function Aen(e,t){return e.pt.p?-1:0}function s$(e,t){return An(t),e.c=0,"Initial capacity must not be negative")}function VQe(){VQe=de,u0t=Qr((Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])))}function UQe(){UQe=de,h0t=Qr((sl(),ie(ne(l0t,1),rt,461,0,[Md,n2,Cf])))}function KQe(){KQe=de,d0t=Qr((Cu(),ie(ne(f0t,1),rt,462,0,[a1,r2,Sf])))}function WQe(){WQe=de,Zdt=Qr((F1(),ie(ne(yl,1),rt,132,0,[zxe,Zl,yy])))}function YQe(){YQe=de,Agt=Qr((x_(),ie(ne(B7e,1),rt,379,0,[mue,wue,yue])))}function XQe(){XQe=de,Ggt=Qr((Vv(),ie(ne($7e,1),rt,423,0,[I4,j7e,_ue])))}function QQe(){QQe=de,xpt=Qr((z6(),ie(ne(BEe,1),rt,314,0,[yk,ZI,PEe])))}function ZQe(){ZQe=de,Ept=Qr((_$(),ie(ne(REe,1),rt,337,0,[FEe,cq,que])))}function JQe(){JQe=de,Spt=Qr((nb(),ie(ne(Cpt,1),rt,450,0,[Kue,J7,B4])))}function eZe(){eZe=de,wpt=Qr((Gv(),ie(ne(Nue,1),rt,361,0,[ww,s2,vw])))}function tZe(){tZe=de,Ppt=Qr((P0(),ie(ne(Npt,1),rt,303,0,[eO,R4,kk])))}function nZe(){nZe=de,Opt=Qr((Fx(),ie(ne(rle,1),rt,292,0,[tle,nle,JI])))}function rZe(){rZe=de,Jbt=Qr((I_(),ie(ne(jTe,1),rt,378,0,[Ole,RTe,Rq])))}function iZe(){iZe=de,ovt=Qr((R$(),ie(ne(ZTe,1),rt,375,0,[XTe,Hle,QTe])))}function sZe(){sZe=de,rvt=Qr((F0(),ie(ne(WTe,1),rt,339,0,[c2,KTe,Rle])))}function aZe(){aZe=de,avt=Qr((vo(),ie(ne(svt,1),rt,452,0,[dS,cl,ou])))}function oZe(){oZe=de,hvt=Qr((G$(),ie(ne(s_e,1),rt,377,0,[Vle,hE,By])))}function cZe(){cZe=de,uvt=Qr((qx(),ie(ne(t_e,1),rt,336,0,[Gle,e_e,gS])))}function uZe(){uZe=de,lvt=Qr((B$(),ie(ne(i_e,1),rt,338,0,[r_e,qle,n_e])))}function lZe(){lZe=de,Tvt=Qr((zv(),ie(ne(Evt,1),rt,454,0,[dO,pS,zq])))}function hZe(){hZe=de,Dwt=Qr((eH(),ie(ne(Mwt,1),rt,442,0,[ahe,ihe,she])))}function fZe(){fZe=de,Owt=Qr((wD(),ie(ne(L_e,1),rt,380,0,[eV,S_e,A_e])))}function dZe(){dZe=de,Xwt=Qr((J$(),ie(ne(K_e,1),rt,381,0,[U_e,fhe,V_e])))}function gZe(){gZe=de,Ywt=Qr((F$(),ie(ne(G_e,1),rt,293,0,[hhe,z_e,H_e])))}function pZe(){pZe=de,vmt=Qr((TD(),ie(ne(dhe,1),rt,437,0,[rV,iV,sV])))}function bZe(){bZe=de,yyt=Qr((R0(),ie(ne(BSe,1),rt,334,0,[wV,qg,IS])))}function vZe(){vZe=de,byt=Qr((N1(),ie(ne(TSe,1),rt,272,0,[bE,$y,vE])))}function Pen(){return ya(),ie(ne(jSe,1),rt,98,0,[g2,Y1,mE,Fb,f0,Zc])}function X2(e,t){return!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),mie(e.o,t)}function Ben(e){return!e.g&&(e.g=new g8),!e.g.d&&(e.g.d=new Bje(e)),e.g.d}function Fen(e){return!e.g&&(e.g=new g8),!e.g.a&&(e.g.a=new Fje(e)),e.g.a}function Ren(e){return!e.g&&(e.g=new g8),!e.g.b&&(e.g.b=new Pje(e)),e.g.b}function UM(e){return!e.g&&(e.g=new g8),!e.g.c&&(e.g.c=new Rje(e)),e.g.c}function jen(e,t,n){var r,i;for(i=new Bx(t,e),r=0;rn||t=0?e._g(n,!0,!0):ew(e,t,!0)}function ntn(e,t){return Bs(We(gt(W(e,(nt(),xw)))),We(gt(W(t,xw))))}function TZe(){TZe=de,Cwt=Xv(Xv(cR(new Xs,(Jx(),wS)),(Y_(),Kq)),Wle)}function rtn(e,t,n){var r;return r=btt(e,t,n),e.b=new I$(r.c.length),U4e(e,r)}function itn(e){if(e.b<=0)throw ee(new yc);return--e.b,e.a-=e.c.c,lt(e.a)}function stn(e){var t;if(!e.a)throw ee(new AWe);return t=e.a,e.a=ls(e.a),t}function atn(e){for(;!e.a;)if(!fUe(e.c,new Rt(e)))return!1;return!0}function H6(e){var t;return Or(e),me(e,198)?(t=u(e,198),t):new OJ(e)}function otn(e){c$(),u(e.We((di(),jy)),174).Fc((al(),NO)),e.Ye(Fhe,null)}function c$(){c$=de,zmt=new UQ,qmt=new KQ,Gmt=Vrn((di(),Fhe),zmt,h2,qmt)}function u$(){u$=de,__e=new n2e("LEAF_NUMBER",0),ohe=new n2e("NODE_SIZE",1)}function ctn(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Ph(e.d),e.e.a.c=Ie(Xn,_t,1,0,5,1)}function pre(e){e.a=Ie(Sr,Jr,25,e.b+1,15,1),e.c=Ie(Sr,Jr,25,e.b,15,1),e.d=0}function utn(e,t){e.a.ue(t.d,e.b)>0&&(st(e.c,new Vbe(t.c,t.d,e.d)),e.b=t.d)}function $we(e,t){if(e.g==null||t>=e.i)throw ee(new vte(t,e.i));return e.g[t]}function _Ze(e,t,n){if(Hx(e,n),n!=null&&!e.wj(n))throw ee(new vee);return n}function CZe(e){var t;if(e.Ek())for(t=e.i-1;t>=0;--t)_e(e,t);return hwe(e)}function ltn(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function htn(e,t){var n,r;return WXe(t),n=(r=e.slice(0,t),zwe(r,e)),n.length=t,n}function xx(e,t,n,r){var i;r=(z3(),r||Dxe),i=e.slice(t,n),s4e(i,e,t,n,-t,r)}function ph(e,t,n,r,i){return t<0?ew(e,n,r):u(n,66).Nj().Pj(e,e.yh(),t,r,i)}function ftn(e){return me(e,172)?""+u(e,172).a:e==null?null:Yo(e)}function dtn(e){return me(e,172)?""+u(e,172).a:e==null?null:Yo(e)}function SZe(e,t){if(t.a)throw ee(new ec(Llt));zs(e.a,t),t.a=e,!e.j&&(e.j=t)}function Hwe(e,t){bte.call(this,t.rd(),t.qd()&-16449),An(e),this.a=e,this.c=t}function AZe(e,t){var n,r;return r=t/e.c.Hd().gc()|0,n=t%e.c.Hd().gc(),$6(e,r,n)}function sl(){sl=de,Md=new qee(ak,0),n2=new qee(T7,1),Cf=new qee(ok,2)}function l$(){l$=de,eue=new fR("All",0),Rxe=new Eqe,jxe=new Pqe,$xe=new Tqe}function LZe(){LZe=de,Udt=Qr((l$(),ie(ne(EG,1),rt,297,0,[eue,Rxe,jxe,$xe])))}function MZe(){MZe=de,Fgt=Qr((Rx(),ie(ne(Bgt,1),rt,405,0,[bw,Ey,xy,D4])))}function DZe(){DZe=de,R0t=Qr((qv(),ie(ne(F0t,1),rt,406,0,[$I,jI,cue,uue])))}function IZe(){IZe=de,$0t=Qr((Y6(),ie(ne(j0t,1),rt,323,0,[zI,HI,GI,qI])))}function OZe(){OZe=de,G0t=Qr((z_(),ie(ne(z0t,1),rt,394,0,[VI,AG,LG,UI])))}function NZe(){NZe=de,owt=Qr((Jx(),ie(ne(l_e,1),rt,393,0,[Uq,wS,pO,mS])))}function PZe(){PZe=de,npt=Qr((z$(),ie(ne(tpt,1),rt,360,0,[Iue,tq,nq,QI])))}function BZe(){BZe=de,Wwt=Qr((mH(),ie(ne($_e,1),rt,340,0,[lhe,R_e,j_e,F_e])))}function FZe(){FZe=de,hpt=Qr((B1(),ie(ne(lpt,1),rt,411,0,[mk,W7,Y7,Oue])))}function RZe(){RZe=de,evt=Qr((Xm(),ie(ne(Ple,1),rt,197,0,[jq,Nle,U4,V4])))}function jZe(){jZe=de,Fyt=Qr((Ol(),ie(ne(Byt,1),rt,396,0,[rh,KSe,USe,WSe])))}function $Ze(){$Ze=de,xyt=Qr((Kl(),ie(ne(kyt,1),rt,285,0,[IO,l0,f2,DO])))}function HZe(){HZe=de,vyt=Qr(($0(),ie(ne(Hhe,1),rt,218,0,[$he,MO,wE,Bk])))}function zZe(){zZe=de,Nyt=Qr((rH(),ie(ne(VSe,1),rt,311,0,[qhe,zSe,qSe,GSe])))}function GZe(){GZe=de,Iyt=Qr((Nl(),ie(ne(FS,1),rt,374,0,[BO,Rb,PO,Hy])))}function qZe(){qZe=de,YH(),LAe=ps,j3t=Ds,MAe=new T3(ps),$3t=new T3(Ds)}function XM(){XM=de,qEe=new qpe(U0,0),hq=new qpe("IMPROVE_STRAIGHTNESS",1)}function gtn(e,t){return ix(),st(e,new _a(t,lt(t.e.c.length+t.g.c.length)))}function ptn(e,t){return ix(),st(e,new _a(t,lt(t.e.c.length+t.g.c.length)))}function zwe(e,t){return tD(t)!=10&&ie(pl(t),t.hm,t.__elementTypeId$,tD(t),e),e}function _u(e,t){var n;return n=Ko(e,t,0),n==-1?!1:(yg(e,n),!0)}function VZe(e,t){var n;return n=u(j6(e.e,t),387),n?(Wbe(n),n.e):null}function Ex(e){var t;return Uo(e)&&(t=0-e,!isNaN(t))?t:jp(jx(e))}function Ko(e,t,n){for(;n=0?gH(e,n,!0,!0):ew(e,t,!0)}function Kwe(e,t){_T();var n,r;return n=B6(e),r=B6(t),!!n&&!!r&&!urt(n.k,r.k)}function wtn(e,t){Au(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function mtn(e,t){Lu(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function ytn(e,t){Hv(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function ktn(e,t){$v(e,t==null||ZR((An(t),t))||isNaN((An(t),t))?0:(An(t),t))}function XZe(e){(this.q?this.q:(fn(),fn(),o0)).Ac(e.q?e.q:(fn(),fn(),o0))}function xtn(e,t){return me(t,99)&&u(t,18).Bb&ao?new wte(t,e):new Bx(t,e)}function Etn(e,t){return me(t,99)&&u(t,18).Bb&ao?new wte(t,e):new Bx(t,e)}function QZe(e,t){d7e=new Es,H0t=t,VC=e,u(VC.b,65),Owe(VC,d7e,null),Uct(VC)}function yre(e,t,n){var r;return r=e.g[t],YT(e,t,e.oi(t,n)),e.gi(t,n,r),e.ci(),r}function g$(e,t){var n;return n=e.Xc(t),n>=0?(e.$c(n),!0):!1}function kre(e){var t;return e.d!=e.r&&(t=Rh(e),e.e=!!t&&t.Cj()==N1t,e.d=t),e.e}function xre(e,t){var n;for(Or(e),Or(t),n=!1;t.Ob();)n=n|e.Fc(t.Pb());return n}function Fv(e,t){var n;return n=u(Jn(e.e,t),387),n?(Gqe(e,n),n.e):null}function ZZe(e){var t,n;return t=e/60|0,n=e%60,n==0?""+t:""+t+":"+(""+n)}function rc(e,t){var n,r;return ab(e),r=new Lwe(t,e.a),n=new pUe(r),new mn(e,n)}function Hm(e,t){var n=e.a[t],r=(Hre(),Yce)[typeof n];return r?r(n):Qme(typeof n)}function Ttn(e){switch(e.g){case 0:return xi;case 1:return-1;default:return 0}}function _tn(e){return g3e(e,(Tx(),fxe))<0?-HVt(jx(e)):e.l+e.m*sk+e.h*gb}function tD(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function Ere(e){var t;return t=e.b.c.length==0?null:It(e.b,0),t!=null&&Ore(e,0),t}function JZe(e,t){for(;t[0]=0;)++t[0]}function nD(e,t){this.e=t,this.a=Wet(e),this.a<54?this.f=Pv(e):this.c=AD(e)}function eJe(e,t,n,r){mi(),ov.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function Qd(e,t,n){var r,i;for(r=10,i=0;ie.a[r]&&(r=n);return r}function Dtn(e,t){var n;return n=Kv(e.e.c,t.e.c),n==0?Bs(e.e.d,t.e.d):n}function V3(e,t){return t.e==0||e.e==0?H7:(a7(),Tse(e,t))}function Itn(e,t){if(!e)throw ee(new Dn(Pdn("Enum constant undefined: %s",t)))}function E_(){E_=de,$gt=new d3,Hgt=new O5,Rgt=new up,jgt=new O2,zgt=new CW}function p$(){p$=de,Kxe=new Rpe("BY_SIZE",0),iue=new Rpe("BY_SIZE_AND_SHAPE",1)}function b$(){b$=de,pue=new jpe("EADES",0),IG=new jpe("FRUCHTERMAN_REINGOLD",1)}function iD(){iD=de,uq=new Gpe("READING_DIRECTION",0),HEe=new Gpe("ROTATION",1)}function nJe(){nJe=de,Tpt=Qr((lb(),ie(ne($Ee,1),rt,335,0,[Vue,jEe,Uue,ZC,QC])))}function rJe(){rJe=de,tvt=Qr((G_(),ie(ne(HTe,1),rt,315,0,[$Te,Ble,Fle,hS,fS])))}function iJe(){iJe=de,dpt=Qr((a4(),ie(ne(fpt,1),rt,363,0,[iq,aq,oq,sq,rq])))}function sJe(){sJe=de,Fpt=Qr((mh(),ie(ne(v9e,1),rt,163,0,[sO,rS,a2,iS,Sy])))}function aJe(){aJe=de,xmt=Qr((RD(),ie(ne(hCe,1),rt,316,0,[cCe,vhe,lCe,whe,uCe])))}function oJe(){oJe=de,Vmt=Qr((t1(),ie(ne(Gg,1),rt,175,0,[jn,ua,Nd,Ob,zg])))}function cJe(){cJe=de,bmt=Qr((l7(),ie(ne(pmt,1),rt,355,0,[W4,Dk,_S,TS,CS])))}function uJe(){uJe=de,Igt=Qr((io(),ie(ne(F7e,1),rt,356,0,[Dd,i2,fu,Yc,zo])))}function lJe(){lJe=de,pyt=Qr((wo(),ie(ne(MS,1),rt,103,0,[u0,Lf,Wh,Y0,X0])))}function hJe(){hJe=de,Tyt=Qr((e4(),ie(ne(NS,1),rt,249,0,[d2,OO,FSe,OS,RSe])))}function fJe(){fJe=de,Syt=Qr((dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])))}function Tre(e,t){var n;return n=u(Jn(e.a,t),134),n||(n=new Qb,Si(e.a,t,n)),n}function dJe(e){var t;return t=u(W(e,(nt(),mw)),305),t?t.a==e:!1}function gJe(e){var t;return t=u(W(e,(nt(),mw)),305),t?t.i==e:!1}function pJe(e,t){return An(t),gve(e),e.d.Ob()?(t.td(e.d.Pb()),!0):!1}function v$(e){return Lc(e,xi)>0?xi:Lc(e,za)<0?za:Ir(e)}function zm(e){return e<3?(Vl(e,hlt),e+1):e=0&&t=-.01&&e.a<=H1&&(e.a=0),e.b>=-.01&&e.b<=H1&&(e.b=0),e}function vJe(e,t){return t==(Gte(),Gte(),Gdt)?e.toLocaleLowerCase():e.toLowerCase()}function Ywe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(S0(e),e.o)}function Po(e){var t,n;n=(t=new kee,t),Pr((!e.q&&(e.q=new ot(ef,e,11,10)),e.q),n)}function Otn(e,t){var n;return n=t>0?t-1:t,dHe(KGt(zJe(Kbe(new j8,n),e.n),e.j),e.k)}function Ntn(e,t,n,r){var i;e.j=-1,w4e(e,Z3e(e,t,n),(ho(),i=u(t,66).Mj(),i.Ok(r)))}function wJe(e){this.g=e,this.f=new at,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function mJe(e){this.b=new at,this.a=new at,this.c=new at,this.d=new at,this.e=e}function yJe(e,t){this.a=new Ar,this.e=new Ar,this.b=(I_(),Rq),this.c=e,this.b=t}function kJe(e,t,n){XR.call(this),Xwe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function xJe(e){this.d=e,this.c=e.c.vc().Kc(),this.b=null,this.a=null,this.e=(zF(),Vce)}function Rv(e){if(e<0)throw ee(new Dn("Illegal Capacity: "+e));this.g=this.ri(e)}function Ptn(e,t){if(0>e||e>t)throw ee(new upe("fromIndex: 0, toIndex: "+e+Q5e+t))}function Btn(e){var t;if(e.a==e.b.a)throw ee(new yc);return t=e.a,e.c=t,e.a=e.a.e,t}function w$(e){var t;Cm(!!e.c),t=e.c.a,bh(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function m$(e,t){var n;return ab(e),n=new qWe(e,e.a.rd(),e.a.qd()|4,t),new mn(e,n)}function Ftn(e,t){var n,r;return n=u(Km(e.d,t),14),n?(r=t,e.e.pc(r,n)):null}function y$(e,t){var n,r;for(r=e.Kc();r.Ob();)n=u(r.Pb(),70),Qe(n,(nt(),_k),t)}function Rtn(e){var t;return t=We(gt(W(e,(mt(),Rg)))),t<0&&(t=0,Qe(e,Rg,t)),t}function jtn(e,t,n){var r;r=b.Math.max(0,e.b/2-.5),V_(n,r,1),st(t,new Wze(n,r))}function $tn(e,t,n){var r;return r=e.a.e[u(t.a,10).p]-e.a.e[u(n.a,10).p],_s(AM(r))}function EJe(e,t,n,r,i,a){var h;h=are(r),Ka(h,i),wa(h,a),an(e.a,r,new JR(h,t,n.f))}function TJe(e,t){var n;if(n=WD(e.Tg(),t),!n)throw ee(new Dn(e2+t+cce));return n}function Gm(e,t){var n;for(n=e;ls(n);)if(n=ls(n),n==t)return!0;return!1}function Htn(e,t){var n,r,i;for(r=t.a.cd(),n=u(t.a.dd(),14).gc(),i=0;i0&&(e.a/=t,e.b/=t),e}function ql(e){var t;return e.w?e.w:(t=XZt(e),t&&!t.kh()&&(e.w=t),t)}function Ytn(e){var t;return e==null?null:(t=u(e,190),Xun(t,t.length))}function _e(e,t){if(e.g==null||t>=e.i)throw ee(new vte(t,e.i));return e.li(t,e.g[t])}function Xtn(e){var t,n;for(t=e.a.d.j,n=e.c.d.j;t!=n;)xf(e.b,t),t=Q$(t);xf(e.b,t)}function Qtn(e){var t;for(t=0;t=14&&t<=16))),e}function AJe(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function LJe(e,t,n){var r,i;r=t;do i=We(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p];while(r!=t)}function _x(e,t){var n,r;r=e.a,n=Din(e,t,null),r!=t&&!e.e&&(n=b7(e,t,n)),n&&n.Fi()}function Qwe(e,t){return C1(),kf(Yp),b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)}function Zwe(e,t){return C1(),kf(Yp),b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)}function enn(e,t){return Up(),ku(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function U3(e,t){return ZGt(C_(e,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))))}function MJe(){MJe=de,Kgt=Qr((zn(),ie(ne(Sue,1),rt,267,0,[js,ca,Ls,Xc,Pl,V1])))}function DJe(){DJe=de,eyt=Qr((Jm(),ie(ne(Ahe,1),rt,291,0,[She,_O,TO,Che,xO,EO])))}function IJe(){IJe=de,Wmt=Qr((Zd(),ie(ne(NCe,1),rt,248,0,[The,yO,kO,hV,uV,lV])))}function OJe(){OJe=de,ypt=Qr((Q6(),ie(ne(Z7,1),rt,227,0,[Q7,XC,X7,Ty,P4,N4])))}function NJe(){NJe=de,Dpt=Qr((i7(),ie(ne(n9e,1),rt,275,0,[JC,ZEe,t9e,e9e,JEe,QEe])))}function PJe(){PJe=de,Mpt=Qr((BD(),ie(ne(XEe,1),rt,274,0,[fq,KEe,YEe,UEe,WEe,Jue])))}function BJe(){BJe=de,Zbt=Qr((SH(),ie(ne(FTe,1),rt,313,0,[Ile,PTe,Dle,NTe,BTe,Fq])))}function FJe(){FJe=de,Apt=Qr((DH(),ie(ne(GEe,1),rt,276,0,[Yue,Wue,Que,Xue,Zue,lq])))}function RJe(){RJe=de,uwt=Qr((Y_(),ie(ne(cwt,1),rt,327,0,[Kq,Wle,Xle,Yle,Qle,Kle])))}function jJe(){jJe=de,Cyt=Qr((al(),ie(ne(mV,1),rt,273,0,[p2,Z0,NO,BS,PS,Fk])))}function $Je(){$Je=de,wyt=Qr((LH(),ie(ne(MSe,1),rt,312,0,[zhe,SSe,LSe,_Se,ASe,CSe])))}function tnn(){return ry(),ie(ne(xo,1),rt,93,0,[Mf,Q0,Df,Of,h0,Xh,eh,If,Yh])}function x$(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,0,n,e.a))}function E$(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,1,n,e.b))}function Cx(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,3,n,e.b))}function $v(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,3,n,e.f))}function Hv(e,t){var n;n=e.g,e.g=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,4,n,e.g))}function Au(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,5,n,e.i))}function Lu(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,6,n,e.j))}function Sx(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,1,n,e.j))}function Ax(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,4,n,e.c))}function Lx(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&_i(e,new jm(e,2,n,e.k))}function Cre(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_i(e,new Jne(e,2,n,e.d))}function Eg(e,t){var n;n=e.s,e.s=t,e.Db&4&&!(e.Db&1)&&_i(e,new Jne(e,4,n,e.s))}function Vm(e,t){var n;n=e.t,e.t=t,e.Db&4&&!(e.Db&1)&&_i(e,new Jne(e,5,n,e.t))}function Mx(e,t){var n;n=e.F,e.F=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,5,n,t))}function sD(e,t){var n;return n=u(Jn((uR(),DV),e),55),n?n.xj(t):Ie(Xn,_t,1,t,5,1)}function B0(e,t){var n,r;return n=t in e.a,n&&(r=M0(e,t).he(),r)?r.a:null}function nnn(e,t){var n,r,i;return n=(r=(gv(),i=new I9,i),t&&$4e(r,t),r),ome(n,e),n}function HJe(e,t,n){if(Hx(e,n),!e.Bk()&&n!=null&&!e.wj(n))throw ee(new vee);return n}function zJe(e,t){return e.n=t,e.n?(e.f=new at,e.e=new at):(e.f=null,e.e=null),e}function Gr(e,t,n,r,i,a){var h;return h=wne(e,t),qJe(n,h),h.i=i?8:0,h.f=r,h.e=i,h.g=a,h}function Jwe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function eme(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function tme(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function nme(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function rme(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function GJe(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i=0),nan(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ime(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=mD(e.f)),e.c).e}function kf(e){if(!(e>=0))throw ee(new Dn("tolerance ("+e+") must be >= 0"));return e}function Dx(){return xhe||(xhe=new Not,Q3(xhe,ie(ne(M4,1),_t,130,0,[new gp]))),xhe}function vo(){vo=de,dS=new nte(bC,0),cl=new nte("INPUT",1),ou=new nte("OUTPUT",2)}function _$(){_$=de,FEe=new Xee("ARD",0),cq=new Xee("MSD",1),que=new Xee("MANUAL",2)}function zv(){zv=de,dO=new ote("BARYCENTER",0),pS=new ote(wht,1),zq=new ote(mht,2)}function aD(e,t){var n;if(n=e.gc(),t<0||t>n)throw ee(new Mm(t,n));return new xbe(e,t)}function KJe(e,t){var n;return me(t,42)?e.c.Mc(t):(n=mie(e,t),aH(e,t),n)}function Co(e,t,n){return sb(e,t),nu(e,n),Eg(e,0),Vm(e,1),Sg(e,!0),Cg(e,!0),e}function Vl(e,t){if(e<0)throw ee(new Dn(t+" cannot be negative but was: "+e));return e}function WJe(e,t){var n,r;for(n=0,r=e.gc();n0?u(It(n.a,r-1),10):null}function __(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,2,n,e.k))}function S$(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,8,n,e.f))}function A$(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,7,n,e.i))}function ome(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,8,n,e.a))}function cme(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,0,n,e.b))}function ume(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,0,n,e.b))}function lme(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.c))}function hme(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.c))}function Are(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,4,n,e.c))}function fme(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,1,n,e.d))}function Lre(e,t){var n;n=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,2,n,e.D))}function Mre(e,t){e.r>0&&e.c0&&e.g!=0&&Mre(e.i,t/e.r*e.i.d))}function hnn(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new F$e:new _L,e.c=S0n(r,e.b,e.a)}function ret(e,t){return G0(e.e,t)?(ho(),kre(t)?new aj(t,e):new fM(t,e)):new YGe(t,e)}function L$(e,t){return QGt(S_(e.a,t,Ir(Ha(n0,Wd(Ir(Ha(t==null?0:Yi(t),r0)),15)))))}function fnn(e,t,n){return $m(e,new ut(t),new fa,new ht(n),ie(ne(yl,1),rt,132,0,[]))}function dnn(e){var t,n;return 0>e?new Tpe:(t=e+1,n=new SQe(t,e),new rbe(null,n))}function gnn(e,t){fn();var n;return n=new p6(1),ga(e)?Io(n,e,t):lu(n.f,e,t),new $(n)}function pnn(e,t){var n,r;return n=e.o+e.p,r=t.o+t.p,nt?(t<<=1,t>0?t:hC):t}function Dre(e){switch(N2e(e.e!=3),e.e){case 2:return!1;case 0:return!0}return ken(e)}function set(e,t){var n;return me(t,8)?(n=u(t,8),e.a==n.a&&e.b==n.b):!1}function Ire(e,t,n){var r,i,a;return a=t>>5,i=t&31,r=Gs(Im(e.n[n][a],Ir(A0(i,1))),3),r}function vnn(e,t){var n,r;for(r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),TH(e,n.cd(),n.dd())}function wnn(e,t){var n;n=new Es,u(t.b,65),u(t.b,65),u(t.b,65),Su(t.a,new Obe(e,n,t))}function dme(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,21,n,e.b))}function gme(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,11,n,e.d))}function M$(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,13,n,e.j))}function aet(e,t,n){var r,i,a;for(a=e.a.length-1,i=e.b,r=0;r>>31;r!=0&&(e[n]=r)}function Ann(e,t){fn();var n,r;for(r=new at,n=0;n0&&(this.g=this.ri(this.i+(this.i/8|0)+1),e.Qc(this.g))}function gs(e,t){nj.call(this,w3t,e,t),this.b=this,this.a=hu(e.Tg(),bn(this.e.Tg(),this.c))}function A_(e,t){var n,r;for(An(t),r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),e.zc(n.cd(),n.dd())}function Rnn(e,t,n){var r;for(r=n.Kc();r.Ob();)if(!Qj(e,t,r.Pb()))return!1;return!0}function jnn(e,t,n,r,i){var a;return n&&(a=Zi(t.Tg(),e.c),i=n.gh(t,-1-(a==-1?r:a),null,i)),i}function $nn(e,t,n,r,i){var a;return n&&(a=Zi(t.Tg(),e.c),i=n.ih(t,-1-(a==-1?r:a),null,i)),i}function Cet(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function Aet(e){switch(e.g){case 2:return dt(),On;case 4:return dt(),$n;default:return e}}function Let(e){switch(e.g){case 1:return dt(),Tr;case 3:return dt(),Ln;default:return e}}function Hnn(e){var t,n,r;return e.j==(dt(),Ln)&&(t=iat(e),n=zu(t,$n),r=zu(t,On),r||r&&n)}function znn(e){var t,n;return t=u(e.e&&e.e(),9),n=u(_ve(t,t.length),9),new hh(t,n,t.length)}function Gnn(e,t){Er(t,vht,1),yye(uqt(new rr((TT(),new Cne(e,!1,!1,new TP))))),lr(t)}function oD(e,t){return In(),ga(e)?Swe(e,Hr(t)):_m(e)?one(e,gt(t)):Tm(e)?KYt(e,Nt(t)):e.wd(t)}function yme(e,t){t.q=e,e.d=b.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),st(e.a,t)}function Ox(e,t){var n,r,i,a;return i=e.c,n=e.c+e.b,a=e.d,r=e.d+e.a,t.a>i&&t.aa&&t.b1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw ee(new yc)}function trn(e){Aqe();var t;return Rze(Ule,e)||(t=new tQ,t.a=e,lbe(Ule,e,t)),u(_o(Ule,e),635)}function Bh(e){var t,n,r,i;return i=e,r=0,i<0&&(i+=gb,r=V0),n=_s(i/sk),t=_s(i-n*sk),cu(t,n,r)}function cD(e){var t,n,r;for(r=0,n=new b6(e.a);n.a>22),i=e.h+t.h+(r>>22),cu(n&ml,r&ml,i&V0)}function Yet(e,t){var n,r,i;return n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22),cu(n&ml,r&ml,i&V0)}function fD(e){var t;return e<128?(t=(cKe(),bxe)[e],!t&&(t=bxe[e]=new LF(e)),t):new LF(e)}function ts(e){var t;return me(e,78)?e:(t=e&&e.__java$exception,t||(t=new Rtt(e),Jje(t)),t)}function dD(e){if(me(e,186))return u(e,118);if(e)return null;throw ee(new d6(qft))}function Xet(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(Ci(t,W$(e)))return!0;return!1}function Cme(e){return e.a.Ob()?!0:e.a!=e.d?!1:(e.a=new awe(e.e.f),e.a.Ob())}function Ps(e,t){var n,r;return n=t.Pc(),r=n.length,r==0?!1:(jbe(e.c,e.c.length,n),!0)}function brn(e,t,n){var r,i;for(i=t.vc().Kc();i.Ob();)r=u(i.Pb(),42),e.yc(r.cd(),r.dd(),n);return e}function Qet(e,t){var n,r;for(r=new C(e.b);r.a=0,"Negative initial capacity"),tj(t>=0,"Non-positive load factor"),il(this)}function zre(e,t,n){return e>=128?!1:e<64?GT(Gs(A0(1,e),n),0):GT(Gs(A0(1,e-64),t),0)}function _rn(e,t){return!e||!t||e==t?!1:Kv(e.b.c,t.b.c+t.b.b)<0&&Kv(t.b.c,e.b.c+e.b.b)<0}function utt(e){var t,n,r;return n=e.n,r=e.o,t=e.d,new fh(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function Crn(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;rr)throw ee(new Mm(t,r));return e.hi()&&(n=TYe(e,n)),e.Vh(t,n)}function bD(e,t,n){return n==null?(!e.q&&(e.q=new Ar),j6(e.q,t)):(!e.q&&(e.q=new Ar),Si(e.q,t,n)),e}function Qe(e,t,n){return n==null?(!e.q&&(e.q=new Ar),j6(e.q,t)):(!e.q&&(e.q=new Ar),Si(e.q,t,n)),e}function ltt(e){var t,n;return n=new t$,$o(n,e),Qe(n,(Rp(),wk),e),t=new Ar,Mpn(e,n,t),nvn(e,n,t),n}function Lrn(e){f4();var t,n,r;for(n=Ie(ea,Je,8,2,0,1),r=0,t=0;t<2;t++)r+=.5,n[t]=lon(r,e);return n}function htt(e,t){var n,r,i,a;for(n=!1,r=e.a[t].length,a=0;a>=1);return t}function dtt(e){var t,n;return n=qD(e.h),n==32?(t=qD(e.m),t==32?qD(e.l)+32:t+20-10):n-12}function D_(e){var t;return t=e.a[e.b],t==null?null:(us(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function gtt(e){var t,n;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||n}function q$(e,t,n){var r,i;return r=new fre(t,n),i=new At,e.b=sot(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function ptt(e,t,n){var r,i,a,h;for(h=N_(t,n),a=0,i=h.Kc();i.Ob();)r=u(i.Pb(),11),Si(e.c,r,lt(a++))}function $p(e){var t,n;for(n=new C(e.a.b);n.an&&(n=e[t]);return n}function btt(e,t,n){var r;return r=new at,G4e(e,t,r,(dt(),$n),!0,!1),G4e(e,n,r,On,!1,!1),r}function qre(e,t,n){var r,i,a,h;return a=null,h=t,i=Bv(h,"labels"),r=new NGe(e,n),a=(Wfn(r.a,r.b,i),i),a}function Drn(e,t,n,r){var i;return i=M4e(e,t,n,r),!i&&(i=Iin(e,n,r),i&&!p4(e,t,i))?null:i}function Irn(e,t,n,r){var i;return i=D4e(e,t,n,r),!i&&(i=oie(e,n,r),i&&!p4(e,t,i))?null:i}function vtt(e,t){var n;for(n=0;n1||t>=0&&e.b<3)}function vD(e){var t,n,r;for(t=new $u,r=si(e,0);r.b!=r.d.c;)n=u(ii(r),8),tx(t,0,new Do(n));return t}function rb(e){var t,n;for(n=new C(e.a.b);n.ar?1:0}function Vme(e,t){return Hat(e,t)?(an(e.b,u(W(t,(nt(),_y)),21),t),oi(e.a,t),!0):!1}function qrn(e){var t,n;t=u(W(e,(nt(),ol)),10),t&&(n=t.c,_u(n.a,t),n.a.c.length==0&&_u(Xa(t).b,n))}function Ett(e){return q1?Ie(Kdt,_lt,572,0,0,1):u(R1(e.a,Ie(Kdt,_lt,572,e.a.c.length,0,1)),842)}function Vrn(e,t,n,r){return Cj(),new Cee(ie(ne(Eb,1),oz,42,0,[(Fie(e,t),new bv(e,t)),(Fie(n,r),new bv(n,r))]))}function X3(e,t,n){var r,i;return i=(r=new kee,r),Co(i,t,n),Pr((!e.q&&(e.q=new ot(ef,e,11,10)),e.q),i),i}function Wre(e){var t,n,r,i;for(i=vqt(Kyt,e),n=i.length,r=Ie(Et,Je,2,n,6,1),t=0;t=e.b.c.length||(Ume(e,2*t+1),n=2*t+2,n=0&&e[r]===t[r];r--);return r<0?0:Hee(Gs(e[r],yo),Gs(t[r],yo))?-1:1}function Urn(e,t){var n,r;for(r=si(e,0);r.b!=r.d.c;)n=u(ii(r),214),n.e.length>0&&(t.td(n),n.i&&$in(n))}function Xre(e,t){var n,r;return r=u(Cn(e.a,4),126),n=Ie(Xhe,_ce,415,t,0,1),r!=null&&Rc(r,0,n,0,r.length),n}function _tt(e,t){var n;return n=new Sse((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(n.c=e),n}function Krn(e,t){var n,r;for(r=e.Zb().Cc().Kc();r.Ob();)if(n=u(r.Pb(),14),n.Hc(t))return!0;return!1}function Qre(e,t,n,r,i){var a,h;for(h=n;h<=i;h++)for(a=t;a<=r;a++)if(n4(e,a,h))return!0;return!1}function Ctt(e,t,n){var r,i,a,h;for(An(n),h=!1,a=e.Zc(t),i=n.Kc();i.Ob();)r=i.Pb(),a.Rb(r),h=!0;return h}function Wrn(e,t){var n;return e===t?!0:me(t,83)?(n=u(t,83),W3e(_v(e),n.vc())):!1}function Stt(e,t,n){var r,i;for(i=n.Kc();i.Ob();)if(r=u(i.Pb(),42),e.re(t,r.dd()))return!0;return!1}function Att(e,t,n){return e.d[t.p][n.p]||(qan(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function Hx(e,t){if(!e.ai()&&t==null)throw ee(new Dn("The 'no null' constraint is violated"));return t}function zx(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),Lre(e,t==null?null:(An(t),t)),e.C&&e.yk(null)}function Yrn(e,t){var n;return!e||e==t||!Js(t,(nt(),kw))?!1:(n=u(W(t,(nt(),kw)),10),n!=e)}function Zre(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.pl()}}function Ltt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.ql()}}function Mtt(e){vYe.call(this,"The given string does not match the expected format for individual spacings.",e)}function Ol(){Ol=de,rh=new SR("ELK",0),KSe=new SR("JSON",1),USe=new SR("DOT",2),WSe=new SR("SVG",3)}function wD(){wD=de,eV=new ute(U0,0),S_e=new ute("RADIAL_COMPACTION",1),A_e=new ute("WEDGE_COMPACTION",2)}function F1(){F1=de,zxe=new zee("CONCURRENT",0),Zl=new zee("IDENTITY_FINISH",1),yy=new zee("UNORDERED",2)}function Jre(){Jre=de,v7e=(rR(),lue),b7e=new pn(f6e,v7e),V0t=new Qi(d6e),U0t=new Qi(g6e),K0t=new Qi(p6e)}function Gx(){Gx=de,MEe=new j5,DEe=new pY,spt=new cL,ipt=new bY,rpt=new vY,LEe=(An(rpt),new nn)}function qx(){qx=de,Gle=new ite("CONSERVATIVE",0),e_e=new ite("CONSERVATIVE_SOFT",1),gS=new ite("SLOPPY",2)}function V$(){V$=de,PSe=new yv(15),myt=new fo((di(),Pb),PSe),DS=Nk,DSe=nyt,ISe=Nb,NSe=Z4,OSe=gV}function eie(e,t,n){var r,i,a;for(r=new as,a=si(n,0);a.b!=a.d.c;)i=u(ii(a),8),oi(r,new Do(i));Ctt(e,t,r)}function Xrn(e){var t,n,r;for(t=0,r=Ie(ea,Je,8,e.b,0,1),n=si(e,0);n.b!=n.d.c;)r[t++]=u(ii(n),8);return r}function Wme(e){var t;return t=(!e.a&&(e.a=new ot(J0,e,9,5)),e.a),t.i!=0?gqt(u(_e(t,0),678)):null}function Qrn(e,t){var n;return n=Wa(e,t),Hee(Une(e,t),0)|Mqt(Une(e,n),0)?n:Wa(az,Une(Im(n,63),1))}function Zrn(e,t){var n;n=Ct((vie(),Bq))!=null&&t.wg()!=null?We(gt(t.wg()))/We(gt(Ct(Bq))):1,Si(e.b,t,n)}function Jrn(e,t){var n,r;return n=u(e.d.Bc(t),14),n?(r=e.e.hc(),r.Gc(n),e.e.d-=n.gc(),n.$b(),r):null}function Yme(e,t){var n,r;if(r=e.c[t],r!=0)for(e.c[t]=0,e.d-=r,n=t+1;n0)return ax(t-1,e.a.c.length),yg(e.a,t-1);throw ee(new t$e)}function ein(e,t,n){if(t<0)throw ee(new Mo(eft+t));tt)throw ee(new Dn(hz+e+Clt+t));if(e<0||t>n)throw ee(new upe(hz+e+J5e+t+Q5e+n))}function Ott(e){if(!e.a||!(e.a.i&8))throw ee(new Vo("Enumeration class expected for layout option "+e.f))}function Um(e){var t;++e.j,e.i==0?e.g=null:e.i$z?e-n>$z:n-e>$z}function nie(e,t){return!e||t&&!e.j||me(e,124)&&u(e,124).a.b==0?0:e.Re()}function K$(e,t){return!e||t&&!e.k||me(e,124)&&u(e,124).a.a==0?0:e.Se()}function mD(e){return Kp(),e<0?e!=-1?new qye(-1,-e):Zce:e<=10?Mxe[_s(e)]:new qye(1,e)}function Qme(e){throw Hre(),ee(new W$e("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function Rtt(e){eHe(),RR(this),Dj(this),this.e=e,Qat(this,e),this.g=e==null?Iu:Yo(e),this.a="",this.b=e,this.a=""}function Zme(){this.a=new PQ,this.f=new GRe(this),this.b=new qRe(this),this.i=new VRe(this),this.e=new URe(this)}function jtt(){uGt.call(this,new Pwe(zm(16))),Vl(2,olt),this.b=2,this.a=new Nve(null,null,0,null),zL(this.a,this.a)}function I_(){I_=de,Ole=new ete("DUMMY_NODE_OVER",0),RTe=new ete("DUMMY_NODE_UNDER",1),Rq=new ete("EQUAL",2)}function rie(){rie=de,xue=mYe(ie(ne(MS,1),rt,103,0,[(wo(),Wh),Lf])),Eue=mYe(ie(ne(MS,1),rt,103,0,[X0,Y0]))}function iie(e){return(dt(),Nu).Hc(e.j)?We(gt(W(e,(nt(),iE)))):ic(ie(ne(ea,1),Je,8,0,[e.i.n,e.n,e.a])).b}function sin(e){var t,n,r,i;for(r=e.b.a,n=r.a.ec().Kc();n.Ob();)t=u(n.Pb(),561),i=new Dat(t,e.e,e.f),st(e.g,i)}function sb(e,t){var n,r,i;r=e.nk(t,null),i=null,t&&(i=(q8(),n=new cv,n),_x(i,e.r)),r=j1(e,i,r),r&&r.Fi()}function ain(e,t){var n,r;for(r=vl(e.d,1)!=0,n=!0;n;)n=!1,n=t.c.Tf(t.e,r),n=n|YD(e,t,r,!1),r=!r;bme(e)}function Jme(e,t){var n,r,i;return r=!1,n=t.q.d,t.di&&(hit(t.q,i),r=n!=t.q.d)),r}function $tt(e,t){var n,r,i,a,h,d,v,x;return v=t.i,x=t.j,r=e.f,i=r.i,a=r.j,h=v-i,d=x-a,n=b.Math.sqrt(h*h+d*d),n}function eye(e,t){var n,r;return r=oH(e),r||(n=(Xse(),fst(t)),r=new Uje(n),Pr(r.Vk(),e)),r}function yD(e,t){var n,r;return n=u(e.c.Bc(t),14),n?(r=e.hc(),r.Gc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function Htt(e,t){var n;for(n=0;n=e.c.b:e.a<=e.c.b))throw ee(new yc);return t=e.a,e.a+=e.c.c,++e.b,lt(t)}function uin(e){var t;return t=new wJe(e),$M(e.a,zgt,new Cl(ie(ne(WI,1),_t,369,0,[t]))),t.d&&st(t.f,t.d),t.f}function sie(e){var t;return t=new k2e(e.a),$o(t,e),Qe(t,(nt(),Mi),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function lin(e,t,n,r){var i,a;for(a=e.Kc();a.Ob();)i=u(a.Pb(),70),i.n.a=t.a+(r.a-i.o.a)/2,i.n.b=t.b,t.b+=i.o.b+n}function hin(e,t,n){var r,i;for(i=t.a.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),57),ZWe(e,r,n))return!0;return!1}function fin(e){var t,n;for(n=new C(e.r);n.a=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function bin(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function Wtt(e){var t,n;if(e!=null)for(n=0;n0&&(n=u(It(e.a,e.a.c.length-1),570),Vme(n,t))||st(e.a,new _Qe(t))}function kin(e){vf();var t,n;t=e.d.c-e.e.c,n=u(e.g,145),Su(n.b,new cT(t)),Su(n.c,new F2(t)),Da(n.i,new DF(t))}function Ztt(e){var t;return t=new yp,t.a+="VerticalSegment ",kc(t,e.e),t.a+=" ",Yr(t,D2e(new Nee,new C(e.k))),t.a}function xin(e){var t;return t=u(Fv(e.c.c,""),229),t||(t=new N6(G8(z8(new um,""),"Other")),cb(e.c.c,"",t)),t}function O_(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (name: ",To(t,e.zb),t.a+=")",t.a)}function sye(e,t,n){var r,i;return i=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,4,i,t),n?n.Ei(r):n=r),n}function aie(e,t){var n,r,i;for(n=0,i=sc(e,t).Kc();i.Ob();)r=u(i.Pb(),11),n+=W(r,(nt(),ol))!=null?1:0;return n}function Z3(e,t,n){var r,i,a;for(r=0,a=si(e,0);a.b!=a.d.c&&(i=We(gt(ii(a))),!(i>n));)i>=t&&++r;return r}function Ein(e,t,n){var r,i;return r=new N0(e.e,3,13,null,(i=t.c,i||(cn(),Q1)),Ag(e,t),!1),n?n.Ei(r):n=r,n}function Tin(e,t,n){var r,i;return r=new N0(e.e,4,13,(i=t.c,i||(cn(),Q1)),null,Ag(e,t),!1),n?n.Ei(r):n=r,n}function aye(e,t,n){var r,i;return i=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,8,i,e.r),n?n.Ei(r):n=r),n}function _g(e,t){var n,r;return n=u(t,676),r=n.vk(),!r&&n.wk(r=me(t,88)?new UGe(e,u(t,26)):new dXe(e,u(t,148))),r}function kD(e,t,n){var r;e.qi(e.i+1),r=e.oi(t,n),t!=e.i&&Rc(e.g,t,e.g,t+1,e.i-t),us(e.g,t,r),++e.i,e.bi(t,n),e.ci()}function _in(e,t){var n;return t.a&&(n=t.a.a.length,e.a?Yr(e.a,e.b):e.a=new jl(e.d),pXe(e.a,t.a,t.d.length,n)),e}function Cin(e,t){var n,r,i,a;if(t.vi(e.a),a=u(Cn(e.a,8),1936),a!=null)for(n=a,r=0,i=n.length;rn)throw ee(new Mo(hz+e+J5e+t+", size: "+n));if(e>t)throw ee(new Dn(hz+e+Clt+t))}function wh(e,t,n){if(t<0)u4e(e,n);else{if(!n.Ij())throw ee(new Dn(e2+n.ne()+MC));u(n,66).Nj().Vj(e,e.yh(),t)}}function Lin(e,t,n,r,i,a,h,d){var v;for(v=n;a=r||t=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function snt(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (source: ",To(t,e.d),t.a+=")",t.a)}function Din(e,t,n){var r,i;return i=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,5,i,e.a),n?L3e(n,r):n=r),n}function Cg(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,2,n,t))}function cye(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,8,n,t))}function X$(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,8,n,t))}function Sg(e,t){var n;n=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,3,n,t))}function uye(e,t){var n;n=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,9,n,t))}function P_(e,t){var n;return e.b==-1&&e.a&&(n=e.a.Gj(),e.b=n?e.c.Xg(e.a.aj(),n):Zi(e.c.Tg(),e.a)),e.c.Og(e.b,t)}function lt(e){var t,n;return e>-129&&e<128?(t=e+128,n=(tKe(),vxe)[t],!n&&(n=vxe[t]=new RL(e)),n):new RL(e)}function Vx(e){var t,n;return e>-129&&e<128?(t=e+128,n=(oKe(),kxe)[t],!n&&(n=kxe[t]=new MF(e)),n):new MF(e)}function lye(e){var t,n;return t=e.k,t==(zn(),Ls)?(n=u(W(e,(nt(),vc)),61),n==(dt(),Ln)||n==Tr):!1}function Iin(e,t,n){var r,i,a;return a=(i=c7(e.b,t),i),a&&(r=u(ZH(JM(e,a),""),26),r)?M4e(e,r,t,n):null}function oie(e,t,n){var r,i,a;return a=(i=c7(e.b,t),i),a&&(r=u(ZH(JM(e,a),""),26),r)?D4e(e,r,t,n):null}function ant(e,t){var n,r;for(r=new ir(e);r.e!=r.i.gc();)if(n=u(br(r),138),$e(t)===$e(n))return!0;return!1}function B_(e,t,n){var r;if(r=e.gc(),t>r)throw ee(new Mm(t,r));if(e.hi()&&e.Hc(n))throw ee(new Dn(MI));e.Xh(t,n)}function Oin(e,t){var n;if(n=U3(e.i,t),n==null)throw ee(new ud("Node did not exist in input."));return kme(t,n),null}function Nin(e,t){var n;if(n=WD(e,t),me(n,322))return u(n,34);throw ee(new Dn(e2+t+"' is not a valid attribute"))}function Pin(e,t,n){var r,i;for(i=me(t,99)&&u(t,18).Bb&ao?new wte(t,e):new Bx(t,e),r=0;rt?1:e==t?e==0?Bs(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function qin(e,t){Er(t,"Sort end labels",1),ms(qi(rc(new mn(null,new kn(e.b,16)),new CP),new P5),new VW),lr(t)}function F_(e,t,n){var r,i;return e.ej()?(i=e.fj(),r=gse(e,t,n),e.$i(e.Zi(7,lt(n),r,t,i)),r):gse(e,t,n)}function cie(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.cd(),n=t.Sh(),r=(n&xi)%e.d.length,Sen(e,r,Tat(e,r,n,i)))}function Ux(e,t){var n;n=(e.Bb&_f)!=0,t?e.Bb|=_f:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,10,n,t))}function Kx(e,t){var n;n=(e.Bb&hy)!=0,t?e.Bb|=hy:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,12,n,t))}function Wx(e,t){var n;n=(e.Bb&Yu)!=0,t?e.Bb|=Yu:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,15,n,t))}function Yx(e,t){var n;n=(e.Bb&my)!=0,t?e.Bb|=my:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&_i(e,new yf(e,1,11,n,t))}function Vin(e,t){var n;return n=Bs(e.b.c,t.b.c),n!=0||(n=Bs(e.a.a,t.a.a),n!=0)?n:Bs(e.a.b,t.a.b)}function Uin(e,t){var n;if(n=Jn(e.k,t),n==null)throw ee(new ud("Port did not exist in input."));return kme(t,n),null}function Kin(e){var t,n;for(n=Lat(ql(e)).Kc();n.Ob();)if(t=Hr(n.Pb()),nC(e,t))return ten((Bze(),s3t),t);return null}function Win(e,t){var n,r,i,a,h;for(h=hu(e.e.Tg(),t),a=0,n=u(e.g,119),i=0;i>10)+dI&Ss,t[1]=(e&1023)+56320&Ss,Fh(t,0,t.length)}function Z$(e){var t,n;return n=u(W(e,(mt(),Jl)),103),n==(wo(),u0)?(t=We(gt(W(e,kq))),t>=1?Lf:Y0):n}function Qin(e){switch(u(W(e,(mt(),W0)),218).g){case 1:return new hX;case 3:return new bX;default:return new lX}}function ab(e){if(e.c)ab(e.c);else if(e.d)throw ee(new Vo("Stream already terminated, can't be modified or used"))}function hie(e){var t;return e.Db&64?Ef(e):(t=new Oh(Ef(e)),t.a+=" (identifier: ",To(t,e.k),t.a+=")",t.a)}function lnt(e,t,n){var r,i;return r=(gv(),i=new hp,i),x$(r,t),E$(r,n),e&&Pr((!e.a&&(e.a=new Ns(Zh,e,5)),e.a),r),r}function fie(e,t,n,r){var i,a;return An(r),An(n),i=e.xc(t),a=i==null?n:Eze(u(i,15),u(n,14)),a==null?e.Bc(t):e.zc(t,a),a}function sn(e){var t,n,r,i;return n=(t=u(Wf((r=e.gm,i=r.f,i==Kr?r:i)),9),new hh(t,u(bf(t,t.length),9),0)),xf(n,e),n}function Zin(e,t,n){var r,i;for(i=e.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),10),hD(n,u(It(t,r.p),14)))return r;return null}function Jin(e,t,n){var r;try{Orn(e,t,n)}catch(i){throw i=ts(i),me(i,597)?(r=i,ee(new wwe(r))):ee(i)}return t}function Gp(e,t){var n;return Uo(e)&&Uo(t)&&(n=e-t,fI>1,e.k=n-1>>1}function die(){P3e();var e,t,n;n=Ywn+++Date.now(),e=_s(b.Math.floor(n*pI))&lz,t=_s(n-e*X5e),this.a=e^1502,this.b=t^Rae}function j0(e){var t,n,r;for(t=new at,r=new C(e.j);r.a34028234663852886e22?ps:t<-34028234663852886e22?Ds:t}function hnt(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function fnt(e){var t,n,r,i;for(t=new qVe(e.Hd().gc()),i=0,r=H6(e.Hd().Kc());r.Ob();)n=r.Pb(),gZt(t,n,lt(i++));return jln(t.a)}function ssn(e,t){var n,r,i;for(i=new Ar,r=t.vc().Kc();r.Ob();)n=u(r.Pb(),42),Si(i,n.cd(),Xnn(e,u(n.dd(),15)));return i}function bye(e,t){e.n.c.length==0&&st(e.n,new Hj(e.s,e.t,e.i)),st(e.b,t),Zye(u(It(e.n,e.n.c.length-1),211),t),xct(e,t)}function J3(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(e.a.c=Ie(Xn,_t,1,0,5,1),Ps(e.a,e.b),Ps(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function gie(e,t){var n,r,i;for(i=0,r=u(t.Kb(e),20).Kc();r.Ob();)n=u(r.Pb(),17),Bt(Nt(W(n,(nt(),U1))))||++i;return i}function asn(e,t){var n,r,i;r=q3(t),i=We(gt(Ym(r,(mt(),Af)))),n=b.Math.max(0,i/2-.5),V_(t,n,1),st(e,new nGe(t,n))}function mh(){mh=de,sO=new sM(U0,0),rS=new sM("FIRST",1),a2=new sM(yht,2),iS=new sM("LAST",3),Sy=new sM(kht,4)}function $0(){$0=de,$he=new ER(bC,0),MO=new ER("POLYLINE",1),wE=new ER("ORTHOGONAL",2),Bk=new ER("SPLINES",3)}function J$(){J$=de,U_e=new hte("ASPECT_RATIO_DRIVEN",0),fhe=new hte("MAX_SCALE_DRIVEN",1),V_e=new hte("AREA_DRIVEN",2)}function TD(){TD=de,rV=new fte("P1_STRUCTURE",0),iV=new fte("P2_PROCESSING_ORDER",1),sV=new fte("P3_EXECUTION",2)}function eH(){eH=de,ahe=new cte("OVERLAP_REMOVAL",0),ihe=new cte("COMPACTION",1),she=new cte("GRAPH_SIZE_CALCULATION",2)}function Kv(e,t){return C1(),kf(Yp),b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:et?1:mv(isNaN(e),isNaN(t))}function dnt(e,t){var n,r;for(n=si(e,0);n.b!=n.d.c;){if(r=qL(gt(ii(n))),r==t)return;if(r>t){Wne(n);break}}MM(n,t)}function tn(e,t){var n,r,i,a,h;if(n=t.f,cb(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,h=i.length;at&&r.ue(e[a-1],e[a])>0;--a)h=e[a],us(e,a,e[a-1]),us(e,a-1,h)}function yh(e,t,n,r){if(t<0)P4e(e,n,r);else{if(!n.Ij())throw ee(new Dn(e2+n.ne()+MC));u(n,66).Nj().Tj(e,e.yh(),t,r)}}function tH(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw ee(new Dn("Node "+t+" not part of edge "+e))}function csn(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function gnt(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function vye(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return oye(e,t,n,r)}function usn(e){return e.k!=(zn(),js)?!1:wx(new mn(null,new Cv(new ur(dr(Fs(e).a.Kc(),new V)))),new iB)}function lsn(e){return e.e==null?e:(!e.c&&(e.c=new Sse((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function hsn(e,t){return e.h==hI&&e.m==0&&e.l==0?(t&&(t2=cu(0,0,0)),dqe((Tx(),hxe))):(t&&(t2=cu(e.l,e.m,e.h)),cu(0,0,0))}function Yo(e){var t;return Array.isArray(e)&&e.im===Ge?xp(pl(e))+"@"+(t=Yi(e)>>>0,t.toString(16)):e.toString()}function R_(e){var t;this.a=(t=u(e.e&&e.e(),9),new hh(t,u(bf(t,t.length),9),0)),this.b=Ie(Xn,_t,1,this.a.a.length,5,1)}function fsn(e){var t,n,r;for(this.a=new C0,r=new C(e);r.a0&&(zr(t-1,e.length),e.charCodeAt(t-1)==58)&&!pie(e,HS,zS))}function pie(e,t,n){var r,i;for(r=0,i=e.length;r=i)return t.c+n;return t.c+t.b.gc()}function vsn(e,t){nx();var n,r,i,a;for(r=CZe(e),i=t,xx(r,0,r.length,i),n=0;n0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function mye(e){var t,n,r;for(r=new dg,r.a+="[",t=0,n=e.gc();t0&&this.b>0&&eve(this.c,this.b,this.a)}function xye(e){vie(),this.c=I1(ie(ne(dmn,1),_t,831,0,[Xbt])),this.b=new Ar,this.a=e,Si(this.b,Bq,1),Su(Qbt,new tje(this))}function pnt(e,t){var n;return e.d?Ml(e.b,t)?u(Jn(e.b,t),51):(n=t.Kf(),Si(e.b,t,n),n):t.Kf()}function Eye(e,t){var n;return $e(e)===$e(t)?!0:me(t,91)?(n=u(t,91),e.e==n.e&&e.d==n.d&&ren(e,n.a)):!1}function U6(e){switch(dt(),e.g){case 4:return Ln;case 1:return $n;case 3:return Tr;case 2:return On;default:return cc}}function Tye(e,t){switch(t){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return Eme(e,t)}function Esn(e){switch(e.g){case 0:return new DQ;case 1:return new wB;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function bnt(e){switch(e.g){case 0:return new vB;case 1:return new mB;default:throw ee(new Dn(uoe+(e.f!=null?e.f:""+e.g)))}}function vnt(e){switch(e.g){case 0:return new npe;case 1:return new C$e;default:throw ee(new Dn(qz+(e.f!=null?e.f:""+e.g)))}}function Tsn(e){switch(e.g){case 1:return new CQ;case 2:return new IVe;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function _sn(e){var t,n;if(e.b)return e.b;for(n=q1?null:e.d;n;){if(t=q1?null:n.b,t)return t;n=q1?null:n.d}return Y8(),Hxe}function Csn(e){var t,n,r;return e.e==0?0:(t=e.d<<5,n=e.a[e.d-1],e.e<0&&(r=Cet(e),r==e.d-1&&(--n,n=n|0)),t-=qD(n),t)}function Ssn(e){var t,n,r;return e>5,t=e&31,r=Ie(Sr,Jr,25,n+1,15,1),r[n]=1<3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function Lsn(e){return rie(),In(),!!(gnt(u(e.a,81).j,u(e.b,103))||u(e.a,81).d.e!=0&&gnt(u(e.a,81).j,u(e.b,103)))}function Msn(e){c$(),u(e.We((di(),h2)),174).Hc((wl(),xV))&&(u(e.We(jy),174).Fc((al(),Fk)),u(e.We(h2),174).Mc(xV))}function mnt(e,t){var n,r;if(t){for(n=0;n=0;--r)for(t=n[r],i=0;i>1,this.k=t-1>>1}function Bsn(e,t){Er(t,"End label post-processing",1),ms(qi(rc(new mn(null,new kn(e.b,16)),new jW),new $W),new HW),lr(t)}function Fsn(e,t,n){var r,i;return r=We(e.p[t.i.p])+We(e.d[t.i.p])+t.n.b+t.a.b,i=We(e.p[n.i.p])+We(e.d[n.i.p])+n.n.b+n.a.b,i-r}function Rsn(e,t,n){var r,i;for(r=Gs(n,yo),i=0;Lc(r,0)!=0&&i0&&(zr(0,t.length),t.charCodeAt(0)==43)?t.substr(1):t))}function $sn(e){var t;return e==null?null:new Ap((t=Kc(e,!0),t.length>0&&(zr(0,t.length),t.charCodeAt(0)==43)?t.substr(1):t))}function Dye(e,t){var n;return e.i>0&&(t.lengthe.i&&us(t,e.i,null),t}function ru(e,t,n){var r,i,a;return e.ej()?(r=e.i,a=e.fj(),kD(e,r,t),i=e.Zi(3,null,t,r,a),n?n.Ei(i):n=i):kD(e,e.i,t),n}function Hsn(e,t,n){var r,i;return r=new N0(e.e,4,10,(i=t.c,me(i,88)?u(i,26):(cn(),nf)),null,Ag(e,t),!1),n?n.Ei(r):n=r,n}function zsn(e,t,n){var r,i;return r=new N0(e.e,3,10,null,(i=t.c,me(i,88)?u(i,26):(cn(),nf)),Ag(e,t),!1),n?n.Ei(r):n=r,n}function xnt(e){Am();var t;return t=new Do(u(e.e.We((di(),Z4)),8)),e.B.Hc((wl(),yE))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Ent(e){Xm();var t;return(e.q?e.q:(fn(),fn(),o0))._b((mt(),Tw))?t=u(W(e,Tw),197):t=u(W(Xa(e),cS),197),t}function Ym(e,t){var n,r;return r=null,Js(e,(mt(),Nq))&&(n=u(W(e,Nq),94),n.Xe(t)&&(r=n.We(t))),r==null&&(r=W(Xa(e),t)),r}function Tnt(e,t){var n,r,i;return me(t,42)?(n=u(t,42),r=n.cd(),i=Km(e.Rc(),r),pd(i,n.dd())&&(i!=null||e.Rc()._b(r))):!1}function mie(e,t){var n,r,i;return e.f>0?(e.qj(),r=t==null?0:Yi(t),i=(r&xi)%e.d.length,n=Tat(e,i,r,t),n!=-1):!1}function e1(e,t){var n,r,i;return e.f>0&&(e.qj(),r=t==null?0:Yi(t),i=(r&xi)%e.d.length,n=p4e(e,i,r,t),n)?n.dd():null}function _D(e,t){var n,r,i,a;for(a=hu(e.e.Tg(),t),n=u(e.g,119),i=0;i1?D1(A0(t.a[1],32),Gs(t.a[0],yo)):Gs(t.a[0],yo),Pv(Ha(t.e,n))))}function CD(e,t){var n;return Uo(e)&&Uo(t)&&(n=e%t,fI>5,t&=31,i=e.d+n+(t==0?0:1),r=Ie(Sr,Jr,25,i,15,1),Gun(r,e.a,n,t),a=new $3(e.e,i,r),b_(a),a}function Oye(e,t,n){var r,i;r=u(Gc(EE,t),117),i=u(Gc(WS,t),117),n?(Io(EE,e,r),Io(WS,e,i)):(Io(WS,e,r),Io(EE,e,i))}function Dnt(e,t,n){var r,i,a;for(i=null,a=e.b;a;){if(r=e.a.ue(t,a.d),n&&r==0)return a;r>=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function Int(e,t,n){var r,i,a;for(i=null,a=e.b;a;){if(r=e.a.ue(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function Ksn(e,t,n,r){var i,a,h;return i=!1,Abn(e.f,n,r)&&(wan(e.f,e.a[t][n],e.a[t][r]),a=e.a[t],h=a[r],a[r]=a[n],a[n]=h,i=!0),i}function Nye(e,t,n,r,i){var a,h,d;for(h=i;t.b!=t.c;)a=u(L6(t),10),d=u(sc(a,r).Xb(0),11),e.d[d.p]=h++,n.c[n.c.length]=d;return h}function Pye(e,t,n){var r,i,a,h,d;return h=e.k,d=t.k,r=n[h.g][d.g],i=gt(Ym(e,r)),a=gt(Ym(t,r)),b.Math.max((An(i),i),(An(a),a))}function Wsn(e,t,n){var r,i,a,h;for(r=n/e.c.length,i=0,h=new C(e);h.a2e3&&(Ldt=e,vG=b.setTimeout(tqt,10))),bG++==0?(Ltn((ope(),cxe)),!0):!1}function Xsn(e,t){var n,r,i;for(r=new ur(dr(Fs(e).a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),i=n.d.i,i.c==t)return!1;return!0}function Bye(e,t){var n,r;if(me(t,245)){r=u(t,245);try{return n=e.vd(r),n==0}catch(i){if(i=ts(i),!me(i,205))throw ee(i)}}return!1}function Qsn(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Zsn(e,t){return C1(),C1(),kf(Yp),(b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:et?1:mv(isNaN(e),isNaN(t)))>0}function Fye(e,t){return C1(),C1(),kf(Yp),(b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:et?1:mv(isNaN(e),isNaN(t)))<0}function Pnt(e,t){return C1(),C1(),kf(Yp),(b.Math.abs(e-t)<=Yp||e==t||isNaN(e)&&isNaN(t)?0:et?1:mv(isNaN(e),isNaN(t)))<=0}function kie(e,t){for(var n=0;!t[n]||t[n]=="";)n++;for(var r=t[n++];nOae)return n.fh();if(r=n.Zg(),r||n==e)break}return r}function Rye(e){return Gj(),me(e,156)?u(Jn(zO,Hdt),288).vg(e):Ml(zO,pl(e))?u(Jn(zO,pl(e)),288).vg(e):null}function ean(e){if(cH(I7,e))return In(),j7;if(cH(sce,e))return In(),Tb;throw ee(new Dn("Expecting true or false"))}function tan(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw ee(new Dn("Input edge is not connected to the input port."))}function Hnt(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+b.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function Gnt(e,t){var n;return $e(t)===$e(e)?!0:!me(t,21)||(n=u(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function nan(e,t){var n,r,i,a;return r=e.a.length-1,n=t-e.b&r,a=e.c-t&r,i=e.c-e.b&r,vVe(n=a?(tin(e,t),-1):(nin(e,t),1)}function ran(e,t){var n,r;for(n=(zr(t,e.length),e.charCodeAt(t)),r=t+1;rt.e?1:e.ft.f?1:Yi(e)-Yi(t)}function cH(e,t){return An(e),t==null?!1:on(e,t)?!0:e.length==t.length&&on(e.toLowerCase(),t.toLowerCase())}function fan(e,t){var n,r,i,a;for(r=0,i=t.gc();r0&&Lc(e,128)<0?(t=Ir(e)+128,n=(aKe(),wxe)[t],!n&&(n=wxe[t]=new bm(e)),n):new bm(e)}function Vnt(e,t){var n,r;return n=t.Hh(e.a),n&&(r=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),fi)),r!=null)?r:t.ne()}function dan(e,t){var n,r;return n=t.Hh(e.a),n&&(r=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),fi)),r!=null)?r:t.ne()}function gan(e,t){Hne();var n,r;for(r=new ur(dr(j0(e).a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),n.d.i==t||n.c.i==t)return n;return null}function Hye(e,t,n){this.c=e,this.f=new at,this.e=new $a,this.j=new Xbe,this.n=new Xbe,this.b=t,this.g=new fh(t.c,t.d,t.b,t.a),this.a=n}function xie(e){var t,n,r,i;for(this.a=new C0,this.d=new Ys,this.e=0,n=e,r=0,i=n.length;r0):!1}function Wnt(e){var t;$e(jt(e,(di(),Y4)))===$e((R0(),wV))&&(ls(e)?(t=u(jt(ls(e),Y4),334),So(e,Y4,t)):So(e,Y4,IS))}function wan(e,t,n){var r,i;rse(e.e,t,n,(dt(),On)),rse(e.i,t,n,$n),e.a&&(i=u(W(t,(nt(),Mi)),11),r=u(W(n,Mi),11),Kne(e.g,i,r))}function Ynt(e,t,n){var r,i,a;r=t.c.p,a=t.p,e.b[r][a]=new lYe(e,t),n&&(e.a[r][a]=new F8(t),i=u(W(t,(nt(),kw)),10),i&&an(e.d,i,t))}function Xnt(e,t){var n,r,i;if(st(DG,e),t.Fc(e),n=u(Jn(gue,e),21),n)for(i=n.Kc();i.Ob();)r=u(i.Pb(),33),Ko(DG,r,0)!=-1||Xnt(r,t)}function man(e,t,n){var r;(Wdt?(_sn(e),!0):Ydt||Qdt?(Y8(),!0):Xdt&&(Y8(),!1))&&(r=new xUe(t),r.b=n,xln(e,r))}function Eie(e,t){var n;n=!e.A.Hc((Nl(),Rb))||e.q==(ya(),Zc),e.u.Hc((al(),Z0))?n?Hvn(e,t):Cut(e,t):e.u.Hc(p2)&&(n?avn(e,t):$ut(e,t))}function Zx(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,me(r,97)?u(r,97).Jg():null),gfn(t,n))){K6(e.a,4,n);return}K6(e.a,4,u(t,126))}function Qnt(e,t,n){return new fh(b.Math.min(e.a,t.a)-n/2,b.Math.min(e.b,t.b)-n/2,b.Math.abs(e.a-t.a)+n,b.Math.abs(e.b-t.b)+n)}function yan(e,t){var n,r;return n=ku(e.a.c.p,t.a.c.p),n!=0?n:(r=ku(e.a.d.i.p,t.a.d.i.p),r!=0?r:ku(t.a.d.p,e.a.d.p))}function kan(e,t,n){var r,i,a,h;return a=t.j,h=n.j,a!=h?a.g-h.g:(r=e.f[t.p],i=e.f[n.p],r==0&&i==0?0:r==0?-1:i==0?1:Bs(r,i))}function Znt(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new C(J3(t));i.a=i)return i;for(t=t>0?t:0;tr&&us(t,r,null),t}function ert(e,t){var n,r;for(r=e.a.length,t.lengthr&&us(t,r,null),t}function cb(e,t,n){var r,i,a;return i=u(Jn(e.e,t),387),i?(a=hbe(i,n),Gqe(e,i),a):(r=new Rbe(e,t,n),Si(e.e,t,r),pYe(r),null)}function Tan(e){var t;if(e==null)return null;if(t=w1n(Kc(e,!0)),t==null)throw ee(new Dee("Invalid hexBinary value: '"+e+"'"));return t}function AD(e){return Kp(),Lc(e,0)<0?Lc(e,-1)!=0?new C3e(-1,Ex(e)):Zce:Lc(e,10)<=0?Mxe[Ir(e)]:new C3e(1,e)}function _ie(){return iz(),ie(ne(P0t,1),rt,159,0,[O0t,I0t,N0t,T0t,E0t,_0t,A0t,S0t,C0t,D0t,M0t,L0t,k0t,y0t,x0t,w0t,v0t,m0t,p0t,g0t,b0t,oue])}function trt(e){var t;this.d=new at,this.j=new $a,this.g=new $a,t=e.g.b,this.f=u(W(Xa(t),(mt(),Jl)),103),this.e=We(gt(hH(t,Py)))}function nrt(e){this.b=new at,this.e=new at,this.d=e,this.a=!xT(qi(new mn(null,new Cv(new O1(e.b))),new Xe(new sB))).sd(($2(),G7))}function t1(){t1=de,jn=new cM("PARENTS",0),ua=new cM("NODES",1),Nd=new cM("EDGES",2),Ob=new cM("PORTS",3),zg=new cM("LABELS",4)}function e4(){e4=de,d2=new lM("DISTRIBUTED",0),OO=new lM("JUSTIFIED",1),FSe=new lM("BEGIN",2),OS=new lM(T7,3),RSe=new lM("END",4)}function _an(e){var t;switch(t=e.yi(null),t){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function Cie(e){switch(e.g){case 1:return wo(),X0;case 4:return wo(),Wh;case 2:return wo(),Lf;case 3:return wo(),Y0}return wo(),u0}function Can(e,t,n){var r;switch(r=n.q.getFullYear()-Xp+Xp,r<0&&(r=-r),t){case 1:e.a+=r;break;case 2:Qd(e,r%100,2);break;default:Qd(e,r,t)}}function si(e,t){var n,r;if(Fm(t,e.b),t>=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n=64&&t<128&&(i=D1(i,A0(1,t-64)));return i}function hH(e,t){var n,r;return r=null,Js(e,(di(),Pk))&&(n=u(W(e,Pk),94),n.Xe(t)&&(r=n.We(t))),r==null&&Xa(e)&&(r=W(Xa(e),t)),r}function srt(e,t){var n,r,i;i=t.d.i,r=i.k,!(r==(zn(),js)||r==V1)&&(n=new ur(dr(Fs(i).a.Kc(),new V)),Vr(n)&&Si(e.k,t,u(Nr(n),17)))}function Sie(e,t){var n,r,i;return r=bn(e.Tg(),t),n=t-e.Ah(),n<0?(i=e.Yg(r),i>=0?e.lh(i):dse(e,r)):n<0?dse(e,r):u(r,66).Nj().Sj(e,e.yh(),n)}function Ct(e){var t;if(me(e.a,4)){if(t=Rye(e.a),t==null)throw ee(new Vo(nft+e.b+"'. "+tft+(S0(GO),GO.k)+w8e));return t}else return e.a}function Lan(e){var t;if(e==null)return null;if(t=Yvn(Kc(e,!0)),t==null)throw ee(new Dee("Invalid base64Binary value: '"+e+"'"));return t}function br(e){var t;try{return t=e.i.Xb(e.e),e.mj(),e.g=e.e++,t}catch(n){throw n=ts(n),me(n,73)?(e.mj(),ee(new yc)):ee(n)}}function Aie(e){var t;try{return t=e.c.ki(e.e),e.mj(),e.g=e.e++,t}catch(n){throw n=ts(n),me(n,73)?(e.mj(),ee(new yc)):ee(n)}}function H_(){H_=de,y7e=(di(),bSe),fue=WCe,W0t=Ok,m7e=Pb,Z0t=(EH(),Zxe),Q0t=Xxe,J0t=e7e,X0t=Yxe,Y0t=(Jre(),b7e),hue=V0t,w7e=U0t,MG=K0t}function fH(e){switch(Spe(),this.c=new at,this.d=e,e.g){case 0:case 2:this.a=Pve(R7e),this.b=ps;break;case 3:case 1:this.a=R7e,this.b=Ds}}function art(e,t,n){var r,i;if(e.c)Au(e.c,e.c.i+t),Lu(e.c,e.c.j+n);else for(i=new C(e.b);i.a0&&(st(e.b,new RUe(t.a,n)),r=t.a.length,0r&&(t.a+=zqe(Ie(Sh,yd,25,-r,15,1))))}function ort(e,t){var n,r,i;for(n=e.o,i=u(u(Oi(e.r,t),21),84).Kc();i.Ob();)r=u(i.Pb(),111),r.e.a=Ion(r,n.a),r.e.b=n.b*We(gt(r.b.We(SG)))}function Dan(e,t){var n,r,i,a;return i=e.k,n=We(gt(W(e,(nt(),xw)))),a=t.k,r=We(gt(W(t,xw))),a!=(zn(),Ls)?-1:i!=Ls?1:n==r?0:n=0?e.hh(t,n,r):(e.eh()&&(r=(i=e.Vg(),i>=0?e.Qg(r):e.eh().ih(e,-1-i,null,r))),e.Sg(t,n,r))}function Gye(e,t){switch(t){case 7:!e.e&&(e.e=new yn(ta,e,7,4)),_r(e.e);return;case 8:!e.d&&(e.d=new yn(ta,e,8,5)),_r(e.d);return}Lye(e,t)}function n1(e,t){var n;n=e.Zc(t);try{return n.Pb()}catch(r){throw r=ts(r),me(r,109)?ee(new Mo("Can't get element "+t)):ee(r)}}function qye(e,t){this.e=e,t=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function Y6(){Y6=de,zI=new pR(dz,0),HI=new pR(Kae,1),GI=new pR(Wae,2),qI=new pR(Yae,3),zI.a=!1,HI.a=!0,GI.a=!1,qI.a=!0}function z_(){z_=de,VI=new gR(dz,0),AG=new gR(Kae,1),LG=new gR(Wae,2),UI=new gR(Yae,3),VI.a=!1,AG.a=!0,LG.a=!1,UI.a=!0}function Ban(e){var t;t=e.a;do t=u(Nr(new ur(dr(Wo(t).a.Kc(),new V))),17).c.i,t.k==(zn(),ca)&&e.b.Fc(t);while(t.k==(zn(),ca));e.b=J2(e.b)}function Fan(e){var t,n,r;for(r=e.c.a,e.p=(Or(r),new Gu(r)),n=new C(r);n.an.b)return!0}return!1}function Lie(e,t){return ga(e)?!!xdt[t]:e.hm?!!e.hm[t]:_m(e)?!!kdt[t]:Tm(e)?!!ydt[t]:!1}function So(e,t,n){return n==null?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),aH(e.o,t)):(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),TH(e.o,t,n)),e}function Han(e,t,n,r){var i,a;a=t.Xe((di(),Q4))?u(t.We(Q4),21):e.j,i=Min(a),i!=(iz(),oue)&&(n&&!jye(i)||Y3e(m1n(e,i,r),t))}function gH(e,t,n,r){var i,a,h;return a=bn(e.Tg(),t),i=t-e.Ah(),i<0?(h=e.Yg(a),h>=0?e._g(h,n,!0):ew(e,a,n)):u(a,66).Nj().Pj(e,e.yh(),i,n,r)}function zan(e,t,n,r){var i,a,h;n.mh(t)&&(ho(),kre(t)?(i=u(n.ah(t),153),fan(e,i)):(a=(h=t,h?u(r,49).xh(h):null),a&&qzt(n.ah(t),a)))}function Gan(e){switch(e.g){case 1:return qv(),$I;case 3:return qv(),jI;case 2:return qv(),uue;case 4:return qv(),cue;default:return null}}function Vye(e){switch(typeof e){case sae:return Lg(e);case H5e:return _s(e);case nk:return In(),e?1231:1237;default:return e==null?0:kv(e)}}function qan(e,t,n){if(e.e)switch(e.b){case 1:mQt(e.c,t,n);break;case 0:yQt(e.c,t,n)}else KXe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function frt(e){var t,n;if(e==null)return null;for(n=Ie(c0,Je,193,e.length,0,2),t=0;t=0)return i;if(e.Fk()){for(r=0;r=i)throw ee(new Mm(t,i));if(e.hi()&&(r=e.Xc(n),r>=0&&r!=t))throw ee(new Dn(MI));return e.mi(t,n)}function Uye(e,t){if(this.a=u(Or(e),245),this.b=u(Or(t),245),e.vd(t)>0||e==(_ee(),Hce)||t==(Tee(),zce))throw ee(new Dn("Invalid range: "+GXe(e,t)))}function drt(e){var t,n;for(this.b=new at,this.c=e,this.a=!1,n=new C(e.a);n.a0),(t&-t)==t)return _s(t*vl(e,31)*4656612873077393e-25);do n=vl(e,31),r=n%t;while(n-r+(t-1)<0);return _s(r)}function Lg(e){EUe();var t,n,r;return n=":"+e,r=TG[n],r!=null?_s((An(r),r)):(r=Gxe[n],t=r==null?Bdn(e):_s((An(r),r)),hQt(),TG[n]=t,t)}function prt(e,t,n){Er(n,"Compound graph preprocessor",1),e.a=new Ov,kut(e,t,null),E2n(e,t),sdn(e),Qe(t,(nt(),c9e),e.a),e.a=null,il(e.b),lr(n)}function Kan(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function Wan(e){var t,n,r;for(r=u(Oi(e.a,(a4(),aq)),15).Kc();r.Ob();)n=u(r.Pb(),101),t=s3e(n),cx(e,n,t[0],(Gv(),vw),0),cx(e,n,t[1],ww,1)}function Yan(e){var t,n,r;for(r=u(Oi(e.a,(a4(),oq)),15).Kc();r.Ob();)n=u(r.Pb(),101),t=s3e(n),cx(e,n,t[0],(Gv(),vw),0),cx(e,n,t[1],ww,1)}function Mie(e){switch(e.g){case 0:return null;case 1:return new get;case 2:return new rpe;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function LD(e,t,n){var r,i;for(vrn(e,t-e.s,n-e.t),i=new C(e.n);i.a1&&(a=Uan(e,t)),a}function Die(e){var t;return e.f&&e.f.kh()&&(t=u(e.f,49),e.f=u(zp(e,t),82),e.f!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,8,t,e.f))),e.f}function Iie(e){var t;return e.i&&e.i.kh()&&(t=u(e.i,49),e.i=u(zp(e,t),82),e.i!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,7,t,e.i))),e.i}function go(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=u(zp(e,t),18),e.b!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,21,t,e.b))),e.b}function vH(e,t){var n,r,i;e.d==null?(++e.e,++e.f):(r=t.Sh(),fdn(e,e.f+1),i=(r&xi)%e.d.length,n=e.d[i],!n&&(n=e.d[i]=e.uj()),n.Fc(t),++e.f)}function Yye(e,t,n){var r;return t.Kj()?!1:t.Zj()!=-2?(r=t.zj(),r==null?n==null:Ci(r,n)):t.Hj()==e.e.Tg()&&n==null}function wH(){var e;Vl(16,hlt),e=iet(16),this.b=Ie(qce,uI,317,e,0,1),this.c=Ie(qce,uI,317,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function H0(e){dbe.call(this),this.k=(zn(),js),this.j=(Vl(6,ly),new tu(6)),this.b=(Vl(2,ly),new tu(2)),this.d=new mee,this.f=new Wge,this.a=e}function Qan(e){var t,n;e.c.length<=1||(t=dot(e,(dt(),Tr)),tst(e,u(t.a,19).a,u(t.b,19).a),n=dot(e,On),tst(e,u(n.a,19).a,u(n.b,19).a))}function G_(){G_=de,$Te=new iM("SIMPLE",0),Ble=new iM(hoe,1),Fle=new iM("LINEAR_SEGMENTS",2),hS=new iM("BRANDES_KOEPF",3),fS=new iM(Fht,4)}function Xye(e,t,n){_6(u(W(t,(mt(),vs)),98))||(qwe(e,t,Mg(t,n)),qwe(e,t,Mg(t,(dt(),Tr))),qwe(e,t,Mg(t,Ln)),fn(),aa(t.j,new $L(e)))}function brt(e,t,n,r){var i,a,h;for(i=u(Oi(r?e.a:e.b,t),21),h=i.Kc();h.Ob();)if(a=u(h.Pb(),33),zH(e,n,a))return!0;return!1}function Oie(e){var t,n;for(n=new ir(e);n.e!=n.i.gc();)if(t=u(br(n),87),t.e||(!t.d&&(t.d=new Ns(Eo,t,1)),t.d).i!=0)return!0;return!1}function Nie(e){var t,n;for(n=new ir(e);n.e!=n.i.gc();)if(t=u(br(n),87),t.e||(!t.d&&(t.d=new Ns(Eo,t,1)),t.d).i!=0)return!0;return!1}function Zan(e){var t,n,r;for(t=0,r=new C(e.c.a);r.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function Fie(e,t){if(e==null)throw ee(new d6("null key in entry: null="+t));if(t==null)throw ee(new d6("null value in entry: "+e+"=null"))}function Jan(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!($e(n)===$e(r)||n!=null&&Ci(n,r))))return!1;return!t.Ob()}function wrt(e,t){var n;return n=ie(ne(va,1),Ao,25,15,[nie(e.a[0],t),nie(e.a[1],t),nie(e.a[2],t)]),e.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function mrt(e,t){var n;return n=ie(ne(va,1),Ao,25,15,[K$(e.a[0],t),K$(e.a[1],t),K$(e.a[2],t)]),e.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function lb(){lb=de,Vue=new rM("GREEDY",0),jEe=new rM(Eht,1),Uue=new rM(hoe,2),ZC=new rM("MODEL_ORDER",3),QC=new rM("GREEDY_MODEL_ORDER",4)}function yrt(e,t){var n,r,i;for(e.b[t.g]=1,r=si(t.d,0);r.b!=r.d.c;)n=u(ii(r),188),i=n.c,e.b[i.g]==1?oi(e.a,n):e.b[i.g]==2?e.b[i.g]=1:yrt(e,i)}function eon(e,t){var n,r,i;for(i=new tu(t.gc()),r=t.Kc();r.Ob();)n=u(r.Pb(),286),n.c==n.f?s7(e,n,n.c):Zln(e,n)||(i.c[i.c.length]=n);return i}function ton(e,t,n){var r,i,a,h,d;for(d=e.r+t,e.r+=t,e.d+=n,r=n/e.n.c.length,i=0,h=new C(e.n);h.aa&&us(t,a,null),t}function pon(e,t){var n,r;if(r=e.gc(),t==null){for(n=0;n0&&(v+=i),x[T]=h,h+=d*(v+r)}function Art(e){var t,n,r;for(r=e.f,e.n=Ie(va,Ao,25,r,15,1),e.d=Ie(va,Ao,25,r,15,1),t=0;t0?e.c:0),++i;e.b=r,e.d=a}function xon(e,t){var n,r,i,a,h;for(r=0,i=0,n=0,h=new C(t);h.a0?e.g:0),++n;e.c=i,e.d=r}function Ort(e,t){var n;return n=ie(ne(va,1),Ao,25,15,[Wye(e,(Jf(),pc),t),Wye(e,au,t),Wye(e,bc,t)]),e.f&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function Eon(e,t,n){var r;try{VH(e,t+e.j,n+e.k,!1,!0)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function Ton(e,t,n){var r;try{VH(e,t+e.j,n+e.k,!0,!1)}catch(i){throw i=ts(i),me(i,73)?(r=i,ee(new Mo(r.g+pz+t+so+n+")."))):ee(i)}}function Nrt(e){var t;Js(e,(mt(),Ew))&&(t=u(W(e,Ew),21),t.Hc((ry(),Mf))?(t.Mc(Mf),t.Fc(Df)):t.Hc(Df)&&(t.Mc(Df),t.Fc(Mf)))}function Prt(e){var t;Js(e,(mt(),Ew))&&(t=u(W(e,Ew),21),t.Hc((ry(),Of))?(t.Mc(Of),t.Fc(Xh)):t.Hc(Xh)&&(t.Mc(Xh),t.Fc(Of)))}function _on(e,t,n){Er(n,"Self-Loop ordering",1),ms(Eu(qi(qi(rc(new mn(null,new kn(t.b,16)),new FP),new yY),new kY),new xY),new vm(e)),lr(n)}function DD(e,t,n,r){var i,a;for(i=t;i0&&(i.b+=t),i}function kH(e,t){var n,r,i;for(i=new $a,r=e.Kc();r.Ob();)n=u(r.Pb(),37),tC(n,0,i.b),i.b+=n.f.b+t,i.a=b.Math.max(i.a,n.f.a);return i.a>0&&(i.a+=t),i}function Frt(e){var t,n,r;for(r=xi,n=new C(e.a);n.a>16==6?e.Cb.ih(e,5,c1,t):(r=go(u(bn((n=u(Cn(e,16),26),n||e.zh()),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Mon(e){gx();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+` +`;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(` +`)}return[]}function Don(e){var t;return t=(ZJe(),Ndt),t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function $rt(e){var t,n,r;e.b==e.c&&(r=e.a.length,n=Bme(b.Math.max(8,r))<<1,e.b!=0?(t=bf(e.a,n),aet(e,t,r),e.a=t,e.b=0):s$e(e.a,n),e.c=r)}function Ion(e,t){var n;return n=e.b,n.Xe((di(),kl))?n.Hf()==(dt(),On)?-n.rf().a-We(gt(n.We(kl))):t+We(gt(n.We(kl))):n.Hf()==(dt(),On)?-n.rf().a:t}function ID(e){var t;return e.b.c.length!=0&&u(It(e.b,0),70).a?u(It(e.b,0),70).a:(t=Lne(e),t??""+(e.c?Ko(e.c.a,e,0):-1))}function xH(e){var t;return e.f.c.length!=0&&u(It(e.f,0),70).a?u(It(e.f,0),70).a:(t=Lne(e),t??""+(e.i?Ko(e.i.j,e,0):-1))}function Oon(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n0?e.c:0),i=b.Math.max(i,t.d),++r;e.e=a,e.b=i}function Pon(e){var t,n;if(!e.b)for(e.b=Yj(u(e.f,118).Ag().i),n=new ir(u(e.f,118).Ag());n.e!=n.i.gc();)t=u(br(n),137),st(e.b,new Mee(t));return e.b}function Bon(e,t){var n,r,i;if(t.dc())return nx(),nx(),qO;for(n=new HVe(e,t.gc()),i=new ir(e);i.e!=i.i.gc();)r=br(i),t.Hc(r)&&Pr(n,r);return n}function r3e(e,t,n,r){return t==0?r?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),e.o):(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),UM(e.o)):gH(e,t,n,r)}function Vie(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t>22),i+=r>>22,i<0)?!1:(e.l=n&ml,e.m=r&ml,e.h=i&V0,!0)}function $on(e,t,n,r,i,a,h){var d,v;return!(t.Ae()&&(v=e.a.ue(n,r),v<0||!i&&v==0)||t.Be()&&(d=e.a.ue(n,a),d>0||!h&&d==0))}function Hon(e,t){Gx();var n;if(n=e.j.g-t.j.g,n!=0)return 0;switch(e.j.g){case 2:return gie(t,DEe)-gie(e,DEe);case 4:return gie(e,MEe)-gie(t,MEe)}return 0}function zon(e){switch(e.g){case 0:return Wue;case 1:return Yue;case 2:return Xue;case 3:return Que;case 4:return lq;case 5:return Zue;default:return null}}function Bo(e,t,n){var r,i;return r=(i=new xee,sb(i,t),nu(i,n),Pr((!e.c&&(e.c=new ot(Dw,e,12,10)),e.c),i),i),Eg(r,0),Vm(r,1),Sg(r,!0),Cg(r,!0),r}function X6(e,t){var n,r;if(t>=e.i)throw ee(new vte(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&Rc(e.g,t+1,e.g,t,r),us(e.g,--e.i,null),e.fi(t,n),e.ci(),n}function Hrt(e,t){var n,r;return e.Db>>16==17?e.Cb.ih(e,21,Jh,t):(r=go(u(bn((n=u(Cn(e,16),26),n||e.zh()),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Gon(e){var t,n,r,i;for(fn(),aa(e.c,e.a),i=new C(e.c);i.an.a.c.length))throw ee(new Dn("index must be >= 0 and <= layer node count"));e.c&&_u(e.c.a,e),e.c=n,n&&Dm(n.a,t,e)}function Urt(e,t){var n,r,i;for(r=new ur(dr(j0(e).a.Kc(),new V));Vr(r);)return n=u(Nr(r),17),i=u(t.Kb(n),10),new L8(Or(i.n.b+i.o.b/2));return gT(),gT(),$ce}function Krt(e,t){this.c=new Ar,this.a=e,this.b=t,this.d=u(W(e,(nt(),H4)),304),$e(W(e,(mt(),bTe)))===$e((XM(),hq))?this.e=new x$e:this.e=new k$e}function Yon(e,t){var n,r,i,a;for(a=0,r=new C(e);r.a>16==6?e.Cb.ih(e,6,ta,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),TV)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function u3e(e,t){var n,r;return e.Db>>16==7?e.Cb.ih(e,1,jO,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),XSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function l3e(e,t){var n,r;return e.Db>>16==9?e.Cb.ih(e,9,fs,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),ZSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Yrt(e,t){var n,r;return e.Db>>16==5?e.Cb.ih(e,9,OV,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Ug)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function h3e(e,t){var n,r;return e.Db>>16==3?e.Cb.ih(e,0,HO,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Vg)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Xrt(e,t){var n,r;return e.Db>>16==7?e.Cb.ih(e,6,c1,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Wg)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Qrt(){this.a=new _B,this.g=new wH,this.j=new wH,this.b=new Ar,this.d=new wH,this.i=new wH,this.k=new Ar,this.c=new Ar,this.e=new Ar,this.f=new Ar}function Jon(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;iOae)return e7(e,r);if(r==e)return!0}}return!1}function tcn(e){switch(GR(),e.q.g){case 5:Pst(e,(dt(),Ln)),Pst(e,Tr);break;case 4:Mat(e,(dt(),Ln)),Mat(e,Tr);break;default:Mut(e,(dt(),Ln)),Mut(e,Tr)}}function ncn(e){switch(GR(),e.q.g){case 5:Xst(e,(dt(),$n)),Xst(e,On);break;case 4:ort(e,(dt(),$n)),ort(e,On);break;default:Dut(e,(dt(),$n)),Dut(e,On)}}function rcn(e){var t,n;t=u(W(e,(r1(),pgt)),19),t?(n=t.a,n==0?Qe(e,(Rp(),PG),new die):Qe(e,(Rp(),PG),new Jj(n))):Qe(e,(Rp(),PG),new Jj(1))}function icn(e,t){var n;switch(n=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function scn(e,t){switch(e.g){case 0:return t==(mh(),a2)?tq:nq;case 1:return t==(mh(),a2)?tq:QI;case 2:return t==(mh(),a2)?QI:nq;default:return QI}}function ND(e,t){var n,r,i;for(_u(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),i=Qke,r=new C(e.a);r.a>16==3?e.Cb.ih(e,12,fs,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),YSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function d3e(e,t){var n,r;return e.Db>>16==11?e.Cb.ih(e,10,fs,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(iu(),QSe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Zrt(e,t){var n,r;return e.Db>>16==10?e.Cb.ih(e,11,Jh,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Kg)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Jrt(e,t){var n,r;return e.Db>>16==10?e.Cb.ih(e,12,ef,t):(r=go(u(bn((n=u(Cn(e,16),26),n||(cn(),Uy)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Rh(e){var t;return!(e.Bb&1)&&e.r&&e.r.kh()&&(t=u(e.r,49),e.r=u(zp(e,t),138),e.r!=t&&e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,9,8,t,e.r))),e.r}function Kie(e,t,n){var r;return r=ie(ne(va,1),Ao,25,15,[R3e(e,(Jf(),pc),t,n),R3e(e,au,t,n),R3e(e,bc,t,n)]),e.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function acn(e,t){var n,r,i;if(i=eon(e,t),i.c.length!=0)for(aa(i,new lY),n=i.c.length,r=0;r>19,x=t.h>>19,v!=x?x-v:(i=e.h,d=t.h,i!=d?i-d:(r=e.m,h=t.m,r!=h?r-h:(n=e.l,a=t.l,n-a)))}function EH(){EH=de,t7e=(GH(),sue),e7e=new pn(n6e,t7e),Jxe=(p$(),iue),Zxe=new pn(r6e,Jxe),Qxe=(uH(),rue),Xxe=new pn(i6e,Qxe),Yxe=new pn(s6e,(In(),!0))}function V_(e,t,n){var r,i;r=t*n,me(e.g,145)?(i=B6(e),i.f.d?i.f.a||(e.d.a+=r+H1):(e.d.d-=r+H1,e.d.a+=r+H1)):me(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function eit(e,t,n){var r,i,a,h,d;for(i=e[n.g],d=new C(t.d);d.a0?e.g:0),++n;t.b=r,t.e=i}function tit(e){var t,n,r;if(r=e.b,kze(e.i,r.length)){for(n=r.length*2,e.b=Ie(qce,uI,317,n,0,1),e.c=Ie(qce,uI,317,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)HD(e,t,t);++e.g}}function gcn(e,t,n,r){var i,a,h,d;for(i=0;ih&&(d=h/r),i>a&&(v=a/i),fd(e,b.Math.min(d,v)),e}function bcn(){YH();var e,t;try{if(t=u(T3e((Tp(),tf),N7),2014),t)return t}catch(n){if(n=ts(n),me(n,102))e=n,hve((jr(),e));else throw ee(n)}return new U5}function vcn(){qZe();var e,t;try{if(t=u(T3e((Tp(),tf),xb),2024),t)return t}catch(n){if(n=ts(n),me(n,102))e=n,hve((jr(),e));else throw ee(n)}return new gm}function wcn(){YH();var e,t;try{if(t=u(T3e((Tp(),tf),qh),1941),t)return t}catch(n){if(n=ts(n),me(n,102))e=n,hve((jr(),e));else throw ee(n)}return new EZ}function mcn(e,t,n){var r,i;return i=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(r=new oa(e,1,4,i,t),n?n.Ei(r):n=r),i!=t&&(t?n=b7(e,BH(e,t),n):n=b7(e,e.a,n)),n}function nit(){tR.call(this),this.e=-1,this.a=!1,this.p=za,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=za}function ycn(e,t){var n,r,i;if(r=e.b.d.d,e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),n=Bs(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function kcn(e,t){var n,r,i;if(r=e.b.b.d,e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),n=Bs(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function xcn(e,t){var n,r,i;if(r=e.b.g.d,e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),n=Bs(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function p3e(){p3e=de,Lgt=rl(ki(ki(ki(new Xs,(io(),Yc),(po(),bEe)),Yc,vEe),zo,wEe),zo,sEe),Dgt=ki(ki(new Xs,Yc,Z7e),Yc,aEe),Mgt=rl(new Xs,zo,cEe)}function Ecn(e){var t,n,r,i,a;for(t=u(W(e,(nt(),nS)),83),a=e.n,r=t.Cc().Kc();r.Ob();)n=u(r.Pb(),306),i=n.i,i.c+=a.a,i.d+=a.b,n.c?wot(n):mot(n);Qe(e,nS,null)}function Tcn(e,t,n){var r,i;switch(i=e.b,r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function _cn(e){var t,n,r,i,a;if(r=0,i=C7,e.b)for(t=0;t<360;t++)n=t*.017453292519943295,s5e(e,e.d,0,0,E4,n),a=e.b.ig(e.d),a0&&(h=(a&xi)%e.d.length,i=p4e(e,h,a,t),i)?(d=i.ed(n),d):(r=e.tj(a,t,n),e.c.Fc(r),null)}function w3e(e,t){var n,r,i,a;switch(_g(e,t)._k()){case 3:case 2:{for(n=g4(t),i=0,a=n.i;i=0;r--)if(on(e[r].d,t)||on(e[r].d,n)){e.length>=r+1&&e.splice(0,r+1);break}return e}function PD(e,t){var n;return Uo(e)&&Uo(t)&&(n=e/t,fI0&&(e.b+=2,e.a+=r):(e.b+=1,e.a+=b.Math.min(r,i))}function uit(e,t){var n,r;if(r=!1,ga(t)&&(r=!0,M6(e,new Nm(Hr(t)))),r||me(t,236)&&(r=!0,M6(e,(n=Tbe(u(t,236)),new rT(n)))),!r)throw ee(new Aee(O8e))}function Gcn(e,t,n,r){var i,a,h;return i=new N0(e.e,1,10,(h=t.c,me(h,88)?u(h,26):(cn(),nf)),(a=n.c,me(a,88)?u(a,26):(cn(),nf)),Ag(e,t),!1),r?r.Ei(i):r=i,r}function k3e(e){var t,n;switch(u(W(Xa(e),(mt(),cTe)),420).g){case 0:return t=e.n,n=e.o,new Ft(t.a+n.a/2,t.b+n.b/2);case 1:return new Do(e.n);default:return null}}function BD(){BD=de,fq=new NT(U0,0),KEe=new NT("LEFTUP",1),YEe=new NT("RIGHTUP",2),UEe=new NT("LEFTDOWN",3),WEe=new NT("RIGHTDOWN",4),Jue=new NT("BALANCED",5)}function qcn(e,t,n){var r,i,a;if(r=Bs(e.a[t.p],e.a[n.p]),r==0){if(i=u(W(t,(nt(),Tk)),15),a=u(W(n,Tk),15),i.Hc(n))return-1;if(a.Hc(t))return 1}return r}function Vcn(e){switch(e.g){case 1:return new AQ;case 2:return new LQ;case 3:return new SQ;case 0:return null;default:throw ee(new Dn(Koe+(e.f!=null?e.f:""+e.g)))}}function x3e(e,t,n){switch(t){case 1:!e.n&&(e.n=new ot(Qo,e,1,7)),_r(e.n),!e.n&&(e.n=new ot(Qo,e,1,7)),ds(e.n,u(n,14));return;case 2:__(e,Hr(n));return}zme(e,t,n)}function E3e(e,t,n){switch(t){case 3:$v(e,We(gt(n)));return;case 4:Hv(e,We(gt(n)));return;case 5:Au(e,We(gt(n)));return;case 6:Lu(e,We(gt(n)));return}x3e(e,t,n)}function _H(e,t,n){var r,i,a;a=(r=new xee,r),i=j1(a,t,null),i&&i.Fi(),nu(a,n),Pr((!e.c&&(e.c=new ot(Dw,e,12,10)),e.c),a),Eg(a,0),Vm(a,1),Sg(a,!0),Cg(a,!0)}function T3e(e,t){var n,r,i;return n=LT(e.g,t),me(n,235)?(i=u(n,235),i.Qh()==null,i.Nh()):me(n,498)?(r=u(n,1938),i=r.b,i):null}function Ucn(e,t,n,r){var i,a;return Or(t),Or(n),a=u(t_(e.d,t),19),YZe(!!a,"Row %s not in %s",t,e.e),i=u(t_(e.b,n),19),YZe(!!i,"Column %s not in %s",n,e.c),ntt(e,a.a,i.a,r)}function lit(e,t,n,r,i,a,h){var d,v,x,T,L;if(T=i[a],x=a==h-1,d=x?r:0,L=Drt(d,T),r!=10&&ie(ne(e,h-a),t[a],n[a],d,L),!x)for(++a,v=0;v1||d==-1?(a=u(v,15),i.Wb(Jsn(e,a))):i.Wb(Pse(e,u(v,56)))))}function Jcn(e,t,n,r){YHe();var i=jce;function a(){for(var h=0;hqoe)return n;i>-1e-6&&++n}return n}function S3e(e,t){var n;t!=e.b?(n=null,e.b&&(n=Fj(e.b,e,-4,n)),t&&(n=W6(t,e,-4,n)),n=Utt(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,t,t))}function dit(e,t){var n;t!=e.f?(n=null,e.f&&(n=Fj(e.f,e,-1,n)),t&&(n=W6(t,e,-1,n)),n=Ktt(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,0,t,t))}function git(e){var t,n,r;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(r=new dg,t=n.Kc();t.Ob();)To(r,(Bi(),Hr(t.Pb()))),r.a+=" ";return mte(r,r.a.length-1)}function pit(e){var t,n,r;if(e==null)return null;if(n=u(e,15),n.dc())return"";for(r=new dg,t=n.Kc();t.Ob();)To(r,(Bi(),Hr(t.Pb()))),r.a+=" ";return mte(r,r.a.length-1)}function oun(e,t,n){var r,i;return r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p],r.a!=null&&i.a!=null?one(r.a,i.a):r.a!=null?-1:i.a!=null?1:0}function cun(e,t){var n,r,i,a,h,d;if(t)for(a=t.a.length,n=new q2(a),d=(n.b-n.a)*n.c<0?(_p(),x2):new Lp(n);d.Ob();)h=u(d.Pb(),19),i=bx(t,h.a),r=new gje(e),QXt(r.a,i)}function uun(e,t){var n,r,i,a,h,d;if(t)for(a=t.a.length,n=new q2(a),d=(n.b-n.a)*n.c<0?(_p(),x2):new Lp(n);d.Ob();)h=u(d.Pb(),19),i=bx(t,h.a),r=new sje(e),XXt(r.a,i)}function lun(e){var t;if(e!=null&&e.length>0&&Ma(e,e.length-1)==33)try{return t=fst($l(e,0,e.length-1)),t.e==null}catch(n){if(n=ts(n),!me(n,32))throw ee(n)}return!1}function bit(e,t,n){var r,i,a;return r=t.ak(),a=t.dd(),i=r.$j()?Pp(e,3,r,null,a,d7(e,r,a,me(r,99)&&(u(r,18).Bb&ao)!=0),!0):Pp(e,1,r,r.zj(),a,-1,!0),n?n.Ei(i):n=i,n}function hun(){var e,t,n;for(t=0,e=0;e<1;e++){if(n=m4e((zr(e,1),"X".charCodeAt(e))),n==0)throw ee(new $r("Unknown Option: "+"X".substr(e)));t|=n}return t}function fun(e,t,n){var r,i,a;switch(r=Xa(t),i=Z$(r),a=new Fc,nc(a,t),n.g){case 1:qs(a,ED(U6(i)));break;case 2:qs(a,U6(i))}return Qe(a,(mt(),Iy),gt(W(e,Iy))),a}function A3e(e){var t,n;return t=u(Nr(new ur(dr(Wo(e.a).a.Kc(),new V))),17),n=u(Nr(new ur(dr(Fs(e.a).a.Kc(),new V))),17),Bt(Nt(W(t,(nt(),U1))))||Bt(Nt(W(n,U1)))}function a4(){a4=de,iq=new nM("ONE_SIDE",0),aq=new nM("TWO_SIDES_CORNER",1),oq=new nM("TWO_SIDES_OPPOSING",2),sq=new nM("THREE_SIDES",3),rq=new nM("FOUR_SIDES",4)}function Qie(e,t,n,r,i){var a,h;a=u(Gl(qi(t.Oc(),new oX),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),h=u(eb(e.b,n,r),15),i==0?h.Wc(0,a):h.Gc(a)}function dun(e,t){var n,r,i,a,h;for(a=new C(t.a);a.a0&&zrt(this,this.c-1,(dt(),$n)),this.c0&&e[0].length>0&&(this.c=Bt(Nt(W(Xa(e[0][0]),(nt(),l9e))))),this.a=Ie(mvt,Je,2018,e.length,0,2),this.b=Ie(yvt,Je,2019,e.length,0,2),this.d=new jtt}function wun(e){return e.c.length==0?!1:(En(0,e.c.length),u(e.c[0],17)).c.i.k==(zn(),ca)?!0:wx(Eu(new mn(null,new kn(e,16)),new BX),new FX)}function mun(e,t,n){return Er(n,"Tree layout",1),Kj(e.b),Kd(e.b,(Jx(),Uq),Uq),Kd(e.b,wS,wS),Kd(e.b,pO,pO),Kd(e.b,mS,mS),e.a=JH(e.b,t),Wdn(e,t,Vc(n,1)),lr(n),t}function wit(e,t){var n,r,i,a,h,d,v;for(d=sy(t),a=t.f,v=t.g,h=b.Math.sqrt(a*a+v*v),i=0,r=new C(d);r.a=0?(n=PD(e,uz),r=CD(e,uz)):(t=Im(e,1),n=PD(t,5e8),r=CD(t,5e8),r=Wa(A0(r,1),Gs(e,1))),D1(A0(r,32),Gs(n,yo))}function kit(e,t,n){var r,i;switch(r=(Qn(t.b!=0),u(bh(t,t.a.a),8)),n.g){case 0:r.b=0;break;case 2:r.b=e.f;break;case 3:r.a=0;break;default:r.a=e.g}return i=si(t,0),MM(i,r),t}function xit(e,t,n,r){var i,a,h,d,v;switch(v=e.b,a=t.d,h=a.j,d=zye(h,v.d[h.g],n),i=Ni(fc(a.n),a.a),a.j.g){case 1:case 3:d.a+=i.a;break;case 2:case 4:d.b+=i.b}ks(r,d,r.c.b,r.c)}function Dun(e,t,n){var r,i,a,h;for(h=Ko(e.e,t,0),a=new Uge,a.b=n,r=new Ca(e.e,h);r.b1;t>>=1)t&1&&(r=V3(r,n)),n.d==1?n=V3(n,n):n=new Unt(tct(n.a,n.d,Ie(Sr,Jr,25,n.d<<1,15,1)));return r=V3(r,n),r}function P3e(){P3e=de;var e,t,n,r;for(Bxe=Ie(va,Ao,25,25,15,1),Fxe=Ie(va,Ao,25,33,15,1),r=152587890625e-16,t=32;t>=0;t--)Fxe[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)Bxe[e]=n,n*=.5}function Fun(e){var t,n;if(Bt(Nt(jt(e,(mt(),Dy))))){for(n=new ur(dr(z0(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),79),Jv(t)&&Bt(Nt(jt(t,Ab))))return!0}return!1}function Eit(e,t){var n,r,i;zs(e.f,t)&&(t.b=e,r=t.c,Ko(e.j,r,0)!=-1||st(e.j,r),i=t.d,Ko(e.j,i,0)!=-1||st(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new trt(e)),Jnn(e.i,n)))}function Run(e){var t,n,r,i,a;return n=e.c.d,r=n.j,i=e.d.d,a=i.j,r==a?n.p=0&&on(e.substr(t,3),"GMT")||t>=0&&on(e.substr(t,3),"UTC"))&&(n[0]=t+3),c5e(e,n,r)}function $un(e,t){var n,r,i,a,h;for(a=e.g.a,h=e.g.b,r=new C(e.d);r.an;a--)e[a]|=t[a-n-1]>>>h,e[a-1]=t[a-n-1]<=e.f)break;a.c[a.c.length]=n}return a}function F3e(e){var t,n,r,i;for(t=null,i=new C(e.wf());i.a0&&Rc(e.g,t,e.g,t+r,d),h=n.Kc(),e.i+=r,i=0;ia&&nXt(x,vJe(n[d],Nxe))&&(i=d,a=v);return i>=0&&(r[0]=t+a),i}function Kun(e,t){var n;if(n=gqe(e.b.Hf(),t.b.Hf()),n!=0)return n;switch(e.b.Hf().g){case 1:case 2:return ku(e.b.sf(),t.b.sf());case 3:case 4:return ku(t.b.sf(),e.b.sf())}return 0}function Wun(e){var t,n,r;for(r=e.e.c.length,e.a=G2(Sr,[Je,Jr],[48,25],15,[r,r],2),n=new C(e.c);n.a>4&15,a=e[r]&15,h[i++]=JSe[n],h[i++]=JSe[a];return Fh(h,0,h.length)}function Qun(e,t,n){var r,i,a;return r=t.ak(),a=t.dd(),i=r.$j()?Pp(e,4,r,a,null,d7(e,r,a,me(r,99)&&(u(r,18).Bb&ao)!=0),!0):Pp(e,r.Kj()?2:1,r,a,r.zj(),-1,!0),n?n.Ei(i):n=i,n}function Du(e){var t,n;return e>=ao?(t=dI+(e-ao>>10&1023)&Ss,n=56320+(e-ao&1023)&Ss,String.fromCharCode(t)+(""+String.fromCharCode(n))):String.fromCharCode(e&Ss)}function Zun(e,t){Am();var n,r,i,a;return i=u(u(Oi(e.r,t),21),84),i.gc()>=2?(r=u(i.Kc().Pb(),111),n=e.u.Hc((al(),BS)),a=e.u.Hc(Fk),!r.a&&!n&&(i.gc()==2||a)):!1}function Cit(e,t,n,r,i){var a,h,d;for(a=uot(e,t,n,r,i),d=!1;!a;)NH(e,i,!0),d=!0,a=uot(e,t,n,r,i);d&&NH(e,i,!1),h=$re(i),h.c.length!=0&&(e.d&&e.d.lg(h),Cit(e,i,n,r,h))}function LH(){LH=de,zhe=new $T(U0,0),SSe=new $T("DIRECTED",1),LSe=new $T("UNDIRECTED",2),_Se=new $T("ASSOCIATION",3),ASe=new $T("GENERALIZATION",4),CSe=new $T("DEPENDENCY",5)}function Jun(e,t){var n;if(!A1(e))throw ee(new Vo(kft));switch(n=A1(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function r7(e,t){var n,r;for(An(t),r=e.b.c.length,st(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.ue(It(e.b,r),t)<=0)return gh(e.b,n,t),!0;gh(e.b,n,It(e.b,r))}return gh(e.b,r,t),!0}function R3e(e,t,n,r){var i,a;if(i=0,n)i=K$(e.a[n.g][t.g],r);else for(a=0;a=d)}function j3e(e,t,n,r){var i;if(i=!1,ga(r)&&(i=!0,sx(t,n,Hr(r))),i||Tm(r)&&(i=!0,j3e(e,t,n,r)),i||me(r,236)&&(i=!0,U2(t,n,u(r,236))),!i)throw ee(new Aee(O8e))}function tln(e,t){var n,r,i;if(n=t.Hh(e.a),n&&(i=e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Gh),i!=null)){for(r=1;r<(Uu(),EAe).length;++r)if(on(EAe[r],i))return r}return 0}function nln(e,t){var n,r,i;if(n=t.Hh(e.a),n&&(i=e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),Gh),i!=null)){for(r=1;r<(Uu(),TAe).length;++r)if(on(TAe[r],i))return r}return 0}function Sit(e,t){var n,r,i,a;if(An(t),a=e.a.gc(),a0?1:0;a.a[i]!=n;)a=a.a[i],i=e.a.ue(n.d,a.d)>0?1:0;a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function sln(e){al();var t,n;return t=Vi(Z0,ie(ne(mV,1),rt,273,0,[p2])),!(cD($j(t,e))>1||(n=Vi(BS,ie(ne(mV,1),rt,273,0,[PS,Fk])),cD($j(n,e))>1))}function H3e(e,t){var n;n=Gc((Tp(),tf),e),me(n,498)?Io(tf,e,new qGe(this,t)):Io(tf,e,this),ise(this,t),t==(q8(),hAe)?(this.wb=u(this,1939),u(t,1941)):this.wb=(Op(),Tn)}function aln(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n<$S.length;++n)try{return Nze($S[n],e)}catch(i){if(i=ts(i),me(i,32))r=i,t=r;else throw ee(i)}throw ee(new h$(t))}function Lit(){Lit=de,jdt=ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),$dt=ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Mit(e){var t,n,r;t=on(typeof t,Hae)?null:new na,t&&(Y8(),n=(r=900,r>=Ig?"error":r>=900?"warn":r>=800?"info":"log"),hWe(n,e.a),e.b&&H4e(t,n,e.b,"Exception: ",!0))}function W(e,t){var n,r;return r=(!e.q&&(e.q=new Ar),Jn(e.q,t)),r??(n=t.wg(),me(n,4)&&(n==null?(!e.q&&(e.q=new Ar),j6(e.q,t)):(!e.q&&(e.q=new Ar),Si(e.q,t,n))),n)}function io(){io=de,Dd=new tM("P1_CYCLE_BREAKING",0),i2=new tM("P2_LAYERING",1),fu=new tM("P3_NODE_ORDERING",2),Yc=new tM("P4_NODE_PLACEMENT",3),zo=new tM("P5_EDGE_ROUTING",4)}function Dit(e,t){var n,r,i,a,h;for(i=t==1?Eue:xue,r=i.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),103),h=u(Oi(e.f.c,n),21).Kc();h.Ob();)a=u(h.Pb(),46),_u(e.b.b,a.b),_u(e.b.a,u(a.b,81).d)}function oln(e,t){E_();var n;if(e.c==t.c){if(e.b==t.b||Inn(e.b,t.b)){if(n=Hqt(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return ku(e.b.g,t.b.g)}else return Bs(e.c,t.c)}function cln(e,t){var n;Er(t,"Hierarchical port position processing",1),n=e.b,n.c.length>0&&Xot((En(0,n.c.length),u(n.c[0],29)),e),n.c.length>1&&Xot(u(It(n,n.c.length-1),29),e),lr(t)}function Iit(e,t){var n,r,i;if(G3e(e,t))return!0;for(r=new C(t);r.a=i||t<0)throw ee(new Mo(mce+t+yb+i));if(n>=i||n<0)throw ee(new Mo(yce+n+yb+i));return t!=n?r=(a=e.Ti(n),e.Hi(t,a),a):r=e.Oi(n),r}function Pit(e){var t,n,r;if(r=e,e)for(t=0,n=e.Ug();n;n=n.Ug()){if(++t>Oae)return Pit(n);if(r=n,n==e)throw ee(new Vo("There is a cycle in the containment hierarchy of "+e))}return r}function Vp(e){var t,n,r;for(r=new tb(so,"[","]"),n=e.Kc();n.Ob();)t=n.Pb(),O0(r,$e(t)===$e(e)?"(this Collection)":t==null?Iu:Yo(t));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function G3e(e,t){var n,r;if(r=!1,t.gc()<2)return!1;for(n=0;nr&&(zr(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||t1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=b.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function Up(){Up=de,ppt=ie(ne(oo,1),Mc,61,0,[(dt(),Ln),$n,Tr]),gpt=ie(ne(oo,1),Mc,61,0,[$n,Tr,On]),bpt=ie(ne(oo,1),Mc,61,0,[Tr,On,Ln]),vpt=ie(ne(oo,1),Mc,61,0,[On,Ln,$n])}function lln(e,t,n,r){var i,a,h,d,v,x,T;if(h=e.c.d,d=e.d.d,h.j!=d.j)for(T=e.b,i=h.j,v=null;i!=d.j;)v=t==0?Q$(i):fye(i),a=zye(i,T.d[i.g],n),x=zye(v,T.d[v.g],n),oi(r,Ni(a,x)),i=v}function hln(e,t,n,r){var i,a,h,d,v;return h=Grt(e.a,t,n),d=u(h.a,19).a,a=u(h.b,19).a,r&&(v=u(W(t,(nt(),ol)),10),i=u(W(n,ol),10),v&&i&&(KXe(e.b,v,i),d+=e.b.i,a+=e.b.e)),d>a}function Fit(e){var t,n,r,i,a,h,d,v,x;for(this.a=frt(e),this.b=new at,n=e,r=0,i=n.length;rPte(e.d).c?(e.i+=e.g.c,yie(e.d)):Pte(e.d).c>Pte(e.g).c?(e.e+=e.d.c,yie(e.g)):(e.i+=fKe(e.g),e.e+=fKe(e.d),yie(e.g),yie(e.d))}function gln(e,t,n){var r,i,a,h;for(a=t.q,h=t.r,new K2((Xf(),u2),t,a,1),new K2(u2,a,h,1),i=new C(n);i.ad&&(v=d/r),i>a&&(x=a/i),h=b.Math.min(v,x),e.a+=h*(t.a-e.a),e.b+=h*(t.b-e.b)}function wln(e,t,n,r,i){var a,h;for(h=!1,a=u(It(n.b,0),33);Opn(e,t,a,r,i)&&(h=!0,Qcn(n,a),n.b.c.length!=0);)a=u(It(n.b,0),33);return n.b.c.length==0&&ND(n.j,n),h&&yH(t.q),h}function mln(e,t){f4();var n,r,i,a;if(t.b<2)return!1;for(a=si(t,0),n=u(ii(a),8),r=n;a.b!=a.d.c;){if(i=u(ii(a),8),Ese(e,r,i))return!0;r=i}return!!Ese(e,r,n)}function V3e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new Il((iu(),v2),Mw,e,0)),QR(e.o,t,r)):(a=u(bn((i=u(Cn(e,16),26),i||e.zh()),n),66),a.Nj().Rj(e,uu(e),n-Zn(e.zh()),t,r))}function ise(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=u(e.sb,49).ih(e,1,jS,n)),t&&(n=u(t,49).gh(e,1,jS,n)),n=sye(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,4,t,t))}function yln(e,t){var n,r,i,a;if(t)i=B0(t,"x"),n=new hje(e),Cx(n.a,(An(i),i)),a=B0(t,"y"),r=new fje(e),Ax(r.a,(An(a),a));else throw ee(new ud("All edge sections need an end point."))}function kln(e,t){var n,r,i,a;if(t)i=B0(t,"x"),n=new cje(e),Sx(n.a,(An(i),i)),a=B0(t,"y"),r=new uje(e),Lx(r.a,(An(a),a));else throw ee(new ud("All edge sections need a start point."))}function xln(e,t){var n,r,i,a,h,d,v;for(r=Ett(e),a=0,d=r.length;a>22-t,i=e.h<>22-t):t<44?(n=0,r=e.l<>44-t):(n=0,r=0,i=e.l<e)throw ee(new Dn("k must be smaller than n"));return t==0||t==e?1:e==0?0:m3e(e)/(m3e(t)*m3e(e-t))}function U3e(e,t){var n,r,i,a;for(n=new p2e(e);n.g==null&&!n.c?Wve(n):n.g==null||n.i!=0&&u(n.g[n.i-1],47).Ob();)if(a=u(PH(n),56),me(a,160))for(r=u(a,160),i=0;i>4],t[n*2+1]=RV[a&15];return Fh(t,0,t.length)}function jln(e){Cj();var t,n,r;switch(r=e.c.length,r){case 0:return Edt;case 1:return t=u(Sst(new C(e)),42),uYt(t.cd(),t.dd());default:return n=u(R1(e,Ie(Eb,oz,42,e.c.length,0,1)),165),new Cee(n)}}function $ln(e){var t,n,r,i,a,h;for(t=new S3,n=new S3,Bp(t,e),Bp(n,e);n.b!=n.c;)for(i=u(L6(n),37),h=new C(i.a);h.a0&&QD(e,n,t),i):xfn(e,t,n)}function Vit(e,t,n){var r,i,a,h;if(t.b!=0){for(r=new as,h=si(t,0);h.b!=h.d.c;)a=u(ii(h),86),ro(r,Ame(a)),i=a.e,i.a=u(W(a,(xc(),the)),19).a,i.b=u(W(a,f_e),19).a;Vit(e,r,Vc(n,r.b/e.a|0))}}function Uit(e,t){var n,r,i,a,h;if(e.e<=t||WZt(e,e.g,t))return e.g;for(a=e.r,r=e.g,h=e.r,i=(a-r)/2+r;r+11&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=b.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function Vln(e){var t,n,r,i;switch(i=e.i,t=i.b,r=i.j,n=i.g,i.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function Kit(e,t,n,r,i){if(rr&&(e.a=r),e.bi&&(e.b=i),e}function Uln(e){if(me(e,149))return kdn(u(e,149));if(me(e,229))return wsn(u(e,229));if(me(e,23))return _ln(u(e,23));throw ee(new Dn(N8e+Vp(new Cl(ie(ne(Xn,1),_t,1,5,[e])))))}function Kln(e,t,n,r,i){var a,h,d;for(a=!0,h=0;h>>i|n[h+r+1]<>>i,++h}return a}function X3e(e,t,n,r){var i,a,h;if(t.k==(zn(),ca)){for(a=new ur(dr(Wo(t).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),h=i.c.i.k,h==ca&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function Wln(e,t){var n,r,i,a;return t&=63,n=e.h&V0,t<22?(a=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(a=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(a=0,i=0,r=n>>>t-44),cu(r&ml,i&ml,a&V0)}function Wit(e,t,n,r){var i;this.b=r,this.e=e==(zv(),pS),i=t[n],this.d=G2(El,[Je,s0],[177,25],16,[i.length,i.length],2),this.a=G2(Sr,[Je,Jr],[48,25],15,[i.length,i.length],2),this.c=new I3e(t,n)}function Yln(e){var t,n,r;for(e.k=new Zve((dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,e.j.c.length),r=new C(e.j);r.a=n)return s7(e,t,r.p),!0;return!1}function Xit(e){var t;return e.Db&64?sse(e):(t=new jl(E8e),!e.a||Yr(Yr((t.a+=' "',t),e.a),'"'),Yr(pv(Yr(pv(Yr(pv(Yr(pv((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Qit(e,t,n){var r,i,a,h,d;for(d=hu(e.e.Tg(),t),i=u(e.g,119),r=0,h=0;hn?i4e(e,n,"start index"):t<0||t>n?i4e(t,n,"end index"):eC("end index (%s) must not be less than start index (%s)",ie(ne(Xn,1),_t,1,5,[lt(t),lt(e)]))}function Jit(e,t){var n,r,i,a;for(r=0,i=e.length;r0&&est(e,a,n));t.p=0}function Vt(e){var t;this.c=new as,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=(t=u(Wf(Gg),9),new hh(t,u(bf(t,t.length),9),0)),this.g=e.f}function thn(e){var t,n,r,i;for(t=Ip(Yr(new jl("Predicates."),"and"),40),n=!0,i=new s6(e);i.b0?d[h-1]:Ie(c0,Og,10,0,0,1),i=d[h],x=h=0?e.Bh(i):u4e(e,r);else throw ee(new Dn(e2+r.ne()+MC));else throw ee(new Dn(Ift+t+Oft));else wh(e,n,r)}function Q3e(e){var t,n;if(n=null,t=!1,me(e,204)&&(t=!0,n=u(e,204).a),t||me(e,258)&&(t=!0,n=""+u(e,258).a),t||me(e,483)&&(t=!0,n=""+u(e,483).a),!t)throw ee(new Aee(O8e));return n}function ist(e,t){var n,r;if(e.f){for(;t.Ob();)if(n=u(t.Pb(),72),r=n.ak(),me(r,99)&&u(r,18).Bb&Ec&&(!e.e||r.Gj()!=kE||r.aj()!=0)&&n.dd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function sst(e,t){var n,r;if(e.f){for(;t.Sb();)if(n=u(t.Ub(),72),r=n.ak(),me(r,99)&&u(r,18).Bb&Ec&&(!e.e||r.Gj()!=kE||r.aj()!=0)&&n.dd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function Z3e(e,t,n){var r,i,a,h,d,v;for(v=hu(e.e.Tg(),t),r=0,d=e.i,i=u(e.g,119),h=0;h1&&(t.c[t.c.length]=a))}function shn(e){var t,n,r,i;for(n=new as,ro(n,e.o),r=new Kge;n.b!=0;)t=u(n.b==0?null:(Qn(n.b!=0),bh(n,n.a.a)),508),i=Rut(e,t,!0),i&&st(r.a,t);for(;r.a.c.length!=0;)t=u(Dtt(r),508),Rut(e,t,!1)}function Dg(){Dg=de,DCe=new m6(bC,0),qa=new m6("BOOLEAN",1),Tc=new m6("INT",2),gE=new m6("STRING",3),Go=new m6("DOUBLE",4),ws=new m6("ENUM",5),Ik=new m6("ENUMSET",6),W1=new m6("OBJECT",7)}function W_(e,t){var n,r,i,a,h;r=b.Math.min(e.c,t.c),a=b.Math.min(e.d,t.d),i=b.Math.max(e.c+e.b,t.c+t.b),h=b.Math.max(e.d+e.a,t.d+t.a),i=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++0;)Yve(this);this.b=t,this.a=null}function chn(e,t){var n,r;t.a?Ddn(e,t):(n=u($te(e.b,t.b),57),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),r=u(jte(e.b,t.b),57),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Fc(r),Ste(e.b,t.b))}function ost(e,t){var n,r;if(n=u(_o(e.b,t),124),u(u(Oi(e.r,t),21),84).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((Nl(),Rb))&&Dot(e,t),r=Ran(e,t),_se(e,t)==(e4(),d2)&&(r+=2*e.w),n.a.a=r}function cst(e,t){var n,r;if(n=u(_o(e.b,t),124),u(u(Oi(e.r,t),21),84).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((Nl(),Rb))&&Iot(e,t),r=jan(e,t),_se(e,t)==(e4(),d2)&&(r+=2*e.w),n.a.b=r}function uhn(e,t){var n,r,i,a;for(a=new at,r=new C(t);r.an.a&&(r.Hc((Jm(),xO))?i=(t.a-n.a)/2:r.Hc(EO)&&(i=t.a-n.a)),t.b>n.b&&(r.Hc((Jm(),_O))?a=(t.b-n.b)/2:r.Hc(TO)&&(a=t.b-n.b)),$3e(e,i,a)}function bst(e,t,n,r,i,a,h,d,v,x,T,L,P){me(e.Cb,88)&&ny(dl(u(e.Cb,88)),4),nu(e,n),e.f=h,Kx(e,d),Yx(e,v),Ux(e,x),Wx(e,T),Sg(e,L),Xx(e,P),Cg(e,!0),Eg(e,i),e.ok(a),sb(e,t),r!=null&&(e.i=null,M$(e,r))}function vst(e){var t,n;if(e.f){for(;e.n>0;){if(t=u(e.k.Xb(e.n-1),72),n=t.ak(),me(n,99)&&u(n,18).Bb&Ec&&(!e.e||n.Gj()!=kE||n.aj()!=0)&&t.dd()!=null)return!0;--e.n}return!1}else return e.n>0}function i4e(e,t,n){if(e<0)return eC(tlt,ie(ne(Xn,1),_t,1,5,[n,lt(e)]));if(t<0)throw ee(new Dn(nlt+t));return eC("%s (%s) must not be greater than size (%s)",ie(ne(Xn,1),_t,1,5,[n,lt(e),lt(t)]))}function s4e(e,t,n,r,i,a){var h,d,v,x;if(h=r-n,h<7){osn(t,n,r,a);return}if(v=n+i,d=r+i,x=v+(d-v>>1),s4e(t,e,v,x,-i,a),s4e(t,e,x,d,-i,a),a.ue(e[x-1],e[x])<=0){for(;n=0?e.sh(a,n):P4e(e,i,n);else throw ee(new Dn(e2+i.ne()+MC));else throw ee(new Dn(Ift+t+Oft));else yh(e,r,i,n)}function wst(e){var t,n,r,i;if(n=u(e,49).qh(),n)try{if(r=null,t=c7((Tp(),tf),ect(lsn(n))),t&&(i=t.rh(),i&&(r=i.Wk(wGt(n.e)))),r&&r!=e)return wst(r)}catch(a){if(a=ts(a),!me(a,60))throw ee(a)}return e}function lu(e,t,n){var r,i,a,h;if(h=t==null?0:e.b.se(t),i=(r=e.a.get(h),r??new Array),i.length==0)e.a.set(h,i);else if(a=Ntt(e,t,i),a)return a.ed(n);return us(i,i.length,new dR(t,n)),++e.c,Pj(e.b),null}function mst(e,t){var n,r;return Kj(e.a),Kd(e.a,(O$(),Jq),Jq),Kd(e.a,dE,dE),r=new Xs,ki(r,dE,(eH(),ahe)),$e(jt(t,(Qm(),uhe)))!==$e((wD(),eV))&&ki(r,dE,ihe),ki(r,dE,she),vqe(e.a,r),n=JH(e.a,t),n}function yst(e){if(!e)return tHe(),Idt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=Yce[typeof t];return n?n(t):Qme(typeof t)}else return e instanceof Array||e instanceof b.Array?new r6(e):new O8(e)}function kst(e,t,n){var r,i,a;switch(a=e.o,r=u(_o(e.p,n),244),i=r.i,i.b=GD(r),i.a=zD(r),i.b=b.Math.max(i.b,a.a),i.b>a.a&&!t&&(i.b=a.a),i.c=-(i.b-a.a)/2,n.g){case 1:i.d=-i.a;break;case 3:i.d=a.b}Rse(r),jse(r)}function xst(e,t,n){var r,i,a;switch(a=e.o,r=u(_o(e.p,n),244),i=r.i,i.b=GD(r),i.a=zD(r),i.a=b.Math.max(i.a,a.b),i.a>a.b&&!t&&(i.a=a.b),i.d=-(i.a-a.b)/2,n.g){case 4:i.c=-i.b;break;case 2:i.c=a.a}Rse(r),jse(r)}function Thn(e,t){var n,r,i,a,h;if(!t.dc()){if(i=u(t.Xb(0),128),t.gc()==1){Yat(e,i,i,1,0,t);return}for(n=1;n0)try{i=Wl(t,za,xi)}catch(a){throw a=ts(a),me(a,127)?(r=a,ee(new h$(r))):ee(a)}return n=(!e.a&&(e.a=new pee(e)),e.a),i=0?u(_e(n,i),56):null}function Ahn(e,t){if(e<0)return eC(tlt,ie(ne(Xn,1),_t,1,5,["index",lt(e)]));if(t<0)throw ee(new Dn(nlt+t));return eC("%s (%s) must be less than size (%s)",ie(ne(Xn,1),_t,1,5,["index",lt(e),lt(t)]))}function Lhn(e){var t,n,r,i,a;if(e==null)return Iu;for(a=new tb(so,"[","]"),n=e,r=0,i=n.length;r0)for(h=e.c.d,d=e.d.d,i=fd(pa(new Ft(d.a,d.b),h),1/(r+1)),a=new Ft(h.a,h.b),n=new C(e.a);n.a=0?e._g(n,!0,!0):ew(e,i,!0),153)),u(r,215).ol(t);else throw ee(new Dn(e2+t.ne()+MC))}function l4e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=_s(b.Math.floor(b.Math.log(e)/.6931471805599453)),(!t||e!=b.Math.pow(2,n))&&++n,n):Wet(Mu(e))}function zhn(e){var t,n,r,i,a,h,d;for(a=new C0,n=new C(e);n.a2&&d.e.b+d.j.b<=2&&(i=d,r=h),a.a.zc(i,a),i.q=r);return a}function Mst(e,t){var n,r,i;return r=new H0(e),$o(r,t),Qe(r,(nt(),mq),t),Qe(r,(mt(),vs),(ya(),Zc)),Qe(r,Id,(Zd(),lV)),T0(r,(zn(),Ls)),n=new Fc,nc(n,r),qs(n,(dt(),On)),i=new Fc,nc(i,r),qs(i,$n),r}function Dst(e){switch(e.g){case 0:return new Lee((zv(),dO));case 1:return new cF;case 2:return new SJ;default:throw ee(new Dn("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function Ist(e,t){var n,r,i,a,h;for(e.c[t.p]=!0,st(e.a,t),h=new C(t.j);h.a=a)h.$b();else for(i=h.Kc(),r=0;r0?cpe():h<0&&Bst(e,t,-h),!0):!1}function zD(e){var t,n,r,i,a,h,d;if(d=0,e.b==0){for(h=wrt(e,!0),t=0,r=h,i=0,a=r.length;i0&&(d+=n,++t);t>1&&(d+=e.c*(t-1))}else d=uHe(ket(Aj(qi(fne(e.a),new Va),new Ba)));return d>0?d+e.n.d+e.n.a:0}function GD(e){var t,n,r,i,a,h,d;if(d=0,e.b==0)d=uHe(ket(Aj(qi(fne(e.a),new Ms),new Ea)));else{for(h=mrt(e,!0),t=0,r=h,i=0,a=r.length;i0&&(d+=n,++t);t>1&&(d+=e.c*(t-1))}return d>0?d+e.n.b+e.n.c:0}function Xhn(e,t){var n,r,i,a;for(a=u(_o(e.b,t),124),n=a.a,i=u(u(Oi(e.r,t),21),84).Kc();i.Ob();)r=u(i.Pb(),111),r.c&&(n.a=b.Math.max(n.a,Ybe(r.c)));if(n.a>0)switch(t.g){case 2:a.n.c=e.s;break;case 4:a.n.b=e.s}}function Qhn(e,t){var n,r,i;return n=u(W(t,(r1(),q7)),19).a-u(W(e,q7),19).a,n==0?(r=pa(fc(u(W(e,(Rp(),KI)),8)),u(W(e,KC),8)),i=pa(fc(u(W(t,KI),8)),u(W(t,KC),8)),Bs(r.a*r.b,i.a*i.b)):n}function Zhn(e,t){var n,r,i;return n=u(W(t,(tw(),Zq)),19).a-u(W(e,Zq),19).a,n==0?(r=pa(fc(u(W(e,(xc(),bO)),8)),u(W(e,yS),8)),i=pa(fc(u(W(t,bO),8)),u(W(t,yS),8)),Bs(r.a*r.b,i.a*i.b)):n}function Fst(e){var t,n;return n=new yp,n.a+="e_",t=orn(e),t!=null&&(n.a+=""+t),e.c&&e.d&&(Yr((n.a+=" ",n),xH(e.c)),Yr(kc((n.a+="[",n),e.c.i),"]"),Yr((n.a+=ooe,n),xH(e.d)),Yr(kc((n.a+="[",n),e.d.i),"]")),n.a}function Rst(e){switch(e.g){case 0:return new SL;case 1:return new _J;case 2:return new TJ;case 3:return new uF;default:throw ee(new Dn("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function f4e(e,t,n,r,i){var a;switch(a=0,i.g){case 1:a=b.Math.max(0,t.b+e.b-(n.b+r));break;case 3:a=b.Math.max(0,-e.b-r);break;case 2:a=b.Math.max(0,-e.a-r);break;case 4:a=b.Math.max(0,t.a+e.a-(n.a+r))}return a}function Jhn(e,t,n){var r,i,a,h,d;if(n)for(i=n.a.length,r=new q2(i),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),a=bx(n,h.a),S8e in a.a||vce in a.a?lgn(e,a,t):bwn(e,a,t),FVt(u(Jn(e.b,Qx(a)),79))}function d4e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=Rh(e),t&&(ho(),t.Cj()==N1t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function efn(e,t){var n,r,i,a,h;for(r=(!t.s&&(t.s=new ot(Bu,t,21,17)),t.s),a=null,i=0,h=r.i;i=0&&r=0?e._g(n,!0,!0):ew(e,i,!0),153)),u(r,215).ll(t);throw ee(new Dn(e2+t.ne()+cce))}function sfn(){Lpe();var e;return m3t?u(c7((Tp(),tf),qh),1939):(ci(Eb,new Gf),$bn(),e=u(me(Gc((Tp(),tf),qh),547)?Gc(tf,qh):new xWe,547),m3t=!0,Bwn(e),Hwn(e),Si((Ape(),lAe),e,new TZ),Io(tf,qh,e),e)}function afn(e,t){var n,r,i,a;e.j=-1,Sl(e.e)?(n=e.i,a=e.i!=0,GM(e,t),r=new N0(e.e,3,e.c,null,t,n,a),i=t.Qk(e.e,e.c,null),i=bit(e,t,i),i?(i.Ei(r),i.Fi()):_i(e.e,r)):(GM(e,t),i=t.Qk(e.e,e.c,null),i&&i.Fi())}function IH(e,t){var n,r,i;if(i=0,r=t[0],r>=e.length)return-1;for(n=(zr(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(zr(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function ofn(e){var t,n,r,i,a;return i=u(e.a,19).a,a=u(e.b,19).a,n=i,r=a,t=b.Math.max(b.Math.abs(i),b.Math.abs(a)),i<=0&&i==a?(n=0,r=a-1):i==-t&&a!=t?(n=a,r=i,a>=0&&++n):(n=-a,r=i),new _a(lt(n),lt(r))}function cfn(e,t,n,r){var i,a,h,d,v,x;for(i=0;i=0&&x>=0&&v=e.i)throw ee(new Mo(mce+t+yb+e.i));if(n>=e.i)throw ee(new Mo(yce+n+yb+e.i));return r=e.g[n],t!=n&&(t>16),t=r>>16&16,n=16-t,e=e>>t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-hy,t=r>>16&4,n+=t,e<<=t,r=e-md,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function lfn(e){I6();var t,n,r,i;for(DG=new at,gue=new Ar,due=new at,t=(!e.a&&(e.a=new ot(fs,e,10,11)),e.a),zvn(t),i=new ir(t);i.e!=i.i.gc();)r=u(br(i),33),Ko(DG,r,0)==-1&&(n=new at,st(due,n),Xnt(r,n));return due}function hfn(e,t,n){var r,i,a,h;e.a=n.b.d,me(t,352)?(i=h4(u(t,79),!1,!1),a=jD(i),r=new Ra(e),Da(a,r),eI(a,i),t.We((di(),X4))!=null&&Da(u(t.We(X4),74),r)):(h=u(t,470),h.Hg(h.Dg()+e.a.a),h.Ig(h.Eg()+e.a.b))}function $st(e,t){var n,r,i,a,h,d,v,x;for(x=We(gt(W(t,(mt(),uS)))),v=e[0].n.a+e[0].o.a+e[0].d.c+x,d=1;d=0?n:(d=h_(pa(new Ft(h.c+h.b/2,h.d+h.a/2),new Ft(a.c+a.b/2,a.d+a.a/2))),-(cct(a,h)-1)*d)}function dfn(e,t,n){var r;ms(new mn(null,(!n.a&&(n.a=new ot(os,n,6,6)),new kn(n.a,16))),new xGe(e,t)),ms(new mn(null,(!n.n&&(n.n=new ot(Qo,n,1,7)),new kn(n.n,16))),new EGe(e,t)),r=u(jt(n,(di(),X4)),74),r&&wme(r,e,t)}function ew(e,t,n){var r,i,a;if(a=p4((Uu(),Oa),e.Tg(),t),a)return ho(),u(a,66).Oj()||(a=P6(No(Oa,a))),i=(r=e.Yg(a),u(r>=0?e._g(r,!0,!0):ew(e,a,!0),153)),u(i,215).hl(t,n);throw ee(new Dn(e2+t.ne()+cce))}function p4e(e,t,n,r){var i,a,h,d,v;if(i=e.d[t],i){if(a=i.g,v=i.i,r!=null){for(d=0;d=n&&(r=t,x=(v.c+v.a)/2,h=x-n,v.c<=x-n&&(i=new Ute(v.c,h),Dm(e,r++,i)),d=x+n,d<=v.a&&(a=new Ute(d,v.a),Fm(r,e.c.length),MT(e.c,r,a)))}function b4e(e){var t;if(!e.c&&e.g==null)e.d=e.si(e.f),Pr(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=u(e.g[e.i-1],47)}return t==e.b&&null.km>=null.jm()?(PH(e),b4e(e)):t.Ob()}function vfn(e,t,n){var r,i,a,h,d;if(d=n,!d&&(d=Kbe(new j8,0)),Er(d,rht,1),cut(e.c,t),h=Dbn(e.a,t),h.gc()==1)qct(u(h.Xb(0),37),d);else for(a=1/h.gc(),i=h.Kc();i.Ob();)r=u(i.Pb(),37),qct(r,Vc(d,a));_Gt(e.a,h,t),D0n(t),lr(d)}function Gst(e){if(this.a=e,e.c.i.k==(zn(),Ls))this.c=e.c,this.d=u(W(e.c.i,(nt(),vc)),61);else if(e.d.i.k==Ls)this.c=e.d,this.d=u(W(e.d.i,(nt(),vc)),61);else throw ee(new Dn("Edge "+e+" is not an external edge."))}function qst(e,t){var n,r,i;i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,i,e.b)),t?t!=e&&(nu(e,t.zb),Cre(e,t.d),n=(r=t.c,r??t.zb),Are(e,n==null||on(n,t.zb)?null:n)):(nu(e,null),Cre(e,0),Are(e,null))}function Vst(e){var t,n;if(e.f){for(;e.n=h)throw ee(new Mm(t,h));return i=n[t],h==1?r=null:(r=Ie(Xhe,_ce,415,h-1,0,1),Rc(n,0,r,0,t),a=h-t-1,a>0&&Rc(n,t+1,r,t,a)),Zx(e,r),gst(e,t,i),i}function J6(){J6=de,$k=u(_e(qe((vpe(),_c).qb),6),34),jk=u(_e(qe(_c.qb),3),34),nfe=u(_e(qe(_c.qb),4),34),rfe=u(_e(qe(_c.qb),5),18),CH($k),CH(jk),CH(nfe),CH(rfe),E3t=new Cl(ie(ne(Bu,1),S4,170,0,[$k,jk]))}function Yst(e,t){var n;this.d=new dT,this.b=t,this.e=new Do(t.qf()),n=e.u.Hc((al(),NO)),e.u.Hc(Z0)?e.D?this.a=n&&!t.If():this.a=!0:e.u.Hc(p2)?n?this.a=!(t.zf().Kc().Ob()||t.Bf().Kc().Ob()):this.a=!1:this.a=!1}function Xst(e,t){var n,r,i,a;for(n=e.o.a,a=u(u(Oi(e.r,t),21),84).Kc();a.Ob();)i=u(a.Pb(),111),i.e.a=(r=i.b,r.Xe((di(),kl))?r.Hf()==(dt(),On)?-r.rf().a-We(gt(r.We(kl))):n+We(gt(r.We(kl))):r.Hf()==(dt(),On)?-r.rf().a:n)}function Qst(e,t){var n,r,i,a;n=u(W(e,(mt(),Jl)),103),a=u(jt(t,oE),61),i=u(W(e,vs),98),i!=(ya(),Y1)&&i!=g2?a==(dt(),cc)&&(a=g5e(t,n),a==cc&&(a=U6(n))):(r=Gct(t),r>0?a=U6(n):a=ED(U6(n))),So(t,oE,a)}function kfn(e,t){var n,r,i,a,h;for(h=e.j,t.a!=t.b&&aa(h,new H5),i=h.c.length/2|0,r=0;r0&&QD(e,n,t),a):r.a!=null?(QD(e,t,n),-1):i.a!=null?(QD(e,n,t),1):0}function Zst(e,t){var n,r,i,a;e.ej()?(n=e.Vi(),a=e.fj(),++e.j,e.Hi(n,e.oi(n,t)),r=e.Zi(3,null,t,n,a),e.bj()?(i=e.cj(t,null),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(fWe(e,t),e.bj()&&(i=e.cj(t,null),i&&i.Fi()))}function OH(e,t){var n,r,i,a,h;for(h=hu(e.e.Tg(),t),i=new K5,n=u(e.g,119),a=e.i;--a>=0;)r=n[a],h.rl(r.ak())&&Pr(i,r);!Hut(e,i)&&Sl(e.e)&&R8(e,t.$j()?Pp(e,6,t,(fn(),bo),null,-1,!1):Pp(e,t.Kj()?2:1,t,null,null,-1,!1))}function a7(){a7=de;var e,t;for(vk=Ie(L4,Je,91,32,0,1),qC=Ie(L4,Je,91,32,0,1),e=1,t=0;t<=18;t++)vk[t]=AD(e),qC[t]=AD(A0(e,t)),e=Ha(e,5);for(;th)||t.q&&(r=t.C,h=r.c.c.a-r.o.a/2,i=r.n.a-n,i>h)))}function Tfn(e,t){var n;Er(t,"Partition preprocessing",1),n=u(Gl(qi(rc(qi(new mn(null,new kn(e.a,16)),new gY),new PP),new R5),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),ms(n.Oc(),new BP),lr(t)}function Jst(e){Hne();var t,n,r,i,a,h,d;for(n=new Y2,i=new C(e.e.b);i.a1?e.e*=We(e.a):e.f/=We(e.a),sin(e),lan(e),U0n(e),Qe(e.b,(H_(),MG),e.g)}function rat(e,t,n){var r,i,a,h,d,v;for(r=0,v=n,t||(r=n*(e.c.length-1),v*=-1),a=new C(e);a.a=0?(t||(t=new yT,r>0&&To(t,e.substr(0,r))),t.a+="\\",ux(t,n&Ss)):t&&ux(t,n&Ss);return t?t.a:e}function Ofn(e){var t;if(!e.a)throw ee(new Vo("IDataType class expected for layout option "+e.f));if(t=HJt(e.a),t==null)throw ee(new Vo("Couldn't create new instance of property '"+e.f+"'. "+tft+(S0(GO),GO.k)+w8e));return u(t,414)}function bse(e){var t,n,r,i,a;return a=e.eh(),a&&a.kh()&&(i=zp(e,a),i!=a)?(n=e.Vg(),r=(t=e.Vg(),t>=0?e.Qg(null):e.eh().ih(e,-1-t,null,null)),e.Rg(u(i,49),n),r&&r.Fi(),e.Lg()&&e.Mg()&&n>-1&&_i(e,new oa(e,9,n,a,i)),i):a}function cat(e){var t,n,r,i,a,h,d,v;for(h=0,a=e.f.e,r=0;r>5,i>=e.d)return e.e<0;if(n=e.a[i],t=1<<(t&31),e.e<0){if(r=Cet(e),i>16)),15).Xc(a),d0&&(!(Sp(e.a.c)&&t.n.d)&&!(Z8(e.a.c)&&t.n.b)&&(t.g.d+=b.Math.max(0,r/2-.5)),!(Sp(e.a.c)&&t.n.a)&&!(Z8(e.a.c)&&t.n.c)&&(t.g.a-=r-1))}function hat(e){var t,n,r,i,a;if(i=new at,a=ict(e,i),t=u(W(e,(nt(),ol)),10),t)for(r=new C(t.j);r.a>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(h=r?V0:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(h=r?V0:0,a=r?ml:0,i=n>>t-44),cu(i&ml,a&ml,h&V0)}function vse(e){var t,n,r,i,a,h;for(this.c=new at,this.d=e,r=ps,i=ps,t=Ds,n=Ds,h=si(e,0);h.b!=h.d.c;)a=u(ii(h),8),r=b.Math.min(r,a.a),i=b.Math.min(i,a.b),t=b.Math.max(t,a.a),n=b.Math.max(n,a.b);this.a=new fh(r,i,t-r,n-i)}function gat(e,t){var n,r,i,a,h,d;for(a=new C(e.b);a.a0&&me(t,42)&&(e.a.qj(),x=u(t,42),v=x.cd(),a=v==null?0:Yi(v),h=cbe(e.a,a),n=e.a.d[h],n)){for(r=u(n.g,367),T=n.i,d=0;d=2)for(n=i.Kc(),t=gt(n.Pb());n.Ob();)a=t,t=gt(n.Pb()),r=b.Math.min(r,(An(t),t-(An(a),a)));return r}function qfn(e,t){var n,r,i,a,h;r=new as,ks(r,t,r.c.b,r.c);do for(n=(Qn(r.b!=0),u(bh(r,r.a.a),86)),e.b[n.g]=1,a=si(n.d,0);a.b!=a.d.c;)i=u(ii(a),188),h=i.c,e.b[h.g]==1?oi(e.a,i):e.b[h.g]==2?e.b[h.g]=1:ks(r,h,r.c.b,r.c);while(r.b!=0)}function Vfn(e,t){var n,r,i;if($e(t)===$e(Or(e)))return!0;if(!me(t,15)||(r=u(t,15),i=e.gc(),i!=r.gc()))return!1;if(me(r,54)){for(n=0;n0&&(i=n),h=new C(e.f.e);h.a0?(t-=1,n-=1):r>=0&&i<0?(t+=1,n+=1):r>0&&i>=0?(t-=1,n+=1):(t+=1,n-=1),new _a(lt(t),lt(n))}function u1n(e,t){return e.ct.c?1:e.bt.b?1:e.a!=t.a?Yi(e.a)-Yi(t.a):e.d==(y_(),vS)&&t.d==bS?-1:e.d==bS&&t.d==vS?1:0}function kat(e,t){var n,r,i,a,h;return a=t.a,a.c.i==t.b?h=a.d:h=a.c,a.c.i==t.b?r=a.c:r=a.d,i=Fsn(e.a,h,r),i>0&&i0):i<0&&-i0):!1}function l1n(e,t,n,r){var i,a,h,d,v,x,T,L;for(i=(t-e.d)/e.c.c.length,a=0,e.a+=n,e.d=t,L=new C(e.c);L.a>24;return h}function f1n(e){if(e.pe()){var t=e.c;t.qe()?e.o="["+t.n:t.pe()?e.o="["+t.ne():e.o="[L"+t.ne()+";",e.b=t.me()+"[]",e.k=t.oe()+"[]";return}var n=e.j,r=e.d;r=r.split("/"),e.o=kie(".",[n,kie("$",r)]),e.b=kie(".",[n,kie(".",r)]),e.k=r[r.length-1]}function d1n(e,t){var n,r,i,a,h;for(h=null,a=new C(e.e.a);a.a=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function xat(e,t){var n,r,i,a,h,d,v,x;for(h=t==1?Eue:xue,a=h.a.ec().Kc();a.Ob();)for(i=u(a.Pb(),103),v=u(Oi(e.f.c,i),21).Kc();v.Ob();)switch(d=u(v.Pb(),46),r=u(d.b,81),x=u(d.a,189),n=x.c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function b1n(e,t){var n,r,i,a,h,d,v,x,T;for(x=-1,T=0,h=e,d=0,v=h.length;d0&&++T;++x}return T}function Ef(e){var t,n;return n=new jl(xp(e.gm)),n.a+="@",Yr(n,(t=Yi(e)>>>0,t.toString(16))),e.kh()?(n.a+=" (eProxyURI: ",kc(n,e.qh()),e.$g()&&(n.a+=" eClass: ",kc(n,e.$g())),n.a+=")"):e.$g()&&(n.a+=" (eClass: ",kc(n,e.$g()),n.a+=")"),n.a}function Z_(e){var t,n,r,i;if(e.e)throw ee(new Vo((S0(nue),zae+nue.k+Gae)));for(e.d==(wo(),u0)&&tz(e,Wh),n=new C(e.a.a);n.a>24}return n}function m1n(e,t,n){var r,i,a;if(i=u(_o(e.i,t),306),!i)if(i=new kJe(e.d,t,n),S6(e.i,t,i),jye(t))PVt(e.a,t.c,t.b,i);else switch(a=ahn(t),r=u(_o(e.p,a),244),a.g){case 1:case 3:i.j=!0,See(r,t.b,i);break;case 4:case 2:i.k=!0,See(r,t.c,i)}return i}function y1n(e,t,n,r){var i,a,h,d,v,x;if(d=new K5,v=hu(e.e.Tg(),t),i=u(e.g,119),ho(),u(t,66).Oj())for(h=0;h=0)return i;for(a=1,d=new C(t.j);d.a0&&t.ue((En(i-1,e.c.length),u(e.c[i-1],10)),a)>0;)gh(e,i,(En(i-1,e.c.length),u(e.c[i-1],10))),--i;En(i,e.c.length),e.c[i]=a}n.a=new Ar,n.b=new Ar}function k1n(e,t,n){var r,i,a,h,d,v,x,T;for(T=(r=u(t.e&&t.e(),9),new hh(r,u(bf(r,r.length),9),0)),v=ay(n,"[\\[\\]\\s,]+"),a=v,h=0,d=a.length;h0&&(!(Sp(e.a.c)&&t.n.d)&&!(Z8(e.a.c)&&t.n.b)&&(t.g.d-=b.Math.max(0,r/2-.5)),!(Sp(e.a.c)&&t.n.a)&&!(Z8(e.a.c)&&t.n.c)&&(t.g.a+=b.Math.max(0,r-1)))}function Sat(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(dt(),Ln)||t==$n?(y$(u(D_(e),15),(Kl(),l0)),y$(u(D_(e),15),f2)):(y$(u(D_(e),15),(Kl(),f2)),y$(u(D_(e),15),l0));else for(i=new d_(e);i.a!=i.b;)r=u(W$(i),15),y$(r,n)}function E1n(e,t){var n,r,i,a,h,d,v;for(i=rx(new Lge(e)),d=new Ca(i,i.c.length),a=rx(new Lge(t)),v=new Ca(a,a.c.length),h=null;d.b>0&&v.b>0&&(n=(Qn(d.b>0),u(d.a.Xb(d.c=--d.b),33)),r=(Qn(v.b>0),u(v.a.Xb(v.c=--v.b),33)),n==r);)h=n;return h}function vl(e,t){var n,r,i,a,h,d;return a=e.a*Rae+e.b*1502,d=e.b*Rae+11,n=b.Math.floor(d*pI),a+=n,d-=n*X5e,a%=X5e,e.a=a,e.b=d,t<=24?b.Math.floor(e.a*Bxe[t]):(i=e.a*(1<=2147483648&&(r-=Nae),r)}function Aat(e,t,n){var r,i,a,h;XYe(e,t)>XYe(e,n)?(r=sc(n,(dt(),$n)),e.d=r.dc()?0:Qte(u(r.Xb(0),11)),h=sc(t,On),e.b=h.dc()?0:Qte(u(h.Xb(0),11))):(i=sc(n,(dt(),On)),e.d=i.dc()?0:Qte(u(i.Xb(0),11)),a=sc(t,$n),e.b=a.dc()?0:Qte(u(a.Xb(0),11)))}function Lat(e){var t,n,r,i,a,h,d;if(e&&(t=e.Hh(qh),t&&(h=Hr(e1((!t.b&&(t.b=new Al((cn(),co),wc,t)),t.b),"conversionDelegates")),h!=null))){for(d=new at,r=ay(h,"\\w+"),i=0,a=r.length;ie.c));h++)i.a>=e.s&&(a<0&&(a=h),d=h);return v=(e.s+e.c)/2,a>=0&&(r=agn(e,t,a,d),v=pqt((En(r,t.c.length),u(t.c[r],329))),bfn(t,r,n)),v}function yse(){yse=de,smt=new fo((di(),Ok),1.3),X_e=XCe,rCe=new yv(15),fmt=new fo(Pb,rCe),gmt=new fo(Bb,15),amt=fV,umt=Nb,lmt=Z4,hmt=h2,cmt=Q4,eCe=LO,dmt=jy,nCe=(_4e(),nmt),J_e=emt,tCe=tmt,iCe=rmt,Q_e=Jwt,Z_e=dV,omt=ZCe,wO=Zwt,Y_e=Qwt,sCe=imt}function Br(e,t,n){var r,i,a,h,d,v,x;for(h=(a=new AB,a),fme(h,(An(t),t)),x=(!h.b&&(h.b=new Al((cn(),co),wc,h)),h.b),v=1;v0&&J2n(this,i)}function I4e(e,t,n,r,i,a){var h,d,v;if(!i[t.b]){for(i[t.b]=!0,h=r,!h&&(h=new t$),st(h.e,t),v=a[t.b].Kc();v.Ob();)d=u(v.Pb(),282),!(d.d==n||d.c==n)&&(d.c!=t&&I4e(e,d.c,t,h,i,a),d.d!=t&&I4e(e,d.d,t,h,i,a),st(h.c,d),Ps(h.d,d.b));return h}return null}function C1n(e){var t,n,r,i,a,h,d;for(t=0,i=new C(e.e);i.a=2}function S1n(e,t){var n,r,i,a;for(Er(t,"Self-Loop pre-processing",1),r=new C(e.a);r.a1||(t=Vi(Mf,ie(ne(xo,1),rt,93,0,[Q0,Df])),cD($j(t,e))>1)||(r=Vi(Of,ie(ne(xo,1),rt,93,0,[h0,Xh])),cD($j(r,e))>1))}function M1n(e,t){var n,r,i;return n=t.Hh(e.a),n&&(i=Hr(e1((!n.b&&(n.b=new Al((cn(),co),wc,n)),n.b),"affiliation")),i!=null)?(r=zR(i,Du(35)),r==-1?oie(e,s_(e,ql(t.Hj())),i):r==0?oie(e,null,i.substr(1)):oie(e,i.substr(0,r),i.substr(r+1))):null}function D1n(e){var t,n,r;try{return e==null?Iu:Yo(e)}catch(i){if(i=ts(i),me(i,102))return t=i,r=xp(pl(e))+"@"+(n=(Gd(),Vye(e)>>>0),n.toString(16)),man(wrn(),(Y8(),"Exception during lenientFormat for "+r),t),"<"+r+" threw "+xp(t.gm)+">";throw ee(i)}}function Iat(e){switch(e.g){case 0:return new wJ;case 1:return new aF;case 2:return new Ize;case 3:return new fL;case 4:return new JVe;case 5:return new mJ;default:throw ee(new Dn("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function O4e(e,t,n){var r,i,a;for(a=new C(e.t);a.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&oi(t,r.b));for(i=new C(e.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&oi(n,r.a))}function PH(e){var t,n,r,i,a;if(e.g==null&&(e.d=e.si(e.f),Pr(e,e.d),e.c))return a=e.f,a;if(t=u(e.g[e.i-1],47),i=t.Pb(),e.e=t,n=e.si(i),n.Ob())e.d=n,Pr(e,n);else for(e.d=null;!t.Ob()&&(us(e.g,--e.i,null),e.i!=0);)r=u(e.g[e.i-1],47),t=r;return i}function I1n(e,t){var n,r,i,a,h,d;if(r=t,i=r.ak(),G0(e.e,i)){if(i.hi()&&Qj(e,i,r.dd()))return!1}else for(d=hu(e.e.Tg(),i),n=u(e.g,119),a=0;a1||n>1)return 2;return t+n==1?2:0}function Nat(e,t,n){var r,i,a,h,d;for(Er(n,"ELK Force",1),Bt(Nt(jt(t,(r1(),_7e))))||Rj((r=new ar((xm(),new wm(t))),r)),d=ltt(t),rcn(d),Brn(e,u(W(d,T7e),424)),h=Ect(e.a,d),a=h.Kc();a.Ob();)i=u(a.Pb(),231),wgn(e.b,i,Vc(n,1/h.gc()));d=But(h),Out(d),lr(n)}function j1n(e,t){var n,r,i,a,h;if(Er(t,"Breaking Point Processor",1),svn(e),Bt(Nt(W(e,(mt(),ITe))))){for(i=new C(e.b);i.a=0?e._g(r,!0,!0):ew(e,a,!0),153)),u(i,215).ml(t,n)}else throw ee(new Dn(e2+t.ne()+MC))}function G1n(e,t){var n,r,i,a,h;for(n=new at,i=rc(new mn(null,new kn(e,16)),new pQ),a=rc(new mn(null,new kn(e,16)),new bQ),h=btn(Den(Aj(xdn(ie(ne(Zwn,1),_t,833,0,[i,a])),new vQ))),r=1;r=2*t&&st(n,new Ute(h[r-1]+t,h[r]-t));return n}function q1n(e,t,n){Er(n,"Eades radial",1),n.n&&t&&wf(n,mf(t),(Ol(),rh)),e.d=u(jt(t,(JT(),ES)),33),e.c=We(gt(jt(t,(Qm(),nV)))),e.e=Mie(u(jt(t,vO),293)),e.a=Esn(u(jt(t,B_e),426)),e.b=Vcn(u(jt(t,P_e),340)),_cn(e),n.n&&t&&wf(n,mf(t),(Ol(),rh))}function V1n(e,t,n){var r,i,a,h,d,v,x,T;if(n)for(a=n.a.length,r=new q2(a),d=(r.b-r.a)*r.c<0?(_p(),x2):new Lp(r);d.Ob();)h=u(d.Pb(),19),i=bx(n,h.a),i&&(v=GJt(e,(x=(gv(),T=new Xge,T),t&&B4e(x,t),x),i),__(v,D0(i,Ad)),AH(i,v),a4e(i,v),qre(e,i,v))}function FH(e){var t,n,r,i,a,h;if(!e.j){if(h=new N9,t=GS,a=t.a.zc(e,t),a==null){for(r=new ir(Ro(e));r.e!=r.i.gc();)n=u(br(r),26),i=FH(n),ds(h,i),Pr(h,n);t.a.Bc(e)!=null}Um(h),e.j=new N3((u(_e(qe((Op(),Tn).o),11),18),h.i),h.g),dl(e).b&=-33}return e.j}function U1n(e){var t,n,r,i;if(e==null)return null;if(r=Kc(e,!0),i=BI.length,on(r.substr(r.length-i,i),BI)){if(n=r.length,n==4){if(t=(zr(0,r.length),r.charCodeAt(0)),t==43)return MAe;if(t==45)return $3t}else if(n==3)return MAe}return new jge(r)}function K1n(e){var t,n,r;return n=e.l,n&n-1||(r=e.m,r&r-1)||(t=e.h,t&t-1)||t==0&&r==0&&n==0?-1:t==0&&r==0&&n!=0?sme(n):t==0&&r!=0&&n==0?sme(r)+22:t!=0&&r==0&&n==0?sme(t)+44:-1}function W1n(e,t){var n,r,i,a,h;for(Er(t,"Edge joining",1),n=Bt(Nt(W(e,(mt(),Ale)))),i=new C(e.b);i.a1)for(i=new C(e.a);i.a0),a.a.Xb(a.c=--a.b),Lm(a,i),Qn(a.b3&&Qd(e,0,t-3))}function Z1n(e){var t,n,r,i;return $e(W(e,(mt(),My)))===$e((R0(),qg))?!e.e&&$e(W(e,aO))!==$e((Fx(),JI)):(r=u(W(e,ble),292),i=Bt(Nt(W(e,vle)))||$e(W(e,aS))===$e((z6(),ZI)),t=u(W(e,Y9e),19).a,n=e.a.c.length,!i&&r!=(Fx(),JI)&&(t==0||t>n))}function J1n(e){var t,n;for(n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(e7(e,t))throw ee(new Dn(DC+eat(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?c3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,6,r)),r=abe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,6,t,t))}function B4e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(e7(e,t))throw ee(new Dn(DC+Bot(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?l3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,9,r)),r=obe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,9,t,t))}function xse(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(e7(e,t))throw ee(new Dn(DC+Pct(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?f3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,12,r)),r=sbe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,t,t))}function u7(e){var t,n,r,i,a;if(r=Rh(e),a=e.j,a==null&&r)return e.$j()?null:r.zj();if(me(r,148)){if(n=r.Aj(),n&&(i=n.Nh(),i!=e.i)){if(t=u(r,148),t.Ej())try{e.g=i.Kh(t,a)}catch(h){if(h=ts(h),me(h,78))e.g=null;else throw ee(h)}e.i=i}return e.g}return null}function Fat(e){var t;return t=new at,st(t,new v6(new Ft(e.c,e.d),new Ft(e.c+e.b,e.d))),st(t,new v6(new Ft(e.c,e.d),new Ft(e.c,e.d+e.a))),st(t,new v6(new Ft(e.c+e.b,e.d+e.a),new Ft(e.c+e.b,e.d))),st(t,new v6(new Ft(e.c+e.b,e.d+e.a),new Ft(e.c,e.d+e.a))),t}function Rat(e,t,n,r){var i,a,h;if(h=y3e(t,n),r.c[r.c.length]=t,e.j[h.p]==-1||e.j[h.p]==2||e.a[t.p])return r;for(e.j[h.p]=-1,a=new ur(dr(j0(h).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),!(!(!no(i)&&!(!no(i)&&i.c.i.c==i.d.i.c))||i==t))return Rat(e,i,h,r);return r}function edn(e,t,n){var r,i,a;for(a=t.a.ec().Kc();a.Ob();)i=u(a.Pb(),79),r=u(Jn(e.b,i),266),!r&&(ls(Jd(i))==ls(qp(i))?p0n(e,i,n):Jd(i)==ls(qp(i))?Jn(e.c,i)==null&&Jn(e.b,qp(i))!=null&&vut(e,i,n,!1):Jn(e.d,i)==null&&Jn(e.b,Jd(i))!=null&&vut(e,i,n,!0))}function tdn(e,t){var n,r,i,a,h,d,v;for(i=e.Kc();i.Ob();)for(r=u(i.Pb(),10),d=new Fc,nc(d,r),qs(d,(dt(),$n)),Qe(d,(nt(),yq),(In(),!0)),h=t.Kc();h.Ob();)a=u(h.Pb(),10),v=new Fc,nc(v,a),qs(v,On),Qe(v,yq,!0),n=new Dv,Qe(n,yq,!0),Ka(n,d),wa(n,v)}function ndn(e,t,n,r){var i,a,h,d;i=Ont(e,t,n),a=Ont(e,n,t),h=u(Jn(e.c,t),112),d=u(Jn(e.c,n),112),ir.b.g&&(a.c[a.c.length]=r);return a}function l7(){l7=de,W4=new aM("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Dk=new aM("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),_S=new aM("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),TS=new aM("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),CS=new aM("WHOLE_DRAWING",4)}function rdn(e,t){if(me(t,239))return Oin(e,u(t,33));if(me(t,186))return Uin(e,u(t,118));if(me(t,354))return sQt(e,u(t,137));if(me(t,352))return Lpn(e,u(t,79));if(t)return null;throw ee(new Dn(N8e+Vp(new Cl(ie(ne(Xn,1),_t,1,5,[t])))))}function idn(e){var t,n,r,i,a,h,d;for(a=new as,i=new C(e.d.a);i.a1)for(t=xv((n=new j2,++e.b,n),e.d),d=si(a,0);d.b!=d.d.c;)h=u(ii(d),121),Tf(gf(df(pf(ff(new Ih,1),0),t),h))}function F4e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(e7(e,t))throw ee(new Dn(DC+t5e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?d3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=W6(t,e,10,r)),r=pbe(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,11,t,t))}function sdn(e){var t,n,r,i;for(r=new ib(new lg(e.b).a);r.b;)n=jv(r),i=u(n.cd(),11),t=u(n.dd(),10),Qe(t,(nt(),Mi),i),Qe(i,ol,t),Qe(i,nO,(In(),!0)),qs(i,u(W(t,vc),61)),W(t,vc),Qe(i.i,(mt(),vs),(ya(),mE)),u(W(Xa(i.i),Qc),21).Fc((mo(),nE))}function adn(e,t,n){var r,i,a,h,d,v;if(a=0,h=0,e.c)for(v=new C(e.d.i.j);v.aa.a?-1:i.av){for(T=e.d,e.d=Ie(tAe,G8e,63,2*v+4,0,1),a=0;a=9223372036854776e3?(Tx(),lxe):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=gb&&(r=_s(e/gb),e-=r*gb),n=0,e>=sk&&(n=_s(e/sk),e-=n*sk),t=_s(e),a=cu(t,n,r),i&&Gre(a),a)}function bdn(e,t){var n,r,i,a;for(n=!t||!e.u.Hc((al(),Z0)),a=0,i=new C(e.e.Cf());i.a=-t&&r==t?new _a(lt(n-1),lt(r)):new _a(lt(n),lt(r-1))}function Gat(){return po(),ie(ne(amn,1),rt,77,0,[iEe,tEe,WC,Lue,EEe,GG,JG,K7,kEe,fEe,mEe,U7,xEe,uEe,TEe,Y7e,KG,Mue,HG,XG,CEe,YG,X7e,yEe,SEe,QG,_Ee,zG,aEe,vEe,bEe,eq,J7e,$G,VG,Z7e,V7,gEe,lEe,wEe,YC,nEe,eEe,pEe,hEe,UG,ZG,Q7e,WG,dEe,qG,oEe,sEe,XI,jG,cEe,rEe])}function ydn(e,t,n){e.d=0,e.b=0,t.k==(zn(),Xc)&&n.k==Xc&&u(W(t,(nt(),Mi)),10)==u(W(n,Mi),10)&&(bre(t).j==(dt(),Ln)?Aat(e,t,n):Aat(e,n,t)),t.k==Xc&&n.k==ca?bre(t).j==(dt(),Ln)?e.d=1:e.b=1:n.k==Xc&&t.k==ca&&(bre(n).j==(dt(),Ln)?e.b=1:e.d=1),oon(e,t,n)}function kdn(e){var t,n,r,i,a,h,d,v,x,T,L;return L=B3e(e),t=e.a,v=t!=null,v&&sx(L,"category",e.a),i=UL(new pm(e.d)),h=!i,h&&(x=new cg,Zf(L,"knownOptions",x),n=new Lje(x),Da(new pm(e.d),n)),a=UL(e.g),d=!a,d&&(T=new cg,Zf(L,"supportedFeatures",T),r=new Mje(T),Da(e.g,r)),L}function xdn(e){var t,n,r,i,a,h,d,v,x;for(r=!1,t=336,n=0,a=new GVe(e.length),d=e,v=0,x=d.length;v>16!=7&&t){if(e7(e,t))throw ee(new Dn(DC+Xit(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?u3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=u(t,49).gh(e,1,jO,r)),r=ove(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,7,t,t))}function qat(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(e7(e,t))throw ee(new Dn(DC+snt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?h3e(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=u(t,49).gh(e,0,HO,r)),r=cve(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,3,t,t))}function Tse(e,t){a7();var n,r,i,a,h,d,v,x,T;return t.d>e.d&&(d=e,e=t,t=d),t.d<63?f0n(e,t):(h=(e.d&-2)<<4,x=kwe(e,h),T=kwe(t,h),r=$se(e,F6(x,h)),i=$se(t,F6(T,h)),v=Tse(x,T),n=Tse(r,i),a=Tse($se(x,r),$se(i,T)),a=Wse(Wse(a,v),n),a=F6(a,h),v=F6(v,h<<1),Wse(Wse(v,a),n))}function Tdn(e,t,n){var r,i,a,h,d;for(h=N_(e,n),d=Ie(c0,Og,10,t.length,0,1),r=0,a=h.Kc();a.Ob();)i=u(a.Pb(),11),Bt(Nt(W(i,(nt(),nO))))&&(d[r++]=u(W(i,ol),10));if(r=0;a+=n?1:-1)h=h|t.c.Sf(v,a,n,r&&!Bt(Nt(W(t.j,(nt(),yw))))&&!Bt(Nt(W(t.j,(nt(),$4))))),h=h|t.q._f(v,a,n),h=h|Lot(e,v[a],n,r);return zs(e.c,t),h}function jH(e,t,n){var r,i,a,h,d,v,x,T,L,P;for(T=CXe(e.j),L=0,P=T.length;L1&&(e.a=!0),$Yt(u(n.b,65),Ni(fc(u(t.b,65).c),fd(pa(fc(u(n.b,65).a),u(t.b,65).a),i))),$Ye(e,t),Vat(e,n)}function Uat(e){var t,n,r,i,a,h,d;for(a=new C(e.a.a);a.a0&&a>0?h.p=t++:r>0?h.p=n++:a>0?h.p=i++:h.p=n++}fn(),aa(e.j,new aL)}function Ldn(e){var t,n;n=null,t=u(It(e.g,0),17);do{if(n=t.d.i,Js(n,(nt(),Kh)))return u(W(n,Kh),11).i;if(n.k!=(zn(),js)&&Vr(new ur(dr(Fs(n).a.Kc(),new V))))t=u(Nr(new ur(dr(Fs(n).a.Kc(),new V))),17);else if(n.k!=js)return null}while(n&&n.k!=(zn(),js));return n}function Mdn(e,t){var n,r,i,a,h,d,v,x,T;for(d=t.j,h=t.g,v=u(It(d,d.c.length-1),113),T=(En(0,d.c.length),u(d.c[0],113)),x=Gie(e,h,v,T),a=1;ax&&(v=n,T=i,x=r);t.a=T,t.c=v}function Ddn(e,t){var n,r;if(r=LM(e.b,t.b),!r)throw ee(new Vo("Invalid hitboxes for scanline constraint calculation."));(Jet(t.b,u(DUt(e.b,t.b),57))||Jet(t.b,u(MUt(e.b,t.b),57)))&&(Gd(),t.b+""),e.a[t.b.f]=u($te(e.b,t.b),57),n=u(jte(e.b,t.b),57),n&&(e.a[n.f]=t.b)}function Tf(e){if(!e.a.d||!e.a.e)throw ee(new Vo((S0(o0t),o0t.k+" must have a source and target "+(S0(h7e),h7e.k)+" specified.")));if(e.a.d==e.a.e)throw ee(new Vo("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return qR(e.a.d.g,e.a),qR(e.a.e.b,e.a),e.a}function Idn(e,t,n){var r,i,a,h,d,v,x;for(x=new Ep(new ARe(e)),h=ie(ne(Wgt,1),aht,11,0,[t,n]),d=0,v=h.length;dv-e.b&&dv-e.a&&d0&&++z;++P}return z}function zdn(e,t){var n,r,i,a,h;for(h=u(W(t,(tw(),w_e)),425),a=si(t.b,0);a.b!=a.d.c;)if(i=u(ii(a),86),e.b[i.g]==0){switch(h.g){case 0:yrt(e,i);break;case 1:qfn(e,i)}e.b[i.g]=2}for(r=si(e.a,0);r.b!=r.d.c;)n=u(ii(r),188),Wm(n.b.d,n,!0),Wm(n.c.b,n,!0);Qe(t,(xc(),h_e),e.a)}function hu(e,t){ho();var n,r,i,a;return t?t==(Bi(),R3t)||(t==C3t||t==jb||t==_3t)&&e!=AAe?new O5e(e,t):(r=u(t,677),n=r.pk(),n||(fx(No((Uu(),Oa),t)),n=r.pk()),a=(!n.i&&(n.i=new Ar),n.i),i=u(hc(jo(a.f,e)),1942),!i&&Si(a,e,i=new O5e(e,t)),i):x3t}function Gdn(e,t){var n,r,i,a,h,d,v,x,T;for(v=u(W(e,(nt(),Mi)),11),x=ic(ie(ne(ea,1),Je,8,0,[v.i.n,v.n,v.a])).a,T=e.i.n.b,n=vd(e.e),i=n,a=0,h=i.length;a0?a.a?(d=a.b.rf().a,n>d&&(i=(n-d)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:o_(e.u)&&(r=F3e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.rf().a&&(a.d.c=r.c+r.b-a.b.rf().a))}function Kdn(e,t){var n,r,i,a;for(Er(t,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new C(e.b);i.a=0){if(t==n)return new _a(lt(-t-1),lt(-t-1));if(t==-n)return new _a(lt(-t),lt(n+1))}return b.Math.abs(t)>b.Math.abs(n)?t<0?new _a(lt(-t),lt(n)):new _a(lt(-t),lt(n+1)):new _a(lt(t+1),lt(n))}function Xdn(e){var t,n;n=u(W(e,(mt(),du)),163),t=u(W(e,(nt(),Cb)),303),n==(mh(),a2)?(Qe(e,du,sO),Qe(e,Cb,(P0(),R4))):n==Sy?(Qe(e,du,sO),Qe(e,Cb,(P0(),kk))):t==(P0(),R4)?(Qe(e,du,a2),Qe(e,Cb,eO)):t==kk&&(Qe(e,du,Sy),Qe(e,Cb,eO))}function $H(){$H=de,gO=new nQ,Kvt=ki(new Xs,(io(),fu),(po(),HG)),Xvt=rl(ki(new Xs,fu,YG),zo,WG),Qvt=Xv(Xv(cR(rl(ki(new Xs,Dd,JG),zo,ZG),Yc),QG),eq),Wvt=rl(ki(ki(ki(new Xs,i2,GG),Yc,VG),Yc,V7),zo,qG),Yvt=rl(ki(ki(new Xs,Yc,V7),Yc,$G),zo,jG)}function J_(){J_=de,ewt=ki(rl(new Xs,(io(),zo),(po(),oEe)),fu,HG),iwt=Xv(Xv(cR(rl(ki(new Xs,Dd,JG),zo,ZG),Yc),QG),eq),twt=rl(ki(ki(ki(new Xs,i2,GG),Yc,VG),Yc,V7),zo,qG),rwt=ki(ki(new Xs,fu,YG),zo,WG),nwt=rl(ki(ki(new Xs,Yc,V7),Yc,$G),zo,jG)}function Qdn(e,t,n,r,i){var a,h;(!no(t)&&t.c.i.c==t.d.i.c||!set(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])),n))&&!no(t)&&(t.c==i?tx(t.a,0,new Do(n)):oi(t.a,new Do(n)),r&&!_0(e.a,n)&&(h=u(W(t,(mt(),Fo)),74),h||(h=new $u,Qe(t,Fo,h)),a=new Do(n),ks(h,a,h.c.b,h.c),zs(e.a,a)))}function Zdn(e){var t,n;for(n=new ur(dr(Wo(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),t.c.i.k!=(zn(),Pl))throw ee(new A3(loe+ID(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 Jdn(e,t,n){var r,i,a,h,d,v,x;if(i=hnt(e.Db&254),i==0)e.Eb=n;else{if(i==1)d=Ie(Xn,_t,1,2,5,1),a=zie(e,t),a==0?(d[0]=n,d[1]=e.Eb):(d[0]=e.Eb,d[1]=n);else for(d=Ie(Xn,_t,1,i+1,5,1),h=Z2(e.Eb),r=2,v=0,x=0;r<=128;r<<=1)r==t?d[x++]=n:e.Db&r&&(d[x++]=h[v++]);e.Eb=d}e.Db|=t}function Wat(e,t,n){var r,i,a,h;for(this.b=new at,i=0,r=0,h=new C(e);h.a0&&(a=u(It(this.b,0),167),i+=a.o,r+=a.p),i*=2,r*=2,t>1?i=_s(b.Math.ceil(i*t)):r=_s(b.Math.ceil(r/t)),this.a=new Mye(i,r)}function Yat(e,t,n,r,i,a){var h,d,v,x,T,L,P,z,q,K,Q,ue;for(T=r,t.j&&t.o?(z=u(Jn(e.f,t.A),57),K=z.d.c+z.d.b,--T):K=t.a.c+t.a.b,L=i,n.q&&n.o?(z=u(Jn(e.f,n.C),57),x=z.d.c,++L):x=n.a.c,Q=x-K,v=b.Math.max(2,L-T),d=Q/v,q=K+d,P=T;P=0;h+=i?1:-1){for(d=t[h],v=r==(dt(),$n)?i?sc(d,r):J2(sc(d,r)):i?J2(sc(d,r)):sc(d,r),a&&(e.c[d.p]=v.gc()),L=v.Kc();L.Ob();)T=u(L.Pb(),11),e.d[T.p]=x++;Ps(n,v)}}function Xat(e,t,n){var r,i,a,h,d,v,x,T;for(a=We(gt(e.b.Kc().Pb())),x=We(gt(crn(t.b))),r=fd(fc(e.a),x-n),i=fd(fc(t.a),n-a),T=Ni(r,i),fd(T,1/(x-a)),this.a=T,this.b=new at,d=!0,h=e.b.Kc(),h.Pb();h.Ob();)v=We(gt(h.Pb())),d&&v-n>qoe&&(this.b.Fc(n),d=!1),this.b.Fc(v);d&&this.b.Fc(n)}function e0n(e){var t,n,r,i;if(hgn(e,e.n),e.d.c.length>0){for(wT(e.c);x4e(e,u(Y(new C(e.e.a)),121))>5,t&=31,r>=e.d)return e.e<0?(Kp(),Zce):(Kp(),H7);if(a=e.d-r,i=Ie(Sr,Jr,25,a+1,15,1),Kln(i,a,e.a,r,t),e.e<0){for(n=0;n0&&e.a[n]<<32-t){for(n=0;n=0?!1:(n=p4((Uu(),Oa),i,t),n?(r=n.Zj(),(r>1||r==-1)&&Mv(No(Oa,n))!=3):!0)):!1}function i0n(e,t,n,r){var i,a,h,d,v;return d=Ho(u(_e((!t.b&&(t.b=new yn(kr,t,4,7)),t.b),0),82)),v=Ho(u(_e((!t.c&&(t.c=new yn(kr,t,5,8)),t.c),0),82)),ls(d)==ls(v)||Gm(v,d)?null:(h=FM(t),h==n?r:(a=u(Jn(e.a,h),10),a&&(i=a.e,i)?i:null))}function s0n(e,t){var n;switch(n=u(W(e,(mt(),Sq)),276),Er(t,"Label side selection ("+n+")",1),n.g){case 0:gat(e,(Kl(),l0));break;case 1:gat(e,(Kl(),f2));break;case 2:Lct(e,(Kl(),l0));break;case 3:Lct(e,(Kl(),f2));break;case 4:lot(e,(Kl(),l0));break;case 5:lot(e,(Kl(),f2))}lr(t)}function q4e(e,t,n){var r,i,a,h,d,v;if(r=qGt(n,e.length),h=e[r],h[0].k==(zn(),Ls))for(a=fHe(n,h.length),v=t.j,i=0;i0&&(n[0]+=e.d,h-=n[0]),n[2]>0&&(n[2]+=e.d,h-=n[2]),a=b.Math.max(0,h),n[1]=b.Math.max(n[1],h),Ewe(e,au,i.c+r.b+n[0]-(n[1]-h)/2,n),t==au&&(e.c.b=a,e.c.c=i.c+r.b+(a-h)/2)}function oot(){this.c=Ie(va,Ao,25,(dt(),ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On])).length,15,1),this.b=Ie(va,Ao,25,ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]).length,15,1),this.a=Ie(va,Ao,25,ie(ne(oo,1),Mc,61,0,[cc,Ln,$n,Tr,On]).length,15,1),Ope(this.c,ps),Ope(this.b,Ds),Ope(this.a,Ds)}function Uc(e,t,n){var r,i,a,h;if(t<=n?(i=t,a=n):(i=n,a=t),r=0,e.b==null)e.b=Ie(Sr,Jr,25,2,15,1),e.b[0]=i,e.b[1]=a,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i){e.b[r-1]=a;return}h=Ie(Sr,Jr,25,r+2,15,1),Rc(e.b,0,h,0,r),e.b=h,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||c4(e)}}function d0n(e,t,n){var r,i,a,h,d,v,x;for(x=t.d,e.a=new tu(x.c.length),e.c=new Ar,d=new C(x);d.a=0?e._g(x,!1,!0):ew(e,n,!1),58));e:for(a=L.Kc();a.Ob();){for(i=u(a.Pb(),56),T=0;T1;)iy(i,i.i-1);return r}function w0n(e,t){var n,r,i,a,h,d,v;for(Er(t,"Comment post-processing",1),a=new C(e.b);a.ae.d[h.p]&&(n+=vwe(e.b,a),Bp(e.a,lt(a)));for(;!vT(e.a);)Wwe(e.b,u(L6(e.a),19).a)}return n}function hot(e,t,n){var r,i,a,h;for(a=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i,i=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));i.e!=i.i.gc();)r=u(br(i),33),(!r.a&&(r.a=new ot(fs,r,10,11)),r.a).i==0||(a+=hot(e,r,!1));if(n)for(h=ls(t);h;)a+=(!h.a&&(h.a=new ot(fs,h,10,11)),h.a).i,h=ls(h);return a}function iy(e,t){var n,r,i,a;return e.ej()?(r=null,i=e.fj(),e.ij()&&(r=e.kj(e.pi(t),null)),n=e.Zi(4,a=X6(e,t),null,t,i),e.bj()&&a!=null&&(r=e.dj(a,r)),r?(r.Ei(n),r.Fi()):e.$i(n),a):(a=X6(e,t),e.bj()&&a!=null&&(r=e.dj(a,null),r&&r.Fi()),a)}function y0n(e){var t,n,r,i,a,h,d,v,x,T;for(x=e.a,t=new Ys,v=0,r=new C(e.d);r.ad.d&&(T=d.d+d.a+x));n.c.d=T,t.a.zc(n,t),v=b.Math.max(v,n.c.d+n.c.a)}return v}function mo(){mo=de,dq=new Em("COMMENTS",0),Th=new Em("EXTERNAL_PORTS",1),eS=new Em("HYPEREDGES",2),gq=new Em("HYPERNODES",3),nE=new Em("NON_FREE_PORTS",4),F4=new Em("NORTH_SOUTH_PORTS",5),tS=new Em(_ht,6),eE=new Em("CENTER_LABELS",7),tE=new Em("END_LABELS",8),pq=new Em("PARTITIONS",9)}function sy(e){var t,n,r,i,a;for(i=new at,t=new r_((!e.a&&(e.a=new ot(fs,e,10,11)),e.a)),r=new ur(dr(z0(e).a.Kc(),new V));Vr(r);)n=u(Nr(r),79),me(_e((!n.b&&(n.b=new yn(kr,n,4,7)),n.b),0),186)||(a=Ho(u(_e((!n.c&&(n.c=new yn(kr,n,5,8)),n.c),0),82)),t.a._b(a)||(i.c[i.c.length]=a));return i}function k0n(e){var t,n,r,i,a,h;for(a=new Ys,t=new r_((!e.a&&(e.a=new ot(fs,e,10,11)),e.a)),i=new ur(dr(z0(e).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),me(_e((!r.b&&(r.b=new yn(kr,r,4,7)),r.b),0),186)||(h=Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82)),t.a._b(h)||(n=a.a.zc(h,a),n==null));return a}function x0n(e,t,n,r,i){return r<0?(r=o4(e,i,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae]),t),r<0&&(r=o4(e,i,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function E0n(e,t,n,r,i){return r<0?(r=o4(e,i,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae]),t),r<0&&(r=o4(e,i,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function T0n(e,t,n,r,i,a){var h,d,v,x;if(d=32,r<0){if(t[0]>=e.length||(d=Ma(e,t[0]),d!=43&&d!=45)||(++t[0],r=IH(e,t),r<0))return!1;d==45&&(r=-r)}return d==32&&t[0]-n==2&&i.b==2&&(v=new tR,x=v.q.getFullYear()-Xp+Xp-80,h=x%100,a.a=r==h,r+=(x/100|0)*100+(r=x&&(v=r);v&&(T=b.Math.max(T,v.a.o.a)),T>P&&(L=x,P=T)}return L}function S0n(e,t,n){var r,i,a;if(e.e=n,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=dgn(e.i)),e.j=e.i.length,wi(e),a=Yv(e),e.d!=e.j)throw ee(new $r(Ur((jr(),Kft))));if(e.g){for(r=0;rWht?aa(v,e.b):r<=Wht&&r>Yht?aa(v,e.d):r<=Yht&&r>Xht?aa(v,e.c):r<=Xht&&aa(v,e.a),a=pot(e,v,a);return i}function Kp(){Kp=de;var e;for(mG=new kg(1,1),Jce=new kg(1,10),H7=new kg(0,0),Zce=new kg(-1,1),Mxe=ie(ne(L4,1),Je,91,0,[H7,mG,new kg(1,2),new kg(1,3),new kg(1,4),new kg(1,5),new kg(1,6),new kg(1,7),new kg(1,8),new kg(1,9),Jce]),yG=Ie(L4,Je,91,32,0,1),e=0;e1,d&&(r=new Ft(i,n.b),oi(t.a,r)),T_(t.a,ie(ne(ea,1),Je,8,0,[P,L]))}function yot(e){vv(e,new hb(dv(lv(fv(hv(new og,Uz),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new pZ))),pt(e,Uz,cw,$Se),pt(e,Uz,dy,15),pt(e,Uz,wz,lt(0)),pt(e,Uz,uk,S7)}function K4e(){K4e=de;var e,t,n,r,i,a;for(KS=Ie(Qu,C4,25,255,15,1),RV=Ie(Sh,yd,25,16,15,1),t=0;t<255;t++)KS[t]=-1;for(n=57;n>=48;n--)KS[n]=n-48<<24>>24;for(r=70;r>=65;r--)KS[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)KS[i]=i-97+10<<24>>24;for(a=0;a<10;a++)RV[a]=48+a&Ss;for(e=10;e<=15;e++)RV[e]=65+e-10&Ss}function zH(e,t,n){var r,i,a,h,d,v,x,T;return d=t.i-e.g/2,v=n.i-e.g/2,x=t.j-e.g/2,T=n.j-e.g/2,a=t.g+e.g/2,h=n.g+e.g/2,r=t.f+e.g/2,i=n.f+e.g/2,d>19)return"-"+kot(jx(e));for(n=e,r="";!(n.l==0&&n.m==0&&n.h==0);){if(i=sre(uz),n=_5e(n,i,!0),t=""+DHe(t2),!(n.l==0&&n.m==0&&n.h==0))for(a=9-t.length;a>0;a--)t="0"+t;r=t+r}return r}function O0n(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(t[e]!==void 0)return!1;var n=Object.getOwnPropertyNames(t);return!(n.length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function N0n(e){var t,n,r,i,a,h,d;for(t=!1,n=0,i=new C(e.d.b);i.a=e.a||!N3e(t,n))return-1;if(vx(u(r.Kb(t),20)))return 1;for(i=0,h=u(r.Kb(t),20).Kc();h.Ob();)if(a=u(h.Pb(),17),v=a.c.i==t?a.d.i:a.c.i,d=Y4e(e,v,n,r),d==-1||(i=b.Math.max(i,d),i>e.c-1))return-1;return i+1}function xot(e,t){var n,r,i,a,h,d;if($e(t)===$e(e))return!0;if(!me(t,15)||(r=u(t,15),d=e.gc(),r.gc()!=d))return!1;if(h=r.Kc(),e.ni()){for(n=0;n0){if(e.qj(),t!=null){for(a=0;a>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 ee(new ld("Invalid hexadecimal"))}}function R0n(e,t,n){var r,i,a,h;for(Er(n,"Processor order nodes",2),e.a=We(gt(W(t,(tw(),m_e)))),i=new as,h=si(t.b,0);h.b!=h.d.c;)a=u(ii(h),86),Bt(Nt(W(a,(xc(),Ry))))&&ks(i,a,i.c.b,i.c);r=(Qn(i.b!=0),u(i.a.a.c,86)),zct(e,r),!n.b&&Mre(n,1),e5e(e,r,0-We(gt(W(r,(xc(),Xq))))/2,0),!n.b&&Mre(n,1),lr(n)}function GH(){GH=de,u7e=new D3("SPIRAL",0),s7e=new D3("LINE_BY_LINE",1),a7e=new D3("MANHATTAN",2),i7e=new D3("JITTER",3),sue=new D3("QUADRANTS_LINE_BY_LINE",4),c7e=new D3("QUADRANTS_MANHATTAN",5),o7e=new D3("QUADRANTS_JITTER",6),r7e=new D3("COMBINE_LINE_BY_LINE_MANHATTAN",7),n7e=new D3("COMBINE_JITTER_MANHATTAN",8)}function Tot(e,t,n,r){var i,a,h,d,v,x;for(v=Wie(e,n),x=Wie(t,n),i=!1;v&&x&&(r||Non(v,x,n));)h=Wie(v,n),d=Wie(x,n),QM(t),QM(e),a=v.c,Zse(v,!1),Zse(x,!1),n?(Zm(t,x.p,a),t.p=x.p,Zm(e,v.p+1,a),e.p=v.p):(Zm(e,v.p,a),e.p=v.p,Zm(t,x.p+1,a),t.p=x.p),Oo(v,null),Oo(x,null),v=h,x=d,i=!0;return i}function j0n(e,t,n,r){var i,a,h,d,v;for(i=!1,a=!1,d=new C(r.j);d.a=t.length)throw ee(new Mo("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new EM(r),Nre(this.e,this.c,(dt(),On)),this.i=new EM(r),Nre(this.i,this.c,$n),this.f=new yKe(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(zn(),Ls),this.a&&nhn(this,e,t.length)}function Cot(e,t){var n,r,i,a,h,d;a=!e.B.Hc((wl(),FO)),h=e.B.Hc(Ghe),e.a=new knt(h,a,e.c),e.n&&jve(e.a.n,e.n),See(e.g,(Jf(),au),e.a),t||(r=new $_(1,a,e.c),r.n.a=e.k,S6(e.p,(dt(),Ln),r),i=new $_(1,a,e.c),i.n.d=e.k,S6(e.p,Tr,i),d=new $_(0,a,e.c),d.n.c=e.k,S6(e.p,On,d),n=new $_(0,a,e.c),n.n.b=e.k,S6(e.p,$n,n))}function H0n(e){var t,n,r;switch(t=u(W(e.d,(mt(),W0)),218),t.g){case 2:n=vwn(e);break;case 3:n=(r=new at,ms(qi(Eu(rc(rc(new mn(null,new kn(e.d.b,16)),new JY),new eX),new E9),new GY),new uee(r)),r);break;default:throw ee(new Vo("Compaction not supported for "+t+" edges."))}j2n(e,n),Da(new pm(e.g),new oee(e))}function z0n(e,t){var n;return n=new Qb,t&&$o(n,u(Jn(e.a,jO),94)),me(t,470)&&$o(n,u(Jn(e.a,$O),94)),me(t,354)?($o(n,u(Jn(e.a,Qo),94)),n):(me(t,82)&&$o(n,u(Jn(e.a,kr),94)),me(t,239)?($o(n,u(Jn(e.a,fs),94)),n):me(t,186)?($o(n,u(Jn(e.a,xl),94)),n):(me(t,352)&&$o(n,u(Jn(e.a,ta),94)),n))}function r1(){r1=de,q7=new fo((di(),bV),lt(1)),NG=new fo(Bb,80),vgt=new fo(vSe,5),cgt=new fo(Ok,S7),pgt=new fo(Rhe,lt(1)),bgt=new fo(jhe,(In(),!0)),C7e=new yv(50),dgt=new fo(Pb,C7e),E7e=dV,S7e=LS,ugt=new fo(Lhe,!1),_7e=LO,fgt=h2,hgt=Nb,lgt=Q4,ggt=jy,T7e=(K3e(),tgt),vue=sgt,OG=egt,bue=ngt,A7e=igt}function G0n(e){var t,n,r,i,a,h,d,v;for(v=new CQe,d=new C(e.a);d.a0&&t=0)return!1;if(t.p=n.b,st(n.e,t),i==(zn(),ca)||i==Xc){for(h=new C(t.j);h.a1||h==-1)&&(a|=16),i.Bb&Ec&&(a|=64)),n.Bb&ao&&(a|=my),a|=_f):me(t,457)?a|=512:(r=t.Bj(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function eC(e,t){var n,r,i,a,h;for(e=e==null?Iu:(An(e),e),i=0;ie.d[d.p]&&(n+=vwe(e.b,a),Bp(e.a,lt(a)))):++h;for(n+=e.b.d*h;!vT(e.a);)Wwe(e.b,u(L6(e.a),19).a)}return n}function Z0n(e,t){var n;return e.f==tfe?(n=Mv(No((Uu(),Oa),t)),e.e?n==4&&t!=(J6(),$k)&&t!=(J6(),jk)&&t!=(J6(),nfe)&&t!=(J6(),rfe):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(P6(No((Uu(),Oa),t)))||e.d.Hc(p4((Uu(),Oa),e.b,t)))?!0:e.f&&R4e((Uu(),e.f),IM(No(Oa,t)))?(n=Mv(No(Oa,t)),e.e?n==4:n==2):!1}function J0n(e,t,n,r){var i,a,h,d,v,x,T,L;return h=u(jt(n,(di(),Nk)),8),v=h.a,T=h.b+e,i=b.Math.atan2(T,v),i<0&&(i+=E4),i+=t,i>E4&&(i-=E4),d=u(jt(r,Nk),8),x=d.a,L=d.b+e,a=b.Math.atan2(L,x),a<0&&(a+=E4),a+=t,a>E4&&(a-=E4),C1(),kf(1e-10),b.Math.abs(i-a)<=1e-10||i==a||isNaN(i)&&isNaN(a)?0:ia?1:mv(isNaN(i),isNaN(a))}function Lse(e){var t,n,r,i,a,h,d;for(d=new Ar,r=new C(e.a.b);r.a=e.o)throw ee(new Rge);d=t>>5,h=t&31,a=A0(1,Ir(A0(h,1))),i?e.n[n][d]=D1(e.n[n][d],a):e.n[n][d]=Gs(e.n[n][d],Gbe(a)),a=A0(a,1),r?e.n[n][d]=D1(e.n[n][d],a):e.n[n][d]=Gs(e.n[n][d],Gbe(a))}catch(v){throw v=ts(v),me(v,320)?ee(new Mo(Xae+e.o+"*"+e.p+Qae+t+so+n+Zae)):ee(v)}}function e5e(e,t,n,r){var i,a,h;t&&(a=We(gt(W(t,(xc(),Hg))))+r,h=n+We(gt(W(t,Xq)))/2,Qe(t,the,lt(Ir(Mu(b.Math.round(a))))),Qe(t,f_e,lt(Ir(Mu(b.Math.round(h))))),t.d.b==0||e5e(e,u(jR((i=si(new mp(t).a.d,0),new u6(i))),86),n+We(gt(W(t,Xq)))+e.a,r+We(gt(W(t,fE)))),W(t,ehe)!=null&&e5e(e,u(W(t,ehe),86),n,r))}function tgn(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(v=Xa(t.a),i=We(gt(W(v,(mt(),Db))))*2,T=We(gt(W(v,q4))),x=b.Math.max(i,T),a=Ie(va,Ao,25,t.f-t.c+1,15,1),r=-x,n=0,d=t.b.Kc();d.Ob();)h=u(d.Pb(),10),r+=e.a[h.c.p]+x,a[n++]=r;for(r+=e.a[t.a.c.p]+x,a[n++]=r,P=new C(t.e);P.a0&&(r=(!e.n&&(e.n=new ot(Qo,e,1,7)),u(_e(e.n,0),137)).a,!r||Yr(Yr((t.a+=' "',t),r),'"'))),Yr(pv(Yr(pv(Yr(pv(Yr(pv((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Bot(e){var t,n,r;return e.Db&64?sse(e):(t=new jl(_8e),n=e.k,n?Yr(Yr((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new ot(Qo,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new ot(Qo,e,1,7)),u(_e(e.n,0),137)).a,!r||Yr(Yr((t.a+=' "',t),r),'"'))),Yr(pv(Yr(pv(Yr(pv(Yr(pv((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Dse(e,t){var n,r,i,a,h,d,v;if(t==null||t.length==0)return null;if(i=u(Gc(e.a,t),149),!i){for(r=(d=new x1(e.b).a.vc().Kc(),new E1(d));r.a.Ob();)if(n=(a=u(r.a.Pb(),42),u(a.dd(),149)),h=n.c,v=t.length,on(h.substr(h.length-v,v),t)&&(t.length==h.length||Ma(h,h.length-t.length-1)==46)){if(i)return null;i=n}i&&Io(e.a,t,i)}return i}function ign(e,t){var n,r,i,a;return n=new ra,r=u(Gl(Eu(new mn(null,new kn(e.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[(F1(),yy),Zl]))),21),i=r.gc(),r=u(Gl(Eu(new mn(null,new kn(t.f,16)),n),$m(new Di,new rn,new nr,new ha,ie(ne(yl,1),rt,132,0,[yy,Zl]))),21),a=r.gc(),ii.p?(qs(a,Tr),a.d&&(d=a.o.b,t=a.a.b,a.a.b=d-t)):a.j==Tr&&i.p>e.p&&(qs(a,Ln),a.d&&(d=a.o.b,t=a.a.b,a.a.b=-(d-t)));break}return i}function agn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q;if(a=n,n1,d&&(r=new Ft(i,n.b),oi(t.a,r)),T_(t.a,ie(ne(ea,1),Je,8,0,[P,L]))}function Ise(e,t,n){var r,i,a,h,d,v;if(t)if(n<=-1){if(r=bn(t.Tg(),-1-n),me(r,99))return u(r,18);for(h=u(t.ah(r),153),d=0,v=h.gc();d0){for(i=v.length;i>0&&v[i-1]=="";)--i;i=40,h&&vpn(e),k2n(e),e0n(e),n=ont(e),r=0;n&&r0&&oi(e.f,a)):(e.c[h]-=x+1,e.c[h]<=0&&e.a[h]>0&&oi(e.e,a))))}function Ign(e){var t,n,r,i,a,h,d,v,x;for(d=new Ep(u(Or(new lf),62)),x=Ds,n=new C(e.d);n.a=0&&vn?t:n;x<=L;++x)x==n?d=r++:(a=i[x],T=q.rl(a.ak()),x==t&&(v=x==L&&!T?r-1:r),T&&++r);return P=u(F_(e,t,n),72),d!=v&&R8(e,new WM(e.e,7,h,lt(d),z.dd(),v)),P}}else return u(gse(e,t,n),72);return u(F_(e,t,n),72)}function Bgn(e,t){var n,r,i,a,h,d,v;for(Er(t,"Port order processing",1),v=u(W(e,(mt(),ETe)),421),r=new C(e.b);r.a=0&&(d=jon(e,h),!(d&&(x<22?v.l|=1<>>1,h.m=T>>>1|(L&1)<<21,h.l=P>>>1|(T&1)<<21,--x;return n&&Gre(v),a&&(r?(t2=jx(e),i&&(t2=Yet(t2,(Tx(),hxe)))):t2=cu(e.l,e.m,e.h)),v}function jgn(e,t){var n,r,i,a,h,d,v,x,T,L;for(x=e.e[t.c.p][t.p]+1,v=t.c.a.c.length+1,d=new C(e.a);d.a0&&(zr(0,e.length),e.charCodeAt(0)==45||(zr(0,e.length),e.charCodeAt(0)==43))?1:0,r=h;rn)throw ee(new ld(ow+e+'"'));return d}function $gn(e){var t,n,r,i,a,h,d;for(h=new as,a=new C(e.a);a.a1)&&t==1&&u(e.a[e.b],10).k==(zn(),Pl)?tk(u(e.a[e.b],10),(Kl(),l0)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&u(e.a[e.c-1&e.a.length-1],10).k==(zn(),Pl)?tk(u(e.a[e.c-1&e.a.length-1],10),(Kl(),f2)):(e.c-e.b&e.a.length-1)==2?(tk(u(D_(e),10),(Kl(),l0)),tk(u(D_(e),10),f2)):N1n(e,i),pwe(e)}function Ggn(e,t,n){var r,i,a,h,d;for(a=0,i=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));i.e!=i.i.gc();)r=u(br(i),33),h="",(!r.n&&(r.n=new ot(Qo,r,1,7)),r.n).i==0||(h=u(_e((!r.n&&(r.n=new ot(Qo,r,1,7)),r.n),0),137).a),d=new Ure(a++,t,h),$o(d,r),Qe(d,(xc(),xS),r),d.e.b=r.j+r.f/2,d.f.a=b.Math.max(r.g,1),d.e.a=r.i+r.g/2,d.f.b=b.Math.max(r.f,1),oi(t.b,d),lu(n.f,r,d)}function qgn(e){var t,n,r,i,a;r=u(W(e,(nt(),Mi)),33),a=u(jt(r,(mt(),Lb)),174).Hc((Nl(),Rb)),e.e||(i=u(W(e,Qc),21),t=new Ft(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Hc((mo(),Th))?(So(r,vs,(ya(),Zc)),iw(r,t.a,t.b,!1,!0)):Bt(Nt(jt(r,Tle)))||iw(r,t.a,t.b,!0,!0)),a?So(r,Lb,sn(Rb)):So(r,Lb,(n=u(Wf(FS),9),new hh(n,u(bf(n,n.length),9),0)))}function c5e(e,t,n){var r,i,a,h;if(t[0]>=e.length)return n.o=0,!0;switch(Ma(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],a=t[0],h=IH(e,t),h==0&&t[0]==a)return!1;if(t[0]=0&&d!=n&&(a=new oa(e,1,d,h,null),r?r.Ei(a):r=a),n>=0&&(a=new oa(e,1,n,d==n?h:null,t),r?r.Ei(a):r=a)),r}function ect(e){var t,n,r;if(e.b==null){if(r=new dg,e.i!=null&&(To(r,e.i),r.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(aQt(e.i)||(r.a+="//"),To(r,e.a)),e.d!=null&&(r.a+="/",To(r,e.d)),e.f&16&&(r.a+="/"),t=0,n=e.j.length;tP?!1:(L=(v=aC(r,P,!1),v.a),T+d+L<=t.b&&(KM(n,a-n.s),n.c=!0,KM(r,a-n.s),LD(r,n.s,n.t+n.d+d),r.k=!0,yme(n.q,r),z=!0,i&&(T$(t,r),r.j=t,e.c.length>h&&(ND((En(h,e.c.length),u(e.c[h],200)),r),(En(h,e.c.length),u(e.c[h],200)).a.c.length==0&&yg(e,h)))),z)}function Zgn(e,t){var n,r,i,a,h,d;if(Er(t,"Partition midprocessing",1),i=new Ov,ms(qi(new mn(null,new kn(e.a,16)),new fY),new av(i)),i.d!=0){for(d=u(Gl(VYe((a=i.i,new mn(null,(a||(i.i=new j3(i,i.c))).Nc()))),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),r=d.Kc(),n=u(r.Pb(),19);r.Ob();)h=u(r.Pb(),19),tdn(u(Oi(i,n),21),u(Oi(i,h),21)),n=h;lr(t)}}function rct(e,t,n){var r,i,a,h,d,v,x,T;if(t.p==0){for(t.p=1,h=n,h||(i=new at,a=(r=u(Wf(oo),9),new hh(r,u(bf(r,r.length),9),0)),h=new _a(i,a)),u(h.a,15).Fc(t),t.k==(zn(),Ls)&&u(h.b,21).Fc(u(W(t,(nt(),vc)),61)),v=new C(t.j);v.a0){if(i=u(e.Ab.g,1934),t==null){for(a=0;a1)for(r=new C(i);r.an.s&&dd&&(d=i,T.c=Ie(Xn,_t,1,0,5,1)),i==d&&st(T,new _a(n.c.i,n)));fn(),aa(T,e.c),Dm(e.b,v.p,T)}}function ipn(e,t){var n,r,i,a,h,d,v,x,T;for(h=new C(t.b);h.ad&&(d=i,T.c=Ie(Xn,_t,1,0,5,1)),i==d&&st(T,new _a(n.d.i,n)));fn(),aa(T,e.c),Dm(e.f,v.p,T)}}function sct(e){vv(e,new hb(dv(lv(fv(hv(new og,hw),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new sZ))),pt(e,hw,cw,jCe),pt(e,hw,dy,15),pt(e,hw,mI,lt(0)),pt(e,hw,Gz,Ct(BCe)),pt(e,hw,k4,Ct(Xmt)),pt(e,hw,lk,Ct(Qmt)),pt(e,hw,uk,rft),pt(e,hw,yI,Ct(FCe)),pt(e,hw,hk,Ct(RCe)),pt(e,hw,m8e,Ct(_he)),pt(e,hw,Fz,Ct(Ymt))}function act(e,t){var n,r,i,a,h,d,v,x,T;if(i=e.i,h=i.o.a,a=i.o.b,h<=0&&a<=0)return dt(),cc;switch(x=e.n.a,T=e.n.b,d=e.o.a,n=e.o.b,t.g){case 2:case 1:if(x<0)return dt(),On;if(x+d>h)return dt(),$n;break;case 4:case 3:if(T<0)return dt(),Ln;if(T+n>a)return dt(),Tr}return v=(x+d/2)/h,r=(T+n/2)/a,v+r<=1&&v-r<=0?(dt(),On):v+r>=1&&v-r>=0?(dt(),$n):r<.5?(dt(),Ln):(dt(),Tr)}function spn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(n=!1,T=We(gt(W(t,(mt(),Sw)))),q=Yp*T,i=new C(t.b);i.av+q&&(K=L.g+P.g,P.a=(P.g*P.a+L.g*L.a)/K,P.g=K,L.f=P,n=!0)),a=d,L=P;return n}function oct(e,t,n,r,i,a,h){var d,v,x,T,L,P;for(P=new k6,x=t.Kc();x.Ob();)for(d=u(x.Pb(),839),L=new C(d.wf());L.a0?d.a?(x=d.b.rf().b,i>x&&(e.v||d.c.d.c.length==1?(h=(i-x)/2,d.d.d=h,d.d.a=h):(n=u(It(d.c.d,0),181).rf().b,r=(n-x)/2,d.d.d=b.Math.max(0,r),d.d.a=i-r-x))):d.d.a=e.t+i:o_(e.u)&&(a=F3e(d.b),a.d<0&&(d.d.d=-a.d),a.d+a.a>d.b.rf().b&&(d.d.a=a.d+a.a-d.b.rf().b))}function cpn(e,t){var n;switch(tD(e)){case 6:return ga(t);case 7:return _m(t);case 8:return Tm(t);case 3:return Array.isArray(t)&&(n=tD(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===aae;case 12:return t!=null&&(typeof t===sI||typeof t==aae);case 0:return Lie(t,e.__elementTypeId$);case 2:return dne(t)&&t.im!==Ge;case 1:return dne(t)&&t.im!==Ge||Lie(t,e.__elementTypeId$);default:return!0}}function cct(e,t){var n,r,i,a;return r=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),a=b.Math.min(b.Math.abs(e.d-(t.d+t.a)),b.Math.abs(e.d+e.a-t.d)),n=b.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(i=b.Math.abs(e.d+e.a/2-(t.d+t.a/2)),i>e.a/2+t.a/2)?1:n==0&&i==0?0:n==0?a/i+1:i==0?r/n+1:b.Math.min(r/n,a/i)+1}function uct(e,t){var n,r,i,a,h,d;return i=ime(e),d=ime(t),i==d?e.e==t.e&&e.a<54&&t.a<54?e.ft.f?1:0:(r=e.e-t.e,n=(e.d>0?e.d:b.Math.floor((e.a-1)*ylt)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*ylt)+1),n>r+1?i:n0&&(h=V3(h,Dct(r))),Hnt(a,h))):i0&&e.d!=(x_(),yue)&&(d+=h*(r.d.a+e.a[t.b][r.b]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(x_(),wue)&&(v+=h*(r.d.b+e.a[t.b][r.b]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new Ft(d/a,t.d.b);case 2:return new Ft(t.d.a,v/a);default:return new Ft(d/a,v/a)}}function lct(e,t){Gx();var n,r,i,a,h;if(h=u(W(e.i,(mt(),vs)),98),a=e.j.g-t.j.g,a!=0||!(h==(ya(),Fb)||h==f0||h==Zc))return 0;if(h==(ya(),Fb)&&(n=u(W(e,jg),19),r=u(W(t,jg),19),n&&r&&(i=n.a-r.a,i!=0)))return i;switch(e.j.g){case 1:return Bs(e.n.a,t.n.a);case 2:return Bs(e.n.b,t.n.b);case 3:return Bs(t.n.a,e.n.a);case 4:return Bs(t.n.b,e.n.b);default:throw ee(new Vo(A6e))}}function hct(e){var t,n,r,i,a,h;for(n=(!e.a&&(e.a=new Ns(Zh,e,5)),e.a).i+2,h=new tu(n),st(h,new Ft(e.j,e.k)),ms(new mn(null,(!e.a&&(e.a=new Ns(Zh,e,5)),new kn(e.a,16))),new rje(h)),st(h,new Ft(e.b,e.c)),t=1;t0&&(pD(v,!1,(wo(),Wh)),pD(v,!0,Lf)),Su(t.g,new eGe(e,n)),Si(e.g,t,n)}function dct(){dct=de;var e;for(mxe=ie(ne(Sr,1),Jr,25,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]),Xce=Ie(Sr,Jr,25,37,15,1),Pdt=ie(ne(Sr,1),Jr,25,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]),yxe=Ie(E2,Iae,25,37,14,1),e=2;e<=36;e++)Xce[e]=_s(b.Math.pow(e,mxe[e])),yxe[e]=PD(az,Xce[e])}function lpn(e){var t;if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i!=1)throw ee(new Dn(xft+(!e.a&&(e.a=new ot(os,e,6,6)),e.a).i));return t=new $u,dD(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82))&&ro(t,Yut(e,dD(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82)),!1)),dD(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))&&ro(t,Yut(e,dD(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82)),!0)),t}function gct(e,t){var n,r,i,a,h;for(t.d?i=e.a.c==(bd(),Aw)?Wo(t.b):Fs(t.b):i=e.a.c==(bd(),$g)?Wo(t.b):Fs(t.b),a=!1,r=new ur(dr(i.a.Kc(),new V));Vr(r);)if(n=u(Nr(r),17),h=Bt(e.a.f[e.a.g[t.b.p].p]),!(!h&&!no(n)&&n.c.i.c==n.d.i.c)&&!(Bt(e.a.n[e.a.g[t.b.p].p])||Bt(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,_0(e.b,e.a.g[yon(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function hpn(e,t,n,r,i){var a,h,d,v,x,T,L;for(fn(),aa(e,new dZ),d=new Ca(e,0),L=new at,a=0;d.ba*2?(T=new k$(L),x=qu(h)/Ll(h),v=nae(T,t,new h6,n,r,i,x),Ni(Yf(T.e),v),L.c=Ie(Xn,_t,1,0,5,1),a=0,L.c[L.c.length]=T,L.c[L.c.length]=h,a=qu(T)*Ll(T)+qu(h)*Ll(h)):(L.c[L.c.length]=h,a+=qu(h)*Ll(h));return L}function l5e(e,t,n){var r,i,a,h,d,v,x;if(r=n.gc(),r==0)return!1;if(e.ej())if(v=e.fj(),_ye(e,t,n),h=r==1?e.Zi(3,null,n.Kc().Pb(),t,v):e.Zi(5,null,n,t,v),e.bj()){for(d=r<100?null:new kp(r),a=t+r,i=t;i0){for(h=0;h>16==-15&&e.Cb.nh()&&wre(new gre(e.Cb,9,13,n,e.c,Ag(gl(u(e.Cb,59)),e))):me(e.Cb,88)&&e.Db>>16==-23&&e.Cb.nh()&&(t=e.c,me(t,88)||(t=(cn(),nf)),me(n,88)||(n=(cn(),nf)),wre(new gre(e.Cb,9,10,n,t,Ag(Bc(u(e.Cb,26)),e)))))),e.c}function fpn(e,t){var n,r,i,a,h,d,v,x,T,L;for(Er(t,"Hypernodes processing",1),i=new C(e.b);i.an);return i}function bct(e,t){var n,r,i;r=vl(e.d,1)!=0,!Bt(Nt(W(t.j,(nt(),yw))))&&!Bt(Nt(W(t.j,$4)))||$e(W(t.j,(mt(),o2)))===$e((F0(),c2))?t.c.Tf(t.e,r):r=Bt(Nt(W(t.j,yw))),YD(e,t,r,!0),Bt(Nt(W(t.j,$4)))&&Qe(t.j,$4,(In(),!1)),Bt(Nt(W(t.j,yw)))&&(Qe(t.j,yw,(In(),!1)),Qe(t.j,$4,!0)),n=lse(e,t);do{if(bme(e),n==0)return 0;r=!r,i=n,YD(e,t,r,!1),n=lse(e,t)}while(i>n);return i}function vct(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;if(t==n)return!0;if(t=y4e(e,t),n=y4e(e,n),r=Bie(t),r){if(T=Bie(n),T!=r)return T?(v=r.Dj(),q=T.Dj(),v==q&&v!=null):!1;if(h=(!t.d&&(t.d=new Ns(Eo,t,1)),t.d),a=h.i,P=(!n.d&&(n.d=new Ns(Eo,n,1)),n.d),a==P.i){for(x=0;x0,d=tH(t,a),H2e(n?d.b:d.g,t),J3(d).c.length==1&&ks(r,d,r.c.b,r.c),i=new _a(a,t),Bp(e.o,i),_u(e.e.a,a))}function kct(e,t){var n,r,i,a,h,d,v;return r=b.Math.abs(mj(e.b).a-mj(t.b).a),d=b.Math.abs(mj(e.b).b-mj(t.b).b),i=0,v=0,n=1,h=1,r>e.b.b/2+t.b.b/2&&(i=b.Math.min(b.Math.abs(e.b.c-(t.b.c+t.b.b)),b.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-i/r),d>e.b.a/2+t.b.a/2&&(v=b.Math.min(b.Math.abs(e.b.d-(t.b.d+t.b.a)),b.Math.abs(e.b.d+e.b.a-t.b.d)),h=1-v/d),a=b.Math.min(n,h),(1-a)*b.Math.sqrt(r*r+d*d)}function wpn(e){var t,n,r,i;for(tae(e,e.e,e.f,(Iv(),l2),!0,e.c,e.i),tae(e,e.e,e.f,l2,!1,e.c,e.i),tae(e,e.e,e.f,K4,!0,e.c,e.i),tae(e,e.e,e.f,K4,!1,e.c,e.i),ypn(e,e.c,e.e,e.f,e.i),r=new Ca(e.i,0);r.b=65;n--)Z1[n]=n-65<<24>>24;for(r=122;r>=97;r--)Z1[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)Z1[i]=i-48+52<<24>>24;for(Z1[43]=62,Z1[47]=63,a=0;a<=25;a++)Yg[a]=65+a&Ss;for(h=26,v=0;h<=51;++h,v++)Yg[h]=97+v&Ss;for(e=52,d=0;e<=61;++e,d++)Yg[e]=48+d&Ss;Yg[62]=43,Yg[63]=47}function mpn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(e.dc())return new $a;for(x=0,L=0,i=e.Kc();i.Ob();)r=u(i.Pb(),37),a=r.f,x=b.Math.max(x,a.a),L+=a.a*a.b;for(x=b.Math.max(x,b.Math.sqrt(L)*We(gt(W(u(e.Kc().Pb(),37),(mt(),kq))))),P=0,z=0,v=0,n=t,d=e.Kc();d.Ob();)h=u(d.Pb(),37),T=h.f,P+T.a>x&&(P=0,z+=v+t,v=0),tC(h,P,z),n=b.Math.max(n,P+T.a),v=b.Math.max(v,T.b),P+=T.a+t;return new Ft(n+t,z+v+t)}function ypn(e,t,n,r,i){var a,h,d,v,x,T,L;for(h=new C(t);h.aa)return dt(),$n;break;case 4:case 3:if(v<0)return dt(),Ln;if(v+e.f>i)return dt(),Tr}return h=(d+e.g/2)/a,n=(v+e.f/2)/i,h+n<=1&&h-n<=0?(dt(),On):h+n>=1&&h-n>=0?(dt(),$n):n<.5?(dt(),Ln):(dt(),Tr)}function kpn(e,t,n,r,i){var a,h;if(a=Wa(Gs(t[0],yo),Gs(r[0],yo)),e[0]=Ir(a),a=Mp(a,32),n>=i){for(h=1;h0&&(i.b[h++]=0,i.b[h++]=a.b[0]-1),t=1;t0&&(BL(v,v.d-i.d),i.c==(Xf(),u2)&&kge(v,v.a-i.d),v.d<=0&&v.i>0&&ks(t,v,t.c.b,t.c)));for(a=new C(e.f);a.a0&&(iT(d,d.i-i.d),i.c==(Xf(),u2)&&iv(d,d.b-i.d),d.i<=0&&d.d>0&&ks(n,d,n.c.b,n.c)))}function xpn(e,t,n){var r,i,a,h,d,v,x,T;for(Er(n,"Processor compute fanout",1),il(e.b),il(e.a),d=null,a=si(t.b,0);!d&&a.b!=a.d.c;)x=u(ii(a),86),Bt(Nt(W(x,(xc(),Ry))))&&(d=x);for(v=new as,ks(v,d,v.c.b,v.c),Iut(e,v),T=si(t.b,0);T.b!=T.d.c;)x=u(ii(T),86),h=Hr(W(x,(xc(),kS))),i=Gc(e.b,h)!=null?u(Gc(e.b,h),19).a:0,Qe(x,Wq,lt(i)),r=1+(Gc(e.a,h)!=null?u(Gc(e.a,h),19).a:0),Qe(x,lwt,lt(r));lr(n)}function Epn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q;for(P=aun(e,n),v=0;v0),r.a.Xb(r.c=--r.b),L>P+v&&Dl(r);for(h=new C(z);h.a0),r.a.Xb(r.c=--r.b)}}function Tpn(){mi();var e,t,n,r,i,a;if(sfe)return sfe;for(e=new zl(4),cy(e,Wp(Fce,!0)),uC(e,Wp("M",!0)),uC(e,Wp("C",!0)),a=new zl(4),r=0;r<11;r++)Uc(a,r,r);return t=new zl(4),cy(t,Wp("M",!0)),Uc(t,4448,4607),Uc(t,65438,65439),i=new KT(2),fb(i,e),fb(i,YS),n=new KT(2),n.$l(fj(a,Wp("L",!0))),n.$l(t),n=new Rm(3,n),n=new Tve(i,n),sfe=n,sfe}function _pn(e){var t,n;if(t=Hr(jt(e,(di(),AS))),!Fet(t,e)&&!X2(e,pE)&&((!e.a&&(e.a=new ot(fs,e,10,11)),e.a).i!=0||Bt(Nt(jt(e,SO)))))if(t==null||ey(t).length==0){if(!Fet(qn,e))throw n=Yr(Yr(new jl("Unable to load default layout algorithm "),qn)," for unconfigured node "),ez(e,n),ee(new A3(n.a))}else throw n=Yr(Yr(new jl("Layout algorithm '"),t),"' not found for "),ez(e,n),ee(new A3(n.a))}function Rse(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;if(n=e.i,t=e.n,e.b==0)for(z=n.c+t.b,P=n.b-t.b-t.c,h=e.a,v=0,T=h.length;v0&&(L-=r[0]+e.c,r[0]+=e.c),r[2]>0&&(L-=r[2]+e.c),r[1]=b.Math.max(r[1],L),gj(e.a[1],n.c+t.b+r[0]-(r[1]-L)/2,r[1]);for(a=e.a,d=0,x=a.length;d0?(e.n.c.length-1)*e.i:0,r=new C(e.n);r.a1)for(r=si(i,0);r.b!=r.d.c;)for(n=u(ii(r),231),a=0,v=new C(n.e);v.a0&&(t[0]+=e.c,L-=t[0]),t[2]>0&&(L-=t[2]+e.c),t[1]=b.Math.max(t[1],L),pj(e.a[1],r.d+n.d+t[0]-(t[1]-L)/2,t[1]);else for(q=r.d+n.d,z=r.a-n.d-n.a,h=e.a,v=0,T=h.length;v=0&&a!=n))throw ee(new Dn(MI));for(i=0,v=0;v0||Kv(i.b.d,e.b.d+e.b.a)==0&&r.b<0||Kv(i.b.d+i.b.a,e.b.d)==0&&r.b>0){d=0;break}}else d=b.Math.min(d,_st(e,i,r));d=b.Math.min(d,_ct(e,a,d,r))}return d}function eI(e,t){var n,r,i,a,h,d,v;if(e.b<2)throw ee(new Dn("The vector chain must contain at least a source and a target point."));for(i=(Qn(e.b!=0),u(e.a.a.c,8)),BR(t,i.a,i.b),v=new x6((!t.a&&(t.a=new Ns(Zh,t,5)),t.a)),h=si(e,1);h.aWe(S1(h.g,h.d[0]).a)?(Qn(v.b>0),v.a.Xb(v.c=--v.b),Lm(v,h),i=!0):d.e&&d.e.gc()>0&&(a=(!d.e&&(d.e=new at),d.e).Mc(t),x=(!d.e&&(d.e=new at),d.e).Mc(n),(a||x)&&((!d.e&&(d.e=new at),d.e).Fc(h),++h.c));i||(r.c[r.c.length]=h)}function Act(e){var t,n,r;if(P3(u(W(e,(mt(),vs)),98)))for(n=new C(e.j);n.a>>0,"0"+t.toString(16)),r="\\x"+$l(n,n.length-2,n.length)):e>=ao?(n=(t=e>>>0,"0"+t.toString(16)),r="\\v"+$l(n,n.length-6,n.length)):r=""+String.fromCharCode(e&Ss)}return r}function $se(e,t){var n,r,i,a,h,d,v,x,T,L;if(h=e.e,v=t.e,v==0)return e;if(h==0)return t.e==0?t:new $3(-t.e,t.d,t.a);if(a=e.d,d=t.d,a+d==2)return n=Gs(e.a[0],yo),r=Gs(t.a[0],yo),h<0&&(n=Ex(n)),v<0&&(r=Ex(r)),AD(Gp(n,r));if(i=a!=d?a>d?1:-1:Kme(e.a,t.a,a),i==-1)L=-v,T=h==v?cre(t.a,d,e.a,a):lre(t.a,d,e.a,a);else if(L=h,h==v){if(i==0)return Kp(),H7;T=cre(e.a,a,t.a,d)}else T=lre(e.a,a,t.a,d);return x=new $3(L,T.length,T),b_(x),x}function v5e(e){var t,n,r,i,a,h;for(this.e=new at,this.a=new at,n=e.b-1;n<3;n++)tx(e,0,u(n1(e,0),8));if(e.b<4)throw ee(new Dn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,v1n(this,e.b+this.b-1),h=new at,a=new C(this.e),t=0;t=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(h=u(It(t.n,t.n.c.length-1),211),h.e+h.d+n.g+i<=r&&(a=u(It(t.n,t.n.c.length-1),211),a.f-e.f+n.f<=e.b||e.a.c.length==1))return bye(t,n),!0;if(t.s+n.g<=r&&(t.t+t.d+n.f+i<=e.b||e.a.c.length==1))return st(t.b,n),d=u(It(t.n,t.n.c.length-1),211),st(t.n,new Hj(t.s,d.f+d.a+t.i,t.i)),Zye(u(It(t.n,t.n.c.length-1),211),n),xct(t,n),!0}return!1}function Mct(e,t,n){var r,i,a,h;return e.ej()?(i=null,a=e.fj(),r=e.Zi(1,h=yre(e,t,n),n,t,a),e.bj()&&!(e.ni()&&h!=null?Ci(h,n):$e(h)===$e(n))?(h!=null&&(i=e.dj(h,i)),i=e.cj(n,i),e.ij()&&(i=e.lj(h,n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):(e.ij()&&(i=e.lj(h,n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)),h):(h=yre(e,t,n),e.bj()&&!(e.ni()&&h!=null?Ci(h,n):$e(h)===$e(n))&&(i=null,h!=null&&(i=e.dj(h,null)),i=e.cj(n,i),i&&i.Fi()),h)}function rC(e,t){var n,r,i,a,h,d,v,x;t%=24,e.q.getHours()!=t&&(r=new b.Date(e.q.getTime()),r.setDate(r.getDate()+1),d=e.q.getTimezoneOffset()-r.getTimezoneOffset(),d>0&&(v=d/60|0,x=d%60,i=e.q.getDate(),n=e.q.getHours(),n+v>=24&&++i,a=new b.Date(e.q.getFullYear(),e.q.getMonth(),i,t+v,e.q.getMinutes()+x,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(a.getTime()))),h=e.q.getTime(),e.q.setTime(h+36e5),e.q.getHours()!=t&&e.q.setTime(h)}function Npn(e,t){var n,r,i,a,h;if(Er(t,"Path-Like Graph Wrapping",1),e.b.c.length==0){lr(t);return}if(i=new T4e(e),h=(i.i==null&&(i.i=vme(i,new cB)),We(i.i)*i.f),n=h/(i.i==null&&(i.i=vme(i,new cB)),We(i.i)),i.b>n){lr(t);return}switch(u(W(e,(mt(),Lle)),337).g){case 2:a=new lB;break;case 0:a=new oB;break;default:a=new hB}if(r=a.Vf(e,i),!a.Wf())switch(u(W(e,Pq),338).g){case 2:r=Cst(i,r);break;case 1:r=_it(i,r)}D2n(e,i,r),lr(t)}function Ppn(e,t){var n,r,i,a;if(mZt(e.d,e.e),e.c.a.$b(),We(gt(W(t.j,(mt(),Tq))))!=0||We(gt(W(t.j,Tq)))!=0)for(n=C7,$e(W(t.j,o2))!==$e((F0(),c2))&&Qe(t.j,(nt(),yw),(In(),!0)),a=u(W(t.j,lS),19).a,i=0;ii&&++x,st(h,(En(d+x,t.c.length),u(t.c[d+x],19))),v+=(En(d+x,t.c.length),u(t.c[d+x],19)).a-r,++n;n1&&(v>qu(d)*Ll(d)/2||h.b==0)&&(L=new k$(P),T=qu(d)/Ll(d),x=nae(L,t,new h6,n,r,i,T),Ni(Yf(L.e),x),d=L,z.c[z.c.length]=L,v=0,P.c=Ie(Xn,_t,1,0,5,1)));return Ps(z,P),z}function Rpn(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K;if(n.mh(t)&&(T=(z=t,z?u(r,49).xh(z):null),T))if(K=n.bh(t,e.a),q=t.t,q>1||q==-1)if(L=u(K,69),P=u(T,69),L.dc())P.$b();else for(h=!!go(t),a=0,d=e.a?L.Kc():L.Zh();d.Ob();)x=u(d.Pb(),56),i=u(Fv(e,x),56),i?(h?(v=P.Xc(i),v==-1?P.Xh(a,i):a!=v&&P.ji(a,i)):P.Xh(a,i),++a):e.b&&!h&&(P.Xh(a,x),++a);else K==null?T.Wb(null):(i=Fv(e,K),i==null?e.b&&!go(t)&&T.Wb(K):T.Wb(i))}function jpn(e,t){var n,r,i,a,h,d,v,x;for(n=new JW,i=new ur(dr(Wo(t).a.Kc(),new V));Vr(i);)if(r=u(Nr(i),17),!no(r)&&(d=r.c.i,N3e(d,RG))){if(x=Y4e(e,d,RG,FG),x==-1)continue;n.b=b.Math.max(n.b,x),!n.a&&(n.a=new at),st(n.a,d)}for(h=new ur(dr(Fs(t).a.Kc(),new V));Vr(h);)if(a=u(Nr(h),17),!no(a)&&(v=a.d.i,N3e(v,FG))){if(x=Y4e(e,v,FG,RG),x==-1)continue;n.d=b.Math.max(n.d,x),!n.c&&(n.c=new at),st(n.c,v)}return n}function Dct(e){a7();var t,n,r,i;if(t=_s(e),e1e6)throw ee(new qF("power of ten too big"));if(e<=xi)return F6(VD(vk[1],t),t);for(r=VD(vk[1],xi),i=r,n=Mu(e-xi),t=_s(e%xi);Lc(n,xi)>0;)i=V3(i,r),n=Gp(n,xi);for(i=V3(i,VD(vk[1],t)),i=F6(i,xi),n=Mu(e-xi);Lc(n,xi)>0;)i=F6(i,xi),n=Gp(n,xi);return i=F6(i,t),i}function $pn(e,t){var n,r,i,a,h,d,v,x,T;for(Er(t,"Hierarchical port dummy size processing",1),v=new at,T=new at,r=We(gt(W(e,(mt(),G4)))),n=r*2,a=new C(e.b);a.ax&&r>x)T=d,x=We(t.p[d.p])+We(t.d[d.p])+d.o.b+d.d.a;else{i=!1,n.n&&z2(n,"bk node placement breaks on "+d+" which should have been after "+T);break}if(!i)break}return n.n&&z2(n,t+" is feasible: "+i),i}function Vpn(e,t,n,r){var i,a,h,d,v,x,T;for(d=-1,T=new C(e);T.a=Q&&e.e[v.p]>q*e.b||Te>=n*Q)&&(P.c[P.c.length]=d,d=new at,ro(h,a),a.a.$b(),x-=T,z=b.Math.max(z,x*e.b+K),x+=Te,Se=Te,Te=0,T=0,K=0);return new _a(z,P)}function Ypn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;for(n=(x=new x1(e.c.b).a.vc().Kc(),new E1(x));n.a.Ob();)t=(d=u(n.a.Pb(),42),u(d.dd(),149)),i=t.a,i==null&&(i=""),r=kUt(e.c,i),!r&&i.length==0&&(r=xin(e)),r&&!Wm(r.c,t,!1)&&oi(r.c,t);for(h=si(e.a,0);h.b!=h.d.c;)a=u(ii(h),478),T=ire(e.c,a.a),z=ire(e.c,a.b),T&&z&&oi(T.c,new _a(z,a.c));for(Ph(e.a),P=si(e.b,0);P.b!=P.d.c;)L=u(ii(P),478),t=yUt(e.c,L.a),v=ire(e.c,L.b),t&&v&&lqt(t,v,L.c);Ph(e.b)}function Xpn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;a=new O8(e),h=new Qrt,i=(zM(h.g),zM(h.j),il(h.b),zM(h.d),zM(h.i),il(h.k),il(h.c),il(h.e),z=Nst(h,a,null),Eat(h,a),z),t&&(x=new O8(t),d=a2n(x),U3e(i,ie(ne(MCe,1),_t,527,0,[d]))),P=!1,L=!1,n&&(x=new O8(n),Xz in x.a&&(P=M0(x,Xz).ge().a),Uft in x.a&&(L=M0(x,Uft).ge().a)),T=dHe(zJe(new j8,P),L),Gln(new zQ,i,T),Xz in a.a&&Zf(a,Xz,null),(P||L)&&(v=new f6,Sct(T,v,P,L),Zf(a,Xz,v)),r=new yje(h),Frn(new p2e(i),r)}function Qpn(e,t,n){var r,i,a,h,d,v,x,T,L;for(h=new nit,x=ie(ne(Sr,1),Jr,25,15,[0]),i=-1,a=0,r=0,v=0;v0){if(i<0&&T.a&&(i=v,a=x[0],r=0),i>=0){if(d=T.b,v==i&&(d-=r++,d==0))return 0;if(!Nut(t,x,T,d,h)){v=i-1,x[0]=a;continue}}else if(i=-1,!Nut(t,x,T,0,h))return 0}else{if(i=-1,Ma(T.c,0)==32){if(L=x[0],JZe(t,x),x[0]>L)continue}else if(DQt(t,T.c,x[0])){x[0]+=T.c.length;continue}return 0}return Dvn(h,n)?x[0]:0}function sC(e){var t,n,r,i,a,h,d,v;if(!e.f){if(v=new E0,d=new E0,t=GS,h=t.a.zc(e,t),h==null){for(a=new ir(Ro(e));a.e!=a.i.gc();)i=u(br(a),26),ds(v,sC(i));t.a.Bc(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new ot(Bu,e,21,17)),new ir(e.s));r.e!=r.i.gc();)n=u(br(r),170),me(n,99)&&Pr(d,u(n,18));Um(d),e.r=new VUe(e,(u(_e(qe((Op(),Tn).o),6),18),d.i),d.g),ds(v,e.r),Um(v),e.f=new N3((u(_e(qe(Tn.o),5),18),v.i),v.g),dl(e).b&=-3}return e.f}function Zpn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q;for(h=e.o,r=Ie(Sr,Jr,25,h,15,1),i=Ie(Sr,Jr,25,h,15,1),n=e.p,t=Ie(Sr,Jr,25,n,15,1),a=Ie(Sr,Jr,25,n,15,1),x=0;x=0&&!n4(e,T,L);)--L;i[T]=L}for(z=0;z=0&&!n4(e,d,q);)--d;a[q]=d}for(v=0;vt[P]&&Pr[v]&&VH(e,v,P,!1,!0)}function w5e(e){var t,n,r,i,a,h,d,v;n=Bt(Nt(W(e,(r1(),ugt)))),a=e.a.c.d,d=e.a.d.d,n?(h=fd(pa(new Ft(d.a,d.b),a),.5),v=fd(fc(e.e),.5),t=pa(Ni(new Ft(a.a,a.b),h),v),W2e(e.d,t)):(i=We(gt(W(e.a,vgt))),r=e.d,a.a>=d.a?a.b>=d.b?(r.a=d.a+(a.a-d.a)/2+i,r.b=d.b+(a.b-d.b)/2-i-e.e.b):(r.a=d.a+(a.a-d.a)/2+i,r.b=a.b+(d.b-a.b)/2+i):a.b>=d.b?(r.a=a.a+(d.a-a.a)/2+i,r.b=d.b+(a.b-d.b)/2+i):(r.a=a.a+(d.a-a.a)/2+i,r.b=a.b+(d.b-a.b)/2-i-e.e.b))}function Kc(e,t){var n,r,i,a,h,d,v;if(e==null)return null;if(a=e.length,a==0)return"";for(v=Ie(Sh,yd,25,a,15,1),Nwe(0,a,e.length),Nwe(0,a,v.length),QKe(e,0,a,v,0),n=null,d=t,i=0,h=0;i0?$l(n.a,0,a-1):""):e.substr(0,a-1):n?n.a:e}function Nct(e){vv(e,new hb(dv(lv(fv(hv(new og,vb),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new uc))),pt(e,vb,eoe,Ct(y7e)),pt(e,vb,toe,Ct(fue)),pt(e,vb,uk,Ct(W0t)),pt(e,vb,cw,Ct(m7e)),pt(e,vb,r6e,Ct(Z0t)),pt(e,vb,i6e,Ct(Q0t)),pt(e,vb,n6e,Ct(J0t)),pt(e,vb,s6e,Ct(X0t)),pt(e,vb,f6e,Ct(Y0t)),pt(e,vb,d6e,Ct(hue)),pt(e,vb,g6e,Ct(w7e)),pt(e,vb,p6e,Ct(MG))}function m5e(e,t,n,r){var i,a,h,d,v,x,T,L,P;if(a=new H0(e),T0(a,(zn(),Xc)),Qe(a,(mt(),vs),(ya(),Zc)),i=0,t){for(h=new Fc,Qe(h,(nt(),Mi),t),Qe(a,Mi,t.i),qs(h,(dt(),On)),nc(h,a),P=vd(t.e),x=P,T=0,L=x.length;T0)if(n-=r.length-t,n>=0){for(i.a+="0.";n>_b.length;n-=_b.length)lKe(i,_b);UVe(i,_b,_s(n)),Yr(i,r.substr(t))}else n=t-n,Yr(i,$l(r,t,_s(n))),i.a+=".",Yr(i,dM(r,_s(n)));else{for(Yr(i,r.substr(t));n<-_b.length;n+=_b.length)lKe(i,_b);UVe(i,_b,_s(-n))}return i.a}function y5e(e,t,n,r){var i,a,h,d,v,x,T,L,P;return v=pa(new Ft(n.a,n.b),e),x=v.a*t.b-v.b*t.a,T=t.a*r.b-t.b*r.a,L=(v.a*r.b-v.b*r.a)/T,P=x/T,T==0?x==0?(i=Ni(new Ft(n.a,n.b),fd(new Ft(r.a,r.b),.5)),a=Fp(e,i),h=Fp(Ni(new Ft(e.a,e.b),t),i),d=b.Math.sqrt(r.a*r.a+r.b*r.b)*.5,a=0&&L<=1&&P>=0&&P<=1?Ni(new Ft(e.a,e.b),fd(new Ft(t.a,t.b),L)):null}function e2n(e,t,n){var r,i,a,h,d;if(r=u(W(e,(mt(),ple)),21),n.a>t.a&&(r.Hc((Jm(),xO))?e.c.a+=(n.a-t.a)/2:r.Hc(EO)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((Jm(),_O))?e.c.b+=(n.b-t.b)/2:r.Hc(TO)&&(e.c.b+=n.b-t.b)),u(W(e,(nt(),Qc)),21).Hc((mo(),Th))&&(n.a>t.a||n.b>t.b))for(d=new C(e.a);d.at.a&&(r.Hc((Jm(),xO))?e.c.a+=(n.a-t.a)/2:r.Hc(EO)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((Jm(),_O))?e.c.b+=(n.b-t.b)/2:r.Hc(TO)&&(e.c.b+=n.b-t.b)),u(W(e,(nt(),Qc)),21).Hc((mo(),Th))&&(n.a>t.a||n.b>t.b))for(h=new C(e.a);h.at&&(i=0,a+=T.b+n,L.c[L.c.length]=T,T=new rwe(a,n),r=new Kre(0,T.f,T,n),T$(T,r),i=0),r.b.c.length==0||v.f>=r.o&&v.f<=r.f||r.a*.5<=v.f&&r.a*1.5>=v.f?bye(r,v):(h=new Kre(r.s+r.r+n,T.f,T,n),T$(T,h),bye(h,v)),i=v.i+v.g;return L.c[L.c.length]=T,L}function g4(e){var t,n,r,i,a,h,d,v;if(!e.a){if(e.o=null,v=new $je(e),t=new dp,n=GS,d=n.a.zc(e,n),d==null){for(h=new ir(Ro(e));h.e!=h.i.gc();)a=u(br(h),26),ds(v,g4(a));n.a.Bc(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new ot(Bu,e,21,17)),new ir(e.s));i.e!=i.i.gc();)r=u(br(i),170),me(r,322)&&Pr(t,u(r,34));Um(t),e.k=new qUe(e,(u(_e(qe((Op(),Tn).o),7),18),t.i),t.g),ds(v,e.k),Um(v),e.a=new N3((u(_e(qe(Tn.o),4),18),v.i),v.g),dl(e).b&=-2}return e.a}function i2n(e,t,n,r,i,a,h){var d,v,x,T,L,P;return L=!1,v=zat(n.q,t.f+t.b-n.q.f),P=i-(n.q.e+v-h),P=(En(a,e.c.length),u(e.c[a],200)).e,T=(d=aC(r,P,!1),d.a),T>t.b&&!x)?!1:((x||T<=t.b)&&(x&&T>t.b?(n.d=T,KM(n,Uit(n,T))):(hit(n.q,v),n.c=!0),KM(r,i-(n.s+n.r)),LD(r,n.q.e+n.q.d,t.f),T$(t,r),e.c.length>a&&(ND((En(a,e.c.length),u(e.c[a],200)),r),(En(a,e.c.length),u(e.c[a],200)).a.c.length==0&&yg(e,a)),L=!0),L)}function k5e(e,t,n,r){var i,a,h,d,v,x,T;if(T=hu(e.e.Tg(),t),i=0,a=u(e.g,119),v=null,ho(),u(t,66).Oj()){for(d=0;de.o.a&&(T=(v-e.o.a)/2,d.b=b.Math.max(d.b,T),d.c=b.Math.max(d.c,T))}}function a2n(e){var t,n,r,i,a,h,d,v;for(a=new hXe,qqt(a,(q6(),$mt)),r=(i=Pre(e,Ie(Et,Je,2,0,6,1)),new s6(new Cl(new jee(e,i).b)));r.b0?e.i:0)>t&&v>0&&(a=0,h+=v+e.i,i=b.Math.max(i,P),r+=v+e.i,v=0,P=0,n&&(++L,st(e.n,new Hj(e.s,h,e.i))),d=0),P+=x.g+(d>0?e.i:0),v=b.Math.max(v,x.f),n&&Zye(u(It(e.n,L),211),x),a+=x.g+(d>0?e.i:0),++d;return i=b.Math.max(i,P),r+=v,n&&(e.r=i,e.d=r,n3e(e.j)),new fh(e.s,e.t,i,r)}function Rc(e,t,n,r,i){Gd();var a,h,d,v,x,T,L,P,z;if(kve(e,"src"),kve(n,"dest"),P=pl(e),v=pl(n),qbe((P.i&4)!=0,"srcType is not an array"),qbe((v.i&4)!=0,"destType is not an array"),L=P.c,h=v.c,qbe(L.i&1?L==h:(h.i&1)==0,"Array types don't match"),z=e.length,x=n.length,t<0||r<0||i<0||t+i>z||r+i>x)throw ee(new Bge);if(!(L.i&1)&&P!=v)if(T=Z2(e),a=Z2(n),$e(e)===$e(n)&&tr;)us(a,d,T[--t]);else for(d=r+i;r0&&o4e(e,t,n,r,i,!0)}function qse(){qse=de,Fdt=ie(ne(Sr,1),Jr,25,15,[za,1162261467,hC,1220703125,362797056,1977326743,hC,387420489,uz,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,hC,1291467969,1544804416,1838265625,60466176]),Rdt=ie(ne(Sr,1),Jr,25,15,[-1,-1,31,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])}function o2n(e){var t,n,r,i,a,h,d,v;for(i=new C(e.b);i.a=e.b.length?(a[i++]=h.b[r++],a[i++]=h.b[r++]):r>=h.b.length?(a[i++]=e.b[n++],a[i++]=e.b[n++]):h.b[r]0?e.i:0)),++t;for(msn(e.n,v),e.d=n,e.r=r,e.g=0,e.f=0,e.e=0,e.o=ps,e.p=ps,a=new C(e.b);a.a0&&(i=(!e.n&&(e.n=new ot(Qo,e,1,7)),u(_e(e.n,0),137)).a,!i||Yr(Yr((t.a+=' "',t),i),'"'))),n=(!e.b&&(e.b=new yn(kr,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new yn(kr,e,5,8)),e.c.i<=1))),n?t.a+=" [":t.a+=" ",Yr(t,D2e(new Nee,new ir(e.b))),n&&(t.a+="]"),t.a+=ooe,n&&(t.a+="["),Yr(t,D2e(new Nee,new ir(e.c))),n&&(t.a+="]"),t.a)}function Vse(e,t){var n,r,i,a,h,d,v;if(e.a){if(d=e.a.ne(),v=null,d!=null?t.a+=""+d:(h=e.a.Dj(),h!=null&&(a=hd(h,Du(91)),a!=-1?(v=h.substr(a),t.a+=""+$l(h==null?Iu:(An(h),h),0,a)):t.a+=""+h)),e.d&&e.d.i!=0){for(i=!0,t.a+="<",r=new ir(e.d);r.e!=r.i.gc();)n=u(br(r),87),i?i=!1:t.a+=so,Vse(n,t);t.a+=">"}v!=null&&(t.a+=""+v)}else e.e?(d=e.e.zb,d!=null&&(t.a+=""+d)):(t.a+="?",e.b?(t.a+=" super ",Vse(e.b,t)):e.f&&(t.a+=" extends ",Vse(e.f,t)))}function l2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(Ke=e.c,it=t.c,n=Ko(Ke.a,e,0),r=Ko(it.a,t,0),Te=u(Wv(e,(vo(),cl)).Kc().Pb(),11),Ut=u(Wv(e,ou).Kc().Pb(),11),Ne=u(Wv(t,cl).Kc().Pb(),11),Nn=u(Wv(t,ou).Kc().Pb(),11),ue=vd(Te.e),kt=vd(Ut.g),Se=vd(Ne.e),Gt=vd(Nn.g),Zm(e,r,it),h=Se,T=0,q=h.length;TT?new K2((Xf(),Fy),n,t,x-T):x>0&&T>0&&(new K2((Xf(),Fy),t,n,0),new K2(Fy,n,t,0))),h)}function Fct(e,t){var n,r,i,a,h,d;for(h=new ib(new lg(e.f.b).a);h.b;){if(a=jv(h),i=u(a.cd(),594),t==1){if(i.gf()!=(wo(),X0)&&i.gf()!=Y0)continue}else if(i.gf()!=(wo(),Wh)&&i.gf()!=Lf)continue;switch(r=u(u(a.dd(),46).b,81),d=u(u(a.dd(),46).a,189),n=d.c,i.gf().g){case 2:r.g.c=e.e.a,r.g.b=b.Math.max(1,r.g.b+n);break;case 1:r.g.c=r.g.c+n,r.g.b=b.Math.max(1,r.g.b-n);break;case 4:r.g.d=e.e.b,r.g.a=b.Math.max(1,r.g.a+n);break;case 3:r.g.d=r.g.d+n,r.g.a=b.Math.max(1,r.g.a-n)}}}function h2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(d=Ie(Sr,Jr,25,t.b.c.length,15,1),x=Ie(Sue,rt,267,t.b.c.length,0,1),v=Ie(c0,Og,10,t.b.c.length,0,1),L=e.a,P=0,z=L.length;P0&&v[r]&&(q=F3(e.b,v[r],i)),K=b.Math.max(K,i.c.c.b+q);for(a=new C(T.e);a.a1)throw ee(new Dn(PI));v||(a=Xd(t,r.Kc().Pb()),h.Fc(a))}return Ime(e,Z3e(e,t,n),h)}function g2n(e,t){var n,r,i,a;for(Qtn(t.b.j),ms(Eu(new mn(null,new kn(t.d,16)),new dX),new gX),a=new C(t.d);a.ae.o.b||(n=sc(e,$n),d=t.d+t.a+(n.gc()-1)*h,d>e.o.b)))}function Wse(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(h=e.e,v=t.e,h==0)return t;if(v==0)return e;if(a=e.d,d=t.d,a+d==2)return n=Gs(e.a[0],yo),r=Gs(t.a[0],yo),h==v?(T=Wa(n,r),q=Ir(T),z=Ir(Im(T,32)),z==0?new kg(h,q):new $3(h,2,ie(ne(Sr,1),Jr,25,15,[q,z]))):AD(h<0?Gp(r,n):Gp(n,r));if(h==v)P=h,L=a>=d?lre(e.a,a,t.a,d):lre(t.a,d,e.a,a);else{if(i=a!=d?a>d?1:-1:Kme(e.a,t.a,a),i==0)return Kp(),H7;i==1?(P=h,L=cre(e.a,a,t.a,d)):(P=v,L=cre(t.a,d,e.a,a))}return x=new $3(P,L.length,L),b_(x),x}function Yse(e,t,n,r,i,a,h){var d,v,x,T,L,P,z;return L=Bt(Nt(W(t,(mt(),pTe)))),P=null,a==(vo(),cl)&&r.c.i==n?P=r.c:a==ou&&r.d.i==n&&(P=r.d),x=h,!x||!L||P?(T=(dt(),cc),P?T=P.j:P3(u(W(n,vs),98))&&(T=a==cl?On:$n),v=w2n(e,t,n,a,T,r),d=are((Xa(n),r)),a==cl?(Ka(d,u(It(v.j,0),11)),wa(d,i)):(Ka(d,i),wa(d,u(It(v.j,0),11))),x=new nnt(r,d,v,u(W(v,(nt(),Mi)),11),a,!P)):(st(x.e,r),z=b.Math.max(We(gt(W(x.d,Rg))),We(gt(W(r,Rg)))),Qe(x.d,Rg,z)),an(e.a,r,new JR(x.d,t,a)),x}function ZH(e,t){var n,r,i,a,h,d,v,x,T,L;if(T=null,e.d&&(T=u(Gc(e.d,t),138)),!T){if(a=e.a.Mh(),L=a.i,!e.d||ET(e.d)!=L){for(v=new Ar,e.d&&A_(v,e.d),x=v.f.c+v.g.c,d=x;d0?(z=(q-1)*n,d&&(z+=r),T&&(z+=r),z=e.b[i+1])i+=2;else if(n0)for(r=new Gu(u(Oi(e.a,a),21)),fn(),aa(r,new Ii(t)),i=new Ca(a.b,0);i.bKe)?(v=2,h=xi):v==0?(v=1,h=kt):(v=0,h=kt)):(z=kt>=h||h-kt0?1:mv(isNaN(r),isNaN(0)))>=0^(kf(Cd),(b.Math.abs(d)<=Cd||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:mv(isNaN(d),isNaN(0)))>=0)?b.Math.max(d,r):(kf(Cd),(b.Math.abs(r)<=Cd||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:mv(isNaN(r),isNaN(0)))>0?b.Math.sqrt(d*d+r*r):-b.Math.sqrt(d*d+r*r))}function fb(e,t){var n,r,i,a,h,d;if(t){if(!e.a&&(e.a=new HF),e.e==2){$F(e.a,t);return}if(t.e==1){for(i=0;i=ao?To(n,pye(r)):ux(n,r&Ss),h=new Fne(10,null,0),sXt(e.a,h,d-1)):(n=(h.bm().length+a,new yT),To(n,h.bm())),t.e==0?(r=t._l(),r>=ao?To(n,pye(r)):ux(n,r&Ss)):To(n,t.bm()),u(h,521).b=n.a}}function Vct(e){var t,n,r,i,a;return e.g!=null?e.g:e.a<32?(e.g=Gvn(Mu(e.f),_s(e.e)),e.g):(i=iae((!e.c&&(e.c=mD(e.f)),e.c),0),e.e==0?i:(t=(!e.c&&(e.c=mD(e.f)),e.c).e<0?2:1,n=i.length,r=-e.e+n-t,a=new yp,a.a+=""+i,e.e>0&&r>=-6?r>=0?RM(a,n-_s(e.e),String.fromCharCode(46)):(a.a=$l(a.a,0,t-1)+"0."+dM(a.a,t-1),RM(a,t+1,Fh(_b,0,-_s(r)-1))):(n-t>=1&&(RM(a,t,String.fromCharCode(46)),++n),RM(a,n,String.fromCharCode(69)),r>0&&RM(a,++n,String.fromCharCode(43)),RM(a,++n,""+a_(Mu(r)))),e.g=a.a,e.g))}function D2n(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!n.dc()){for(d=0,P=0,r=n.Kc(),q=u(r.Pb(),19).a;d1&&(v=x.mg(v,e.a,d));return v.c.length==1?u(It(v,v.c.length-1),220):v.c.length==2?y2n((En(0,v.c.length),u(v.c[0],220)),(En(1,v.c.length),u(v.c[1],220)),h,a):null}function Uct(e){var t,n,r,i,a,h;for(Su(e.a,new rm),n=new C(e.a);n.a=b.Math.abs(r.b)?(r.b=0,a.d+a.a>h.d&&a.dh.c&&a.c0){if(t=new o2e(e.i,e.g),n=e.i,a=n<100?null:new kp(n),e.ij())for(r=0;r0){for(d=e.g,x=e.i,k_(e),a=x<100?null:new kp(x),r=0;r>13|(e.m&15)<<9,i=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,h=(e.h&1048320)>>8,d=t.l&8191,v=t.l>>13|(t.m&15)<<9,x=t.m>>4&8191,T=t.m>>17|(t.h&255)<<5,L=(t.h&1048320)>>8,Gt=n*d,Ut=r*d,Nn=i*d,Rn=a*d,gr=h*d,v!=0&&(Ut+=n*v,Nn+=r*v,Rn+=i*v,gr+=a*v),x!=0&&(Nn+=n*x,Rn+=r*x,gr+=i*x),T!=0&&(Rn+=n*T,gr+=r*T),L!=0&&(gr+=n*L),z=Gt&ml,q=(Ut&511)<<13,P=z+q,Q=Gt>>22,ue=Ut>>9,Se=(Nn&262143)<<4,Te=(Rn&31)<<17,K=Q+ue+Se+Te,Ke=Nn>>18,it=Rn>>5,kt=(gr&4095)<<8,Ne=Ke+it+kt,K+=P>>22,P&=ml,Ne+=K>>22,K&=ml,Ne&=V0,cu(P,K,Ne)}function Kct(e){var t,n,r,i,a,h,d;if(d=u(It(e.j,0),11),d.g.c.length!=0&&d.e.c.length!=0)throw ee(new Vo("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(a=ps,n=new C(d.g);n.a4)if(e.wj(t)){if(e.rk()){if(i=u(t,49),r=i.Ug(),v=r==e.e&&(e.Dk()?i.Og(i.Vg(),e.zk())==e.Ak():-1-i.Vg()==e.aj()),e.Ek()&&!v&&!r&&i.Zg()){for(a=0;a0&&(x=e.n.a/a);break;case 2:case 4:i=e.i.o.b,i>0&&(x=e.n.b/i)}Qe(e,(nt(),xw),x)}if(v=e.o,h=e.a,r)h.a=r.a,h.b=r.b,e.d=!0;else if(t!=Y1&&t!=g2&&d!=cc)switch(d.g){case 1:h.a=v.a/2;break;case 2:h.a=v.a,h.b=v.b/2;break;case 3:h.a=v.a/2,h.b=v.b;break;case 4:h.b=v.b/2}else h.a=v.a/2,h.b=v.b/2}function cC(e){var t,n,r,i,a,h,d,v,x,T;if(e.ej())if(T=e.Vi(),v=e.fj(),T>0)if(t=new mme(e.Gi()),n=T,a=n<100?null:new kp(n),mM(e,n,t.g),i=n==1?e.Zi(4,_e(t,0),null,0,v):e.Zi(6,t,null,-1,v),e.bj()){for(r=new ir(t);r.e!=r.i.gc();)a=e.dj(br(r),a);a?(a.Ei(i),a.Fi()):e.$i(i)}else a?(a.Ei(i),a.Fi()):e.$i(i);else mM(e,e.Vi(),e.Wi()),e.$i(e.Zi(6,(fn(),bo),null,-1,v));else if(e.bj())if(T=e.Vi(),T>0){for(d=e.Wi(),x=T,mM(e,T,d),a=x<100?null:new kp(x),r=0;re.d[h.p]&&(n+=vwe(e.b,a)*u(v.b,19).a,Bp(e.a,lt(a)));for(;!vT(e.a);)Wwe(e.b,u(L6(e.a),19).a)}return n}function G2n(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;for(L=new Do(u(jt(e,(MH(),RCe)),8)),L.a=b.Math.max(L.a-n.b-n.c,0),L.b=b.Math.max(L.b-n.d-n.a,0),i=gt(jt(e,PCe)),(i==null||(An(i),i<=0))&&(i=1.3),d=new at,q=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));q.e!=q.i.gc();)z=u(br(q),33),h=new xVe(z),d.c[d.c.length]=h;switch(P=u(jt(e,_he),311),P.g){case 3:Q=hpn(d,t,L.a,L.b,(x=r,An(i),x));break;case 1:Q=Fpn(d,t,L.a,L.b,(T=r,An(i),T));break;default:Q=U2n(d,t,L.a,L.b,(v=r,An(i),v))}a=new k$(Q),K=nae(a,t,n,L.a,L.b,r,(An(i),i)),iw(e,K.a,K.b,!1,!0)}function q2n(e,t){var n,r,i,a;n=t.b,a=new Gu(n.j),i=0,r=n.j,r.c=Ie(Xn,_t,1,0,5,1),Sv(u(eb(e.b,(dt(),Ln),(Gv(),ww)),15),n),i=DD(a,i,new nX,r),Sv(u(eb(e.b,Ln,s2),15),n),i=DD(a,i,new T9,r),Sv(u(eb(e.b,Ln,vw),15),n),Sv(u(eb(e.b,$n,ww),15),n),Sv(u(eb(e.b,$n,s2),15),n),i=DD(a,i,new ZP,r),Sv(u(eb(e.b,$n,vw),15),n),Sv(u(eb(e.b,Tr,ww),15),n),i=DD(a,i,new JP,r),Sv(u(eb(e.b,Tr,s2),15),n),i=DD(a,i,new eB,r),Sv(u(eb(e.b,Tr,vw),15),n),Sv(u(eb(e.b,On,ww),15),n),i=DD(a,i,new sX,r),Sv(u(eb(e.b,On,s2),15),n),Sv(u(eb(e.b,On,vw),15),n)}function V2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(Er(t,"Layer size calculation",1),T=ps,x=Ds,i=!1,d=new C(e.b);d.a.5?ue-=h*2*(q-.5):q<.5&&(ue+=a*2*(.5-q)),i=d.d.b,ueQ.a-K-T&&(ue=Q.a-K-T),d.n.a=t+ue}}function U2n(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q;for(d=Ie(va,Ao,25,e.c.length,15,1),P=new yj(new EB),a3e(P,e),x=0,K=new at;P.b.c.length!=0;)if(h=u(P.b.c.length==0?null:It(P.b,0),157),x>1&&qu(h)*Ll(h)/2>d[0]){for(a=0;ad[a];)++a;q=new Yd(K,0,a+1),L=new k$(q),T=qu(h)/Ll(h),v=nae(L,t,new h6,n,r,i,T),Ni(Yf(L.e),v),yx(r7(P,L)),z=new Yd(K,a+1,K.c.length),a3e(P,z),K.c=Ie(Xn,_t,1,0,5,1),x=0,kKe(d,d.length,0)}else Q=P.b.c.length==0?null:It(P.b,0),Q!=null&&Ore(P,0),x>0&&(d[x]=d[x-1]),d[x]+=qu(h)*Ll(h),++x,K.c[K.c.length]=h;return K}function K2n(e){var t,n,r,i,a;if(r=u(W(e,(mt(),du)),163),r==(mh(),a2)){for(n=new ur(dr(Wo(e).a.Kc(),new V));Vr(n);)if(t=u(Nr(n),17),!IQe(t))throw ee(new A3(loe+ID(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(r==Sy){for(a=new ur(dr(Fs(e).a.Kc(),new V));Vr(a);)if(i=u(Nr(a),17),!IQe(i))throw ee(new A3(loe+ID(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 W2n(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;for(Er(t,"Label dummy removal",1),r=We(gt(W(e,(mt(),Mk)))),i=We(gt(W(e,Py))),x=u(W(e,Jl),103),v=new C(e.b);v.a0&&est(e,d,L);for(i=new C(L);i.a>19&&(t=jx(t),v=!v),h=K1n(t),a=!1,i=!1,r=!1,e.h==hI&&e.m==0&&e.l==0)if(i=!0,a=!0,h==-1)e=dqe((Tx(),lxe)),r=!0,v=!v;else return d=E4e(e,h),v&&Gre(d),n&&(t2=cu(0,0,0)),d;else e.h>>19&&(a=!0,e=jx(e),r=!0,v=!v);return h!=-1?Nrn(e,h,v,a,n):g3e(e,t)<0?(n&&(a?t2=jx(e):t2=cu(e.l,e.m,e.h)),cu(0,0,0)):Rgn(r?e:cu(e.l,e.m,e.h),t,v,a,i,n)}function JH(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;if(e.e&&e.c.ct.f||t.g>e.f)){for(n=0,r=0,h=e.w.a.ec().Kc();h.Ob();)i=u(h.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(d=e.r.a.ec().Kc();d.Ob();)i=u(d.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(v=t.w.a.ec().Kc();v.Ob();)i=u(v.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Kc();a.Ob();)i=u(a.Pb(),11),tie(ic(ie(ne(ea,1),Je,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n=0)return i=rsn(e,t.substr(1,h-1)),T=t.substr(h+1,v-(h+1)),Zvn(e,T,i)}else{if(n=-1,pxe==null&&(pxe=new RegExp("\\d")),pxe.test(String.fromCharCode(d))&&(n=kbe(t,Du(46),v-1),n>=0)){r=u(ore(e,TJe(e,t.substr(1,n-1)),!1),58),x=0;try{x=Wl(t.substr(n+1),za,xi)}catch(P){throw P=ts(P),me(P,127)?(a=P,ee(new h$(a))):ee(P)}if(x=0)return n;switch(Mv(No(e,n))){case 2:{if(on("",_g(e,n.Hj()).ne())){if(v=IM(No(e,n)),d=fx(No(e,n)),T=M4e(e,t,v,d),T)return T;for(i=r5e(e,t),h=0,L=i.gc();h1)throw ee(new Dn(PI));for(T=hu(e.e.Tg(),t),r=u(e.g,119),h=0;h1,x=new O1(P.b);tc(x.a)||tc(x.b);)v=u(tc(x.a)?Y(x.a):Y(x.b),17),L=v.c==P?v.d:v.c,b.Math.abs(ic(ie(ne(ea,1),Je,8,0,[L.i.n,L.n,L.a])).b-h.b)>1&&Qdn(e,v,h,a,P)}}function abn(e){var t,n,r,i,a,h;if(i=new Ca(e.e,0),r=new Ca(e.a,0),e.d)for(n=0;nqoe;){for(a=t,h=0;b.Math.abs(t-a)0),i.a.Xb(i.c=--i.b),Epn(e,e.b-h,a,r,i),Qn(i.b0),r.a.Xb(r.c=--r.b)}if(!e.d)for(n=0;n0?(e.f[T.p]=z/(T.e.c.length+T.g.c.length),e.c=b.Math.min(e.c,e.f[T.p]),e.b=b.Math.max(e.b,e.f[T.p])):d&&(e.f[T.p]=z)}}function cbn(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 ubn(e,t,n){var r,i,a,h;for(Er(n,"Graph transformation ("+e.a+")",1),h=Nv(t.a),a=new C(t.b);a.a0&&(e.a=v+(z-1)*a,t.c.b+=e.a,t.f.b+=e.a)),q.a.gc()!=0&&(P=new bne(1,a),z=L5e(P,t,q,K,t.f.b+v-t.c.b),z>0&&(t.f.b+=v+(z-1)*a))}function p7(e,t){var n,r,i,a;a=e.F,t==null?(e.F=null,zx(e,null)):(e.F=(An(t),t),r=hd(t,Du(60)),r!=-1?(i=t.substr(0,r),hd(t,Du(46))==-1&&!on(i,nk)&&!on(i,NC)&&!on(i,Jz)&&!on(i,PC)&&!on(i,BC)&&!on(i,FC)&&!on(i,RC)&&!on(i,jC)&&(i=P1t),n=zR(t,Du(62)),n!=-1&&(i+=""+t.substr(n+1)),zx(e,i)):(i=t,hd(t,Du(46))==-1&&(r=hd(t,Du(91)),r!=-1&&(i=t.substr(0,r)),!on(i,nk)&&!on(i,NC)&&!on(i,Jz)&&!on(i,PC)&&!on(i,BC)&&!on(i,FC)&&!on(i,RC)&&!on(i,jC)?(i=P1t,r!=-1&&(i+=""+t.substr(r))):i=t),zx(e,i),i==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&_i(e,new oa(e,1,5,a,t))}function hbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;if(K=t.b.c.length,!(K<3)){for(z=Ie(Sr,Jr,25,K,15,1),L=0,T=new C(t.b);T.ah)&&zs(e.b,u(Q.b,17));++d}a=h}}}function C5e(e,t){var n;if(t==null||on(t,Iu)||t.length==0&&e.k!=(Dg(),Ik))return null;switch(e.k.g){case 1:return cH(t,I7)?(In(),j7):cH(t,sce)?(In(),Tb):null;case 2:try{return lt(Wl(t,za,xi))}catch(r){if(r=ts(r),me(r,127))return null;throw ee(r)}case 4:try{return ty(t)}catch(r){if(r=ts(r),me(r,127))return null;throw ee(r)}case 3:return t;case 5:return Ott(e),jst(e,t);case 6:return Ott(e),k1n(e,e.a,t);case 7:try{return n=Ofn(e),n.Jf(t),n}catch(r){if(r=ts(r),me(r,32))return null;throw ee(r)}default:throw ee(new Vo("Invalid type set for this layout option."))}}function fbn(e){E_();var t,n,r,i,a,h,d;for(d=new c$e,n=new C(e);n.a=d.b.c)&&(d.b=t),(!d.c||t.c<=d.c.c)&&(d.d=d.c,d.c=t),(!d.e||t.d>=d.e.d)&&(d.e=t),(!d.f||t.d<=d.f.d)&&(d.f=t);return r=new fH((Rx(),bw)),$M(e,Hgt,new Cl(ie(ne(WI,1),_t,369,0,[r]))),h=new fH(Ey),$M(e,$gt,new Cl(ie(ne(WI,1),_t,369,0,[h]))),i=new fH(xy),$M(e,jgt,new Cl(ie(ne(WI,1),_t,369,0,[i]))),a=new fH(D4),$M(e,Rgt,new Cl(ie(ne(WI,1),_t,369,0,[a]))),kse(r.c,bw),kse(i.c,xy),kse(a.c,D4),kse(h.c,Ey),d.a.c=Ie(Xn,_t,1,0,5,1),Ps(d.a,r.c),Ps(d.a,J2(i.c)),Ps(d.a,a.c),Ps(d.a,J2(h.c)),d}function S5e(e){var t;switch(e.d){case 1:{if(e.hj())return e.o!=-2;break}case 2:{if(e.hj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.gj(),e.p){case 0:return t!=null&&Bt(Nt(t))!=GT(e.k,0);case 1:return t!=null&&u(t,217).a!=Ir(e.k)<<24>>24;case 2:return t!=null&&u(t,172).a!=(Ir(e.k)&Ss);case 6:return t!=null&>(u(t,162).a,e.k);case 5:return t!=null&&u(t,19).a!=Ir(e.k);case 7:return t!=null&&u(t,184).a!=Ir(e.k)<<16>>16;case 3:return t!=null&&We(gt(t))!=e.j;case 4:return t!=null&&u(t,155).a!=e.j;default:return t==null?e.n!=null:!Ci(t,e.n)}}function rI(e,t,n){var r,i,a,h;return e.Fk()&&e.Ek()&&(h=cne(e,u(n,56)),$e(h)!==$e(n))?(e.Oi(t),e.Ui(t,_Ze(e,t,h)),e.rk()&&(a=(i=u(n,49),e.Dk()?e.Bk()?i.ih(e.b,go(u(bn(Tu(e.b),e.aj()),18)).n,u(bn(Tu(e.b),e.aj()).Yj(),26).Bj(),null):i.ih(e.b,Zi(i.Tg(),go(u(bn(Tu(e.b),e.aj()),18))),null,null):i.ih(e.b,-1-e.aj(),null,null)),!u(h,49).eh()&&(a=(r=u(h,49),e.Dk()?e.Bk()?r.gh(e.b,go(u(bn(Tu(e.b),e.aj()),18)).n,u(bn(Tu(e.b),e.aj()).Yj(),26).Bj(),a):r.gh(e.b,Zi(r.Tg(),go(u(bn(Tu(e.b),e.aj()),18))),null,a):r.gh(e.b,-1-e.aj(),null,a))),a&&a.Fi()),Sl(e.b)&&e.$i(e.Zi(9,n,h,t,!1)),h):n}function Qct(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(T=We(gt(W(e,(mt(),Cw)))),r=We(gt(W(e,CTe))),P=new nl,Qe(P,Cw,T+r),x=t,ue=x.d,K=x.c.i,Se=x.d.i,Q=f2e(K.c),Te=f2e(Se.c),i=new at,L=Q;L<=Te;L++)d=new H0(e),T0(d,(zn(),ca)),Qe(d,(nt(),Mi),x),Qe(d,vs,(ya(),Zc)),Qe(d,Nq,P),z=u(It(e.b,L),29),L==Q?Zm(d,z.a.c.length-n,z):Oo(d,z),Ne=We(gt(W(x,Rg))),Ne<0&&(Ne=0,Qe(x,Rg,Ne)),d.o.b=Ne,q=b.Math.floor(Ne/2),h=new Fc,qs(h,(dt(),On)),nc(h,d),h.n.b=q,v=new Fc,qs(v,$n),nc(v,d),v.n.b=q,wa(x,h),a=new Dv,$o(a,x),Qe(a,Fo,null),Ka(a,v),wa(a,ue),pcn(d,x,a),i.c[i.c.length]=a,x=a;return i}function Zse(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(v=u(Mg(e,(dt(),On)).Kc().Pb(),11).e,z=u(Mg(e,$n).Kc().Pb(),11).g,d=v.c.length,Te=M1(u(It(e.j,0),11));d-- >0;){for(K=(En(0,v.c.length),u(v.c[0],17)),i=(En(0,z.c.length),u(z.c[0],17)),Se=i.d.e,a=Ko(Se,i,0),mJt(K,i.d,a),Ka(i,null),wa(i,null),q=K.a,t&&oi(q,new Do(Te)),r=si(i.a,0);r.b!=r.d.c;)n=u(ii(r),8),oi(q,new Do(n));for(ue=K.b,P=new C(i.b);P.a0&&(h=b.Math.max(h,Tet(e.C.b+r.d.b,i))),T=r,L=i,P=a;e.C&&e.C.c>0&&(z=P+e.C.c,x&&(z+=T.d.c),h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(L-1)<=H1||L==1||isNaN(L)&&isNaN(1)?0:z/(1-L)))),n.n.b=0,n.a.a=h}function Jct(e,t){var n,r,i,a,h,d,v,x,T,L,P,z;if(n=u(_o(e.b,t),124),v=u(u(Oi(e.r,t),21),84),v.dc()){n.n.d=0,n.n.a=0;return}for(x=e.u.Hc((al(),Z0)),h=0,e.A.Hc((Nl(),Rb))&&Iot(e,t),d=v.Kc(),T=null,P=0,L=0;d.Ob();)r=u(d.Pb(),111),a=We(gt(r.b.We((GR(),SG)))),i=r.b.rf().b,T?(z=L+T.d.a+e.w+r.d.d,h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(P-a)<=H1||P==a||isNaN(P)&&isNaN(a)?0:z/(a-P)))):e.C&&e.C.d>0&&(h=b.Math.max(h,Tet(e.C.d+r.d.d,a))),T=r,P=a,L=i;e.C&&e.C.a>0&&(z=L+e.C.a,x&&(z+=T.d.a),h=b.Math.max(h,(C1(),kf(H1),b.Math.abs(P-1)<=H1||P==1||isNaN(P)&&isNaN(1)?0:z/(1-P)))),n.n.d=0,n.a.b=h}function eut(e,t,n){var r,i,a,h,d,v;for(this.g=e,d=t.d.length,v=n.d.length,this.d=Ie(c0,Og,10,d+v,0,1),h=0;h0?_re(this,this.f/this.a):S1(t.g,t.d[0]).a!=null&&S1(n.g,n.d[0]).a!=null?_re(this,(We(S1(t.g,t.d[0]).a)+We(S1(n.g,n.d[0]).a))/2):S1(t.g,t.d[0]).a!=null?_re(this,S1(t.g,t.d[0]).a):S1(n.g,n.d[0]).a!=null&&_re(this,S1(n.g,n.d[0]).a)}function dbn(e,t){var n,r,i,a,h,d,v,x,T,L;for(e.a=new aWe(znn(MS)),r=new C(t.a);r.a=1&&(Q-h>0&&L>=0?(v.n.a+=K,v.n.b+=a*h):Q-h<0&&T>=0&&(v.n.a+=K*Q,v.n.b+=a));e.o.a=t.a,e.o.b=t.b,Qe(e,(mt(),Lb),(Nl(),r=u(Wf(FS),9),new hh(r,u(bf(r,r.length),9),0)))}function vbn(e,t,n,r,i,a){var h;if(!(t==null||!pie(t,oAe,cAe)))throw ee(new Dn("invalid scheme: "+t));if(!e&&!(n!=null&&hd(n,Du(35))==-1&&n.length>0&&(zr(0,n.length),n.charCodeAt(0)!=47)))throw ee(new Dn("invalid opaquePart: "+n));if(e&&!(t!=null&&YL(IV,t.toLowerCase()))&&!(n==null||!pie(n,HS,zS)))throw ee(new Dn(x1t+n));if(e&&t!=null&&YL(IV,t.toLowerCase())&&!lun(n))throw ee(new Dn(x1t+n));if(!gsn(r))throw ee(new Dn("invalid device: "+r));if(!oin(i))throw h=i==null?"invalid segments: null":"invalid segment: "+rin(i),ee(new Dn(h));if(!(a==null||hd(a,Du(35))==-1))throw ee(new Dn("invalid query: "+a))}function wbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(Er(t,"Calculate Graph Size",1),t.n&&e&&wf(t,mf(e),(Ol(),rh)),d=C7,v=C7,a=Qke,h=Qke,L=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));L.e!=L.i.gc();)x=u(br(L),33),q=x.i,K=x.j,ue=x.g,r=x.f,i=u(jt(x,(di(),AO)),142),d=b.Math.min(d,q-i.b),v=b.Math.min(v,K-i.d),a=b.Math.max(a,q+ue+i.c),h=b.Math.max(h,K+r+i.a);for(z=u(jt(e,(di(),Pb)),116),P=new Ft(d-z.b,v-z.d),T=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));T.e!=T.i.gc();)x=u(br(T),33),Au(x,x.i-P.a),Lu(x,x.j-P.b);Q=a-d+(z.b+z.c),n=h-v+(z.d+z.a),Hv(e,Q),$v(e,n),t.n&&e&&wf(t,mf(e),(Ol(),rh))}function rut(e){var t,n,r,i,a,h,d,v,x,T;for(r=new at,h=new C(e.e.a);h.a0){dH(e,n,0),n.a+=String.fromCharCode(r),i=ran(t,a),dH(e,n,i),a+=i-1;continue}r==39?a+11)for(K=Ie(Sr,Jr,25,e.b.b.c.length,15,1),L=0,x=new C(e.b.b);x.a=d&&i<=v)d<=i&&a<=v?(n[T++]=i,n[T++]=a,r+=2):d<=i?(n[T++]=i,n[T++]=v,e.b[r]=v+1,h+=2):a<=v?(n[T++]=d,n[T++]=a,r+=2):(n[T++]=d,n[T++]=v,e.b[r]=v+1);else if(vYp)&&d<10);gpe(e.c,new b1),iut(e),oXt(e.c),pbn(e.f)}function xbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(Bt(Nt(W(n,(mt(),Dy)))))for(d=new C(n.j);d.a=2){for(v=si(n,0),h=u(ii(v),8),d=u(ii(v),8);d.a0&&pD(x,!0,(wo(),Lf)),d.k==(zn(),Ls)&&LWe(x),Si(e.f,d,t)}}function Cbn(e,t,n){var r,i,a,h,d,v,x,T,L,P;switch(Er(n,"Node promotion heuristic",1),e.g=t,Ivn(e),e.q=u(W(t,(mt(),xle)),260),T=u(W(e.g,fTe),19).a,a=new OP,e.q.g){case 2:case 1:g7(e,a);break;case 3:for(e.q=(l4(),Hq),g7(e,a),v=0,d=new C(e.a);d.ae.j&&(e.q=lO,g7(e,a));break;case 4:for(e.q=(l4(),Hq),g7(e,a),x=0,i=new C(e.b);i.ae.k&&(e.q=hO,g7(e,a));break;case 6:P=_s(b.Math.ceil(e.f.length*T/100)),g7(e,new bp(P));break;case 5:L=_s(b.Math.ceil(e.d*T/100)),g7(e,new Kf(L));break;default:g7(e,a)}m0n(e,t),lr(n)}function aut(e,t,n){var r,i,a,h;this.j=e,this.e=D3e(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(It(n,Xa(this.o).p),214):null,i=u(W(e,(nt(),Qc)),21),this.g=i.Hc((mo(),Th)),this.b=new at,this.d=new Ant(this.e),h=u(W(this.j,Ck),230),this.q=irn(t,h,this.e),this.k=new SYe(this),a=I1(ie(ne(upt,1),_t,225,0,[this,this.d,this.k,this.q])),t==(zv(),dO)&&!Bt(Nt(W(e,(mt(),Ay))))?(r=new O3e(this.e),a.c[a.c.length]=r,this.c=new cwe(r,h,u(this.q,402))):t==dO&&Bt(Nt(W(e,(mt(),Ay))))?(r=new O3e(this.e),a.c[a.c.length]=r,this.c=new uet(r,h,u(this.q,402))):this.c=new oGe(t,this),st(a,this.c),Hct(a,this.e),this.s=cwn(this.k)}function Sbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(L=u(jR((h=si(new mp(t).a.d,0),new u6(h))),86),q=L?u(W(L,(xc(),Jle)),86):null,i=1;L&&q;){for(v=0,Ne=0,n=L,r=q,d=0;d=e.i?(++e.i,st(e.a,lt(1)),st(e.b,T)):(r=e.c[t.p][1],gh(e.a,x,lt(u(It(e.a,x),19).a+1-r)),gh(e.b,x,We(gt(It(e.b,x)))+T-r*e.e)),(e.q==(l4(),lO)&&(u(It(e.a,x),19).a>e.j||u(It(e.a,x-1),19).a>e.j)||e.q==hO&&(We(gt(It(e.b,x)))>e.k||We(gt(It(e.b,x-1)))>e.k))&&(v=!1),h=new ur(dr(Wo(t).a.Kc(),new V));Vr(h);)a=u(Nr(h),17),d=a.c.i,e.f[d.p]==x&&(L=out(e,d),i=i+u(L.a,19).a,v=v&&Bt(Nt(L.b)));return e.f[t.p]=x,i=i+e.c[t.p][0],new _a(lt(i),(In(),!!v))}function L5e(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(L=new Ar,h=new at,Lst(e,n,e.d.fg(),h,L),Lst(e,r,e.d.gg(),h,L),e.b=.2*(K=wat(rc(new mn(null,new kn(h,16)),new wQ)),Q=wat(rc(new mn(null,new kn(h,16)),new mQ)),b.Math.min(K,Q)),a=0,d=0;d=2&&(ue=$at(h,!0,P),!e.e&&(e.e=new zRe(e)),san(e.e,ue,h,e.b)),yit(h,P),Gbn(h),z=-1,T=new C(h);T.ad)}function Lbn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K;for(n=u(W(e,(mt(),vs)),98),h=e.f,a=e.d,d=h.a+a.b+a.c,v=0-a.d-e.c.b,T=h.b+a.d+a.a-e.c.b,x=new at,L=new at,i=new C(t);i.a0),u(T.a.Xb(T.c=--T.b),17));a!=r&&T.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(Qn(T.b>0),u(T.a.Xb(T.c=--T.b),17));T.b>0&&Dl(T)}}function hut(e,t,n){var r,i,a,h,d,v,x,T,L;if(e.a!=t.Aj())throw ee(new Dn(O7+t.ne()+fw));if(r=_g((Uu(),Oa),t).$k(),r)return r.Aj().Nh().Ih(r,n);if(h=_g(Oa,t).al(),h){if(n==null)return null;if(d=u(n,15),d.dc())return"";for(L=new dg,a=d.Kc();a.Ob();)i=a.Pb(),To(L,h.Aj().Nh().Ih(h,i)),L.a+=" ";return mte(L,L.a.length-1)}if(T=_g(Oa,t).bl(),!T.dc()){for(x=T.Kc();x.Ob();)if(v=u(x.Pb(),148),v.wj(n))try{if(L=v.Aj().Nh().Ih(v,n),L!=null)return L}catch(P){if(P=ts(P),!me(P,102))throw ee(P)}throw ee(new Dn("Invalid value: '"+n+"' for datatype :"+t.ne()))}return u(t,834).Fj(),n==null?null:me(n,172)?""+u(n,172).a:pl(n)==wG?Fqe($S[0],u(n,199)):Yo(n)}function Pbn(e){var t,n,r,i,a,h,d,v,x,T;for(x=new as,d=new as,a=new C(e);a.a-1){for(i=si(d,0);i.b!=i.d.c;)r=u(ii(i),128),r.v=h;for(;d.b!=0;)for(r=u(Uie(d,0),128),n=new C(r.i);n.a0&&(n+=v.n.a+v.o.a/2,++L),q=new C(v.j);q.a0&&(n/=L),ue=Ie(va,Ao,25,r.a.c.length,15,1),d=0,x=new C(r.a);x.a=d&&i<=v)d<=i&&a<=v?r+=2:d<=i?(e.b[r]=v+1,h+=2):a<=v?(n[T++]=i,n[T++]=d-1,r+=2):(n[T++]=i,n[T++]=d-1,e.b[r]=v+1,h+=2);else if(v0?i-=864e5:i+=864e5,v=new tbe(Wa(Mu(t.q.getTime()),i))),T=new ym,x=e.a.length,a=0;a=97&&r<=122||r>=65&&r<=90){for(h=a+1;h=x)throw ee(new Dn("Missing trailing '"));h+10&&n.c==0&&(!t&&(t=new at),t.c[t.c.length]=n);if(t)for(;t.c.length!=0;){if(n=u(yg(t,0),233),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new at),new C(n.b));a.aKo(e,n,0))return new _a(i,n)}else if(We(S1(i.g,i.d[0]).a)>We(S1(n.g,n.d[0]).a))return new _a(i,n)}for(d=(!n.e&&(n.e=new at),n.e).Kc();d.Ob();)h=u(d.Pb(),233),v=(!h.b&&(h.b=new at),h.b),Fm(0,v.c.length),MT(v.c,0,n),h.c==v.c.length&&(t.c[t.c.length]=h)}return null}function but(e,t){var n,r,i,a,h,d,v,x,T;if(e==null)return Iu;if(v=t.a.zc(e,t),v!=null)return"[...]";for(n=new tb(so,"[","]"),i=e,a=0,h=i.length;a=14&&T<=16))?t.a._b(r)?(n.a?Yr(n.a,n.b):n.a=new jl(n.d),VT(n.a,"[...]")):(d=Z2(r),x=new r_(t),O0(n,but(d,x))):me(r,177)?O0(n,Ihn(u(r,177))):me(r,190)?O0(n,kun(u(r,190))):me(r,195)?O0(n,Dln(u(r,195))):me(r,2012)?O0(n,xun(u(r,2012))):me(r,48)?O0(n,Dhn(u(r,48))):me(r,364)?O0(n,Vhn(u(r,364))):me(r,832)?O0(n,Mhn(u(r,832))):me(r,104)&&O0(n,Lhn(u(r,104))):O0(n,r==null?Iu:Yo(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function vut(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(d=h4(t,!1,!1),ue=jD(d),r&&(ue=vD(ue)),Te=We(gt(jt(t,(H_(),fue)))),Q=(Qn(ue.b!=0),u(ue.a.a.c,8)),L=u(n1(ue,1),8),ue.b>2?(T=new at,Ps(T,new Yd(ue,1,ue.b)),a=Xut(T,Te+e.a),Se=new vse(a),$o(Se,t),n.c[n.c.length]=Se):r?Se=u(Jn(e.b,Jd(t)),266):Se=u(Jn(e.b,qp(t)),266),v=Jd(t),r&&(v=qp(t)),h=Qln(Q,v),x=Te+e.a,h.a?(x+=b.Math.abs(Q.b-L.b),K=new Ft(L.a,(L.b+Q.b)/2)):(x+=b.Math.abs(Q.a-L.a),K=new Ft((L.a+Q.a)/2,L.b)),r?Si(e.d,t,new e3e(Se,h,K,x)):Si(e.c,t,new e3e(Se,h,K,x)),Si(e.b,t,Se),q=(!t.n&&(t.n=new ot(Qo,t,1,7)),t.n),z=new ir(q);z.e!=z.i.gc();)P=u(br(z),137),i=XD(e,P,!0,0,0),n.c[n.c.length]=i}function Gbn(e){var t,n,r,i,a,h,d,v,x,T;for(x=new at,d=new at,h=new C(e);h.a-1){for(a=new C(d);a.a0)&&(TF(v,b.Math.min(v.o,i.o-1)),iT(v,v.i-1),v.i==0&&(d.c[d.c.length]=v))}}function b7(e,t,n){var r,i,a,h,d,v,x;if(x=e.c,!t&&(t=fAe),e.c=t,e.Db&4&&!(e.Db&1)&&(v=new oa(e,1,2,x,e.c),n?n.Ei(v):n=v),x!=t){if(me(e.Cb,284))e.Db>>16==-10?n=u(e.Cb,284).nk(t,n):e.Db>>16==-15&&(!t&&(t=(cn(),Q1)),!x&&(x=(cn(),Q1)),e.Cb.nh()&&(v=new N0(e.Cb,1,13,x,t,Ag(gl(u(e.Cb,59)),e),!1),n?n.Ei(v):n=v));else if(me(e.Cb,88))e.Db>>16==-23&&(me(t,88)||(t=(cn(),nf)),me(x,88)||(x=(cn(),nf)),e.Cb.nh()&&(v=new N0(e.Cb,1,10,x,t,Ag(Bc(u(e.Cb,26)),e),!1),n?n.Ei(v):n=v));else if(me(e.Cb,444))for(d=u(e.Cb,836),h=(!d.b&&(d.b=new FF(new Eee)),d.b),a=(r=new ib(new lg(h.a).a),new RF(r));a.a.b;)i=u(jv(a.a).cd(),87),n=b7(i,BH(i,d),n)}return n}function qbn(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(h=Bt(Nt(jt(e,(mt(),Dy)))),P=u(jt(e,Oy),21),v=!1,x=!1,L=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));L.e!=L.i.gc()&&(!v||!x);){for(a=u(br(L),118),d=0,i=Dp(P1(ie(ne(G1,1),_t,20,0,[(!a.d&&(a.d=new yn(ta,a,8,5)),a.d),(!a.e&&(a.e=new yn(ta,a,7,4)),a.e)])));Vr(i)&&(r=u(Nr(i),79),T=h&&Jv(r)&&Bt(Nt(jt(r,Ab))),n=Wct((!r.b&&(r.b=new yn(kr,r,4,7)),r.b),a)?e==ls(Ho(u(_e((!r.c&&(r.c=new yn(kr,r,5,8)),r.c),0),82))):e==ls(Ho(u(_e((!r.b&&(r.b=new yn(kr,r,4,7)),r.b),0),82))),!((T||n)&&(++d,d>1))););(d>0||P.Hc((al(),Z0))&&(!a.n&&(a.n=new ot(Qo,a,1,7)),a.n).i>0)&&(v=!0),d>1&&(x=!0)}v&&t.Fc((mo(),Th)),x&&t.Fc((mo(),eS))}function wut(e){var t,n,r,i,a,h,d,v,x,T,L,P;if(P=u(jt(e,(di(),Nb)),21),P.dc())return null;if(d=0,h=0,P.Hc((Nl(),BO))){for(T=u(jt(e,LS),98),r=2,n=2,i=2,a=2,t=ls(e)?u(jt(ls(e),Lw),103):u(jt(e,Lw),103),x=new ir((!e.c&&(e.c=new ot(xl,e,9,9)),e.c));x.e!=x.i.gc();)if(v=u(br(x),118),L=u(jt(v,J4),61),L==(dt(),cc)&&(L=g5e(v,t),So(v,J4,L)),T==(ya(),Zc))switch(L.g){case 1:r=b.Math.max(r,v.i+v.g);break;case 2:n=b.Math.max(n,v.j+v.f);break;case 3:i=b.Math.max(i,v.i+v.g);break;case 4:a=b.Math.max(a,v.j+v.f)}else switch(L.g){case 1:r+=v.g+2;break;case 2:n+=v.f+2;break;case 3:i+=v.g+2;break;case 4:a+=v.f+2}d=b.Math.max(r,i),h=b.Math.max(n,a)}return iw(e,d,h,!0,!0)}function Jse(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;for(Se=u(Gl(m$(qi(new mn(null,new kn(t.d,16)),new B8(n)),new jL(n)),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)]))),15),L=xi,T=za,v=new C(t.b.j);v.a0,x?x&&(P=ue.p,h?++P:--P,L=u(It(ue.c.a,P),10),r=utt(L),z=!(Ese(r,it,n[0])||jKe(r,it,n[0]))):z=!0),q=!1,Ke=t.D.i,Ke&&Ke.c&&d.e&&(T=h&&Ke.p>0||!h&&Ke.p0&&(t.a+=so),ez(u(br(d),160),t);for(t.a+=ooe,v=new x6((!r.c&&(r.c=new yn(kr,r,5,8)),r.c));v.e!=v.i.gc();)v.e>0&&(t.a+=so),ez(u(br(v),160),t);t.a+=")"}}function Xbn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;if(a=u(W(e,(nt(),Mi)),79),!!a){for(r=e.a,i=new Do(n),Ni(i,$cn(e)),Px(e.d.i,e.c.i)?(P=e.c,L=ic(ie(ne(ea,1),Je,8,0,[P.n,P.a])),pa(L,n)):L=M1(e.c),ks(r,L,r.a,r.a.a),z=M1(e.d),W(e,fle)!=null&&Ni(z,u(W(e,fle),8)),ks(r,z,r.c.b,r.c),qm(r,i),h=h4(a,!0,!0),S$(h,u(_e((!a.b&&(a.b=new yn(kr,a,4,7)),a.b),0),82)),A$(h,u(_e((!a.c&&(a.c=new yn(kr,a,5,8)),a.c),0),82)),eI(r,h),T=new C(e.b);T.a=0){for(v=null,d=new Ca(T.a,x+1);d.bh?1:mv(isNaN(0),isNaN(h)))<0&&(kf(Cd),(b.Math.abs(h-1)<=Cd||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:mv(isNaN(h),isNaN(1)))<0)&&(kf(Cd),(b.Math.abs(0-d)<=Cd||d==0||isNaN(0)&&isNaN(d)?0:0d?1:mv(isNaN(0),isNaN(d)))<0)&&(kf(Cd),(b.Math.abs(d-1)<=Cd||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:mv(isNaN(d),isNaN(1)))<0)),a)}function Zbn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;for(L=new Ive(new Ae(e));L.b!=L.c.a.d;)for(T=kZe(L),d=u(T.d,56),t=u(T.e,56),h=d.Tg(),K=0,Ne=(h.i==null&&wd(h),h.i).length;K=0&&K=x.c.c.length?T=fwe((zn(),js),ca):T=fwe((zn(),ca),ca),T*=2,a=n.a.g,n.a.g=b.Math.max(a,a+(T-a)),h=n.b.g,n.b.g=b.Math.max(h,h+(T-h)),i=t}}function tvn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(Ke=FUe(e),T=new at,d=e.c.length,L=d-1,P=d+1;Ke.a.c!=0;){for(;n.b!=0;)Te=(Qn(n.b!=0),u(bh(n,n.a.a),112)),g_(Ke.a,Te)!=null,Te.g=L--,p5e(Te,t,n,r);for(;t.b!=0;)Ne=(Qn(t.b!=0),u(bh(t,t.a.a),112)),g_(Ke.a,Ne)!=null,Ne.g=P++,p5e(Ne,t,n,r);for(x=za,ue=(h=new e_(new QT(new m(Ke.a).a).b),new g(h));JL(ue.a.a);){if(Q=(a=KR(ue.a),u(a.cd(),112)),!r&&Q.b>0&&Q.a<=0){T.c=Ie(Xn,_t,1,0,5,1),T.c[T.c.length]=Q;break}K=Q.i-Q.d,K>=x&&(K>x&&(T.c=Ie(Xn,_t,1,0,5,1),x=K),T.c[T.c.length]=Q)}T.c.length!=0&&(v=u(It(T,bH(i,T.c.length)),112),g_(Ke.a,v)!=null,v.g=P++,p5e(v,t,n,r),T.c=Ie(Xn,_t,1,0,5,1))}for(Se=e.c.length+1,q=new C(e);q.a0&&(P.d+=T.n.d,P.d+=T.d),P.a>0&&(P.a+=T.n.a,P.a+=T.d),P.b>0&&(P.b+=T.n.b,P.b+=T.d),P.c>0&&(P.c+=T.n.c,P.c+=T.d),P}function yut(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q;for(P=n.d,L=n.c,a=new Ft(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),h=a.b,x=new C(e.a);x.a0&&(e.c[t.c.p][t.p].d+=vl(e.i,24)*pI*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function uvn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(q=new C(e);q.ar.d,r.d=b.Math.max(r.d,t),d&&n&&(r.d=b.Math.max(r.d,r.a),r.a=r.d+i);break;case 3:n=t>r.a,r.a=b.Math.max(r.a,t),d&&n&&(r.a=b.Math.max(r.a,r.d),r.d=r.a+i);break;case 2:n=t>r.c,r.c=b.Math.max(r.c,t),d&&n&&(r.c=b.Math.max(r.b,r.c),r.b=r.c+i);break;case 4:n=t>r.b,r.b=b.Math.max(r.b,t),d&&n&&(r.b=b.Math.max(r.b,r.c),r.c=r.b+i)}}}function dvn(e){var t,n,r,i,a,h,d,v,x,T,L;for(x=new C(e);x.a0||T.j==On&&T.e.c.length-T.g.c.length<0)){t=!1;break}for(i=new C(T.g);i.a=x&&Ke>=Q&&(P+=q.n.b+K.n.b+K.a.b-Ne,++d));if(n)for(h=new C(Se.e);h.a=x&&Ke>=Q&&(P+=q.n.b+K.n.b+K.a.b-Ne,++d))}d>0&&(it+=P/d,++z)}z>0?(t.a=i*it/z,t.g=z):(t.a=0,t.g=0)}function pvn(e,t){var n,r,i,a,h,d,v,x,T,L,P;for(i=new C(e.a.b);i.aDs||t.o==Ib&&T0&&Au(ue,Ne*it),Ke>0&&Lu(ue,Ke*kt);for(L_(e.b,new f3),t=new at,d=new ib(new lg(e.c).a);d.b;)h=jv(d),r=u(h.cd(),79),n=u(h.dd(),395).a,i=h4(r,!1,!1),L=kit(Jd(r),jD(i),n),eI(L,i),Te=Oit(r),Te&&Ko(t,Te,0)==-1&&(t.c[t.c.length]=Te,FWe(Te,(Qn(L.b!=0),u(L.a.a.c,8)),n));for(Q=new ib(new lg(e.d).a);Q.b;)K=jv(Q),r=u(K.cd(),79),n=u(K.dd(),395).a,i=h4(r,!1,!1),L=kit(qp(r),vD(jD(i)),n),L=vD(L),eI(L,i),Te=Nit(r),Te&&Ko(t,Te,0)==-1&&(t.c[t.c.length]=Te,FWe(Te,(Qn(L.b!=0),u(L.c.b.c,8)),n))}function Eut(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;if(n.c.length!=0){for(z=new at,P=new C(n);P.a1)for(z=new E5e(q,Te,r),Da(Te,new gGe(e,z)),h.c[h.c.length]=z,L=Te.a.ec().Kc();L.Ob();)T=u(L.Pb(),46),_u(a,T.b);if(d.a.gc()>1)for(z=new E5e(q,d,r),Da(d,new pGe(e,z)),h.c[h.c.length]=z,L=d.a.ec().Kc();L.Ob();)T=u(L.Pb(),46),_u(a,T.b)}}function _ut(e){vv(e,new hb(WF(dv(lv(fv(hv(new og,Sd),"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 MQ),Sd))),pt(e,Sd,Rz,Ct(Uwt)),pt(e,Sd,dy,Ct(Kwt)),pt(e,Sd,k4,Ct(zwt)),pt(e,Sd,hk,Ct(Gwt)),pt(e,Sd,lk,Ct(qwt)),pt(e,Sd,A7,Ct(Hwt)),pt(e,Sd,mC,Ct(N_e)),pt(e,Sd,L7,Ct(Vwt)),pt(e,Sd,Yoe,Ct(che)),pt(e,Sd,Woe,Ct(uhe)),pt(e,Sd,r8e,Ct(P_e)),pt(e,Sd,Jke,Ct(tV)),pt(e,Sd,e8e,Ct(nV)),pt(e,Sd,t8e,Ct(vO)),pt(e,Sd,n8e,Ct(B_e))}function I5e(e){var t;if(this.r=ZXt(new Ta,new ss),this.b=new R_(u(Or(oo),290)),this.p=new R_(u(Or(oo),290)),this.i=new R_(u(Or(P0t),290)),this.e=e,this.o=new Do(e.rf()),this.D=e.Df()||Bt(Nt(e.We((di(),SO)))),this.A=u(e.We((di(),Nb)),21),this.B=u(e.We(h2),21),this.q=u(e.We(LS),98),this.u=u(e.We(jy),21),!sln(this.u))throw ee(new A3("Invalid port label placement: "+this.u));if(this.v=Bt(Nt(e.We(gSe))),this.j=u(e.We(Q4),21),!L1n(this.j))throw ee(new A3("Invalid node label placement: "+this.j));this.n=u(q_(e,tSe),116),this.k=We(gt(q_(e,vV))),this.d=We(gt(q_(e,wSe))),this.w=We(gt(q_(e,ESe))),this.s=We(gt(q_(e,mSe))),this.t=We(gt(q_(e,ySe))),this.C=u(q_(e,kSe),142),this.c=2*this.d,t=!this.B.Hc((wl(),FO)),this.f=new $_(0,t,0),this.g=new $_(1,t,0),See(this.f,(Jf(),au),this.g)}function Tvn(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;for(Te=0,q=0,z=0,P=1,Se=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));Se.e!=Se.i.gc();)Q=u(br(Se),33),P+=I0(new ur(dr(z0(Q).a.Kc(),new V))),Gt=Q.g,q=b.Math.max(q,Gt),L=Q.f,z=b.Math.max(z,L),Te+=Gt*L;for(K=(!e.a&&(e.a=new ot(fs,e,10,11)),e.a).i,h=Te+2*r*r*P*K,a=b.Math.sqrt(h),v=b.Math.max(a*n,q),d=b.Math.max(a/n,z),ue=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));ue.e!=ue.i.gc();)Q=u(br(ue),33),Ut=i.b+(vl(t,26)*fC+vl(t,27)*dC)*(v-Q.g),Nn=i.b+(vl(t,26)*fC+vl(t,27)*dC)*(d-Q.f),Au(Q,Ut),Lu(Q,Nn);for(kt=v+(i.b+i.c),it=d+(i.d+i.a),Ke=new ir((!e.a&&(e.a=new ot(fs,e,10,11)),e.a));Ke.e!=Ke.i.gc();)for(Ne=u(br(Ke),33),T=new ur(dr(z0(Ne).a.Kc(),new V));Vr(T);)x=u(Nr(T),79),Q_(x)||_wn(x,t,kt,it);kt+=i.b+i.c,it+=i.d+i.a,iw(e,kt,it,!1,!0)}function nz(e){var t,n,r,i,a,h,d,v,x,T,L;if(e==null)throw ee(new ld(Iu));if(x=e,a=e.length,v=!1,a>0&&(t=(zr(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=e.substr(1),--a,v=t==45)),a==0)throw ee(new ld(ow+x+'"'));for(;e.length>0&&(zr(0,e.length),e.charCodeAt(0)==48);)e=e.substr(1),--a;if(a>(dct(),Pdt)[10])throw ee(new ld(ow+x+'"'));for(i=0;i0&&(L=-parseInt(e.substr(0,r),10),e=e.substr(r),a-=r,n=!1);a>=h;){if(r=parseInt(e.substr(0,h),10),e=e.substr(h),a-=h,n)n=!1;else{if(Lc(L,d)<0)throw ee(new ld(ow+x+'"'));L=Ha(L,T)}L=Gp(L,r)}if(Lc(L,0)>0)throw ee(new ld(ow+x+'"'));if(!v&&(L=Ex(L),Lc(L,0)<0))throw ee(new ld(ow+x+'"'));return L}function O5e(e,t){eKe();var n,r,i,a,h,d,v;if(this.a=new E2e(this),this.b=e,this.c=t,this.f=hne(No((Uu(),Oa),t)),this.f.dc())if((d=w3e(Oa,e))==t)for(this.e=!0,this.d=new at,this.f=new p8,this.f.Fc(xb),u(ZH(JM(Oa,ql(e)),""),26)==e&&this.f.Fc(s_(Oa,ql(e))),i=Ose(Oa,e).Kc();i.Ob();)switch(r=u(i.Pb(),170),Mv(No(Oa,r))){case 4:{this.d.Fc(r);break}case 5:{this.f.Gc(hne(No(Oa,r)));break}}else if(ho(),u(t,66).Oj())for(this.e=!0,this.f=null,this.d=new at,h=0,v=(e.i==null&&wd(e),e.i).length;h=0&&h0&&(u(_o(e.b,t),124).a.b=n)}function _vn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(Er(t,"Comment pre-processing",1),n=0,v=new C(e.a);v.a0&&(v=(zr(0,t.length),t.charCodeAt(0)),v!=64)){if(v==37&&(L=t.lastIndexOf("%"),x=!1,L!=0&&(L==P-1||(x=(zr(L+1,t.length),t.charCodeAt(L+1)==46))))){if(h=t.substr(1,L-1),Te=on("%",h)?null:P5e(h),r=0,x)try{r=Wl(t.substr(L+2),za,xi)}catch(Ne){throw Ne=ts(Ne),me(Ne,127)?(d=Ne,ee(new h$(d))):ee(Ne)}for(Q=pme(e.Wg());Q.Ob();)if(q=$$(Q),me(q,510)&&(i=u(q,590),Se=i.d,(Te==null?Se==null:on(Te,Se))&&r--==0))return i;return null}if(T=t.lastIndexOf("."),z=T==-1?t:t.substr(0,T),n=0,T!=-1)try{n=Wl(t.substr(T+1),za,xi)}catch(Ne){if(Ne=ts(Ne),me(Ne,127))z=t;else throw ee(Ne)}for(z=on("%",z)?null:P5e(z),K=pme(e.Wg());K.Ob();)if(q=$$(K),me(q,191)&&(a=u(q,191),ue=a.ne(),(z==null?ue==null:on(z,ue))&&n--==0))return a;return null}return Xct(e,t)}function Avn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn;for(it=new at,q=new C(e.b);q.a=t.length)return{done:!0};var i=t[r++];return{value:[i,n.get(i)],done:!1}}}},O0n()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,n){this.obj[":"+t]=n},e.prototype[Fae]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var n in this.obj)n.charCodeAt(0)==58&&t.push(n.substring(1));return t}),e}function Mvn(e){d5e();var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(e==null)return null;if(L=e.length*8,L==0)return"";for(d=L%24,z=L/24|0,P=d!=0?z+1:z,a=null,a=Ie(Sh,yd,25,P*4,15,1),x=0,T=0,t=0,n=0,r=0,h=0,i=0,v=0;v>24,x=(t&3)<<24>>24,q=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,K=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,Q=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,a[h++]=Yg[q],a[h++]=Yg[K|x<<4],a[h++]=Yg[T<<2|Q],a[h++]=Yg[r&63];return d==8?(t=e[i],x=(t&3)<<24>>24,q=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,a[h++]=Yg[q],a[h++]=Yg[x<<4],a[h++]=61,a[h++]=61):d==16&&(t=e[i],n=e[i+1],T=(n&15)<<24>>24,x=(t&3)<<24>>24,q=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,K=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,a[h++]=Yg[q],a[h++]=Yg[K|x<<4],a[h++]=Yg[T<<2],a[h++]=61),Fh(a,0,a.length)}function Dvn(e,t){var n,r,i,a,h,d,v;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>za&&gwe(t,e.p-Xp),h=t.q.getDate(),BM(t,1),e.k>=0&&dZt(t,e.k),e.c>=0?BM(t,e.c):e.k>=0?(v=new Pme(t.q.getFullYear()-Xp,t.q.getMonth(),35),r=35-v.q.getDate(),BM(t,b.Math.min(r,h))):BM(t,h),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),TVt(t,e.f==24&&e.g?0:e.f),e.j>=0&&Ten(t,e.j),e.n>=0&&zen(t,e.n),e.i>=0&&JGe(t,Wa(Ha(PD(Mu(t.q.getTime()),Ig),Ig),e.i)),e.a&&(i=new tR,gwe(i,i.q.getFullYear()-Xp-80),Hee(Mu(t.q.getTime()),Mu(i.q.getTime()))&&gwe(t,i.q.getFullYear()-Xp+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),d=t.q.getMonth(),BM(t,t.q.getDate()+n),t.q.getMonth()!=d&&BM(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>za&&(a=t.q.getTimezoneOffset(),JGe(t,Wa(Mu(t.q.getTime()),(e.o-a)*60*Ig))),!0}function Aut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(i=W(t,(nt(),Mi)),!!me(i,239)){for(q=u(i,33),K=t.e,P=new Do(t.c),a=t.d,P.a+=a.b,P.b+=a.d,Ne=u(jt(q,(mt(),Oq)),174),zu(Ne,(wl(),yV))&&(z=u(jt(q,wTe),116),dge(z,a.a),KJ(z,a.d),gge(z,a.b),mge(z,a.c)),n=new at,T=new C(t.a);T.a0&&st(e.p,T),st(e.o,T);t-=r,z=v+t,x+=t*e.e,gh(e.a,d,lt(z)),gh(e.b,d,x),e.j=b.Math.max(e.j,z),e.k=b.Math.max(e.k,x),e.d+=t,t+=K}}function dt(){dt=de;var e;cc=new hM(bC,0),Ln=new hM(dz,1),$n=new hM(Kae,2),Tr=new hM(Wae,3),On=new hM(Yae,4),X1=(fn(),new H8((e=u(Wf(oo),9),new hh(e,u(bf(e,e.length),9),0)))),Nf=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[]))),_h=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[]))),th=Tg(Vi(Tr,ie(ne(oo,1),Mc,61,0,[]))),Qh=Tg(Vi(On,ie(ne(oo,1),Mc,61,0,[]))),Nu=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[Tr]))),gu=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[On]))),Pf=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[On]))),ul=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n]))),nh=Tg(Vi(Tr,ie(ne(oo,1),Mc,61,0,[On]))),Ch=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[Tr]))),ll=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n,On]))),Ou=Tg(Vi($n,ie(ne(oo,1),Mc,61,0,[Tr,On]))),Pu=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[Tr,On]))),Xu=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n,Tr]))),Jc=Tg(Vi(Ln,ie(ne(oo,1),Mc,61,0,[$n,Tr,On])))}function Iut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;if(t.b!=0){for(z=new as,d=null,q=null,r=_s(b.Math.floor(b.Math.log(t.b)*b.Math.LOG10E)+1),v=0,Te=si(t,0);Te.b!=Te.d.c;)for(ue=u(ii(Te),86),$e(q)!==$e(W(ue,(xc(),kS)))&&(q=Hr(W(ue,kS)),v=0),q!=null?d=q+QYe(v++,r):d=QYe(v++,r),Qe(ue,kS,d),Q=(i=si(new mp(ue).a.d,0),new u6(i));QF(Q.a);)K=u(ii(Q.a),188).c,ks(z,K,z.c.b,z.c),Qe(K,kS,d);for(P=new Ar,h=0;h=v){Qn(ue.b>0),ue.a.Xb(ue.c=--ue.b);break}else K.a>x&&(i?(Ps(i.b,K.b),i.a=b.Math.max(i.a,K.a),Dl(ue)):(st(K.b,L),K.c=b.Math.min(K.c,x),K.a=b.Math.max(K.a,v),i=K));i||(i=new p$e,i.c=x,i.a=v,Lm(ue,i),st(i.b,L))}for(d=t.b,T=0,Q=new C(r);Q.ad?1:0:(e.b&&(e.b._b(a)&&(i=u(e.b.xc(a),19).a),e.b._b(v)&&(d=u(e.b.xc(v),19).a)),id?1:0)):t.e.c.length!=0&&n.g.c.length!=0?1:-1}function Pvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt;for(Er(t,xht,1),K=new at,it=new at,x=new C(e.b);x.a0&&(Te-=z),T5e(h,Te),T=0,P=new C(h.a);P.a0),d.a.Xb(d.c=--d.b)),v=.4*r*T,!a&&d.bt.d.c){if(z=e.c[t.a.d],Q=e.c[L.a.d],z==Q)continue;Tf(gf(df(pf(ff(new Ih,1),100),z),Q))}}}}}function P5e(e){Xse();var t,n,r,i,a,h,d,v;if(e==null)return null;if(i=hd(e,Du(37)),i<0)return e;for(v=new jl(e.substr(0,i)),t=Ie(Qu,C4,25,4,15,1),d=0,r=0,h=e.length;ii+2&&zre((zr(i+1,e.length),e.charCodeAt(i+1)),sAe,aAe)&&zre((zr(i+2,e.length),e.charCodeAt(i+2)),sAe,aAe))if(n=cYt((zr(i+1,e.length),e.charCodeAt(i+1)),(zr(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?(n&192)==128?t[d++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[d++]=n<<24>>24,r=2):(n&240)==224?(t[d++]=n<<24>>24,r=3):(n&248)==240&&(t[d++]=n<<24>>24,r=4)),r>0){if(d==r){switch(d){case 2:{Ip(v,((t[0]&31)<<6|t[1]&63)&Ss);break}case 3:{Ip(v,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Ss);break}}d=0,r=0}}else{for(a=0;a0){if(h+r>e.length)return!1;d=IH(e.substr(0,h+r),t)}else d=IH(e,t);switch(a){case 71:return d=o4(e,h,ie(ne(Et,1),Je,2,6,[glt,plt]),t),i.e=d,!0;case 77:return x0n(e,t,i,d,h);case 76:return E0n(e,t,i,d,h);case 69:return ghn(e,t,h,i);case 99:return phn(e,t,h,i);case 97:return d=o4(e,h,ie(ne(Et,1),Je,2,6,["AM","PM"]),t),i.b=d,!0;case 121:return T0n(e,t,h,d,n,i);case 100:return d<=0?!1:(i.c=d,!0);case 83:return d<0?!1:Asn(d,h,t[0],i);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(i.f=d,i.g=!1,!0);case 107:return d<0?!1:(i.f=d,i.g=!0,!0);case 109:return d<0?!1:(i.j=d,!0);case 115:return d<0?!1:(i.n=d,!0);case 90:if(hit&&(q.c=it-q.b),st(h.d,new ine(q,hye(h,q))),Se=t==Ln?b.Math.max(Se,K.b+x.b.rf().b):b.Math.min(Se,K.b));for(Se+=t==Ln?e.t:-e.t,Te=Sye((h.e=Se,h)),Te>0&&(u(_o(e.b,t),124).a.b=Te),T=P.Kc();T.Ob();)x=u(T.Pb(),111),!(!x.c||x.c.d.c.length<=0)&&(q=x.c.i,q.c-=x.e.a,q.d-=x.e.b)}function zvn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;for(t=new Ar,v=new ir(e);v.e!=v.i.gc();){for(d=u(br(v),33),n=new Ys,Si(gue,d,n),z=new Ot,i=u(Gl(new mn(null,new Cv(new ur(dr(UD(d).a.Kc(),new V)))),xKe(z,Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[(F1(),Zl)])))),83),VJe(n,u(i.xc((In(),!0)),14),new im),r=u(Gl(qi(u(i.xc(!1),15).Lc(),new Kt),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[Zl]))),15),h=r.Kc();h.Ob();)a=u(h.Pb(),79),P=Oit(a),P&&(x=u(hc(jo(t.f,P)),21),x||(x=Jat(P),lu(t.f,P,x)),ro(n,x));for(i=u(Gl(new mn(null,new Cv(new ur(dr(z0(d).a.Kc(),new V)))),xKe(z,Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[Zl])))),83),VJe(n,u(i.xc(!0),14),new id),r=u(Gl(qi(u(i.xc(!1),15).Lc(),new sm),Q2(new wt,new Tt,new Fn,ie(ne(yl,1),rt,132,0,[Zl]))),15),L=r.Kc();L.Ob();)T=u(L.Pb(),79),P=Nit(T),P&&(x=u(hc(jo(t.f,P)),21),x||(x=Jat(P),lu(t.f,P,x)),ro(n,x))}}function Gvn(e,t){qse();var n,r,i,a,h,d,v,x,T,L,P,z,q,K;if(v=Lc(e,0)<0,v&&(e=Ex(e)),Lc(e,0)==0)switch(t){case 0:return"0";case 1:return x7;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 z=new yp,t<0?z.a+="0E+":z.a+="0E",z.a+=t==za?"2147483648":""+-t,z.a}T=18,L=Ie(Sh,yd,25,T+1,15,1),n=T,K=e;do x=K,K=PD(K,10),L[--n]=Ir(Wa(48,Gp(x,Ha(K,10))))&Ss;while(Lc(K,0)!=0);if(i=Gp(Gp(Gp(T,n),t),1),t==0)return v&&(L[--n]=45),Fh(L,n,T-n);if(t>0&&Lc(i,-6)>=0){if(Lc(i,0)>=0){for(a=n+Ir(i),d=T-1;d>=a;d--)L[d+1]=L[d];return L[++a]=46,v&&(L[--n]=45),Fh(L,n,T-n+1)}for(h=2;Hee(h,Wa(Ex(i),1));h++)L[--n]=48;return L[--n]=46,L[--n]=48,v&&(L[--n]=45),Fh(L,n,T-n)}return q=n+1,r=T,P=new ym,v&&(P.a+="-"),r-q>=1?(Ip(P,L[n]),P.a+=".",P.a+=Fh(L,n+1,T-n-1)):P.a+=Fh(L,n,T-n),P.a+="E",Lc(i,0)>0&&(P.a+="+"),P.a+=""+a_(i),P.a}function qvn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z;if(e.e.a.$b(),e.f.a.$b(),e.c.c=Ie(Xn,_t,1,0,5,1),e.i.c=Ie(Xn,_t,1,0,5,1),e.g.a.$b(),t)for(h=new C(t.a);h.a=1&&(Ke-x>0&&q>=0?(Au(L,L.i+Ne),Lu(L,L.j+v*x)):Ke-x<0&&z>=0&&(Au(L,L.i+Ne*Ke),Lu(L,L.j+v)));return So(e,(di(),Nb),(Nl(),a=u(Wf(FS),9),new hh(a,u(bf(a,a.length),9),0))),new Ft(it,T)}function Put(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q;if(z=ls(Ho(u(_e((!e.b&&(e.b=new yn(kr,e,4,7)),e.b),0),82))),q=ls(Ho(u(_e((!e.c&&(e.c=new yn(kr,e,5,8)),e.c),0),82))),L=z==q,d=new $a,t=u(jt(e,(V$(),DSe)),74),t&&t.b>=2){if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i==0)n=(gv(),i=new ad,i),Pr((!e.a&&(e.a=new ot(os,e,6,6)),e.a),n);else if((!e.a&&(e.a=new ot(os,e,6,6)),e.a).i>1)for(P=new x6((!e.a&&(e.a=new ot(os,e,6,6)),e.a));P.e!=P.i.gc();)U_(P);eI(t,u(_e((!e.a&&(e.a=new ot(os,e,6,6)),e.a),0),202))}if(L)for(r=new ir((!e.a&&(e.a=new ot(os,e,6,6)),e.a));r.e!=r.i.gc();)for(n=u(br(r),202),x=new ir((!n.a&&(n.a=new Ns(Zh,n,5)),n.a));x.e!=x.i.gc();)v=u(br(x),469),d.a=b.Math.max(d.a,v.a),d.b=b.Math.max(d.b,v.b);for(h=new ir((!e.n&&(e.n=new ot(Qo,e,1,7)),e.n));h.e!=h.i.gc();)a=u(br(h),137),T=u(jt(a,DS),8),T&&_1(a,T.a,T.b),L&&(d.a=b.Math.max(d.a,a.i+a.g),d.b=b.Math.max(d.b,a.j+a.f));return d}function Vvn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt;for(Te=t.c.length,i=new d4(e.a,n,null,null),Gt=Ie(va,Ao,25,Te,15,1),K=Ie(va,Ao,25,Te,15,1),q=Ie(va,Ao,25,Te,15,1),Q=0,d=0;dGt[v]&&(Q=v),L=new C(e.a.b);L.az&&(a&&(H2(it,P),H2(Gt,lt(x.b-1))),yi=n.b,Us+=P+t,P=0,T=b.Math.max(T,n.b+n.c+gr)),Au(d,yi),Lu(d,Us),T=b.Math.max(T,yi+gr+n.c),P=b.Math.max(P,L),yi+=gr+t;if(T=b.Math.max(T,r),Rn=Us+P+n.a,RnEd,Ut=b.Math.abs(P.b-q.b)>Ed,(!n&&Gt&&Ut||n&&(Gt||Ut))&&oi(Q.a,Ne)),ro(Q.a,r),r.b==0?P=Ne:P=(Qn(r.b!=0),u(r.c.b.c,8)),urn(z,L,K),Eet(i)==kt&&(Xa(kt.i)!=i.a&&(K=new $a,J3e(K,Xa(kt.i),Se)),Qe(Q,fle,K)),Oln(z,Q,Se),T.a.zc(z,T);Ka(Q,Ke),wa(Q,kt)}for(x=T.a.ec().Kc();x.Ob();)v=u(x.Pb(),17),Ka(v,null),wa(v,null);lr(t)}function But(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(e.gc()==1)return u(e.Xb(0),231);if(e.gc()<=0)return new t$;for(i=e.Kc();i.Ob();){for(n=u(i.Pb(),231),q=0,T=xi,L=xi,v=za,x=za,z=new C(n.e);z.ad&&(Te=0,Ne+=h+ue,h=0),Dgn(K,n,Te,Ne),t=b.Math.max(t,Te+Q.a),h=b.Math.max(h,Q.b),Te+=Q.a+ue;return K}function Fut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q;switch(T=new $u,e.a.g){case 3:P=u(W(t.e,(nt(),Sb)),15),z=u(W(t.j,Sb),15),q=u(W(t.f,Sb),15),n=u(W(t.e,z4),15),r=u(W(t.j,z4),15),i=u(W(t.f,z4),15),h=new at,Ps(h,P),z.Jc(new _X),Ps(h,me(z,152)?R6(u(z,152)):me(z,131)?u(z,131).a:me(z,54)?new uv(z):new km(z)),Ps(h,q),a=new at,Ps(a,n),Ps(a,me(r,152)?R6(u(r,152)):me(r,131)?u(r,131).a:me(r,54)?new uv(r):new km(r)),Ps(a,i),Qe(t.f,Sb,h),Qe(t.f,z4,a),Qe(t.f,b9e,t.f),Qe(t.e,Sb,null),Qe(t.e,z4,null),Qe(t.j,Sb,null),Qe(t.j,z4,null);break;case 1:ro(T,t.e.a),oi(T,t.i.n),ro(T,J2(t.j.a)),oi(T,t.a.n),ro(T,t.f.a);break;default:ro(T,t.e.a),ro(T,J2(t.j.a)),ro(T,t.f.a)}Ph(t.f.a),ro(t.f.a,T),Ka(t.f,t.e.c),d=u(W(t.e,(mt(),Fo)),74),x=u(W(t.j,Fo),74),v=u(W(t.f,Fo),74),(d||x||v)&&(L=new $u,xve(L,v),xve(L,x),xve(L,d),Qe(t.f,Fo,L)),Ka(t.j,null),wa(t.j,null),Ka(t.e,null),wa(t.e,null),Oo(t.a,null),Oo(t.i,null),t.g&&Fut(e,t.g)}function Yvn(e){d5e();var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;if(e==null||(a=d$(e),q=Bin(a),q%4!=0))return null;if(K=q/4|0,K==0)return Ie(Qu,C4,25,0,15,1);for(L=null,t=0,n=0,r=0,i=0,h=0,d=0,v=0,x=0,z=0,P=0,T=0,L=Ie(Qu,C4,25,K*3,15,1);z>4)<<24>>24,L[P++]=((n&15)<<4|r>>2&15)<<24>>24,L[P++]=(r<<6|i)<<24>>24}return!KL(h=a[T++])||!KL(d=a[T++])?null:(t=Z1[h],n=Z1[d],v=a[T++],x=a[T++],Z1[v]==-1||Z1[x]==-1?v==61&&x==61?n&15?null:(Q=Ie(Qu,C4,25,z*3+1,15,1),Rc(L,0,Q,0,z*3),Q[P]=(t<<2|n>>4)<<24>>24,Q):v!=61&&x==61?(r=Z1[v],r&3?null:(Q=Ie(Qu,C4,25,z*3+2,15,1),Rc(L,0,Q,0,z*3),Q[P++]=(t<<2|n>>4)<<24>>24,Q[P]=((n&15)<<4|r>>2&15)<<24>>24,Q)):null:(r=Z1[v],i=Z1[x],L[P++]=(t<<2|n>>4)<<24>>24,L[P++]=((n&15)<<4|r>>2&15)<<24>>24,L[P++]=(r<<6|i)<<24>>24,L))}function Xvn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(Er(t,xht,1),q=u(W(e,(mt(),W0)),218),i=new C(e.b);i.a=2){for(K=!0,P=new C(a.j),n=u(Y(P),11),z=null;P.a0&&(i=u(It(Q.c.a,it-1),10),h=e.i[i.p],Gt=b.Math.ceil(F3(e.n,i,Q)),a=Ke.a.e-Q.d.d-(h.a.e+i.o.b+i.d.a)-Gt),x=ps,it0&&kt.a.e.e-kt.a.a-(kt.b.e.e-kt.b.a)<0,q=Te.a.e.e-Te.a.a-(Te.b.e.e-Te.b.a)<0&&kt.a.e.e-kt.a.a-(kt.b.e.e-kt.b.a)>0,z=Te.a.e.e+Te.b.akt.b.e.e+kt.a.a,Ne=0,!K&&!q&&(P?a+L>0?Ne=L:x-r>0&&(Ne=r):z&&(a+d>0?Ne=d:x-Se>0&&(Ne=Se))),Ke.a.e+=Ne,Ke.b&&(Ke.d.e+=Ne),!1))}function jut(e,t,n){var r,i,a,h,d,v,x,T,L,P;if(r=new fh(t.qf().a,t.qf().b,t.rf().a,t.rf().b),i=new k6,e.c)for(h=new C(t.wf());h.ax&&(r.a+=zqe(Ie(Sh,yd,25,-x,15,1))),r.a+="Is",hd(v,Du(32))>=0)for(i=0;i=r.o.b/2}else Se=!L;Se?(ue=u(W(r,(nt(),Sk)),15),ue?P?a=ue:(i=u(W(r,xk),15),i?ue.gc()<=i.gc()?a=ue:a=i:(a=new at,Qe(r,xk,a))):(a=new at,Qe(r,Sk,a))):(i=u(W(r,(nt(),xk)),15),i?L?a=i:(ue=u(W(r,Sk),15),ue?i.gc()<=ue.gc()?a=i:a=ue:(a=new at,Qe(r,Sk,a))):(a=new at,Qe(r,xk,a))),a.Fc(e),Qe(e,(nt(),bq),n),t.d==n?(wa(t,null),n.e.c.length+n.g.c.length==0&&nc(n,null),qrn(n)):(Ka(t,null),n.e.c.length+n.g.c.length==0&&nc(n,null)),Ph(t.a)}function ewn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi;for(Se=new Ca(e.b,0),T=t.Kc(),q=0,x=u(T.Pb(),19).a,Ke=0,n=new Ys,kt=new C0;Se.b=e.a&&(r=jpn(e,Se),T=b.Math.max(T,r.b),Ne=b.Math.max(Ne,r.d),st(d,new _a(Se,r)));for(Gt=new at,x=0;x0),Q.a.Xb(Q.c=--Q.b),Ut=new Nh(e.b),Lm(Q,Ut),Qn(Q.b0?(x=0,Q&&(x+=d),x+=(Ut-1)*h,Te&&(x+=d),Gt&&Te&&(x=b.Math.max(x,Rdn(Te,h,Se,kt))),x0){for(P=T<100?null:new kp(T),x=new mme(t),q=x.g,ue=Ie(Sr,Jr,25,T,15,1),r=0,Ne=new Rv(T),i=0;i=0;)if(z!=null?Ci(z,q[v]):$e(z)===$e(q[v])){ue.length<=r&&(Q=ue,ue=Ie(Sr,Jr,25,2*ue.length,15,1),Rc(Q,0,ue,0,r)),ue[r++]=i,Pr(Ne,q[v]);break e}if(z=z,$e(z)===$e(d))break}}if(x=Ne,q=Ne.g,T=r,r>ue.length&&(Q=ue,ue=Ie(Sr,Jr,25,r,15,1),Rc(Q,0,ue,0,r)),r>0){for(Te=!0,a=0;a=0;)X6(e,ue[h]);if(r!=T){for(i=T;--i>=r;)X6(x,i);Q=ue,ue=Ie(Sr,Jr,25,r,15,1),Rc(Q,0,ue,0,r)}t=x}}}else for(t=Bon(e,t),i=e.i;--i>=0;)t.Hc(e.g[i])&&(X6(e,i),Te=!0);if(Te){if(ue!=null){for(n=t.gc(),L=n==1?p_(e,4,t.Kc().Pb(),null,ue[0],K):p_(e,6,t,ue,ue[0],K),P=n<100?null:new kp(n),i=t.Kc();i.Ob();)z=i.Pb(),P=Ebe(e,u(z,72),P);P?(P.Ei(L),P.Fi()):_i(e.e,L)}else{for(P=YUt(t.gc()),i=t.Kc();i.Ob();)z=i.Pb(),P=Ebe(e,u(z,72),P);P&&P.Fi()}return!0}else return!1}function swn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te;for(n=new drt(t),n.a||zgn(t),x=G0n(t),v=new Ov,Q=new oot,K=new C(t.a);K.a0||n.o==K1&&i0?(L=u(It(P.c.a,h-1),10),Gt=F3(e.b,P,L),Q=P.n.b-P.d.d-(L.n.b+L.o.b+L.d.a+Gt)):Q=P.n.b-P.d.d,x=b.Math.min(Q,x),hh?h7(e,t,n):h7(e,n,t),ih?1:0}return r=u(W(t,(nt(),Oc)),19).a,a=u(W(n,Oc),19).a,r>a?h7(e,t,n):h7(e,n,t),ra?1:0}function B5e(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;if(Bt(Nt(jt(t,(di(),pV)))))return fn(),fn(),bo;if(x=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i!=0,L=Khn(t),T=!L.dc(),x||T){if(i=u(jt(t,pE),149),!i)throw ee(new A3("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(Se=s2e(i,(o7(),AV)),Wnt(t),!x&&T&&!Se)return fn(),fn(),bo;if(v=new at,$e(jt(t,Y4))===$e((R0(),qg))&&(s2e(i,CV)||s2e(i,_V)))for(z=Mot(e,t),q=new as,ro(q,(!t.a&&(t.a=new ot(fs,t,10,11)),t.a));q.b!=0;)P=u(q.b==0?null:(Qn(q.b!=0),bh(q,q.a.a)),33),Wnt(P),ue=$e(jt(P,Y4))===$e(IS),ue||X2(P,AS)&&!mwe(i,jt(P,pE))?(d=B5e(e,P,n,r),Ps(v,d),So(P,Y4,IS),Kot(P)):ro(q,(!P.a&&(P.a=new ot(fs,P,10,11)),P.a));else for(z=(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i,h=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));h.e!=h.i.gc();)a=u(br(h),33),d=B5e(e,a,n,r),Ps(v,d),Kot(a);for(Q=new C(v);Q.a=0?z=U6(d):z=ED(U6(d)),e.Ye(oE,z)),x=new $a,P=!1,e.Xe(_w)?(W2e(x,u(e.We(_w),8)),P=!0):NVt(x,h.a/2,h.b/2),z.g){case 4:Qe(T,du,(mh(),a2)),Qe(T,wq,(nb(),B4)),T.o.b=h.b,K<0&&(T.o.a=-K),qs(L,(dt(),$n)),P||(x.a=h.a),x.a-=h.a;break;case 2:Qe(T,du,(mh(),Sy)),Qe(T,wq,(nb(),J7)),T.o.b=h.b,K<0&&(T.o.a=-K),qs(L,(dt(),On)),P||(x.a=0);break;case 1:Qe(T,Cb,(P0(),R4)),T.o.a=h.a,K<0&&(T.o.b=-K),qs(L,(dt(),Tr)),P||(x.b=h.b),x.b-=h.b;break;case 3:Qe(T,Cb,(P0(),kk)),T.o.a=h.a,K<0&&(T.o.b=-K),qs(L,(dt(),Ln)),P||(x.b=0)}if(W2e(L.n,x),Qe(T,_w,x),t==Fb||t==f0||t==Zc){if(q=0,t==Fb&&e.Xe(jg))switch(z.g){case 1:case 2:q=u(e.We(jg),19).a;break;case 3:case 4:q=-u(e.We(jg),19).a}else switch(z.g){case 4:case 2:q=a.b,t==f0&&(q/=i.b);break;case 1:case 3:q=a.a,t==f0&&(q/=i.a)}Qe(T,xw,q)}return Qe(T,vc,z),T}function cwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;if(n=We(gt(W(e.a.j,(mt(),X9e)))),n<-1||!e.a.i||_6(u(W(e.a.o,vs),98))||sc(e.a.o,(dt(),$n)).gc()<2&&sc(e.a.o,On).gc()<2)return!0;if(e.a.c.Rf())return!1;for(Ke=0,Ne=0,Te=new at,v=e.a.e,x=0,T=v.length;x=n}function uwn(){wpe();function e(r){var i=this;this.dispatch=function(a){var h=a.data;switch(h.cmd){case"algorithms":var d=Cye((fn(),new E(new x1(w2.b))));r.postMessage({id:h.id,data:d});break;case"categories":var v=Cye((fn(),new E(new x1(w2.c))));r.postMessage({id:h.id,data:v});break;case"options":var x=Cye((fn(),new E(new x1(w2.d))));r.postMessage({id:h.id,data:x});break;case"register":bbn(h.algorithms),r.postMessage({id:h.id});break;case"layout":Xpn(h.graph,h.layoutOptions||{},h.options||{}),r.postMessage({id:h.id,data:h.graph});break}},this.saveDispatch=function(a){try{i.dispatch(a)}catch(h){r.postMessage({id:a.data.id,error:h})}}}function t(r){var i=this;this.dispatcher=new e({postMessage:function(a){i.onmessage({data:a})}}),this.postMessage=function(a){setTimeout(function(){i.dispatcher.saveDispatch({data:a})},0)}}if(typeof document===Hae&&typeof self!==Hae){var n=new e(self);self.onmessage=n.saveDispatch}else typeof p!==Hae&&p.exports&&(Object.defineProperty(w,"__esModule",{value:!0}),p.exports={default:t,Worker:t})}function lwn(e){e.N||(e.N=!0,e.b=gc(e,0),hs(e.b,0),hs(e.b,1),hs(e.b,2),e.bb=gc(e,1),hs(e.bb,0),hs(e.bb,1),e.fb=gc(e,2),hs(e.fb,3),hs(e.fb,4),Hi(e.fb,5),e.qb=gc(e,3),hs(e.qb,0),Hi(e.qb,1),Hi(e.qb,2),hs(e.qb,3),hs(e.qb,4),Hi(e.qb,5),hs(e.qb,6),e.a=hi(e,4),e.c=hi(e,5),e.d=hi(e,6),e.e=hi(e,7),e.f=hi(e,8),e.g=hi(e,9),e.i=hi(e,10),e.j=hi(e,11),e.k=hi(e,12),e.n=hi(e,13),e.o=hi(e,14),e.p=hi(e,15),e.q=hi(e,16),e.s=hi(e,17),e.r=hi(e,18),e.t=hi(e,19),e.u=hi(e,20),e.v=hi(e,21),e.w=hi(e,22),e.B=hi(e,23),e.A=hi(e,24),e.C=hi(e,25),e.D=hi(e,26),e.F=hi(e,27),e.G=hi(e,28),e.H=hi(e,29),e.J=hi(e,30),e.I=hi(e,31),e.K=hi(e,32),e.M=hi(e,33),e.L=hi(e,34),e.P=hi(e,35),e.Q=hi(e,36),e.R=hi(e,37),e.S=hi(e,38),e.T=hi(e,39),e.U=hi(e,40),e.V=hi(e,41),e.X=hi(e,42),e.W=hi(e,43),e.Y=hi(e,44),e.Z=hi(e,45),e.$=hi(e,46),e._=hi(e,47),e.ab=hi(e,48),e.cb=hi(e,49),e.db=hi(e,50),e.eb=hi(e,51),e.gb=hi(e,52),e.hb=hi(e,53),e.ib=hi(e,54),e.jb=hi(e,55),e.kb=hi(e,56),e.lb=hi(e,57),e.mb=hi(e,58),e.nb=hi(e,59),e.ob=hi(e,60),e.pb=hi(e,61))}function hwn(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne;if(Se=0,t.f.a==0)for(Q=new C(e);Q.ax&&(En(x,t.c.length),u(t.c[x],200)).a.c.length==0;)_u(t,(En(x,t.c.length),t.c[x]));if(!v){--a;continue}if(Qgn(t,T,i,v,P,n,x,r)){L=!0;continue}if(P){if(i2n(t,T,i,v,n,x,r)){L=!0;continue}else if(Jme(T,i)){i.c=!0,L=!0;continue}}else if(Jme(T,i)){i.c=!0,L=!0;continue}if(L)continue}if(Jme(T,i)){i.c=!0,L=!0,v&&(v.k=!1);continue}else yH(i.q)}return L}function nae(e,t,n,r,i,a,h){var d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us;for(K=0,Nn=0,x=new C(e.b);x.aK&&(a&&(H2(it,z),H2(Gt,lt(T.b-1)),st(e.d,q),d.c=Ie(Xn,_t,1,0,5,1)),yi=n.b,Us+=z+t,z=0,L=b.Math.max(L,n.b+n.c+gr)),d.c[d.c.length]=v,art(v,yi,Us),L=b.Math.max(L,yi+gr+n.c),z=b.Math.max(z,P),yi+=gr+t,q=v;if(Ps(e.a,d),st(e.d,u(It(d,d.c.length-1),157)),L=b.Math.max(L,r),Rn=Us+z+n.a,Rn1&&(h=b.Math.min(h,b.Math.abs(u(n1(d.a,1),8).b-T.b)))));else for(K=new C(t.j);K.ai&&(a=P.a-i,h=xi,r.c=Ie(Xn,_t,1,0,5,1),i=P.a),P.a>=i&&(r.c[r.c.length]=d,d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(n1(d.a,d.a.b-2),8).b-P.b)))));if(r.c.length!=0&&a>t.o.a/2&&h>t.o.b/2){for(z=new Fc,nc(z,t),qs(z,(dt(),Ln)),z.n.a=t.o.a/2,ue=new Fc,nc(ue,t),qs(ue,Tr),ue.n.a=t.o.a/2,ue.n.b=t.o.b,v=new C(r);v.a=x.b?Ka(d,ue):Ka(d,z)):(x=u(oYt(d.a),8),Q=d.a.b==0?M1(d.c):u(UR(d.a),8),Q.b>=x.b?wa(d,ue):wa(d,z)),L=u(W(d,(mt(),Fo)),74),L&&Wm(L,x,!0);t.n.a=i-t.o.a/2}}function bwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf;if(Nn=null,gr=t,Rn=VXe(e,HXe(n),gr),__(Rn,D0(gr,Ad)),yi=u(U3(e.g,Z6(M0(gr,hce))),33),P=M0(gr,"sourcePort"),r=null,P&&(r=Z6(P)),Us=u(U3(e.j,r),118),!yi)throw d=Qx(gr),q="An edge must have a source node (edge id: '"+d,K=q+P7,ee(new ud(K));if(Us&&!pd(A1(Us),yi))throw v=D0(gr,Ad),Q="The source port of an edge must be a port of the edge's source node (edge id: '"+v,ue=Q+P7,ee(new ud(ue));if(Gt=(!Rn.b&&(Rn.b=new yn(kr,Rn,4,7)),Rn.b),a=null,Us?a=Us:a=yi,Pr(Gt,a),ih=u(U3(e.g,Z6(M0(gr,P8e))),33),z=M0(gr,"targetPort"),i=null,z&&(i=Z6(z)),rf=u(U3(e.j,i),118),!ih)throw L=Qx(gr),Se="An edge must have a target node (edge id: '"+L,Te=Se+P7,ee(new ud(Te));if(rf&&!pd(A1(rf),ih))throw x=D0(gr,Ad),Ne="The target port of an edge must be a port of the edge's target node (edge id: '"+x,Ke=Ne+P7,ee(new ud(Ke));if(Ut=(!Rn.c&&(Rn.c=new yn(kr,Rn,5,8)),Rn.c),h=null,rf?h=rf:h=ih,Pr(Ut,h),(!Rn.b&&(Rn.b=new yn(kr,Rn,4,7)),Rn.b).i==0||(!Rn.c&&(Rn.c=new yn(kr,Rn,5,8)),Rn.c).i==0)throw T=D0(gr,Ad),it=jft+T,kt=it+P7,ee(new ud(kt));return AH(gr,Rn),a1n(gr,Rn),Nn=qre(e,gr,Rn),Nn}function qut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn;return L=mpn(xu(e,(dt(),X1)),t),q=r4(xu(e,Nf),t),Ne=r4(xu(e,th),t),Gt=kH(xu(e,Qh),t),P=kH(xu(e,_h),t),Se=r4(xu(e,Pf),t),K=r4(xu(e,ul),t),it=r4(xu(e,nh),t),Ke=r4(xu(e,Ch),t),Ut=kH(xu(e,gu),t),ue=r4(xu(e,Nu),t),Te=r4(xu(e,ll),t),kt=r4(xu(e,Ou),t),Nn=kH(xu(e,Pu),t),z=kH(xu(e,Xu),t),Q=r4(xu(e,Jc),t),n=Y3(ie(ne(va,1),Ao,25,15,[Se.a,Gt.a,it.a,Nn.a])),r=Y3(ie(ne(va,1),Ao,25,15,[q.a,L.a,Ne.a,Q.a])),i=ue.a,a=Y3(ie(ne(va,1),Ao,25,15,[K.a,P.a,Ke.a,z.a])),x=Y3(ie(ne(va,1),Ao,25,15,[Se.b,q.b,K.b,Te.b])),v=Y3(ie(ne(va,1),Ao,25,15,[Gt.b,L.b,P.b,Q.b])),T=Ut.b,d=Y3(ie(ne(va,1),Ao,25,15,[it.b,Ne.b,Ke.b,kt.b])),xg(xu(e,X1),n+i,x+T),xg(xu(e,Jc),n+i,x+T),xg(xu(e,Nf),n+i,0),xg(xu(e,th),n+i,x+T+v),xg(xu(e,Qh),0,x+T),xg(xu(e,_h),n+i+r,x+T),xg(xu(e,ul),n+i+r,0),xg(xu(e,nh),0,x+T+v),xg(xu(e,Ch),n+i+r,x+T+v),xg(xu(e,gu),0,x),xg(xu(e,Nu),n,0),xg(xu(e,Ou),0,x+T+v),xg(xu(e,Xu),n+i+r,0),h=new $a,h.a=Y3(ie(ne(va,1),Ao,25,15,[n+r+i+a,Ut.a,Te.a,kt.a])),h.b=Y3(ie(ne(va,1),Ao,25,15,[x+v+T+d,ue.b,Nn.b,z.b])),h}function vwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(K=new at,P=new C(e.d.b);P.ai.d.d+i.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))),r.b!=r.d.c&&(t=n);T&&(a=u(Jn(e.f,h.d.i),57),t.ba.d.d+a.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))}for(d=new ur(dr(Wo(z).a.Kc(),new V));Vr(d);)h=u(Nr(d),17),h.a.b!=0&&(t=u(UR(h.a),8),h.d.j==(dt(),Ln)&&(Q=new iC(t,new Ft(t.a,i.d.d),i,h),Q.f.a=!0,Q.a=h.d,K.c[K.c.length]=Q),h.d.j==Tr&&(Q=new iC(t,new Ft(t.a,i.d.d+i.d.a),i,h),Q.f.d=!0,Q.a=h.d,K.c[K.c.length]=Q))}return K}function wwn(e,t,n){var r,i,a,h,d,v,x,T,L;if(Er(n,"Network simplex node placement",1),e.e=t,e.n=u(W(t,(nt(),H4)),304),P2n(e),pun(e),ms(rc(new mn(null,new kn(e.e.b,16)),new $X),new PRe(e)),ms(qi(rc(qi(rc(new mn(null,new kn(e.e.b,16)),new S9),new XX),new QX),new ZX),new NRe(e)),Bt(Nt(W(e.e,(mt(),oS))))&&(h=Vc(n,1),Er(h,"Straight Edges Pre-Processing",1),evn(e),lr(h)),Xan(e.f),a=u(W(t,lS),19).a*e.f.a.c.length,Nse(hpe(fpe(Vte(e.f),a),!1),Vc(n,1)),e.d.a.gc()!=0){for(h=Vc(n,1),Er(h,"Flexible Where Space Processing",1),d=u(Ev(wj(Eu(new mn(null,new kn(e.f.a,16)),new HX),new NX)),19).a,v=u(Ev(vj(Eu(new mn(null,new kn(e.f.a,16)),new zX),new PX)),19).a,x=v-d,T=xv(new j2,e.f),L=xv(new j2,e.f),Tf(gf(df(ff(pf(new Ih,2e4),x),T),L)),ms(qi(qi(fne(e.i),new GX),new qX),new IWe(d,T,x,L)),i=e.d.a.ec().Kc();i.Ob();)r=u(i.Pb(),213),r.g=1;Nse(hpe(fpe(Vte(e.f),a),!1),Vc(h,1)),lr(h)}Bt(Nt(W(t,oS)))&&(h=Vc(n,1),Er(h,"Straight Edges Post-Processing",1),shn(e),lr(h)),Rbn(e),e.e=null,e.f=null,e.i=null,e.c=null,il(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),lr(n)}function mwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke;for(d=new C(e.a.b);d.a0)if(r=L.gc(),x=_s(b.Math.floor((r+1)/2))-1,i=_s(b.Math.ceil((r+1)/2))-1,t.o==K1)for(T=i;T>=x;T--)t.a[Ne.p]==Ne&&(K=u(L.Xb(T),46),q=u(K.a,10),!_0(n,K.b)&&z>e.b.e[q.p]&&(t.a[q.p]=Ne,t.g[Ne.p]=t.g[q.p],t.a[Ne.p]=t.g[Ne.p],t.f[t.g[Ne.p].p]=(In(),!!(Bt(t.f[t.g[Ne.p].p])&Ne.k==(zn(),ca))),z=e.b.e[q.p]));else for(T=x;T<=i;T++)t.a[Ne.p]==Ne&&(ue=u(L.Xb(T),46),Q=u(ue.a,10),!_0(n,ue.b)&&z=q&&(Se>q&&(z.c=Ie(Xn,_t,1,0,5,1),q=Se),z.c[z.c.length]=h);z.c.length!=0&&(P=u(It(z,bH(t,z.c.length)),128),Rn.a.Bc(P)!=null,P.s=K++,O4e(P,Ut,it),z.c=Ie(Xn,_t,1,0,5,1))}for(Ne=e.c.length+1,d=new C(e);d.aNn.s&&(Dl(n),_u(Nn.i,r),r.c>0&&(r.a=Nn,st(Nn.t,r),r.b=kt,st(kt.i,r)))}function F5e(e){var t,n,r,i,a;switch(t=e.c,t){case 11:return e.Ml();case 12:return e.Ol();case 14:return e.Ql();case 15:return e.Tl();case 16:return e.Rl();case 17:return e.Ul();case 21:return wi(e),mi(),mi(),YS;case 10:switch(e.a){case 65:return e.yl();case 90:return e.Dl();case 122:return e.Kl();case 98:return e.El();case 66:return e.zl();case 60:return e.Jl();case 62:return e.Hl()}}switch(a=gwn(e),t=e.c,t){case 3:return e.Zl(a);case 4:return e.Xl(a);case 5:return e.Yl(a);case 0:if(e.a==123&&e.d=48&&t<=57){for(r=t-48;i=48&&t<=57;)if(r=r*10+t-48,r<0)throw ee(new $r(Ur((jr(),H8e))))}else throw ee(new $r(Ur((jr(),d1t))));if(n=r,t==44){if(i>=e.j)throw ee(new $r(Ur((jr(),p1t))));if((t=Ma(e.i,i++))>=48&&t<=57){for(n=t-48;i=48&&t<=57;)if(n=n*10+t-48,n<0)throw ee(new $r(Ur((jr(),H8e))));if(r>n)throw ee(new $r(Ur((jr(),b1t))))}else n=-1}if(t!=125)throw ee(new $r(Ur((jr(),g1t))));e.sl(i)?(a=(mi(),mi(),new Rm(9,a)),e.d=i+1):(a=(mi(),mi(),new Rm(3,a)),e.d=i),a.dm(r),a.cm(n),wi(e)}}return a}function Vut(e,t,n,r,i){var a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn;for(K=new tu(t.b),Ne=new tu(t.b),P=new tu(t.b),Gt=new tu(t.b),Q=new tu(t.b),kt=si(t,0);kt.b!=kt.d.c;)for(Ke=u(ii(kt),11),d=new C(Ke.g);d.a0,ue=Ke.g.c.length>0,x&&ue?P.c[P.c.length]=Ke:x?K.c[K.c.length]=Ke:ue&&(Ne.c[Ne.c.length]=Ke);for(q=new C(K);q.a1)for(q=new x6((!e.a&&(e.a=new ot(os,e,6,6)),e.a));q.e!=q.i.gc();)U_(q);for(h=u(_e((!e.a&&(e.a=new ot(os,e,6,6)),e.a),0),202),Q=yi,yi>Ke+Ne?Q=Ke+Ne:yiit+K?ue=it+K:UsKe-Ne&&Qit-K&&ueyi+gr?Gt=yi+gr:KeUs+kt?Ut=Us+kt:ityi-gr&&GtUs-kt&&Utn&&(P=n-1),z=XO+vl(t,24)*pI*L-L/2,z<0?z=1:z>r&&(z=r-1),i=(gv(),v=new hp,v),x$(i,P),E$(i,z),Pr((!h.a&&(h.a=new Ns(Zh,h,5)),h.a),i)}function mt(){mt=de,_le=(di(),lyt),_Te=hyt,cO=bSe,Af=fyt,Mk=vSe,Cw=dyt,Py=wSe,uE=mSe,lE=ySe,Cle=vV,Sw=Bb,Sle=gyt,uS=ESe,Nq=Pk,oO=($5e(),obt),G4=cbt,Db=ubt,q4=lbt,Kbt=new fo(bV,lt(0)),cE=ibt,TTe=sbt,Lk=abt,OTe=Ibt,CTe=dbt,STe=bbt,Lle=Ebt,ATe=mbt,LTe=kbt,Pq=Bbt,Mle=Obt,DTe=Abt,MTe=Cbt,ITe=Mbt,Tw=Z2t,cS=J2t,yle=b2t,nTe=w2t,mTe=new yv(12),wTe=new fo(Pb,mTe),J9e=($0(),wE),W0=new fo(UCe,J9e),Iy=new fo(kl,0),Wbt=new fo(Rhe,lt(1)),kq=new fo(Ok,S7),Mb=pV,vs=LS,oE=J4,$bt=CO,Id=tyt,My=Y4,Ybt=new fo(jhe,(In(),!0)),Dy=SO,Ab=Dhe,Lb=Nb,Oq=h2,Tle=gV,Z9e=(wo(),u0),Jl=new fo(Lw,Z9e),Ew=Q4,Dq=tSe,Oy=jy,Ubt=Fhe,xTe=gSe,kTe=(e4(),OO),new fo(uSe,kTe),Gbt=Ohe,qbt=Nhe,Vbt=Phe,zbt=Ihe,Ale=fbt,dTe=$2t,xle=j2t,lS=hbt,du=I2t,Ly=c2t,aS=o2t,Ay=Wpt,Y9e=Ypt,ble=Jpt,aO=Xpt,vle=s2t,gTe=H2t,pTe=z2t,cTe=C2t,Iq=nbt,Ele=V2t,kle=k2t,vTe=X2t,tTe=g2t,mle=p2t,ple=fV,bTe=G2t,Eq=Hpt,U9e=$pt,xq=jpt,sTe=T2t,iTe=E2t,aTe=_2t,sE=Z4,Fo=X4,Rg=WCe,Od=Mhe,wle=Lhe,X9e=t2t,jg=Bhe,sS=iyt,Aq=syt,_w=hSe,yTe=ayt,aE=oyt,lTe=N2t,hTe=B2t,Ny=Nk,dle=Rpt,fTe=R2t,Sq=h2t,Cq=l2t,Mq=AO,uTe=L2t,oS=K2t,uO=kSe,Q9e=u2t,ETe=rbt,eTe=f2t,Hbt=D2t,jbt=r2t,oTe=ZCe,Lq=O2t,_q=i2t,o2=Kpt,W9e=Vpt,Tq=Gpt,K9e=qpt,gle=Upt,Ak=zpt,rTe=x2t}function iae(e,t){qse();var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi;if(Gt=e.e,q=e.d,i=e.a,Gt==0)switch(t){case 0:return"0";case 1:return x7;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 it=new yp,t<0?it.a+="0E+":it.a+="0E",it.a+=-t,it.a}if(Te=q*10+1+7,Ne=Ie(Sh,yd,25,Te+1,15,1),n=Te,q==1)if(d=i[0],d<0){yi=Gs(d,yo);do K=yi,yi=PD(yi,10),Ne[--n]=48+Ir(Gp(K,Ha(yi,10)))&Ss;while(Lc(yi,0)!=0)}else{yi=d;do K=yi,yi=yi/10|0,Ne[--n]=48+(K-yi*10)&Ss;while(yi!=0)}else{Nn=Ie(Sr,Jr,25,q,15,1),gr=q,Rc(i,0,Nn,0,gr);e:for(;;){for(kt=0,x=gr-1;x>=0;x--)Rn=Wa(A0(kt,32),Gs(Nn[x],yo)),ue=Mun(Rn),Nn[x]=Ir(ue),kt=Ir(Mp(ue,32));Se=Ir(kt),Q=n;do Ne[--n]=48+Se%10&Ss;while((Se=Se/10|0)!=0&&n!=0);for(r=9-Q+n,v=0;v0;v++)Ne[--n]=48;for(L=gr-1;Nn[L]==0;L--)if(L==0)break e;gr=L+1}for(;Ne[n]==48;)++n}if(z=Gt<0,h=Te-n-t-1,t==0)return z&&(Ne[--n]=45),Fh(Ne,n,Te-n);if(t>0&&h>=-6){if(h>=0){for(T=n+h,P=Te-1;P>=T;P--)Ne[P+1]=Ne[P];return Ne[++T]=46,z&&(Ne[--n]=45),Fh(Ne,n,Te-n+1)}for(L=2;L<-h+1;L++)Ne[--n]=48;return Ne[--n]=46,Ne[--n]=48,z&&(Ne[--n]=45),Fh(Ne,n,Te-n)}return Ut=n+1,a=Te,Ke=new ym,z&&(Ke.a+="-"),a-Ut>=1?(Ip(Ke,Ne[n]),Ke.a+=".",Ke.a+=Fh(Ne,n+1,Te-n-1)):Ke.a+=Fh(Ne,n,Te-n),Ke.a+="E",h>0&&(Ke.a+="+"),Ke.a+=""+h,Ke.a}function Wut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it;switch(e.c=t,e.g=new Ar,n=(xm(),new wm(e.c)),r=new rr(n),yye(r),Te=Hr(jt(e.c,(FD(),pCe))),v=u(jt(e.c,yhe),316),Ke=u(jt(e.c,khe),429),h=u(jt(e.c,fCe),482),Ne=u(jt(e.c,mhe),430),e.j=We(gt(jt(e.c,_mt))),d=e.a,v.g){case 0:d=e.a;break;case 1:d=e.b;break;case 2:d=e.i;break;case 3:d=e.e;break;case 4:d=e.f;break;default:throw ee(new Dn(qz+(v.f!=null?v.f:""+v.g)))}if(e.d=new bYe(d,Ke,h),Qe(e.d,(Nx(),UC),Nt(jt(e.c,Emt))),e.d.c=Bt(Nt(jt(e.c,dCe))),Oj(e.c).i==0)return e.d;for(L=new ir(Oj(e.c));L.e!=L.i.gc();){for(T=u(br(L),33),z=T.g/2,P=T.f/2,it=new Ft(T.i+z,T.j+P);Ml(e.g,it);)Sm(it,(b.Math.random()-.5)*Ed,(b.Math.random()-.5)*Ed);K=u(jt(T,(di(),AO)),142),Q=new OYe(it,new fh(it.a-z-e.j/2-K.b,it.b-P-e.j/2-K.d,T.g+e.j+(K.b+K.c),T.f+e.j+(K.d+K.a))),st(e.d.i,Q),Si(e.g,it,new _a(Q,T))}switch(Ne.g){case 0:if(Te==null)e.d.d=u(It(e.d.i,0),65);else for(Se=new C(e.d.i);Se.a1&&ks(T,ue,T.c.b,T.c),w$(i)));ue=Se}return T}function Cwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf,J1;for(Er(n,"Greedy cycle removal",1),Te=t.a,J1=Te.c.length,e.a=Ie(Sr,Jr,25,J1,15,1),e.c=Ie(Sr,Jr,25,J1,15,1),e.b=Ie(Sr,Jr,25,J1,15,1),x=0,ue=new C(Te);ue.a0?gr+1:1);for(h=new C(it.g);h.a0?gr+1:1)}e.c[x]==0?oi(e.e,K):e.a[x]==0&&oi(e.f,K),++x}for(q=-1,z=1,L=new at,e.d=u(W(t,(nt(),Ck)),230);J1>0;){for(;e.e.b!=0;)Us=u(Wte(e.e),10),e.b[Us.p]=q--,a5e(e,Us),--J1;for(;e.f.b!=0;)ih=u(Wte(e.f),10),e.b[ih.p]=z++,a5e(e,ih),--J1;if(J1>0){for(P=za,Se=new C(Te);Se.a=P&&(Ne>P&&(L.c=Ie(Xn,_t,1,0,5,1),P=Ne),L.c[L.c.length]=K));T=e.Zf(L),e.b[T.p]=z++,a5e(e,T),--J1}}for(yi=Te.c.length+1,x=0;xe.b[rf]&&(rw(r,!0),Qe(t,tO,(In(),!0)));e.a=null,e.c=null,e.b=null,Ph(e.f),Ph(e.e),lr(n)}function Xut(e,t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;for(r=new at,d=new at,Q=t/2,z=e.gc(),i=u(e.Xb(0),8),ue=u(e.Xb(1),8),q=wse(i.a,i.b,ue.a,ue.b,Q),st(r,(En(0,q.c.length),u(q.c[0],8))),st(d,(En(1,q.c.length),u(q.c[1],8))),x=2;x=0;v--)oi(n,(En(v,h.c.length),u(h.c[v],8)));return n}function Swn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z;if(h=!0,L=null,r=null,i=null,t=!1,z=n3t,x=null,a=null,d=0,v=Tie(e,d,oAe,cAe),v=0&&on(e.substr(d,2),"//")?(d+=2,v=Tie(e,d,HS,zS),r=e.substr(d,v-d),d=v):L!=null&&(d==e.length||(zr(d,e.length),e.charCodeAt(d)!=47))&&(h=!1,v=R2e(e,Du(35),d),v==-1&&(v=e.length),r=e.substr(d,v-d),d=v);if(!n&&d0&&Ma(T,T.length-1)==58&&(i=T,d=v)),d=e.j){e.a=-1,e.c=1;return}if(t=Ma(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw ee(new $r(Ur((jr(),Qz))));e.a=Ma(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||Ma(e.i,e.d)!=63)break;if(++e.d>=e.j)throw ee(new $r(Ur((jr(),xce))));switch(t=Ma(e.i,e.d++),t){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw ee(new $r(Ur((jr(),xce))));if(t=Ma(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw ee(new $r(Ur((jr(),Yft))));break;case 35:for(;e.d=e.j)throw ee(new $r(Ur((jr(),Qz))));e.a=Ma(e.i,e.d++);break;default:r=0}e.c=r}function Lwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;if(kt=u(W(e,(mt(),vs)),98),kt!=(ya(),Y1)&&kt!=g2){for(q=e.b,z=q.c.length,T=new tu((Vl(z+2,uae),v$(Wa(Wa(5,z+2),(z+2)/10|0)))),K=new tu((Vl(z+2,uae),v$(Wa(Wa(5,z+2),(z+2)/10|0)))),st(T,new Ar),st(T,new Ar),st(K,new at),st(K,new at),it=new at,t=0;t=Ke||!Xsn(ue,r))&&(r=GYe(t,T)),Oo(ue,r),a=new ur(dr(Wo(ue).a.Kc(),new V));Vr(a);)i=u(Nr(a),17),!e.a[i.p]&&(K=i.c.i,--e.e[K.p],e.e[K.p]==0&&yx(r7(z,K)));for(x=T.c.length-1;x>=0;--x)st(t.b,(En(x,T.c.length),u(T.c[x],29)));t.a.c=Ie(Xn,_t,1,0,5,1),lr(n)}function Qut(e){var t,n,r,i,a,h,d,v,x;for(e.b=1,wi(e),t=null,e.c==0&&e.a==94?(wi(e),t=(mi(),mi(),new zl(4)),Uc(t,0,F7),d=new zl(4)):d=(mi(),mi(),new zl(4)),i=!0;(x=e.c)!=1;){if(x==0&&e.a==93&&!i){t&&(uC(t,d),d=t);break}if(n=e.a,r=!1,x==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cy(d,f7(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(cy(d,f7(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(v=g4e(e,n),!v)throw ee(new $r(Ur((jr(),Ece))));cy(d,v),r=!0;break;default:n=W4e(e)}else if(x==24&&!i){if(t&&(uC(t,d),d=t),a=Qut(e),uC(d,a),e.c!=0||e.a!=93)throw ee(new $r(Ur((jr(),s1t))));break}if(wi(e),!r){if(x==0){if(n==91)throw ee(new $r(Ur((jr(),j8e))));if(n==93)throw ee(new $r(Ur((jr(),$8e))));if(n==45&&!i&&e.a!=93)throw ee(new $r(Ur((jr(),Tce))))}if(e.c!=0||e.a!=45||n==45&&i)Uc(d,n,n);else{if(wi(e),(x=e.c)==1)throw ee(new $r(Ur((jr(),Zz))));if(x==0&&e.a==93)Uc(d,n,n),Uc(d,45,45);else{if(x==0&&e.a==93||x==24)throw ee(new $r(Ur((jr(),Tce))));if(h=e.a,x==0){if(h==91)throw ee(new $r(Ur((jr(),j8e))));if(h==93)throw ee(new $r(Ur((jr(),$8e))));if(h==45)throw ee(new $r(Ur((jr(),Tce))))}else x==10&&(h=W4e(e));if(wi(e),n>h)throw ee(new $r(Ur((jr(),c1t))));Uc(d,n,h)}}}i=!1}if(e.c==1)throw ee(new $r(Ur((jr(),Zz))));return c4(d),oC(d),e.b=0,wi(e),d}function Dwn(e){Br(e.c,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#decimal"])),Br(e.d,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#integer"])),Br(e.e,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#boolean"])),Br(e.f,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EBoolean",fi,"EBoolean:Object"])),Br(e.i,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#byte"])),Br(e.g,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Br(e.j,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EByte",fi,"EByte:Object"])),Br(e.n,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EChar",fi,"EChar:Object"])),Br(e.t,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#double"])),Br(e.u,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EDouble",fi,"EDouble:Object"])),Br(e.F,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#float"])),Br(e.G,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EFloat",fi,"EFloat:Object"])),Br(e.I,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#int"])),Br(e.J,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EInt",fi,"EInt:Object"])),Br(e.N,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#long"])),Br(e.O,Zr,ie(ne(Et,1),Je,2,6,[Ga,"ELong",fi,"ELong:Object"])),Br(e.Z,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#short"])),Br(e.$,Zr,ie(ne(Et,1),Je,2,6,[Ga,"EShort",fi,"EShort:Object"])),Br(e._,Zr,ie(ne(Et,1),Je,2,6,[Ga,"http://www.w3.org/2001/XMLSchema#string"]))}function Iwn(e){var t,n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr;if(e.c.length==1)return En(0,e.c.length),u(e.c[0],135);if(e.c.length<=0)return new r$;for(v=new C(e);v.aL&&(Rn=0,gr+=T+kt,T=0),z1n(Ke,h,Rn,gr),t=b.Math.max(t,Rn+it.a),T=b.Math.max(T,it.b),Rn+=it.a+kt;for(Ne=new Ar,n=new Ar,Ut=new C(e);Ut.amse(a))&&(L=a);for(!L&&(L=(En(0,Q.c.length),u(Q.c[0],180))),K=new C(t.b);K.a=-1900?1:0,n>=4?Yr(e,ie(ne(Et,1),Je,2,6,[glt,plt])[d]):Yr(e,ie(ne(Et,1),Je,2,6,["BC","AD"])[d]);break;case 121:Can(e,n,r);break;case 77:Mgn(e,n,r);break;case 107:v=i.q.getHours(),v==0?Qd(e,24,n):Qd(e,v,n);break;case 83:Q1n(e,n,i);break;case 69:T=r.q.getDay(),n==5?Yr(e,ie(ne(Et,1),Je,2,6,["S","M","T","W","T","F","S"])[T]):n==4?Yr(e,ie(ne(Et,1),Je,2,6,[Eae,Tae,_ae,Cae,Sae,Aae,Lae])[T]):Yr(e,ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?Yr(e,ie(ne(Et,1),Je,2,6,["AM","PM"])[1]):Yr(e,ie(ne(Et,1),Je,2,6,["AM","PM"])[0]);break;case 104:L=i.q.getHours()%12,L==0?Qd(e,12,n):Qd(e,L,n);break;case 75:P=i.q.getHours()%12,Qd(e,P,n);break;case 72:z=i.q.getHours(),Qd(e,z,n);break;case 99:q=r.q.getDay(),n==5?Yr(e,ie(ne(Et,1),Je,2,6,["S","M","T","W","T","F","S"])[q]):n==4?Yr(e,ie(ne(Et,1),Je,2,6,[Eae,Tae,_ae,Cae,Sae,Aae,Lae])[q]):n==3?Yr(e,ie(ne(Et,1),Je,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[q]):Qd(e,q,1);break;case 76:K=r.q.getMonth(),n==5?Yr(e,ie(ne(Et,1),Je,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[K]):n==4?Yr(e,ie(ne(Et,1),Je,2,6,[fae,dae,gae,pae,rk,bae,vae,wae,mae,yae,kae,xae])[K]):n==3?Yr(e,ie(ne(Et,1),Je,2,6,["Jan","Feb","Mar","Apr",rk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[K]):Qd(e,K+1,n);break;case 81:Q=r.q.getMonth()/3|0,n<4?Yr(e,ie(ne(Et,1),Je,2,6,["Q1","Q2","Q3","Q4"])[Q]):Yr(e,ie(ne(Et,1),Je,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[Q]);break;case 100:ue=r.q.getDate(),Qd(e,ue,n);break;case 109:x=i.q.getMinutes(),Qd(e,x,n);break;case 115:h=i.q.getSeconds(),Qd(e,h,n);break;case 122:n<4?Yr(e,a.c[0]):Yr(e,a.c[1]);break;case 118:Yr(e,a.b);break;case 90:n<3?Yr(e,$hn(a)):n==3?Yr(e,Ghn(a)):Yr(e,qhn(a.a));break;default:return!1}return!0}function j5e(e,t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi;if(Rot(t),v=u(_e((!t.b&&(t.b=new yn(kr,t,4,7)),t.b),0),82),T=u(_e((!t.c&&(t.c=new yn(kr,t,5,8)),t.c),0),82),d=Ho(v),x=Ho(T),h=(!t.a&&(t.a=new ot(os,t,6,6)),t.a).i==0?null:u(_e((!t.a&&(t.a=new ot(os,t,6,6)),t.a),0),202),kt=u(Jn(e.a,d),10),Rn=u(Jn(e.a,x),10),Gt=null,gr=null,me(v,186)&&(it=u(Jn(e.a,v),299),me(it,11)?Gt=u(it,11):me(it,10)&&(kt=u(it,10),Gt=u(It(kt.j,0),11))),me(T,186)&&(Nn=u(Jn(e.a,T),299),me(Nn,11)?gr=u(Nn,11):me(Nn,10)&&(Rn=u(Nn,10),gr=u(It(Rn.j,0),11))),!kt||!Rn)throw ee(new mT("The source or the target of edge "+t+" 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(K=new Dv,$o(K,t),Qe(K,(nt(),Mi),t),Qe(K,(mt(),Fo),null),z=u(W(r,Qc),21),kt==Rn&&z.Fc((mo(),tS)),Gt||(Ke=(vo(),ou),Ut=null,h&&P3(u(W(kt,vs),98))&&(Ut=new Ft(h.j,h.k),UXe(Ut,FM(t)),xQe(Ut,n),Gm(x,d)&&(Ke=cl,Ni(Ut,kt.n))),Gt=Bct(kt,Ut,Ke,r)),gr||(Ke=(vo(),cl),yi=null,h&&P3(u(W(Rn,vs),98))&&(yi=new Ft(h.b,h.c),UXe(yi,FM(t)),xQe(yi,n)),gr=Bct(Rn,yi,Ke,Xa(Rn))),Ka(K,Gt),wa(K,gr),(Gt.e.c.length>1||Gt.g.c.length>1||gr.e.c.length>1||gr.g.c.length>1)&&z.Fc((mo(),eS)),P=new ir((!t.n&&(t.n=new ot(Qo,t,1,7)),t.n));P.e!=P.i.gc();)if(L=u(br(P),137),!Bt(Nt(jt(L,Mb)))&&L.a)switch(Q=sie(L),st(K.b,Q),u(W(Q,Od),272).g){case 1:case 2:z.Fc((mo(),tE));break;case 0:z.Fc((mo(),eE)),Qe(Q,Od,(N1(),bE))}if(a=u(W(r,aS),314),ue=u(W(r,Iq),315),i=a==(z6(),ZI)||ue==(G_(),Ble),h&&(!h.a&&(h.a=new Ns(Zh,h,5)),h.a).i!=0&&i){for(Se=jD(h),q=new $u,Ne=si(Se,0);Ne.b!=Ne.d.c;)Te=u(ii(Ne),8),oi(q,new Do(Te));Qe(K,h9e,q)}return K}function Bwn(e){e.gb||(e.gb=!0,e.b=gc(e,0),hs(e.b,18),Hi(e.b,19),e.a=gc(e,1),hs(e.a,1),Hi(e.a,2),Hi(e.a,3),Hi(e.a,4),Hi(e.a,5),e.o=gc(e,2),hs(e.o,8),hs(e.o,9),Hi(e.o,10),Hi(e.o,11),Hi(e.o,12),Hi(e.o,13),Hi(e.o,14),Hi(e.o,15),Hi(e.o,16),Hi(e.o,17),Hi(e.o,18),Hi(e.o,19),Hi(e.o,20),Hi(e.o,21),Hi(e.o,22),Hi(e.o,23),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),Po(e.o),e.p=gc(e,3),hs(e.p,2),hs(e.p,3),hs(e.p,4),hs(e.p,5),Hi(e.p,6),Hi(e.p,7),Po(e.p),Po(e.p),e.q=gc(e,4),hs(e.q,8),e.v=gc(e,5),Hi(e.v,9),Po(e.v),Po(e.v),Po(e.v),e.w=gc(e,6),hs(e.w,2),hs(e.w,3),hs(e.w,4),Hi(e.w,5),e.B=gc(e,7),Hi(e.B,1),Po(e.B),Po(e.B),Po(e.B),e.Q=gc(e,8),Hi(e.Q,0),Po(e.Q),e.R=gc(e,9),hs(e.R,1),e.S=gc(e,10),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),Po(e.S),e.T=gc(e,11),Hi(e.T,10),Hi(e.T,11),Hi(e.T,12),Hi(e.T,13),Hi(e.T,14),Po(e.T),Po(e.T),e.U=gc(e,12),hs(e.U,2),hs(e.U,3),Hi(e.U,4),Hi(e.U,5),Hi(e.U,6),Hi(e.U,7),Po(e.U),e.V=gc(e,13),Hi(e.V,10),e.W=gc(e,14),hs(e.W,18),hs(e.W,19),hs(e.W,20),Hi(e.W,21),Hi(e.W,22),Hi(e.W,23),e.bb=gc(e,15),hs(e.bb,10),hs(e.bb,11),hs(e.bb,12),hs(e.bb,13),hs(e.bb,14),hs(e.bb,15),hs(e.bb,16),Hi(e.bb,17),Po(e.bb),Po(e.bb),e.eb=gc(e,16),hs(e.eb,2),hs(e.eb,3),hs(e.eb,4),hs(e.eb,5),hs(e.eb,6),hs(e.eb,7),Hi(e.eb,8),Hi(e.eb,9),e.ab=gc(e,17),hs(e.ab,0),hs(e.ab,1),e.H=gc(e,18),Hi(e.H,0),Hi(e.H,1),Hi(e.H,2),Hi(e.H,3),Hi(e.H,4),Hi(e.H,5),Po(e.H),e.db=gc(e,19),Hi(e.db,2),e.c=hi(e,20),e.d=hi(e,21),e.e=hi(e,22),e.f=hi(e,23),e.i=hi(e,24),e.g=hi(e,25),e.j=hi(e,26),e.k=hi(e,27),e.n=hi(e,28),e.r=hi(e,29),e.s=hi(e,30),e.t=hi(e,31),e.u=hi(e,32),e.fb=hi(e,33),e.A=hi(e,34),e.C=hi(e,35),e.D=hi(e,36),e.F=hi(e,37),e.G=hi(e,38),e.I=hi(e,39),e.J=hi(e,40),e.L=hi(e,41),e.M=hi(e,42),e.N=hi(e,43),e.O=hi(e,44),e.P=hi(e,45),e.X=hi(e,46),e.Y=hi(e,47),e.Z=hi(e,48),e.$=hi(e,49),e._=hi(e,50),e.cb=hi(e,51),e.K=hi(e,52))}function di(){di=de;var e,t;AS=new Qi(ift),pE=new Qi(sft),HCe=(Zd(),The),tyt=new pn(Cke,HCe),Ok=new pn(uk,null),nyt=new Qi(y8e),GCe=(Jm(),Vi(She,ie(ne(Ahe,1),rt,291,0,[Che]))),fV=new pn(Fz,GCe),CO=new pn(AI,(In(),!1)),qCe=(wo(),u0),Lw=new pn(Lke,qCe),KCe=($0(),$he),UCe=new pn(CI,KCe),XCe=new pn(Gz,!1),QCe=(R0(),wV),Y4=new pn(Bz,QCe),oSe=new yv(12),Pb=new pn(cw,oSe),dV=new pn(yI,!1),ZCe=new pn(Hoe,!1),LO=new pn(mC,!1),fSe=(ya(),g2),LS=new pn(aoe,fSe),Nk=new Qi(Rz),bV=new Qi(mI),Rhe=new Qi(wz),jhe=new Qi(wC),JCe=new $u,X4=new pn(Rke,JCe),iyt=new pn(Hke,!1),syt=new pn(zke,!1),eSe=new dT,AO=new pn(qke,eSe),pV=new pn(Tke,!1),uyt=new pn(aft,1),new pn(oft,!0),lt(0),new pn(cft,lt(100)),new pn(uft,!1),lt(0),new pn(lft,lt(4e3)),lt(0),new pn(hft,lt(400)),new pn(fft,!1),new pn(dft,!1),new pn(gft,!0),new pn(pft,!1),zCe=(rH(),qhe),ryt=new pn(m8e,zCe),lyt=new pn(fke,10),hyt=new pn(dke,10),bSe=new pn(eoe,20),fyt=new pn(gke,10),vSe=new pn(soe,2),dyt=new pn(pke,10),wSe=new pn(bke,0),vV=new pn(mke,5),mSe=new pn(vke,1),ySe=new pn(wke,1),Bb=new pn(dy,20),gyt=new pn(yke,10),ESe=new pn(kke,10),Pk=new Qi(xke),xSe=new wqe,kSe=new pn(Vke,xSe),oyt=new Qi($oe),cSe=!1,ayt=new pn(joe,cSe),nSe=new yv(5),tSe=new pn(Mke,nSe),rSe=(ry(),t=u(Wf(xo),9),new hh(t,u(bf(t,t.length),9),0)),Q4=new pn(A7,rSe),lSe=(e4(),d2),uSe=new pn(Oke,lSe),Ohe=new Qi(Nke),Nhe=new Qi(Pke),Phe=new Qi(Bke),Ihe=new Qi(Fke),iSe=(e=u(Wf(FS),9),new hh(e,u(bf(e,e.length),9),0)),Nb=new pn(k4,iSe),aSe=sn((wl(),yE)),h2=new pn(lk,aSe),sSe=new Ft(0,0),Z4=new pn(hk,sSe),gV=new pn(Roe,!1),VCe=(N1(),bE),Mhe=new pn(jke,VCe),Lhe=new pn(mz,!1),lt(1),new pn(bft,null),hSe=new Qi(Gke),Bhe=new Qi($ke),pSe=(dt(),cc),J4=new pn(_ke,pSe),kl=new Qi(Eke),dSe=(al(),sn(p2)),jy=new pn(L7,dSe),Fhe=new pn(Dke,!1),gSe=new pn(Ike,!0),SO=new pn(Ske,!1),Dhe=new pn(Ake,!1),WCe=new pn(toe,1),YCe=(LH(),zhe),new pn(vft,YCe),cyt=!0}function nt(){nt=de;var e,t;Mi=new Qi(x6e),o9e=new Qi("coordinateOrigin"),lle=new Qi("processors"),a9e=new Hs("compoundNode",(In(),!1)),nO=new Hs("insideConnections",!1),h9e=new Qi("originalBendpoints"),f9e=new Qi("originalDummyNodePosition"),d9e=new Qi("originalLabelEdge"),iO=new Qi("representedLabels"),nS=new Qi("endLabels"),Ek=new Qi("endLabel.origin"),_k=new Hs("labelSide",(Kl(),IO)),j4=new Hs("maxEdgeThickness",0),U1=new Hs("reversed",!1),Ck=new Qi(Jlt),o1=new Hs("longEdgeSource",null),Kh=new Hs("longEdgeTarget",null),Cy=new Hs("longEdgeHasLabelDummies",!1),rO=new Hs("longEdgeBeforeLabelDummy",!1),wq=new Hs("edgeConstraint",(nb(),Kue)),kw=new Qi("inLayerLayoutUnit"),Cb=new Hs("inLayerConstraint",(P0(),eO)),Tk=new Hs("inLayerSuccessorConstraint",new at),l9e=new Hs("inLayerSuccessorConstraintBetweenNonDummies",!1),ol=new Qi("portDummy"),vq=new Hs("crossingHint",lt(0)),Qc=new Hs("graphProperties",(t=u(Wf(ele),9),new hh(t,u(bf(t,t.length),9),0))),vc=new Hs("externalPortSide",(dt(),cc)),u9e=new Hs("externalPortSize",new $a),sle=new Qi("externalPortReplacedDummies"),mq=new Qi("externalPortReplacedDummy"),_y=new Hs("externalPortConnections",(e=u(Wf(oo),9),new hh(e,u(bf(e,e.length),9),0))),xw=new Hs(Vlt,0),s9e=new Qi("barycenterAssociates"),Sk=new Qi("TopSideComments"),xk=new Qi("BottomSideComments"),bq=new Qi("CommentConnectionPort"),ole=new Hs("inputCollect",!1),ule=new Hs("outputCollect",!1),tO=new Hs("cyclic",!1),c9e=new Qi("crossHierarchyMap"),fle=new Qi("targetOffset"),new Hs("splineLabelSize",new $a),H4=new Qi("spacings"),yq=new Hs("partitionConstraint",!1),mw=new Qi("breakingPoint.info"),b9e=new Qi("splines.survivingEdge"),Sb=new Qi("splines.route.start"),z4=new Qi("splines.edgeChain"),p9e=new Qi("originalPortConstraints"),rE=new Qi("selfLoopHolder"),iE=new Qi("splines.nsPortY"),Oc=new Qi("modelOrder"),cle=new Qi("longEdgeTargetNode"),yw=new Hs(Cht,!1),$4=new Hs(Cht,!1),ale=new Qi("layerConstraints.hiddenNodes"),g9e=new Qi("layerConstraints.opposidePort"),hle=new Qi("targetNode.modelOrder")}function $5e(){$5e=de,S9e=(iD(),uq),u2t=new pn(M6e,S9e),k2t=new pn(D6e,(In(),!1)),O9e=(Xj(),ile),C2t=new pn(Ez,O9e),H2t=new pn(I6e,!1),z2t=new pn(O6e,!0),Rpt=new pn(N6e,!1),H9e=(eD(),jle),rbt=new pn(P6e,H9e),lt(1),hbt=new pn(B6e,lt(7)),fbt=new pn(F6e,!1),x2t=new pn(R6e,!1),C9e=(lb(),Vue),c2t=new pn(foe,C9e),B9e=(SH(),Ile),$2t=new pn(TI,B9e),N9e=(mh(),sO),I2t=new pn(j6e,N9e),lt(-1),D2t=new pn($6e,lt(-1)),lt(-1),O2t=new pn(H6e,lt(-1)),lt(-1),N2t=new pn(doe,lt(4)),lt(-1),B2t=new pn(goe,lt(2)),P9e=(l4(),$q),j2t=new pn(poe,P9e),lt(0),R2t=new pn(boe,lt(0)),L2t=new pn(voe,lt(xi)),_9e=(z6(),yk),o2t=new pn(EC,_9e),Wpt=new pn(z6e,!1),t2t=new pn(woe,.1),s2t=new pn(moe,!1),lt(-1),r2t=new pn(G6e,lt(-1)),lt(-1),i2t=new pn(q6e,lt(-1)),lt(0),Ypt=new pn(V6e,lt(40)),T9e=(Fx(),nle),Jpt=new pn(yoe,T9e),E9e=JI,Xpt=new pn(Tz,E9e),$9e=(G_(),hS),nbt=new pn(x4,$9e),K2t=new Qi(_z),F9e=(XM(),hq),G2t=new pn(koe,F9e),R9e=(BD(),fq),V2t=new pn(xoe,R9e),X2t=new pn(Eoe,.3),Z2t=new Qi(Toe),j9e=(Xm(),jq),J2t=new pn(_oe,j9e),M9e=(R$(),Hle),g2t=new pn(U6e,M9e),D9e=(qM(),zle),p2t=new pn(K6e,D9e),I9e=(qx(),gS),b2t=new pn(Cz,I9e),w2t=new pn(Sz,.2),f2t=new pn(Coe,2),obt=new pn(W6e,null),ubt=new pn(Y6e,10),cbt=new pn(X6e,10),lbt=new pn(Q6e,20),lt(0),ibt=new pn(Z6e,lt(0)),lt(0),sbt=new pn(J6e,lt(0)),lt(0),abt=new pn(eke,lt(0)),jpt=new pn(Soe,!1),m9e=(i7(),JC),Hpt=new pn(tke,m9e),w9e=(o$(),Gue),$pt=new pn(nke,w9e),T2t=new pn(Az,!1),lt(0),E2t=new pn(Aoe,lt(16)),lt(0),_2t=new pn(Loe,lt(5)),q9e=(G$(),Vle),Ibt=new pn(K0,q9e),dbt=new pn(Lz,10),bbt=new pn(Mz,1),G9e=(_$(),cq),Ebt=new pn(TC,G9e),mbt=new Qi(Moe),z9e=lt(1),lt(0),kbt=new pn(Doe,z9e),V9e=(B$(),qle),Bbt=new pn(Dz,V9e),Obt=new Qi(Iz),Abt=new pn(Oz,!0),Cbt=new pn(Nz,2),Mbt=new pn(Ioe,!0),L9e=(DH(),lq),h2t=new pn(rke,L9e),A9e=(Q6(),Q7),l2t=new pn(ike,A9e),x9e=(F0(),c2),Kpt=new pn(Pz,x9e),Upt=new pn(ske,!1),y9e=(Vv(),I4),zpt=new pn(Ooe,y9e),k9e=(I_(),Ole),Vpt=new pn(ake,k9e),Gpt=new pn(Noe,0),qpt=new pn(Poe,0),A2t=Uue,S2t=ZI,P2t=Fq,F2t=Fq,M2t=Dle,n2t=(R0(),qg),a2t=yk,e2t=yk,Qpt=yk,Zpt=qg,W2t=fS,Y2t=hS,q2t=hS,U2t=hS,Q2t=Fle,tbt=fS,ebt=fS,v2t=($0(),Bk),m2t=Bk,y2t=gS,d2t=MO,gbt=hE,pbt=By,vbt=hE,wbt=By,Tbt=hE,_bt=By,ybt=que,xbt=cq,Fbt=hE,Rbt=By,Nbt=hE,Pbt=By,Lbt=By,Sbt=By,Dbt=By}function po(){po=de,iEe=new Cs("DIRECTION_PREPROCESSOR",0),tEe=new Cs("COMMENT_PREPROCESSOR",1),WC=new Cs("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),Lue=new Cs("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),EEe=new Cs("PARTITION_PREPROCESSOR",4),GG=new Cs("LABEL_DUMMY_INSERTER",5),JG=new Cs("SELF_LOOP_PREPROCESSOR",6),K7=new Cs("LAYER_CONSTRAINT_PREPROCESSOR",7),kEe=new Cs("PARTITION_MIDPROCESSOR",8),fEe=new Cs("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),mEe=new Cs("NODE_PROMOTION",10),U7=new Cs("LAYER_CONSTRAINT_POSTPROCESSOR",11),xEe=new Cs("PARTITION_POSTPROCESSOR",12),uEe=new Cs("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),TEe=new Cs("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Y7e=new Cs("BREAKING_POINT_INSERTER",15),KG=new Cs("LONG_EDGE_SPLITTER",16),Mue=new Cs("PORT_SIDE_PROCESSOR",17),HG=new Cs("INVERTED_PORT_PROCESSOR",18),XG=new Cs("PORT_LIST_SORTER",19),CEe=new Cs("SORT_BY_INPUT_ORDER_OF_MODEL",20),YG=new Cs("NORTH_SOUTH_PORT_PREPROCESSOR",21),X7e=new Cs("BREAKING_POINT_PROCESSOR",22),yEe=new Cs(wht,23),SEe=new Cs(mht,24),QG=new Cs("SELF_LOOP_PORT_RESTORER",25),_Ee=new Cs("SINGLE_EDGE_GRAPH_WRAPPER",26),zG=new Cs("IN_LAYER_CONSTRAINT_PROCESSOR",27),aEe=new Cs("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),vEe=new Cs("LABEL_AND_NODE_SIZE_PROCESSOR",29),bEe=new Cs("INNERMOST_NODE_MARGIN_CALCULATOR",30),eq=new Cs("SELF_LOOP_ROUTER",31),J7e=new Cs("COMMENT_NODE_MARGIN_CALCULATOR",32),$G=new Cs("END_LABEL_PREPROCESSOR",33),VG=new Cs("LABEL_DUMMY_SWITCHER",34),Z7e=new Cs("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),V7=new Cs("LABEL_SIDE_SELECTOR",36),gEe=new Cs("HYPEREDGE_DUMMY_MERGER",37),lEe=new Cs("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),wEe=new Cs("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),YC=new Cs("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),nEe=new Cs("CONSTRAINTS_POSTPROCESSOR",41),eEe=new Cs("COMMENT_POSTPROCESSOR",42),pEe=new Cs("HYPERNODE_PROCESSOR",43),hEe=new Cs("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),UG=new Cs("LONG_EDGE_JOINER",45),ZG=new Cs("SELF_LOOP_POSTPROCESSOR",46),Q7e=new Cs("BREAKING_POINT_REMOVER",47),WG=new Cs("NORTH_SOUTH_PORT_POSTPROCESSOR",48),dEe=new Cs("HORIZONTAL_COMPACTOR",49),qG=new Cs("LABEL_DUMMY_REMOVER",50),oEe=new Cs("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),sEe=new Cs("END_LABEL_SORTER",52),XI=new Cs("REVERSED_EDGE_RESTORER",53),jG=new Cs("END_LABEL_POSTPROCESSOR",54),cEe=new Cs("HIERARCHICAL_NODE_RESIZER",55),rEe=new Cs("DIRECTION_POSTPROCESSOR",56)}function Fwn(e,t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut,Nn,Rn,gr,yi,Us,ih,rf,J1,$V,XO,XS,QO,_E,afe,J3t,ofe,Xg,Pw,CE,ZO,JO,zk,cfe,QS,e4t,zAe,Bw,ZS,ufe,Gk,JS,Yy,eA,lfe,t4t;for(zAe=0,yi=t,rf=0,XO=yi.length;rf0&&(e.a[Xg.p]=zAe++)}for(JS=0,Us=n,J1=0,XS=Us.length;J10;){for(Xg=(Qn(JO.b>0),u(JO.a.Xb(JO.c=--JO.b),11)),ZO=0,d=new C(Xg.e);d.a0&&(Xg.j==(dt(),Ln)?(e.a[Xg.p]=JS,++JS):(e.a[Xg.p]=JS+QO+afe,++afe))}JS+=afe}for(CE=new Ar,q=new C0,gr=t,ih=0,$V=gr.length;ih<$V;++ih)for(Rn=gr[ih],ufe=new C(Rn.j);ufe.ax.b&&(x.b=zk)):Xg.i.c==e4t&&(zkx.c&&(x.c=zk));for(xx(K,0,K.length,null),Gk=Ie(Sr,Jr,25,K.length,15,1),r=Ie(Sr,Jr,25,JS+1,15,1),ue=0;ue0;)kt%2>0&&(i+=lfe[kt+1]),kt=(kt-1)/2|0,++lfe[kt];for(Ut=Ie(Svt,_t,362,K.length*2,0,1),Ne=0;Ne'?":on(Yft,e)?"'(?<' or '(? toIndex: ",J5e=", toIndex: ",e6e="Index: ",t6e=", Size: ",E7="org.eclipse.elk.alg.common",Ri={62:1},Slt="org.eclipse.elk.alg.common.compaction",Alt="Scanline/EventHandler",i0="org.eclipse.elk.alg.common.compaction.oned",Llt="CNode belongs to another CGroup.",Mlt="ISpacingsHandler/1",zae="The ",Gae=" instance has been finished already.",Dlt="The direction ",Ilt=" is not supported by the CGraph instance.",Olt="OneDimensionalCompactor",Nlt="OneDimensionalCompactor/lambda$0$Type",Plt="Quadruplet",Blt="ScanlineConstraintCalculator",Flt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",Rlt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",jlt="ScanlineConstraintCalculator/Timestamp",$lt="ScanlineConstraintCalculator/lambda$0$Type",kd={169:1,45:1},qae="org.eclipse.elk.alg.common.compaction.options",oc="org.eclipse.elk.core.data",n6e="org.eclipse.elk.polyomino.traversalStrategy",r6e="org.eclipse.elk.polyomino.lowLevelSort",i6e="org.eclipse.elk.polyomino.highLevelSort",s6e="org.eclipse.elk.polyomino.fill",$h={130:1},Vae="polyomino",pC="org.eclipse.elk.alg.common.networksimplex",s0={177:1,3:1,4:1},Hlt="org.eclipse.elk.alg.common.nodespacing",pb="org.eclipse.elk.alg.common.nodespacing.cellsystem",T7="CENTER",zlt={212:1,326:1},a6e={3:1,4:1,5:1,595:1},ak="LEFT",ok="RIGHT",o6e="Vertical alignment cannot be null",c6e="BOTTOM",fz="org.eclipse.elk.alg.common.nodespacing.internal",bC="UNDEFINED",H1=.01,bI="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",Glt="LabelPlacer/lambda$0$Type",qlt="LabelPlacer/lambda$1$Type",Vlt="portRatioOrPosition",_7="org.eclipse.elk.alg.common.overlaps",Uae="DOWN",xd="org.eclipse.elk.alg.common.polyomino",dz="NORTH",Kae="EAST",Wae="SOUTH",Yae="WEST",gz="org.eclipse.elk.alg.common.polyomino.structures",u6e="Direction",Xae="Grid is only of size ",Qae=". Requested point (",Zae=") is out of bounds.",pz=" Given center based coordinates were (",vI="org.eclipse.elk.graph.properties",Ult="IPropertyHolder",l6e={3:1,94:1,134:1},ck="org.eclipse.elk.alg.common.spore",Klt="org.eclipse.elk.alg.common.utils",bb={209:1},m4="org.eclipse.elk.core",Wlt="Connected Components Compaction",Ylt="org.eclipse.elk.alg.disco",bz="org.eclipse.elk.alg.disco.graph",Jae="org.eclipse.elk.alg.disco.options",h6e="CompactionStrategy",f6e="org.eclipse.elk.disco.componentCompaction.strategy",d6e="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",g6e="org.eclipse.elk.disco.debug.discoGraph",p6e="org.eclipse.elk.disco.debug.discoPolys",Xlt="componentCompaction",vb="org.eclipse.elk.disco",eoe="org.eclipse.elk.spacing.componentComponent",toe="org.eclipse.elk.edge.thickness",uk="org.eclipse.elk.aspectRatio",cw="org.eclipse.elk.padding",y4="org.eclipse.elk.alg.disco.transform",noe=1.5707963267948966,C7=17976931348623157e292,fy={3:1,4:1,5:1,192:1},b6e={3:1,6:1,4:1,5:1,106:1,120:1},v6e="org.eclipse.elk.alg.force",w6e="ComponentsProcessor",Qlt="ComponentsProcessor/1",wI="org.eclipse.elk.alg.force.graph",Zlt="Component Layout",m6e="org.eclipse.elk.alg.force.model",vz="org.eclipse.elk.force.model",y6e="org.eclipse.elk.force.iterations",k6e="org.eclipse.elk.force.repulsivePower",roe="org.eclipse.elk.force.temperature",Ed=.001,ioe="org.eclipse.elk.force.repulsion",vC="org.eclipse.elk.alg.force.options",S7=1.600000023841858,Xl="org.eclipse.elk.force",mI="org.eclipse.elk.priority",dy="org.eclipse.elk.spacing.nodeNode",soe="org.eclipse.elk.spacing.edgeLabel",wz="org.eclipse.elk.randomSeed",wC="org.eclipse.elk.separateConnectedComponents",yI="org.eclipse.elk.interactive",aoe="org.eclipse.elk.portConstraints",mz="org.eclipse.elk.edgeLabels.inline",mC="org.eclipse.elk.omitNodeMicroLayout",lk="org.eclipse.elk.nodeSize.options",k4="org.eclipse.elk.nodeSize.constraints",A7="org.eclipse.elk.nodeLabels.placement",L7="org.eclipse.elk.portLabels.placement",x6e="origin",Jlt="random",eht="boundingBox.upLeft",tht="boundingBox.lowRight",E6e="org.eclipse.elk.stress.fixed",T6e="org.eclipse.elk.stress.desiredEdgeLength",_6e="org.eclipse.elk.stress.dimension",C6e="org.eclipse.elk.stress.epsilon",S6e="org.eclipse.elk.stress.iterationLimit",Qp="org.eclipse.elk.stress",nht="ELK Stress",hk="org.eclipse.elk.nodeSize.minimum",yz="org.eclipse.elk.alg.force.stress",rht="Layered layout",fk="org.eclipse.elk.alg.layered",kI="org.eclipse.elk.alg.layered.compaction.components",yC="org.eclipse.elk.alg.layered.compaction.oned",kz="org.eclipse.elk.alg.layered.compaction.oned.algs",wb="org.eclipse.elk.alg.layered.compaction.recthull",Td="org.eclipse.elk.alg.layered.components",U0="NONE",Mc={3:1,6:1,4:1,9:1,5:1,122:1},iht={3:1,6:1,4:1,5:1,141:1,106:1,120:1},xz="org.eclipse.elk.alg.layered.compound",bs={51:1},su="org.eclipse.elk.alg.layered.graph",ooe=" -> ",sht="Not supported by LGraph",A6e="Port side is undefined",coe={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},Og={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},aht={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},oht=`([{"' \r +`,cht=`)]}"' \r +`,uht="The given string contains parts that cannot be parsed as numbers.",xI="org.eclipse.elk.core.math",lht={3:1,4:1,142:1,207:1,414:1},hht={3:1,4:1,116:1,207:1,414:1},qn="org.eclipse.elk.layered",Ng="org.eclipse.elk.alg.layered.graph.transform",fht="ElkGraphImporter",dht="ElkGraphImporter/lambda$0$Type",ght="ElkGraphImporter/lambda$1$Type",pht="ElkGraphImporter/lambda$2$Type",bht="ElkGraphImporter/lambda$4$Type",vht="Node margin calculation",Bn="org.eclipse.elk.alg.layered.intermediate",wht="ONE_SIDED_GREEDY_SWITCH",mht="TWO_SIDED_GREEDY_SWITCH",uoe="No implementation is available for the layout processor ",L6e="IntermediateProcessorStrategy",loe="Node '",yht="FIRST_SEPARATE",kht="LAST_SEPARATE",xht="Odd port side processing",Is="org.eclipse.elk.alg.layered.intermediate.compaction",kC="org.eclipse.elk.alg.layered.intermediate.greedyswitch",a0="org.eclipse.elk.alg.layered.p3order.counting",EI={225:1},dk="org.eclipse.elk.alg.layered.intermediate.loops",Ql="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Zp="org.eclipse.elk.alg.layered.intermediate.loops.routing",xC="org.eclipse.elk.alg.layered.intermediate.preserveorder",_d="org.eclipse.elk.alg.layered.intermediate.wrapping",Dc="org.eclipse.elk.alg.layered.options",hoe="INTERACTIVE",Eht="DEPTH_FIRST",Tht="EDGE_LENGTH",_ht="SELF_LOOPS",Cht="firstTryWithInitialOrder",M6e="org.eclipse.elk.layered.directionCongruency",D6e="org.eclipse.elk.layered.feedbackEdges",Ez="org.eclipse.elk.layered.interactiveReferencePoint",I6e="org.eclipse.elk.layered.mergeEdges",O6e="org.eclipse.elk.layered.mergeHierarchyEdges",N6e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",P6e="org.eclipse.elk.layered.portSortingStrategy",B6e="org.eclipse.elk.layered.thoroughness",F6e="org.eclipse.elk.layered.unnecessaryBendpoints",R6e="org.eclipse.elk.layered.generatePositionAndLayerIds",foe="org.eclipse.elk.layered.cycleBreaking.strategy",TI="org.eclipse.elk.layered.layering.strategy",j6e="org.eclipse.elk.layered.layering.layerConstraint",$6e="org.eclipse.elk.layered.layering.layerChoiceConstraint",H6e="org.eclipse.elk.layered.layering.layerId",doe="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",goe="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",poe="org.eclipse.elk.layered.layering.nodePromotion.strategy",boe="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",voe="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",EC="org.eclipse.elk.layered.crossingMinimization.strategy",z6e="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",woe="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",moe="org.eclipse.elk.layered.crossingMinimization.semiInteractive",G6e="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",q6e="org.eclipse.elk.layered.crossingMinimization.positionId",V6e="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",yoe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",Tz="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",x4="org.eclipse.elk.layered.nodePlacement.strategy",_z="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",koe="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",xoe="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",Eoe="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",Toe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",_oe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",U6e="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",K6e="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",Cz="org.eclipse.elk.layered.edgeRouting.splines.mode",Sz="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",Coe="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",W6e="org.eclipse.elk.layered.spacing.baseValue",Y6e="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",X6e="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Q6e="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Z6e="org.eclipse.elk.layered.priority.direction",J6e="org.eclipse.elk.layered.priority.shortness",eke="org.eclipse.elk.layered.priority.straightness",Soe="org.eclipse.elk.layered.compaction.connectedComponents",tke="org.eclipse.elk.layered.compaction.postCompaction.strategy",nke="org.eclipse.elk.layered.compaction.postCompaction.constraints",Az="org.eclipse.elk.layered.highDegreeNodes.treatment",Aoe="org.eclipse.elk.layered.highDegreeNodes.threshold",Loe="org.eclipse.elk.layered.highDegreeNodes.treeHeight",K0="org.eclipse.elk.layered.wrapping.strategy",Lz="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",Mz="org.eclipse.elk.layered.wrapping.correctionFactor",TC="org.eclipse.elk.layered.wrapping.cutting.strategy",Moe="org.eclipse.elk.layered.wrapping.cutting.cuts",Doe="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Dz="org.eclipse.elk.layered.wrapping.validify.strategy",Iz="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",Oz="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",Nz="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",Ioe="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",rke="org.eclipse.elk.layered.edgeLabels.sideSelection",ike="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",Pz="org.eclipse.elk.layered.considerModelOrder.strategy",ske="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Ooe="org.eclipse.elk.layered.considerModelOrder.components",ake="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Noe="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Poe="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Boe="layering",Sht="layering.minWidth",Aht="layering.nodePromotion",_I="crossingMinimization",Bz="org.eclipse.elk.hierarchyHandling",Lht="crossingMinimization.greedySwitch",Mht="nodePlacement",Dht="nodePlacement.bk",Iht="edgeRouting",CI="org.eclipse.elk.edgeRouting",z1="spacing",oke="priority",cke="compaction",Oht="compaction.postCompaction",Nht="Specifies whether and how post-process compaction is applied.",uke="highDegreeNodes",lke="wrapping",Pht="wrapping.cutting",Bht="wrapping.validify",hke="wrapping.multiEdge",Foe="edgeLabels",SI="considerModelOrder",fke="org.eclipse.elk.spacing.commentComment",dke="org.eclipse.elk.spacing.commentNode",gke="org.eclipse.elk.spacing.edgeEdge",pke="org.eclipse.elk.spacing.edgeNode",bke="org.eclipse.elk.spacing.labelLabel",vke="org.eclipse.elk.spacing.labelPortHorizontal",wke="org.eclipse.elk.spacing.labelPortVertical",mke="org.eclipse.elk.spacing.labelNode",yke="org.eclipse.elk.spacing.nodeSelfLoop",kke="org.eclipse.elk.spacing.portPort",xke="org.eclipse.elk.spacing.individual",Eke="org.eclipse.elk.port.borderOffset",Tke="org.eclipse.elk.noLayout",_ke="org.eclipse.elk.port.side",AI="org.eclipse.elk.debugMode",Cke="org.eclipse.elk.alignment",Ske="org.eclipse.elk.insideSelfLoops.activate",Ake="org.eclipse.elk.insideSelfLoops.yo",Roe="org.eclipse.elk.nodeSize.fixedGraphSize",Lke="org.eclipse.elk.direction",Mke="org.eclipse.elk.nodeLabels.padding",Dke="org.eclipse.elk.portLabels.nextToPortIfPossible",Ike="org.eclipse.elk.portLabels.treatAsGroup",Oke="org.eclipse.elk.portAlignment.default",Nke="org.eclipse.elk.portAlignment.north",Pke="org.eclipse.elk.portAlignment.south",Bke="org.eclipse.elk.portAlignment.west",Fke="org.eclipse.elk.portAlignment.east",Fz="org.eclipse.elk.contentAlignment",Rke="org.eclipse.elk.junctionPoints",jke="org.eclipse.elk.edgeLabels.placement",$ke="org.eclipse.elk.port.index",Hke="org.eclipse.elk.commentBox",zke="org.eclipse.elk.hypernode",Gke="org.eclipse.elk.port.anchor",joe="org.eclipse.elk.partitioning.activate",$oe="org.eclipse.elk.partitioning.partition",Rz="org.eclipse.elk.position",qke="org.eclipse.elk.margins",Vke="org.eclipse.elk.spacing.portsSurrounding",Hoe="org.eclipse.elk.interactiveLayout",Ic="org.eclipse.elk.core.util",Uke={3:1,4:1,5:1,593:1},Fht="NETWORK_SIMPLEX",Wc={123:1,51:1},jz="org.eclipse.elk.alg.layered.p1cycles",gy="org.eclipse.elk.alg.layered.p2layers",Kke={402:1,225:1},Rht={832:1,3:1,4:1},Wu="org.eclipse.elk.alg.layered.p3order",ko="org.eclipse.elk.alg.layered.p4nodes",jht={3:1,4:1,5:1,840:1},Cd=1e-5,Jp="org.eclipse.elk.alg.layered.p4nodes.bk",zoe="org.eclipse.elk.alg.layered.p5edges",i1="org.eclipse.elk.alg.layered.p5edges.orthogonal",Goe="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",qoe=1e-6,py="org.eclipse.elk.alg.layered.p5edges.splines",Voe=.09999999999999998,$z=1e-8,$ht=4.71238898038469,Hht=3.141592653589793,_C="org.eclipse.elk.alg.mrtree",CC="org.eclipse.elk.alg.mrtree.graph",gk="org.eclipse.elk.alg.mrtree.intermediate",zht="Set neighbors in level",Ght="DESCENDANTS",Wke="org.eclipse.elk.mrtree.weighting",Yke="org.eclipse.elk.mrtree.searchOrder",Hz="org.eclipse.elk.alg.mrtree.options",Pg="org.eclipse.elk.mrtree",qht="org.eclipse.elk.tree",Xke="org.eclipse.elk.alg.radial",E4=6.283185307179586,Qke=5e-324,Vht="org.eclipse.elk.alg.radial.intermediate",Uoe="org.eclipse.elk.alg.radial.intermediate.compaction",Uht={3:1,4:1,5:1,106:1},Zke="org.eclipse.elk.alg.radial.intermediate.optimization",Koe="No implementation is available for the layout option ",SC="org.eclipse.elk.alg.radial.options",Jke="org.eclipse.elk.radial.orderId",e8e="org.eclipse.elk.radial.radius",Woe="org.eclipse.elk.radial.compactor",Yoe="org.eclipse.elk.radial.compactionStepSize",t8e="org.eclipse.elk.radial.sorter",n8e="org.eclipse.elk.radial.wedgeCriteria",r8e="org.eclipse.elk.radial.optimizationCriteria",Sd="org.eclipse.elk.radial",Kht="org.eclipse.elk.alg.radial.p1position.wedge",i8e="org.eclipse.elk.alg.radial.sorting",Wht=5.497787143782138,Yht=3.9269908169872414,Xht=2.356194490192345,Qht="org.eclipse.elk.alg.rectpacking",zz="org.eclipse.elk.alg.rectpacking.firstiteration",Xoe="org.eclipse.elk.alg.rectpacking.options",s8e="org.eclipse.elk.rectpacking.optimizationGoal",a8e="org.eclipse.elk.rectpacking.lastPlaceShift",o8e="org.eclipse.elk.rectpacking.currentPosition",c8e="org.eclipse.elk.rectpacking.desiredPosition",u8e="org.eclipse.elk.rectpacking.onlyFirstIteration",l8e="org.eclipse.elk.rectpacking.rowCompaction",Qoe="org.eclipse.elk.rectpacking.expandToAspectRatio",h8e="org.eclipse.elk.rectpacking.targetWidth",Gz="org.eclipse.elk.expandNodes",Hh="org.eclipse.elk.rectpacking",LI="org.eclipse.elk.alg.rectpacking.util",qz="No implementation available for ",by="org.eclipse.elk.alg.spore",vy="org.eclipse.elk.alg.spore.options",uw="org.eclipse.elk.sporeCompaction",Zoe="org.eclipse.elk.underlyingLayoutAlgorithm",f8e="org.eclipse.elk.processingOrder.treeConstruction",d8e="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Joe="org.eclipse.elk.processingOrder.preferredRoot",ece="org.eclipse.elk.processingOrder.rootSelection",tce="org.eclipse.elk.structure.structureExtractionStrategy",g8e="org.eclipse.elk.compaction.compactionStrategy",p8e="org.eclipse.elk.compaction.orthogonal",b8e="org.eclipse.elk.overlapRemoval.maxIterations",v8e="org.eclipse.elk.overlapRemoval.runScanline",nce="processingOrder",Zht="overlapRemoval",M7="org.eclipse.elk.sporeOverlap",Jht="org.eclipse.elk.alg.spore.p1structure",rce="org.eclipse.elk.alg.spore.p2processingorder",ice="org.eclipse.elk.alg.spore.p3execution",eft="Invalid index: ",D7="org.eclipse.elk.core.alg",T4={331:1},wy={288:1},tft="Make sure its type is registered with the ",w8e=" utility class.",I7="true",sce="false",nft="Couldn't clone property '",lw=.05,zh="org.eclipse.elk.core.options",rft=1.2999999523162842,hw="org.eclipse.elk.box",m8e="org.eclipse.elk.box.packingMode",ift="org.eclipse.elk.algorithm",sft="org.eclipse.elk.resolvedAlgorithm",y8e="org.eclipse.elk.bendPoints",zwn="org.eclipse.elk.labelManager",aft="org.eclipse.elk.scaleFactor",oft="org.eclipse.elk.animate",cft="org.eclipse.elk.animTimeFactor",uft="org.eclipse.elk.layoutAncestors",lft="org.eclipse.elk.maxAnimTime",hft="org.eclipse.elk.minAnimTime",fft="org.eclipse.elk.progressBar",dft="org.eclipse.elk.validateGraph",gft="org.eclipse.elk.validateOptions",pft="org.eclipse.elk.zoomToFit",Gwn="org.eclipse.elk.font.name",bft="org.eclipse.elk.font.size",vft="org.eclipse.elk.edge.type",wft="partitioning",mft="nodeLabels",Vz="portAlignment",ace="nodeSize",oce="port",k8e="portLabels",yft="insideSelfLoops",AC="org.eclipse.elk.fixed",Uz="org.eclipse.elk.random",kft="port must have a parent node to calculate the port side",xft="The edge needs to have exactly one edge section. Found: ",LC="org.eclipse.elk.core.util.adapters",kh="org.eclipse.emf.ecore",_4="org.eclipse.elk.graph",Eft="EMapPropertyHolder",Tft="ElkBendPoint",_ft="ElkGraphElement",Cft="ElkConnectableShape",x8e="ElkEdge",Sft="ElkEdgeSection",Aft="EModelElement",Lft="ENamedElement",E8e="ElkLabel",T8e="ElkNode",_8e="ElkPort",Mft={92:1,90:1},pk="org.eclipse.emf.common.notify.impl",e2="The feature '",MC="' is not a valid changeable feature",Dft="Expecting null",cce="' is not a valid feature",Ift="The feature ID",Oft=" is not a valid feature ID",Ec=32768,Nft={105:1,92:1,90:1,56:1,49:1,97:1},_n="org.eclipse.emf.ecore.impl",mb="org.eclipse.elk.graph.impl",DC="Recursive containment not allowed for ",O7="The datatype '",fw="' is not a valid classifier",uce="The value '",C4={190:1,3:1,4:1},lce="The class '",N7="http://www.eclipse.org/elk/ElkGraph",_f=1024,C8e="property",IC="value",hce="source",Pft="properties",Bft="identifier",fce="height",dce="width",gce="parent",pce="text",bce="children",Fft="hierarchical",S8e="sources",vce="targets",A8e="sections",Kz="bendPoints",L8e="outgoingShape",M8e="incomingShape",D8e="outgoingSections",I8e="incomingSections",Za="org.eclipse.emf.common.util",O8e="Severe implementation error in the Json to ElkGraph importer.",Ad="id",Ia="org.eclipse.elk.graph.json",N8e="Unhandled parameter types: ",Rft="startPoint",jft="An edge must have at least one source and one target (edge id: '",P7="').",$ft="Referenced edge section does not exist: ",Hft=" (edge id: '",P8e="target",zft="sourcePoint",Gft="targetPoint",Wz="group",fi="name",qft="connectableShape cannot be null",Vft="edge cannot be null",wce="Passed edge is not 'simple'.",Yz="org.eclipse.elk.graph.util",MI="The 'no duplicates' constraint is violated",mce="targetIndex=",yb=", size=",yce="sourceIndex=",Ld={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},kce={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},Xz="logging",Uft="measureExecutionTime",Kft="parser.parse.1",Wft="parser.parse.2",Qz="parser.next.1",xce="parser.next.2",Yft="parser.next.3",Xft="parser.next.4",kb="parser.factor.1",B8e="parser.factor.2",Qft="parser.factor.3",Zft="parser.factor.4",Jft="parser.factor.5",e1t="parser.factor.6",t1t="parser.atom.1",n1t="parser.atom.2",r1t="parser.atom.3",F8e="parser.atom.4",Ece="parser.atom.5",R8e="parser.cc.1",Zz="parser.cc.2",i1t="parser.cc.3",s1t="parser.cc.5",j8e="parser.cc.6",$8e="parser.cc.7",Tce="parser.cc.8",a1t="parser.ope.1",o1t="parser.ope.2",c1t="parser.ope.3",Bg="parser.descape.1",u1t="parser.descape.2",l1t="parser.descape.3",h1t="parser.descape.4",f1t="parser.descape.5",xh="parser.process.1",d1t="parser.quantifier.1",g1t="parser.quantifier.2",p1t="parser.quantifier.3",b1t="parser.quantifier.4",H8e="parser.quantifier.5",v1t="org.eclipse.emf.common.notify",z8e={415:1,672:1},w1t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},DI={366:1,143:1},OC="index=",_ce={3:1,4:1,5:1,126:1},m1t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},G8e={3:1,6:1,4:1,5:1,192:1},y1t={3:1,4:1,5:1,165:1,367:1},k1t=";/?:@&=+$,",x1t="invalid authority: ",E1t="EAnnotation",T1t="ETypedElement",_1t="EStructuralFeature",C1t="EAttribute",S1t="EClassifier",A1t="EEnumLiteral",L1t="EGenericType",M1t="EOperation",D1t="EParameter",I1t="EReference",O1t="ETypeParameter",Ui="org.eclipse.emf.ecore.util",Cce={76:1},q8e={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},N1t="org.eclipse.emf.ecore.util.FeatureMap$Entry",Yu=8192,my=2048,NC="byte",Jz="char",PC="double",BC="float",FC="int",RC="long",jC="short",P1t="java.lang.Object",S4={3:1,4:1,5:1,247:1},V8e={3:1,4:1,5:1,673:1},B1t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},Xo={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},II="mixed",Zr="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Gh="kind",F1t={3:1,4:1,5:1,674:1},U8e={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},eG={20:1,28:1,52:1,14:1,15:1,58:1,69:1},tG={47:1,125:1,279:1},nG={72:1,332:1},rG="The value of type '",iG="' must be of type '",A4=1316,qh="http://www.eclipse.org/emf/2002/Ecore",sG=-32768,dw="constraints",Ga="baseType",R1t="getEStructuralFeature",j1t="getFeatureID",$C="feature",$1t="getOperationID",K8e="operation",H1t="defaultValue",z1t="eTypeParameters",G1t="isInstance",q1t="getEEnumLiteral",V1t="eContainingClass",ui={55:1},U1t={3:1,4:1,5:1,119:1},K1t="org.eclipse.emf.ecore.resource",W1t={92:1,90:1,591:1,1935:1},Sce="org.eclipse.emf.ecore.resource.impl",W8e="unspecified",OI="simple",aG="attribute",Y1t="attributeWildcard",oG="element",Ace="elementWildcard",s1="collapse",Lce="itemType",cG="namespace",NI="##targetNamespace",Vh="whiteSpace",Y8e="wildcards",xb="http://www.eclipse.org/emf/2003/XMLType",Mce="##any",B7="uninitialized",PI="The multiplicity constraint is violated",uG="org.eclipse.emf.ecore.xml.type",X1t="ProcessingInstruction",Q1t="SimpleAnyType",Z1t="XMLTypeDocumentRoot",As="org.eclipse.emf.ecore.xml.type.impl",BI="INF",J1t="processing",edt="ENTITIES_._base",X8e="minLength",Q8e="ENTITY",lG="NCName",tdt="IDREFS_._base",Z8e="integer",Dce="token",Ice="pattern",ndt="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",J8e="\\i\\c*",rdt="[\\i-[:]][\\c-[:]]*",idt="nonPositiveInteger",FI="maxInclusive",exe="NMTOKEN",sdt="NMTOKENS_._base",txe="nonNegativeInteger",RI="minInclusive",adt="normalizedString",odt="unsignedByte",cdt="unsignedInt",udt="18446744073709551615",ldt="unsignedShort",hdt="processingInstruction",Fg="org.eclipse.emf.ecore.xml.type.internal",F7=1114111,fdt="Internal Error: shorthands: \\u",HC="xml:isDigit",Oce="xml:isWord",Nce="xml:isSpace",Pce="xml:isNameChar",Bce="xml:isInitialNameChar",ddt="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",gdt="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",pdt="Private Use",Fce="ASSIGNED",Rce="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",nxe="UNASSIGNED",R7={3:1,117:1},bdt="org.eclipse.emf.ecore.xml.type.util",hG={3:1,4:1,5:1,368:1},rxe="org.eclipse.xtext.xbase.lib",vdt="Cannot add elements to a Range",wdt="Cannot set elements in a Range",mdt="Cannot remove elements from a Range",fG="locale",dG="default",gG="user.agent",l,pG,jce;b.goog=b.goog||{},b.goog.global=b.goog.global||b,pln(),M(1,null,{},A),l.Fb=function(t){return fqe(this,t)},l.Gb=function(){return this.gm},l.Hb=function(){return kv(this)},l.Ib=function(){var t;return xp(pl(this))+"@"+(t=Yi(this)>>>0,t.toString(16))},l.equals=function(e){return this.Fb(e)},l.hashCode=function(){return this.Hb()},l.toString=function(){return this.Ib()};var ydt,kdt,xdt;M(290,1,{290:1,2026:1},Nme),l.le=function(t){var n;return n=new Nme,n.i=4,t>1?n.c=LYe(this,t-1):n.c=this,n},l.me=function(){return S0(this),this.b},l.ne=function(){return xp(this)},l.oe=function(){return S0(this),this.k},l.pe=function(){return(this.i&4)!=0},l.qe=function(){return(this.i&1)!=0},l.Ib=function(){return Ywe(this)},l.i=0;var Xn=O(ac,"Object",1),ixe=O(ac,"Class",290);M(1998,1,aI),O(oI,"Optional",1998),M(1170,1998,aI,N),l.Fb=function(t){return t===this},l.Hb=function(){return 2040732332},l.Ib=function(){return"Optional.absent()"},l.Jb=function(t){return Or(t),gT(),$ce};var $ce;O(oI,"Absent",1170),M(628,1,{},Nee),O(oI,"Joiner",628);var qwn=rs(oI,"Predicate");M(582,1,{169:1,582:1,3:1,45:1},J9),l.Mb=function(t){return vtt(this,t)},l.Lb=function(t){return vtt(this,t)},l.Fb=function(t){var n;return me(t,582)?(n=u(t,582),S4e(this.a,n.a)):!1},l.Hb=function(){return jme(this.a)+306654252},l.Ib=function(){return thn(this.a)},O(oI,"Predicates/AndPredicate",582),M(408,1998,{408:1,3:1},L8),l.Fb=function(t){var n;return me(t,408)?(n=u(t,408),Ci(this.a,n.a)):!1},l.Hb=function(){return 1502476572+Yi(this.a)},l.Ib=function(){return rlt+this.a+")"},l.Jb=function(t){return new L8(Ij(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},O(oI,"Present",408),M(198,1,v7),l.Nb=function(t){La(this,t)},l.Qb=function(){nHe()},O(qt,"UnmodifiableIterator",198),M(1978,198,w7),l.Qb=function(){nHe()},l.Rb=function(t){throw ee(new Rr)},l.Wb=function(t){throw ee(new Rr)},O(qt,"UnmodifiableListIterator",1978),M(386,1978,w7),l.Ob=function(){return this.c0},l.Pb=function(){if(this.c>=this.d)throw ee(new yc);return this.Xb(this.c++)},l.Tb=function(){return this.c},l.Ub=function(){if(this.c<=0)throw ee(new yc);return this.Xb(--this.c)},l.Vb=function(){return this.c-1},l.c=0,l.d=0,O(qt,"AbstractIndexedListIterator",386),M(699,198,v7),l.Ob=function(){return Dre(this)},l.Pb=function(){return Gwe(this)},l.e=1,O(qt,"AbstractIterator",699),M(1986,1,{224:1}),l.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},l.Fb=function(t){return Yre(this,t)},l.Hb=function(){return Yi(this.Zb())},l.dc=function(){return this.gc()==0},l.ec=function(){return A6(this)},l.Ib=function(){return Yo(this.Zb())},O(qt,"AbstractMultimap",1986),M(726,1986,db),l.$b=function(){C$(this)},l._b=function(t){return kHe(this,t)},l.ac=function(){return new U8(this,this.c)},l.ic=function(t){return this.hc()},l.bc=function(){return new j3(this,this.c)},l.jc=function(){return this.mc(this.hc())},l.kc=function(){return new j$e(this)},l.lc=function(){return nse(this.c.vc().Nc(),new F,64,this.d)},l.cc=function(t){return Oi(this,t)},l.fc=function(t){return yD(this,t)},l.gc=function(){return this.d},l.mc=function(t){return fn(),new E(t)},l.nc=function(){return new R$e(this)},l.oc=function(){return nse(this.c.Cc().Nc(),new B,64,this.d)},l.pc=function(t,n){return new a$(this,t,n,null)},l.d=0,O(qt,"AbstractMapBasedMultimap",726),M(1631,726,db),l.hc=function(){return new tu(this.a)},l.jc=function(){return fn(),fn(),bo},l.cc=function(t){return u(Oi(this,t),15)},l.fc=function(t){return u(yD(this,t),15)},l.Zb=function(){return O6(this)},l.Fb=function(t){return Yre(this,t)},l.qc=function(t){return u(Oi(this,t),15)},l.rc=function(t){return u(yD(this,t),15)},l.mc=function(t){return OM(u(t,15))},l.pc=function(t,n){return NXe(this,t,u(n,15),null)},O(qt,"AbstractListMultimap",1631),M(732,1,ba),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.c.Ob()||this.e.Ob()},l.Pb=function(){var t;return this.e.Ob()||(t=u(this.c.Pb(),42),this.b=t.cd(),this.a=u(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},l.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},O(qt,"AbstractMapBasedMultimap/Itr",732),M(1099,732,ba,R$e),l.sc=function(t,n){return n},O(qt,"AbstractMapBasedMultimap/1",1099),M(1100,1,{},B),l.Kb=function(t){return u(t,14).Nc()},O(qt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),M(1101,732,ba,j$e),l.sc=function(t,n){return new bv(t,n)},O(qt,"AbstractMapBasedMultimap/2",1101);var sxe=rs(yr,"Map");M(1967,1,aw),l.wc=function(t){L_(this,t)},l.yc=function(t,n,r){return fie(this,t,n,r)},l.$b=function(){this.vc().$b()},l.tc=function(t){return jie(this,t)},l._b=function(t){return!!M3e(this,t,!1)},l.uc=function(t){var n,r,i;for(r=this.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),i=n.dd(),$e(t)===$e(i)||t!=null&&Ci(t,i))return!0;return!1},l.Fb=function(t){var n,r,i;if(t===this)return!0;if(!me(t,83)||(i=u(t,83),this.gc()!=i.gc()))return!1;for(r=i.vc().Kc();r.Ob();)if(n=u(r.Pb(),42),!this.tc(n))return!1;return!0},l.xc=function(t){return hc(M3e(this,t,!1))},l.Hb=function(){return Lme(this.vc())},l.dc=function(){return this.gc()==0},l.ec=function(){return new pm(this)},l.zc=function(t,n){throw ee(new fg("Put not supported on this map"))},l.Ac=function(t){A_(this,t)},l.Bc=function(t){return hc(M3e(this,t,!0))},l.gc=function(){return this.vc().gc()},l.Ib=function(){return mit(this)},l.Cc=function(){return new x1(this)},O(yr,"AbstractMap",1967),M(1987,1967,aw),l.bc=function(){return new JF(this)},l.vc=function(){return OKe(this)},l.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},l.Cc=function(){var t;return t=this.i,t||(this.i=new dze(this))},O(qt,"Maps/ViewCachingAbstractMap",1987),M(389,1987,aw,U8),l.xc=function(t){return Ftn(this,t)},l.Bc=function(t){return Jrn(this,t)},l.$b=function(){this.d==this.e.c?this.e.$b():cj(new Qbe(this))},l._b=function(t){return Xtt(this.d,t)},l.Ec=function(){return new M8(this)},l.Dc=function(){return this.Ec()},l.Fb=function(t){return this===t||Ci(this.d,t)},l.Hb=function(){return Yi(this.d)},l.ec=function(){return this.e.ec()},l.gc=function(){return this.d.gc()},l.Ib=function(){return Yo(this.d)},O(qt,"AbstractMapBasedMultimap/AsMap",389);var G1=rs(ac,"Iterable");M(28,1,uy),l.Jc=function(t){Da(this,t)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new kn(this,0)},l.Oc=function(){return new mn(null,this.Nc())},l.Fc=function(t){throw ee(new fg("Add not supported on this collection"))},l.Gc=function(t){return ro(this,t)},l.$b=function(){Bve(this)},l.Hc=function(t){return Wm(this,t,!1)},l.Ic=function(t){return hD(this,t)},l.dc=function(){return this.gc()==0},l.Mc=function(t){return Wm(this,t,!0)},l.Pc=function(){return lve(this)},l.Qc=function(t){return MD(this,t)},l.Ib=function(){return Vp(this)},O(yr,"AbstractCollection",28);var Uh=rs(yr,"Set");M($1,28,Ku),l.Nc=function(){return new kn(this,1)},l.Fb=function(t){return Gnt(this,t)},l.Hb=function(){return Lme(this)},O(yr,"AbstractSet",$1),M(1970,$1,Ku),O(qt,"Sets/ImprovedAbstractSet",1970),M(1971,1970,Ku),l.$b=function(){this.Rc().$b()},l.Hc=function(t){return Tnt(this,t)},l.dc=function(){return this.Rc().dc()},l.Mc=function(t){var n;return this.Hc(t)?(n=u(t,42),this.Rc().ec().Mc(n.cd())):!1},l.gc=function(){return this.Rc().gc()},O(qt,"Maps/EntrySet",1971),M(1097,1971,Ku,M8),l.Hc=function(t){return iye(this.a.d.vc(),t)},l.Kc=function(){return new Qbe(this.a)},l.Rc=function(){return this.a},l.Mc=function(t){var n;return iye(this.a.d.vc(),t)?(n=u(t,42),Een(this.a.e,n.cd()),!0):!1},l.Nc=function(){return _M(this.a.d.vc().Nc(),new yF(this.a))},O(qt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),M(1098,1,{},yF),l.Kb=function(t){return EQe(this.a,u(t,42))},O(qt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),M(730,1,ba,Qbe),l.Nb=function(t){La(this,t)},l.Pb=function(){var t;return t=u(this.b.Pb(),42),this.a=u(t.dd(),14),EQe(this.c,t)},l.Ob=function(){return this.b.Ob()},l.Qb=function(){W3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},O(qt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),M(532,1970,Ku,JF),l.$b=function(){this.b.$b()},l.Hc=function(t){return this.b._b(t)},l.Jc=function(t){Or(t),this.b.wc(new zJ(t))},l.dc=function(){return this.b.dc()},l.Kc=function(){return new pT(this.b.vc().Kc())},l.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},l.gc=function(){return this.b.gc()},O(qt,"Maps/KeySet",532),M(318,532,Ku,j3),l.$b=function(){var t;cj((t=this.b.vc().Kc(),new Epe(this,t)))},l.Ic=function(t){return this.b.ec().Ic(t)},l.Fb=function(t){return this===t||Ci(this.b.ec(),t)},l.Hb=function(){return Yi(this.b.ec())},l.Kc=function(){var t;return t=this.b.vc().Kc(),new Epe(this,t)},l.Mc=function(t){var n,r;return r=0,n=u(this.b.Bc(t),14),n&&(r=n.gc(),n.$b(),this.a.d-=r),r>0},l.Nc=function(){return this.b.ec().Nc()},O(qt,"AbstractMapBasedMultimap/KeySet",318),M(731,1,ba,Epe),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.c.Ob()},l.Pb=function(){return this.a=u(this.c.Pb(),42),this.a.cd()},l.Qb=function(){var t;W3(!!this.a),t=u(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},O(qt,"AbstractMapBasedMultimap/KeySet/1",731),M(491,389,{83:1,161:1},wM),l.bc=function(){return this.Sc()},l.ec=function(){return this.Tc()},l.Sc=function(){return new WL(this.c,this.Uc())},l.Tc=function(){var t;return t=this.b,t||(this.b=this.Sc())},l.Uc=function(){return u(this.d,161)},O(qt,"AbstractMapBasedMultimap/SortedAsMap",491),M(542,491,ilt,YR),l.bc=function(){return new V8(this.a,u(u(this.d,161),171))},l.Sc=function(){return new V8(this.a,u(u(this.d,161),171))},l.ec=function(){var t;return t=this.b,u(t||(this.b=new V8(this.a,u(u(this.d,161),171))),271)},l.Tc=function(){var t;return t=this.b,u(t||(this.b=new V8(this.a,u(u(this.d,161),171))),271)},l.Uc=function(){return u(u(this.d,161),171)},O(qt,"AbstractMapBasedMultimap/NavigableAsMap",542),M(490,318,slt,WL),l.Nc=function(){return this.b.ec().Nc()},O(qt,"AbstractMapBasedMultimap/SortedKeySet",490),M(388,490,z5e,V8),O(qt,"AbstractMapBasedMultimap/NavigableKeySet",388),M(541,28,uy,a$),l.Fc=function(t){var n,r;return bl(this),r=this.d.dc(),n=this.d.Fc(t),n&&(++this.f.d,r&&xM(this)),n},l.Gc=function(t){var n,r,i;return t.dc()?!1:(i=(bl(this),this.d.gc()),n=this.d.Gc(t),n&&(r=this.d.gc(),this.f.d+=r-i,i==0&&xM(this)),n)},l.$b=function(){var t;t=(bl(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,dj(this))},l.Hc=function(t){return bl(this),this.d.Hc(t)},l.Ic=function(t){return bl(this),this.d.Ic(t)},l.Fb=function(t){return t===this?!0:(bl(this),Ci(this.d,t))},l.Hb=function(){return bl(this),Yi(this.d)},l.Kc=function(){return bl(this),new Fbe(this)},l.Mc=function(t){var n;return bl(this),n=this.d.Mc(t),n&&(--this.f.d,dj(this)),n},l.gc=function(){return QGe(this)},l.Nc=function(){return bl(this),this.d.Nc()},l.Ib=function(){return bl(this),Yo(this.d)},O(qt,"AbstractMapBasedMultimap/WrappedCollection",541);var Eh=rs(yr,"List");M(728,541,{20:1,28:1,14:1,15:1},fve),l.ad=function(t){K3(this,t)},l.Nc=function(){return bl(this),this.d.Nc()},l.Vc=function(t,n){var r;bl(this),r=this.d.dc(),u(this.d,15).Vc(t,n),++this.a.d,r&&xM(this)},l.Wc=function(t,n){var r,i,a;return n.dc()?!1:(a=(bl(this),this.d.gc()),r=u(this.d,15).Wc(t,n),r&&(i=this.d.gc(),this.a.d+=i-a,a==0&&xM(this)),r)},l.Xb=function(t){return bl(this),u(this.d,15).Xb(t)},l.Xc=function(t){return bl(this),u(this.d,15).Xc(t)},l.Yc=function(){return bl(this),new Mqe(this)},l.Zc=function(t){return bl(this),new GWe(this,t)},l.$c=function(t){var n;return bl(this),n=u(this.d,15).$c(t),--this.a.d,dj(this),n},l._c=function(t,n){return bl(this),u(this.d,15)._c(t,n)},l.bd=function(t,n){return bl(this),NXe(this.a,this.e,u(this.d,15).bd(t,n),this.b?this.b:this)},O(qt,"AbstractMapBasedMultimap/WrappedList",728),M(1096,728,{20:1,28:1,14:1,15:1,54:1},yVe),O(qt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),M(620,1,ba,Fbe),l.Nb=function(t){La(this,t)},l.Ob=function(){return dx(this),this.b.Ob()},l.Pb=function(){return dx(this),this.b.Pb()},l.Qb=function(){rVe(this)},O(qt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),M(729,620,e0,Mqe,GWe),l.Qb=function(){rVe(this)},l.Rb=function(t){var n;n=QGe(this.a)==0,(dx(this),u(this.b,125)).Rb(t),++this.a.a.d,n&&xM(this.a)},l.Sb=function(){return(dx(this),u(this.b,125)).Sb()},l.Tb=function(){return(dx(this),u(this.b,125)).Tb()},l.Ub=function(){return(dx(this),u(this.b,125)).Ub()},l.Vb=function(){return(dx(this),u(this.b,125)).Vb()},l.Wb=function(t){(dx(this),u(this.b,125)).Wb(t)},O(qt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),M(727,541,slt,ibe),l.Nc=function(){return bl(this),this.d.Nc()},O(qt,"AbstractMapBasedMultimap/WrappedSortedSet",727),M(1095,727,z5e,xqe),O(qt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),M(1094,541,Ku,NVe),l.Nc=function(){return bl(this),this.d.Nc()},O(qt,"AbstractMapBasedMultimap/WrappedSet",1094),M(1103,1,{},F),l.Kb=function(t){return Len(u(t,42))},O(qt,"AbstractMapBasedMultimap/lambda$1$Type",1103),M(1102,1,{},LJ),l.Kb=function(t){return new bv(this.a,t)},O(qt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Eb=rs(yr,"Map/Entry");M(345,1,sz),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),pd(this.cd(),n.cd())&&pd(this.dd(),n.dd())):!1},l.Hb=function(){var t,n;return t=this.cd(),n=this.dd(),(t==null?0:Yi(t))^(n==null?0:Yi(n))},l.ed=function(t){throw ee(new Rr)},l.Ib=function(){return this.cd()+"="+this.dd()},O(qt,alt,345),M(1988,28,uy),l.$b=function(){this.fd().$b()},l.Hc=function(t){var n;return me(t,42)?(n=u(t,42),uJt(this.fd(),n.cd(),n.dd())):!1},l.Mc=function(t){var n;return me(t,42)?(n=u(t,42),gXe(this.fd(),n.cd(),n.dd())):!1},l.gc=function(){return this.fd().d},O(qt,"Multimaps/Entries",1988),M(733,1988,uy,DL),l.Kc=function(){return this.a.kc()},l.fd=function(){return this.a},l.Nc=function(){return this.a.lc()},O(qt,"AbstractMultimap/Entries",733),M(734,733,Ku,Jge),l.Nc=function(){return this.a.lc()},l.Fb=function(t){return W3e(this,t)},l.Hb=function(){return bet(this)},O(qt,"AbstractMultimap/EntrySet",734),M(735,28,uy,x3),l.$b=function(){this.a.$b()},l.Hc=function(t){return Krn(this.a,t)},l.Kc=function(){return this.a.nc()},l.gc=function(){return this.a.d},l.Nc=function(){return this.a.oc()},O(qt,"AbstractMultimap/Values",735),M(1989,28,{835:1,20:1,28:1,14:1}),l.Jc=function(t){Or(t),H3(this).Jc(new HJ(t))},l.Nc=function(){var t;return t=H3(this).Nc(),nse(t,new ye,64|t.qd()&1296,this.a.d)},l.Fc=function(t){return cpe(),!0},l.Gc=function(t){return Or(this),Or(t),me(t,543)?gJt(u(t,835)):!t.dc()&&xre(this,t.Kc())},l.Hc=function(t){var n;return n=u(Km(O6(this.a),t),14),(n?n.gc():0)>0},l.Fb=function(t){return o1n(this,t)},l.Hb=function(){return Yi(H3(this))},l.dc=function(){return H3(this).dc()},l.Mc=function(t){return Bst(this,t,1)>0},l.Ib=function(){return Yo(H3(this))},O(qt,"AbstractMultiset",1989),M(1991,1970,Ku),l.$b=function(){C$(this.a.a)},l.Hc=function(t){var n,r;return me(t,492)?(r=u(t,416),u(r.a.dd(),14).gc()<=0?!1:(n=qYe(this.a,r.a.cd()),n==u(r.a.dd(),14).gc())):!1},l.Mc=function(t){var n,r,i,a;return me(t,492)&&(r=u(t,416),n=r.a.cd(),i=u(r.a.dd(),14).gc(),i!=0)?(a=this.a,Yhn(a,n,i)):!1},O(qt,"Multisets/EntrySet",1991),M(1109,1991,Ku,IL),l.Kc=function(){return new K$e(OKe(O6(this.a.a)).Kc())},l.gc=function(){return O6(this.a.a).gc()},O(qt,"AbstractMultiset/EntrySet",1109),M(619,726,db),l.hc=function(){return this.gd()},l.jc=function(){return this.hd()},l.cc=function(t){return this.jd(t)},l.fc=function(t){return this.kd(t)},l.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},l.hd=function(){return fn(),fn(),kG},l.Fb=function(t){return Yre(this,t)},l.jd=function(t){return u(Oi(this,t),21)},l.kd=function(t){return u(yD(this,t),21)},l.mc=function(t){return fn(),new H8(u(t,21))},l.pc=function(t,n){return new NVe(this,t,u(n,21))},O(qt,"AbstractSetMultimap",619),M(1657,619,db),l.hc=function(){return new Ep(this.b)},l.gd=function(){return new Ep(this.b)},l.jc=function(){return Sve(new Ep(this.b))},l.hd=function(){return Sve(new Ep(this.b))},l.cc=function(t){return u(u(Oi(this,t),21),84)},l.jd=function(t){return u(u(Oi(this,t),21),84)},l.fc=function(t){return u(u(yD(this,t),21),84)},l.kd=function(t){return u(u(yD(this,t),21),84)},l.mc=function(t){return me(t,271)?Sve(u(t,271)):(fn(),new F2e(u(t,84)))},l.Zb=function(){var t;return t=this.f,t||(this.f=me(this.c,171)?new YR(this,u(this.c,171)):me(this.c,161)?new wM(this,u(this.c,161)):new U8(this,this.c))},l.pc=function(t,n){return me(n,271)?new xqe(this,t,u(n,271)):new ibe(this,t,u(n,84))},O(qt,"AbstractSortedSetMultimap",1657),M(1658,1657,db),l.Zb=function(){var t;return t=this.f,u(u(t||(this.f=me(this.c,171)?new YR(this,u(this.c,171)):me(this.c,161)?new wM(this,u(this.c,161)):new U8(this,this.c)),161),171)},l.ec=function(){var t;return t=this.i,u(u(t||(this.i=me(this.c,171)?new V8(this,u(this.c,171)):me(this.c,161)?new WL(this,u(this.c,161)):new j3(this,this.c)),84),271)},l.bc=function(){return me(this.c,171)?new V8(this,u(this.c,171)):me(this.c,161)?new WL(this,u(this.c,161)):new j3(this,this.c)},O(qt,"AbstractSortedKeySortedSetMultimap",1658),M(2010,1,{1947:1}),l.Fb=function(t){return Rcn(this,t)},l.Hb=function(){var t;return Lme((t=this.g,t||(this.g=new eT(this))))},l.Ib=function(){var t;return mit((t=this.f,t||(this.f=new L2e(this))))},O(qt,"AbstractTable",2010),M(665,$1,Ku,eT),l.$b=function(){rHe()},l.Hc=function(t){var n,r;return me(t,468)?(n=u(t,682),r=u(Km(nWe(this.a),Cp(n.c.e,n.b)),83),!!r&&iye(r.vc(),new bv(Cp(n.c.c,n.a),$6(n.c,n.b,n.a)))):!1},l.Kc=function(){return xQt(this.a)},l.Mc=function(t){var n,r;return me(t,468)?(n=u(t,682),r=u(Km(nWe(this.a),Cp(n.c.e,n.b)),83),!!r&&yin(r.vc(),new bv(Cp(n.c.c,n.a),$6(n.c,n.b,n.a)))):!1},l.gc=function(){return gKe(this.a)},l.Nc=function(){return vJt(this.a)},O(qt,"AbstractTable/CellSet",665),M(1928,28,uy,MJ),l.$b=function(){rHe()},l.Hc=function(t){return Lun(this.a,t)},l.Kc=function(){return EQt(this.a)},l.gc=function(){return gKe(this.a)},l.Nc=function(){return vXe(this.a)},O(qt,"AbstractTable/Values",1928),M(1632,1631,db),O(qt,"ArrayListMultimapGwtSerializationDependencies",1632),M(513,1632,db,Oee,Zve),l.hc=function(){return new tu(this.a)},l.a=0,O(qt,"ArrayListMultimap",513),M(664,2010,{664:1,1947:1,3:1},Ust),O(qt,"ArrayTable",664),M(1924,386,w7,Qqe),l.Xb=function(t){return new Ome(this.a,t)},O(qt,"ArrayTable/1",1924),M(1925,1,{},mF),l.ld=function(t){return new Ome(this.a,t)},O(qt,"ArrayTable/1methodref$getCell$Type",1925),M(2011,1,{682:1}),l.Fb=function(t){var n;return t===this?!0:me(t,468)?(n=u(t,682),pd(Cp(this.c.e,this.b),Cp(n.c.e,n.b))&&pd(Cp(this.c.c,this.a),Cp(n.c.c,n.a))&&pd($6(this.c,this.b,this.a),$6(n.c,n.b,n.a))):!1},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[Cp(this.c.e,this.b),Cp(this.c.c,this.a),$6(this.c,this.b,this.a)]))},l.Ib=function(){return"("+Cp(this.c.e,this.b)+","+Cp(this.c.c,this.a)+")="+$6(this.c,this.b,this.a)},O(qt,"Tables/AbstractCell",2011),M(468,2011,{468:1,682:1},Ome),l.a=0,l.b=0,l.d=0,O(qt,"ArrayTable/2",468),M(1927,1,{},e6),l.ld=function(t){return AZe(this.a,t)},O(qt,"ArrayTable/2methodref$getValue$Type",1927),M(1926,386,w7,Zqe),l.Xb=function(t){return AZe(this.a,t)},O(qt,"ArrayTable/3",1926),M(1979,1967,aw),l.$b=function(){cj(this.kc())},l.vc=function(){return new n6(this)},l.lc=function(){return new MWe(this.kc(),this.gc())},O(qt,"Maps/IteratorBasedAbstractMap",1979),M(828,1979,aw),l.$b=function(){throw ee(new Rr)},l._b=function(t){return xHe(this.c,t)},l.kc=function(){return new Jqe(this,this.c.b.c.gc())},l.lc=function(){return Zte(this.c.b.c.gc(),16,new rv(this))},l.xc=function(t){var n;return n=u(t_(this.c,t),19),n?this.nd(n.a):null},l.dc=function(){return this.c.b.c.dc()},l.ec=function(){return ane(this.c)},l.zc=function(t,n){var r;if(r=u(t_(this.c,t),19),!r)throw ee(new Dn(this.md()+" "+t+" not in "+ane(this.c)));return this.od(r.a,n)},l.Bc=function(t){throw ee(new Rr)},l.gc=function(){return this.c.b.c.gc()},O(qt,"ArrayTable/ArrayMap",828),M(1923,1,{},rv),l.ld=function(t){return iWe(this.a,t)},O(qt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),M(1921,345,sz,nze),l.cd=function(){return RVt(this.a,this.b)},l.dd=function(){return this.a.nd(this.b)},l.ed=function(t){return this.a.od(this.b,t)},l.b=0,O(qt,"ArrayTable/ArrayMap/1",1921),M(1922,386,w7,Jqe),l.Xb=function(t){return iWe(this.a,t)},O(qt,"ArrayTable/ArrayMap/2",1922),M(1920,828,aw,VKe),l.md=function(){return"Column"},l.nd=function(t){return $6(this.b,this.a,t)},l.od=function(t,n){return ntt(this.b,this.a,t,n)},l.a=0,O(qt,"ArrayTable/Row",1920),M(829,828,aw,L2e),l.nd=function(t){return new VKe(this.a,t)},l.zc=function(t,n){return u(n,83),kGt()},l.od=function(t,n){return u(n,83),xGt()},l.md=function(){return"Row"},O(qt,"ArrayTable/RowMap",829),M(1120,1,jh,rze),l.qd=function(){return this.a.qd()&-262},l.rd=function(){return this.a.rd()},l.Nb=function(t){this.a.Nb(new ZHe(t,this.b))},l.sd=function(t){return this.a.sd(new QHe(t,this.b))},O(qt,"CollectSpliterators/1",1120),M(1121,1,Vn,QHe),l.td=function(t){this.a.td(this.b.Kb(t))},O(qt,"CollectSpliterators/1/lambda$0$Type",1121),M(1122,1,Vn,ZHe),l.td=function(t){this.a.td(this.b.Kb(t))},O(qt,"CollectSpliterators/1/lambda$1$Type",1122),M(1123,1,jh,AXe),l.qd=function(){return this.a},l.rd=function(){return this.d&&(this.b=Iqe(this.b,this.d.rd())),Iqe(this.b,0)},l.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new XHe(this.e,t)),this.b=0},l.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return GT(this.b,az)&&(this.b=Gp(this.b,1)),!0;if(this.d=null,!this.c.sd(new JHe(this,this.e)))return!1}},l.a=0,l.b=0,O(qt,"CollectSpliterators/1FlatMapSpliterator",1123),M(1124,1,Vn,JHe),l.td=function(t){HUt(this.a,this.b,t)},O(qt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),M(1125,1,Vn,XHe),l.td=function(t){_Vt(this.b,this.a,t)},O(qt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),M(1117,1,jh,lUe),l.qd=function(){return 16464|this.b},l.rd=function(){return this.a.rd()},l.Nb=function(t){this.a.xe(new tze(t,this.c))},l.sd=function(t){return this.a.ye(new eze(t,this.c))},l.b=0,O(qt,"CollectSpliterators/1WithCharacteristics",1117),M(1118,1,cI,eze),l.ud=function(t){this.a.td(this.b.ld(t))},O(qt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),M(1119,1,cI,tze),l.ud=function(t){this.a.td(this.b.ld(t))},O(qt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),M(245,1,oae),l.wd=function(t){return this.vd(u(t,245))},l.vd=function(t){var n;return t==(Tee(),zce)?1:t==(_ee(),Hce)?-1:(n=(sj(),oD(this.a,t.a)),n!=0?n:me(this,519)==me(t,519)?0:me(this,519)?1:-1)},l.zd=function(){return this.a},l.Fb=function(t){return Bye(this,t)},O(qt,"Cut",245),M(1761,245,oae,aHe),l.vd=function(t){return t==this?0:1},l.xd=function(t){throw ee(new Pge)},l.yd=function(t){t.a+="+∞)"},l.zd=function(){throw ee(new Vo(clt))},l.Hb=function(){return Gd(),Vye(this)},l.Ad=function(t){return!1},l.Ib=function(){return"+∞"};var Hce;O(qt,"Cut/AboveAll",1761),M(519,245,{245:1,519:1,3:1,35:1},iVe),l.xd=function(t){kc((t.a+="(",t),this.a)},l.yd=function(t){Ip(kc(t,this.a),93)},l.Hb=function(){return~Yi(this.a)},l.Ad=function(t){return sj(),oD(this.a,t)<0},l.Ib=function(){return"/"+this.a+"\\"},O(qt,"Cut/AboveValue",519),M(1760,245,oae,oHe),l.vd=function(t){return t==this?0:-1},l.xd=function(t){t.a+="(-∞"},l.yd=function(t){throw ee(new Pge)},l.zd=function(){throw ee(new Vo(clt))},l.Hb=function(){return Gd(),Vye(this)},l.Ad=function(t){return!0},l.Ib=function(){return"-∞"};var zce;O(qt,"Cut/BelowAll",1760),M(1762,245,oae,sVe),l.xd=function(t){kc((t.a+="[",t),this.a)},l.yd=function(t){Ip(kc(t,this.a),41)},l.Hb=function(){return Yi(this.a)},l.Ad=function(t){return sj(),oD(this.a,t)<=0},l.Ib=function(){return"\\"+this.a+"/"},O(qt,"Cut/BelowValue",1762),M(537,1,t0),l.Jc=function(t){Da(this,t)},l.Ib=function(){return Xin(u(Ij(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},O(qt,"FluentIterable",537),M(433,537,t0,UT),l.Kc=function(){return new ur(dr(this.a.Kc(),new V))},O(qt,"FluentIterable/2",433),M(1046,537,t0,uqe),l.Kc=function(){return Dp(this)},O(qt,"FluentIterable/3",1046),M(708,386,w7,M2e),l.Xb=function(t){return this.a[t].Kc()},O(qt,"FluentIterable/3/1",708),M(1972,1,{}),l.Ib=function(){return Yo(this.Bd().b)},O(qt,"ForwardingObject",1972),M(1973,1972,ult),l.Bd=function(){return this.Cd()},l.Jc=function(t){Da(this,t)},l.Lc=function(){return this.Oc()},l.Nc=function(){return new kn(this,0)},l.Oc=function(){return new mn(null,this.Nc())},l.Fc=function(t){return this.Cd(),CHe()},l.Gc=function(t){return this.Cd(),SHe()},l.$b=function(){this.Cd(),AHe()},l.Hc=function(t){return this.Cd().Hc(t)},l.Ic=function(t){return this.Cd().Ic(t)},l.dc=function(){return this.Cd().b.dc()},l.Kc=function(){return this.Cd().Kc()},l.Mc=function(t){return this.Cd(),LHe()},l.gc=function(){return this.Cd().b.gc()},l.Pc=function(){return this.Cd().Pc()},l.Qc=function(t){return this.Cd().Qc(t)},O(qt,"ForwardingCollection",1973),M(1980,28,G5e),l.Kc=function(){return this.Ed()},l.Fc=function(t){throw ee(new Rr)},l.Gc=function(t){throw ee(new Rr)},l.$b=function(){throw ee(new Rr)},l.Hc=function(t){return t!=null&&Wm(this,t,!1)},l.Dd=function(){switch(this.gc()){case 0:return Pm(),Pm(),Gce;case 1:return Pm(),new Jte(Or(this.Ed().Pb()));default:return new UKe(this,this.Pc())}},l.Mc=function(t){throw ee(new Rr)},O(qt,"ImmutableCollection",1980),M(712,1980,G5e,Oge),l.Kc=function(){return H6(this.a.Kc())},l.Hc=function(t){return t!=null&&this.a.Hc(t)},l.Ic=function(t){return this.a.Ic(t)},l.dc=function(){return this.a.dc()},l.Ed=function(){return H6(this.a.Kc())},l.gc=function(){return this.a.gc()},l.Pc=function(){return this.a.Pc()},l.Qc=function(t){return this.a.Qc(t)},l.Ib=function(){return Yo(this.a)},O(qt,"ForwardingImmutableCollection",712),M(152,1980,lC),l.Kc=function(){return this.Ed()},l.Yc=function(){return this.Fd(0)},l.Zc=function(t){return this.Fd(t)},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.bd=function(t,n){return this.Gd(t,n)},l.Vc=function(t,n){throw ee(new Rr)},l.Wc=function(t,n){throw ee(new Rr)},l.Fb=function(t){return Vfn(this,t)},l.Hb=function(){return nrn(this)},l.Xc=function(t){return t==null?-1:pon(this,t)},l.Ed=function(){return this.Fd(0)},l.Fd=function(t){return V2e(this,t)},l.$c=function(t){throw ee(new Rr)},l._c=function(t,n){throw ee(new Rr)},l.Gd=function(t,n){var r;return Y$((r=new gze(this),new Yd(r,t,n)))};var Gce;O(qt,"ImmutableList",152),M(2006,152,lC),l.Kc=function(){return H6(this.Hd().Kc())},l.bd=function(t,n){return Y$(this.Hd().bd(t,n))},l.Hc=function(t){return t!=null&&this.Hd().Hc(t)},l.Ic=function(t){return this.Hd().Ic(t)},l.Fb=function(t){return Ci(this.Hd(),t)},l.Xb=function(t){return Cp(this,t)},l.Hb=function(){return Yi(this.Hd())},l.Xc=function(t){return this.Hd().Xc(t)},l.dc=function(){return this.Hd().dc()},l.Ed=function(){return H6(this.Hd().Kc())},l.gc=function(){return this.Hd().gc()},l.Gd=function(t,n){return Y$(this.Hd().bd(t,n))},l.Pc=function(){return this.Hd().Qc(Ie(Xn,_t,1,this.Hd().gc(),5,1))},l.Qc=function(t){return this.Hd().Qc(t)},l.Ib=function(){return Yo(this.Hd())},O(qt,"ForwardingImmutableList",2006),M(714,1,m7),l.vc=function(){return _v(this)},l.wc=function(t){L_(this,t)},l.ec=function(){return ane(this)},l.yc=function(t,n,r){return fie(this,t,n,r)},l.Cc=function(){return this.Ld()},l.$b=function(){throw ee(new Rr)},l._b=function(t){return this.xc(t)!=null},l.uc=function(t){return this.Ld().Hc(t)},l.Jd=function(){return new Qje(this)},l.Kd=function(){return new Zje(this)},l.Fb=function(t){return Wrn(this,t)},l.Hb=function(){return _v(this).Hb()},l.dc=function(){return this.gc()==0},l.zc=function(t,n){return EGt()},l.Bc=function(t){throw ee(new Rr)},l.Ib=function(){return Cln(this)},l.Ld=function(){return this.e?this.e:this.e=this.Kd()},l.c=null,l.d=null,l.e=null;var Edt;O(qt,"ImmutableMap",714),M(715,714,m7),l._b=function(t){return xHe(this,t)},l.uc=function(t){return wze(this.b,t)},l.Id=function(){return Ytt(new nT(this))},l.Jd=function(){return Ytt(CWe(this.b))},l.Kd=function(){return gd(),new Oge(_We(this.b))},l.Fb=function(t){return mze(this.b,t)},l.xc=function(t){return t_(this,t)},l.Hb=function(){return Yi(this.b.c)},l.dc=function(){return this.b.c.dc()},l.gc=function(){return this.b.c.gc()},l.Ib=function(){return Yo(this.b.c)},O(qt,"ForwardingImmutableMap",715),M(1974,1973,cae),l.Bd=function(){return this.Md()},l.Cd=function(){return this.Md()},l.Nc=function(){return new kn(this,1)},l.Fb=function(t){return t===this||this.Md().Fb(t)},l.Hb=function(){return this.Md().Hb()},O(qt,"ForwardingSet",1974),M(1069,1974,cae,nT),l.Bd=function(){return hx(this.a.b)},l.Cd=function(){return hx(this.a.b)},l.Hc=function(t){if(me(t,42)&&u(t,42).cd()==null)return!1;try{return vze(hx(this.a.b),t)}catch(n){if(n=ts(n),me(n,205))return!1;throw ee(n)}},l.Md=function(){return hx(this.a.b)},l.Qc=function(t){var n;return n=oYe(hx(this.a.b),t),hx(this.a.b).b.gc()=0?"+":"")+(r/60|0),n=IR(b.Math.abs(r)%60),(Lit(),jdt)[this.q.getDay()]+" "+$dt[this.q.getMonth()]+" "+IR(this.q.getDate())+" "+IR(this.q.getHours())+":"+IR(this.q.getMinutes())+":"+IR(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var wG=O(yr,"Date",199);M(1915,199,wlt,nit),l.a=!1,l.b=0,l.c=0,l.d=0,l.e=0,l.f=0,l.g=!1,l.i=0,l.j=0,l.k=0,l.n=0,l.o=0,l.p=0,O("com.google.gwt.i18n.shared.impl","DateRecord",1915),M(1966,1,{}),l.fe=function(){return null},l.ge=function(){return null},l.he=function(){return null},l.ie=function(){return null},l.je=function(){return null},O(ik,"JSONValue",1966),M(216,1966,{216:1},cg,r6),l.Fb=function(t){return me(t,216)?twe(this.a,u(t,216).a):!1},l.ee=function(){return Vzt},l.Hb=function(){return zve(this.a)},l.fe=function(){return this},l.Ib=function(){var t,n,r;for(r=new jl("["),n=0,t=this.a.length;n0&&(r.a+=","),kc(r,Hm(this,n));return r.a+="]",r.a},O(ik,"JSONArray",216),M(483,1966,{483:1},I8),l.ee=function(){return Uzt},l.ge=function(){return this},l.Ib=function(){return In(),""+this.a},l.a=!1;var Mdt,Ddt;O(ik,"JSONBoolean",483),M(985,60,q0,W$e),O(ik,"JSONException",985),M(1023,1966,{},Me),l.ee=function(){return Qzt},l.Ib=function(){return Iu};var Idt;O(ik,"JSONNull",1023),M(258,1966,{258:1},rT),l.Fb=function(t){return me(t,258)?this.a==u(t,258).a:!1},l.ee=function(){return Kzt},l.Hb=function(){return Q8(this.a)},l.he=function(){return this},l.Ib=function(){return this.a+""},l.a=0,O(ik,"JSONNumber",258),M(183,1966,{183:1},f6,O8),l.Fb=function(t){return me(t,183)?twe(this.a,u(t,183).a):!1},l.ee=function(){return Wzt},l.Hb=function(){return zve(this.a)},l.ie=function(){return this},l.Ib=function(){var t,n,r,i,a,h,d;for(d=new jl("{"),t=!0,h=Pre(this,Ie(Et,Je,2,0,6,1)),r=h,i=0,a=r.length;i=0?":"+this.c:"")+")"},l.c=0;var xxe=O(ac,"StackTraceElement",310);xdt={3:1,475:1,35:1,2:1};var Et=O(ac,q5e,2);M(107,418,{475:1},dg,yT,Oh),O(ac,"StringBuffer",107),M(100,418,{475:1},yp,ym,jl),O(ac,"StringBuilder",100),M(687,73,Dae,lpe),O(ac,"StringIndexOutOfBoundsException",687),M(2043,1,{});var Exe;M(844,1,{},Mt),l.Kb=function(t){return u(t,78).e},O(ac,"Throwable/lambda$0$Type",844),M(41,60,{3:1,102:1,60:1,78:1,41:1},Rr,fg),O(ac,"UnsupportedOperationException",41),M(240,236,{3:1,35:1,236:1,240:1},nD,mpe),l.wd=function(t){return uct(this,u(t,240))},l.ke=function(){return ty(Vct(this))},l.Fb=function(t){var n;return this===t?!0:me(t,240)?(n=u(t,240),this.e==n.e&&uct(this,n)==0):!1},l.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Mu(this.f),this.b=Ir(Gs(t,-1)),this.b=33*this.b+Ir(Gs(Mp(t,32),-1)),this.b=17*this.b+_s(this.e),this.b):(this.b=17*Gtt(this.c)+_s(this.e),this.b)},l.Ib=function(){return Vct(this)},l.a=0,l.b=0,l.d=0,l.e=0,l.f=0;var Bdt,_b,Txe,_xe,Cxe,Sxe,Axe,Lxe,Qce=O("java.math","BigDecimal",240);M(91,236,{3:1,35:1,236:1,91:1},qye,kg,$3,C3e,Unt,Ap),l.wd=function(t){return Hnt(this,u(t,91))},l.ke=function(){return ty(iae(this,0))},l.Fb=function(t){return Eye(this,t)},l.Hb=function(){return Gtt(this)},l.Ib=function(){return iae(this,0)},l.b=-2,l.c=0,l.d=0,l.e=0;var Zce,mG,Mxe,Jce,yG,H7,L4=O("java.math","BigInteger",91),Fdt,Rdt,vk,qC;M(488,1967,aw),l.$b=function(){il(this)},l._b=function(t){return Ml(this,t)},l.uc=function(t){return Stt(this,t,this.g)||Stt(this,t,this.f)},l.vc=function(){return new lg(this)},l.xc=function(t){return Jn(this,t)},l.zc=function(t,n){return Si(this,t,n)},l.Bc=function(t){return j6(this,t)},l.gc=function(){return ET(this)},O(yr,"AbstractHashMap",488),M(261,$1,Ku,lg),l.$b=function(){this.a.$b()},l.Hc=function(t){return EXe(this,t)},l.Kc=function(){return new ib(this.a)},l.Mc=function(t){var n;return EXe(this,t)?(n=u(t,42).cd(),this.a.Bc(n),!0):!1},l.gc=function(){return this.a.gc()},O(yr,"AbstractHashMap/EntrySet",261),M(262,1,ba,ib),l.Nb=function(t){La(this,t)},l.Pb=function(){return jv(this)},l.Ob=function(){return this.b},l.Qb=function(){yZe(this)},l.b=!1,O(yr,"AbstractHashMap/EntrySetIterator",262),M(417,1,ba,s6),l.Nb=function(t){La(this,t)},l.Ob=function(){return JL(this)},l.Pb=function(){return VWe(this)},l.Qb=function(){Dl(this)},l.b=0,l.c=-1,O(yr,"AbstractList/IteratorImpl",417),M(96,417,e0,Ca),l.Qb=function(){Dl(this)},l.Rb=function(t){Lm(this,t)},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Ub=function(){return Qn(this.b>0),this.a.Xb(this.c=--this.b)},l.Vb=function(){return this.b-1},l.Wb=function(t){Cm(this.c!=-1),this.a._c(this.c,t)},O(yr,"AbstractList/ListIteratorImpl",96),M(219,52,k7,Yd),l.Vc=function(t,n){Fm(t,this.b),this.c.Vc(this.a+t,n),++this.b},l.Xb=function(t){return En(t,this.b),this.c.Xb(this.a+t)},l.$c=function(t){var n;return En(t,this.b),n=this.c.$c(this.a+t),--this.b,n},l._c=function(t,n){return En(t,this.b),this.c._c(this.a+t,n)},l.gc=function(){return this.b},l.a=0,l.b=0,O(yr,"AbstractList/SubList",219),M(384,$1,Ku,pm),l.$b=function(){this.a.$b()},l.Hc=function(t){return this.a._b(t)},l.Kc=function(){var t;return t=this.a.vc().Kc(),new FL(t)},l.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},l.gc=function(){return this.a.gc()},O(yr,"AbstractMap/1",384),M(691,1,ba,FL),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var t;return t=u(this.a.Pb(),42),t.cd()},l.Qb=function(){this.a.Qb()},O(yr,"AbstractMap/1/1",691),M(226,28,uy,x1),l.$b=function(){this.a.$b()},l.Hc=function(t){return this.a.uc(t)},l.Kc=function(){var t;return t=this.a.vc().Kc(),new E1(t)},l.gc=function(){return this.a.gc()},O(yr,"AbstractMap/2",226),M(294,1,ba,E1),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a.Ob()},l.Pb=function(){var t;return t=u(this.a.Pb(),42),t.dd()},l.Qb=function(){this.a.Qb()},O(yr,"AbstractMap/2/1",294),M(484,1,{484:1,42:1}),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),zc(this.d,n.cd())&&zc(this.e,n.dd())):!1},l.cd=function(){return this.d},l.dd=function(){return this.e},l.Hb=function(){return B3(this.d)^B3(this.e)},l.ed=function(t){return hbe(this,t)},l.Ib=function(){return this.d+"="+this.e},O(yr,"AbstractMap/AbstractEntry",484),M(383,484,{484:1,383:1,42:1},dR),O(yr,"AbstractMap/SimpleEntry",383),M(1984,1,Pae),l.Fb=function(t){var n;return me(t,42)?(n=u(t,42),zc(this.cd(),n.cd())&&zc(this.dd(),n.dd())):!1},l.Hb=function(){return B3(this.cd())^B3(this.dd())},l.Ib=function(){return this.cd()+"="+this.dd()},O(yr,alt,1984),M(1992,1967,ilt),l.tc=function(t){return DQe(this,t)},l._b=function(t){return Hte(this,t)},l.vc=function(){return new y(this)},l.xc=function(t){var n;return n=t,hc(qme(this,n))},l.ec=function(){return new m(this)},O(yr,"AbstractNavigableMap",1992),M(739,$1,Ku,y),l.Hc=function(t){return me(t,42)&&DQe(this.b,u(t,42))},l.Kc=function(){return new e_(this.b)},l.Mc=function(t){var n;return me(t,42)?(n=u(t,42),wZe(this.b,n)):!1},l.gc=function(){return this.b.c},O(yr,"AbstractNavigableMap/EntrySet",739),M(493,$1,z5e,m),l.Nc=function(){return new hR(this)},l.$b=function(){bT(this.a)},l.Hc=function(t){return Hte(this.a,t)},l.Kc=function(){var t;return t=new e_(new QT(this.a).b),new g(t)},l.Mc=function(t){return Hte(this.a,t)?(g_(this.a,t),!0):!1},l.gc=function(){return this.a.c},O(yr,"AbstractNavigableMap/NavigableKeySet",493),M(494,1,ba,g),l.Nb=function(t){La(this,t)},l.Ob=function(){return JL(this.a.a)},l.Pb=function(){var t;return t=KR(this.a),t.cd()},l.Qb=function(){kUe(this.a)},O(yr,"AbstractNavigableMap/NavigableKeySet/1",494),M(2004,28,uy),l.Fc=function(t){return yx(r7(this,t)),!0},l.Gc=function(t){return An(t),tj(t!=this,"Can't add a queue to itself"),ro(this,t)},l.$b=function(){for(;Ere(this)!=null;);},O(yr,"AbstractQueue",2004),M(302,28,{4:1,20:1,28:1,14:1},S3,WYe),l.Fc=function(t){return uwe(this,t),!0},l.$b=function(){pwe(this)},l.Hc=function(t){return Xet(new d_(this),t)},l.dc=function(){return vT(this)},l.Kc=function(){return new d_(this)},l.Mc=function(t){return oZt(new d_(this),t)},l.gc=function(){return this.c-this.b&this.a.length-1},l.Nc=function(){return new kn(this,272)},l.Qc=function(t){var n;return n=this.c-this.b&this.a.length-1,t.lengthn&&us(t,n,null),t},l.b=0,l.c=0,O(yr,"ArrayDeque",302),M(446,1,ba,d_),l.Nb=function(t){La(this,t)},l.Ob=function(){return this.a!=this.b},l.Pb=function(){return W$(this)},l.Qb=function(){UJe(this)},l.a=0,l.b=0,l.c=-1,O(yr,"ArrayDeque/IteratorImpl",446),M(12,52,klt,at,tu,Gu),l.Vc=function(t,n){Dm(this,t,n)},l.Fc=function(t){return st(this,t)},l.Wc=function(t,n){return Xme(this,t,n)},l.Gc=function(t){return Ps(this,t)},l.$b=function(){this.c=Ie(Xn,_t,1,0,5,1)},l.Hc=function(t){return Ko(this,t,0)!=-1},l.Jc=function(t){Su(this,t)},l.Xb=function(t){return It(this,t)},l.Xc=function(t){return Ko(this,t,0)},l.dc=function(){return this.c.length==0},l.Kc=function(){return new C(this)},l.$c=function(t){return yg(this,t)},l.Mc=function(t){return _u(this,t)},l.Ud=function(t,n){KYe(this,t,n)},l._c=function(t,n){return gh(this,t,n)},l.gc=function(){return this.c.length},l.ad=function(t){aa(this,t)},l.Pc=function(){return Mte(this)},l.Qc=function(t){return R1(this,t)};var Vwn=O(yr,"ArrayList",12);M(7,1,ba,C),l.Nb=function(t){La(this,t)},l.Ob=function(){return tc(this)},l.Pb=function(){return Y(this)},l.Qb=function(){u_(this)},l.a=0,l.b=-1,O(yr,"ArrayList/1",7),M(2013,b.Function,{},he),l.te=function(t,n){return Bs(t,n)},M(154,52,xlt,Cl),l.Hc=function(t){return WJe(this,t)!=-1},l.Jc=function(t){var n,r,i,a;for(An(t),r=this.a,i=0,a=r.length;i>>0,t.toString(16)))},l.f=0,l.i=Ds;var _G=O(i0,"CNode",57);M(814,1,{},qge),O(i0,"CNode/CNodeBuilder",814);var e0t;M(1525,1,{},vr),l.Oe=function(t,n){return 0},l.Pe=function(t,n){return 0},O(i0,Mlt,1525),M(1790,1,{},wr),l.Le=function(t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q;for(T=ps,i=new C(t.a.b);i.ai.d.c||i.d.c==h.d.c&&i.d.b0?t+this.n.d+this.n.a:0},l.Se=function(){var t,n,r,i,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=wye(this,Kie(this,null,!0));else for(n=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])),r=0,i=n.length;r0?a+this.n.b+this.n.c:0},l.Te=function(){var t,n,r,i,a;if(this.g)for(t=Kie(this,null,!1),r=(Jf(),ie(ne(ky,1),rt,232,0,[pc,au,bc])),i=0,a=r.length;i0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=b.Math.max(0,r),this.c.d=n.d+t.d+(this.c.a-r)/2,i[1]=b.Math.max(i[1],r),xwe(this,au,n.d+t.d+i[0]-(i[1]-r)/2,i)},l.b=null,l.d=0,l.e=!1,l.f=!1,l.g=!1;var aue=0,CG=0;O(pb,"GridContainerCell",1473),M(461,22,{3:1,35:1,22:1,461:1},qee);var n2,Md,Cf,l0t=Gr(pb,"HorizontalLabelAlignment",461,Kr,xZt,aKt),h0t;M(306,212,{212:1,306:1},gYe,kJe,hYe),l.Re=function(){return ZUe(this)},l.Se=function(){return Ybe(this)},l.a=0,l.c=!1;var tmn=O(pb,"LabelCell",306);M(244,326,{212:1,326:1,244:1},$_),l.Re=function(){return zD(this)},l.Se=function(){return GD(this)},l.Te=function(){Rse(this)},l.Ue=function(){jse(this)},l.b=0,l.c=0,l.d=!1,O(pb,"StripContainerCell",244),M(1626,1,gi,Ms),l.Mb=function(t){return mGt(u(t,212))},O(pb,"StripContainerCell/lambda$0$Type",1626),M(1627,1,{},Ea),l.Fe=function(t){return u(t,212).Se()},O(pb,"StripContainerCell/lambda$1$Type",1627),M(1628,1,gi,Va),l.Mb=function(t){return yGt(u(t,212))},O(pb,"StripContainerCell/lambda$2$Type",1628),M(1629,1,{},Ba),l.Fe=function(t){return u(t,212).Re()},O(pb,"StripContainerCell/lambda$3$Type",1629),M(462,22,{3:1,35:1,22:1,462:1},Vee);var Sf,r2,a1,f0t=Gr(pb,"VerticalLabelAlignment",462,Kr,EZt,oKt),d0t;M(789,1,{},I5e),l.c=0,l.d=0,l.k=0,l.s=0,l.t=0,l.v=!1,l.w=0,l.D=!1,O(fz,"NodeContext",789),M(1471,1,Ri,Ta),l.ue=function(t,n){return gqe(u(t,61),u(n,61))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(fz,"NodeContext/0methodref$comparePortSides$Type",1471),M(1472,1,Ri,ss),l.ue=function(t,n){return Kun(u(t,111),u(n,111))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(fz,"NodeContext/1methodref$comparePortContexts$Type",1472),M(159,22,{3:1,35:1,22:1,159:1},vh);var g0t,p0t,b0t,v0t,w0t,m0t,y0t,k0t,x0t,E0t,T0t,_0t,C0t,S0t,A0t,L0t,M0t,D0t,I0t,O0t,N0t,oue,P0t=Gr(fz,"NodeLabelLocation",159,Kr,_ie,cKt),B0t;M(111,1,{111:1},Yst),l.a=!1,O(fz,"PortContext",111),M(1476,1,Vn,Zs),l.td=function(t){OHe(u(t,306))},O(bI,Glt,1476),M(1477,1,gi,Fa),l.Mb=function(t){return!!u(t,111).c},O(bI,qlt,1477),M(1478,1,Vn,$s),l.td=function(t){OHe(u(t,111).c)},O(bI,"LabelPlacer/lambda$2$Type",1478);var f7e;M(1475,1,Vn,Xb),l.td=function(t){Am(),Jzt(u(t,111))},O(bI,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),M(790,1,Vn,Abe),l.td=function(t){hqt(this.b,this.c,this.a,u(t,181))},l.a=!1,l.c=!1,O(bI,"NodeLabelCellCreator/lambda$0$Type",790),M(1474,1,Vn,gn),l.td=function(t){nGt(this.a,u(t,181))},O(bI,"PortContextCreator/lambda$0$Type",1474);var SG;M(1829,1,{},bu),O(_7,"GreedyRectangleStripOverlapRemover",1829),M(1830,1,Ri,ap),l.ue=function(t,n){return GVt(u(t,222),u(n,222))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_7,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),M(1786,1,{},h$e),l.a=5,l.e=0,O(_7,"RectangleStripOverlapRemover",1786),M(1787,1,Ri,Ju),l.ue=function(t,n){return qVt(u(t,222),u(n,222))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_7,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),M(1789,1,Ri,lf),l.ue=function(t,n){return gXt(u(t,222),u(n,222))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_7,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),M(406,22,{3:1,35:1,22:1,406:1},bR);var jI,cue,uue,$I,F0t=Gr(_7,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Kr,xJt,uKt),R0t;M(222,1,{222:1},ine),O(_7,"RectangleStripOverlapRemover/RectangleNode",222),M(1788,1,Vn,mr),l.td=function(t){won(this.a,u(t,222))},O(_7,"RectangleStripOverlapRemover/lambda$1$Type",1788),M(1304,1,Ri,el),l.ue=function(t,n){return T2n(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),M(1307,1,{},Rl),l.Kb=function(t){return u(t,324).a},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),M(1308,1,gi,vu),l.Mb=function(t){return u(t,323).a},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),M(1309,1,gi,Mh),l.Mb=function(t){return u(t,323).a},O(xd,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),M(1302,1,Ri,ah),l.ue=function(t,n){return ign(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),M(1305,1,{},ra),l.Kb=function(t){return u(t,324).a},O(xd,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),M(767,1,Ri,Ai),l.ue=function(t,n){return arn(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinNumOfExtensionsComparator",767),M(1300,1,Ri,$t),l.ue=function(t,n){return pnn(u(t,321),u(n,321))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinPerimeterComparator",1300),M(1301,1,Ri,Mr),l.ue=function(t,n){return Van(u(t,321),u(n,321))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),M(1303,1,Ri,bi),l.ue=function(t,n){return Sgn(u(t,167),u(n,167))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),M(1306,1,{},Aa),l.Kb=function(t){return u(t,324).a},O(xd,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),M(777,1,{},Ppe),l.Ce=function(t,n){return wJt(this,u(t,46),u(n,167))},O(xd,"SuccessorCombination",777),M(644,1,{},Nc),l.Ce=function(t,n){var r;return ofn((r=u(t,46),u(n,167),r))},O(xd,"SuccessorJitter",644),M(643,1,{},$c),l.Ce=function(t,n){var r;return Ydn((r=u(t,46),u(n,167),r))},O(xd,"SuccessorLineByLine",643),M(568,1,{},wu),l.Ce=function(t,n){var r;return c1n((r=u(t,46),u(n,167),r))},O(xd,"SuccessorManhattan",568),M(1356,1,{},oh),l.Ce=function(t,n){var r;return mdn((r=u(t,46),u(n,167),r))},O(xd,"SuccessorMaxNormWindingInMathPosSense",1356),M(400,1,{},pr),l.Ce=function(t,n){return Eve(this,t,n)},l.c=!1,l.d=!1,l.e=!1,l.f=!1,O(xd,"SuccessorQuadrantsGeneric",400),M(1357,1,{},tl),l.Kb=function(t){return u(t,324).a},O(xd,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),M(323,22,{3:1,35:1,22:1,323:1},pR),l.a=!1;var HI,zI,GI,qI,j0t=Gr(gz,u6e,323,Kr,_Jt,lKt),$0t;M(1298,1,{}),l.Ib=function(){var t,n,r,i,a,h;for(r=" ",t=lt(0),a=0;a=0?"b"+t+"["+nre(this.a)+"]":"b["+nre(this.a)+"]"):"b_"+kv(this)},O(wI,"FBendpoint",559),M(282,134,{3:1,282:1,94:1,134:1},WVe),l.Ib=function(){return nre(this)},O(wI,"FEdge",282),M(231,134,{3:1,231:1,94:1,134:1},t$);var rmn=O(wI,"FGraph",231);M(447,357,{3:1,447:1,357:1,94:1,134:1},QXe),l.Ib=function(){return this.b==null||this.b.length==0?"l["+nre(this.a)+"]":"l_"+this.b},O(wI,"FLabel",447),M(144,357,{3:1,144:1,357:1,94:1,134:1},oWe),l.Ib=function(){return ewe(this)},l.b=0,O(wI,"FNode",144),M(2003,1,{}),l.bf=function(t){h5e(this,t)},l.cf=function(){Irt(this)},l.d=0,O(m6e,"AbstractForceModel",2003),M(631,2003,{631:1},zet),l.af=function(t,n){var r,i,a,h,d;return Ast(this.f,t,n),a=pa(fc(n.d),t.d),d=b.Math.sqrt(a.a*a.a+a.b*a.b),i=b.Math.max(0,d-h_(t.e)/2-h_(n.e)/2),r=wtt(this.e,t,n),r>0?h=-hXt(i,this.c)*r:h=rUt(i,this.b)*u(W(t,(r1(),q7)),19).a,fd(a,h/d),a},l.bf=function(t){h5e(this,t),this.a=u(W(t,(r1(),OG)),19).a,this.c=We(gt(W(t,NG))),this.b=We(gt(W(t,bue)))},l.df=function(t){return t0&&(h-=pGt(i,this.a)*r),fd(a,h*this.b/d),a},l.bf=function(t){var n,r,i,a,h,d,v;for(h5e(this,t),this.b=We(gt(W(t,(r1(),vue)))),this.c=this.b/u(W(t,OG),19).a,i=t.e.c.length,h=0,a=0,v=new C(t.e);v.a0},l.a=0,l.b=0,l.c=0,O(m6e,"FruchtermanReingoldModel",632),M(849,1,$h,aJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,vz),""),"Force Model"),"Determines the model for force calculation."),k7e),(Dg(),ws)),x7e),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,y6e),""),"Iterations"),"The number of iterations on the force model."),lt(300)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,k6e),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,roe),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Ed),Go),ka),sn(jn)))),ma(t,roe,vz,agt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ioe),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Go),ka),sn(jn)))),ma(t,ioe,vz,rgt),Lut((new X9,t))};var egt,tgt,k7e,ngt,rgt,igt,sgt,agt;O(vC,"ForceMetaDataProvider",849),M(424,22,{3:1,35:1,22:1,424:1},jpe);var pue,IG,x7e=Gr(vC,"ForceModelStrategy",424,Kr,QQt,dKt),ogt;M(988,1,$h,X9),l.Qe=function(t){Lut(t)};var cgt,ugt,E7e,OG,T7e,lgt,hgt,fgt,_7e,dgt,C7e,S7e,ggt,q7,pgt,bue,A7e,bgt,vgt,NG,vue;O(vC,"ForceOptions",988),M(989,1,{},fl),l.$e=function(){var t;return t=new Hge,t},l._e=function(t){},O(vC,"ForceOptions/ForceFactory",989);var KI,KC,wk,PG;M(850,1,$h,oJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,E6e),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(In(),!1)),(Dg(),qa)),Vs),sn((t1(),ua))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,T6e),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Go),ka),Vi(jn,ie(ne(Gg,1),rt,175,0,[Nd]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,_6e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),L7e),ws),B7e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,C6e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Ed),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,S6e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),lt(xi)),Tc),Ja),sn(jn)))),dut((new cJ,t))};var wgt,mgt,L7e,ygt,kgt,xgt;O(vC,"StressMetaDataProvider",850),M(992,1,$h,cJ),l.Qe=function(t){dut(t)};var BG,M7e,D7e,I7e,O7e,N7e,Egt,Tgt,_gt,Cgt,P7e,Sgt;O(vC,"StressOptions",992),M(993,1,{},Zb),l.$e=function(){var t;return t=new YVe,t},l._e=function(t){},O(vC,"StressOptions/StressFactory",993),M(1128,209,bb,YVe),l.Ze=function(t,n){var r,i,a,h,d;for(Er(n,nht,1),Bt(Nt(jt(t,(OD(),O7e))))?Bt(Nt(jt(t,P7e)))||Rj((r=new ar((xm(),new wm(t))),r)):Nat(new Hge,t,Vc(n,1)),a=ltt(t),i=Ect(this.a,a),d=i.Kc();d.Ob();)h=u(d.Pb(),231),!(h.e.c.length<=1)&&(x2n(this.b,h),e1n(this.b),Su(h.d,new op));a=But(i),Out(a),lr(n)},O(yz,"StressLayoutProvider",1128),M(1129,1,Vn,op),l.td=function(t){w5e(u(t,447))},O(yz,"StressLayoutProvider/lambda$0$Type",1129),M(990,1,{},i$e),l.c=0,l.e=0,l.g=0,O(yz,"StressMajorization",990),M(379,22,{3:1,35:1,22:1,379:1},Uee);var wue,mue,yue,B7e=Gr(yz,"StressMajorization/Dimension",379,Kr,_Zt,gKt),Agt;M(991,1,Ri,Li),l.ue=function(t,n){return qUt(this.a,u(t,144),u(n,144))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(yz,"StressMajorization/lambda$0$Type",991),M(1229,1,{},lXe),O(fk,"ElkLayered",1229),M(1230,1,Vn,I5),l.td=function(t){tfn(u(t,37))},O(fk,"ElkLayered/lambda$0$Type",1230),M(1231,1,Vn,vi),l.td=function(t){VUt(this.a,u(t,37))},O(fk,"ElkLayered/lambda$1$Type",1231),M(1263,1,{},Bqe);var Lgt,Mgt,Dgt;O(fk,"GraphConfigurator",1263),M(759,1,Vn,Ts),l.td=function(t){$it(this.a,u(t,10))},O(fk,"GraphConfigurator/lambda$0$Type",759),M(760,1,{},f9),l.Kb=function(t){return p3e(),new mn(null,new kn(u(t,29).a,16))},O(fk,"GraphConfigurator/lambda$1$Type",760),M(761,1,Vn,Wi),l.td=function(t){$it(this.a,u(t,10))},O(fk,"GraphConfigurator/lambda$2$Type",761),M(1127,209,bb,o$e),l.Ze=function(t,n){var r;r=Gpn(new d$e,t),$e(jt(t,(mt(),My)))===$e((R0(),qg))?ksn(this.a,r,n):vfn(this.a,r,n),Aut(new lJ,r)},O(fk,"LayeredLayoutProvider",1127),M(356,22,{3:1,35:1,22:1,356:1},tM);var Dd,i2,fu,Yc,zo,F7e=Gr(fk,"LayeredPhases",356,Kr,cen,pKt),Igt;M(1651,1,{},YJe),l.i=0;var Ogt;O(kI,"ComponentsToCGraphTransformer",1651);var Ngt;M(1652,1,{},d9),l.ef=function(t,n){return b.Math.min(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},l.ff=function(t,n){return b.Math.min(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},O(kI,"ComponentsToCGraphTransformer/1",1652),M(81,1,{81:1}),l.i=0,l.k=!0,l.o=Ds;var kue=O(yC,"CNode",81);M(460,81,{460:1,81:1},$2e,Hye),l.Ib=function(){return""},O(kI,"ComponentsToCGraphTransformer/CRectNode",460),M(1623,1,{},p1);var xue,Eue;O(kI,"OneDimensionalComponentsCompaction",1623),M(1624,1,{},Jb),l.Kb=function(t){return bZt(u(t,46))},l.Fb=function(t){return this===t},O(kI,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),M(1625,1,{},b1),l.Kb=function(t){return Lsn(u(t,46))},l.Fb=function(t){return this===t},O(kI,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),M(1654,1,{},aWe),O(yC,"CGraph",1654),M(189,1,{189:1},xie),l.b=0,l.c=0,l.e=0,l.g=!0,l.i=Ds,O(yC,"CGroup",189),M(1653,1,{},x0),l.ef=function(t,n){return b.Math.max(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},l.ff=function(t,n){return b.Math.max(t.a!=null?We(t.a):t.c.i,n.a!=null?We(n.a):n.c.i)},O(yC,Mlt,1653),M(1655,1,{},Hst),l.d=!1;var Pgt,Tue=O(yC,Olt,1655);M(1656,1,{},Fu),l.Kb=function(t){return Cpe(),In(),u(u(t,46).a,81).d.e!=0},l.Fb=function(t){return this===t},O(yC,Nlt,1656),M(823,1,{},Xbe),l.a=!1,l.b=!1,l.c=!1,l.d=!1,O(yC,Plt,823),M(1825,1,{},TKe),O(kz,Blt,1825);var WI=rs(wb,Alt);M(1826,1,{369:1},tYe),l.Ke=function(t){l0n(this,u(t,466))},O(kz,Flt,1826),M(1827,1,Ri,g3),l.ue=function(t,n){return lQt(u(t,81),u(n,81))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(kz,Rlt,1827),M(466,1,{466:1},Hpe),l.a=!1,O(kz,jlt,466),M(1828,1,Ri,Jo),l.ue=function(t,n){return xcn(u(t,466),u(n,466))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(kz,$lt,1828),M(140,1,{140:1},X8,Vbe),l.Fb=function(t){var n;return t==null||imn!=pl(t)?!1:(n=u(t,140),zc(this.c,n.c)&&zc(this.d,n.d))},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[this.c,this.d]))},l.Ib=function(){return"("+this.c+so+this.d+(this.a?"cx":"")+this.b+")"},l.a=!0,l.c=0,l.d=0;var imn=O(wb,"Point",140);M(405,22,{3:1,35:1,22:1,405:1},vR);var bw,xy,D4,Ey,Bgt=Gr(wb,"Point/Quadrant",405,Kr,CJt,bKt),Fgt;M(1642,1,{},c$e),l.b=null,l.c=null,l.d=null,l.e=null,l.f=null;var Rgt,jgt,$gt,Hgt,zgt;O(wb,"RectilinearConvexHull",1642),M(574,1,{369:1},fH),l.Ke=function(t){utn(this,u(t,140))},l.b=0;var R7e;O(wb,"RectilinearConvexHull/MaximalElementsEventHandler",574),M(1644,1,Ri,cp),l.ue=function(t,n){return JXt(gt(t),gt(n))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),M(1643,1,{369:1},wJe),l.Ke=function(t){Edn(this,u(t,140))},l.a=0,l.b=null,l.c=null,l.d=null,l.e=null,O(wb,"RectilinearConvexHull/RectangleEventHandler",1643),M(1645,1,Ri,d3),l.ue=function(t,n){return nJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$0$Type",1645),M(1646,1,Ri,O5),l.ue=function(t,n){return rJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$1$Type",1646),M(1647,1,Ri,up),l.ue=function(t,n){return sJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$2$Type",1647),M(1648,1,Ri,O2),l.ue=function(t,n){return iJt(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$3$Type",1648),M(1649,1,Ri,CW),l.ue=function(t,n){return oln(u(t,140),u(n,140))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(wb,"RectilinearConvexHull/lambda$4$Type",1649),M(1650,1,{},IYe),O(wb,"Scanline",1650),M(2005,1,{}),O(Td,"AbstractGraphPlacer",2005),M(325,1,{325:1},TVe),l.mf=function(t){return this.nf(t)?(an(this.b,u(W(t,(nt(),_y)),21),t),!0):!1},l.nf=function(t){var n,r,i,a;for(n=u(W(t,(nt(),_y)),21),a=u(Oi(ji,n),21),i=a.Kc();i.Ob();)if(r=u(i.Pb(),21),!u(Oi(this.b,r),15).dc())return!1;return!0};var ji;O(Td,"ComponentGroup",325),M(765,2005,{},Vge),l.of=function(t){var n,r;for(r=new C(this.a);r.aq&&(it=0,kt+=z+a,z=0),ue=d.c,tC(d,it+ue.a,kt+ue.b),Yf(ue),r=b.Math.max(r,it+Te.a),z=b.Math.max(z,Te.b),it+=Te.a+a;if(n.f.a=r,n.f.b=kt+z,Bt(Nt(W(h,xq)))){for(i=new g9,R5e(i,t,a),P=t.Kc();P.Ob();)L=u(P.Pb(),37),Ni(Yf(L.c),i.e);Ni(Yf(n.f),i.a)}Rwe(n,t)},O(Td,"SimpleRowGraphPlacer",1291),M(1292,1,Ri,zf),l.ue=function(t,n){return srn(u(t,37),u(n,37))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Td,"SimpleRowGraphPlacer/1",1292);var qgt;M(1262,1,kd,am),l.Lb=function(t){var n;return n=u(W(u(t,243).b,(mt(),Fo)),74),!!n&&n.b!=0},l.Fb=function(t){return this===t},l.Mb=function(t){var n;return n=u(W(u(t,243).b,(mt(),Fo)),74),!!n&&n.b!=0},O(xz,"CompoundGraphPostprocessor/1",1262),M(1261,1,bs,g$e),l.pf=function(t,n){prt(this,u(t,37),n)},O(xz,"CompoundGraphPreprocessor",1261),M(441,1,{441:1},nnt),l.c=!1,O(xz,"CompoundGraphPreprocessor/ExternalPort",441),M(243,1,{243:1},JR),l.Ib=function(){return Dte(this.c)+":"+Fst(this.b)},O(xz,"CrossHierarchyEdge",243),M(763,1,Ri,Ii),l.ue=function(t,n){return Won(this,u(t,243),u(n,243))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(xz,"CrossHierarchyEdgeComparator",763),M(299,134,{3:1,299:1,94:1,134:1}),l.p=0,O(su,"LGraphElement",299),M(17,299,{3:1,17:1,299:1,94:1,134:1},Dv),l.Ib=function(){return Fst(this)};var Cue=O(su,"LEdge",17);M(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},ame),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new C(this.b)},l.Ib=function(){return this.b.c.length==0?"G-unlayered"+Vp(this.a):this.a.c.length==0?"G-layered"+Vp(this.b):"G[layerless"+Vp(this.a)+", layers"+Vp(this.b)+"]"};var Vgt=O(su,"LGraph",37),Ugt;M(657,1,{}),l.qf=function(){return this.e.n},l.We=function(t){return W(this.e,t)},l.rf=function(){return this.e.o},l.sf=function(){return this.e.p},l.Xe=function(t){return Js(this.e,t)},l.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},l.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},l.vf=function(t){this.e.p=t},O(su,"LGraphAdapters/AbstractLShapeAdapter",657),M(577,1,{839:1},es),l.wf=function(){var t,n;if(!this.b)for(this.b=qd(this.a.b.c.length),n=new C(this.a.b);n.a0&&ztt((zr(n-1,t.length),t.charCodeAt(n-1)),cht);)--n;if(h> ",t),xH(r)),Yr(kc((t.a+="[",t),r.i),"]")),t.a},l.c=!0,l.d=!1;var G7e,q7e,V7e,U7e,K7e,W7e,Wgt=O(su,"LPort",11);M(397,1,t0,sa),l.Jc=function(t){Da(this,t)},l.Kc=function(){var t;return t=new C(this.a.e),new Ws(t)},O(su,"LPort/1",397),M(1290,1,ba,Ws),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(Y(this.a),17).c},l.Ob=function(){return tc(this.a)},l.Qb=function(){u_(this.a)},O(su,"LPort/1/1",1290),M(359,1,t0,Cr),l.Jc=function(t){Da(this,t)},l.Kc=function(){var t;return t=new C(this.a.g),new Ye(t)},O(su,"LPort/2",359),M(762,1,ba,Ye),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(Y(this.a),17).d},l.Ob=function(){return tc(this.a)},l.Qb=function(){u_(this.a)},O(su,"LPort/2/1",762),M(1283,1,t0,tGe),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new O1(this)},O(su,"LPort/CombineIter",1283),M(201,1,ba,O1),l.Nb=function(t){La(this,t)},l.Qb=function(){_He()},l.Ob=function(){return ZT(this)},l.Pb=function(){return tc(this.a)?Y(this.a):Y(this.b)},O(su,"LPort/CombineIter/1",201),M(1285,1,kd,lp),l.Lb=function(t){return BKe(t)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).e.c.length!=0},O(su,"LPort/lambda$0$Type",1285),M(1284,1,kd,om),l.Lb=function(t){return FKe(t)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).g.c.length!=0},O(su,"LPort/lambda$1$Type",1284),M(1286,1,kd,AW),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),Ln)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),Ln)},O(su,"LPort/lambda$2$Type",1286),M(1287,1,kd,N2),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),$n)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),$n)},O(su,"LPort/lambda$3$Type",1287),M(1288,1,kd,LW),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),Tr)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),Tr)},O(su,"LPort/lambda$4$Type",1288),M(1289,1,kd,MW),l.Lb=function(t){return Vu(),u(t,11).j==(dt(),On)},l.Fb=function(t){return this===t},l.Mb=function(t){return Vu(),u(t,11).j==(dt(),On)},O(su,"LPort/lambda$5$Type",1289),M(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},Nh),l.Jc=function(t){Da(this,t)},l.Kc=function(){return new C(this.a)},l.Ib=function(){return"L_"+Ko(this.b.b,this,0)+Vp(this.a)},O(su,"Layer",29),M(1342,1,{},d$e),O(Ng,fht,1342),M(1346,1,{},N5),l.Kb=function(t){return Ho(u(t,82))},O(Ng,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),M(1349,1,{},p9),l.Kb=function(t){return Ho(u(t,82))},O(Ng,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),M(1343,1,Vn,Pn),l.td=function(t){Qst(this.a,u(t,118))},O(Ng,dht,1343),M(1344,1,Vn,Dr),l.td=function(t){Qst(this.a,u(t,118))},O(Ng,ght,1344),M(1345,1,{},_P),l.Kb=function(t){return new mn(null,new kn(WXt(u(t,79)),16))},O(Ng,pht,1345),M(1347,1,gi,or),l.Mb=function(t){return Yqt(this.a,u(t,33))},O(Ng,bht,1347),M(1348,1,{},a8),l.Kb=function(t){return new mn(null,new kn(YXt(u(t,79)),16))},O(Ng,"ElkGraphImporter/lambda$5$Type",1348),M(1350,1,gi,cr),l.Mb=function(t){return Xqt(this.a,u(t,33))},O(Ng,"ElkGraphImporter/lambda$7$Type",1350),M(1351,1,gi,DW),l.Mb=function(t){return fQt(u(t,79))},O(Ng,"ElkGraphImporter/lambda$8$Type",1351),M(1278,1,{},lJ);var Ygt;O(Ng,"ElkGraphLayoutTransferrer",1278),M(1279,1,gi,Ua),l.Mb=function(t){return RUt(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),M(1280,1,Vn,qr),l.td=function(t){QL(),st(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),M(1281,1,gi,ns),l.Mb=function(t){return EUt(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),M(1282,1,Vn,qo),l.td=function(t){QL(),st(this.a,u(t,17))},O(Ng,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),M(1485,1,bs,o8),l.pf=function(t,n){_nn(u(t,37),n)},O(Bn,"CommentNodeMarginCalculator",1485),M(1486,1,{},IW),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"CommentNodeMarginCalculator/lambda$0$Type",1486),M(1487,1,Vn,OW),l.td=function(t){s2n(u(t,10))},O(Bn,"CommentNodeMarginCalculator/lambda$1$Type",1487),M(1488,1,bs,NW),l.pf=function(t,n){w0n(u(t,37),n)},O(Bn,"CommentPostprocessor",1488),M(1489,1,bs,PW),l.pf=function(t,n){_vn(u(t,37),n)},O(Bn,"CommentPreprocessor",1489),M(1490,1,bs,BW),l.pf=function(t,n){H1n(u(t,37),n)},O(Bn,"ConstraintsPostprocessor",1490),M(1491,1,bs,FW),l.pf=function(t,n){Wnn(u(t,37),n)},O(Bn,"EdgeAndLayerConstraintEdgeReverser",1491),M(1492,1,bs,RW),l.pf=function(t,n){Bsn(u(t,37),n)},O(Bn,"EndLabelPostprocessor",1492),M(1493,1,{},jW),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"EndLabelPostprocessor/lambda$0$Type",1493),M(1494,1,gi,$W),l.Mb=function(t){return MQt(u(t,10))},O(Bn,"EndLabelPostprocessor/lambda$1$Type",1494),M(1495,1,Vn,HW),l.td=function(t){Ecn(u(t,10))},O(Bn,"EndLabelPostprocessor/lambda$2$Type",1495),M(1496,1,bs,zW),l.pf=function(t,n){fhn(u(t,37),n)},O(Bn,"EndLabelPreprocessor",1496),M(1497,1,{},eL),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"EndLabelPreprocessor/lambda$0$Type",1497),M(1498,1,Vn,SUe),l.td=function(t){fqt(this.a,this.b,this.c,u(t,10))},l.a=0,l.b=0,l.c=!1,O(Bn,"EndLabelPreprocessor/lambda$1$Type",1498),M(1499,1,gi,GW),l.Mb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),vE))},O(Bn,"EndLabelPreprocessor/lambda$2$Type",1499),M(1500,1,Vn,Hc),l.td=function(t){oi(this.a,u(t,70))},O(Bn,"EndLabelPreprocessor/lambda$3$Type",1500),M(1501,1,gi,qW),l.Mb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),$y))},O(Bn,"EndLabelPreprocessor/lambda$4$Type",1501),M(1502,1,Vn,uo),l.td=function(t){oi(this.a,u(t,70))},O(Bn,"EndLabelPreprocessor/lambda$5$Type",1502),M(1551,1,bs,uJ),l.pf=function(t,n){qin(u(t,37),n)};var Xgt;O(Bn,"EndLabelSorter",1551),M(1552,1,Ri,b9),l.ue=function(t,n){return yan(u(t,456),u(n,456))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"EndLabelSorter/1",1552),M(456,1,{456:1},KWe),O(Bn,"EndLabelSorter/LabelGroup",456),M(1553,1,{},CP),l.Kb=function(t){return ZL(),new mn(null,new kn(u(t,29).a,16))},O(Bn,"EndLabelSorter/lambda$0$Type",1553),M(1554,1,gi,P5),l.Mb=function(t){return ZL(),u(t,10).k==(zn(),js)},O(Bn,"EndLabelSorter/lambda$1$Type",1554),M(1555,1,Vn,VW),l.td=function(t){Eln(u(t,10))},O(Bn,"EndLabelSorter/lambda$2$Type",1555),M(1556,1,gi,UW),l.Mb=function(t){return ZL(),$e(W(u(t,70),(mt(),Od)))===$e((N1(),$y))},O(Bn,"EndLabelSorter/lambda$3$Type",1556),M(1557,1,gi,KW),l.Mb=function(t){return ZL(),$e(W(u(t,70),(mt(),Od)))===$e((N1(),vE))},O(Bn,"EndLabelSorter/lambda$4$Type",1557),M(1503,1,bs,WW),l.pf=function(t,n){b2n(this,u(t,37))},l.b=0,l.c=0,O(Bn,"FinalSplineBendpointsCalculator",1503),M(1504,1,{},YW),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),M(1505,1,{},v9),l.Kb=function(t){return new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Bn,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),M(1506,1,gi,tL),l.Mb=function(t){return!no(u(t,17))},O(Bn,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),M(1507,1,gi,SP),l.Mb=function(t){return Js(u(t,17),(nt(),Sb))},O(Bn,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),M(1508,1,Vn,Ac),l.td=function(t){Lgn(this.a,u(t,128))},O(Bn,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),M(1509,1,Vn,p3),l.td=function(t){use(u(t,17).a)},O(Bn,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),M(792,1,bs,ja),l.pf=function(t,n){ubn(this,u(t,37),n)},O(Bn,"GraphTransformer",792),M(511,22,{3:1,35:1,22:1,511:1},$pe);var Aue,YI,Qgt=Gr(Bn,"GraphTransformer/Mode",511,Kr,ZQt,MWt),Zgt;M(1510,1,bs,b3),l.pf=function(t,n){jdn(u(t,37),n)},O(Bn,"HierarchicalNodeResizingProcessor",1510),M(1511,1,bs,XW),l.pf=function(t,n){ynn(u(t,37),n)},O(Bn,"HierarchicalPortConstraintProcessor",1511),M(1512,1,Ri,hf),l.ue=function(t,n){return Dan(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"HierarchicalPortConstraintProcessor/NodeComparator",1512),M(1513,1,bs,B5),l.pf=function(t,n){$pn(u(t,37),n)},O(Bn,"HierarchicalPortDummySizeProcessor",1513),M(1514,1,bs,QW),l.pf=function(t,n){F0n(this,u(t,37),n)},l.a=0,O(Bn,"HierarchicalPortOrthogonalEdgeRouter",1514),M(1515,1,Ri,c8),l.ue=function(t,n){return zVt(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"HierarchicalPortOrthogonalEdgeRouter/1",1515),M(1516,1,Ri,jd),l.ue=function(t,n){return ntn(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"HierarchicalPortOrthogonalEdgeRouter/2",1516),M(1517,1,bs,ZW),l.pf=function(t,n){cln(u(t,37),n)},O(Bn,"HierarchicalPortPositionProcessor",1517),M(1518,1,bs,hJ),l.pf=function(t,n){rwn(this,u(t,37))},l.a=0,l.c=0;var FG,RG;O(Bn,"HighDegreeNodeLayeringProcessor",1518),M(571,1,{571:1},JW),l.b=-1,l.d=-1,O(Bn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),M(1519,1,{},eY),l.Kb=function(t){return TM(),Wo(u(t,10))},l.Fb=function(t){return this===t},O(Bn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),M(1520,1,{},tY),l.Kb=function(t){return TM(),Fs(u(t,10))},l.Fb=function(t){return this===t},O(Bn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),M(1526,1,bs,w9),l.pf=function(t,n){gpn(this,u(t,37),n)},O(Bn,"HyperedgeDummyMerger",1526),M(793,1,{},Mbe),l.a=!1,l.b=!1,l.c=!1,O(Bn,"HyperedgeDummyMerger/MergeState",793),M(1527,1,{},nL),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"HyperedgeDummyMerger/lambda$0$Type",1527),M(1528,1,{},AP),l.Kb=function(t){return new mn(null,new kn(u(t,10).j,16))},O(Bn,"HyperedgeDummyMerger/lambda$1$Type",1528),M(1529,1,Vn,rL),l.td=function(t){u(t,11).p=-1},O(Bn,"HyperedgeDummyMerger/lambda$2$Type",1529),M(1530,1,bs,F5),l.pf=function(t,n){fpn(u(t,37),n)},O(Bn,"HypernodesProcessor",1530),M(1531,1,bs,nY),l.pf=function(t,n){dpn(u(t,37),n)},O(Bn,"InLayerConstraintProcessor",1531),M(1532,1,bs,LP),l.pf=function(t,n){Gnn(u(t,37),n)},O(Bn,"InnermostNodeMarginCalculator",1532),M(1533,1,bs,MP),l.pf=function(t,n){yvn(this,u(t,37))},l.a=Ds,l.b=Ds,l.c=ps,l.d=ps;var smn=O(Bn,"InteractiveExternalPortPositioner",1533);M(1534,1,{},rY),l.Kb=function(t){return u(t,17).d.i},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$0$Type",1534),M(1535,1,{},lo),l.Kb=function(t){return VVt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$1$Type",1535),M(1536,1,{},iY),l.Kb=function(t){return u(t,17).c.i},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$2$Type",1536),M(1537,1,{},_l),l.Kb=function(t){return UVt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$3$Type",1537),M(1538,1,{},Uf),l.Kb=function(t){return PUt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$4$Type",1538),M(1539,1,{},pp),l.Kb=function(t){return BUt(this.a,gt(t))},l.Fb=function(t){return this===t},O(Bn,"InteractiveExternalPortPositioner/lambda$5$Type",1539),M(77,22,{3:1,35:1,22:1,77:1,234:1},Cs),l.Kf=function(){switch(this.g){case 15:return new yX;case 22:return new kX;case 47:return new TX;case 28:case 35:return new v3;case 32:return new o8;case 42:return new NW;case 1:return new PW;case 41:return new BW;case 56:return new ja((Ix(),YI));case 0:return new ja((Ix(),Aue));case 2:return new FW;case 54:return new RW;case 33:return new zW;case 51:return new WW;case 55:return new b3;case 13:return new XW;case 38:return new B5;case 44:return new QW;case 40:return new ZW;case 9:return new hJ;case 49:return new dVe;case 37:return new w9;case 43:return new F5;case 27:return new nY;case 30:return new LP;case 3:return new MP;case 18:return new aY;case 29:return new oY;case 5:return new sF;case 50:return new sY;case 34:return new fJ;case 36:return new u8;case 52:return new uJ;case 11:return new cm;case 7:return new gJ;case 39:return new l8;case 45:return new hY;case 16:return new m9;case 10:return new sd;case 48:return new sL;case 21:return new h8;case 23:return new Lee((zv(),pS));case 8:return new NP;case 12:return new oL;case 4:return new dY;case 19:return new Q9;case 17:return new wY;case 53:return new mY;case 6:return new HP;case 25:return new v$e;case 46:return new EY;case 31:return new QVe;case 14:return new uL;case 26:return new SX;case 20:return new DY;case 24:return new Lee((zv(),zq));default:throw ee(new Dn(uoe+(this.f!=null?this.f:""+this.g)))}};var Y7e,X7e,Q7e,Z7e,J7e,eEe,tEe,nEe,rEe,iEe,WC,jG,$G,sEe,aEe,oEe,cEe,uEe,lEe,hEe,YC,fEe,dEe,gEe,pEe,bEe,Lue,HG,zG,vEe,GG,qG,VG,V7,U7,K7,wEe,UG,KG,mEe,WG,YG,yEe,kEe,xEe,EEe,XG,Mue,XI,QG,ZG,JG,eq,TEe,_Ee,CEe,SEe,amn=Gr(Bn,L6e,77,Kr,Gat,LWt),Jgt;M(1540,1,bs,aY),l.pf=function(t,n){xvn(u(t,37),n)},O(Bn,"InvertedPortProcessor",1540),M(1541,1,bs,oY),l.pf=function(t,n){xgn(u(t,37),n)},O(Bn,"LabelAndNodeSizeProcessor",1541),M(1542,1,gi,cY),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),M(1543,1,gi,$d),l.Mb=function(t){return u(t,10).k==(zn(),Ls)},O(Bn,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),M(1544,1,Vn,AUe),l.td=function(t){dqt(this.b,this.a,this.c,u(t,10))},l.a=!1,l.c=!1,O(Bn,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),M(1545,1,bs,sF),l.pf=function(t,n){Ubn(u(t,37),n)};var ept;O(Bn,"LabelDummyInserter",1545),M(1546,1,kd,ev),l.Lb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),bE))},l.Fb=function(t){return this===t},l.Mb=function(t){return $e(W(u(t,70),(mt(),Od)))===$e((N1(),bE))},O(Bn,"LabelDummyInserter/1",1546),M(1547,1,bs,sY),l.pf=function(t,n){W2n(u(t,37),n)},O(Bn,"LabelDummyRemover",1547),M(1548,1,gi,uY),l.Mb=function(t){return Bt(Nt(W(u(t,70),(mt(),wle))))},O(Bn,"LabelDummyRemover/lambda$0$Type",1548),M(1359,1,bs,fJ),l.pf=function(t,n){Ebn(this,u(t,37),n)},l.a=null;var Due;O(Bn,"LabelDummySwitcher",1359),M(286,1,{286:1},Hot),l.c=0,l.d=null,l.f=0,O(Bn,"LabelDummySwitcher/LabelDummyInfo",286),M(1360,1,{},DP),l.Kb=function(t){return G6(),new mn(null,new kn(u(t,29).a,16))},O(Bn,"LabelDummySwitcher/lambda$0$Type",1360),M(1361,1,gi,IP),l.Mb=function(t){return G6(),u(t,10).k==(zn(),Pl)},O(Bn,"LabelDummySwitcher/lambda$1$Type",1361),M(1362,1,{},hg),l.Kb=function(t){return TUt(this.a,u(t,10))},O(Bn,"LabelDummySwitcher/lambda$2$Type",1362),M(1363,1,Vn,cd),l.td=function(t){EXt(this.a,u(t,286))},O(Bn,"LabelDummySwitcher/lambda$3$Type",1363),M(1364,1,Ri,lY),l.ue=function(t,n){return QYt(u(t,286),u(n,286))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"LabelDummySwitcher/lambda$4$Type",1364),M(791,1,bs,v3),l.pf=function(t,n){Nen(u(t,37),n)},O(Bn,"LabelManagementProcessor",791),M(1549,1,bs,u8),l.pf=function(t,n){s0n(u(t,37),n)},O(Bn,"LabelSideSelector",1549),M(1550,1,gi,iL),l.Mb=function(t){return Bt(Nt(W(u(t,70),(mt(),wle))))},O(Bn,"LabelSideSelector/lambda$0$Type",1550),M(1558,1,bs,cm),l.pf=function(t,n){Hpn(u(t,37),n)},O(Bn,"LayerConstraintPostprocessor",1558),M(1559,1,bs,gJ),l.pf=function(t,n){t1n(u(t,37),n)};var AEe;O(Bn,"LayerConstraintPreprocessor",1559),M(360,22,{3:1,35:1,22:1,360:1},wR);var QI,tq,nq,Iue,tpt=Gr(Bn,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Kr,SJt,yKt),npt;M(1560,1,bs,l8),l.pf=function(t,n){V2n(u(t,37),n)},O(Bn,"LayerSizeAndGraphHeightCalculator",1560),M(1561,1,bs,hY),l.pf=function(t,n){W1n(u(t,37),n)},O(Bn,"LongEdgeJoiner",1561),M(1562,1,bs,m9),l.pf=function(t,n){C2n(u(t,37),n)},O(Bn,"LongEdgeSplitter",1562),M(1563,1,bs,sd),l.pf=function(t,n){Cbn(this,u(t,37),n)},l.d=0,l.e=0,l.i=0,l.j=0,l.k=0,l.n=0,O(Bn,"NodePromotion",1563),M(1564,1,{},OP),l.Kb=function(t){return u(t,46),In(),!0},l.Fb=function(t){return this===t},O(Bn,"NodePromotion/lambda$0$Type",1564),M(1565,1,{},bp),l.Kb=function(t){return qXt(this.a,u(t,46))},l.Fb=function(t){return this===t},l.a=0,O(Bn,"NodePromotion/lambda$1$Type",1565),M(1566,1,{},Kf),l.Kb=function(t){return VXt(this.a,u(t,46))},l.Fb=function(t){return this===t},l.a=0,O(Bn,"NodePromotion/lambda$2$Type",1566),M(1567,1,bs,sL),l.pf=function(t,n){Xvn(u(t,37),n)},O(Bn,"NorthSouthPortPostprocessor",1567),M(1568,1,bs,h8),l.pf=function(t,n){Pvn(u(t,37),n)},O(Bn,"NorthSouthPortPreprocessor",1568),M(1569,1,Ri,aL),l.ue=function(t,n){return lrn(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"NorthSouthPortPreprocessor/lambda$0$Type",1569),M(1570,1,bs,NP),l.pf=function(t,n){Zgn(u(t,37),n)},O(Bn,"PartitionMidprocessor",1570),M(1571,1,gi,fY),l.Mb=function(t){return Js(u(t,10),(mt(),aE))},O(Bn,"PartitionMidprocessor/lambda$0$Type",1571),M(1572,1,Vn,av),l.td=function(t){dQt(this.a,u(t,10))},O(Bn,"PartitionMidprocessor/lambda$1$Type",1572),M(1573,1,bs,oL),l.pf=function(t,n){gdn(u(t,37),n)},O(Bn,"PartitionPostprocessor",1573),M(1574,1,bs,dY),l.pf=function(t,n){Tfn(u(t,37),n)},O(Bn,"PartitionPreprocessor",1574),M(1575,1,gi,gY),l.Mb=function(t){return Js(u(t,10),(mt(),aE))},O(Bn,"PartitionPreprocessor/lambda$0$Type",1575),M(1576,1,{},PP),l.Kb=function(t){return new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Bn,"PartitionPreprocessor/lambda$1$Type",1576),M(1577,1,gi,R5),l.Mb=function(t){return van(u(t,17))},O(Bn,"PartitionPreprocessor/lambda$2$Type",1577),M(1578,1,Vn,BP),l.td=function(t){yrn(u(t,17))},O(Bn,"PartitionPreprocessor/lambda$3$Type",1578),M(1579,1,bs,Q9),l.pf=function(t,n){Bgn(u(t,37),n)};var LEe,rpt,ipt,spt,MEe,DEe;O(Bn,"PortListSorter",1579),M(1580,1,{},j5),l.Kb=function(t){return Gx(),u(t,11).e},O(Bn,"PortListSorter/lambda$0$Type",1580),M(1581,1,{},pY),l.Kb=function(t){return Gx(),u(t,11).g},O(Bn,"PortListSorter/lambda$1$Type",1581),M(1582,1,Ri,cL),l.ue=function(t,n){return JXe(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"PortListSorter/lambda$2$Type",1582),M(1583,1,Ri,bY),l.ue=function(t,n){return Hon(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"PortListSorter/lambda$3$Type",1583),M(1584,1,Ri,vY),l.ue=function(t,n){return lct(u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"PortListSorter/lambda$4$Type",1584),M(1585,1,bs,wY),l.pf=function(t,n){Yfn(u(t,37),n)},O(Bn,"PortSideProcessor",1585),M(1586,1,bs,mY),l.pf=function(t,n){X0n(u(t,37),n)},O(Bn,"ReversedEdgeRestorer",1586),M(1591,1,bs,v$e),l.pf=function(t,n){_on(this,u(t,37),n)},O(Bn,"SelfLoopPortRestorer",1591),M(1592,1,{},FP),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"SelfLoopPortRestorer/lambda$0$Type",1592),M(1593,1,gi,yY),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SelfLoopPortRestorer/lambda$1$Type",1593),M(1594,1,gi,kY),l.Mb=function(t){return Js(u(t,10),(nt(),rE))},O(Bn,"SelfLoopPortRestorer/lambda$2$Type",1594),M(1595,1,{},xY),l.Kb=function(t){return u(W(u(t,10),(nt(),rE)),403)},O(Bn,"SelfLoopPortRestorer/lambda$3$Type",1595),M(1596,1,Vn,vm),l.td=function(t){Nln(this.a,u(t,403))},O(Bn,"SelfLoopPortRestorer/lambda$4$Type",1596),M(794,1,Vn,RP),l.td=function(t){Yln(u(t,101))},O(Bn,"SelfLoopPortRestorer/lambda$5$Type",794),M(1597,1,bs,EY),l.pf=function(t,n){Nan(u(t,37),n)},O(Bn,"SelfLoopPostProcessor",1597),M(1598,1,{},TY),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"SelfLoopPostProcessor/lambda$0$Type",1598),M(1599,1,gi,_Y),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SelfLoopPostProcessor/lambda$1$Type",1599),M(1600,1,gi,jP),l.Mb=function(t){return Js(u(t,10),(nt(),rE))},O(Bn,"SelfLoopPostProcessor/lambda$2$Type",1600),M(1601,1,Vn,CY),l.td=function(t){Hcn(u(t,10))},O(Bn,"SelfLoopPostProcessor/lambda$3$Type",1601),M(1602,1,{},SY),l.Kb=function(t){return new mn(null,new kn(u(t,101).f,1))},O(Bn,"SelfLoopPostProcessor/lambda$4$Type",1602),M(1603,1,Vn,o6),l.td=function(t){MJt(this.a,u(t,409))},O(Bn,"SelfLoopPostProcessor/lambda$5$Type",1603),M(1604,1,gi,$P),l.Mb=function(t){return!!u(t,101).i},O(Bn,"SelfLoopPostProcessor/lambda$6$Type",1604),M(1605,1,Vn,_3),l.td=function(t){gGt(this.a,u(t,101))},O(Bn,"SelfLoopPostProcessor/lambda$7$Type",1605),M(1587,1,bs,HP),l.pf=function(t,n){S1n(u(t,37),n)},O(Bn,"SelfLoopPreProcessor",1587),M(1588,1,{},zP),l.Kb=function(t){return new mn(null,new kn(u(t,101).f,1))},O(Bn,"SelfLoopPreProcessor/lambda$0$Type",1588),M(1589,1,{},AY),l.Kb=function(t){return u(t,409).a},O(Bn,"SelfLoopPreProcessor/lambda$1$Type",1589),M(1590,1,Vn,LY),l.td=function(t){mVt(u(t,17))},O(Bn,"SelfLoopPreProcessor/lambda$2$Type",1590),M(1606,1,bs,QVe),l.pf=function(t,n){Tln(this,u(t,37),n)},O(Bn,"SelfLoopRouter",1606),M(1607,1,{},f8),l.Kb=function(t){return new mn(null,new kn(u(t,29).a,16))},O(Bn,"SelfLoopRouter/lambda$0$Type",1607),M(1608,1,gi,$5),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SelfLoopRouter/lambda$1$Type",1608),M(1609,1,gi,y9),l.Mb=function(t){return Js(u(t,10),(nt(),rE))},O(Bn,"SelfLoopRouter/lambda$2$Type",1609),M(1610,1,{},MY),l.Kb=function(t){return u(W(u(t,10),(nt(),rE)),403)},O(Bn,"SelfLoopRouter/lambda$3$Type",1610),M(1611,1,Vn,Kze),l.td=function(t){iQt(this.a,this.b,u(t,403))},O(Bn,"SelfLoopRouter/lambda$4$Type",1611),M(1612,1,bs,uL),l.pf=function(t,n){Kdn(u(t,37),n)},O(Bn,"SemiInteractiveCrossMinProcessor",1612),M(1613,1,gi,k9),l.Mb=function(t){return u(t,10).k==(zn(),js)},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),M(1614,1,gi,lL),l.Mb=function(t){return dKe(u(t,10))._b((mt(),Ny))},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),M(1615,1,Ri,GP),l.ue=function(t,n){return xnn(u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),M(1616,1,{},qP),l.Ce=function(t,n){return kQt(u(t,10),u(n,10))},O(Bn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),M(1618,1,bs,DY),l.pf=function(t,n){zpn(u(t,37),n)},O(Bn,"SortByInputModelProcessor",1618),M(1619,1,gi,IY),l.Mb=function(t){return u(t,11).g.c.length!=0},O(Bn,"SortByInputModelProcessor/lambda$0$Type",1619),M(1620,1,Vn,c6),l.td=function(t){ehn(this.a,u(t,11))},O(Bn,"SortByInputModelProcessor/lambda$1$Type",1620),M(1693,803,{},cet),l.Me=function(t){var n,r,i,a;switch(this.c=t,this.a.g){case 2:n=new at,ms(qi(new mn(null,new kn(this.c.a.b,16)),new WP),new Zze(this,n)),$D(this,new UP),Su(n,new NY),n.c=Ie(Xn,_t,1,0,5,1),ms(qi(new mn(null,new kn(this.c.a.b,16)),new PY),new C3(n)),$D(this,new BY),Su(n,new FY),n.c=Ie(Xn,_t,1,0,5,1),r=Dqe(xet(Aj(new mn(null,new kn(this.c.a.b,16)),new Hd(this))),new RY),ms(new mn(null,new kn(this.c.a.a,16)),new Yze(r,n)),$D(this,new jY),Su(n,new OY),n.c=Ie(Xn,_t,1,0,5,1);break;case 3:i=new at,$D(this,new VP),a=Dqe(xet(Aj(new mn(null,new kn(this.c.a.b,16)),new oT(this))),new KP),ms(qi(new mn(null,new kn(this.c.a.b,16)),new $Y),new Qze(a,i)),$D(this,new HY),Su(i,new zY),i.c=Ie(Xn,_t,1,0,5,1);break;default:throw ee(new n$e)}},l.b=0,O(Is,"EdgeAwareScanlineConstraintCalculation",1693),M(1694,1,kd,VP),l.Lb=function(t){return me(u(t,57).g,145)},l.Fb=function(t){return this===t},l.Mb=function(t){return me(u(t,57).g,145)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),M(1695,1,{},oT),l.Fe=function(t){return Ohn(this.a,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),M(1703,1,cz,Wze),l.Vd=function(){V_(this.a,this.b,-1)},l.b=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),M(1705,1,kd,UP),l.Lb=function(t){return me(u(t,57).g,145)},l.Fb=function(t){return this===t},l.Mb=function(t){return me(u(t,57).g,145)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),M(1706,1,Vn,NY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),M(1707,1,gi,PY),l.Mb=function(t){return me(u(t,57).g,10)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),M(1709,1,Vn,C3),l.td=function(t){asn(this.a,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),M(1708,1,cz,nGe),l.Vd=function(){V_(this.b,this.a,-1)},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),M(1710,1,kd,BY),l.Lb=function(t){return me(u(t,57).g,10)},l.Fb=function(t){return this===t},l.Mb=function(t){return me(u(t,57).g,10)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),M(1711,1,Vn,FY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),M(1712,1,{},Hd),l.Fe=function(t){return Nhn(this.a,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),M(1713,1,{},RY),l.De=function(){return 0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),M(1696,1,{},KP),l.De=function(){return 0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),M(1715,1,Vn,Yze),l.td=function(t){HYt(this.a,this.b,u(t,307))},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),M(1714,1,cz,Xze),l.Vd=function(){yat(this.a,this.b,-1)},l.b=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),M(1716,1,kd,jY),l.Lb=function(t){return u(t,57),!0},l.Fb=function(t){return this===t},l.Mb=function(t){return u(t,57),!0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),M(1717,1,Vn,OY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),M(1697,1,gi,$Y),l.Mb=function(t){return me(u(t,57).g,10)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),M(1699,1,Vn,Qze),l.td=function(t){zYt(this.a,this.b,u(t,57))},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),M(1698,1,cz,rGe),l.Vd=function(){V_(this.b,this.a,-1)},l.a=0,O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),M(1700,1,kd,HY),l.Lb=function(t){return u(t,57),!0},l.Fb=function(t){return this===t},l.Mb=function(t){return u(t,57),!0},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),M(1701,1,Vn,zY),l.td=function(t){u(t,365).Vd()},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),M(1702,1,gi,WP),l.Mb=function(t){return me(u(t,57).g,145)},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),M(1704,1,Vn,Zze),l.td=function(t){jtn(this.a,this.b,u(t,57))},O(Is,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),M(1521,1,bs,dVe),l.pf=function(t,n){O2n(this,u(t,37),n)};var apt;O(Is,"HorizontalGraphCompactor",1521),M(1522,1,{},T1),l.Oe=function(t,n){var r,i,a;return Kwe(t,n)||(r=q3(t),i=q3(n),r&&r.k==(zn(),Ls)||i&&i.k==(zn(),Ls))?0:(a=u(W(this.a.a,(nt(),H4)),304),KVt(a,r?r.k:(zn(),ca),i?i.k:(zn(),ca)))},l.Pe=function(t,n){var r,i,a;return Kwe(t,n)?1:(r=q3(t),i=q3(n),a=u(W(this.a.a,(nt(),H4)),304),z2e(a,r?r.k:(zn(),ca),i?i.k:(zn(),ca)))},O(Is,"HorizontalGraphCompactor/1",1522),M(1523,1,{},x9),l.Ne=function(t,n){return _T(),t.a.i==0},O(Is,"HorizontalGraphCompactor/lambda$0$Type",1523),M(1524,1,{},zd),l.Ne=function(t,n){return vQt(this.a,t,n)},O(Is,"HorizontalGraphCompactor/lambda$1$Type",1524),M(1664,1,{},KZe);var opt,cpt;O(Is,"LGraphToCGraphTransformer",1664),M(1672,1,gi,GY),l.Mb=function(t){return t!=null},O(Is,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),M(1665,1,{},qY),l.Kb=function(t){return vf(),Yo(W(u(u(t,57).g,10),(nt(),Mi)))},O(Is,"LGraphToCGraphTransformer/lambda$0$Type",1665),M(1666,1,{},YP),l.Kb=function(t){return vf(),Ztt(u(u(t,57).g,145))},O(Is,"LGraphToCGraphTransformer/lambda$1$Type",1666),M(1675,1,gi,VY),l.Mb=function(t){return vf(),me(u(t,57).g,10)},O(Is,"LGraphToCGraphTransformer/lambda$10$Type",1675),M(1676,1,Vn,UY),l.td=function(t){bQt(u(t,57))},O(Is,"LGraphToCGraphTransformer/lambda$11$Type",1676),M(1677,1,gi,KY),l.Mb=function(t){return vf(),me(u(t,57).g,145)},O(Is,"LGraphToCGraphTransformer/lambda$12$Type",1677),M(1681,1,Vn,WY),l.td=function(t){kin(u(t,57))},O(Is,"LGraphToCGraphTransformer/lambda$13$Type",1681),M(1678,1,Vn,cT),l.td=function(t){Vqt(this.a,u(t,8))},l.a=0,O(Is,"LGraphToCGraphTransformer/lambda$14$Type",1678),M(1679,1,Vn,F2),l.td=function(t){Kqt(this.a,u(t,110))},l.a=0,O(Is,"LGraphToCGraphTransformer/lambda$15$Type",1679),M(1680,1,Vn,DF),l.td=function(t){Uqt(this.a,u(t,8))},l.a=0,O(Is,"LGraphToCGraphTransformer/lambda$16$Type",1680),M(1682,1,{},YY),l.Kb=function(t){return vf(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Is,"LGraphToCGraphTransformer/lambda$17$Type",1682),M(1683,1,gi,XY),l.Mb=function(t){return vf(),no(u(t,17))},O(Is,"LGraphToCGraphTransformer/lambda$18$Type",1683),M(1684,1,Vn,aee),l.td=function(t){Stn(this.a,u(t,17))},O(Is,"LGraphToCGraphTransformer/lambda$19$Type",1684),M(1668,1,Vn,oee),l.td=function(t){oJt(this.a,u(t,145))},O(Is,"LGraphToCGraphTransformer/lambda$2$Type",1668),M(1685,1,{},XP),l.Kb=function(t){return vf(),new mn(null,new kn(u(t,29).a,16))},O(Is,"LGraphToCGraphTransformer/lambda$20$Type",1685),M(1686,1,{},QY),l.Kb=function(t){return vf(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Is,"LGraphToCGraphTransformer/lambda$21$Type",1686),M(1687,1,{},QP),l.Kb=function(t){return vf(),u(W(u(t,17),(nt(),Sb)),15)},O(Is,"LGraphToCGraphTransformer/lambda$22$Type",1687),M(1688,1,gi,ZY),l.Mb=function(t){return YVt(u(t,15))},O(Is,"LGraphToCGraphTransformer/lambda$23$Type",1688),M(1689,1,Vn,cee),l.td=function(t){Thn(this.a,u(t,15))},O(Is,"LGraphToCGraphTransformer/lambda$24$Type",1689),M(1667,1,Vn,Jze),l.td=function(t){WJt(this.a,this.b,u(t,145))},O(Is,"LGraphToCGraphTransformer/lambda$3$Type",1667),M(1669,1,{},JY),l.Kb=function(t){return vf(),new mn(null,new kn(u(t,29).a,16))},O(Is,"LGraphToCGraphTransformer/lambda$4$Type",1669),M(1670,1,{},eX),l.Kb=function(t){return vf(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(Is,"LGraphToCGraphTransformer/lambda$5$Type",1670),M(1671,1,{},E9),l.Kb=function(t){return vf(),u(W(u(t,17),(nt(),Sb)),15)},O(Is,"LGraphToCGraphTransformer/lambda$6$Type",1671),M(1673,1,Vn,uee),l.td=function(t){nfn(this.a,u(t,15))},O(Is,"LGraphToCGraphTransformer/lambda$8$Type",1673),M(1674,1,Vn,eGe),l.td=function(t){pVt(this.a,this.b,u(t,145))},O(Is,"LGraphToCGraphTransformer/lambda$9$Type",1674),M(1663,1,{},tX),l.Le=function(t){var n,r,i,a,h;for(this.a=t,this.d=new wee,this.c=Ie(h7e,_t,121,this.a.a.a.c.length,0,1),this.b=0,r=new C(this.a.a.a);r.a=Q&&(st(h,lt(L)),Te=b.Math.max(Te,Ne[L-1]-P),v+=K,ue+=Ne[L-1]-ue,P=Ne[L-1],K=x[L]),K=b.Math.max(K,x[L]),++L;v+=K}q=b.Math.min(1/Te,1/n.b/v),q>i&&(i=q,r=h)}return r},l.Wf=function(){return!1},O(_d,"MSDCutIndexHeuristic",802),M(1617,1,bs,SX),l.pf=function(t,n){Npn(u(t,37),n)},O(_d,"SingleEdgeGraphWrapper",1617),M(227,22,{3:1,35:1,22:1,227:1},IT);var N4,X7,Q7,Ty,XC,P4,Z7=Gr(Dc,"CenterEdgeLabelPlacementStrategy",227,Kr,Ven,EKt),ypt;M(422,22,{3:1,35:1,22:1,422:1},zpe);var OEe,Gue,NEe=Gr(Dc,"ConstraintCalculationStrategy",422,Kr,PQt,TKt),kpt;M(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},Yee),l.Kf=function(){return Dst(this)},l.Xf=function(){return Dst(this)};var ZI,yk,PEe,BEe=Gr(Dc,"CrossingMinimizationStrategy",314,Kr,SZt,_Kt),xpt;M(337,22,{3:1,35:1,22:1,337:1},Xee);var FEe,que,cq,REe=Gr(Dc,"CuttingStrategy",337,Kr,AZt,AKt),Ept;M(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},rM),l.Kf=function(){return vat(this)},l.Xf=function(){return vat(this)};var jEe,Vue,QC,Uue,ZC,$Ee=Gr(Dc,"CycleBreakingStrategy",335,Kr,ven,LKt),Tpt;M(419,22,{3:1,35:1,22:1,419:1},Gpe);var uq,HEe,zEe=Gr(Dc,"DirectionCongruency",419,Kr,NQt,MKt),_pt;M(450,22,{3:1,35:1,22:1,450:1},Qee);var J7,Kue,B4,Cpt=Gr(Dc,"EdgeConstraint",450,Kr,LZt,DKt),Spt;M(276,22,{3:1,35:1,22:1,276:1},OT);var Wue,Yue,Xue,Que,lq,Zue,GEe=Gr(Dc,"EdgeLabelSideSelection",276,Kr,Yen,IKt),Apt;M(479,22,{3:1,35:1,22:1,479:1},qpe);var hq,qEe,VEe=Gr(Dc,"EdgeStraighteningStrategy",479,Kr,OQt,OKt),Lpt;M(274,22,{3:1,35:1,22:1,274:1},NT);var Jue,UEe,KEe,fq,WEe,YEe,XEe=Gr(Dc,"FixedAlignment",274,Kr,Ken,NKt),Mpt;M(275,22,{3:1,35:1,22:1,275:1},PT);var QEe,ZEe,JEe,e9e,JC,t9e,n9e=Gr(Dc,"GraphCompactionStrategy",275,Kr,Uen,PKt),Dpt;M(256,22,{3:1,35:1,22:1,256:1},Em);var eE,dq,tE,Th,eS,gq,nE,F4,pq,tS,ele=Gr(Dc,"GraphProperties",256,Kr,Nnn,BKt),Ipt;M(292,22,{3:1,35:1,22:1,292:1},Zee);var JI,tle,nle,rle=Gr(Dc,"GreedySwitchType",292,Kr,IZt,FKt),Opt;M(303,22,{3:1,35:1,22:1,303:1},Jee);var kk,eO,R4,Npt=Gr(Dc,"InLayerConstraint",303,Kr,DZt,RKt),Ppt;M(420,22,{3:1,35:1,22:1,420:1},Vpe);var ile,r9e,i9e=Gr(Dc,"InteractiveReferencePoint",420,Kr,BQt,jKt),Bpt,s9e,xk,mw,bq,a9e,o9e,vq,c9e,tO,wq,nS,Ek,_y,sle,mq,vc,u9e,yw,Qc,ale,ole,nO,Cb,kw,Tk,l9e,_k,rO,Cy,o1,Kh,cle,j4,Oc,Mi,h9e,f9e,d9e,g9e,p9e,ule,yq,ol,xw,lle,Ck,iO,U1,$4,rE,H4,z4,iE,Sb,b9e,hle,fle,Sk;M(163,22,{3:1,35:1,22:1,163:1},sM);var rS,a2,iS,Sy,sO,v9e=Gr(Dc,"LayerConstraint",163,Kr,yen,$Kt),Fpt;M(848,1,$h,yJ),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,M6e),""),"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."),S9e),(Dg(),ws)),zEe),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,D6e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(In(),!1)),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ez),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),O9e),ws),i9e),sn(jn)))),ma(t,Ez,foe,A2t),ma(t,Ez,EC,S2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,I6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,O6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(UGt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,N6e),""),"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),qa),Vs),sn(Ob)),ie(ne(Et,1),Je,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,P6e),""),"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."),H9e),ws),YTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,B6e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),lt(7)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,F6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,R6e),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,foe),"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)."),C9e),ws),$Ee),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,TI),Boe),"Node Layering Strategy"),"Strategy for node layering."),B9e),ws),FTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,j6e),Boe),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),N9e),ws),v9e),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,$6e),Boe),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,H6e),Boe),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,doe),Sht),"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."),lt(4)),Tc),Ja),sn(jn)))),ma(t,doe,TI,P2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,goe),Sht),"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."),lt(2)),Tc),Ja),sn(jn)))),ma(t,goe,TI,F2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,poe),Aht),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),P9e),ws),UTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,boe),Aht),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),lt(0)),Tc),Ja),sn(jn)))),ma(t,boe,poe,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,voe),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),lt(xi)),Tc),Ja),sn(jn)))),ma(t,voe,TI,M2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,EC),_I),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),_9e),ws),BEe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,z6e),_I),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,woe),_I),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Go),ka),sn(jn)))),ma(t,woe,Bz,n2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,moe),_I),"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),qa),Vs),sn(jn)))),ma(t,moe,EC,a2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,G6e),_I),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,q6e),_I),"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."),lt(-1)),Tc),Ja),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,V6e),Lht),"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."),lt(40)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,yoe),Lht),"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."),T9e),ws),rle),sn(jn)))),ma(t,yoe,EC,e2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Tz),"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."),E9e),ws),rle),sn(jn)))),ma(t,Tz,EC,Qpt),ma(t,Tz,Bz,Zpt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,x4),Mht),"Node Placement Strategy"),"Strategy for node placement."),$9e),ws),HTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,_z),Mht),"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."),qa),Vs),sn(jn)))),ma(t,_z,x4,W2t),ma(t,_z,x4,Y2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,koe),Dht),"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."),F9e),ws),VEe),sn(jn)))),ma(t,koe,x4,q2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,xoe),Dht),"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."),R9e),ws),XEe),sn(jn)))),ma(t,xoe,x4,U2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Eoe),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Go),ka),sn(jn)))),ma(t,Eoe,x4,Q2t),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Toe),"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."),ws),Ple),sn(ua)))),ma(t,Toe,x4,tbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,_oe),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),j9e),ws),Ple),sn(jn)))),ma(t,_oe,x4,ebt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,U6e),Iht),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),M9e),ws),ZTe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,K6e),Iht),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),D9e),ws),JTe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Cz),"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."),I9e),ws),t_e),sn(jn)))),ma(t,Cz,CI,v2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Sz),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Go),ka),sn(jn)))),ma(t,Sz,CI,m2t),ma(t,Sz,Cz,y2t),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Coe),"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),Go),ka),sn(jn)))),ma(t,Coe,CI,d2t),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,W6e),z1),"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."),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Y6e),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,X6e),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Q6e),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Z6e),oke),"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."),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,J6e),oke),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,eke),oke),"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."),lt(0)),Tc),Ja),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Soe),cke),Wlt),"Tries to further compact components (disconnected sub-graphs)."),!1),qa),Vs),sn(jn)))),ma(t,Soe,wC,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,tke),Oht),"Post Compaction Strategy"),Nht),m9e),ws),n9e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,nke),Oht),"Post Compaction Constraint Calculation"),Nht),w9e),ws),NEe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Az),uke),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Aoe),uke),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),lt(16)),Tc),Ja),sn(jn)))),ma(t,Aoe,Az,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Loe),uke),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),lt(5)),Tc),Ja),sn(jn)))),ma(t,Loe,Az,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,K0),lke),"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'."),q9e),ws),s_e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Lz),lke),"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),Go),ka),sn(jn)))),ma(t,Lz,K0,gbt),ma(t,Lz,K0,pbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Mz),lke),"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),Go),ka),sn(jn)))),ma(t,Mz,K0,vbt),ma(t,Mz,K0,wbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,TC),Pht),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),G9e),ws),REe),sn(jn)))),ma(t,TC,K0,Tbt),ma(t,TC,K0,_bt),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Moe),Pht),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),W1),Eh),sn(jn)))),ma(t,Moe,TC,ybt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Doe),"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."),z9e),Tc),Ja),sn(jn)))),ma(t,Doe,TC,xbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Dz),Bht),"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."),V9e),ws),i_e),sn(jn)))),ma(t,Dz,K0,Fbt),ma(t,Dz,K0,Rbt),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Iz),Bht),"Valid Indices for Wrapping"),null),W1),Eh),sn(jn)))),ma(t,Iz,K0,Nbt),ma(t,Iz,K0,Pbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Oz),hke),"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),qa),Vs),sn(jn)))),ma(t,Oz,K0,Lbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Nz),hke),"Distance Penalty When Improving Cuts"),null),2),Go),ka),sn(jn)))),ma(t,Nz,K0,Sbt),ma(t,Nz,Oz,!0),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ioe),hke),"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),qa),Vs),sn(jn)))),ma(t,Ioe,K0,Dbt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,rke),Foe),"Edge Label Side Selection"),"Method to decide on edge label sides."),L9e),ws),GEe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ike),Foe),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),A9e),ws),Z7),Vi(jn,ie(ne(Gg,1),rt,175,0,[zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Pz),SI),"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."),x9e),ws),WTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ske),SI),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ooe),SI),"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."),y9e),ws),$7e),sn(jn)))),ma(t,Ooe,wC,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,ake),SI),"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."),k9e),ws),jTe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Noe),SI),"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),Go),ka),sn(jn)))),ma(t,Noe,Pz,null),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Poe),SI),"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),Go),ka),sn(jn)))),ma(t,Poe,Pz,null),Jut((new oF,t))};var Rpt,jpt,$pt,w9e,Hpt,m9e,zpt,y9e,Gpt,qpt,Vpt,k9e,Upt,Kpt,x9e,Wpt,Ypt,Xpt,E9e,Qpt,Zpt,Jpt,T9e,e2t,t2t,n2t,r2t,i2t,s2t,a2t,o2t,_9e,c2t,C9e,u2t,S9e,l2t,A9e,h2t,L9e,f2t,d2t,g2t,M9e,p2t,D9e,b2t,I9e,v2t,w2t,m2t,y2t,k2t,x2t,E2t,T2t,_2t,C2t,O9e,S2t,A2t,L2t,M2t,D2t,I2t,N9e,O2t,N2t,P2t,B2t,F2t,R2t,j2t,P9e,$2t,B9e,H2t,z2t,G2t,F9e,q2t,V2t,R9e,U2t,K2t,W2t,Y2t,X2t,Q2t,Z2t,J2t,j9e,ebt,tbt,nbt,$9e,rbt,H9e,ibt,sbt,abt,obt,cbt,ubt,lbt,hbt,fbt,dbt,gbt,pbt,bbt,vbt,wbt,mbt,ybt,kbt,z9e,xbt,Ebt,G9e,Tbt,_bt,Cbt,Sbt,Abt,Lbt,Mbt,Dbt,Ibt,q9e,Obt,Nbt,Pbt,Bbt,V9e,Fbt,Rbt;O(Dc,"LayeredMetaDataProvider",848),M(986,1,$h,oF),l.Qe=function(t){Jut(t)};var Id,dle,kq,sS,xq,U9e,Eq,Ak,Tq,K9e,W9e,gle,o2,ple,Ay,Y9e,aO,ble,X9e,jbt,_q,vle,aS,Ly,$bt,Jl,Q9e,Z9e,Cq,wle,Od,Sq,W0,J9e,eTe,tTe,mle,yle,nTe,Rg,kle,rTe,My,iTe,sTe,aTe,Aq,Dy,Ab,oTe,cTe,Fo,uTe,Hbt,du,Lq,lTe,hTe,fTe,xle,dTe,Mq,gTe,pTe,Dq,Ew,bTe,Ele,oS,vTe,Tw,cS,Iq,Lb,Tle,sE,Oq,Mb,wTe,mTe,yTe,aE,kTe,zbt,Gbt,qbt,Vbt,_w,Iy,vs,jg,Ubt,Oy,xTe,oE,ETe,Ny,Kbt,cE,TTe,Lk,Wbt,Ybt,oO,_le,_Te,cO,Af,G4,Mk,Cw,Db,Nq,Py,Cle,uE,lE,Sw,q4,Sle,uO,uS,lS,Ale,CTe,STe,ATe,LTe,Lle,MTe,DTe,ITe,OTe,Mle,Pq;O(Dc,"LayeredOptions",986),M(987,1,{},LX),l.$e=function(){var t;return t=new o$e,t},l._e=function(t){},O(Dc,"LayeredOptions/LayeredFactory",987),M(1372,1,{}),l.a=0;var Xbt;O(Ic,"ElkSpacings/AbstractSpacingsBuilder",1372),M(779,1372,{},xye);var Bq,Qbt;O(Dc,"LayeredSpacings/LayeredSpacingsBuilder",779),M(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},BT),l.Kf=function(){return Iat(this)},l.Xf=function(){return Iat(this)};var Dle,NTe,PTe,Fq,Ile,BTe,FTe=Gr(Dc,"LayeringStrategy",313,Kr,Wen,HKt),Zbt;M(378,22,{3:1,35:1,22:1,378:1},ete);var Ole,RTe,Rq,jTe=Gr(Dc,"LongEdgeOrderingStrategy",378,Kr,CZt,zKt),Jbt;M(197,22,{3:1,35:1,22:1,197:1},yR);var V4,U4,jq,Nle,Ple=Gr(Dc,"NodeFlexibility",197,Kr,OJt,GKt),evt;M(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},iM),l.Kf=function(){return bat(this)},l.Xf=function(){return bat(this)};var hS,Ble,Fle,fS,$Te,HTe=Gr(Dc,"NodePlacementStrategy",315,Kr,ben,YKt),tvt;M(260,22,{3:1,35:1,22:1,260:1},w6);var zTe,lO,GTe,qTe,hO,VTe,$q,Hq,UTe=Gr(Dc,"NodePromotionStrategy",260,Kr,Ktn,VKt),nvt;M(339,22,{3:1,35:1,22:1,339:1},tte);var KTe,c2,Rle,WTe=Gr(Dc,"OrderingStrategy",339,Kr,NZt,UKt),rvt;M(421,22,{3:1,35:1,22:1,421:1},Upe);var jle,$le,YTe=Gr(Dc,"PortSortingStrategy",421,Kr,FQt,KKt),ivt;M(452,22,{3:1,35:1,22:1,452:1},nte);var cl,ou,dS,svt=Gr(Dc,"PortType",452,Kr,OZt,qKt),avt;M(375,22,{3:1,35:1,22:1,375:1},rte);var XTe,Hle,QTe,ZTe=Gr(Dc,"SelfLoopDistributionStrategy",375,Kr,PZt,WKt),ovt;M(376,22,{3:1,35:1,22:1,376:1},Kpe);var fO,zle,JTe=Gr(Dc,"SelfLoopOrderingStrategy",376,Kr,IQt,XKt),cvt;M(304,1,{304:1},tut),O(Dc,"Spacings",304),M(336,22,{3:1,35:1,22:1,336:1},ite);var Gle,e_e,gS,t_e=Gr(Dc,"SplineRoutingMode",336,Kr,FZt,QKt),uvt;M(338,22,{3:1,35:1,22:1,338:1},ste);var qle,n_e,r_e,i_e=Gr(Dc,"ValidifyStrategy",338,Kr,RZt,ZKt),lvt;M(377,22,{3:1,35:1,22:1,377:1},ate);var By,Vle,hE,s_e=Gr(Dc,"WrappingStrategy",377,Kr,BZt,JKt),hvt;M(1383,1,Wc,EJ),l.Yf=function(t){return u(t,37),fvt},l.pf=function(t,n){A2n(this,u(t,37),n)};var fvt;O(jz,"DepthFirstCycleBreaker",1383),M(782,1,Wc,ave),l.Yf=function(t){return u(t,37),dvt},l.pf=function(t,n){Cwn(this,u(t,37),n)},l.Zf=function(t){return u(It(t,bH(this.d,t.c.length)),10)};var dvt;O(jz,"GreedyCycleBreaker",782),M(1386,782,Wc,$Ge),l.Zf=function(t){var n,r,i,a;for(a=null,n=xi,i=new C(t);i.a1&&(Bt(Nt(W(Xa((En(0,t.c.length),u(t.c[0],10))),(mt(),Ay))))?Cat(t,this.d,u(this,660)):(fn(),aa(t,this.d)),Uet(this.e,t))},l.Sf=function(t,n,r,i){var a,h,d,v,x,T,L;for(n!=pKe(r,t.length)&&(h=t[n-(r?1:-1)],Dwe(this.f,h,r?(vo(),ou):(vo(),cl))),a=t[n][0],L=!i||a.k==(zn(),Ls),T=I1(t[n]),this.ag(T,L,!1,r),d=0,x=new C(T);x.a"),t0?$ne(this.a,t[n-1],t[n]):!r&&n1&&(Bt(Nt(W(Xa((En(0,t.c.length),u(t.c[0],10))),(mt(),Ay))))?Cat(t,this.d,this):(fn(),aa(t,this.d)),Bt(Nt(W(Xa((En(0,t.c.length),u(t.c[0],10))),Ay)))||Uet(this.e,t))},O(Wu,"ModelOrderBarycenterHeuristic",660),M(1803,1,Ri,TRe),l.ue=function(t,n){return zln(this.a,u(t,10),u(n,10))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Wu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),M(1403,1,Wc,SJ),l.Yf=function(t){var n;return u(t,37),n=OR(Cvt),ki(n,(io(),fu),(po(),XG)),n},l.pf=function(t,n){SQt((u(t,37),n))};var Cvt;O(Wu,"NoCrossingMinimizer",1403),M(796,402,Kke,bpe),l.$f=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q;switch(P=this.g,r.g){case 1:{for(a=0,h=0,L=new C(t.j);L.a1&&(a.j==(dt(),$n)?this.b[t]=!0:a.j==On&&t>0&&(this.b[t-1]=!0))},l.f=0,O(a0,"AllCrossingsCounter",1798),M(587,1,{},I$),l.b=0,l.d=0,O(a0,"BinaryIndexedTree",587),M(524,1,{},EM);var c_e,Gq;O(a0,"CrossingsCounter",524),M(1906,1,Ri,_Re),l.ue=function(t,n){return MYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$0$Type",1906),M(1907,1,Ri,CRe),l.ue=function(t,n){return DYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$1$Type",1907),M(1908,1,Ri,SRe),l.ue=function(t,n){return IYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$2$Type",1908),M(1909,1,Ri,ARe),l.ue=function(t,n){return OYt(this.a,u(t,11),u(n,11))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(a0,"CrossingsCounter/lambda$3$Type",1909),M(1910,1,Vn,LRe),l.td=function(t){gtn(this.a,u(t,11))},O(a0,"CrossingsCounter/lambda$4$Type",1910),M(1911,1,gi,MRe),l.Mb=function(t){return Aqt(this.a,u(t,11))},O(a0,"CrossingsCounter/lambda$5$Type",1911),M(1912,1,Vn,DRe),l.td=function(t){BGe(this,t)},O(a0,"CrossingsCounter/lambda$6$Type",1912),M(1913,1,Vn,cGe),l.td=function(t){var n;ix(),Bp(this.b,(n=this.a,u(t,11),n))},O(a0,"CrossingsCounter/lambda$7$Type",1913),M(826,1,kd,fB),l.Lb=function(t){return ix(),Js(u(t,11),(nt(),ol))},l.Fb=function(t){return this===t},l.Mb=function(t){return ix(),Js(u(t,11),(nt(),ol))},O(a0,"CrossingsCounter/lambda$8$Type",826),M(1905,1,{},IRe),O(a0,"HyperedgeCrossingsCounter",1905),M(467,1,{35:1,467:1},ZVe),l.wd=function(t){return han(this,u(t,467))},l.b=0,l.c=0,l.e=0,l.f=0;var omn=O(a0,"HyperedgeCrossingsCounter/Hyperedge",467);M(362,1,{35:1,362:1},Mj),l.wd=function(t){return u1n(this,u(t,362))},l.b=0,l.c=0;var Svt=O(a0,"HyperedgeCrossingsCounter/HyperedgeCorner",362);M(523,22,{3:1,35:1,22:1,523:1},Wpe);var bS,vS,Avt=Gr(a0,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Kr,RQt,tWt),Lvt;M(1405,1,Wc,xJ),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Mvt:null},l.pf=function(t,n){Mcn(this,u(t,37),n)};var Mvt;O(ko,"InteractiveNodePlacer",1405),M(1406,1,Wc,kJ),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Dvt:null},l.pf=function(t,n){gon(this,u(t,37),n)};var Dvt,qq,Vq;O(ko,"LinearSegmentsNodePlacer",1406),M(257,1,{35:1,257:1},Uge),l.wd=function(t){return $Gt(this,u(t,257))},l.Fb=function(t){var n;return me(t,257)?(n=u(t,257),this.b==n.b):!1},l.Hb=function(){return this.b},l.Ib=function(){return"ls"+Vp(this.e)},l.a=0,l.b=0,l.c=-1,l.d=-1,l.g=0;var Ivt=O(ko,"LinearSegmentsNodePlacer/LinearSegment",257);M(1408,1,Wc,_Ke),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Ovt:null},l.pf=function(t,n){wwn(this,u(t,37),n)},l.b=0,l.g=0;var Ovt;O(ko,"NetworkSimplexPlacer",1408),M(1427,1,Ri,NX),l.ue=function(t,n){return ku(u(t,19).a,u(n,19).a)},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(ko,"NetworkSimplexPlacer/0methodref$compare$Type",1427),M(1429,1,Ri,PX),l.ue=function(t,n){return ku(u(t,19).a,u(n,19).a)},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(ko,"NetworkSimplexPlacer/1methodref$compare$Type",1429),M(649,1,{649:1},uGe);var cmn=O(ko,"NetworkSimplexPlacer/EdgeRep",649);M(401,1,{401:1},Rve),l.b=!1;var umn=O(ko,"NetworkSimplexPlacer/NodeRep",401);M(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},w$e),O(ko,"NetworkSimplexPlacer/Path",508),M(1409,1,{},BX),l.Kb=function(t){return u(t,17).d.i.k},O(ko,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),M(1410,1,gi,FX),l.Mb=function(t){return u(t,267)==(zn(),ca)},O(ko,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),M(1411,1,{},RX),l.Kb=function(t){return u(t,17).d.i},O(ko,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),M(1412,1,gi,ORe),l.Mb=function(t){return BVe(Ent(u(t,10)))},O(ko,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),M(1413,1,gi,jX),l.Mb=function(t){return mYt(u(t,11))},O(ko,"NetworkSimplexPlacer/lambda$0$Type",1413),M(1414,1,Vn,lGe),l.td=function(t){bVt(this.a,this.b,u(t,11))},O(ko,"NetworkSimplexPlacer/lambda$1$Type",1414),M(1423,1,Vn,NRe),l.td=function(t){Bhn(this.a,u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$10$Type",1423),M(1424,1,{},$X),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$11$Type",1424),M(1425,1,Vn,PRe),l.td=function(t){I0n(this.a,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$12$Type",1425),M(1426,1,{},HX),l.Kb=function(t){return Hl(),lt(u(t,121).e)},O(ko,"NetworkSimplexPlacer/lambda$13$Type",1426),M(1428,1,{},zX),l.Kb=function(t){return Hl(),lt(u(t,121).e)},O(ko,"NetworkSimplexPlacer/lambda$15$Type",1428),M(1430,1,gi,GX),l.Mb=function(t){return Hl(),u(t,401).c.k==(zn(),js)},O(ko,"NetworkSimplexPlacer/lambda$17$Type",1430),M(1431,1,gi,qX),l.Mb=function(t){return Hl(),u(t,401).c.j.c.length>1},O(ko,"NetworkSimplexPlacer/lambda$18$Type",1431),M(1432,1,Vn,IWe),l.td=function(t){xsn(this.c,this.b,this.d,this.a,u(t,401))},l.c=0,l.d=0,O(ko,"NetworkSimplexPlacer/lambda$19$Type",1432),M(1415,1,{},VX),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$2$Type",1415),M(1433,1,Vn,BRe),l.td=function(t){gVt(this.a,u(t,11))},l.a=0,O(ko,"NetworkSimplexPlacer/lambda$20$Type",1433),M(1434,1,{},z5),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$21$Type",1434),M(1435,1,Vn,FRe),l.td=function(t){LVt(this.a,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$22$Type",1435),M(1436,1,gi,dB),l.Mb=function(t){return BVe(t)},O(ko,"NetworkSimplexPlacer/lambda$23$Type",1436),M(1437,1,{},UX),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$24$Type",1437),M(1438,1,gi,RRe),l.Mb=function(t){return Pqt(this.a,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$25$Type",1438),M(1439,1,Vn,hGe),l.td=function(t){ihn(this.a,this.b,u(t,10))},O(ko,"NetworkSimplexPlacer/lambda$26$Type",1439),M(1440,1,gi,KX),l.Mb=function(t){return Hl(),!no(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$27$Type",1440),M(1441,1,gi,WX),l.Mb=function(t){return Hl(),!no(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$28$Type",1441),M(1442,1,{},jRe),l.Ce=function(t,n){return CVt(this.a,u(t,29),u(n,29))},O(ko,"NetworkSimplexPlacer/lambda$29$Type",1442),M(1416,1,{},gB),l.Kb=function(t){return Hl(),new mn(null,new Cv(new ur(dr(Fs(u(t,10)).a.Kc(),new V))))},O(ko,"NetworkSimplexPlacer/lambda$3$Type",1416),M(1417,1,gi,YX),l.Mb=function(t){return Hl(),dJt(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$4$Type",1417),M(1418,1,Vn,$Re),l.td=function(t){Dpn(this.a,u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$5$Type",1418),M(1419,1,{},S9),l.Kb=function(t){return Hl(),new mn(null,new kn(u(t,29).a,16))},O(ko,"NetworkSimplexPlacer/lambda$6$Type",1419),M(1420,1,gi,XX),l.Mb=function(t){return Hl(),u(t,10).k==(zn(),js)},O(ko,"NetworkSimplexPlacer/lambda$7$Type",1420),M(1421,1,{},QX),l.Kb=function(t){return Hl(),new mn(null,new Cv(new ur(dr(j0(u(t,10)).a.Kc(),new V))))},O(ko,"NetworkSimplexPlacer/lambda$8$Type",1421),M(1422,1,gi,ZX),l.Mb=function(t){return Hl(),dYt(u(t,17))},O(ko,"NetworkSimplexPlacer/lambda$9$Type",1422),M(1404,1,Wc,Z9),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?Nvt:null},l.pf=function(t,n){f2n(u(t,37),n)};var Nvt;O(ko,"SimpleNodePlacer",1404),M(180,1,{180:1},d4),l.Ib=function(){var t;return t="",this.c==(bd(),Aw)?t+=ok:this.c==$g&&(t+=ak),this.o==(L1(),Ib)?t+=Uae:this.o==K1?t+="UP":t+="BALANCED",t},O(Jp,"BKAlignedLayout",180),M(516,22,{3:1,35:1,22:1,516:1},Xpe);var $g,Aw,Pvt=Gr(Jp,"BKAlignedLayout/HDirection",516,Kr,$Qt,nWt),Bvt;M(515,22,{3:1,35:1,22:1,515:1},Ype);var Ib,K1,Fvt=Gr(Jp,"BKAlignedLayout/VDirection",515,Kr,HQt,rWt),Rvt;M(1634,1,{},fGe),O(Jp,"BKAligner",1634),M(1637,1,{},Krt),O(Jp,"BKCompactor",1637),M(654,1,{654:1},JX),l.a=0,O(Jp,"BKCompactor/ClassEdge",654),M(458,1,{458:1},b$e),l.a=null,l.b=0,O(Jp,"BKCompactor/ClassNode",458),M(1407,1,Wc,RGe),l.Yf=function(t){return u(W(u(t,37),(nt(),Qc)),21).Hc((mo(),Th))?jvt:null},l.pf=function(t,n){Own(this,u(t,37),n)},l.d=!1;var jvt;O(Jp,"BKNodePlacer",1407),M(1635,1,{},eQ),l.d=0,O(Jp,"NeighborhoodInformation",1635),M(1636,1,Ri,HRe),l.ue=function(t,n){return $tn(this,u(t,46),u(n,46))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Jp,"NeighborhoodInformation/NeighborComparator",1636),M(808,1,{}),O(Jp,"ThresholdStrategy",808),M(1763,808,{},k$e),l.bg=function(t,n,r){return this.a.o==(L1(),K1)?ps:Ds},l.cg=function(){},O(Jp,"ThresholdStrategy/NullThresholdStrategy",1763),M(579,1,{579:1},dGe),l.c=!1,l.d=!1,O(Jp,"ThresholdStrategy/Postprocessable",579),M(1764,808,{},x$e),l.bg=function(t,n,r){var i,a,h;return a=n==r,i=this.a.a[r.p]==n,a||i?(h=t,this.a.c==(bd(),Aw)?(a&&(h=Use(this,n,!0)),!isNaN(h)&&!isFinite(h)&&i&&(h=Use(this,r,!1))):(a&&(h=Use(this,n,!0)),!isNaN(h)&&!isFinite(h)&&i&&(h=Use(this,r,!1))),h):t},l.cg=function(){for(var t,n,r,i,a;this.d.b!=0;)a=u(rZt(this.d),579),i=gct(this,a),i.a&&(t=i.a,r=Bt(this.a.f[this.a.g[a.b.p].p]),!(!r&&!no(t)&&t.c.i.c==t.d.i.c)&&(n=kat(this,a),n||Gqt(this.e,a)));for(;this.e.a.c.length!=0;)kat(this,u(Dtt(this.e),579))},O(Jp,"ThresholdStrategy/SimpleThresholdStrategy",1764),M(635,1,{635:1,246:1,234:1},tQ),l.Kf=function(){return Het(this)},l.Xf=function(){return Het(this)};var Ule;O(zoe,"EdgeRouterFactory",635),M(1458,1,Wc,od),l.Yf=function(t){return h0n(u(t,37))},l.pf=function(t,n){m2n(u(t,37),n)};var $vt,Hvt,zvt,Gvt,qvt,u_e,Vvt,Uvt;O(zoe,"OrthogonalEdgeRouter",1458),M(1451,1,Wc,jGe),l.Yf=function(t){return Pcn(u(t,37))},l.pf=function(t,n){jvn(this,u(t,37),n)};var Kvt,Wvt,Yvt,Xvt,gO,Qvt;O(zoe,"PolylineEdgeRouter",1451),M(1452,1,kd,nQ),l.Lb=function(t){return _me(u(t,10))},l.Fb=function(t){return this===t},l.Mb=function(t){return _me(u(t,10))},O(zoe,"PolylineEdgeRouter/1",1452),M(1809,1,gi,rQ),l.Mb=function(t){return u(t,129).c==(Xf(),u2)},O(i1,"HyperEdgeCycleDetector/lambda$0$Type",1809),M(1810,1,{},iQ),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$1$Type",1810),M(1811,1,gi,sQ),l.Mb=function(t){return u(t,129).c==(Xf(),u2)},O(i1,"HyperEdgeCycleDetector/lambda$2$Type",1811),M(1812,1,{},G5),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$3$Type",1812),M(1813,1,{},aQ),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$4$Type",1813),M(1814,1,{},oQ),l.Ge=function(t){return u(t,129).d},O(i1,"HyperEdgeCycleDetector/lambda$5$Type",1814),M(112,1,{35:1,112:1},uD),l.wd=function(t){return HGt(this,u(t,112))},l.Fb=function(t){var n;return me(t,112)?(n=u(t,112),this.g==n.g):!1},l.Hb=function(){return this.g},l.Ib=function(){var t,n,r,i;for(t=new jl("{"),i=new C(this.n);i.a"+this.b+" ("+ZVt(this.c)+")"},l.d=0,O(i1,"HyperEdgeSegmentDependency",129),M(520,22,{3:1,35:1,22:1,520:1},Qpe);var u2,Fy,Zvt=Gr(i1,"HyperEdgeSegmentDependency/DependencyType",520,Kr,jQt,iWt),Jvt;M(1815,1,{},zRe),O(i1,"HyperEdgeSegmentSplitter",1815),M(1816,1,{},mHe),l.a=0,l.b=0,O(i1,"HyperEdgeSegmentSplitter/AreaRating",1816),M(329,1,{329:1},Ute),l.a=0,l.b=0,l.c=0,O(i1,"HyperEdgeSegmentSplitter/FreeArea",329),M(1817,1,Ri,gQ),l.ue=function(t,n){return WUt(u(t,112),u(n,112))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(i1,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),M(1818,1,Vn,OWe),l.td=function(t){JJt(this.a,this.d,this.c,this.b,u(t,112))},l.b=0,O(i1,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),M(1819,1,{},pQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).e,16))},O(i1,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),M(1820,1,{},bQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).j,16))},O(i1,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),M(1821,1,{},vQ),l.Fe=function(t){return We(gt(t))},O(i1,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),M(655,1,{},bne),l.a=0,l.b=0,l.c=0,O(i1,"OrthogonalRoutingGenerator",655),M(1638,1,{},wQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).e,16))},O(i1,"OrthogonalRoutingGenerator/lambda$0$Type",1638),M(1639,1,{},mQ),l.Kb=function(t){return new mn(null,new kn(u(t,112).j,16))},O(i1,"OrthogonalRoutingGenerator/lambda$1$Type",1639),M(661,1,{}),O(Goe,"BaseRoutingDirectionStrategy",661),M(1807,661,{},E$e),l.dg=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!(t.r&&!t.q))for(L=n+t.o*r,T=new C(t.n);T.aEd&&(h=L,a=t,i=new Ft(P,h),oi(d.a,i),nw(this,d,a,i,!1),z=t.r,z&&(q=We(gt(n1(z.e,0))),i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1),h=n+z.o*r,a=z,i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1)),i=new Ft(Q,h),oi(d.a,i),nw(this,d,a,i,!1)))},l.eg=function(t){return t.i.n.a+t.n.a+t.a.a},l.fg=function(){return dt(),Tr},l.gg=function(){return dt(),Ln},O(Goe,"NorthToSouthRoutingStrategy",1807),M(1808,661,{},T$e),l.dg=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!(t.r&&!t.q))for(L=n-t.o*r,T=new C(t.n);T.aEd&&(h=L,a=t,i=new Ft(P,h),oi(d.a,i),nw(this,d,a,i,!1),z=t.r,z&&(q=We(gt(n1(z.e,0))),i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1),h=n-z.o*r,a=z,i=new Ft(q,h),oi(d.a,i),nw(this,d,a,i,!1)),i=new Ft(Q,h),oi(d.a,i),nw(this,d,a,i,!1)))},l.eg=function(t){return t.i.n.a+t.n.a+t.a.a},l.fg=function(){return dt(),Ln},l.gg=function(){return dt(),Tr},O(Goe,"SouthToNorthRoutingStrategy",1808),M(1806,661,{},_$e),l.dg=function(t,n,r){var i,a,h,d,v,x,T,L,P,z,q,K,Q;if(!(t.r&&!t.q))for(L=n+t.o*r,T=new C(t.n);T.aEd&&(h=L,a=t,i=new Ft(h,P),oi(d.a,i),nw(this,d,a,i,!0),z=t.r,z&&(q=We(gt(n1(z.e,0))),i=new Ft(h,q),oi(d.a,i),nw(this,d,a,i,!0),h=n+z.o*r,a=z,i=new Ft(h,q),oi(d.a,i),nw(this,d,a,i,!0)),i=new Ft(h,Q),oi(d.a,i),nw(this,d,a,i,!0)))},l.eg=function(t){return t.i.n.b+t.n.b+t.a.b},l.fg=function(){return dt(),$n},l.gg=function(){return dt(),On},O(Goe,"WestToEastRoutingStrategy",1806),M(813,1,{},v5e),l.Ib=function(){return Vp(this.a)},l.b=0,l.c=!1,l.d=!1,l.f=0,O(py,"NubSpline",813),M(407,1,{407:1},Xat,dYe),O(py,"NubSpline/PolarCP",407),M(1453,1,Wc,jrt),l.Yf=function(t){return Tun(u(t,37))},l.pf=function(t,n){iwn(this,u(t,37),n)};var ewt,twt,nwt,rwt,iwt;O(py,"SplineEdgeRouter",1453),M(268,1,{268:1},n$),l.Ib=function(){return this.a+" ->("+this.c+") "+this.b},l.c=0,O(py,"SplineEdgeRouter/Dependency",268),M(455,22,{3:1,35:1,22:1,455:1},Zpe);var l2,K4,swt=Gr(py,"SplineEdgeRouter/SideToProcess",455,Kr,zQt,sWt),awt;M(1454,1,gi,dQ),l.Mb=function(t){return J_(),!u(t,128).o},O(py,"SplineEdgeRouter/lambda$0$Type",1454),M(1455,1,{},fQ),l.Ge=function(t){return J_(),u(t,128).v+1},O(py,"SplineEdgeRouter/lambda$1$Type",1455),M(1456,1,Vn,gGe),l.td=function(t){pYt(this.a,this.b,u(t,46))},O(py,"SplineEdgeRouter/lambda$2$Type",1456),M(1457,1,Vn,pGe),l.td=function(t){bYt(this.a,this.b,u(t,46))},O(py,"SplineEdgeRouter/lambda$3$Type",1457),M(128,1,{35:1,128:1},dst,E5e),l.wd=function(t){return zGt(this,u(t,128))},l.b=0,l.e=!1,l.f=0,l.g=0,l.j=!1,l.k=!1,l.n=0,l.o=!1,l.p=!1,l.q=!1,l.s=0,l.u=0,l.v=0,l.F=0,O(py,"SplineSegment",128),M(459,1,{459:1},A9),l.a=0,l.b=!1,l.c=!1,l.d=!1,l.e=!1,l.f=0,O(py,"SplineSegment/EdgeInformation",459),M(1234,1,{},cQ),O(_C,w6e,1234),M(1235,1,Ri,uQ),l.ue=function(t,n){return Zhn(u(t,135),u(n,135))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(_C,Qlt,1235),M(1233,1,{},PHe),O(_C,"MrTree",1233),M(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},kR),l.Kf=function(){return Rst(this)},l.Xf=function(){return Rst(this)};var Uq,wS,pO,mS,l_e=Gr(_C,"TreeLayoutPhases",393,Kr,NJt,aWt),owt;M(1130,209,bb,tUe),l.Ze=function(t,n){var r,i,a,h,d,v,x;for(Bt(Nt(jt(t,(tw(),b_e))))||Rj((r=new ar((xm(),new wm(t))),r)),d=(v=new r$,$o(v,t),Qe(v,(xc(),xS),t),x=new Ar,Ggn(t,v,x),apn(t,v,x),v),h=Jgn(this.a,d),a=new C(h);a.a"+Vj(this.c):"e_"+Yi(this)},O(CC,"TEdge",188),M(135,134,{3:1,135:1,94:1,134:1},r$),l.Ib=function(){var t,n,r,i,a;for(a=null,i=si(this.b,0);i.b!=i.d.c;)r=u(ii(i),86),a+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+` +`;for(n=si(this.a,0);n.b!=n.d.c;)t=u(ii(n),188),a+=(t.b&&t.c?Vj(t.b)+"->"+Vj(t.c):"e_"+Yi(t))+` +`;return a};var lmn=O(CC,"TGraph",135);M(633,502,{3:1,502:1,633:1,94:1,134:1}),O(CC,"TShape",633),M(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Ure),l.Ib=function(){return Vj(this)};var hmn=O(CC,"TNode",86);M(255,1,t0,mp),l.Jc=function(t){Da(this,t)},l.Kc=function(){var t;return t=si(this.a.d,0),new u6(t)},O(CC,"TNode/2",255),M(358,1,ba,u6),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(ii(this.a),188).c},l.Ob=function(){return QF(this.a)},l.Qb=function(){w$(this.a)},O(CC,"TNode/2/1",358),M(1840,1,bs,eUe),l.pf=function(t,n){xpn(this,u(t,135),n)},O(gk,"FanProcessor",1840),M(327,22,{3:1,35:1,22:1,327:1,234:1},FT),l.Kf=function(){switch(this.g){case 0:return new $$e;case 1:return new eUe;case 2:return new q5;case 3:return new yQ;case 4:return new xQ;case 5:return new dL;default:throw ee(new Dn(uoe+(this.f!=null?this.f:""+this.g)))}};var Kle,Wle,Yle,Xle,Qle,Kq,cwt=Gr(gk,L6e,327,Kr,Xen,oWt),uwt;M(1843,1,bs,yQ),l.pf=function(t,n){i1n(this,u(t,135),n)},l.a=0,O(gk,"LevelHeightProcessor",1843),M(1844,1,t0,kQ),l.Jc=function(t){Da(this,t)},l.Kc=function(){return fn(),K8(),z7},O(gk,"LevelHeightProcessor/1",1844),M(1841,1,bs,q5),l.pf=function(t,n){hhn(this,u(t,135),n)},l.a=0,O(gk,"NeighborsProcessor",1841),M(1842,1,t0,pB),l.Jc=function(t){Da(this,t)},l.Kc=function(){return fn(),K8(),z7},O(gk,"NeighborsProcessor/1",1842),M(1845,1,bs,xQ),l.pf=function(t,n){r1n(this,u(t,135),n)},l.a=0,O(gk,"NodePositionProcessor",1845),M(1839,1,bs,$$e),l.pf=function(t,n){L2n(this,u(t,135))},O(gk,"RootProcessor",1839),M(1846,1,bs,dL),l.pf=function(t,n){Rin(u(t,135))},O(gk,"Untreeifyer",1846);var bO,yS,lwt,Zle,Wq,kS,Jle,Yq,Xq,fE,xS,Qq,Hg,h_e,hwt,ehe,Ry,the,f_e;M(851,1,$h,k3),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Wke),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),g_e),(Dg(),ws)),k_e),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Yke),""),"Search Order"),"Which search order to use when computing a spanning tree."),d_e),ws),E_e),sn(jn)))),lut((new AL,t))};var fwt,d_e,dwt,g_e;O(Hz,"MrTreeMetaDataProvider",851),M(994,1,$h,AL),l.Qe=function(t){lut(t)};var gwt,p_e,pwt,bwt,vwt,wwt,b_e,mwt,v_e,ywt,Zq,w_e,kwt,m_e,xwt;O(Hz,"MrTreeOptions",994),M(995,1,{},EQ),l.$e=function(){var t;return t=new tUe,t},l._e=function(t){},O(Hz,"MrTreeOptions/MrtreeFactory",995),M(480,22,{3:1,35:1,22:1,480:1},Jpe);var nhe,y_e,k_e=Gr(Hz,"OrderWeighting",480,Kr,qQt,cWt),Ewt;M(425,22,{3:1,35:1,22:1,425:1},e2e);var x_e,rhe,E_e=Gr(Hz,"TreeifyingOrder",425,Kr,GQt,lWt),Twt;M(1459,1,Wc,SL),l.Yf=function(t){return u(t,135),_wt},l.pf=function(t,n){Fnn(this,u(t,135),n)};var _wt;O("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),M(1460,1,Wc,_J),l.Yf=function(t){return u(t,135),Cwt},l.pf=function(t,n){khn(this,u(t,135),n)};var Cwt;O("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),M(1461,1,Wc,TJ),l.Yf=function(t){return u(t,135),Swt},l.pf=function(t,n){R0n(this,u(t,135),n)},l.a=0;var Swt;O("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),M(1462,1,Wc,uF),l.Yf=function(t){return u(t,135),Awt},l.pf=function(t,n){lcn(u(t,135),n)};var Awt;O("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462);var ES;M(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},t2e),l.Kf=function(){return bnt(this)},l.Xf=function(){return bnt(this)};var Jq,dE,T_e=Gr(Xke,"RadialLayoutPhases",495,Kr,VQt,uWt),Lwt;M(1131,209,bb,NHe),l.Ze=function(t,n){var r,i,a,h,d,v;if(r=mst(this,t),Er(n,"Radial layout",r.c.length),Bt(Nt(jt(t,(Qm(),N_e))))||Rj((i=new ar((xm(),new wm(t))),i)),v=Sun(t),So(t,(JT(),ES),v),!v)throw ee(new Dn("The given graph is not a tree!"));for(a=We(gt(jt(t,nV))),a==0&&(a=Ost(t)),So(t,nV,a),d=new C(mst(this,t));d.a0&&Htt((zr(n-1,t.length),t.charCodeAt(n-1)),cht);)--n;if(i>=n)throw ee(new Dn("The given string does not contain any numbers."));if(a=ay(t.substr(i,n-i),`,|;|\r| +`),a.length!=2)throw ee(new Dn("Exactly two numbers are expected, "+a.length+" were found."));try{this.a=ty(ey(a[0])),this.b=ty(ey(a[1]))}catch(h){throw h=ts(h),me(h,127)?(r=h,ee(new Dn(uht+r))):ee(h)}},l.Ib=function(){return"("+this.a+","+this.b+")"},l.a=0,l.b=0;var ea=O(xI,"KVector",8);M(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},$u,YF,EVe),l.Pc=function(){return Xrn(this)},l.Jf=function(t){var n,r,i,a,h,d;i=ay(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),Ph(this);try{for(r=0,h=0,a=0,d=0;r0&&(h%2==0?a=ty(i[r]):d=ty(i[r]),h>0&&h%2!=0&&oi(this,new Ft(a,d)),++h),++r}catch(v){throw v=ts(v),me(v,127)?(n=v,ee(new Dn("The given string does not match the expected format for vectors."+n))):ee(v)}},l.Ib=function(){var t,n,r;for(t=new jl("("),n=si(this,0);n.b!=n.d.c;)r=u(ii(n),8),Yr(t,r.a+","+r.b),n.b!=n.d.c&&(t.a+="; ");return(t.a+=")",t).a};var OCe=O(xI,"KVectorChain",74);M(248,22,{3:1,35:1,22:1,248:1},RT);var The,uV,lV,yO,kO,hV,NCe=Gr(zh,"Alignment",248,Kr,qen,SWt),Wmt;M(979,1,$h,AJ),l.Qe=function(t){sct(t)};var PCe,_he,Ymt,BCe,FCe,Xmt,RCe,Qmt,Zmt,jCe,$Ce,Jmt;O(zh,"BoxLayouterOptions",979),M(980,1,{},sZ),l.$e=function(){var t;return t=new hZ,t},l._e=function(t){},O(zh,"BoxLayouterOptions/BoxFactory",980),M(291,22,{3:1,35:1,22:1,291:1},jT);var xO,Che,EO,TO,_O,She,Ahe=Gr(zh,"ContentAlignment",291,Kr,Gen,AWt),eyt;M(684,1,$h,gp),l.Qe=function(t){tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,ift),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Dg(),gE)),Et),sn((t1(),jn))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,sft),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),W1),gmn),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Cke),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),HCe),ws),NCe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,uk),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,y8e),""),"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."),W1),OCe),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Fz),""),"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."),GCe),Ik),Ahe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,AI),""),"Debug Mode"),"Whether additional debug information shall be generated."),(In(),!1)),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Lke),""),u6e),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),qCe),ws),MS),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,CI),""),"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."),KCe),ws),Hhe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Gz),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Bz),""),"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`."),QCe),ws),BSe),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,cw),""),"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."),oSe),W1),z7e),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,yI),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Hoe),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,mC),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,aoe),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),fSe),ws),jSe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Rz),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),W1),ea),Vi(ua,ie(ne(Gg,1),rt,175,0,[Ob,zg]))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,mI),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Tc),Ja),Vi(ua,ie(ne(Gg,1),rt,175,0,[Nd]))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,wz),""),"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)."),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,wC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Rke),""),"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."),JCe),W1),OCe),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Hke),""),"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),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,zke),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,zwn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),W1),mmn),Vi(jn,ie(ne(Gg,1),rt,175,0,[zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,qke),""),"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."),eSe),W1),H7e),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Tke),""),"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),qa),Vs),Vi(ua,ie(ne(Gg,1),rt,175,0,[Nd,Ob,zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,aft),""),"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),Go),ka),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,oft),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,cft),""),"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'."),lt(100)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,uft),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,lft),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),lt(4e3)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,hft),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),lt(400)),Tc),Ja),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,fft),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,dft),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,gft),""),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,pft),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,m8e),"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."),zCe),ws),VSe),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,fke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,dke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,eoe),z1),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,gke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,soe),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,pke),z1),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,bke),z1),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,mke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,vke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,wke),z1),"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),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,dy),z1),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,yke),z1),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Go),ka),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,kke),z1),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Go),ka),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,xke),z1),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),W1),Pyt),Vi(ua,ie(ne(Gg,1),rt,175,0,[Nd,Ob,zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Vke),z1),"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."),xSe),W1),H7e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,$oe),wft),"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)."),Tc),Ja),Vi(jn,ie(ne(Gg,1),rt,175,0,[ua]))))),ma(t,$oe,joe,cyt),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,joe),wft),"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."),cSe),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Mke),mft),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),nSe),W1),z7e),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,A7),mft),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),rSe),Ik),xo),Vi(ua,ie(ne(Gg,1),rt,175,0,[zg]))))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Oke),Vz),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),lSe),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Nke),Vz),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Pke),Vz),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Bke),Vz),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Fke),Vz),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ws),NS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,k4),ace),"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."),iSe),Ik),FS),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,lk),ace),"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."),aSe),Ik),HSe),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,hk),ace),"Node Size Minimum"),"The minimal size to which a node can be reduced."),sSe),W1),ea),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Roe),ace),"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),qa),Vs),sn(jn)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,jke),Foe),"Edge Label Placement"),"Gives a hint on where to put edge labels."),VCe),ws),TSe),sn(zg)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,mz),Foe),"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),qa),Vs),sn(zg)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Gwn),"font"),"Font Name"),"Font name used for a label."),gE),Et),sn(zg)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,bft),"font"),"Font Size"),"Font size used for a label."),Tc),Ja),sn(zg)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Gke),oce),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),W1),ea),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,$ke),oce),"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."),Tc),Ja),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,_ke),oce),"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."),pSe),ws),oo),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(Wt(Qt(Yt(Xt(new zt,Eke),oce),"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."),Go),ka),sn(Ob)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,L7),k8e),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),dSe),Ik),mV),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Dke),k8e),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ike),k8e),"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),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ske),yft),"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),qa),Vs),sn(ua)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,Ake),yft),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),qa),Vs),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,toe),"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),Go),ka),sn(Nd)))),tn(t,new Vt(Jt(Zt(en(vn(Wt(Qt(Yt(Xt(new zt,vft),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),YCe),ws),MSe),sn(Nd)))),ST(t,new N6(kT(G8(z8(new um,qn),"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.'))),ST(t,new N6(kT(G8(z8(new um,"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.`))),ST(t,new N6(kT(G8(z8(new um,Xl),"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."))),ST(t,new N6(kT(G8(z8(new um,"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."))),ST(t,new N6(kT(G8(z8(new um,qht),"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."))),ST(t,new N6(kT(G8(z8(new um,"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."))),ST(t,new N6(kT(G8(z8(new um,Sd),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),qot((new pF,t)),sct((new AJ,t)),yot((new bF,t))};var AS,tyt,HCe,Ok,nyt,ryt,zCe,iyt,fV,GCe,CO,Lw,qCe,Lhe,Mhe,VCe,UCe,KCe,WCe,YCe,XCe,Y4,QCe,syt,SO,Dhe,dV,ZCe,X4,JCe,AO,eSe,tSe,nSe,Q4,rSe,Nb,iSe,gV,Z4,sSe,h2,aSe,pV,LO,Pb,oSe,ayt,cSe,oyt,cyt,uSe,lSe,Ihe,Ohe,Nhe,Phe,hSe,kl,LS,fSe,Bhe,Fhe,jy,dSe,gSe,J4,pSe,Nk,bV,Rhe,pE,uyt,jhe,lyt,hyt,bSe,fyt,vSe,dyt,Pk,wSe,vV,mSe,ySe,Bb,gyt,kSe,xSe,ESe;O(zh,"CoreOptions",684),M(103,22,{3:1,35:1,22:1,103:1},uM);var Y0,Wh,Lf,u0,X0,MS=Gr(zh,u6e,103,Kr,fen,DWt),pyt;M(272,22,{3:1,35:1,22:1,272:1},dte);var bE,$y,vE,TSe=Gr(zh,"EdgeLabelPlacement",272,Kr,UZt,IWt),byt;M(218,22,{3:1,35:1,22:1,218:1},ER);var wE,MO,Bk,$he,Hhe=Gr(zh,"EdgeRouting",218,Kr,RJt,OWt),vyt;M(312,22,{3:1,35:1,22:1,312:1},$T);var _Se,CSe,SSe,ASe,zhe,LSe,MSe=Gr(zh,"EdgeType",312,Kr,Zen,NWt),wyt;M(977,1,$h,pF),l.Qe=function(t){qot(t)};var DSe,ISe,OSe,NSe,myt,PSe,DS;O(zh,"FixedLayouterOptions",977),M(978,1,{},vL),l.$e=function(){var t;return t=new uZ,t},l._e=function(t){},O(zh,"FixedLayouterOptions/FixedFactory",978),M(334,22,{3:1,35:1,22:1,334:1},gte);var qg,wV,IS,BSe=Gr(zh,"HierarchyHandling",334,Kr,VZt,PWt),yyt;M(285,22,{3:1,35:1,22:1,285:1},TR);var l0,f2,DO,IO,kyt=Gr(zh,"LabelSide",285,Kr,FJt,BWt),xyt;M(93,22,{3:1,35:1,22:1,93:1},I3);var Q0,Mf,Yh,Df,eh,If,Xh,h0,Of,xo=Gr(zh,"NodeLabelPlacement",93,Kr,tnn,FWt),Eyt;M(249,22,{3:1,35:1,22:1,249:1},lM);var FSe,OS,d2,RSe,OO,NS=Gr(zh,"PortAlignment",249,Kr,den,RWt),Tyt;M(98,22,{3:1,35:1,22:1,98:1},HT);var Fb,Zc,f0,mE,Y1,g2,jSe=Gr(zh,"PortConstraints",98,Kr,Pen,jWt),_yt;M(273,22,{3:1,35:1,22:1,273:1},zT);var PS,BS,Z0,NO,p2,Fk,mV=Gr(zh,"PortLabelPlacement",273,Kr,Qen,$Wt),Cyt;M(61,22,{3:1,35:1,22:1,61:1},hM);var $n,Ln,_h,Ch,Ou,gu,X1,Nf,ul,Xu,Jc,ll,Nu,Pu,Pf,th,nh,Qh,Tr,cc,On,oo=Gr(zh,"PortSide",61,Kr,uen,GWt),Syt;M(981,1,$h,bF),l.Qe=function(t){yot(t)};var Ayt,Lyt,$Se,Myt,Dyt;O(zh,"RandomLayouterOptions",981),M(982,1,{},pZ),l.$e=function(){var t;return t=new vZ,t},l._e=function(t){},O(zh,"RandomLayouterOptions/RandomFactory",982),M(374,22,{3:1,35:1,22:1,374:1},_R);var Hy,PO,BO,Rb,FS=Gr(zh,"SizeConstraint",374,Kr,BJt,HWt),Iyt;M(259,22,{3:1,35:1,22:1,259:1},O3);var FO,yV,yE,Ghe,RO,RS,kV,xV,EV,HSe=Gr(zh,"SizeOptions",259,Kr,cnn,zWt),Oyt;M(370,1,{1949:1},j8),l.b=!1,l.c=0,l.d=-1,l.e=null,l.f=null,l.g=-1,l.j=!1,l.k=!1,l.n=!1,l.o=0,l.q=0,l.r=0,O(Ic,"BasicProgressMonitor",370),M(972,209,bb,hZ),l.Ze=function(t,n){var r,i,a,h,d,v,x,T,L;switch(Er(n,"Box layout",2),a=qL(gt(jt(t,(MH(),Jmt)))),h=u(jt(t,Zmt),116),r=Bt(Nt(jt(t,BCe))),i=Bt(Nt(jt(t,FCe))),u(jt(t,_he),311).g){case 0:d=(v=new Gu((!t.a&&(t.a=new ot(fs,t,10,11)),t.a)),fn(),aa(v,new eje(i)),v),x=n4e(t),T=gt(jt(t,PCe)),(T==null||(An(T),T<=0))&&(T=1.3),L=Kvn(d,a,h,x.a,x.b,r,(An(T),T)),iw(t,L.a,L.b,!1,!0);break;default:G2n(t,a,h,r)}lr(n)},O(Ic,"BoxLayoutProvider",972),M(973,1,Ri,eje),l.ue=function(t,n){return hdn(this,u(t,33),u(n,33))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},l.a=!1,O(Ic,"BoxLayoutProvider/1",973),M(157,1,{157:1},k$,xVe),l.Ib=function(){return this.c?t5e(this.c):Vp(this.b)},O(Ic,"BoxLayoutProvider/Group",157),M(311,22,{3:1,35:1,22:1,311:1},CR);var zSe,GSe,qSe,qhe,VSe=Gr(Ic,"BoxLayoutProvider/PackingMode",311,Kr,jJt,qWt),Nyt;M(974,1,Ri,fZ),l.ue=function(t,n){return gQt(u(t,157),u(n,157))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ic,"BoxLayoutProvider/lambda$0$Type",974),M(975,1,Ri,EB),l.ue=function(t,n){return oQt(u(t,157),u(n,157))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ic,"BoxLayoutProvider/lambda$1$Type",975),M(976,1,Ri,dZ),l.ue=function(t,n){return cQt(u(t,157),u(n,157))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(Ic,"BoxLayoutProvider/lambda$2$Type",976),M(1365,1,{831:1},gZ),l.qg=function(t,n){return oR(),!me(n,160)||IHe((q6(),u(t,160)),n)},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),M(1366,1,Vn,tje),l.td=function(t){Zrn(this.a,u(t,146))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),M(1367,1,Vn,lZ),l.td=function(t){u(t,94),oR()},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),M(1371,1,Vn,nje),l.td=function(t){Enn(this.a,u(t,94))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),M(1369,1,gi,wGe),l.Mb=function(t){return Rrn(this.a,this.b,u(t,146))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),M(1368,1,gi,mGe),l.Mb=function(t){return tUt(this.a,this.b,u(t,831))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),M(1370,1,Vn,yGe),l.td=function(t){tXt(this.a,this.b,u(t,146))},O(Ic,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),M(935,1,{},cZ),l.Kb=function(t){return yqe(t)},l.Fb=function(t){return this===t},O(Ic,"ElkUtil/lambda$0$Type",935),M(936,1,Vn,kGe),l.td=function(t){dfn(this.a,this.b,u(t,79))},l.a=0,l.b=0,O(Ic,"ElkUtil/lambda$1$Type",936),M(937,1,Vn,xGe),l.td=function(t){dGt(this.a,this.b,u(t,202))},l.a=0,l.b=0,O(Ic,"ElkUtil/lambda$2$Type",937),M(938,1,Vn,EGe),l.td=function(t){iVt(this.a,this.b,u(t,137))},l.a=0,l.b=0,O(Ic,"ElkUtil/lambda$3$Type",938),M(939,1,Vn,rje),l.td=function(t){vYt(this.a,u(t,469))},O(Ic,"ElkUtil/lambda$4$Type",939),M(342,1,{35:1,342:1},Gzt),l.wd=function(t){return IVt(this,u(t,236))},l.Fb=function(t){var n;return me(t,342)?(n=u(t,342),this.a==n.a):!1},l.Hb=function(){return _s(this.a)},l.Ib=function(){return this.a+" (exclusive)"},l.a=0,O(Ic,"ExclusiveBounds/ExclusiveLowerBound",342),M(1138,209,bb,uZ),l.Ze=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se,Te,Ne,Ke,it,kt,Gt,Ut;for(Er(n,"Fixed Layout",1),h=u(jt(t,(di(),UCe)),218),P=0,z=0,Te=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));Te.e!=Te.i.gc();){for(ue=u(br(Te),33),Ut=u(jt(ue,(V$(),DS)),8),Ut&&(_1(ue,Ut.a,Ut.b),u(jt(ue,ISe),174).Hc((Nl(),Hy))&&(q=u(jt(ue,NSe),8),q.a>0&&q.b>0&&iw(ue,q.a,q.b,!0,!0))),P=b.Math.max(P,ue.i+ue.g),z=b.Math.max(z,ue.j+ue.f),T=new ir((!ue.n&&(ue.n=new ot(Qo,ue,1,7)),ue.n));T.e!=T.i.gc();)v=u(br(T),137),Ut=u(jt(v,DS),8),Ut&&_1(v,Ut.a,Ut.b),P=b.Math.max(P,ue.i+v.i+v.g),z=b.Math.max(z,ue.j+v.j+v.f);for(it=new ir((!ue.c&&(ue.c=new ot(xl,ue,9,9)),ue.c));it.e!=it.i.gc();)for(Ke=u(br(it),118),Ut=u(jt(Ke,DS),8),Ut&&_1(Ke,Ut.a,Ut.b),kt=ue.i+Ke.i,Gt=ue.j+Ke.j,P=b.Math.max(P,kt+Ke.g),z=b.Math.max(z,Gt+Ke.f),x=new ir((!Ke.n&&(Ke.n=new ot(Qo,Ke,1,7)),Ke.n));x.e!=x.i.gc();)v=u(br(x),137),Ut=u(jt(v,DS),8),Ut&&_1(v,Ut.a,Ut.b),P=b.Math.max(P,kt+v.i+v.g),z=b.Math.max(z,Gt+v.j+v.f);for(a=new ur(dr(z0(ue).a.Kc(),new V));Vr(a);)r=u(Nr(a),79),L=Put(r),P=b.Math.max(P,L.a),z=b.Math.max(z,L.b);for(i=new ur(dr(UD(ue).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),ls(Jd(r))!=t&&(L=Put(r),P=b.Math.max(P,L.a),z=b.Math.max(z,L.b))}if(h==($0(),wE))for(Se=new ir((!t.a&&(t.a=new ot(fs,t,10,11)),t.a));Se.e!=Se.i.gc();)for(ue=u(br(Se),33),i=new ur(dr(z0(ue).a.Kc(),new V));Vr(i);)r=u(Nr(i),79),d=lpn(r),d.b==0?So(r,X4,null):So(r,X4,d);Bt(Nt(jt(t,(V$(),OSe))))||(Ne=u(jt(t,myt),116),Q=P+Ne.b+Ne.c,K=z+Ne.d+Ne.a,iw(t,Q,K,!0,!0)),lr(n)},O(Ic,"FixedLayoutProvider",1138),M(373,134,{3:1,414:1,373:1,94:1,134:1},nl,XZe),l.Jf=function(t){var n,r,i,a,h,d,v,x,T;if(t)try{for(x=ay(t,";,;"),h=x,d=0,v=h.length;d>16&Ss|n^i<<16},l.Kc=function(){return new ije(this)},l.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Yo(this.b)+")":this.b==null?"pair("+Yo(this.a)+",null)":"pair("+Yo(this.a)+","+Yo(this.b)+")"},O(Ic,"Pair",46),M(983,1,ba,ije),l.Nb=function(t){La(this,t)},l.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},l.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 ee(new yc)},l.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),ee(new ju)},l.b=!1,l.c=!1,O(Ic,"Pair/1",983),M(448,1,{448:1},NWe),l.Fb=function(t){return zc(this.a,u(t,448).a)&&zc(this.c,u(t,448).c)&&zc(this.d,u(t,448).d)&&zc(this.b,u(t,448).b)},l.Hb=function(){return U$(ie(ne(Xn,1),_t,1,5,[this.a,this.c,this.d,this.b]))},l.Ib=function(){return"("+this.a+so+this.c+so+this.d+so+this.b+")"},O(Ic,"Quadruple",448),M(1126,209,bb,vZ),l.Ze=function(t,n){var r,i,a,h,d;if(Er(n,"Random Layout",1),(!t.a&&(t.a=new ot(fs,t,10,11)),t.a).i==0){lr(n);return}h=u(jt(t,(Iye(),Myt)),19),h&&h.a!=0?a=new Jj(h.a):a=new die,r=qL(gt(jt(t,Ayt))),d=qL(gt(jt(t,Dyt))),i=u(jt(t,Lyt),116),Tvn(t,a,r,d,i),lr(n)},O(Ic,"RandomLayoutProvider",1126);var Ryt;M(553,1,{}),l.qf=function(){return new Ft(this.f.i,this.f.j)},l.We=function(t){return aYe(t,(di(),kl))?jt(this.f,jyt):jt(this.f,t)},l.rf=function(){return new Ft(this.f.g,this.f.f)},l.sf=function(){return this.g},l.Xe=function(t){return X2(this.f,t)},l.tf=function(t){Au(this.f,t.a),Lu(this.f,t.b)},l.uf=function(t){Hv(this.f,t.a),$v(this.f,t.b)},l.vf=function(t){this.g=t},l.g=0;var jyt;O(LC,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),M(554,1,{839:1},PF),l.wf=function(){var t,n;if(!this.b)for(this.b=Yj(Sj(this.a).i),n=new ir(Sj(this.a));n.e!=n.i.gc();)t=u(br(n),137),st(this.b,new Mee(t));return this.b},l.b=null,O(LC,"ElkGraphAdapters/ElkEdgeAdapter",554),M(301,553,{},wm),l.xf=function(){return Brt(this)},l.a=null,O(LC,"ElkGraphAdapters/ElkGraphAdapter",301),M(630,553,{181:1},Mee),O(LC,"ElkGraphAdapters/ElkLabelAdapter",630),M(629,553,{680:1},Lte),l.wf=function(){return Con(this)},l.Af=function(){var t;return t=u(jt(this.f,(di(),AO)),142),!t&&(t=new dT),t},l.Cf=function(){return Son(this)},l.Ef=function(t){var n;n=new qte(t),So(this.f,(di(),AO),n)},l.Ff=function(t){So(this.f,(di(),Pb),new Sbe(t))},l.yf=function(){return this.d},l.zf=function(){var t,n;if(!this.a)for(this.a=new at,n=new ur(dr(UD(u(this.f,33)).a.Kc(),new V));Vr(n);)t=u(Nr(n),79),st(this.a,new PF(t));return this.a},l.Bf=function(){var t,n;if(!this.c)for(this.c=new at,n=new ur(dr(z0(u(this.f,33)).a.Kc(),new V));Vr(n);)t=u(Nr(n),79),st(this.c,new PF(t));return this.c},l.Df=function(){return Oj(u(this.f,33)).i!=0||Bt(Nt(u(this.f,33).We((di(),SO))))},l.Gf=function(){vtn(this,(xm(),Ryt))},l.a=null,l.b=null,l.c=null,l.d=null,l.e=null,O(LC,"ElkGraphAdapters/ElkNodeAdapter",629),M(1266,553,{838:1},Oje),l.wf=function(){return Pon(this)},l.zf=function(){var t,n;if(!this.a)for(this.a=qd(u(this.f,118).xg().i),n=new ir(u(this.f,118).xg());n.e!=n.i.gc();)t=u(br(n),79),st(this.a,new PF(t));return this.a},l.Bf=function(){var t,n;if(!this.c)for(this.c=qd(u(this.f,118).yg().i),n=new ir(u(this.f,118).yg());n.e!=n.i.gc();)t=u(br(n),79),st(this.c,new PF(t));return this.c},l.Hf=function(){return u(u(this.f,118).We((di(),J4)),61)},l.If=function(){var t,n,r,i,a,h,d,v;for(i=A1(u(this.f,118)),r=new ir(u(this.f,118).yg());r.e!=r.i.gc();)for(t=u(br(r),79),v=new ir((!t.c&&(t.c=new yn(kr,t,5,8)),t.c));v.e!=v.i.gc();){if(d=u(br(v),82),Gm(Ho(d),i))return!0;if(Ho(d)==i&&Bt(Nt(jt(t,(di(),Dhe)))))return!0}for(n=new ir(u(this.f,118).xg());n.e!=n.i.gc();)for(t=u(br(n),79),h=new ir((!t.b&&(t.b=new yn(kr,t,4,7)),t.b));h.e!=h.i.gc();)if(a=u(br(h),82),Gm(Ho(a),i))return!0;return!1},l.a=null,l.b=null,l.c=null,O(LC,"ElkGraphAdapters/ElkPortAdapter",1266),M(1267,1,Ri,wZ),l.ue=function(t,n){return rgn(u(t,118),u(n,118))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(LC,"ElkGraphAdapters/PortComparator",1267);var b2=rs(kh,"EObject"),kE=rs(_4,Eft),Zh=rs(_4,Tft),jO=rs(_4,_ft),$O=rs(_4,"ElkShape"),kr=rs(_4,Cft),ta=rs(_4,x8e),os=rs(_4,Sft),HO=rs(kh,Aft),jS=rs(kh,"EFactory"),$yt,Vhe=rs(kh,Lft),c1=rs(kh,"EPackage"),la,Hyt,zyt,YSe,TV,Gyt,XSe,QSe,ZSe,v2,qyt,Vyt,Qo=rs(_4,E8e),fs=rs(_4,T8e),xl=rs(_4,_8e);M(90,1,Mft),l.Jg=function(){return this.Kg(),null},l.Kg=function(){return null},l.Lg=function(){return this.Kg(),!1},l.Mg=function(){return!1},l.Ng=function(t){_i(this,t)},O(pk,"BasicNotifierImpl",90),M(97,90,Nft),l.nh=function(){return Sl(this)},l.Og=function(t,n){return t},l.Pg=function(){throw ee(new Rr)},l.Qg=function(t){var n;return n=go(u(bn(this.Tg(),this.Vg()),18)),this.eh().ih(this,n.n,n.f,t)},l.Rg=function(t,n){throw ee(new Rr)},l.Sg=function(t,n,r){return Yl(this,t,n,r)},l.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck(),t)?t:this.zh()},l.Ug=function(){return bse(this)},l.Vg=function(){throw ee(new Rr)},l.Wg=function(){var t,n;return n=this.ph().dk(),!n&&this.Pg().ik(n=(AT(),t=qve(wd(this.Tg())),t==null?Jhe:new gM(this,t))),n},l.Xg=function(t,n){return t},l.Yg=function(t){var n;return n=t.Gj(),n?t.aj():Zi(this.Tg(),t)},l.Zg=function(){var t;return t=this.Pg(),t?t.fk():null},l.$g=function(){return this.Pg()?this.Pg().ck():null},l._g=function(t,n,r){return gH(this,t,n,r)},l.ah=function(t){return kx(this,t)},l.bh=function(t,n){return ore(this,t,n)},l.dh=function(){var t;return t=this.Pg(),!!t&&t.gk()},l.eh=function(){throw ee(new Rr)},l.fh=function(){return oH(this)},l.gh=function(t,n,r,i){return W6(this,t,n,i)},l.hh=function(t,n,r){var i;return i=u(bn(this.Tg(),n),66),i.Nj().Qj(this,this.yh(),n-this.Ah(),t,r)},l.ih=function(t,n,r,i){return Fj(this,t,n,i)},l.jh=function(t,n,r){var i;return i=u(bn(this.Tg(),n),66),i.Nj().Rj(this,this.yh(),n-this.Ah(),t,r)},l.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},l.lh=function(t){return Sie(this,t)},l.mh=function(t){return EYe(this,t)},l.oh=function(t){return Xct(this,t)},l.ph=function(){throw ee(new Rr)},l.qh=function(){return this.Pg()?this.Pg().ek():null},l.rh=function(){return oH(this)},l.sh=function(t,n){hse(this,t,n)},l.th=function(t){this.ph().hk(t)},l.uh=function(t){this.ph().kk(t)},l.vh=function(t){this.ph().jk(t)},l.wh=function(t,n){var r,i,a,h;return h=this.Zg(),h&&t&&(n=Qa(h.Vk(),this,n),h.Zk(this)),i=this.eh(),i&&(Ise(this,this.eh(),this.Vg()).Bb&ao?(a=i.fh(),a&&(t?!h&&a.Zk(this):a.Yk(this))):(n=(r=this.Vg(),r>=0?this.Qg(n):this.eh().ih(this,-1-r,null,n)),n=this.Sg(null,-1,n))),this.uh(t),n},l.xh=function(t){var n,r,i,a,h,d,v,x;if(r=this.Tg(),h=Zi(r,t),n=this.Ah(),h>=n)return u(t,66).Nj().Uj(this,this.yh(),h-n);if(h<=-1)if(d=p4((Uu(),Oa),r,t),d){if(ho(),u(d,66).Oj()||(d=P6(No(Oa,d))),a=(i=this.Yg(d),u(i>=0?this._g(i,!0,!0):ew(this,d,!0),153)),x=d.Zj(),x>1||x==-1)return u(u(a,215).hl(t,!1),76)}else throw ee(new Dn(e2+t.ne()+cce));else if(t.$j())return i=this.Yg(t),u(i>=0?this._g(i,!1,!0):ew(this,t,!1),76);return v=new GGe(this,t),v},l.yh=function(){return Vwe(this)},l.zh=function(){return(Op(),Tn).S},l.Ah=function(){return Zn(this.zh())},l.Bh=function(t){ase(this,t)},l.Ib=function(){return Ef(this)},O(_n,"BasicEObjectImpl",97);var Uyt;M(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),l.Ch=function(t){var n;return n=Uwe(this),n[t]},l.Dh=function(t,n){var r;r=Uwe(this),us(r,t,n)},l.Eh=function(t){var n;n=Uwe(this),us(n,t,null)},l.Jg=function(){return u(Cn(this,4),126)},l.Kg=function(){throw ee(new Rr)},l.Lg=function(){return(this.Db&4)!=0},l.Pg=function(){throw ee(new Rr)},l.Fh=function(t){K6(this,2,t)},l.Rg=function(t,n){this.Db=n<<16|this.Db&255,this.Fh(t)},l.Tg=function(){return Tu(this)},l.Vg=function(){return this.Db>>16},l.Wg=function(){var t,n;return AT(),n=qve(wd((t=u(Cn(this,16),26),t||this.zh()))),n==null?Jhe:new gM(this,n)},l.Mg=function(){return(this.Db&1)==0},l.Zg=function(){return u(Cn(this,128),1935)},l.$g=function(){return u(Cn(this,16),26)},l.dh=function(){return(this.Db&32)!=0},l.eh=function(){return u(Cn(this,2),49)},l.kh=function(){return(this.Db&64)!=0},l.ph=function(){throw ee(new Rr)},l.qh=function(){return u(Cn(this,64),281)},l.th=function(t){K6(this,16,t)},l.uh=function(t){K6(this,128,t)},l.vh=function(t){K6(this,64,t)},l.yh=function(){return uu(this)},l.Db=0,O(_n,"MinimalEObjectImpl",114),M(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l.Fh=function(t){this.Cb=t},l.eh=function(){return this.Cb},O(_n,"MinimalEObjectImpl/Container",115),M(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return r3e(this,t,n,r)},l.jh=function(t,n,r){return V3e(this,t,n,r)},l.lh=function(t){return nwe(this,t)},l.sh=function(t,n){zme(this,t,n)},l.zh=function(){return iu(),Vyt},l.Bh=function(t){Dme(this,t)},l.Ve=function(){return rrt(this)},l.We=function(t){return jt(this,t)},l.Xe=function(t){return X2(this,t)},l.Ye=function(t,n){return So(this,t,n)},O(mb,"EMapPropertyHolderImpl",1985),M(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},hp),l._g=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return gH(this,t,n,r)},l.lh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return Sie(this,t)},l.sh=function(t,n){switch(t){case 0:x$(this,We(gt(n)));return;case 1:E$(this,We(gt(n)));return}hse(this,t,n)},l.zh=function(){return iu(),Hyt},l.Bh=function(t){switch(t){case 0:x$(this,0);return;case 1:E$(this,0);return}ase(this,t)},l.Ib=function(){var t;return this.Db&64?Ef(this):(t=new Oh(Ef(this)),t.a+=" (x: ",M3(t,this.a),t.a+=", y: ",M3(t,this.b),t.a+=")",t.a)},l.a=0,l.b=0,O(mb,"ElkBendPointImpl",567),M(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return oye(this,t,n,r)},l.hh=function(t,n,r){return ese(this,t,n,r)},l.jh=function(t,n,r){return Rre(this,t,n,r)},l.lh=function(t){return Eme(this,t)},l.sh=function(t,n){x3e(this,t,n)},l.zh=function(){return iu(),Gyt},l.Bh=function(t){rye(this,t)},l.zg=function(){return this.k},l.Ag=function(){return Sj(this)},l.Ib=function(){return hie(this)},l.k=null,O(mb,"ElkGraphElementImpl",723),M(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return vye(this,t,n,r)},l.lh=function(t){return Tye(this,t)},l.sh=function(t,n){E3e(this,t,n)},l.zh=function(){return iu(),qyt},l.Bh=function(t){Lye(this,t)},l.Bg=function(){return this.f},l.Cg=function(){return this.g},l.Dg=function(){return this.i},l.Eg=function(){return this.j},l.Fg=function(t,n){NR(this,t,n)},l.Gg=function(t,n){_1(this,t,n)},l.Hg=function(t){Au(this,t)},l.Ig=function(t){Lu(this,t)},l.Ib=function(){return sse(this)},l.f=0,l.g=0,l.i=0,l.j=0,O(mb,"ElkShapeImpl",724),M(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),l._g=function(t,n,r){return Qye(this,t,n,r)},l.hh=function(t,n,r){return b3e(this,t,n,r)},l.jh=function(t,n,r){return v3e(this,t,n,r)},l.lh=function(t){return $me(this,t)},l.sh=function(t,n){C4e(this,t,n)},l.zh=function(){return iu(),zyt},l.Bh=function(t){Gye(this,t)},l.xg=function(){return!this.d&&(this.d=new yn(ta,this,8,5)),this.d},l.yg=function(){return!this.e&&(this.e=new yn(ta,this,7,4)),this.e},O(mb,"ElkConnectableShapeImpl",725),M(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},nv),l.Qg=function(t){return f3e(this,t)},l._g=function(t,n,r){switch(t){case 3:return FM(this);case 4:return!this.b&&(this.b=new yn(kr,this,4,7)),this.b;case 5:return!this.c&&(this.c=new yn(kr,this,5,8)),this.c;case 6:return!this.a&&(this.a=new ot(os,this,6,6)),this.a;case 7:return In(),!this.b&&(this.b=new yn(kr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i<=1));case 8:return In(),!!Q_(this);case 9:return In(),!!Jv(this);case 10:return In(),!this.b&&(this.b=new yn(kr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i!=0)}return oye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 3:return this.Cb&&(r=(i=this.Db>>16,i>=0?f3e(this,r):this.Cb.ih(this,-1-i,null,r))),sbe(this,u(t,33),r);case 4:return!this.b&&(this.b=new yn(kr,this,4,7)),ru(this.b,t,r);case 5:return!this.c&&(this.c=new yn(kr,this,5,8)),ru(this.c,t,r);case 6:return!this.a&&(this.a=new ot(os,this,6,6)),ru(this.a,t,r)}return ese(this,t,n,r)},l.jh=function(t,n,r){switch(n){case 3:return sbe(this,null,r);case 4:return!this.b&&(this.b=new yn(kr,this,4,7)),Qa(this.b,t,r);case 5:return!this.c&&(this.c=new yn(kr,this,5,8)),Qa(this.c,t,r);case 6:return!this.a&&(this.a=new ot(os,this,6,6)),Qa(this.a,t,r)}return Rre(this,t,n,r)},l.lh=function(t){switch(t){case 3:return!!FM(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 yn(kr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i<=1));case 8:return Q_(this);case 9:return Jv(this);case 10:return!this.b&&(this.b=new yn(kr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new yn(kr,this,5,8)),this.c.i!=0)}return Eme(this,t)},l.sh=function(t,n){switch(t){case 3:xse(this,u(n,33));return;case 4:!this.b&&(this.b=new yn(kr,this,4,7)),_r(this.b),!this.b&&(this.b=new yn(kr,this,4,7)),ds(this.b,u(n,14));return;case 5:!this.c&&(this.c=new yn(kr,this,5,8)),_r(this.c),!this.c&&(this.c=new yn(kr,this,5,8)),ds(this.c,u(n,14));return;case 6:!this.a&&(this.a=new ot(os,this,6,6)),_r(this.a),!this.a&&(this.a=new ot(os,this,6,6)),ds(this.a,u(n,14));return}x3e(this,t,n)},l.zh=function(){return iu(),YSe},l.Bh=function(t){switch(t){case 3:xse(this,null);return;case 4:!this.b&&(this.b=new yn(kr,this,4,7)),_r(this.b);return;case 5:!this.c&&(this.c=new yn(kr,this,5,8)),_r(this.c);return;case 6:!this.a&&(this.a=new ot(os,this,6,6)),_r(this.a);return}rye(this,t)},l.Ib=function(){return Pct(this)},O(mb,"ElkEdgeImpl",352),M(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ad),l.Qg=function(t){return c3e(this,t)},l._g=function(t,n,r){switch(t){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 Ns(Zh,this,5)),this.a;case 6:return yYe(this);case 7:return n?Iie(this):this.i;case 8:return n?Die(this):this.f;case 9:return!this.g&&(this.g=new yn(os,this,9,10)),this.g;case 10:return!this.e&&(this.e=new yn(os,this,10,9)),this.e;case 11:return this.d}return r3e(this,t,n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?c3e(this,r):this.Cb.ih(this,-1-a,null,r))),abe(this,u(t,79),r);case 9:return!this.g&&(this.g=new yn(os,this,9,10)),ru(this.g,t,r);case 10:return!this.e&&(this.e=new yn(os,this,10,9)),ru(this.e,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(iu(),TV)),n),66),h.Nj().Qj(this,uu(this),n-Zn((iu(),TV)),t,r)},l.jh=function(t,n,r){switch(n){case 5:return!this.a&&(this.a=new Ns(Zh,this,5)),Qa(this.a,t,r);case 6:return abe(this,null,r);case 9:return!this.g&&(this.g=new yn(os,this,9,10)),Qa(this.g,t,r);case 10:return!this.e&&(this.e=new yn(os,this,10,9)),Qa(this.e,t,r)}return V3e(this,t,n,r)},l.lh=function(t){switch(t){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!!yYe(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 nwe(this,t)},l.sh=function(t,n){switch(t){case 1:Sx(this,We(gt(n)));return;case 2:Lx(this,We(gt(n)));return;case 3:Cx(this,We(gt(n)));return;case 4:Ax(this,We(gt(n)));return;case 5:!this.a&&(this.a=new Ns(Zh,this,5)),_r(this.a),!this.a&&(this.a=new Ns(Zh,this,5)),ds(this.a,u(n,14));return;case 6:Bat(this,u(n,79));return;case 7:A$(this,u(n,82));return;case 8:S$(this,u(n,82));return;case 9:!this.g&&(this.g=new yn(os,this,9,10)),_r(this.g),!this.g&&(this.g=new yn(os,this,9,10)),ds(this.g,u(n,14));return;case 10:!this.e&&(this.e=new yn(os,this,10,9)),_r(this.e),!this.e&&(this.e=new yn(os,this,10,9)),ds(this.e,u(n,14));return;case 11:gme(this,Hr(n));return}zme(this,t,n)},l.zh=function(){return iu(),TV},l.Bh=function(t){switch(t){case 1:Sx(this,0);return;case 2:Lx(this,0);return;case 3:Cx(this,0);return;case 4:Ax(this,0);return;case 5:!this.a&&(this.a=new Ns(Zh,this,5)),_r(this.a);return;case 6:Bat(this,null);return;case 7:A$(this,null);return;case 8:S$(this,null);return;case 9:!this.g&&(this.g=new yn(os,this,9,10)),_r(this.g);return;case 10:!this.e&&(this.e=new yn(os,this,10,9)),_r(this.e);return;case 11:gme(this,null);return}Dme(this,t)},l.Ib=function(){return eat(this)},l.b=0,l.c=0,l.d=null,l.j=0,l.k=0,O(mb,"ElkEdgeSectionImpl",439),M(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),l._g=function(t,n,r){var i;return t==0?(!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab):ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.hh=function(t,n,r){var i,a;return n==0?(!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r)):(a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Qj(this,uu(this),n-Zn(this.zh()),t,r))},l.jh=function(t,n,r){var i,a;return n==0?(!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r)):(a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r))},l.lh=function(t){var n;return t==0?!!this.Ab&&this.Ab.i!=0:dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.oh=function(t){return N5e(this,t)},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.uh=function(t){K6(this,128,t)},l.zh=function(){return cn(),l3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){this.Bb|=1},l.Hh=function(t){return nC(this,t)},l.Bb=0,O(_n,"EModelElementImpl",150),M(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},vF),l.Ih=function(t,n){return hut(this,t,n)},l.Jh=function(t){var n,r,i,a,h;if(this.a!=ql(t)||t.Bb&256)throw ee(new Dn(lce+t.zb+fw));for(i=Ro(t);Bc(i.a).i!=0;){if(r=u(rI(i,0,(n=u(_e(Bc(i.a),0),87),h=n.c,me(h,88)?u(h,26):(cn(),nf))),26),Zv(r))return a=ql(r).Nh().Jh(r),u(a,49).th(t),a;i=Ro(r)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new iKe(t):new Ube(t)},l.Kh=function(t,n){return sw(this,t,n)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.a}return ph(this,t-Zn((cn(),k2)),bn((i=u(Cn(this,16),26),i||k2),t),n,r)},l.hh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 1:return this.a&&(r=u(this.a,49).ih(this,4,c1,r)),tye(this,u(t,235),r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),k2)),n),66),a.Nj().Qj(this,uu(this),n-Zn((cn(),k2)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 1:return tye(this,null,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),k2)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),k2)),t,r)},l.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return dh(this,t-Zn((cn(),k2)),bn((n=u(Cn(this,16),26),n||k2),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Bit(this,u(n,235));return}yh(this,t-Zn((cn(),k2)),bn((r=u(Cn(this,16),26),r||k2),t),n)},l.zh=function(){return cn(),k2},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:Bit(this,null);return}wh(this,t-Zn((cn(),k2)),bn((n=u(Cn(this,16),26),n||k2),t))};var $S,JSe,Kyt;O(_n,"EFactoryImpl",704),M(_f,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},U5),l.Ih=function(t,n){switch(t.yj()){case 12:return u(n,146).tg();case 13:return Yo(n);default:throw ee(new Dn(O7+t.ne()+fw))}},l.Jh=function(t){var n,r,i,a,h,d,v,x;switch(t.G==-1&&(t.G=(n=ql(t),n?Ag(n.Mh(),t):-1)),t.G){case 4:return h=new I9,h;case 6:return d=new Yge,d;case 7:return v=new Xge,v;case 8:return i=new nv,i;case 9:return r=new hp,r;case 10:return a=new ad,a;case 11:return x=new TB,x;default:throw ee(new Dn(lce+t.zb+fw))}},l.Kh=function(t,n){switch(t.yj()){case 13:case 12:return null;default:throw ee(new Dn(O7+t.ne()+fw))}},O(mb,"ElkGraphFactoryImpl",_f),M(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),l.Wg=function(){var t,n;return n=(t=u(Cn(this,16),26),qve(wd(t||this.zh()))),n==null?(AT(),AT(),Jhe):new _Ve(this,n)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.ne()}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:this.Lh(Hr(n));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),h3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:this.Lh(null);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.ne=function(){return this.zb},l.Lh=function(t){nu(this,t)},l.Ib=function(){return O_(this)},l.zb=null,O(_n,"ENamedElementImpl",438),M(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},sYe),l.Qg=function(t){return Xrt(this,t)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,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 Om(this,u1,this)),this.rb;case 6:return!this.vb&&(this.vb=new T6(c1,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?u(this.Cb,235):null:kYe(this)}return ph(this,t-Zn((cn(),Wg)),bn((i=u(Cn(this,16),26),i||Wg),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 4:return this.sb&&(r=u(this.sb,49).ih(this,1,jS,r)),sye(this,u(t,471),r);case 5:return!this.rb&&(this.rb=new Om(this,u1,this)),ru(this.rb,t,r);case 6:return!this.vb&&(this.vb=new T6(c1,this,6,7)),ru(this.vb,t,r);case 7:return this.Cb&&(r=(a=this.Db>>16,a>=0?Xrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,7,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Wg)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Wg)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 4:return sye(this,null,r);case 5:return!this.rb&&(this.rb=new Om(this,u1,this)),Qa(this.rb,t,r);case 6:return!this.vb&&(this.vb=new T6(c1,this,6,7)),Qa(this.vb,t,r);case 7:return Yl(this,null,7,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Wg)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Wg)),t,r)},l.lh=function(t){var n;switch(t){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!!kYe(this)}return dh(this,t-Zn((cn(),Wg)),bn((n=u(Cn(this,16),26),n||Wg),t))},l.oh=function(t){var n;return n=_dn(this,t),n||N5e(this,t)},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:P$(this,Hr(n));return;case 3:N$(this,Hr(n));return;case 4:ise(this,u(n,471));return;case 5:!this.rb&&(this.rb=new Om(this,u1,this)),_r(this.rb),!this.rb&&(this.rb=new Om(this,u1,this)),ds(this.rb,u(n,14));return;case 6:!this.vb&&(this.vb=new T6(c1,this,6,7)),_r(this.vb),!this.vb&&(this.vb=new T6(c1,this,6,7)),ds(this.vb,u(n,14));return}yh(this,t-Zn((cn(),Wg)),bn((r=u(Cn(this,16),26),r||Wg),t),n)},l.vh=function(t){var n,r;if(t&&this.rb)for(r=new ir(this.rb);r.e!=r.i.gc();)n=br(r),me(n,351)&&(u(n,351).w=null);K6(this,64,t)},l.zh=function(){return cn(),Wg},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:P$(this,null);return;case 3:N$(this,null);return;case 4:ise(this,null);return;case 5:!this.rb&&(this.rb=new Om(this,u1,this)),_r(this.rb);return;case 6:!this.vb&&(this.vb=new T6(c1,this,6,7)),_r(this.vb);return}wh(this,t-Zn((cn(),Wg)),bn((n=u(Cn(this,16),26),n||Wg),t))},l.Gh=function(){Vie(this)},l.Mh=function(){return!this.rb&&(this.rb=new Om(this,u1,this)),this.rb},l.Nh=function(){return this.sb},l.Oh=function(){return this.ub},l.Ph=function(){return this.xb},l.Qh=function(){return this.yb},l.Rh=function(t){this.ub=t},l.Ib=function(){var t;return this.Db&64?O_(this):(t=new Oh(O_(this)),t.a+=" (nsURI: ",To(t,this.yb),t.a+=", nsPrefix: ",To(t,this.xb),t.a+=")",t.a)},l.xb=null,l.yb=null,O(_n,"EPackageImpl",179),M(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},uat),l.q=!1,l.r=!1;var Wyt=!1;O(mb,"ElkGraphPackageImpl",555),M(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},I9),l.Qg=function(t){return u3e(this,t)},l._g=function(t,n,r){switch(t){case 7:return xYe(this);case 8:return this.a}return vye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 7:return this.Cb&&(r=(i=this.Db>>16,i>=0?u3e(this,r):this.Cb.ih(this,-1-i,null,r))),ove(this,u(t,160),r)}return ese(this,t,n,r)},l.jh=function(t,n,r){return n==7?ove(this,null,r):Rre(this,t,n,r)},l.lh=function(t){switch(t){case 7:return!!xYe(this);case 8:return!on("",this.a)}return Tye(this,t)},l.sh=function(t,n){switch(t){case 7:$4e(this,u(n,160));return;case 8:ome(this,Hr(n));return}E3e(this,t,n)},l.zh=function(){return iu(),XSe},l.Bh=function(t){switch(t){case 7:$4e(this,null);return;case 8:ome(this,"");return}Lye(this,t)},l.Ib=function(){return Xit(this)},l.a="",O(mb,"ElkLabelImpl",354),M(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Yge),l.Qg=function(t){return d3e(this,t)},l._g=function(t,n,r){switch(t){case 9:return!this.c&&(this.c=new ot(xl,this,9,9)),this.c;case 10:return!this.a&&(this.a=new ot(fs,this,10,11)),this.a;case 11:return ls(this);case 12:return!this.b&&(this.b=new ot(ta,this,12,3)),this.b;case 13:return In(),!this.a&&(this.a=new ot(fs,this,10,11)),this.a.i>0}return Qye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 9:return!this.c&&(this.c=new ot(xl,this,9,9)),ru(this.c,t,r);case 10:return!this.a&&(this.a=new ot(fs,this,10,11)),ru(this.a,t,r);case 11:return this.Cb&&(r=(i=this.Db>>16,i>=0?d3e(this,r):this.Cb.ih(this,-1-i,null,r))),pbe(this,u(t,33),r);case 12:return!this.b&&(this.b=new ot(ta,this,12,3)),ru(this.b,t,r)}return b3e(this,t,n,r)},l.jh=function(t,n,r){switch(n){case 9:return!this.c&&(this.c=new ot(xl,this,9,9)),Qa(this.c,t,r);case 10:return!this.a&&(this.a=new ot(fs,this,10,11)),Qa(this.a,t,r);case 11:return pbe(this,null,r);case 12:return!this.b&&(this.b=new ot(ta,this,12,3)),Qa(this.b,t,r)}return v3e(this,t,n,r)},l.lh=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!ls(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new ot(fs,this,10,11)),this.a.i>0}return $me(this,t)},l.sh=function(t,n){switch(t){case 9:!this.c&&(this.c=new ot(xl,this,9,9)),_r(this.c),!this.c&&(this.c=new ot(xl,this,9,9)),ds(this.c,u(n,14));return;case 10:!this.a&&(this.a=new ot(fs,this,10,11)),_r(this.a),!this.a&&(this.a=new ot(fs,this,10,11)),ds(this.a,u(n,14));return;case 11:F4e(this,u(n,33));return;case 12:!this.b&&(this.b=new ot(ta,this,12,3)),_r(this.b),!this.b&&(this.b=new ot(ta,this,12,3)),ds(this.b,u(n,14));return}C4e(this,t,n)},l.zh=function(){return iu(),QSe},l.Bh=function(t){switch(t){case 9:!this.c&&(this.c=new ot(xl,this,9,9)),_r(this.c);return;case 10:!this.a&&(this.a=new ot(fs,this,10,11)),_r(this.a);return;case 11:F4e(this,null);return;case 12:!this.b&&(this.b=new ot(ta,this,12,3)),_r(this.b);return}Gye(this,t)},l.Ib=function(){return t5e(this)},O(mb,"ElkNodeImpl",239),M(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Xge),l.Qg=function(t){return l3e(this,t)},l._g=function(t,n,r){return t==9?A1(this):Qye(this,t,n,r)},l.hh=function(t,n,r){var i;switch(n){case 9:return this.Cb&&(r=(i=this.Db>>16,i>=0?l3e(this,r):this.Cb.ih(this,-1-i,null,r))),obe(this,u(t,33),r)}return b3e(this,t,n,r)},l.jh=function(t,n,r){return n==9?obe(this,null,r):v3e(this,t,n,r)},l.lh=function(t){return t==9?!!A1(this):$me(this,t)},l.sh=function(t,n){switch(t){case 9:B4e(this,u(n,33));return}C4e(this,t,n)},l.zh=function(){return iu(),ZSe},l.Bh=function(t){switch(t){case 9:B4e(this,null);return}Gye(this,t)},l.Ib=function(){return Bot(this)},O(mb,"ElkPortImpl",186);var Yyt=rs(Za,"BasicEMap/Entry");M(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},TB),l.Fb=function(t){return this===t},l.cd=function(){return this.b},l.Hb=function(){return kv(this)},l.Uh=function(t){cme(this,u(t,146))},l._g=function(t,n,r){switch(t){case 0:return this.b;case 1:return this.c}return gH(this,t,n,r)},l.lh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return Sie(this,t)},l.sh=function(t,n){switch(t){case 0:cme(this,u(n,146));return;case 1:hme(this,n);return}hse(this,t,n)},l.zh=function(){return iu(),v2},l.Bh=function(t){switch(t){case 0:cme(this,null);return;case 1:hme(this,null);return}ase(this,t)},l.Sh=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Yi(t):0),this.a},l.dd=function(){return this.c},l.Th=function(t){this.a=t},l.ed=function(t){var n;return n=this.c,hme(this,t),n},l.Ib=function(){var t;return this.Db&64?Ef(this):(t=new yp,Yr(Yr(Yr(t,this.b?this.b.tg():Iu),ooe),XT(this.c)),t.a)},l.a=-1,l.c=null;var Mw=O(mb,"ElkPropertyToValueMapEntryImpl",1092);M(984,1,{},_B),O(Ia,"JsonAdapter",984),M(210,60,q0,ud),O(Ia,"JsonImportException",210),M(857,1,{},Qrt),O(Ia,"JsonImporter",857),M(891,1,{},TGe),O(Ia,"JsonImporter/lambda$0$Type",891),M(892,1,{},_Ge),O(Ia,"JsonImporter/lambda$1$Type",892),M(900,1,{},sje),O(Ia,"JsonImporter/lambda$10$Type",900),M(902,1,{},CGe),O(Ia,"JsonImporter/lambda$11$Type",902),M(903,1,{},SGe),O(Ia,"JsonImporter/lambda$12$Type",903),M(909,1,{},jWe),O(Ia,"JsonImporter/lambda$13$Type",909),M(908,1,{},RWe),O(Ia,"JsonImporter/lambda$14$Type",908),M(904,1,{},AGe),O(Ia,"JsonImporter/lambda$15$Type",904),M(905,1,{},LGe),O(Ia,"JsonImporter/lambda$16$Type",905),M(906,1,{},MGe),O(Ia,"JsonImporter/lambda$17$Type",906),M(907,1,{},DGe),O(Ia,"JsonImporter/lambda$18$Type",907),M(912,1,{},aje),O(Ia,"JsonImporter/lambda$19$Type",912),M(893,1,{},oje),O(Ia,"JsonImporter/lambda$2$Type",893),M(910,1,{},cje),O(Ia,"JsonImporter/lambda$20$Type",910),M(911,1,{},uje),O(Ia,"JsonImporter/lambda$21$Type",911),M(915,1,{},lje),O(Ia,"JsonImporter/lambda$22$Type",915),M(913,1,{},hje),O(Ia,"JsonImporter/lambda$23$Type",913),M(914,1,{},fje),O(Ia,"JsonImporter/lambda$24$Type",914),M(917,1,{},dje),O(Ia,"JsonImporter/lambda$25$Type",917),M(916,1,{},gje),O(Ia,"JsonImporter/lambda$26$Type",916),M(918,1,Vn,IGe),l.td=function(t){etn(this.b,this.a,Hr(t))},O(Ia,"JsonImporter/lambda$27$Type",918),M(919,1,Vn,OGe),l.td=function(t){ttn(this.b,this.a,Hr(t))},O(Ia,"JsonImporter/lambda$28$Type",919),M(920,1,{},NGe),O(Ia,"JsonImporter/lambda$29$Type",920),M(896,1,{},pje),O(Ia,"JsonImporter/lambda$3$Type",896),M(921,1,{},PGe),O(Ia,"JsonImporter/lambda$30$Type",921),M(922,1,{},bje),O(Ia,"JsonImporter/lambda$31$Type",922),M(923,1,{},vje),O(Ia,"JsonImporter/lambda$32$Type",923),M(924,1,{},wje),O(Ia,"JsonImporter/lambda$33$Type",924),M(925,1,{},mje),O(Ia,"JsonImporter/lambda$34$Type",925),M(859,1,{},yje),O(Ia,"JsonImporter/lambda$35$Type",859),M(929,1,{},MUe),O(Ia,"JsonImporter/lambda$36$Type",929),M(926,1,Vn,kje),l.td=function(t){ien(this.a,u(t,469))},O(Ia,"JsonImporter/lambda$37$Type",926),M(927,1,Vn,HGe),l.td=function(t){Iqt(this.a,this.b,u(t,202))},O(Ia,"JsonImporter/lambda$38$Type",927),M(928,1,Vn,zGe),l.td=function(t){Oqt(this.a,this.b,u(t,202))},O(Ia,"JsonImporter/lambda$39$Type",928),M(894,1,{},xje),O(Ia,"JsonImporter/lambda$4$Type",894),M(930,1,Vn,Eje),l.td=function(t){sen(this.a,u(t,8))},O(Ia,"JsonImporter/lambda$40$Type",930),M(895,1,{},Tje),O(Ia,"JsonImporter/lambda$5$Type",895),M(899,1,{},_je),O(Ia,"JsonImporter/lambda$6$Type",899),M(897,1,{},Cje),O(Ia,"JsonImporter/lambda$7$Type",897),M(898,1,{},Sje),O(Ia,"JsonImporter/lambda$8$Type",898),M(901,1,{},Aje),O(Ia,"JsonImporter/lambda$9$Type",901),M(948,1,Vn,Lje),l.td=function(t){M6(this.a,new Nm(Hr(t)))},O(Ia,"JsonMetaDataConverter/lambda$0$Type",948),M(949,1,Vn,Mje),l.td=function(t){kXt(this.a,u(t,237))},O(Ia,"JsonMetaDataConverter/lambda$1$Type",949),M(950,1,Vn,Dje),l.td=function(t){wZt(this.a,u(t,149))},O(Ia,"JsonMetaDataConverter/lambda$2$Type",950),M(951,1,Vn,Ije),l.td=function(t){xXt(this.a,u(t,175))},O(Ia,"JsonMetaDataConverter/lambda$3$Type",951),M(237,22,{3:1,35:1,22:1,237:1},y6);var _V,CV,Uhe,SV,AV,LV,Khe,Whe,MV=Gr(vI,"GraphFeature",237,Kr,qtn,UWt),Xyt;M(13,1,{35:1,146:1},Qi,Hs,pn,fo),l.wd=function(t){return DVt(this,u(t,146))},l.Fb=function(t){return aYe(this,t)},l.wg=function(){return Ct(this)},l.tg=function(){return this.b},l.Hb=function(){return Lg(this.b)},l.Ib=function(){return this.b},O(vI,"Property",13),M(818,1,Ri,Age),l.ue=function(t,n){return Yin(this,u(t,94),u(n,94))},l.Fb=function(t){return this===t},l.ve=function(){return new oe(this)},O(vI,"PropertyHolderComparator",818),M(695,1,ba,Lge),l.Nb=function(t){La(this,t)},l.Pb=function(){return stn(this)},l.Qb=function(){_He()},l.Ob=function(){return!!this.a},O(Yz,"ElkGraphUtil/AncestorIterator",695);var eAe=rs(Za,"EList");M(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),l.Vc=function(t,n){B_(this,t,n)},l.Fc=function(t){return Pr(this,t)},l.Wc=function(t,n){return Ime(this,t,n)},l.Gc=function(t){return ds(this,t)},l.Zh=function(){return new E6(this)},l.$h=function(){return new pM(this)},l._h=function(t){return aD(this,t)},l.ai=function(){return!0},l.bi=function(t,n){},l.ci=function(){},l.di=function(t,n){ure(this,t,n)},l.ei=function(t,n,r){},l.fi=function(t,n){},l.gi=function(t,n,r){},l.Fb=function(t){return xot(this,t)},l.Hb=function(){return Sme(this)},l.hi=function(){return!1},l.Kc=function(){return new ir(this)},l.Yc=function(){return new x6(this)},l.Zc=function(t){var n;if(n=this.gc(),t<0||t>n)throw ee(new Mm(t,n));return new gne(this,t)},l.ji=function(t,n){this.ii(t,this.Xc(n))},l.Mc=function(t){return g$(this,t)},l.li=function(t,n){return n},l._c=function(t,n){return t4(this,t,n)},l.Ib=function(){return mye(this)},l.ni=function(){return!0},l.oi=function(t,n){return Hx(this,n)},O(Za,"AbstractEList",67),M(63,67,Ld,K5,Rv,mme),l.Vh=function(t,n){return tse(this,t,n)},l.Wh=function(t){return Trt(this,t)},l.Xh=function(t,n){kD(this,t,n)},l.Yh=function(t){GM(this,t)},l.pi=function(t){return $we(this,t)},l.$b=function(){k_(this)},l.Hc=function(t){return n7(this,t)},l.Xb=function(t){return _e(this,t)},l.qi=function(t){var n,r,i;++this.j,r=this.g==null?0:this.g.length,t>r&&(i=this.g,n=r+(r/2|0)+4,n=0?(this.$c(n),!0):!1},l.mi=function(t,n){return this.Ui(t,this.oi(t,n))},l.gc=function(){return this.Vi()},l.Pc=function(){return this.Wi()},l.Qc=function(t){return this.Xi(t)},l.Ib=function(){return this.Yi()},O(Za,"DelegatingEList",1995),M(1996,1995,w1t),l.Vh=function(t,n){return l5e(this,t,n)},l.Wh=function(t){return this.Vh(this.Vi(),t)},l.Xh=function(t,n){oat(this,t,n)},l.Yh=function(t){Zst(this,t)},l.ai=function(){return!this.bj()},l.$b=function(){cC(this)},l.Zi=function(t,n,r,i,a){return new cYe(this,t,n,r,i,a)},l.$i=function(t){_i(this.Ai(),t)},l._i=function(){return null},l.aj=function(){return-1},l.Ai=function(){return null},l.bj=function(){return!1},l.cj=function(t,n){return n},l.dj=function(t,n){return n},l.ej=function(){return!1},l.fj=function(){return!this.Ri()},l.ii=function(t,n){var r,i;return this.ej()?(i=this.fj(),r=z3e(this,t,n),this.$i(this.Zi(7,lt(n),r,t,i)),r):z3e(this,t,n)},l.$c=function(t){var n,r,i,a;return this.ej()?(r=null,i=this.fj(),n=this.Zi(4,a=oj(this,t),null,t,i),this.bj()&&a?(r=this.dj(a,r),r?(r.Ei(n),r.Fi()):this.$i(n)):r?(r.Ei(n),r.Fi()):this.$i(n),a):(a=oj(this,t),this.bj()&&a&&(r=this.dj(a,null),r&&r.Fi()),a)},l.mi=function(t,n){return pct(this,t,n)},O(pk,"DelegatingNotifyingListImpl",1996),M(143,1,DI),l.Ei=function(t){return L3e(this,t)},l.Fi=function(){wre(this)},l.xi=function(){return this.d},l._i=function(){return null},l.gj=function(){return null},l.yi=function(t){return-1},l.zi=function(){return tot(this)},l.Ai=function(){return null},l.Bi=function(){return V4e(this)},l.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},l.hj=function(){return!1},l.Di=function(t){var n,r,i,a,h,d,v,x,T,L,P;switch(this.d){case 1:case 2:switch(a=t.xi(),a){case 1:case 2:if(h=t.Ai(),$e(h)===$e(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),t.xi()==1&&(this.d=1),!0}case 4:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),$e(h)===$e(this.Ai())&&this.yi(null)==t.yi(null))return T=S5e(this),x=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,d=t.Ci(),this.d=6,P=new Rv(2),x<=d?(Pr(P,this.n),Pr(P,t.Bi()),this.g=ie(ne(Sr,1),Jr,25,15,[this.o=x,d+1])):(Pr(P,t.Bi()),Pr(P,this.n),this.g=ie(ne(Sr,1),Jr,25,15,[this.o=d,x])),this.n=P,T||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),$e(h)===$e(this.Ai())&&this.yi(null)==t.yi(null)){for(T=S5e(this),d=t.Ci(),L=u(this.g,48),i=Ie(Sr,Jr,25,L.length+1,15,1),n=0;n>>0,n.toString(16))),i.a+=" (eventType: ",this.d){case 1:{i.a+="SET";break}case 2:{i.a+="UNSET";break}case 3:{i.a+="ADD";break}case 5:{i.a+="ADD_MANY";break}case 4:{i.a+="REMOVE";break}case 6:{i.a+="REMOVE_MANY";break}case 7:{i.a+="MOVE";break}case 8:{i.a+="REMOVING_ADAPTER";break}case 9:{i.a+="RESOLVE";break}default:{Fee(i,this.d);break}}if(Got(this)&&(i.a+=", touch: true"),i.a+=", position: ",Fee(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",qT(i,this.Ai()),i.a+=", feature: ",qT(i,this._i()),i.a+=", oldValue: ",qT(i,V4e(this)),i.a+=", newValue: ",this.d==6&&me(this.g,48)){for(r=u(this.g,48),i.a+="[",t=0;t10?((!this.b||this.c.j!=this.a)&&(this.b=new r_(this),this.a=this.j),_0(this.b,t)):n7(this,t)},l.ni=function(){return!0},l.a=0,O(Za,"AbstractEList/1",953),M(295,73,Dae,Mm),O(Za,"AbstractEList/BasicIndexOutOfBoundsException",295),M(40,1,ba,ir),l.Nb=function(t){La(this,t)},l.mj=function(){if(this.i.j!=this.f)throw ee(new uh)},l.nj=function(){return br(this)},l.Ob=function(){return this.e!=this.i.gc()},l.Pb=function(){return this.nj()},l.Qb=function(){U_(this)},l.e=0,l.f=0,l.g=-1,O(Za,"AbstractEList/EIterator",40),M(278,40,e0,x6,gne),l.Qb=function(){U_(this)},l.Rb=function(t){Cnt(this,t)},l.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(n){throw n=ts(n),me(n,73)?(this.mj(),ee(new yc)):ee(n)}},l.pj=function(t){Srt(this,t)},l.Sb=function(){return this.e!=0},l.Tb=function(){return this.e},l.Ub=function(){return this.oj()},l.Vb=function(){return this.e-1},l.Wb=function(t){this.pj(t)},O(Za,"AbstractEList/EListIterator",278),M(341,40,ba,E6),l.nj=function(){return Aie(this)},l.Qb=function(){throw ee(new Rr)},O(Za,"AbstractEList/NonResolvingEIterator",341),M(385,278,e0,pM,xbe),l.Rb=function(t){throw ee(new Rr)},l.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(n){throw n=ts(n),me(n,73)?(this.mj(),ee(new yc)):ee(n)}},l.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(n){throw n=ts(n),me(n,73)?(this.mj(),ee(new yc)):ee(n)}},l.Qb=function(){throw ee(new Rr)},l.Wb=function(t){throw ee(new Rr)},O(Za,"AbstractEList/NonResolvingEListIterator",385),M(1982,67,m1t),l.Vh=function(t,n){var r,i,a,h,d,v,x,T,L,P,z;if(a=n.gc(),a!=0){for(T=u(Cn(this.a,4),126),L=T==null?0:T.length,z=L+a,i=Xre(this,z),P=L-t,P>0&&Rc(T,t,i,t+a,P),x=n.Kc(),d=0;dr)throw ee(new Mm(t,r));return new mWe(this,t)},l.$b=function(){var t,n;++this.j,t=u(Cn(this.a,4),126),n=t==null?0:t.length,Zx(this,null),ure(this,n,t)},l.Hc=function(t){var n,r,i,a,h;if(n=u(Cn(this.a,4),126),n!=null){if(t!=null){for(i=n,a=0,h=i.length;a=r)throw ee(new Mm(t,r));return n[t]},l.Xc=function(t){var n,r,i;if(n=u(Cn(this.a,4),126),n!=null){if(t!=null){for(r=0,i=n.length;rr)throw ee(new Mm(t,r));return new wWe(this,t)},l.ii=function(t,n){var r,i,a;if(r=Nnt(this),a=r==null?0:r.length,t>=a)throw ee(new Mo(mce+t+yb+a));if(n>=a)throw ee(new Mo(yce+n+yb+a));return i=r[n],t!=n&&(t0&&Rc(t,0,n,0,r),n},l.Qc=function(t){var n,r,i;return n=u(Cn(this.a,4),126),i=n==null?0:n.length,i>0&&(t.lengthi&&us(t,i,null),t};var Qyt;O(Za,"ArrayDelegatingEList",1982),M(1038,40,ba,AQe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},l.Qb=function(){U_(this),this.a=u(Cn(this.b.a,4),126)},O(Za,"ArrayDelegatingEList/EIterator",1038),M(706,278,e0,zKe,wWe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},l.pj=function(t){Srt(this,t),this.a=u(Cn(this.b.a,4),126)},l.Qb=function(){U_(this),this.a=u(Cn(this.b.a,4),126)},O(Za,"ArrayDelegatingEList/EListIterator",706),M(1039,341,ba,LQe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},O(Za,"ArrayDelegatingEList/NonResolvingEIterator",1039),M(707,385,e0,GKe,mWe),l.mj=function(){if(this.b.j!=this.f||$e(u(Cn(this.b.a,4),126))!==$e(this.a))throw ee(new uh)},O(Za,"ArrayDelegatingEList/NonResolvingEListIterator",707),M(606,295,Dae,vte),O(Za,"BasicEList/BasicIndexOutOfBoundsException",606),M(696,63,Ld,o2e),l.Vc=function(t,n){throw ee(new Rr)},l.Fc=function(t){throw ee(new Rr)},l.Wc=function(t,n){throw ee(new Rr)},l.Gc=function(t){throw ee(new Rr)},l.$b=function(){throw ee(new Rr)},l.qi=function(t){throw ee(new Rr)},l.Kc=function(){return this.Zh()},l.Yc=function(){return this.$h()},l.Zc=function(t){return this._h(t)},l.ii=function(t,n){throw ee(new Rr)},l.ji=function(t,n){throw ee(new Rr)},l.$c=function(t){throw ee(new Rr)},l.Mc=function(t){throw ee(new Rr)},l._c=function(t,n){throw ee(new Rr)},O(Za,"BasicEList/UnmodifiableEList",696),M(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),l.Vc=function(t,n){kVt(this,t,u(n,42))},l.Fc=function(t){return oUt(this,u(t,42))},l.Jc=function(t){Da(this,t)},l.Xb=function(t){return u(_e(this.c,t),133)},l.ii=function(t,n){return u(this.c.ii(t,n),42)},l.ji=function(t,n){xVt(this,t,u(n,42))},l.Lc=function(){return new mn(null,new kn(this,16))},l.$c=function(t){return u(this.c.$c(t),42)},l._c=function(t,n){return pXt(this,t,u(n,42))},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.Wc=function(t,n){return this.c.Wc(t,n)},l.Gc=function(t){return this.c.Gc(t)},l.$b=function(){this.c.$b()},l.Hc=function(t){return this.c.Hc(t)},l.Ic=function(t){return hD(this.c,t)},l.qj=function(){var t,n,r;if(this.d==null){for(this.d=Ie(tAe,G8e,63,2*this.f+1,0,1),r=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)t=u(n.nj(),133),vH(this,t);this.e=r}},l.Fb=function(t){return gUe(this,t)},l.Hb=function(){return Sme(this.c)},l.Xc=function(t){return this.c.Xc(t)},l.rj=function(){this.c=new Nje(this)},l.dc=function(){return this.f==0},l.Kc=function(){return this.c.Kc()},l.Yc=function(){return this.c.Yc()},l.Zc=function(t){return this.c.Zc(t)},l.sj=function(){return UM(this)},l.tj=function(t,n,r){return new DUe(t,n,r)},l.uj=function(){return new fp},l.Mc=function(t){return KJe(this,t)},l.gc=function(){return this.f},l.bd=function(t,n){return new Yd(this.c,t,n)},l.Pc=function(){return this.c.Pc()},l.Qc=function(t){return this.c.Qc(t)},l.Ib=function(){return mye(this.c)},l.e=0,l.f=0,O(Za,"BasicEMap",705),M(1033,63,Ld,Nje),l.bi=function(t,n){iGt(this,u(n,133))},l.ei=function(t,n,r){var i;++(i=this,u(n,133),i).a.e},l.fi=function(t,n){sGt(this,u(n,133))},l.gi=function(t,n,r){WVt(this,u(n,133),u(r,133))},l.di=function(t,n){jet(this.a)},O(Za,"BasicEMap/1",1033),M(1034,63,Ld,fp),l.ri=function(t){return Ie(bmn,y1t,612,t,0,1)},O(Za,"BasicEMap/2",1034),M(1035,$1,Ku,Pje),l.$b=function(){this.a.c.$b()},l.Hc=function(t){return mie(this.a,t)},l.Kc=function(){return this.a.f==0?(nx(),qO.a):new bHe(this.a)},l.Mc=function(t){var n;return n=this.a.f,aH(this.a,t),this.a.f!=n},l.gc=function(){return this.a.f},O(Za,"BasicEMap/3",1035),M(1036,28,uy,Bje),l.$b=function(){this.a.c.$b()},l.Hc=function(t){return Eot(this.a,t)},l.Kc=function(){return this.a.f==0?(nx(),qO.a):new vHe(this.a)},l.gc=function(){return this.a.f},O(Za,"BasicEMap/4",1036),M(1037,$1,Ku,Fje),l.$b=function(){this.a.c.$b()},l.Hc=function(t){var n,r,i,a,h,d,v,x,T;if(this.a.f>0&&me(t,42)&&(this.a.qj(),x=u(t,42),v=x.cd(),a=v==null?0:Yi(v),h=cbe(this.a,a),n=this.a.d[h],n)){for(r=u(n.g,367),T=n.i,d=0;d"+this.c},l.a=0;var bmn=O(Za,"BasicEMap/EntryImpl",612);M(536,1,{},g8),O(Za,"BasicEMap/View",536);var qO;M(768,1,{}),l.Fb=function(t){return S4e((fn(),bo),t)},l.Hb=function(){return jme((fn(),bo))},l.Ib=function(){return Vp((fn(),bo))},O(Za,"ECollections/BasicEmptyUnmodifiableEList",768),M(1312,1,e0,CB),l.Nb=function(t){La(this,t)},l.Rb=function(t){throw ee(new Rr)},l.Ob=function(){return!1},l.Sb=function(){return!1},l.Pb=function(){throw ee(new yc)},l.Tb=function(){return 0},l.Ub=function(){throw ee(new yc)},l.Vb=function(){return-1},l.Qb=function(){throw ee(new Rr)},l.Wb=function(t){throw ee(new Rr)},O(Za,"ECollections/BasicEmptyUnmodifiableEList/1",1312),M(1310,768,{20:1,14:1,15:1,58:1},S$e),l.Vc=function(t,n){RHe()},l.Fc=function(t){return jHe()},l.Wc=function(t,n){return $He()},l.Gc=function(t){return HHe()},l.$b=function(){zHe()},l.Hc=function(t){return!1},l.Ic=function(t){return!1},l.Jc=function(t){Da(this,t)},l.Xb=function(t){return l2e((fn(),t)),null},l.Xc=function(t){return-1},l.dc=function(){return!0},l.Kc=function(){return this.a},l.Yc=function(){return this.a},l.Zc=function(t){return this.a},l.ii=function(t,n){return GHe()},l.ji=function(t,n){qHe()},l.Lc=function(){return new mn(null,new kn(this,16))},l.$c=function(t){return VHe()},l.Mc=function(t){return UHe()},l._c=function(t,n){return KHe()},l.gc=function(){return 0},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.bd=function(t,n){return fn(),new Yd(bo,t,n)},l.Pc=function(){return lve((fn(),bo))},l.Qc=function(t){return fn(),MD(bo,t)},O(Za,"ECollections/EmptyUnmodifiableEList",1310),M(1311,768,{20:1,14:1,15:1,58:1,589:1},A$e),l.Vc=function(t,n){RHe()},l.Fc=function(t){return jHe()},l.Wc=function(t,n){return $He()},l.Gc=function(t){return HHe()},l.$b=function(){zHe()},l.Hc=function(t){return!1},l.Ic=function(t){return!1},l.Jc=function(t){Da(this,t)},l.Xb=function(t){return l2e((fn(),t)),null},l.Xc=function(t){return-1},l.dc=function(){return!0},l.Kc=function(){return this.a},l.Yc=function(){return this.a},l.Zc=function(t){return this.a},l.ii=function(t,n){return GHe()},l.ji=function(t,n){qHe()},l.Lc=function(){return new mn(null,new kn(this,16))},l.$c=function(t){return VHe()},l.Mc=function(t){return UHe()},l._c=function(t,n){return KHe()},l.gc=function(){return 0},l.ad=function(t){K3(this,t)},l.Nc=function(){return new kn(this,16)},l.Oc=function(){return new mn(null,new kn(this,16))},l.bd=function(t,n){return fn(),new Yd(bo,t,n)},l.Pc=function(){return lve((fn(),bo))},l.Qc=function(t){return fn(),MD(bo,t)},l.sj=function(){return fn(),fn(),o0},O(Za,"ECollections/EmptyUnmodifiableEMap",1311);var rAe=rs(Za,"Enumerator"),DV;M(281,1,{281:1},Sse),l.Fb=function(t){var n;return this===t?!0:me(t,281)?(n=u(t,281),this.f==n.f&&BYt(this.i,n.i)&&ene(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&ene(this.d,n.d)&&ene(this.g,n.g)&&ene(this.e,n.e)&&Man(this,n)):!1},l.Hb=function(){return this.f},l.Ib=function(){return ect(this)},l.f=0;var Zyt=0,Jyt=0,e3t=0,t3t=0,iAe=0,sAe=0,aAe=0,oAe=0,cAe=0,n3t,HS=0,zS=0,r3t=0,i3t=0,IV,uAe;O(Za,"URI",281),M(1091,43,w4,L$e),l.zc=function(t,n){return u(Io(this,Hr(t),u(n,281)),281)},O(Za,"URI/URICache",1091),M(497,63,Ld,p8,uj),l.hi=function(){return!0},O(Za,"UniqueEList",497),M(581,60,q0,h$),O(Za,"WrappedException",581);var ti=rs(kh,E1t),zy=rs(kh,T1t),Bu=rs(kh,_1t),Gy=rs(kh,C1t),u1=rs(kh,S1t),Jh=rs(kh,"EClass"),Qhe=rs(kh,"EDataType"),s3t;M(1183,43,w4,M$e),l.xc=function(t){return ga(t)?Gc(this,t):hc(jo(this.f,t))},O(kh,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var OV=rs(kh,"EEnum"),J0=rs(kh,A1t),Eo=rs(kh,L1t),ef=rs(kh,M1t),tf,Dw=rs(kh,D1t),qy=rs(kh,I1t);M(1029,1,{},mZ),l.Ib=function(){return"NIL"},O(kh,"EStructuralFeature/Internal/DynamicValueHolder/1",1029);var a3t;M(1028,43,w4,D$e),l.xc=function(t){return ga(t)?Gc(this,t):hc(jo(this.f,t))},O(kh,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var pu=rs(kh,O1t),Rk=rs(kh,"EValidator/PatternMatcher"),lAe,hAe,Tn,Vg,Vy,m2,o3t,c3t,u3t,y2,Ug,k2,Iw,Q1,l3t,h3t,nf,Kg,f3t,Wg,Uy,e5,co,d3t,g3t,Ow,NV=rs(Ui,"FeatureMap/Entry");M(535,1,{72:1},AR),l.ak=function(){return this.a},l.dd=function(){return this.b},O(_n,"BasicEObjectImpl/1",535),M(1027,1,Cce,GGe),l.Wj=function(t){return ore(this.a,this.b,t)},l.fj=function(){return EYe(this.a,this.b)},l.Wb=function(t){Uve(this.a,this.b,t)},l.Xj=function(){IXt(this.a,this.b)},O(_n,"BasicEObjectImpl/4",1027),M(1983,1,{108:1}),l.bk=function(t){this.e=t==0?p3t:Ie(Xn,_t,1,t,5,1)},l.Ch=function(t){return this.e[t]},l.Dh=function(t,n){this.e[t]=n},l.Eh=function(t){this.e[t]=null},l.ck=function(){return this.c},l.dk=function(){throw ee(new Rr)},l.ek=function(){throw ee(new Rr)},l.fk=function(){return this.d},l.gk=function(){return this.e!=null},l.hk=function(t){this.c=t},l.ik=function(t){throw ee(new Rr)},l.jk=function(t){throw ee(new Rr)},l.kk=function(t){this.d=t};var p3t;O(_n,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),M(185,1983,{108:1},ch),l.dk=function(){return this.a},l.ek=function(){return this.b},l.ik=function(t){this.a=t},l.jk=function(t){this.b=t},O(_n,"BasicEObjectImpl/EPropertiesHolderImpl",185),M(506,97,Nft,b8),l.Kg=function(){return this.f},l.Pg=function(){return this.k},l.Rg=function(t,n){this.g=t,this.i=n},l.Tg=function(){return this.j&2?this.ph().ck():this.zh()},l.Vg=function(){return this.i},l.Mg=function(){return(this.j&1)!=0},l.eh=function(){return this.g},l.kh=function(){return(this.j&4)!=0},l.ph=function(){return!this.k&&(this.k=new ch),this.k},l.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},l.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},l.zh=function(){return(Op(),Tn).S},l.i=0,l.j=1,O(_n,"EObjectImpl",506),M(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},Ube),l.Ch=function(t){return this.e[t]},l.Dh=function(t,n){this.e[t]=n},l.Eh=function(t){this.e[t]=null},l.Tg=function(){return this.d},l.Yg=function(t){return Zi(this.d,t)},l.$g=function(){return this.d},l.dh=function(){return this.e!=null},l.ph=function(){return!this.k&&(this.k=new SB),this.k},l.th=function(t){this.d=t},l.yh=function(){var t;return this.e==null&&(t=Zn(this.d),this.e=t==0?b3t:Ie(Xn,_t,1,t,5,1)),this},l.Ah=function(){return 0};var b3t;O(_n,"DynamicEObjectImpl",780),M(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},iKe),l.Fb=function(t){return this===t},l.Hb=function(){return kv(this)},l.th=function(t){this.d=t,this.b=WD(t,"key"),this.c=WD(t,IC)},l.Sh=function(){var t;return this.a==-1&&(t=mre(this,this.b),this.a=t==null?0:Yi(t)),this.a},l.cd=function(){return mre(this,this.b)},l.dd=function(){return mre(this,this.c)},l.Th=function(t){this.a=t},l.Uh=function(t){Uve(this,this.b,t)},l.ed=function(t){var n;return n=mre(this,this.c),Uve(this,this.c,t),n},l.a=0,O(_n,"DynamicEObjectImpl/BasicEMapEntry",1376),M(1377,1,{108:1},SB),l.bk=function(t){throw ee(new Rr)},l.Ch=function(t){throw ee(new Rr)},l.Dh=function(t,n){throw ee(new Rr)},l.Eh=function(t){throw ee(new Rr)},l.ck=function(){throw ee(new Rr)},l.dk=function(){return this.a},l.ek=function(){return this.b},l.fk=function(){return this.c},l.gk=function(){throw ee(new Rr)},l.hk=function(t){throw ee(new Rr)},l.ik=function(t){this.a=t},l.jk=function(t){this.b=t},l.kk=function(t){this.c=t},O(_n,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),M(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},AB),l.Qg=function(t){return h3e(this,t)},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Al((cn(),co),wc,this)),this.b):(!this.b&&(this.b=new Al((cn(),co),wc,this)),UM(this.b));case 3:return AYe(this);case 4:return!this.a&&(this.a=new Ns(b2,this,4)),this.a;case 5:return!this.c&&(this.c=new R3(b2,this,5)),this.c}return ph(this,t-Zn((cn(),Vg)),bn((i=u(Cn(this,16),26),i||Vg),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 3:return this.Cb&&(r=(a=this.Db>>16,a>=0?h3e(this,r):this.Cb.ih(this,-1-a,null,r))),cve(this,u(t,147),r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Vg)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Vg)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 2:return!this.b&&(this.b=new Al((cn(),co),wc,this)),QR(this.b,t,r);case 3:return cve(this,null,r);case 4:return!this.a&&(this.a=new Ns(b2,this,4)),Qa(this.a,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Vg)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Vg)),t,r)},l.lh=function(t){var n;switch(t){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!!AYe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return dh(this,t-Zn((cn(),Vg)),bn((n=u(Cn(this,16),26),n||Vg),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:kYt(this,Hr(n));return;case 2:!this.b&&(this.b=new Al((cn(),co),wc,this)),j$(this.b,n);return;case 3:qat(this,u(n,147));return;case 4:!this.a&&(this.a=new Ns(b2,this,4)),_r(this.a),!this.a&&(this.a=new Ns(b2,this,4)),ds(this.a,u(n,14));return;case 5:!this.c&&(this.c=new R3(b2,this,5)),_r(this.c),!this.c&&(this.c=new R3(b2,this,5)),ds(this.c,u(n,14));return}yh(this,t-Zn((cn(),Vg)),bn((r=u(Cn(this,16),26),r||Vg),t),n)},l.zh=function(){return cn(),Vg},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:fme(this,null);return;case 2:!this.b&&(this.b=new Al((cn(),co),wc,this)),this.b.c.$b();return;case 3:qat(this,null);return;case 4:!this.a&&(this.a=new Ns(b2,this,4)),_r(this.a);return;case 5:!this.c&&(this.c=new R3(b2,this,5)),_r(this.c);return}wh(this,t-Zn((cn(),Vg)),bn((n=u(Cn(this,16),26),n||Vg),t))},l.Ib=function(){return snt(this)},l.d=null,O(_n,"EAnnotationImpl",510),M(151,705,q8e,Il),l.Xh=function(t,n){rVt(this,t,u(n,42))},l.lk=function(t,n){return QUt(this,u(t,42),n)},l.pi=function(t){return u(u(this.c,69).pi(t),133)},l.Zh=function(){return u(this.c,69).Zh()},l.$h=function(){return u(this.c,69).$h()},l._h=function(t){return u(this.c,69)._h(t)},l.mk=function(t,n){return QR(this,t,n)},l.Wj=function(t){return u(this.c,76).Wj(t)},l.rj=function(){},l.fj=function(){return u(this.c,76).fj()},l.tj=function(t,n,r){var i;return i=u(ql(this.b).Nh().Jh(this.b),133),i.Th(t),i.Uh(n),i.ed(r),i},l.uj=function(){return new Dge(this)},l.Wb=function(t){j$(this,t)},l.Xj=function(){u(this.c,76).Xj()},O(Ui,"EcoreEMap",151),M(158,151,q8e,Al),l.qj=function(){var t,n,r,i,a,h;if(this.d==null){for(h=Ie(tAe,G8e,63,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)n=u(r.nj(),133),i=n.Sh(),a=(i&xi)%h.length,t=h[a],!t&&(t=h[a]=new Dge(this)),t.Fc(n);this.d=h}},O(_n,"EAnnotationImpl/1",158),M(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),!!this.$j();case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r)}return a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r)},l.lh=function(t){var n,r;switch(t){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.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0)}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:this.Lh(Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:this.ok(u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),g3t},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:this.Lh(null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:this.ok(1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){Rh(this),this.Bb|=1},l.Yj=function(){return Rh(this)},l.Zj=function(){return this.t},l.$j=function(){var t;return t=this.t,t>1||t==-1},l.hi=function(){return(this.Bb&512)!=0},l.nk=function(t,n){return aye(this,t,n)},l.ok=function(t){Vm(this,t)},l.Ib=function(){return v4e(this)},l.s=0,l.t=1,O(_n,"ETypedElementImpl",284),M(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),l.Qg=function(t){return Hrt(this,t)},l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),!!this.$j();case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return In(),!!(this.Bb&_f);case 11:return In(),!!(this.Bb&my);case 12:return In(),!!(this.Bb&hy);case 13:return this.j;case 14:return u7(this);case 15:return In(),!!(this.Bb&Yu);case 16:return In(),!!(this.Bb&md);case 17:return Bm(this)}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 17:return this.Cb&&(r=(a=this.Db>>16,a>=0?Hrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,17,r)}return h=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),h.Nj().Qj(this,uu(this),n-Zn(this.zh()),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r);case 17:return Yl(this,null,17,r)}return a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r)},l.lh=function(t){var n,r;switch(t){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.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&my)!=0;case 12:return(this.Bb&hy)!=0;case 13:return this.j!=null;case 14:return u7(this)!=null;case 15:return(this.Bb&Yu)!=0;case 16:return(this.Bb&md)!=0;case 17:return!!Bm(this)}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Vne(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:this.ok(u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 10:Ux(this,Bt(Nt(n)));return;case 11:Yx(this,Bt(Nt(n)));return;case 12:Kx(this,Bt(Nt(n)));return;case 13:c2e(this,Hr(n));return;case 15:Wx(this,Bt(Nt(n)));return;case 16:Xx(this,Bt(Nt(n)));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),d3t},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,88)&&ny(dl(u(this.Cb,88)),4),nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:this.ok(1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 10:Ux(this,!0);return;case 11:Yx(this,!1);return;case 12:Kx(this,!1);return;case 13:this.i=null,M$(this,null);return;case 15:Wx(this,!1);return;case 16:Xx(this,!1);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.Gh=function(){fx(No((Uu(),Oa),this)),Rh(this),this.Bb|=1},l.Gj=function(){return this.f},l.zj=function(){return u7(this)},l.Hj=function(){return Bm(this)},l.Lj=function(){return null},l.pk=function(){return this.k},l.aj=function(){return this.n},l.Mj=function(){return CH(this)},l.Nj=function(){var t,n,r,i,a,h,d,v,x;return this.p||(r=Bm(this),(r.i==null&&wd(r),r.i).length,i=this.Lj(),i&&Zn(Bm(i)),a=Rh(this),d=a.Bj(),t=d?d.i&1?d==El?Vs:d==Sr?Ja:d==Wy?$7:d==va?ka:d==E2?gw:d==i5?pw:d==Qu?bk:GC:d:null,n=u7(this),v=a.zj(),tsn(this),this.Bb&md&&((h=w3e((Uu(),Oa),r))&&h!=this||(h=P6(No(Oa,this))))?this.p=new VGe(this,h):this.$j()?this.rk()?i?this.Bb&Yu?t?this.sk()?this.p=new V2(47,t,this,i):this.p=new V2(5,t,this,i):this.sk()?this.p=new W2(46,this,i):this.p=new W2(4,this,i):t?this.sk()?this.p=new V2(49,t,this,i):this.p=new V2(7,t,this,i):this.sk()?this.p=new W2(48,this,i):this.p=new W2(6,this,i):this.Bb&Yu?t?t==Eb?this.p=new vg(50,Yyt,this):this.sk()?this.p=new vg(43,t,this):this.p=new vg(1,t,this):this.sk()?this.p=new mg(42,this):this.p=new mg(0,this):t?t==Eb?this.p=new vg(41,Yyt,this):this.sk()?this.p=new vg(45,t,this):this.p=new vg(3,t,this):this.sk()?this.p=new mg(44,this):this.p=new mg(2,this):me(a,148)?t==NV?this.p=new mg(40,this):this.Bb&512?this.Bb&Yu?t?this.p=new vg(9,t,this):this.p=new mg(8,this):t?this.p=new vg(11,t,this):this.p=new mg(10,this):this.Bb&Yu?t?this.p=new vg(13,t,this):this.p=new mg(12,this):t?this.p=new vg(15,t,this):this.p=new mg(14,this):i?(x=i.t,x>1||x==-1?this.sk()?this.Bb&Yu?t?this.p=new V2(25,t,this,i):this.p=new W2(24,this,i):t?this.p=new V2(27,t,this,i):this.p=new W2(26,this,i):this.Bb&Yu?t?this.p=new V2(29,t,this,i):this.p=new W2(28,this,i):t?this.p=new V2(31,t,this,i):this.p=new W2(30,this,i):this.sk()?this.Bb&Yu?t?this.p=new V2(33,t,this,i):this.p=new W2(32,this,i):t?this.p=new V2(35,t,this,i):this.p=new W2(34,this,i):this.Bb&Yu?t?this.p=new V2(37,t,this,i):this.p=new W2(36,this,i):t?this.p=new V2(39,t,this,i):this.p=new W2(38,this,i)):this.sk()?this.Bb&Yu?t?this.p=new vg(17,t,this):this.p=new mg(16,this):t?this.p=new vg(19,t,this):this.p=new mg(18,this):this.Bb&Yu?t?this.p=new vg(21,t,this):this.p=new mg(20,this):t?this.p=new vg(23,t,this):this.p=new mg(22,this):this.qk()?this.sk()?this.p=new IUe(u(a,26),this,i):this.p=new Vve(u(a,26),this,i):me(a,148)?t==NV?this.p=new mg(40,this):this.Bb&Yu?t?this.p=new MKe(n,v,this,(wie(),d==Sr?wAe:d==El?dAe:d==E2?mAe:d==Wy?vAe:d==va?bAe:d==i5?yAe:d==Qu?gAe:d==Sh?pAe:efe)):this.p=new zWe(u(a,148),n,v,this):t?this.p=new LKe(n,v,this,(wie(),d==Sr?wAe:d==El?dAe:d==E2?mAe:d==Wy?vAe:d==va?bAe:d==i5?yAe:d==Qu?gAe:d==Sh?pAe:efe)):this.p=new HWe(u(a,148),n,v,this):this.rk()?i?this.Bb&Yu?this.sk()?this.p=new NUe(u(a,26),this,i):this.p=new Bbe(u(a,26),this,i):this.sk()?this.p=new OUe(u(a,26),this,i):this.p=new Kte(u(a,26),this,i):this.Bb&Yu?this.sk()?this.p=new LVe(u(a,26),this):this.p=new X2e(u(a,26),this):this.sk()?this.p=new AVe(u(a,26),this):this.p=new Ote(u(a,26),this):this.sk()?i?this.Bb&Yu?this.p=new PUe(u(a,26),this,i):this.p=new Nbe(u(a,26),this,i):this.Bb&Yu?this.p=new MVe(u(a,26),this):this.p=new Q2e(u(a,26),this):i?this.Bb&Yu?this.p=new BUe(u(a,26),this,i):this.p=new Pbe(u(a,26),this,i):this.Bb&Yu?this.p=new DVe(u(a,26),this):this.p=new lj(u(a,26),this)),this.p},l.Ij=function(){return(this.Bb&_f)!=0},l.qk=function(){return!1},l.rk=function(){return!1},l.Jj=function(){return(this.Bb&md)!=0},l.Oj=function(){return kre(this)},l.sk=function(){return!1},l.Kj=function(){return(this.Bb&Yu)!=0},l.tk=function(t){this.k=t},l.Lh=function(t){Vne(this,t)},l.Ib=function(){return qH(this)},l.e=!1,l.n=0,O(_n,"EStructuralFeatureImpl",449),M(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},yee),l._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),!!d4e(this);case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return In(),!!(this.Bb&_f);case 11:return In(),!!(this.Bb&my);case 12:return In(),!!(this.Bb&hy);case 13:return this.j;case 14:return u7(this);case 15:return In(),!!(this.Bb&Yu);case 16:return In(),!!(this.Bb&md);case 17:return Bm(this);case 18:return In(),!!(this.Bb&Ec);case 19:return n?jre(this):zQe(this)}return ph(this,t-Zn((cn(),Vy)),bn((i=u(Cn(this,16),26),i||Vy),t),n,r)},l.lh=function(t){var n,r;switch(t){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 d4e(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&my)!=0;case 12:return(this.Bb&hy)!=0;case 13:return this.j!=null;case 14:return u7(this)!=null;case 15:return(this.Bb&Yu)!=0;case 16:return(this.Bb&md)!=0;case 17:return!!Bm(this);case 18:return(this.Bb&Ec)!=0;case 19:return!!zQe(this)}return dh(this,t-Zn((cn(),Vy)),bn((n=u(Cn(this,16),26),n||Vy),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Vne(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:yHe(this,u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 10:Ux(this,Bt(Nt(n)));return;case 11:Yx(this,Bt(Nt(n)));return;case 12:Kx(this,Bt(Nt(n)));return;case 13:c2e(this,Hr(n));return;case 15:Wx(this,Bt(Nt(n)));return;case 16:Xx(this,Bt(Nt(n)));return;case 18:lie(this,Bt(Nt(n)));return}yh(this,t-Zn((cn(),Vy)),bn((r=u(Cn(this,16),26),r||Vy),t),n)},l.zh=function(){return cn(),Vy},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,88)&&ny(dl(u(this.Cb,88)),4),nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:this.b=0,Vm(this,1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 10:Ux(this,!0);return;case 11:Yx(this,!1);return;case 12:Kx(this,!1);return;case 13:this.i=null,M$(this,null);return;case 15:Wx(this,!1);return;case 16:Xx(this,!1);return;case 18:lie(this,!1);return}wh(this,t-Zn((cn(),Vy)),bn((n=u(Cn(this,16),26),n||Vy),t))},l.Gh=function(){jre(this),fx(No((Uu(),Oa),this)),Rh(this),this.Bb|=1},l.$j=function(){return d4e(this)},l.nk=function(t,n){return this.b=0,this.a=null,aye(this,t,n)},l.ok=function(t){yHe(this,t)},l.Ib=function(){var t;return this.Db&64?qH(this):(t=new Oh(qH(this)),t.a+=" (iD: ",gg(t,(this.Bb&Ec)!=0),t.a+=")",t.a)},l.b=0,O(_n,"EAttributeImpl",322),M(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),l.uk=function(t){return t.Tg()==this},l.Qg=function(t){return qie(this,t)},l.Rg=function(t,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=t},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Zv(this);case 4:return this.zj();case 5:return this.F;case 6:return n?ql(this):px(this);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),this.A}return ph(this,t-Zn(this.zh()),bn((i=u(Cn(this,16),26),i||this.zh()),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?qie(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,6,r)}return h=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),h.Nj().Qj(this,uu(this),n-Zn(this.zh()),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),Qa(this.A,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,uu(this),n-Zn(this.zh()),t,r)},l.lh=function(t){var n;switch(t){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!!Zv(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(this);case 7:return!!this.A&&this.A.i!=0}return dh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return}yh(this,t-Zn(this.zh()),bn((r=u(Cn(this,16),26),r||this.zh()),t),n)},l.zh=function(){return cn(),o3t},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return}wh(this,t-Zn(this.zh()),bn((n=u(Cn(this,16),26),n||this.zh()),t))},l.yj=function(){var t;return this.G==-1&&(this.G=(t=ql(this),t?Ag(t.Mh(),this):-1)),this.G},l.zj=function(){return null},l.Aj=function(){return ql(this)},l.vk=function(){return this.v},l.Bj=function(){return Zv(this)},l.Cj=function(){return this.D!=null?this.D:this.B},l.Dj=function(){return this.F},l.wj=function(t){return Bse(this,t)},l.wk=function(t){this.v=t},l.xk=function(t){met(this,t)},l.yk=function(t){this.C=t},l.Lh=function(t){qj(this,t)},l.Ib=function(){return nH(this)},l.C=null,l.D=null,l.G=-1,O(_n,"EClassifierImpl",351),M(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},ML),l.uk=function(t){return FUt(this,t.Tg())},l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Zv(this);case 4:return null;case 5:return this.F;case 6:return n?ql(this):px(this);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),this.A;case 8:return In(),!!(this.Bb&256);case 9:return In(),!!(this.Bb&512);case 10:return Ro(this);case 11:return!this.q&&(this.q=new ot(ef,this,11,10)),this.q;case 12:return g4(this);case 13:return sC(this);case 14:return sC(this),this.r;case 15:return g4(this),this.k;case 16:return r4e(this);case 17:return Hse(this);case 18:return wd(this);case 19:return FH(this);case 20:return g4(this),this.o;case 21:return!this.s&&(this.s=new ot(Bu,this,21,17)),this.s;case 22:return Bc(this);case 23:return Cse(this)}return ph(this,t-Zn((cn(),m2)),bn((i=u(Cn(this,16),26),i||m2),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?qie(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,6,r);case 11:return!this.q&&(this.q=new ot(ef,this,11,10)),ru(this.q,t,r);case 21:return!this.s&&(this.s=new ot(Bu,this,21,17)),ru(this.s,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),m2)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),m2)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),Qa(this.A,t,r);case 11:return!this.q&&(this.q=new ot(ef,this,11,10)),Qa(this.q,t,r);case 21:return!this.s&&(this.s=new ot(Bu,this,21,17)),Qa(this.s,t,r);case 22:return Qa(Bc(this),t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),m2)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),m2)),t,r)},l.lh=function(t){var n;switch(t){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!!Zv(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(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&&Bc(this.u.a).i!=0&&!(this.n&&Oie(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return g4(this).i!=0;case 13:return sC(this).i!=0;case 14:return sC(this),this.r.i!=0;case 15:return g4(this),this.k.i!=0;case 16:return r4e(this).i!=0;case 17:return Hse(this).i!=0;case 18:return wd(this).i!=0;case 19:return FH(this).i!=0;case 20:return g4(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&Oie(this.n);case 23:return Cse(this).i!=0}return dh(this,t-Zn((cn(),m2)),bn((n=u(Cn(this,16),26),n||m2),t))},l.oh=function(t){var n;return n=this.i==null||this.q&&this.q.i!=0?null:WD(this,t),n||N5e(this,t)},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return;case 8:cye(this,Bt(Nt(n)));return;case 9:uye(this,Bt(Nt(n)));return;case 10:cC(Ro(this)),ds(Ro(this),u(n,14));return;case 11:!this.q&&(this.q=new ot(ef,this,11,10)),_r(this.q),!this.q&&(this.q=new ot(ef,this,11,10)),ds(this.q,u(n,14));return;case 21:!this.s&&(this.s=new ot(Bu,this,21,17)),_r(this.s),!this.s&&(this.s=new ot(Bu,this,21,17)),ds(this.s,u(n,14));return;case 22:_r(Bc(this)),ds(Bc(this),u(n,14));return}yh(this,t-Zn((cn(),m2)),bn((r=u(Cn(this,16),26),r||m2),t),n)},l.zh=function(){return cn(),m2},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return;case 8:cye(this,!1);return;case 9:uye(this,!1);return;case 10:this.u&&cC(this.u);return;case 11:!this.q&&(this.q=new ot(ef,this,11,10)),_r(this.q);return;case 21:!this.s&&(this.s=new ot(Bu,this,21,17)),_r(this.s);return;case 22:this.n&&_r(this.n);return}wh(this,t-Zn((cn(),m2)),bn((n=u(Cn(this,16),26),n||m2),t))},l.Gh=function(){var t,n;if(g4(this),sC(this),r4e(this),Hse(this),wd(this),FH(this),Cse(this),k_(eYt(dl(this))),this.s)for(t=0,n=this.s.i;t=0;--n)_e(this,n);return Dye(this,t)},l.Xj=function(){_r(this)},l.oi=function(t,n){return HJe(this,t,n)},O(Ui,"EcoreEList",622),M(496,622,Xo,SM),l.ai=function(){return!1},l.aj=function(){return this.c},l.bj=function(){return!1},l.Fk=function(){return!0},l.hi=function(){return!0},l.li=function(t,n){return n},l.ni=function(){return!1},l.c=0,O(Ui,"EObjectEList",496),M(85,496,Xo,Ns),l.bj=function(){return!0},l.Dk=function(){return!1},l.rk=function(){return!0},O(Ui,"EObjectContainmentEList",85),M(545,85,Xo,$R),l.ci=function(){this.b=!0},l.fj=function(){return this.b},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.b,this.b=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.b=!1},l.b=!1,O(Ui,"EObjectContainmentEList/Unsettable",545),M(1140,545,Xo,SKe),l.ii=function(t,n){var r,i;return r=u(F_(this,t,n),87),Sl(this.e)&&R8(this,new WM(this.a,7,(cn(),c3t),lt(n),(i=r.c,me(i,88)?u(i,26):nf),t)),r},l.jj=function(t,n){return zsn(this,u(t,87),n)},l.kj=function(t,n){return Hsn(this,u(t,87),n)},l.lj=function(t,n,r){return Gcn(this,u(t,87),u(n,87),r)},l.Zi=function(t,n,r,i,a){switch(t){case 3:return p_(this,t,n,r,i,this.i>1);case 5:return p_(this,t,n,r,i,this.i-u(r,15).gc()>0);default:return new N0(this.e,t,this.c,n,r,i,!0)}},l.ij=function(){return!0},l.fj=function(){return Oie(this)},l.Xj=function(){_r(this)},O(_n,"EClassImpl/1",1140),M(1154,1153,z8e),l.ui=function(t){var n,r,i,a,h,d,v;if(r=t.xi(),r!=8){if(i=_an(t),i==0)switch(r){case 1:case 9:{v=t.Bi(),v!=null&&(n=dl(u(v,473)),!n.c&&(n.c=new fm),g$(n.c,t.Ai())),d=t.zi(),d!=null&&(a=u(d,473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),Pr(n.c,u(t.Ai(),26))));break}case 3:{d=t.zi(),d!=null&&(a=u(d,473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),Pr(n.c,u(t.Ai(),26))));break}case 5:{if(d=t.zi(),d!=null)for(h=u(d,14).Kc();h.Ob();)a=u(h.Pb(),473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),Pr(n.c,u(t.Ai(),26)));break}case 4:{v=t.Bi(),v!=null&&(a=u(v,473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),g$(n.c,t.Ai())));break}case 6:{if(v=t.Bi(),v!=null)for(h=u(v,14).Kc();h.Ob();)a=u(h.Pb(),473),a.Bb&1||(n=dl(a),!n.c&&(n.c=new fm),g$(n.c,t.Ai()));break}}this.Hk(i)}},l.Hk=function(t){Aot(this,t)},l.b=63,O(_n,"ESuperAdapter",1154),M(1155,1154,z8e,jje),l.Hk=function(t){ny(this,t)},O(_n,"EClassImpl/10",1155),M(1144,696,Xo),l.Vh=function(t,n){return tse(this,t,n)},l.Wh=function(t){return Trt(this,t)},l.Xh=function(t,n){kD(this,t,n)},l.Yh=function(t){GM(this,t)},l.pi=function(t){return $we(this,t)},l.mi=function(t,n){return yre(this,t,n)},l.lk=function(t,n){throw ee(new Rr)},l.Zh=function(){return new E6(this)},l.$h=function(){return new pM(this)},l._h=function(t){return aD(this,t)},l.mk=function(t,n){throw ee(new Rr)},l.Wj=function(t){return this},l.fj=function(){return this.i!=0},l.Wb=function(t){throw ee(new Rr)},l.Xj=function(){throw ee(new Rr)},O(Ui,"EcoreEList/UnmodifiableEList",1144),M(319,1144,Xo,N3),l.ni=function(){return!1},O(Ui,"EcoreEList/UnmodifiableEList/FastCompare",319),M(1147,319,Xo,ftt),l.Xc=function(t){var n,r,i;if(me(t,170)&&(n=u(t,170),r=n.aj(),r!=-1)){for(i=this.i;r4)if(this.wj(t)){if(this.rk()){if(i=u(t,49),r=i.Ug(),v=r==this.b&&(this.Dk()?i.Og(i.Vg(),u(bn(Tu(this.b),this.aj()).Yj(),26).Bj())==go(u(bn(Tu(this.b),this.aj()),18)).n:-1-i.Vg()==this.aj()),this.Ek()&&!v&&!r&&i.Zg()){for(a=0;a1||i==-1)):!1},l.Dk=function(){var t,n,r;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),r=go(t),!!r):!1},l.Ek=function(){var t,n;return n=bn(Tu(this.b),this.aj()),me(n,99)?(t=u(n,18),(t.Bb&ao)!=0):!1},l.Xc=function(t){var n,r,i,a;if(i=this.Qi(t),i>=0)return i;if(this.Fk()){for(r=0,a=this.Vi();r=0;--t)rI(this,t,this.Oi(t));return this.Wi()},l.Qc=function(t){var n;if(this.Ek())for(n=this.Vi()-1;n>=0;--n)rI(this,n,this.Oi(n));return this.Xi(t)},l.Xj=function(){cC(this)},l.oi=function(t,n){return _Ze(this,t,n)},O(Ui,"DelegatingEcoreEList",742),M(1150,742,U8e,zVe),l.Hi=function(t,n){hUt(this,t,u(n,26))},l.Ii=function(t){sVt(this,u(t,26))},l.Oi=function(t){var n,r;return n=u(_e(Bc(this.a),t),87),r=n.c,me(r,88)?u(r,26):(cn(),nf)},l.Ti=function(t){var n,r;return n=u(iy(Bc(this.a),t),87),r=n.c,me(r,88)?u(r,26):(cn(),nf)},l.Ui=function(t,n){return fon(this,t,u(n,26))},l.ai=function(){return!1},l.Zi=function(t,n,r,i,a){return null},l.Ji=function(){return new Hje(this)},l.Ki=function(){_r(Bc(this.a))},l.Li=function(t){return rnt(this,t)},l.Mi=function(t){var n,r;for(r=t.Kc();r.Ob();)if(n=r.Pb(),!rnt(this,n))return!1;return!0},l.Ni=function(t){var n,r,i;if(me(t,15)&&(i=u(t,15),i.gc()==Bc(this.a).i)){for(n=i.Kc(),r=new ir(this);n.Ob();)if($e(n.Pb())!==$e(br(r)))return!1;return!0}return!1},l.Pi=function(){var t,n,r,i,a;for(r=1,n=new ir(Bc(this.a));n.e!=n.i.gc();)t=u(br(n),87),i=(a=t.c,me(a,88)?u(a,26):(cn(),nf)),r=31*r+(i?kv(i):0);return r},l.Qi=function(t){var n,r,i,a;for(i=0,r=new ir(Bc(this.a));r.e!=r.i.gc();){if(n=u(br(r),87),$e(t)===$e((a=n.c,me(a,88)?u(a,26):(cn(),nf))))return i;++i}return-1},l.Ri=function(){return Bc(this.a).i==0},l.Si=function(){return null},l.Vi=function(){return Bc(this.a).i},l.Wi=function(){var t,n,r,i,a,h;for(h=Bc(this.a).i,a=Ie(Xn,_t,1,h,5,1),r=0,n=new ir(Bc(this.a));n.e!=n.i.gc();)t=u(br(n),87),a[r++]=(i=t.c,me(i,88)?u(i,26):(cn(),nf));return a},l.Xi=function(t){var n,r,i,a,h,d,v;for(v=Bc(this.a).i,t.lengthv&&us(t,v,null),i=0,r=new ir(Bc(this.a));r.e!=r.i.gc();)n=u(br(r),87),h=(d=n.c,me(d,88)?u(d,26):(cn(),nf)),us(t,i++,h);return t},l.Yi=function(){var t,n,r,i,a;for(a=new dg,a.a+="[",t=Bc(this.a),n=0,i=Bc(this.a).i;n>16,a>=0?qie(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,6,r);case 9:return!this.a&&(this.a=new ot(J0,this,9,5)),ru(this.a,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),y2)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),y2)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 6:return Yl(this,null,6,r);case 7:return!this.A&&(this.A=new Hu(pu,this,7)),Qa(this.A,t,r);case 9:return!this.a&&(this.a=new ot(J0,this,9,5)),Qa(this.a,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),y2)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),y2)),t,r)},l.lh=function(t){var n;switch(t){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!!Zv(this);case 4:return!!Wme(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!px(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 dh(this,t-Zn((cn(),y2)),bn((n=u(Cn(this,16),26),n||y2),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:qj(this,Hr(n));return;case 2:yte(this,Hr(n));return;case 5:p7(this,Hr(n));return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A),!this.A&&(this.A=new Hu(pu,this,7)),ds(this.A,u(n,14));return;case 8:X$(this,Bt(Nt(n)));return;case 9:!this.a&&(this.a=new ot(J0,this,9,5)),_r(this.a),!this.a&&(this.a=new ot(J0,this,9,5)),ds(this.a,u(n,14));return}yh(this,t-Zn((cn(),y2)),bn((r=u(Cn(this,16),26),r||y2),t),n)},l.zh=function(){return cn(),y2},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,179)&&(u(this.Cb,179).tb=null),nu(this,null);return;case 2:zx(this,null),Mx(this,this.D);return;case 5:p7(this,null);return;case 7:!this.A&&(this.A=new Hu(pu,this,7)),_r(this.A);return;case 8:X$(this,!0);return;case 9:!this.a&&(this.a=new ot(J0,this,9,5)),_r(this.a);return}wh(this,t-Zn((cn(),y2)),bn((n=u(Cn(this,16),26),n||y2),t))},l.Gh=function(){var t,n;if(this.a)for(t=0,n=this.a.i;t>16==5?u(this.Cb,671):null}return ph(this,t-Zn((cn(),Ug)),bn((i=u(Cn(this,16),26),i||Ug),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 5:return this.Cb&&(r=(a=this.Db>>16,a>=0?Yrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,5,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Ug)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Ug)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 5:return Yl(this,null,5,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Ug)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Ug)),t,r)},l.lh=function(t){var n;switch(t){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,671))}return dh(this,t-Zn((cn(),Ug)),bn((n=u(Cn(this,16),26),n||Ug),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:Cre(this,u(n,19).a);return;case 3:qst(this,u(n,1940));return;case 4:Are(this,Hr(n));return}yh(this,t-Zn((cn(),Ug)),bn((r=u(Cn(this,16),26),r||Ug),t),n)},l.zh=function(){return cn(),Ug},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:Cre(this,0);return;case 3:qst(this,null);return;case 4:Are(this,null);return}wh(this,t-Zn((cn(),Ug)),bn((n=u(Cn(this,16),26),n||Ug),t))},l.Ib=function(){var t;return t=this.c,t??this.zb},l.b=null,l.c=null,l.d=0,O(_n,"EEnumLiteralImpl",573);var vmn=rs(_n,"EFactoryImpl/InternalEDateTimeFormat");M(489,1,{2015:1},HL),O(_n,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),M(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},cv),l.Sg=function(t,n,r){var i;return r=Yl(this,t,n,r),this.e&&me(t,170)&&(i=BH(this,this.e),i!=this.c&&(r=b7(this,i,r))),r},l._g=function(t,n,r){var i;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Ns(Eo,this,1)),this.d;case 2:return n?KH(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?Bie(this):this.a}return ph(this,t-Zn((cn(),Iw)),bn((i=u(Cn(this,16),26),i||Iw),t),n,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return Ktt(this,null,r);case 1:return!this.d&&(this.d=new Ns(Eo,this,1)),Qa(this.d,t,r);case 3:return Utt(this,null,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Iw)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Iw)),t,r)},l.lh=function(t){var n;switch(t){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 dh(this,t-Zn((cn(),Iw)),bn((n=u(Cn(this,16),26),n||Iw),t))},l.sh=function(t,n){var r;switch(t){case 0:dit(this,u(n,87));return;case 1:!this.d&&(this.d=new Ns(Eo,this,1)),_r(this.d),!this.d&&(this.d=new Ns(Eo,this,1)),ds(this.d,u(n,14));return;case 3:S3e(this,u(n,87));return;case 4:q3e(this,u(n,836));return;case 5:_x(this,u(n,138));return}yh(this,t-Zn((cn(),Iw)),bn((r=u(Cn(this,16),26),r||Iw),t),n)},l.zh=function(){return cn(),Iw},l.Bh=function(t){var n;switch(t){case 0:dit(this,null);return;case 1:!this.d&&(this.d=new Ns(Eo,this,1)),_r(this.d);return;case 3:S3e(this,null);return;case 4:q3e(this,null);return;case 5:_x(this,null);return}wh(this,t-Zn((cn(),Iw)),bn((n=u(Cn(this,16),26),n||Iw),t))},l.Ib=function(){var t;return t=new jl(Ef(this)),t.a+=" (expression: ",Vse(this,t),t.a+=")",t.a};var fAe;O(_n,"EGenericTypeImpl",241),M(1969,1964,eG),l.Xh=function(t,n){jVe(this,t,n)},l.lk=function(t,n){return jVe(this,this.gc(),t),n},l.pi=function(t){return n1(this.Gi(),t)},l.Zh=function(){return this.$h()},l.Gi=function(){return new Vje(this)},l.$h=function(){return this._h(0)},l._h=function(t){return this.Gi().Zc(t)},l.mk=function(t,n){return Wm(this,t,!0),n},l.ii=function(t,n){var r,i;return i=Uie(this,n),r=this.Zc(t),r.Rb(i),i},l.ji=function(t,n){var r;Wm(this,n,!0),r=this.Zc(t),r.Rb(n)},O(Ui,"AbstractSequentialInternalEList",1969),M(486,1969,eG,gM),l.pi=function(t){return n1(this.Gi(),t)},l.Zh=function(){return this.b==null?(pg(),pg(),VO):this.Jk()},l.Gi=function(){return new lqe(this.a,this.b)},l.$h=function(){return this.b==null?(pg(),pg(),VO):this.Jk()},l._h=function(t){var n,r;if(this.b==null){if(t<0||t>1)throw ee(new Mo(OC+t+", size=0"));return pg(),pg(),VO}for(r=this.Jk(),n=0;n0;)if(n=this.c[--this.d],(!this.e||n.Gj()!=kE||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(ho(),u(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(i=u(h,15),this.k=i):(i=u(h,69),this.k=this.j=i),me(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?sst(this,this.p):vst(this))return a=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(t=u(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=-3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,this.i=r,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return a=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(t=u(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=-3,!0}},l.Pb=function(){return $$(this)},l.Tb=function(){return this.a},l.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw ee(new yc)},l.Vb=function(){return this.a-1},l.Qb=function(){throw ee(new Rr)},l.Lk=function(){return!1},l.Wb=function(t){throw ee(new Rr)},l.Mk=function(){return!0},l.a=0,l.d=0,l.f=!1,l.g=0,l.n=0,l.o=0;var VO;O(Ui,"EContentsEList/FeatureIteratorImpl",279),M(697,279,tG,Y2e),l.Lk=function(){return!0},O(Ui,"EContentsEList/ResolvingFeatureIteratorImpl",697),M(1157,697,tG,SVe),l.Mk=function(){return!1},O(_n,"ENamedElementImpl/1/1",1157),M(1158,279,tG,CVe),l.Mk=function(){return!1},O(_n,"ENamedElementImpl/1/2",1158),M(36,143,DI,jm,Jne,oa,gre,N0,yf,Jwe,tXe,eme,nXe,Twe,rXe,rme,iXe,_we,sXe,tme,aXe,c_,WM,Dne,nme,oXe,Cwe,cXe),l._i=function(){return Fwe(this)},l.gj=function(){var t;return t=Fwe(this),t?t.zj():null},l.yi=function(t){return this.b==-1&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},l.Ai=function(){return this.c},l.hj=function(){var t;return t=Fwe(this),t?t.Kj():!1},l.b=-1,O(_n,"ENotificationImpl",36),M(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},kee),l.Qg=function(t){return Zrt(this,t)},l._g=function(t,n,r){var i,a,h;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),h=this.t,h>1||h==-1;case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,26):null;case 11:return!this.d&&(this.d=new Hu(pu,this,11)),this.d;case 12:return!this.c&&(this.c=new ot(Dw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new yM(this,this)),this.a;case 14:return gl(this)}return ph(this,t-Zn((cn(),Kg)),bn((i=u(Cn(this,16),26),i||Kg),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?Zrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,10,r);case 12:return!this.c&&(this.c=new ot(Dw,this,12,10)),ru(this.c,t,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Kg)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Kg)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r);case 10:return Yl(this,null,10,r);case 11:return!this.d&&(this.d=new Hu(pu,this,11)),Qa(this.d,t,r);case 12:return!this.c&&(this.c=new ot(Dw,this,12,10)),Qa(this.c,t,r);case 14:return Qa(gl(this),t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Kg)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Kg)),t,r)},l.lh=function(t){var n,r,i;switch(t){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 i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,26));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&gl(this.a.a).i!=0&&!(this.b&&Nie(this.b));case 14:return!!this.b&&Nie(this.b)}return dh(this,t-Zn((cn(),Kg)),bn((n=u(Cn(this,16),26),n||Kg),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:Vm(this,u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 11:!this.d&&(this.d=new Hu(pu,this,11)),_r(this.d),!this.d&&(this.d=new Hu(pu,this,11)),ds(this.d,u(n,14));return;case 12:!this.c&&(this.c=new ot(Dw,this,12,10)),_r(this.c),!this.c&&(this.c=new ot(Dw,this,12,10)),ds(this.c,u(n,14));return;case 13:!this.a&&(this.a=new yM(this,this)),cC(this.a),!this.a&&(this.a=new yM(this,this)),ds(this.a,u(n,14));return;case 14:_r(gl(this)),ds(gl(this),u(n,14));return}yh(this,t-Zn((cn(),Kg)),bn((r=u(Cn(this,16),26),r||Kg),t),n)},l.zh=function(){return cn(),Kg},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:Vm(this,1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 11:!this.d&&(this.d=new Hu(pu,this,11)),_r(this.d);return;case 12:!this.c&&(this.c=new ot(Dw,this,12,10)),_r(this.c);return;case 13:this.a&&cC(this.a);return;case 14:this.b&&_r(this.b);return}wh(this,t-Zn((cn(),Kg)),bn((n=u(Cn(this,16),26),n||Kg),t))},l.Gh=function(){var t,n;if(this.c)for(t=0,n=this.c.i;tv&&us(t,v,null),i=0,r=new ir(gl(this.a));r.e!=r.i.gc();)n=u(br(r),87),h=(d=n.c,d||(cn(),Q1)),us(t,i++,h);return t},l.Yi=function(){var t,n,r,i,a;for(a=new dg,a.a+="[",t=gl(this.a),n=0,i=gl(this.a).i;n1);case 5:return p_(this,t,n,r,i,this.i-u(r,15).gc()>0);default:return new N0(this.e,t,this.c,n,r,i,!0)}},l.ij=function(){return!0},l.fj=function(){return Nie(this)},l.Xj=function(){_r(this)},O(_n,"EOperationImpl/2",1341),M(498,1,{1938:1,498:1},qGe),O(_n,"EPackageImpl/1",498),M(16,85,Xo,ot),l.zk=function(){return this.d},l.Ak=function(){return this.b},l.Dk=function(){return!0},l.b=0,O(Ui,"EObjectContainmentWithInverseEList",16),M(353,16,Xo,T6),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentWithInverseEList/Resolving",353),M(298,353,Xo,Om),l.ci=function(){this.a.tb=null},O(_n,"EPackageImpl/2",298),M(1228,1,{},LB),O(_n,"EPackageImpl/3",1228),M(718,43,w4,Qge),l._b=function(t){return ga(t)?Ine(this,t):!!jo(this.f,t)},O(_n,"EPackageRegistryImpl",718),M(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},xee),l.Qg=function(t){return Jrt(this,t)},l._g=function(t,n,r){var i,a,h;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),h=this.t,h>1||h==-1;case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,59):null}return ph(this,t-Zn((cn(),Uy)),bn((i=u(Cn(this,16),26),i||Uy),t),n,r)},l.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ru(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?Jrt(this,r):this.Cb.ih(this,-1-a,null,r))),Yl(this,t,10,r)}return h=u(bn((i=u(Cn(this,16),26),i||(cn(),Uy)),n),66),h.Nj().Qj(this,uu(this),n-Zn((cn(),Uy)),t,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 9:return vne(this,r);case 10:return Yl(this,null,10,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Uy)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Uy)),t,r)},l.lh=function(t){var n,r,i;switch(t){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 i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,59))}return dh(this,t-Zn((cn(),Uy)),bn((n=u(Cn(this,16),26),n||Uy),t))},l.zh=function(){return cn(),Uy},O(_n,"EParameterImpl",509),M(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},ebe),l._g=function(t,n,r){var i,a,h,d;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return In(),!!(this.Bb&256);case 3:return In(),!!(this.Bb&512);case 4:return lt(this.s);case 5:return lt(this.t);case 6:return In(),d=this.t,d>1||d==-1;case 7:return In(),a=this.s,a>=1;case 8:return n?Rh(this):this.r;case 9:return this.q;case 10:return In(),!!(this.Bb&_f);case 11:return In(),!!(this.Bb&my);case 12:return In(),!!(this.Bb&hy);case 13:return this.j;case 14:return u7(this);case 15:return In(),!!(this.Bb&Yu);case 16:return In(),!!(this.Bb&md);case 17:return Bm(this);case 18:return In(),!!(this.Bb&Ec);case 19:return In(),h=go(this),!!(h&&h.Bb&Ec);case 20:return In(),!!(this.Bb&ao);case 21:return n?go(this):this.b;case 22:return n?Fme(this):MQe(this);case 23:return!this.a&&(this.a=new R3(Gy,this,23)),this.a}return ph(this,t-Zn((cn(),e5)),bn((i=u(Cn(this,16),26),i||e5),t),n,r)},l.lh=function(t){var n,r,i,a;switch(t){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 a=this.t,a>1||a==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Lv(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lv(this.q).i==0);case 10:return(this.Bb&_f)==0;case 11:return(this.Bb&my)!=0;case 12:return(this.Bb&hy)!=0;case 13:return this.j!=null;case 14:return u7(this)!=null;case 15:return(this.Bb&Yu)!=0;case 16:return(this.Bb&md)!=0;case 17:return!!Bm(this);case 18:return(this.Bb&Ec)!=0;case 19:return i=go(this),!!i&&(i.Bb&Ec)!=0;case 20:return(this.Bb&ao)==0;case 21:return!!this.b;case 22:return!!MQe(this);case 23:return!!this.a&&this.a.i!=0}return dh(this,t-Zn((cn(),e5)),bn((n=u(Cn(this,16),26),n||e5),t))},l.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:Vne(this,Hr(n));return;case 2:Cg(this,Bt(Nt(n)));return;case 3:Sg(this,Bt(Nt(n)));return;case 4:Eg(this,u(n,19).a);return;case 5:Vm(this,u(n,19).a);return;case 8:sb(this,u(n,138));return;case 9:i=j1(this,u(n,87),null),i&&i.Fi();return;case 10:Ux(this,Bt(Nt(n)));return;case 11:Yx(this,Bt(Nt(n)));return;case 12:Kx(this,Bt(Nt(n)));return;case 13:c2e(this,Hr(n));return;case 15:Wx(this,Bt(Nt(n)));return;case 16:Xx(this,Bt(Nt(n)));return;case 18:vZt(this,Bt(Nt(n)));return;case 20:gye(this,Bt(Nt(n)));return;case 21:dme(this,u(n,18));return;case 23:!this.a&&(this.a=new R3(Gy,this,23)),_r(this.a),!this.a&&(this.a=new R3(Gy,this,23)),ds(this.a,u(n,14));return}yh(this,t-Zn((cn(),e5)),bn((r=u(Cn(this,16),26),r||e5),t),n)},l.zh=function(){return cn(),e5},l.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:me(this.Cb,88)&&ny(dl(u(this.Cb,88)),4),nu(this,null);return;case 2:Cg(this,!0);return;case 3:Sg(this,!0);return;case 4:Eg(this,0);return;case 5:Vm(this,1);return;case 8:sb(this,null);return;case 9:r=j1(this,null,null),r&&r.Fi();return;case 10:Ux(this,!0);return;case 11:Yx(this,!1);return;case 12:Kx(this,!1);return;case 13:this.i=null,M$(this,null);return;case 15:Wx(this,!1);return;case 16:Xx(this,!1);return;case 18:dye(this,!1),me(this.Cb,88)&&ny(dl(u(this.Cb,88)),2);return;case 20:gye(this,!0);return;case 21:dme(this,null);return;case 23:!this.a&&(this.a=new R3(Gy,this,23)),_r(this.a);return}wh(this,t-Zn((cn(),e5)),bn((n=u(Cn(this,16),26),n||e5),t))},l.Gh=function(){Fme(this),fx(No((Uu(),Oa),this)),Rh(this),this.Bb|=1},l.Lj=function(){return go(this)},l.qk=function(){var t;return t=go(this),!!t&&(t.Bb&Ec)!=0},l.rk=function(){return(this.Bb&Ec)!=0},l.sk=function(){return(this.Bb&ao)!=0},l.nk=function(t,n){return this.c=null,aye(this,t,n)},l.Ib=function(){var t;return this.Db&64?qH(this):(t=new Oh(qH(this)),t.a+=" (containment: ",gg(t,(this.Bb&Ec)!=0),t.a+=", resolveProxies: ",gg(t,(this.Bb&ao)!=0),t.a+=")",t.a)},O(_n,"EReferenceImpl",99),M(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},kZ),l.Fb=function(t){return this===t},l.cd=function(){return this.b},l.dd=function(){return this.c},l.Hb=function(){return kv(this)},l.Uh=function(t){xYt(this,Hr(t))},l.ed=function(t){return lYt(this,Hr(t))},l._g=function(t,n,r){var i;switch(t){case 0:return this.b;case 1:return this.c}return ph(this,t-Zn((cn(),co)),bn((i=u(Cn(this,16),26),i||co),t),n,r)},l.lh=function(t){var n;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return dh(this,t-Zn((cn(),co)),bn((n=u(Cn(this,16),26),n||co),t))},l.sh=function(t,n){var r;switch(t){case 0:EYt(this,Hr(n));return;case 1:lme(this,Hr(n));return}yh(this,t-Zn((cn(),co)),bn((r=u(Cn(this,16),26),r||co),t),n)},l.zh=function(){return cn(),co},l.Bh=function(t){var n;switch(t){case 0:ume(this,null);return;case 1:lme(this,null);return}wh(this,t-Zn((cn(),co)),bn((n=u(Cn(this,16),26),n||co),t))},l.Sh=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:Lg(t)),this.a},l.Th=function(t){this.a=t},l.Ib=function(){var t;return this.Db&64?Ef(this):(t=new Oh(Ef(this)),t.a+=" (key: ",To(t,this.b),t.a+=", value: ",To(t,this.c),t.a+=")",t.a)},l.a=-1,l.b=null,l.c=null;var wc=O(_n,"EStringToStringMapEntryImpl",548),w3t=rs(Ui,"FeatureMap/Entry/Internal");M(565,1,nG),l.Ok=function(t){return this.Pk(u(t,49))},l.Pk=function(t){return this.Ok(t)},l.Fb=function(t){var n,r;return this===t?!0:me(t,72)?(n=u(t,72),n.ak()==this.c?(r=this.dd(),r==null?n.dd()==null:Ci(r,n.dd())):!1):!1},l.ak=function(){return this.c},l.Hb=function(){var t;return t=this.dd(),Yi(this.c)^(t==null?0:Yi(t))},l.Ib=function(){var t,n;return t=this.c,n=ql(t.Hj()).Ph(),t.ne(),(n!=null&&n.length!=0?n+":"+t.ne():t.ne())+"="+this.dd()},O(_n,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),M(776,565,nG,ube),l.Pk=function(t){return new ube(this.c,t)},l.dd=function(){return this.a},l.Qk=function(t,n,r){return jnn(this,t,this.a,n,r)},l.Rk=function(t,n,r){return $nn(this,t,this.a,n,r)},O(_n,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),M(1314,1,{},VGe),l.Pj=function(t,n,r,i,a){var h;return h=u(kx(t,this.b),215),h.nl(this.a).Wj(i)},l.Qj=function(t,n,r,i,a){var h;return h=u(kx(t,this.b),215),h.el(this.a,i,a)},l.Rj=function(t,n,r,i,a){var h;return h=u(kx(t,this.b),215),h.fl(this.a,i,a)},l.Sj=function(t,n,r){var i;return i=u(kx(t,this.b),215),i.nl(this.a).fj()},l.Tj=function(t,n,r,i){var a;a=u(kx(t,this.b),215),a.nl(this.a).Wb(i)},l.Uj=function(t,n,r){return u(kx(t,this.b),215).nl(this.a)},l.Vj=function(t,n,r){var i;i=u(kx(t,this.b),215),i.nl(this.a).Xj()},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),M(89,1,{},vg,V2,mg,W2),l.Pj=function(t,n,r,i,a){var h;if(h=n.Ch(r),h==null&&n.Dh(r,h=rz(this,t)),!a)switch(this.e){case 50:case 41:return u(h,589).sj();case 40:return u(h,215).kl()}return h},l.Qj=function(t,n,r,i,a){var h,d;return d=n.Ch(r),d==null&&n.Dh(r,d=rz(this,t)),h=u(d,69).lk(i,a),h},l.Rj=function(t,n,r,i,a){var h;return h=n.Ch(r),h!=null&&(a=u(h,69).mk(i,a)),a},l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null&&u(i,76).fj()},l.Tj=function(t,n,r,i){var a;a=u(n.Ch(r),76),!a&&n.Dh(r,a=rz(this,t)),a.Wb(i)},l.Uj=function(t,n,r){var i,a;return a=n.Ch(r),a==null&&n.Dh(r,a=rz(this,t)),me(a,76)?u(a,76):(i=u(n.Ch(r),15),new qje(i))},l.Vj=function(t,n,r){var i;i=u(n.Ch(r),76),!i&&n.Dh(r,i=rz(this,t)),i.Xj()},l.b=0,l.e=0,O(_n,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),M(504,1,{}),l.Qj=function(t,n,r,i,a){throw ee(new Rr)},l.Rj=function(t,n,r,i,a){throw ee(new Rr)},l.Uj=function(t,n,r){return new $We(this,t,n,r)};var d0;O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),M(1331,1,Cce,$We),l.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},l.fj=function(){return this.a.Sj(this.c,this.d,this.b)},l.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},l.Xj=function(){this.a.Vj(this.c,this.d,this.b)},l.b=0,O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),M(769,504,{},Vve),l.Pj=function(t,n,r,i,a){return Ise(t,t.eh(),t.Vg())==this.b?this.sk()&&i?bse(t):t.eh():null},l.Qj=function(t,n,r,i,a){var h,d;return t.eh()&&(a=(h=t.Vg(),h>=0?t.Qg(a):t.eh().ih(t,-1-h,null,a))),d=Zi(t.Tg(),this.e),t.Sg(i,d,a)},l.Rj=function(t,n,r,i,a){var h;return h=Zi(t.Tg(),this.e),t.Sg(null,h,a)},l.Sj=function(t,n,r){var i;return i=Zi(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},l.Tj=function(t,n,r,i){var a,h,d,v,x;if(i!=null&&!Bse(this.a,i))throw ee(new $8(rG+(me(i,56)?_3e(u(i,56).Tg()):Ywe(pl(i)))+iG+this.a+"'"));if(a=t.eh(),d=Zi(t.Tg(),this.e),$e(i)!==$e(a)||t.Vg()!=d&&i!=null){if(e7(t,u(i,56)))throw ee(new Dn(DC+t.Ib()));x=null,a&&(x=(h=t.Vg(),h>=0?t.Qg(x):t.eh().ih(t,-1-h,null,x))),v=u(i,49),v&&(x=v.gh(t,Zi(v.Tg(),this.b),null,x)),x=t.Sg(v,d,x),x&&x.Fi()}else t.Lg()&&t.Mg()&&_i(t,new oa(t,1,d,i,i))},l.Vj=function(t,n,r){var i,a,h,d;i=t.eh(),i?(d=(a=t.Vg(),a>=0?t.Qg(null):t.eh().ih(t,-1-a,null,null)),h=Zi(t.Tg(),this.e),d=t.Sg(null,h,d),d&&d.Fi()):t.Lg()&&t.Mg()&&_i(t,new c_(t,1,this.e,null,null))},l.sk=function(){return!1},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),M(1315,769,{},IUe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),M(563,504,{}),l.Pj=function(t,n,r,i,a){var h;return h=n.Ch(r),h==null?this.b:$e(h)===$e(d0)?null:h},l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null&&($e(i)===$e(d0)||!Ci(i,this.b))},l.Tj=function(t,n,r,i){var a,h;t.Lg()&&t.Mg()?(a=(h=n.Ch(r),h==null?this.b:$e(h)===$e(d0)?null:h),i==null?this.c!=null?(n.Dh(r,null),i=this.b):this.b!=null?n.Dh(r,d0):n.Dh(r,null):(this.Sk(i),n.Dh(r,i)),_i(t,this.d.Tk(t,1,this.e,a,i))):i==null?this.c!=null?n.Dh(r,null):this.b!=null?n.Dh(r,d0):n.Dh(r,null):(this.Sk(i),n.Dh(r,i))},l.Vj=function(t,n,r){var i,a;t.Lg()&&t.Mg()?(i=(a=n.Ch(r),a==null?this.b:$e(a)===$e(d0)?null:a),n.Eh(r),_i(t,this.d.Tk(t,1,this.e,i,this.b))):n.Eh(r)},l.Sk=function(t){throw ee(new e$e)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),M(A4,1,{},MB),l.Tk=function(t,n,r,i,a){return new c_(t,n,r,i,a)},l.Uk=function(t,n,r,i,a,h){return new Dne(t,n,r,i,a,h)};var dAe,gAe,pAe,bAe,vAe,wAe,mAe,efe,yAe;O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",A4),M(1332,A4,{},DB),l.Tk=function(t,n,r,i,a){return new Cwe(t,n,r,Bt(Nt(i)),Bt(Nt(a)))},l.Uk=function(t,n,r,i,a,h){return new cXe(t,n,r,Bt(Nt(i)),Bt(Nt(a)),h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),M(1333,A4,{},IB),l.Tk=function(t,n,r,i,a){return new Jwe(t,n,r,u(i,217).a,u(a,217).a)},l.Uk=function(t,n,r,i,a,h){return new tXe(t,n,r,u(i,217).a,u(a,217).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),M(1334,A4,{},w8),l.Tk=function(t,n,r,i,a){return new eme(t,n,r,u(i,172).a,u(a,172).a)},l.Uk=function(t,n,r,i,a,h){return new nXe(t,n,r,u(i,172).a,u(a,172).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),M(1335,A4,{},OB),l.Tk=function(t,n,r,i,a){return new Twe(t,n,r,We(gt(i)),We(gt(a)))},l.Uk=function(t,n,r,i,a,h){return new rXe(t,n,r,We(gt(i)),We(gt(a)),h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),M(1336,A4,{},NB),l.Tk=function(t,n,r,i,a){return new rme(t,n,r,u(i,155).a,u(a,155).a)},l.Uk=function(t,n,r,i,a,h){return new iXe(t,n,r,u(i,155).a,u(a,155).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),M(1337,A4,{},xZ),l.Tk=function(t,n,r,i,a){return new _we(t,n,r,u(i,19).a,u(a,19).a)},l.Uk=function(t,n,r,i,a,h){return new sXe(t,n,r,u(i,19).a,u(a,19).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),M(1338,A4,{},m8),l.Tk=function(t,n,r,i,a){return new tme(t,n,r,u(i,162).a,u(a,162).a)},l.Uk=function(t,n,r,i,a,h){return new aXe(t,n,r,u(i,162).a,u(a,162).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),M(1339,A4,{},y8),l.Tk=function(t,n,r,i,a){return new nme(t,n,r,u(i,184).a,u(a,184).a)},l.Uk=function(t,n,r,i,a,h){return new oXe(t,n,r,u(i,184).a,u(a,184).a,h)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),M(1317,563,{},HWe),l.Sk=function(t){if(!this.a.wj(t))throw ee(new $8(rG+pl(t)+iG+this.a+"'"))},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),M(1318,563,{},LKe),l.Sk=function(t){},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),M(770,563,{}),l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null},l.Tj=function(t,n,r,i){var a,h;t.Lg()&&t.Mg()?(a=!0,h=n.Ch(r),h==null?(a=!1,h=this.b):$e(h)===$e(d0)&&(h=null),i==null?this.c!=null?(n.Dh(r,null),i=this.b):n.Dh(r,d0):(this.Sk(i),n.Dh(r,i)),_i(t,this.d.Uk(t,1,this.e,h,i,!a))):i==null?this.c!=null?n.Dh(r,null):n.Dh(r,d0):(this.Sk(i),n.Dh(r,i))},l.Vj=function(t,n,r){var i,a;t.Lg()&&t.Mg()?(i=!0,a=n.Ch(r),a==null?(i=!1,a=this.b):$e(a)===$e(d0)&&(a=null),n.Eh(r),_i(t,this.d.Uk(t,2,this.e,a,this.b,i))):n.Eh(r)},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),M(1319,770,{},zWe),l.Sk=function(t){if(!this.a.wj(t))throw ee(new $8(rG+pl(t)+iG+this.a+"'"))},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),M(1320,770,{},MKe),l.Sk=function(t){},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),M(398,504,{},lj),l.Pj=function(t,n,r,i,a){var h,d,v,x,T;if(T=n.Ch(r),this.Kj()&&$e(T)===$e(d0))return null;if(this.sk()&&i&&T!=null){if(v=u(T,49),v.kh()&&(x=zp(t,v),v!=x)){if(!Bse(this.a,x))throw ee(new $8(rG+pl(x)+iG+this.a+"'"));n.Dh(r,T=x),this.rk()&&(h=u(x,49),d=v.ih(t,this.b?Zi(v.Tg(),this.b):-1-Zi(t.Tg(),this.e),null,null),!h.eh()&&(d=h.gh(t,this.b?Zi(h.Tg(),this.b):-1-Zi(t.Tg(),this.e),null,d)),d&&d.Fi()),t.Lg()&&t.Mg()&&_i(t,new c_(t,9,this.e,v,x))}return T}else return T},l.Qj=function(t,n,r,i,a){var h,d;return d=n.Ch(r),$e(d)===$e(d0)&&(d=null),n.Dh(r,i),this.bj()?$e(d)!==$e(i)&&d!=null&&(h=u(d,49),a=h.ih(t,Zi(h.Tg(),this.b),null,a)):this.rk()&&d!=null&&(a=u(d,49).ih(t,-1-Zi(t.Tg(),this.e),null,a)),t.Lg()&&t.Mg()&&(!a&&(a=new kp(4)),a.Ei(new c_(t,1,this.e,d,i))),a},l.Rj=function(t,n,r,i,a){var h;return h=n.Ch(r),$e(h)===$e(d0)&&(h=null),n.Eh(r),t.Lg()&&t.Mg()&&(!a&&(a=new kp(4)),this.Kj()?a.Ei(new c_(t,2,this.e,h,null)):a.Ei(new c_(t,1,this.e,h,null))),a},l.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null},l.Tj=function(t,n,r,i){var a,h,d,v,x;if(i!=null&&!Bse(this.a,i))throw ee(new $8(rG+(me(i,56)?_3e(u(i,56).Tg()):Ywe(pl(i)))+iG+this.a+"'"));x=n.Ch(r),v=x!=null,this.Kj()&&$e(x)===$e(d0)&&(x=null),d=null,this.bj()?$e(x)!==$e(i)&&(x!=null&&(a=u(x,49),d=a.ih(t,Zi(a.Tg(),this.b),null,d)),i!=null&&(a=u(i,49),d=a.gh(t,Zi(a.Tg(),this.b),null,d))):this.rk()&&$e(x)!==$e(i)&&(x!=null&&(d=u(x,49).ih(t,-1-Zi(t.Tg(),this.e),null,d)),i!=null&&(d=u(i,49).gh(t,-1-Zi(t.Tg(),this.e),null,d))),i==null&&this.Kj()?n.Dh(r,d0):n.Dh(r,i),t.Lg()&&t.Mg()?(h=new Dne(t,1,this.e,x,i,this.Kj()&&!v),d?(d.Ei(h),d.Fi()):_i(t,h)):d&&d.Fi()},l.Vj=function(t,n,r){var i,a,h,d,v;v=n.Ch(r),d=v!=null,this.Kj()&&$e(v)===$e(d0)&&(v=null),h=null,v!=null&&(this.bj()?(i=u(v,49),h=i.ih(t,Zi(i.Tg(),this.b),null,h)):this.rk()&&(h=u(v,49).ih(t,-1-Zi(t.Tg(),this.e),null,h))),n.Eh(r),t.Lg()&&t.Mg()?(a=new Dne(t,this.Kj()?2:1,this.e,v,null,d),h?(h.Ei(a),h.Fi()):_i(t,a)):h&&h.Fi()},l.bj=function(){return!1},l.rk=function(){return!1},l.sk=function(){return!1},l.Kj=function(){return!1},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),M(564,398,{},Ote),l.rk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),M(1323,564,{},AVe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),M(772,564,{},X2e),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),M(1325,772,{},LVe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),M(640,564,{},Kte),l.bj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),M(1324,640,{},OUe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),M(773,640,{},Bbe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),M(1326,773,{},NUe),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),M(641,398,{},Q2e),l.sk=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),M(1327,641,{},MVe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),M(774,641,{},Nbe),l.bj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),M(1328,774,{},PUe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),M(1321,398,{},DVe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),M(771,398,{},Pbe),l.bj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),M(1322,771,{},BUe),l.Kj=function(){return!0},O(_n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),M(775,565,nG,Dve),l.Pk=function(t){return new Dve(this.a,this.c,t)},l.dd=function(){return this.b},l.Qk=function(t,n,r){return $en(this,t,this.b,r)},l.Rk=function(t,n,r){return Hen(this,t,this.b,r)},O(_n,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),M(1329,1,Cce,qje),l.Wj=function(t){return this.a},l.fj=function(){return me(this.a,95)?u(this.a,95).fj():!this.a.dc()},l.Wb=function(t){this.a.$b(),this.a.Gc(u(t,15))},l.Xj=function(){me(this.a,95)?u(this.a,95).Xj():this.a.$b()},O(_n,"EStructuralFeatureImpl/SettingMany",1329),M(1330,565,nG,XXe),l.Ok=function(t){return new Bte((Bi(),US),this.b.Ih(this.a,t))},l.dd=function(){return null},l.Qk=function(t,n,r){return r},l.Rk=function(t,n,r){return r},O(_n,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),M(642,565,nG,Bte),l.Ok=function(t){return new Bte(this.c,t)},l.dd=function(){return this.a},l.Qk=function(t,n,r){return r},l.Rk=function(t,n,r){return r},O(_n,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),M(391,497,Ld,fm),l.ri=function(t){return Ie(Jh,_t,26,t,0,1)},l.ni=function(){return!1},O(_n,"ESuperAdapter/1",391),M(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},wL),l._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new i_(this,Eo,this)),this.a}return ph(this,t-Zn((cn(),Ow)),bn((i=u(Cn(this,16),26),i||Ow),t),n,r)},l.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new ot(ti,this,0,3)),Qa(this.Ab,t,r);case 2:return!this.a&&(this.a=new i_(this,Eo,this)),Qa(this.a,t,r)}return a=u(bn((i=u(Cn(this,16),26),i||(cn(),Ow)),n),66),a.Nj().Rj(this,uu(this),n-Zn((cn(),Ow)),t,r)},l.lh=function(t){var n;switch(t){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 dh(this,t-Zn((cn(),Ow)),bn((n=u(Cn(this,16),26),n||Ow),t))},l.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab),!this.Ab&&(this.Ab=new ot(ti,this,0,3)),ds(this.Ab,u(n,14));return;case 1:nu(this,Hr(n));return;case 2:!this.a&&(this.a=new i_(this,Eo,this)),_r(this.a),!this.a&&(this.a=new i_(this,Eo,this)),ds(this.a,u(n,14));return}yh(this,t-Zn((cn(),Ow)),bn((r=u(Cn(this,16),26),r||Ow),t),n)},l.zh=function(){return cn(),Ow},l.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new ot(ti,this,0,3)),_r(this.Ab);return;case 1:nu(this,null);return;case 2:!this.a&&(this.a=new i_(this,Eo,this)),_r(this.a);return}wh(this,t-Zn((cn(),Ow)),bn((n=u(Cn(this,16),26),n||Ow),t))},O(_n,"ETypeParameterImpl",444),M(445,85,Xo,i_),l.cj=function(t,n){return Hun(this,u(t,87),n)},l.dj=function(t,n){return zun(this,u(t,87),n)},O(_n,"ETypeParameterImpl/1",445),M(634,43,w4,Eee),l.ec=function(){return new FF(this)},O(_n,"ETypeParameterImpl/2",634),M(556,$1,Ku,FF),l.Fc=function(t){return rUe(this,u(t,87))},l.Gc=function(t){var n,r,i;for(i=!1,r=t.Kc();r.Ob();)n=u(r.Pb(),87),Si(this.a,n,"")==null&&(i=!0);return i},l.$b=function(){il(this.a)},l.Hc=function(t){return Ml(this.a,t)},l.Kc=function(){var t;return t=new ib(new lg(this.a).a),new RF(t)},l.Mc=function(t){return GQe(this,t)},l.gc=function(){return ET(this.a)},O(_n,"ETypeParameterImpl/2/1",556),M(557,1,ba,RF),l.Nb=function(t){La(this,t)},l.Pb=function(){return u(jv(this.a).cd(),87)},l.Ob=function(){return this.a.b},l.Qb=function(){yZe(this.a)},O(_n,"ETypeParameterImpl/2/1/1",557),M(1276,43,w4,N$e),l._b=function(t){return ga(t)?Ine(this,t):!!jo(this.f,t)},l.xc=function(t){var n,r;return n=ga(t)?Gc(this,t):hc(jo(this.f,t)),me(n,837)?(r=u(n,837),n=r._j(),Si(this,u(t,235),n),n):n??(t==null?($ee(),y3t):null)},O(_n,"EValidatorRegistryImpl",1276),M(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},EZ),l.Ih=function(t,n){switch(t.yj()){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 n==null?null:Yo(n);case 25:return Ytn(n);case 27:return ftn(n);case 28:return dtn(n);case 29:return n==null?null:Fqe($S[0],u(n,199));case 41:return n==null?"":xp(u(n,290));case 42:return Yo(n);case 50:return Hr(n);default:throw ee(new Dn(O7+t.ne()+fw))}},l.Jh=function(t){var n,r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue;switch(t.G==-1&&(t.G=(z=ql(t),z?Ag(z.Mh(),t):-1)),t.G){case 0:return r=new yee,r;case 1:return n=new AB,n;case 2:return i=new ML,i;case 4:return a=new jF,a;case 5:return h=new O$e,h;case 6:return d=new r$e,d;case 7:return v=new vF,v;case 10:return T=new b8,T;case 11:return L=new kee,L;case 12:return P=new sYe,P;case 13:return q=new xee,q;case 14:return K=new ebe,K;case 17:return Q=new kZ,Q;case 18:return x=new cv,x;case 19:return ue=new wL,ue;default:throw ee(new Dn(lce+t.zb+fw))}},l.Kh=function(t,n){switch(t.yj()){case 20:return n==null?null:new mpe(n);case 21:return n==null?null:new Ap(n);case 23:case 22:return n==null?null:ean(n);case 26:case 24:return n==null?null:rD(Wl(n,-128,127)<<24>>24);case 25:return h1n(n);case 27:return Fon(n);case 28:return Ron(n);case 29:return aln(n);case 32:case 31:return n==null?null:ty(n);case 38:case 37:return n==null?null:new jge(n);case 40:case 39:return n==null?null:lt(Wl(n,za,xi));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:ob(nz(n));case 49:case 48:return n==null?null:Vx(Wl(n,sG,32767)<<16>>16);case 50:return n;default:throw ee(new Dn(O7+t.ne()+fw))}},O(_n,"EcoreFactoryImpl",1313),M(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},xWe),l.gb=!1,l.hb=!1;var kAe,m3t=!1;O(_n,"EcorePackageImpl",547),M(1184,1,{837:1},TZ),l._j=function(){return oVe(),k3t},O(_n,"EcorePackageImpl/1",1184),M(1193,1,ui,_Z),l.wj=function(t){return me(t,147)},l.xj=function(t){return Ie(HO,_t,147,t,0,1)},O(_n,"EcorePackageImpl/10",1193),M(1194,1,ui,CZ),l.wj=function(t){return me(t,191)},l.xj=function(t){return Ie(Vhe,_t,191,t,0,1)},O(_n,"EcorePackageImpl/11",1194),M(1195,1,ui,SZ),l.wj=function(t){return me(t,56)},l.xj=function(t){return Ie(b2,_t,56,t,0,1)},O(_n,"EcorePackageImpl/12",1195),M(1196,1,ui,AZ),l.wj=function(t){return me(t,399)},l.xj=function(t){return Ie(ef,V8e,59,t,0,1)},O(_n,"EcorePackageImpl/13",1196),M(1197,1,ui,LZ),l.wj=function(t){return me(t,235)},l.xj=function(t){return Ie(c1,_t,235,t,0,1)},O(_n,"EcorePackageImpl/14",1197),M(1198,1,ui,MZ),l.wj=function(t){return me(t,509)},l.xj=function(t){return Ie(Dw,_t,2017,t,0,1)},O(_n,"EcorePackageImpl/15",1198),M(1199,1,ui,PB),l.wj=function(t){return me(t,99)},l.xj=function(t){return Ie(qy,S4,18,t,0,1)},O(_n,"EcorePackageImpl/16",1199),M(1200,1,ui,DZ),l.wj=function(t){return me(t,170)},l.xj=function(t){return Ie(Bu,S4,170,t,0,1)},O(_n,"EcorePackageImpl/17",1200),M(1201,1,ui,IZ),l.wj=function(t){return me(t,472)},l.xj=function(t){return Ie(zy,_t,472,t,0,1)},O(_n,"EcorePackageImpl/18",1201),M(1202,1,ui,OZ),l.wj=function(t){return me(t,548)},l.xj=function(t){return Ie(wc,y1t,548,t,0,1)},O(_n,"EcorePackageImpl/19",1202),M(1185,1,ui,BB),l.wj=function(t){return me(t,322)},l.xj=function(t){return Ie(Gy,S4,34,t,0,1)},O(_n,"EcorePackageImpl/2",1185),M(1203,1,ui,k8),l.wj=function(t){return me(t,241)},l.xj=function(t){return Ie(Eo,F1t,87,t,0,1)},O(_n,"EcorePackageImpl/20",1203),M(1204,1,ui,P9),l.wj=function(t){return me(t,444)},l.xj=function(t){return Ie(pu,_t,836,t,0,1)},O(_n,"EcorePackageImpl/21",1204),M(1205,1,ui,FB),l.wj=function(t){return Tm(t)},l.xj=function(t){return Ie(Vs,Je,476,t,8,1)},O(_n,"EcorePackageImpl/22",1205),M(1206,1,ui,NZ),l.wj=function(t){return me(t,190)},l.xj=function(t){return Ie(Qu,Je,190,t,0,2)},O(_n,"EcorePackageImpl/23",1206),M(1207,1,ui,RB),l.wj=function(t){return me(t,217)},l.xj=function(t){return Ie(bk,Je,217,t,0,1)},O(_n,"EcorePackageImpl/24",1207),M(1208,1,ui,jB),l.wj=function(t){return me(t,172)},l.xj=function(t){return Ie(GC,Je,172,t,0,1)},O(_n,"EcorePackageImpl/25",1208),M(1209,1,ui,PZ),l.wj=function(t){return me(t,199)},l.xj=function(t){return Ie(wG,Je,199,t,0,1)},O(_n,"EcorePackageImpl/26",1209),M(1210,1,ui,B9),l.wj=function(t){return!1},l.xj=function(t){return Ie(jAe,_t,2110,t,0,1)},O(_n,"EcorePackageImpl/27",1210),M(1211,1,ui,dm),l.wj=function(t){return _m(t)},l.xj=function(t){return Ie(ka,Je,333,t,7,1)},O(_n,"EcorePackageImpl/28",1211),M(1212,1,ui,$B),l.wj=function(t){return me(t,58)},l.xj=function(t){return Ie(eAe,fy,58,t,0,1)},O(_n,"EcorePackageImpl/29",1212),M(1186,1,ui,HB),l.wj=function(t){return me(t,510)},l.xj=function(t){return Ie(ti,{3:1,4:1,5:1,1934:1},590,t,0,1)},O(_n,"EcorePackageImpl/3",1186),M(1213,1,ui,BZ),l.wj=function(t){return me(t,573)},l.xj=function(t){return Ie(rAe,_t,1940,t,0,1)},O(_n,"EcorePackageImpl/30",1213),M(1214,1,ui,FZ),l.wj=function(t){return me(t,153)},l.xj=function(t){return Ie(CAe,fy,153,t,0,1)},O(_n,"EcorePackageImpl/31",1214),M(1215,1,ui,F9),l.wj=function(t){return me(t,72)},l.xj=function(t){return Ie(NV,U1t,72,t,0,1)},O(_n,"EcorePackageImpl/32",1215),M(1216,1,ui,zB),l.wj=function(t){return me(t,155)},l.xj=function(t){return Ie($7,Je,155,t,0,1)},O(_n,"EcorePackageImpl/33",1216),M(1217,1,ui,GB),l.wj=function(t){return me(t,19)},l.xj=function(t){return Ie(Ja,Je,19,t,0,1)},O(_n,"EcorePackageImpl/34",1217),M(1218,1,ui,mc),l.wj=function(t){return me(t,290)},l.xj=function(t){return Ie(ixe,_t,290,t,0,1)},O(_n,"EcorePackageImpl/35",1218),M(1219,1,ui,RZ),l.wj=function(t){return me(t,162)},l.xj=function(t){return Ie(gw,Je,162,t,0,1)},O(_n,"EcorePackageImpl/36",1219),M(1220,1,ui,qB),l.wj=function(t){return me(t,83)},l.xj=function(t){return Ie(sxe,_t,83,t,0,1)},O(_n,"EcorePackageImpl/37",1220),M(1221,1,ui,R9),l.wj=function(t){return me(t,591)},l.xj=function(t){return Ie(xAe,_t,591,t,0,1)},O(_n,"EcorePackageImpl/38",1221),M(1222,1,ui,jZ),l.wj=function(t){return!1},l.xj=function(t){return Ie($Ae,_t,2111,t,0,1)},O(_n,"EcorePackageImpl/39",1222),M(1187,1,ui,$Z),l.wj=function(t){return me(t,88)},l.xj=function(t){return Ie(Jh,_t,26,t,0,1)},O(_n,"EcorePackageImpl/4",1187),M(1223,1,ui,j9),l.wj=function(t){return me(t,184)},l.xj=function(t){return Ie(pw,Je,184,t,0,1)},O(_n,"EcorePackageImpl/40",1223),M(1224,1,ui,VB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(_n,"EcorePackageImpl/41",1224),M(1225,1,ui,$9),l.wj=function(t){return me(t,588)},l.xj=function(t){return Ie(nAe,_t,588,t,0,1)},O(_n,"EcorePackageImpl/42",1225),M(1226,1,ui,H9),l.wj=function(t){return!1},l.xj=function(t){return Ie(HAe,Je,2112,t,0,1)},O(_n,"EcorePackageImpl/43",1226),M(1227,1,ui,Gf),l.wj=function(t){return me(t,42)},l.xj=function(t){return Ie(Eb,oz,42,t,0,1)},O(_n,"EcorePackageImpl/44",1227),M(1188,1,ui,mL),l.wj=function(t){return me(t,138)},l.xj=function(t){return Ie(u1,_t,138,t,0,1)},O(_n,"EcorePackageImpl/5",1188),M(1189,1,ui,yL),l.wj=function(t){return me(t,148)},l.xj=function(t){return Ie(Qhe,_t,148,t,0,1)},O(_n,"EcorePackageImpl/6",1189),M(1190,1,ui,X5),l.wj=function(t){return me(t,457)},l.xj=function(t){return Ie(OV,_t,671,t,0,1)},O(_n,"EcorePackageImpl/7",1190),M(1191,1,ui,HZ),l.wj=function(t){return me(t,573)},l.xj=function(t){return Ie(J0,_t,678,t,0,1)},O(_n,"EcorePackageImpl/8",1191),M(1192,1,ui,zZ),l.wj=function(t){return me(t,471)},l.xj=function(t){return Ie(jS,_t,471,t,0,1)},O(_n,"EcorePackageImpl/9",1192),M(1025,1982,m1t,Z$e),l.bi=function(t,n){Cin(this,u(n,415))},l.fi=function(t,n){gst(this,t,u(n,415))},O(_n,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),M(1026,143,DI,dWe),l.Ai=function(){return this.a.a},O(_n,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),M(1053,1052,{},Lqe),O("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var xAe=rs(K1t,"Resource");M(781,1378,W1t),l.Yk=function(t){},l.Zk=function(t){},l.Vk=function(){return!this.a&&(this.a=new pee(this)),this.a},l.Wk=function(t){var n,r,i,a,h;if(i=t.length,i>0)if(zr(0,t.length),t.charCodeAt(0)==47){for(h=new tu(4),a=1,n=1;n0&&(t=t.substr(0,r)));return Whn(this,t)},l.Xk=function(){return this.c},l.Ib=function(){var t;return xp(this.gm)+"@"+(t=Yi(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},l.b=!1,O(Sce,"ResourceImpl",781),M(1379,781,W1t,Uje),O(Sce,"BinaryResourceImpl",1379),M(1169,694,kce),l.si=function(t){return me(t,56)?LQt(this,u(t,56)):me(t,591)?new ir(u(t,591).Vk()):$e(t)===$e(this.f)?u(t,14).Kc():(nx(),qO.a)},l.Ob=function(){return b4e(this)},l.a=!1,O(Ui,"EcoreUtil/ContentTreeIterator",1169),M(1380,1169,kce,qKe),l.si=function(t){return $e(t)===$e(this.f)?u(t,15).Kc():new SXe(u(t,56))},O(Sce,"ResourceImpl/5",1380),M(648,1994,B1t,pee),l.Hc=function(t){return this.i<=4?n7(this,t):me(t,49)&&u(t,49).Zg()==this.a},l.bi=function(t,n){t==this.i-1&&(this.a.b||(this.a.b=!0))},l.di=function(t,n){t==0?this.a.b||(this.a.b=!0):ure(this,t,n)},l.fi=function(t,n){},l.gi=function(t,n,r){},l.aj=function(){return 2},l.Ai=function(){return this.a},l.bj=function(){return!0},l.cj=function(t,n){var r;return r=u(t,49),n=r.wh(this.a,n),n},l.dj=function(t,n){var r;return r=u(t,49),r.wh(null,n)},l.ej=function(){return!1},l.hi=function(){return!0},l.ri=function(t){return Ie(b2,_t,56,t,0,1)},l.ni=function(){return!1},O(Sce,"ResourceImpl/ContentsEList",648),M(957,1964,k7,Vje),l.Zc=function(t){return this.a._h(t)},l.gc=function(){return this.a.gc()},O(Ui,"AbstractSequentialInternalEList/1",957);var EAe,TAe,Oa,_Ae;M(624,1,{},UUe);var PV,BV;O(Ui,"BasicExtendedMetaData",624),M(1160,1,{},UGe),l.$k=function(){return null},l._k=function(){return this.a==-2&&ug(this,tln(this.d,this.b)),this.a},l.al=function(){return null},l.bl=function(){return fn(),fn(),bo},l.ne=function(){return this.c==B7&&E3(this,Vnt(this.d,this.b)),this.c},l.cl=function(){return 0},l.a=-2,l.c=B7,O(Ui,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),M(1161,1,{},dXe),l.$k=function(){return this.a==(mx(),PV)&&_ge(this,vdn(this.f,this.b)),this.a},l._k=function(){return 0},l.al=function(){return this.c==(mx(),PV)&&ZJ(this,wdn(this.f,this.b)),this.c},l.bl=function(){return!this.d&&JJ(this,vgn(this.f,this.b)),this.d},l.ne=function(){return this.e==B7&&CF(this,Vnt(this.f,this.b)),this.e},l.cl=function(){return this.g==-2&&SF(this,yun(this.f,this.b)),this.g},l.e=B7,l.g=-2,O(Ui,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),M(1159,1,{},WGe),l.b=!1,l.c=!1,O(Ui,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),M(1162,1,{},fXe),l.c=-2,l.e=B7,l.f=B7,O(Ui,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),M(585,622,Xo,nj),l.aj=function(){return this.c},l.Fk=function(){return!1},l.li=function(t,n){return n},l.c=0,O(Ui,"EDataTypeEList",585);var CAe=rs(Ui,"FeatureMap");M(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},gs),l.Vc=function(t,n){ddn(this,t,u(n,72))},l.Fc=function(t){return I1n(this,u(t,72))},l.Yh=function(t){wXt(this,u(t,72))},l.cj=function(t,n){return ZUt(this,u(t,72),n)},l.dj=function(t,n){return Ebe(this,u(t,72),n)},l.ii=function(t,n){return Pgn(this,t,n)},l.li=function(t,n){return gbn(this,t,u(n,72))},l._c=function(t,n){return r0n(this,t,u(n,72))},l.jj=function(t,n){return JUt(this,u(t,72),n)},l.kj=function(t,n){return vUe(this,u(t,72),n)},l.lj=function(t,n,r){return run(this,u(t,72),u(n,72),r)},l.oi=function(t,n){return Jie(this,t,u(n,72))},l.dl=function(t,n){return i5e(this,t,n)},l.Wc=function(t,n){var r,i,a,h,d,v,x,T,L;for(T=new Rv(n.gc()),a=n.Kc();a.Ob();)if(i=u(a.Pb(),72),h=i.ak(),G0(this.e,h))(!h.hi()||!Qj(this,h,i.dd())&&!n7(T,i))&&Pr(T,i);else{for(L=hu(this.e.Tg(),h),r=u(this.g,119),d=!0,v=0;v=0;)if(n=t[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},O(Ui,"BasicFeatureMap/FeatureEIterator",410),M(662,410,e0,wte),l.Lk=function(){return!0},O(Ui,"BasicFeatureMap/ResolvingFeatureEIterator",662),M(955,486,eG,jqe),l.Gi=function(){return this},O(Ui,"EContentsEList/1",955),M(956,486,eG,lqe),l.Lk=function(){return!1},O(Ui,"EContentsEList/2",956),M(954,279,tG,$qe),l.Nk=function(t){},l.Ob=function(){return!1},l.Sb=function(){return!1},O(Ui,"EContentsEList/FeatureIteratorImpl/1",954),M(825,585,Xo,A2e),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EDataTypeEList/Unsettable",825),M(1849,585,Xo,Wqe),l.hi=function(){return!0},O(Ui,"EDataTypeUniqueEList",1849),M(1850,825,Xo,Yqe),l.hi=function(){return!0},O(Ui,"EDataTypeUniqueEList/Unsettable",1850),M(139,85,Xo,Hu),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentEList/Resolving",139),M(1163,545,Xo,Kqe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentEList/Unsettable/Resolving",1163),M(748,16,Xo,bbe),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EObjectContainmentWithInverseEList/Unsettable",748),M(1173,748,Xo,iUe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),M(743,496,Xo,S2e),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EObjectEList/Unsettable",743),M(328,496,Xo,R3),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectResolvingEList",328),M(1641,743,Xo,Xqe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectResolvingEList/Unsettable",1641),M(1381,1,{},GZ);var y3t;O(Ui,"EObjectValidator",1381),M(546,496,Xo,kj),l.zk=function(){return this.d},l.Ak=function(){return this.b},l.bj=function(){return!0},l.Dk=function(){return!0},l.b=0,O(Ui,"EObjectWithInverseEList",546),M(1176,546,Xo,sUe),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseEList/ManyInverse",1176),M(625,546,Xo,Rte),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EObjectWithInverseEList/Unsettable",625),M(1175,625,Xo,aUe),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),M(749,546,Xo,vbe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectWithInverseResolvingEList",749),M(31,749,Xo,yn),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseResolvingEList/ManyInverse",31),M(750,625,Xo,wbe),l.Ek=function(){return!0},l.li=function(t,n){return ek(this,t,u(n,56))},O(Ui,"EObjectWithInverseResolvingEList/Unsettable",750),M(1174,750,Xo,oUe),l.Ck=function(){return!0},O(Ui,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),M(1164,622,Xo),l.ai=function(){return(this.b&1792)==0},l.ci=function(){this.b|=1},l.Bk=function(){return(this.b&4)!=0},l.bj=function(){return(this.b&40)!=0},l.Ck=function(){return(this.b&16)!=0},l.Dk=function(){return(this.b&8)!=0},l.Ek=function(){return(this.b&my)!=0},l.rk=function(){return(this.b&32)!=0},l.Fk=function(){return(this.b&_f)!=0},l.wj=function(t){return this.d?zXe(this.d,t):this.ak().Yj().wj(t)},l.fj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},l.hi=function(){return(this.b&128)!=0},l.Xj=function(){var t;_r(this),this.b&2&&(Sl(this.e)?(t=(this.b&1)!=0,this.b&=-2,R8(this,new yf(this.e,2,Zi(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},l.ni=function(){return(this.b&1536)==0},l.b=0,O(Ui,"EcoreEList/Generic",1164),M(1165,1164,Xo,QWe),l.ak=function(){return this.a},O(Ui,"EcoreEList/Dynamic",1165),M(747,63,Ld,Dge),l.ri=function(t){return sD(this.a.a,t)},O(Ui,"EcoreEMap/1",747),M(746,85,Xo,bve),l.bi=function(t,n){vH(this.b,u(n,133))},l.di=function(t,n){jet(this.b)},l.ei=function(t,n,r){var i;++(i=this.b,u(n,133),i).e},l.fi=function(t,n){cie(this.b,u(n,133))},l.gi=function(t,n,r){cie(this.b,u(r,133)),$e(r)===$e(n)&&u(r,133).Th(oVt(u(n,133).cd())),vH(this.b,u(n,133))},O(Ui,"EcoreEMap/DelegateEObjectContainmentEList",746),M(1171,151,q8e,XJe),O(Ui,"EcoreEMap/Unsettable",1171),M(1172,746,Xo,cUe),l.ci=function(){this.a=!0},l.fj=function(){return this.a},l.Xj=function(){var t;_r(this),Sl(this.e)?(t=this.a,this.a=!1,_i(this.e,new yf(this.e,2,this.c,t,!1))):this.a=!1},l.a=!1,O(Ui,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),M(1168,228,w4,eWe),l.a=!1,l.b=!1,O(Ui,"EcoreUtil/Copier",1168),M(745,1,ba,SXe),l.Nb=function(t){La(this,t)},l.Ob=function(){return _nt(this)},l.Pb=function(){var t;return _nt(this),t=this.b,this.b=null,t},l.Qb=function(){this.a.Qb()},O(Ui,"EcoreUtil/ProperContentIterator",745),M(1382,1381,{},wF);var k3t;O(Ui,"EcoreValidator",1382);var x3t;rs(Ui,"FeatureMapUtil/Validator"),M(1260,1,{1942:1},qZ),l.rl=function(t){return!0},O(Ui,"FeatureMapUtil/1",1260),M(757,1,{1942:1},O5e),l.rl=function(t){var n;return this.c==t?!0:(n=Nt(Jn(this.a,t)),n==null?Z0n(this,t)?(PQe(this.a,t,(In(),j7)),!0):(PQe(this.a,t,(In(),Tb)),!1):n==(In(),j7))},l.e=!1;var tfe;O(Ui,"FeatureMapUtil/BasicValidator",757),M(758,43,w4,E2e),O(Ui,"FeatureMapUtil/BasicValidator/Cache",758),M(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},fM),l.Vc=function(t,n){eot(this.c,this.b,t,n)},l.Fc=function(t){return i5e(this.c,this.b,t)},l.Wc=function(t,n){return d2n(this.c,this.b,t,n)},l.Gc=function(t){return WT(this,t)},l.Xh=function(t,n){Ntn(this.c,this.b,t,n)},l.lk=function(t,n){return Z4e(this.c,this.b,t,n)},l.pi=function(t){return XH(this.c,this.b,t,!1)},l.Zh=function(){return kqe(this.c,this.b)},l.$h=function(){return Wqt(this.c,this.b)},l._h=function(t){return jen(this.c,this.b,t)},l.mk=function(t,n){return $Ve(this,t,n)},l.$b=function(){l6(this)},l.Hc=function(t){return Qj(this.c,this.b,t)},l.Ic=function(t){return Rnn(this.c,this.b,t)},l.Xb=function(t){return XH(this.c,this.b,t,!0)},l.Wj=function(t){return this},l.Xc=function(t){return XJt(this.c,this.b,t)},l.dc=function(){return LR(this)},l.fj=function(){return!_D(this.c,this.b)},l.Kc=function(){return xtn(this.c,this.b)},l.Yc=function(){return Etn(this.c,this.b)},l.Zc=function(t){return Pin(this.c,this.b,t)},l.ii=function(t,n){return wct(this.c,this.b,t,n)},l.ji=function(t,n){Oen(this.c,this.b,t,n)},l.$c=function(t){return Qit(this.c,this.b,t)},l.Mc=function(t){return mgn(this.c,this.b,t)},l._c=function(t,n){return Tct(this.c,this.b,t,n)},l.Wb=function(t){OH(this.c,this.b),WT(this,u(t,15))},l.gc=function(){return Win(this.c,this.b)},l.Pc=function(){return KZt(this.c,this.b)},l.Qc=function(t){return QJt(this.c,this.b,t)},l.Ib=function(){var t,n;for(n=new dg,n.a+="[",t=kqe(this.c,this.b);Zre(t);)To(n,XT(pH(t))),Zre(t)&&(n.a+=so);return n.a+="]",n.a},l.Xj=function(){OH(this.c,this.b)},O(Ui,"FeatureMapUtil/FeatureEList",501),M(627,36,DI,ere),l.yi=function(t){return P_(this,t)},l.Di=function(t){var n,r,i,a,h,d,v;switch(this.d){case 1:case 2:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.g=t.zi(),t.xi()==1&&(this.d=1),!0;break}case 3:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.d=5,n=new Rv(2),Pr(n,this.g),Pr(n,t.zi()),this.g=n,!0;break}}break}case 5:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return r=u(this.g,14),r.Fc(t.zi()),!0;break}}break}case 4:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break}case 4:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return this.d=6,v=new Rv(2),Pr(v,this.n),Pr(v,t.Bi()),this.n=v,d=ie(ne(Sr,1),Jr,25,15,[this.o,t.Ci()]),this.g=d,!0;break}}break}case 6:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),$e(h)===$e(this.c)&&P_(this,null)==t.yi(null))return r=u(this.n,14),r.Fc(t.Bi()),d=u(this.g,48),i=Ie(Sr,Jr,25,d.length+1,15,1),Rc(d,0,i,0,d.length),i[d.length]=t.Ci(),this.g=i,!0;break}}break}}return!1},O(Ui,"FeatureMapUtil/FeatureENotificationImpl",627),M(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},aj),l.dl=function(t,n){return i5e(this.c,t,n)},l.el=function(t,n,r){return Z4e(this.c,t,n,r)},l.fl=function(t,n,r){return k5e(this.c,t,n,r)},l.gl=function(){return this},l.hl=function(t,n){return nI(this.c,t,n)},l.il=function(t){return u(XH(this.c,this.b,t,!1),72).ak()},l.jl=function(t){return u(XH(this.c,this.b,t,!1),72).dd()},l.kl=function(){return this.a},l.ll=function(t){return!_D(this.c,t)},l.ml=function(t,n){QH(this.c,t,n)},l.nl=function(t){return ret(this.c,t)},l.ol=function(t){Lrt(this.c,t)},O(Ui,"FeatureMapUtil/FeatureFeatureMap",552),M(1259,1,Cce,YGe),l.Wj=function(t){return XH(this.b,this.a,-1,t)},l.fj=function(){return!_D(this.b,this.a)},l.Wb=function(t){QH(this.b,this.a,t)},l.Xj=function(){OH(this.b,this.a)},O(Ui,"FeatureMapUtil/FeatureValue",1259);var jk,nfe,rfe,$k,E3t,UO=rs(uG,"AnyType");M(666,60,q0,Dee),O(uG,"InvalidDatatypeValueException",666);var FV=rs(uG,X1t),KO=rs(uG,Q1t),SAe=rs(uG,Z1t),T3t,_c,AAe,jb,_3t,C3t,S3t,A3t,L3t,M3t,D3t,I3t,O3t,N3t,P3t,t5,B3t,n5,qS,F3t,Nw,WO,YO,R3t,VS,US;M(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Zge),l._g=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new gs(this,0)),this.c):(!this.c&&(this.c=new gs(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)):(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new gs(this,2)),this.b):(!this.b&&(this.b=new gs(this,2)),this.b.b)}return ph(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t),n,r)},l.jh=function(t,n,r){var i;switch(n){case 0:return!this.c&&(this.c=new gs(this,0)),ZD(this.c,t,r);case 1:return(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),69)).mk(t,r);case 2:return!this.b&&(this.b=new gs(this,2)),ZD(this.b,t,r)}return i=u(bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),n),66),i.Nj().Rj(this,Vwe(this),n-Zn(this.zh()),t,r)},l.lh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).dc();case 2:return!!this.b&&this.b.i!=0}return dh(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t))},l.sh=function(t,n){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),DM(this.c,n);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new gs(this,2)),DM(this.b,n);return}yh(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t),n)},l.zh=function(){return Bi(),AAe},l.Bh=function(t){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),_r(this.c);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).$b();return;case 2:!this.b&&(this.b=new gs(this,2)),_r(this.b);return}wh(this,t-Zn(this.zh()),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():this.zh(),t))},l.Ib=function(){var t;return this.j&4?Ef(this):(t=new Oh(Ef(this)),t.a+=" (mixed: ",qT(t,this.c),t.a+=", anyAttribute: ",qT(t,this.b),t.a+=")",t.a)},O(As,"AnyTypeImpl",830),M(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},UB),l._g=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return ph(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t),n,r)},l.lh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return dh(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t))},l.sh=function(t,n){switch(t){case 0:ree(this,Hr(n));return;case 1:Sge(this,Hr(n));return}yh(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t),n)},l.zh=function(){return Bi(),t5},l.Bh=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}wh(this,t-Zn((Bi(),t5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():t5,t))},l.Ib=function(){var t;return this.j&4?Ef(this):(t=new Oh(Ef(this)),t.a+=" (data: ",To(t,this.a),t.a+=", target: ",To(t,this.b),t.a+=")",t.a)},l.a=null,l.b=null,O(As,"ProcessingInstructionImpl",667),M(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},B$e),l._g=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new gs(this,0)),this.c):(!this.c&&(this.c=new gs(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)):(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new gs(this,2)),this.b):(!this.b&&(this.b=new gs(this,2)),this.b.b);case 3:return!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0));case 4:return mbe(this.a,(!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0))));case 5:return this.a}return ph(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t),n,r)},l.lh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0))!=null;case 4:return mbe(this.a,(!this.c&&(this.c=new gs(this,0)),Hr(nI(this.c,(Bi(),qS),!0))))!=null;case 5:return!!this.a}return dh(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t))},l.sh=function(t,n){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),DM(this.c,n);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(u(qc(this.c,(Bi(),jb)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new gs(this,2)),DM(this.b,n);return;case 3:iwe(this,Hr(n));return;case 4:iwe(this,ybe(this.a,n));return;case 5:Sc(this,u(n,148));return}yh(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t),n)},l.zh=function(){return Bi(),n5},l.Bh=function(t){switch(t){case 0:!this.c&&(this.c=new gs(this,0)),_r(this.c);return;case 1:(!this.c&&(this.c=new gs(this,0)),u(qc(this.c,(Bi(),jb)),153)).$b();return;case 2:!this.b&&(this.b=new gs(this,2)),_r(this.b);return;case 3:!this.c&&(this.c=new gs(this,0)),QH(this.c,(Bi(),qS),null);return;case 4:iwe(this,ybe(this.a,null));return;case 5:this.a=null;return}wh(this,t-Zn((Bi(),n5)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():n5,t))},O(As,"SimpleAnyTypeImpl",668),M(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},P$e),l._g=function(t,n,r){switch(t){case 0:return r?(!this.a&&(this.a=new gs(this,0)),this.a):(!this.a&&(this.a=new gs(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new Il((cn(),co),wc,this,1)),this.b):(!this.b&&(this.b=new Il((cn(),co),wc,this,1)),UM(this.b));case 2:return r?(!this.c&&(this.c=new Il((cn(),co),wc,this,2)),this.c):(!this.c&&(this.c=new Il((cn(),co),wc,this,2)),UM(this.c));case 3:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),WO));case 4:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),YO));case 5:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),VS));case 6:return!this.a&&(this.a=new gs(this,0)),qc(this.a,(Bi(),US))}return ph(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t),n,r)},l.jh=function(t,n,r){var i;switch(n){case 0:return!this.a&&(this.a=new gs(this,0)),ZD(this.a,t,r);case 1:return!this.b&&(this.b=new Il((cn(),co),wc,this,1)),QR(this.b,t,r);case 2:return!this.c&&(this.c=new Il((cn(),co),wc,this,2)),QR(this.c,t,r);case 5:return!this.a&&(this.a=new gs(this,0)),$Ve(qc(this.a,(Bi(),VS)),t,r)}return i=u(bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():(Bi(),Nw),n),66),i.Nj().Rj(this,Vwe(this),n-Zn((Bi(),Nw)),t,r)},l.lh=function(t){switch(t){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 gs(this,0)),!LR(qc(this.a,(Bi(),WO)));case 4:return!this.a&&(this.a=new gs(this,0)),!LR(qc(this.a,(Bi(),YO)));case 5:return!this.a&&(this.a=new gs(this,0)),!LR(qc(this.a,(Bi(),VS)));case 6:return!this.a&&(this.a=new gs(this,0)),!LR(qc(this.a,(Bi(),US)))}return dh(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t))},l.sh=function(t,n){switch(t){case 0:!this.a&&(this.a=new gs(this,0)),DM(this.a,n);return;case 1:!this.b&&(this.b=new Il((cn(),co),wc,this,1)),j$(this.b,n);return;case 2:!this.c&&(this.c=new Il((cn(),co),wc,this,2)),j$(this.c,n);return;case 3:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),WO))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,WO),u(n,14));return;case 4:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),YO))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,YO),u(n,14));return;case 5:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),VS))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,VS),u(n,14));return;case 6:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),US))),!this.a&&(this.a=new gs(this,0)),WT(qc(this.a,US),u(n,14));return}yh(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t),n)},l.zh=function(){return Bi(),Nw},l.Bh=function(t){switch(t){case 0:!this.a&&(this.a=new gs(this,0)),_r(this.a);return;case 1:!this.b&&(this.b=new Il((cn(),co),wc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Il((cn(),co),wc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),WO)));return;case 4:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),YO)));return;case 5:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),VS)));return;case 6:!this.a&&(this.a=new gs(this,0)),l6(qc(this.a,(Bi(),US)));return}wh(this,t-Zn((Bi(),Nw)),bn(this.j&2?(!this.k&&(this.k=new ch),this.k).ck():Nw,t))},l.Ib=function(){var t;return this.j&4?Ef(this):(t=new Oh(Ef(this)),t.a+=" (mixed: ",qT(t,this.a),t.a+=")",t.a)},O(As,"XMLTypeDocumentRootImpl",669),M(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},gm),l.Ih=function(t,n){switch(t.yj()){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 n==null?null:Yo(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Hr(n);case 6:return fUt(u(n,190));case 12:case 47:case 49:case 11:return hut(this,t,n);case 13:return n==null?null:Jpn(u(n,240));case 15:case 14:return n==null?null:uXt(We(gt(n)));case 17:return git((Bi(),n));case 18:return git(n);case 21:case 20:return n==null?null:lXt(u(n,155).a);case 27:return dUt(u(n,190));case 30:return Mrt((Bi(),u(n,15)));case 31:return Mrt(u(n,15));case 40:return pUt((Bi(),n));case 42:return pit((Bi(),n));case 43:return pit(n);case 59:case 48:return gUt((Bi(),n));default:throw ee(new Dn(O7+t.ne()+fw))}},l.Jh=function(t){var n,r,i,a,h;switch(t.G==-1&&(t.G=(r=ql(t),r?Ag(r.Mh(),t):-1)),t.G){case 0:return n=new Zge,n;case 1:return i=new UB,i;case 2:return a=new B$e,a;case 3:return h=new P$e,h;default:throw ee(new Dn(lce+t.zb+fw))}},l.Kh=function(t,n){var r,i,a,h,d,v,x,T,L,P,z,q,K,Q,ue,Se;switch(t.yj()){case 5:case 52:case 4:return n;case 6:return Lan(n);case 8:case 7:return n==null?null:bun(n);case 9:return n==null?null:rD(Wl((i=Kc(n,!0),i.length>0&&(zr(0,i.length),i.charCodeAt(0)==43)?i.substr(1):i),-128,127)<<24>>24);case 10:return n==null?null:rD(Wl((a=Kc(n,!0),a.length>0&&(zr(0,a.length),a.charCodeAt(0)==43)?a.substr(1):a),-128,127)<<24>>24);case 11:return Hr(sw(this,(Bi(),S3t),n));case 12:return Hr(sw(this,(Bi(),A3t),n));case 13:return n==null?null:new mpe(Kc(n,!0));case 15:case 14:return F1n(n);case 16:return Hr(sw(this,(Bi(),L3t),n));case 17:return Bnt((Bi(),n));case 18:return Bnt(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Kc(n,!0);case 21:case 20:return U1n(n);case 22:return Hr(sw(this,(Bi(),M3t),n));case 23:return Hr(sw(this,(Bi(),D3t),n));case 24:return Hr(sw(this,(Bi(),I3t),n));case 25:return Hr(sw(this,(Bi(),O3t),n));case 26:return Hr(sw(this,(Bi(),N3t),n));case 27:return Tan(n);case 30:return Fnt((Bi(),n));case 31:return Fnt(n);case 32:return n==null?null:lt(Wl((L=Kc(n,!0),L.length>0&&(zr(0,L.length),L.charCodeAt(0)==43)?L.substr(1):L),za,xi));case 33:return n==null?null:new Ap((P=Kc(n,!0),P.length>0&&(zr(0,P.length),P.charCodeAt(0)==43)?P.substr(1):P));case 34:return n==null?null:lt(Wl((z=Kc(n,!0),z.length>0&&(zr(0,z.length),z.charCodeAt(0)==43)?z.substr(1):z),za,xi));case 36:return n==null?null:ob(nz((q=Kc(n,!0),q.length>0&&(zr(0,q.length),q.charCodeAt(0)==43)?q.substr(1):q)));case 37:return n==null?null:ob(nz((K=Kc(n,!0),K.length>0&&(zr(0,K.length),K.charCodeAt(0)==43)?K.substr(1):K)));case 40:return $sn((Bi(),n));case 42:return Rnt((Bi(),n));case 43:return Rnt(n);case 44:return n==null?null:new Ap((Q=Kc(n,!0),Q.length>0&&(zr(0,Q.length),Q.charCodeAt(0)==43)?Q.substr(1):Q));case 45:return n==null?null:new Ap((ue=Kc(n,!0),ue.length>0&&(zr(0,ue.length),ue.charCodeAt(0)==43)?ue.substr(1):ue));case 46:return Kc(n,!1);case 47:return Hr(sw(this,(Bi(),P3t),n));case 59:case 48:return jsn((Bi(),n));case 49:return Hr(sw(this,(Bi(),B3t),n));case 50:return n==null?null:Vx(Wl((Se=Kc(n,!0),Se.length>0&&(zr(0,Se.length),Se.charCodeAt(0)==43)?Se.substr(1):Se),sG,32767)<<16>>16);case 51:return n==null?null:Vx(Wl((h=Kc(n,!0),h.length>0&&(zr(0,h.length),h.charCodeAt(0)==43)?h.substr(1):h),sG,32767)<<16>>16);case 53:return Hr(sw(this,(Bi(),F3t),n));case 55:return n==null?null:Vx(Wl((d=Kc(n,!0),d.length>0&&(zr(0,d.length),d.charCodeAt(0)==43)?d.substr(1):d),sG,32767)<<16>>16);case 56:return n==null?null:Vx(Wl((v=Kc(n,!0),v.length>0&&(zr(0,v.length),v.charCodeAt(0)==43)?v.substr(1):v),sG,32767)<<16>>16);case 57:return n==null?null:ob(nz((x=Kc(n,!0),x.length>0&&(zr(0,x.length),x.charCodeAt(0)==43)?x.substr(1):x)));case 58:return n==null?null:ob(nz((T=Kc(n,!0),T.length>0&&(zr(0,T.length),T.charCodeAt(0)==43)?T.substr(1):T)));case 60:return n==null?null:lt(Wl((r=Kc(n,!0),r.length>0&&(zr(0,r.length),r.charCodeAt(0)==43)?r.substr(1):r),za,xi));case 61:return n==null?null:lt(Wl(Kc(n,!0),za,xi));default:throw ee(new Dn(O7+t.ne()+fw))}};var j3t,LAe,$3t,MAe;O(As,"XMLTypeFactoryImpl",1919),M(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},kWe),l.N=!1,l.O=!1;var H3t=!1;O(As,"XMLTypePackageImpl",586),M(1852,1,{837:1},Q5),l._j=function(){return f5e(),X3t},O(As,"XMLTypePackageImpl/1",1852),M(1861,1,ui,v1),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/10",1861),M(1862,1,ui,KB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/11",1862),M(1863,1,ui,WB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/12",1863),M(1864,1,ui,YB),l.wj=function(t){return _m(t)},l.xj=function(t){return Ie(ka,Je,333,t,7,1)},O(As,"XMLTypePackageImpl/13",1864),M(1865,1,ui,XB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/14",1865),M(1866,1,ui,QB),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/15",1866),M(1867,1,ui,ZB),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/16",1867),M(1868,1,ui,qf),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/17",1868),M(1869,1,ui,mu),l.wj=function(t){return me(t,155)},l.xj=function(t){return Ie($7,Je,155,t,0,1)},O(As,"XMLTypePackageImpl/18",1869),M(1870,1,ui,VZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/19",1870),M(1853,1,ui,UZ),l.wj=function(t){return me(t,843)},l.xj=function(t){return Ie(UO,_t,843,t,0,1)},O(As,"XMLTypePackageImpl/2",1853),M(1871,1,ui,KZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/20",1871),M(1872,1,ui,yu),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/21",1872),M(1873,1,ui,z9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/22",1873),M(1874,1,ui,JB),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/23",1874),M(1875,1,ui,eF),l.wj=function(t){return me(t,190)},l.xj=function(t){return Ie(Qu,Je,190,t,0,2)},O(As,"XMLTypePackageImpl/24",1875),M(1876,1,ui,Z5),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/25",1876),M(1877,1,ui,WZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/26",1877),M(1878,1,ui,x8),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/27",1878),M(1879,1,ui,YZ),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/28",1879),M(1880,1,ui,tF),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/29",1880),M(1854,1,ui,XZ),l.wj=function(t){return me(t,667)},l.xj=function(t){return Ie(FV,_t,2021,t,0,1)},O(As,"XMLTypePackageImpl/3",1854),M(1881,1,ui,QZ),l.wj=function(t){return me(t,19)},l.xj=function(t){return Ie(Ja,Je,19,t,0,1)},O(As,"XMLTypePackageImpl/30",1881),M(1882,1,ui,G9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/31",1882),M(1883,1,ui,nF),l.wj=function(t){return me(t,162)},l.xj=function(t){return Ie(gw,Je,162,t,0,1)},O(As,"XMLTypePackageImpl/32",1883),M(1884,1,ui,kL),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/33",1884),M(1885,1,ui,q9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/34",1885),M(1886,1,ui,ZZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/35",1886),M(1887,1,ui,JZ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/36",1887),M(1888,1,ui,xL),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/37",1888),M(1889,1,ui,V9),l.wj=function(t){return me(t,15)},l.xj=function(t){return Ie(Eh,fy,15,t,0,1)},O(As,"XMLTypePackageImpl/38",1889),M(1890,1,ui,w1),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/39",1890),M(1855,1,ui,E8),l.wj=function(t){return me(t,668)},l.xj=function(t){return Ie(KO,_t,2022,t,0,1)},O(As,"XMLTypePackageImpl/4",1855),M(1891,1,ui,eJ),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/40",1891),M(1892,1,ui,T8),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/41",1892),M(1893,1,ui,EL),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/42",1893),M(1894,1,ui,B2),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/43",1894),M(1895,1,ui,U9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/44",1895),M(1896,1,ui,TL),l.wj=function(t){return me(t,184)},l.xj=function(t){return Ie(pw,Je,184,t,0,1)},O(As,"XMLTypePackageImpl/45",1896),M(1897,1,ui,Vf),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/46",1897),M(1898,1,ui,K9),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/47",1898),M(1899,1,ui,m1),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/48",1899),M(Xp,1,ui,y1),l.wj=function(t){return me(t,184)},l.xj=function(t){return Ie(pw,Je,184,t,0,1)},O(As,"XMLTypePackageImpl/49",Xp),M(1856,1,ui,tJ),l.wj=function(t){return me(t,669)},l.xj=function(t){return Ie(SAe,_t,2023,t,0,1)},O(As,"XMLTypePackageImpl/5",1856),M(1901,1,ui,nJ),l.wj=function(t){return me(t,162)},l.xj=function(t){return Ie(gw,Je,162,t,0,1)},O(As,"XMLTypePackageImpl/50",1901),M(1902,1,ui,y3),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/51",1902),M(1903,1,ui,_8),l.wj=function(t){return me(t,19)},l.xj=function(t){return Ie(Ja,Je,19,t,0,1)},O(As,"XMLTypePackageImpl/52",1903),M(1857,1,ui,C8),l.wj=function(t){return ga(t)},l.xj=function(t){return Ie(Et,Je,2,t,6,1)},O(As,"XMLTypePackageImpl/6",1857),M(1858,1,ui,W9),l.wj=function(t){return me(t,190)},l.xj=function(t){return Ie(Qu,Je,190,t,0,2)},O(As,"XMLTypePackageImpl/7",1858),M(1859,1,ui,rJ),l.wj=function(t){return Tm(t)},l.xj=function(t){return Ie(Vs,Je,476,t,8,1)},O(As,"XMLTypePackageImpl/8",1859),M(1860,1,ui,J5),l.wj=function(t){return me(t,217)},l.xj=function(t){return Ie(bk,Je,217,t,0,1)},O(As,"XMLTypePackageImpl/9",1860);var Z1,Yg,KS,RV,ge;M(50,60,q0,$r),O(Fg,"RegEx/ParseException",50),M(820,1,{},_L),l.sl=function(t){return tr*16)throw ee(new $r(Ur((jr(),u1t))));r=r*16+a}while(!0);if(this.a!=125)throw ee(new $r(Ur((jr(),l1t))));if(r>F7)throw ee(new $r(Ur((jr(),h1t))));t=r}else{if(a=0,this.c!=0||(a=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(r=a,wi(this),this.c!=0||(a=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));r=r*16+a,t=r}break;case 117:if(i=0,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));n=n*16+i,t=n;break;case 118:if(wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,wi(this),this.c!=0||(i=ub(this.a))<0)throw ee(new $r(Ur((jr(),Bg))));if(n=n*16+i,n>F7)throw ee(new $r(Ur((jr(),"parser.descappe.4"))));t=n;break;case 65:case 90:case 122:throw ee(new $r(Ur((jr(),f1t))))}return t},l.ul=function(t){var n,r;switch(t){case 100:r=(this.e&32)==32?Wp("Nd",!0):(mi(),jV);break;case 68:r=(this.e&32)==32?Wp("Nd",!1):(mi(),BAe);break;case 119:r=(this.e&32)==32?Wp("IsWord",!0):(mi(),TE);break;case 87:r=(this.e&32)==32?Wp("IsWord",!1):(mi(),RAe);break;case 115:r=(this.e&32)==32?Wp("IsSpace",!0):(mi(),Hk);break;case 83:r=(this.e&32)==32?Wp("IsSpace",!1):(mi(),FAe);break;default:throw ee(new ec((n=t,fdt+n.toString(16))))}return r},l.vl=function(t){var n,r,i,a,h,d,v,x,T,L,P,z;for(this.b=1,wi(this),n=null,this.c==0&&this.a==94?(wi(this),t?L=(mi(),mi(),new zl(5)):(n=(mi(),mi(),new zl(4)),Uc(n,0,F7),L=new zl(4))):L=(mi(),mi(),new zl(4)),a=!0;(z=this.c)!=1&&!(z==0&&this.a==93&&!a);){if(a=!1,r=this.a,i=!1,z==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:cy(L,this.ul(r)),i=!0;break;case 105:case 73:case 99:case 67:r=this.Ll(L,r),r<0&&(i=!0);break;case 112:case 80:if(P=g4e(this,r),!P)throw ee(new $r(Ur((jr(),Ece))));cy(L,P),i=!0;break;default:r=this.tl()}else if(z==20){if(d=ex(this.i,58,this.d),d<0)throw ee(new $r(Ur((jr(),R8e))));if(v=!0,Ma(this.i,this.d)==94&&(++this.d,v=!1),h=$l(this.i,this.d,d),x=xZe(h,v,(this.e&512)==512),!x)throw ee(new $r(Ur((jr(),i1t))));if(cy(L,x),i=!0,d+1>=this.j||Ma(this.i,d+1)!=93)throw ee(new $r(Ur((jr(),R8e))));this.d=d+2}if(wi(this),!i)if(this.c!=0||this.a!=45)Uc(L,r,r);else{if(wi(this),(z=this.c)==1)throw ee(new $r(Ur((jr(),Zz))));z==0&&this.a==93?(Uc(L,r,r),Uc(L,45,45)):(T=this.a,z==10&&(T=this.tl()),wi(this),Uc(L,r,T))}(this.e&_f)==_f&&this.c==0&&this.a==44&&wi(this)}if(this.c==1)throw ee(new $r(Ur((jr(),Zz))));return n&&(uC(n,L),L=n),c4(L),oC(L),this.b=0,wi(this),L},l.wl=function(){var t,n,r,i;for(r=this.vl(!1);(i=this.c)!=7;)if(t=this.a,i==0&&(t==45||t==38)||i==4){if(wi(this),this.c!=9)throw ee(new $r(Ur((jr(),a1t))));if(n=this.vl(!1),i==4)cy(r,n);else if(t==45)uC(r,n);else if(t==38)sut(r,n);else throw ee(new ec("ASSERT"))}else throw ee(new $r(Ur((jr(),o1t))));return wi(this),r},l.xl=function(){var t,n;return t=this.a-48,n=(mi(),mi(),new Fne(12,null,t)),!this.g&&(this.g=new HF),$F(this.g,new Ige(t)),wi(this),n},l.yl=function(){return wi(this),mi(),q3t},l.zl=function(){return wi(this),mi(),G3t},l.Al=function(){throw ee(new $r(Ur((jr(),xh))))},l.Bl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Cl=function(){return wi(this),Hrn()},l.Dl=function(){return wi(this),mi(),U3t},l.El=function(){return wi(this),mi(),W3t},l.Fl=function(){var t;if(this.d>=this.j||((t=Ma(this.i,this.d++))&65504)!=64)throw ee(new $r(Ur((jr(),t1t))));return wi(this),mi(),mi(),new Ud(0,t-64)},l.Gl=function(){return wi(this),Tpn()},l.Hl=function(){return wi(this),mi(),Y3t},l.Il=function(){var t;return t=(mi(),mi(),new Ud(0,105)),wi(this),t},l.Jl=function(){return wi(this),mi(),K3t},l.Kl=function(){return wi(this),mi(),V3t},l.Ll=function(t,n){return this.tl()},l.Ml=function(){return wi(this),mi(),NAe},l.Nl=function(){var t,n,r,i,a;if(this.d+1>=this.j)throw ee(new $r(Ur((jr(),Zft))));if(i=-1,n=null,t=Ma(this.i,this.d),49<=t&&t<=57){if(i=t-48,!this.g&&(this.g=new HF),$F(this.g,new Ige(i)),++this.d,Ma(this.i,this.d)!=41)throw ee(new $r(Ur((jr(),kb))));++this.d}else switch(t==63&&--this.d,wi(this),n=F5e(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw ee(new $r(Ur((jr(),kb))));break;default:throw ee(new $r(Ur((jr(),Jft))))}if(wi(this),a=Yv(this),r=null,a.e==2){if(a.em()!=2)throw ee(new $r(Ur((jr(),e1t))));r=a.am(1),a=a.am(0)}if(this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),mi(),mi(),new eJe(i,n,a,r)},l.Ol=function(){return wi(this),mi(),PAe},l.Pl=function(){var t;if(wi(this),t=xj(24,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Ql=function(){var t;if(wi(this),t=xj(20,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Rl=function(){var t;if(wi(this),t=xj(22,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Sl=function(){var t,n,r,i,a;for(t=0,r=0,n=-1;this.d=this.j)throw ee(new $r(Ur((jr(),B8e))));if(n==45){for(++this.d;this.d=this.j)throw ee(new $r(Ur((jr(),B8e))))}if(n==58){if(++this.d,wi(this),i=sWe(Yv(this),t,r),this.c!=7)throw ee(new $r(Ur((jr(),kb))));wi(this)}else if(n==41)++this.d,wi(this),i=sWe(Yv(this),t,r);else throw ee(new $r(Ur((jr(),Qft))));return i},l.Tl=function(){var t;if(wi(this),t=xj(21,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Ul=function(){var t;if(wi(this),t=xj(23,Yv(this)),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Vl=function(){var t,n;if(wi(this),t=this.f++,n=lne(Yv(this),t),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),n},l.Wl=function(){var t;if(wi(this),t=lne(Yv(this),0),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Xl=function(t){return wi(this),this.c==5?(wi(this),fj(t,(mi(),mi(),new Rm(9,t)))):fj(t,(mi(),mi(),new Rm(3,t)))},l.Yl=function(t){var n;return wi(this),n=(mi(),mi(),new KT(2)),this.c==5?(wi(this),fb(n,YS),fb(n,t)):(fb(n,t),fb(n,YS)),n},l.Zl=function(t){return wi(this),this.c==5?(wi(this),mi(),mi(),new Rm(9,t)):(mi(),mi(),new Rm(3,t))},l.a=0,l.b=0,l.c=0,l.d=0,l.e=0,l.f=1,l.g=null,l.j=0,O(Fg,"RegEx/RegexParser",820),M(1824,820,{},F$e),l.sl=function(t){return!1},l.tl=function(){return W4e(this)},l.ul=function(t){return f7(t)},l.vl=function(t){return Qut(this)},l.wl=function(){throw ee(new $r(Ur((jr(),xh))))},l.xl=function(){throw ee(new $r(Ur((jr(),xh))))},l.yl=function(){throw ee(new $r(Ur((jr(),xh))))},l.zl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Al=function(){return wi(this),f7(67)},l.Bl=function(){return wi(this),f7(73)},l.Cl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Dl=function(){throw ee(new $r(Ur((jr(),xh))))},l.El=function(){throw ee(new $r(Ur((jr(),xh))))},l.Fl=function(){return wi(this),f7(99)},l.Gl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Hl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Il=function(){return wi(this),f7(105)},l.Jl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Kl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ll=function(t,n){return cy(t,f7(n)),-1},l.Ml=function(){return wi(this),mi(),mi(),new Ud(0,94)},l.Nl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ol=function(){return wi(this),mi(),mi(),new Ud(0,36)},l.Pl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ql=function(){throw ee(new $r(Ur((jr(),xh))))},l.Rl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Sl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Tl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Ul=function(){throw ee(new $r(Ur((jr(),xh))))},l.Vl=function(){var t;if(wi(this),t=lne(Yv(this),0),this.c!=7)throw ee(new $r(Ur((jr(),kb))));return wi(this),t},l.Wl=function(){throw ee(new $r(Ur((jr(),xh))))},l.Xl=function(t){return wi(this),fj(t,(mi(),mi(),new Rm(3,t)))},l.Yl=function(t){var n;return wi(this),n=(mi(),mi(),new KT(2)),fb(n,t),fb(n,YS),n},l.Zl=function(t){return wi(this),mi(),mi(),new Rm(3,t)};var r5=null,xE=null;O(Fg,"RegEx/ParserForXMLSchema",1824),M(117,1,R7,ov),l.$l=function(t){throw ee(new ec("Not supported."))},l._l=function(){return-1},l.am=function(t){return null},l.bm=function(){return null},l.cm=function(t){},l.dm=function(t){},l.em=function(){return 0},l.Ib=function(){return this.fm(0)},l.fm=function(t){return this.e==11?".":""},l.e=0;var DAe,EE,WS,z3t,IAe,Ky=null,jV,ife=null,OAe,YS,sfe=null,NAe,PAe,BAe,FAe,RAe,G3t,Hk,q3t,V3t,U3t,K3t,TE,W3t,Y3t,wmn=O(Fg,"RegEx/Token",117);M(136,117,{3:1,136:1,117:1},zl),l.fm=function(t){var n,r,i;if(this.e==4)if(this==OAe)r=".";else if(this==jV)r="\\d";else if(this==TE)r="\\w";else if(this==Hk)r="\\s";else{for(i=new dg,i.a+="[",n=0;n0&&(i.a+=","),this.b[n]===this.b[n+1]?To(i,tI(this.b[n])):(To(i,tI(this.b[n])),i.a+="-",To(i,tI(this.b[n+1])));i.a+="]",r=i.a}else if(this==BAe)r="\\D";else if(this==RAe)r="\\W";else if(this==FAe)r="\\S";else{for(i=new dg,i.a+="[^",n=0;n0&&(i.a+=","),this.b[n]===this.b[n+1]?To(i,tI(this.b[n])):(To(i,tI(this.b[n])),i.a+="-",To(i,tI(this.b[n+1])));i.a+="]",r=i.a}return r},l.a=!1,l.c=!1,O(Fg,"RegEx/RangeToken",136),M(584,1,{584:1},Ige),l.a=0,O(Fg,"RegEx/RegexParser/ReferencePosition",584),M(583,1,{3:1,583:1},WHe),l.Fb=function(t){var n;return t==null||!me(t,583)?!1:(n=u(t,583),on(this.b,n.b)&&this.a==n.a)},l.Hb=function(){return Lg(this.b+"/"+z4e(this.a))},l.Ib=function(){return this.c.fm(this.a)},l.a=0,O(Fg,"RegEx/RegularExpression",583),M(223,117,R7,Ud),l._l=function(){return this.a},l.fm=function(t){var n,r,i;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:i="\\"+Fte(this.a&Ss);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:this.a>=ao?(r=(n=this.a>>>0,"0"+n.toString(16)),i="\\v"+$l(r,r.length-6,r.length)):i=""+Fte(this.a&Ss)}break;case 8:this==NAe||this==PAe?i=""+Fte(this.a&Ss):i="\\"+Fte(this.a&Ss);break;default:i=null}return i},l.a=0,O(Fg,"RegEx/Token/CharToken",223),M(309,117,R7,Rm),l.am=function(t){return this.a},l.cm=function(t){this.b=t},l.dm=function(t){this.c=t},l.em=function(){return 1},l.fm=function(t){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.fm(t)+"*";else if(this.c==this.b)n=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.fm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.fm(t)+"{"+this.c+",}";else throw ee(new ec("Token#toString(): CLOSURE "+this.c+so+this.b));else if(this.c<0&&this.b<0)n=this.a.fm(t)+"*?";else if(this.c==this.b)n=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.fm(t)+"{"+this.c+",}?";else throw ee(new ec("Token#toString(): NONGREEDYCLOSURE "+this.c+so+this.b));return n},l.b=0,l.c=0,O(Fg,"RegEx/Token/ClosureToken",309),M(821,117,R7,Tve),l.am=function(t){return t==0?this.a:this.b},l.em=function(){return 2},l.fm=function(t){var n;return this.b.e==3&&this.b.am(0)==this.a?n=this.a.fm(t)+"+":this.b.e==9&&this.b.am(0)==this.a?n=this.a.fm(t)+"+?":n=this.a.fm(t)+(""+this.b.fm(t)),n},O(Fg,"RegEx/Token/ConcatToken",821),M(1822,117,R7,eJe),l.am=function(t){if(t==0)return this.d;if(t==1)return this.b;throw ee(new ec("Internal Error: "+t))},l.em=function(){return this.b?2:1},l.fm=function(t){var n;return this.c>0?n="(?("+this.c+")":this.a.e==8?n="(?("+this.a+")":n="(?"+this.a,this.b?n+=this.d+"|"+this.b+")":n+=this.d+")",n},l.c=0,O(Fg,"RegEx/Token/ConditionToken",1822),M(1823,117,R7,eXe),l.am=function(t){return this.b},l.em=function(){return 1},l.fm=function(t){return"(?"+(this.a==0?"":z4e(this.a))+(this.c==0?"":z4e(this.c))+":"+this.b.fm(t)+")"},l.a=0,l.c=0,O(Fg,"RegEx/Token/ModifierToken",1823),M(822,117,R7,Mve),l.am=function(t){return this.a},l.em=function(){return 1},l.fm=function(t){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.fm(t)+")":n="("+this.a.fm(t)+")";break;case 20:n="(?="+this.a.fm(t)+")";break;case 21:n="(?!"+this.a.fm(t)+")";break;case 22:n="(?<="+this.a.fm(t)+")";break;case 23:n="(?"+this.a.fm(t)+")"}return n},l.b=0,O(Fg,"RegEx/Token/ParenToken",822),M(521,117,{3:1,117:1,521:1},Fne),l.bm=function(){return this.b},l.fm=function(t){return this.e==12?"\\"+this.a:Ifn(this.b)},l.a=0,O(Fg,"RegEx/Token/StringToken",521),M(465,117,R7,KT),l.$l=function(t){fb(this,t)},l.am=function(t){return u(Av(this.a,t),117)},l.em=function(){return this.a?this.a.a.c.length:0},l.fm=function(t){var n,r,i,a,h;if(this.e==1){if(this.a.a.c.length==2)n=u(Av(this.a,0),117),r=u(Av(this.a,1),117),r.e==3&&r.am(0)==n?a=n.fm(t)+"+":r.e==9&&r.am(0)==n?a=n.fm(t)+"+?":a=n.fm(t)+(""+r.fm(t));else{for(h=new dg,i=0;i=this.c.b:this.a<=this.c.b},l.Sb=function(){return this.b>0},l.Tb=function(){return this.b},l.Vb=function(){return this.b-1},l.Qb=function(){throw ee(new fg(mdt))},l.a=0,l.b=0,O(rxe,"ExclusiveRange/RangeIterator",254);var Sh=lx(Jz,"C"),Sr=lx(FC,"I"),El=lx(nk,"Z"),E2=lx(RC,"J"),Qu=lx(NC,"B"),va=lx(PC,"D"),Wy=lx(BC,"F"),i5=lx(jC,"S"),mmn=rs("org.eclipse.elk.core.labels","ILabelManager"),jAe=rs(Za,"DiagnosticChain"),$Ae=rs(K1t,"ResourceSet"),HAe=O(Za,"InvocationTargetException",null),Q3t=(UF(),len),Z3t=Z3t=Jcn;snn(Zzt),Dnn("permProps",[[[fG,dG],[gG,"gecko1_8"]],[[fG,dG],[gG,"ie10"]],[[fG,dG],[gG,"ie8"]],[[fG,dG],[gG,"ie9"]],[[fG,dG],[gG,"safari"]]]),Z3t(null,"elk",null)}).call(this)}).call(this,typeof g0<"u"?g0:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(f,p,w){function k(B,F){if(!(B instanceof F))throw new TypeError("Cannot call a class as a function")}function b(B,F){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:B}function _(B,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);B.prototype=Object.create(F&&F.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(B,F):B.__proto__=F)}var A=f("./elk-api.js").default,N=function(B){_(F,B);function F(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};k(this,F);var j=Object.assign({},H),V=!1;try{f.resolve("web-worker"),V=!0}catch{}if(H.workerUrl)if(V){var Z=f("web-worker");j.workerFactory=function(ce){return new Z(ce)}}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(!j.workerFactory){var ae=f("./elk-worker.min.js"),le=ae.Worker;j.workerFactory=function(ce){return new le(ce)}}return b(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,j))}return F}(A);Object.defineProperty(p.exports,"__esModule",{value:!0}),p.exports=N,N.default=N},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(f,p,w){p.exports=Worker},{}]},{},[3])(3)})})(LHt);const MHt=GAe(ige),GFe=new MHt,nm={},DHt={};let D5={};const IHt=function(s,o,f,p,w,k,b){const _=f.select(`[id="${o}"]`),A=_.insert("g").attr("class","nodes");return Object.keys(s).forEach(function(B){const F=s[B];let H="default";F.classes.length>0&&(H=F.classes.join(" "));const j=qw(F.styles);let V=F.text!==void 0?F.text:F.id,Z;const ae={width:0,height:0};if(l1(Pt().flowchart.htmlLabels)){const re={label:V.replace(/fa[blrs]?:fa-[\w-]+/g,ke=>``)};Z=JK(_,re).node();const we=Z.getBBox();ae.width=we.width,ae.height=we.height,ae.labelNode=Z,Z.parentNode.removeChild(Z)}else{const re=p.createElementNS("http://www.w3.org/2000/svg","text");re.setAttribute("style",j.labelStyle.replace("color:","fill:"));const we=V.split(xa.lineBreakRegex);for(const he of we){const De=p.createElementNS("http://www.w3.org/2000/svg","tspan");De.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),De.setAttribute("dy","1em"),De.setAttribute("x","1"),De.textContent=he,re.appendChild(De)}Z=re;const ke=Z.getBBox();ae.width=ke.width,ae.height=ke.height,ae.labelNode=Z}const le=[{id:F.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:F.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:F.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:F.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let ce=0,be="",xe={};switch(F.type){case"round":ce=5,be="rect";break;case"square":be="rect";break;case"diamond":be="question",xe={portConstraints:"FIXED_SIDE"};break;case"hexagon":be="hexagon";break;case"odd":be="rect_left_inv_arrow";break;case"lean_right":be="lean_right";break;case"lean_left":be="lean_left";break;case"trapezoid":be="trapezoid";break;case"inv_trapezoid":be="inv_trapezoid";break;case"odd_right":be="rect_left_inv_arrow";break;case"circle":be="circle";break;case"ellipse":be="ellipse";break;case"stadium":be="stadium";break;case"subroutine":be="subroutine";break;case"cylinder":be="cylinder";break;case"group":be="rect";break;case"doublecircle":be="doublecircle";break;default:be="rect"}const Ee={labelStyle:j.labelStyle,shape:be,labelText:V,rx:ce,ry:ce,class:H,style:j.style,id:F.id,link:F.link,linkTarget:F.linkTarget,tooltip:w.db.getTooltip(F.id)||"",domId:w.db.lookUpDomId(F.id),haveCallback:F.haveCallback,width:F.type==="group"?500:void 0,dir:F.dir,type:F.type,props:F.props,padding:Pt().flowchart.padding};let Me,fe;Ee.type!=="group"&&(fe=zNe(A,Ee,F.dir),Me=fe.node().getBBox());const ye={id:F.id,ports:F.type==="diamond"?le:[],layoutOptions:xe,labelText:V,labelData:ae,domId:w.db.lookUpDomId(F.id),width:Me==null?void 0:Me.width,height:Me==null?void 0:Me.height,type:F.type,el:fe,parent:k.parentById[F.id]};D5[Ee.id]=ye}),b},qFe=(s,o,f)=>{const p={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return p.TD=p.TB,je.info("abc88",f,o,s),p[f][o][s]},VFe=(s,o,f)=>{if(je.info("getNextPort abc88",{node:s,edgeDirection:o,graphDirection:f}),!nm[s])switch(f){case"TB":case"TD":nm[s]={inPosition:"north",outPosition:"south"};break;case"BT":nm[s]={inPosition:"south",outPosition:"north"};break;case"RL":nm[s]={inPosition:"east",outPosition:"west"};break;case"LR":nm[s]={inPosition:"west",outPosition:"east"};break}const p=o==="in"?nm[s].inPosition:nm[s].outPosition;return o==="in"?nm[s].inPosition=qFe(nm[s].inPosition,o,f):nm[s].outPosition=qFe(nm[s].outPosition,o,f),p},OHt=(s,o)=>{let f=s.start,p=s.end;const w=D5[f],k=D5[p];return!w||!k?{source:f,target:p}:(w.type==="diamond"&&(f=`${f}-${VFe(f,"out",o)}`),k.type==="diamond"&&(p=`${p}-${VFe(p,"in",o)}`),{source:f,target:p})},NHt=function(s,o,f,p){je.info("abc78 edges = ",s);const w=p.insert("g").attr("class","edgeLabels");let k={},b=o.db.getDirection(),_,A;if(s.defaultStyle!==void 0){const N=qw(s.defaultStyle);_=N.style,A=N.labelStyle}return s.forEach(function(N){var B="L-"+N.start+"-"+N.end;k[B]===void 0?(k[B]=0,je.info("abc78 new entry",B,k[B])):(k[B]++,je.info("abc78 new entry",B,k[B]));let F=B+"-"+k[B];je.info("abc78 new link id to be used is",B,F,k[B]);var H="LS-"+N.start,j="LE-"+N.end;const V={style:"",labelStyle:""};switch(V.minlen=N.length||1,N.type==="arrow_open"?V.arrowhead="none":V.arrowhead="normal",V.arrowTypeStart="arrow_open",V.arrowTypeEnd="arrow_open",N.type){case"double_arrow_cross":V.arrowTypeStart="arrow_cross";case"arrow_cross":V.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":V.arrowTypeStart="arrow_point";case"arrow_point":V.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":V.arrowTypeStart="arrow_circle";case"arrow_circle":V.arrowTypeEnd="arrow_circle";break}let Z="",ae="";switch(N.stroke){case"normal":Z="fill:none;",_!==void 0&&(Z=_),A!==void 0&&(ae=A),V.thickness="normal",V.pattern="solid";break;case"dotted":V.thickness="normal",V.pattern="dotted",V.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":V.thickness="thick",V.pattern="solid",V.style="stroke-width: 3.5px;fill:none;";break}if(N.style!==void 0){const xe=qw(N.style);Z=xe.style,ae=xe.labelStyle}V.style=V.style+=Z,V.labelStyle=V.labelStyle+=ae,N.interpolate!==void 0?V.curve=Jg(N.interpolate,Pd):s.defaultInterpolate!==void 0?V.curve=Jg(s.defaultInterpolate,Pd):V.curve=Jg(DHt.curve,Pd),N.text===void 0?N.style!==void 0&&(V.arrowheadStyle="fill: #333"):(V.arrowheadStyle="fill: #333",V.labelpos="c"),V.labelType="text",V.label=N.text.replace(xa.lineBreakRegex,` +`),N.style===void 0&&(V.style=V.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),V.labelStyle=V.labelStyle.replace("color:","fill:"),V.id=F,V.classes="flowchart-link "+H+" "+j;const le=VNe(w,V),{source:ce,target:be}=OHt(N,b);je.debug("abc78 source and target",ce,be),f.edges.push({id:"e"+N.start+N.end,sources:[ce],targets:[be],labelEl:le,labels:[{width:V.width,height:V.height,orgWidth:V.width,orgHeight:V.height,text:V.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:V})}),f},PHt=function(s,o,f,p){let w="";switch(p&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\("),w=w.replace(/\)/g,"\\)")),o.arrowTypeStart){case"arrow_cross":s.attr("marker-start","url("+w+"#"+f+"-crossStart)");break;case"arrow_point":s.attr("marker-start","url("+w+"#"+f+"-pointStart)");break;case"arrow_barb":s.attr("marker-start","url("+w+"#"+f+"-barbStart)");break;case"arrow_circle":s.attr("marker-start","url("+w+"#"+f+"-circleStart)");break;case"aggregation":s.attr("marker-start","url("+w+"#"+f+"-aggregationStart)");break;case"extension":s.attr("marker-start","url("+w+"#"+f+"-extensionStart)");break;case"composition":s.attr("marker-start","url("+w+"#"+f+"-compositionStart)");break;case"dependency":s.attr("marker-start","url("+w+"#"+f+"-dependencyStart)");break;case"lollipop":s.attr("marker-start","url("+w+"#"+f+"-lollipopStart)");break}switch(o.arrowTypeEnd){case"arrow_cross":s.attr("marker-end","url("+w+"#"+f+"-crossEnd)");break;case"arrow_point":s.attr("marker-end","url("+w+"#"+f+"-pointEnd)");break;case"arrow_barb":s.attr("marker-end","url("+w+"#"+f+"-barbEnd)");break;case"arrow_circle":s.attr("marker-end","url("+w+"#"+f+"-circleEnd)");break;case"aggregation":s.attr("marker-end","url("+w+"#"+f+"-aggregationEnd)");break;case"extension":s.attr("marker-end","url("+w+"#"+f+"-extensionEnd)");break;case"composition":s.attr("marker-end","url("+w+"#"+f+"-compositionEnd)");break;case"dependency":s.attr("marker-end","url("+w+"#"+f+"-dependencyEnd)");break;case"lollipop":s.attr("marker-end","url("+w+"#"+f+"-lollipopEnd)");break}},BHt=function(s,o){je.info("Extracting classes"),o.db.clear("ver-2");try{return o.parse(s),o.db.getClasses()}catch{return{}}},FHt=function(s){const o={parentById:{},childrenById:{}},f=s.getSubGraphs();return je.info("Subgraphs - ",f),f.forEach(function(p){p.nodes.forEach(function(w){o.parentById[w]=p.id,o.childrenById[p.id]===void 0&&(o.childrenById[p.id]=[]),o.childrenById[p.id].push(w)})}),f.forEach(function(p){p.id,o.parentById[p.id]!==void 0&&o.parentById[p.id]}),o},RHt=function(s,o,f){const p=AHt(s,o,f);if(p===void 0||p==="root")return{x:0,y:0};const w=D5[p].offset;return{x:w.posX,y:w.posY}},jHt=function(s,o,f,p,w){const k=RHt(o.sources[0],o.targets[0],w),b=o.sections[0].startPoint,_=o.sections[0].endPoint,N=(o.sections[0].bendPoints?o.sections[0].bendPoints:[]).map(ae=>[ae.x+k.x,ae.y+k.y]),B=[[b.x+k.x,b.y+k.y],...N,[_.x+k.x,_.y+k.y]],F=RE().curve(Pd),H=s.insert("path").attr("d",F(B)).attr("class","path").attr("fill","none"),j=s.insert("g").attr("class","edgeLabel"),V=sr(j.node().appendChild(o.labelEl)),Z=V.node().firstChild.getBoundingClientRect();V.attr("width",Z.width),V.attr("height",Z.height),j.attr("transform",`translate(${o.labels[0].x+k.x}, ${o.labels[0].y+k.y})`),PHt(H,f,p.type,p.arrowMarkerAbsolute)},UFe=(s,o)=>{s.forEach(f=>{f.children||(f.children=[]);const p=o.childrenById[f.id];p&&p.forEach(w=>{f.children.push(D5[w])}),UFe(f.children,o)})},$Ht=async function(s,o,f,p){var fe;p.db.clear(),D5={},p.db.setGen("gen-2"),p.parser.parse(s);const w=sr("body").append("div").attr("style","height:400px").attr("id","cy");let k={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(je.info("Drawing flowchart using v3 renderer",GFe),p.db.getDirection()){case"BT":k.layoutOptions["elk.direction"]="UP";break;case"TB":k.layoutOptions["elk.direction"]="DOWN";break;case"LR":k.layoutOptions["elk.direction"]="RIGHT";break;case"RL":k.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:_,flowchart:A}=Pt();let N;_==="sandbox"&&(N=sr("#i"+o));const B=sr(_==="sandbox"?N.nodes()[0].contentDocument.body:"body"),F=_==="sandbox"?N.nodes()[0].contentDocument:document,H=B.select(`[id="${o}"]`);MNe(H,["point","circle","cross"],p.type,p.arrowMarkerAbsolute);const V=p.db.getVertices();let Z;const ae=p.db.getSubGraphs();je.info("Subgraphs - ",ae);for(let ye=ae.length-1;ye>=0;ye--)Z=ae[ye],p.db.addVertex(Z.id,Z.title,"group",void 0,Z.classes,Z.dir);const le=H.insert("g").attr("class","subgraphs"),ce=FHt(p.db);k=IHt(V,o,B,F,p,ce,k);const be=H.insert("g").attr("class","edges edgePath"),xe=p.db.getEdges();k=NHt(xe,p,k,H),Object.keys(D5).forEach(ye=>{const re=D5[ye];re.parent||k.children.push(re),ce.childrenById[ye]!==void 0&&(re.labels=[{text:re.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:re.labelData.width,height:re.labelData.height}],delete re.x,delete re.y,delete re.width,delete re.height)}),UFe(k.children,ce),je.info("after layout",JSON.stringify(k,null,2));const Me=await GFe.layout(k);KFe(0,0,Me.children,H,le,p,0),je.info("after layout",Me),(fe=Me.edges)==null||fe.map(ye=>{jHt(be,ye,ye.edgeData,p,ce)}),KE({},H,A.diagramPadding,A.useMaxWidth),w.remove()},KFe=(s,o,f,p,w,k,b)=>{f.forEach(function(_){if(_)if(D5[_.id].offset={posX:_.x+s,posY:_.y+o,x:s,y:o,depth:b,width:_.width,height:_.height},_.type==="group"){const A=w.insert("g").attr("class","subgraph");A.insert("rect").attr("class","subgraph subgraph-lvl-"+b%5+" node").attr("x",_.x+s).attr("y",_.y+o).attr("width",_.width).attr("height",_.height);const N=A.insert("g").attr("class","label");N.attr("transform",`translate(${_.labels[0].x+s+_.x}, ${_.labels[0].y+o+_.y})`),N.node().appendChild(_.labelData.labelNode),je.info("Id (UGH)= ",_.type,_.labels)}else je.info("Id (UGH)= ",_.id),_.el.attr("transform",`translate(${_.x+s+_.width/2}, ${_.y+o+_.height/2})`)}),f.forEach(function(_){_&&_.type==="group"&&KFe(s+_.x,o+_.y,_.children,p,w,k,b+1)})},HHt={getClasses:BHt,draw:$Ht},zHt=s=>{let o="";for(let f=0;f<5;f++)o+=` + .subgraph-lvl-${f} { + fill: ${s[`surface${f}`]}; + stroke: ${s[`surfacePeer${f}`]}; + } + `;return o},GHt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:FBt,renderer:HHt,parser:Vde,styles:s=>`.label { + font-family: ${s.fontFamily}; + color: ${s.nodeTextColor||s.textColor}; + } + .cluster-label text { + fill: ${s.titleColor}; + } + .cluster-label span { + color: ${s.titleColor}; + } + + .label text,span { + fill: ${s.nodeTextColor||s.textColor}; + color: ${s.nodeTextColor||s.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${s.mainBkg}; + stroke: ${s.nodeBorder}; + stroke-width: 1px; + } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${s.arrowheadColor}; + } + + .edgePath .path { + stroke: ${s.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${s.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${s.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${s.edgeLabelBackground}; + fill: ${s.edgeLabelBackground}; + } + text-align: center; + } + + .cluster rect { + fill: ${s.clusterBkg}; + stroke: ${s.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${s.titleColor}; + } + + .cluster span { + color: ${s.titleColor}; + } + /* .cluster div { + color: ${s.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${s.fontFamily}; + font-size: 12px; + background: ${s.tertiaryColor}; + border: 1px solid ${s.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${s.textColor}; + } + .subgraph { + stroke-width:2; + rx:3; + } + // .subgraph-lvl-1 { + // fill:#ccc; + // // stroke:black; + // } + ${zHt(s)} +`}},Symbol.toStringTag,{value:"Module"}));var sge=function(){var s=function(ae,le,ce,be){for(ce=ce||{},be=ae.length;be--;ce[ae[be]]=le);return ce},o=[1,2],f=[1,5],p=[6,9,11,17,18,20,22,23,26,27,28],w=[1,15],k=[1,16],b=[1,17],_=[1,18],A=[1,19],N=[1,23],B=[1,24],F=[1,27],H=[4,6,9,11,17,18,20,22,23,26,27,28],j={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(le,ce,be,xe,Ee,Me,fe){var ye=Me.length-1;switch(Ee){case 1:return Me[ye-1];case 3:this.$=[];break;case 4:Me[ye-1].push(Me[ye]),this.$=Me[ye-1];break;case 5:case 6:this.$=Me[ye];break;case 7:case 8:this.$=[];break;case 11:xe.getCommonDb().setDiagramTitle(Me[ye].substr(6)),this.$=Me[ye].substr(6);break;case 12:this.$=Me[ye].trim(),xe.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=Me[ye].trim(),xe.getCommonDb().setAccDescription(this.$);break;case 15:xe.addSection(Me[ye].substr(8)),this.$=Me[ye].substr(8);break;case 19:xe.addTask(Me[ye],0,""),this.$=Me[ye];break;case 20:xe.addEvent(Me[ye].substr(2)),this.$=Me[ye];break;case 21:xe.parseDirective("%%{","open_directive");break;case 22:xe.parseDirective(Me[ye],"type_directive");break;case 23:Me[ye]=Me[ye].trim().replace(/'/g,'"'),xe.parseDirective(Me[ye],"arg_directive");break;case 24:xe.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:o,7:3,12:4,28:f},{1:[3]},s(p,[2,3],{5:6}),{3:7,4:o,7:3,12:4,28:f},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:w,18:k,20:b,22:_,23:A,24:20,25:21,26:N,27:B,28:f},{1:[2,2]},{14:25,15:[1,26],31:F},s([15,31],[2,22]),s(p,[2,8],{1:[2,1]}),s(p,[2,4]),{7:22,10:28,12:4,17:w,18:k,20:b,22:_,23:A,24:20,25:21,26:N,27:B,28:f},s(p,[2,6]),s(p,[2,7]),s(p,[2,11]),{19:[1,29]},{21:[1,30]},s(p,[2,14]),s(p,[2,15]),s(p,[2,16]),s(p,[2,17]),s(p,[2,18]),s(p,[2,19]),s(p,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},s(p,[2,5]),s(p,[2,12]),s(p,[2,13]),s(H,[2,9]),{14:34,31:F},{31:[2,23]},{11:[1,35]},s(H,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(le,ce){if(ce.recoverable)this.trace(le);else{var be=new Error(le);throw be.hash=ce,be}},parse:function(le){var ce=this,be=[0],xe=[],Ee=[null],Me=[],fe=this.table,ye="",re=0,we=0,ke=2,he=1,De=Me.slice.call(arguments,1),X=Object.create(this.lexer),Re={yy:{}};for(var pe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pe)&&(Re.yy[pe]=this.yy[pe]);X.setInput(le,Re.yy),Re.yy.lexer=X,Re.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var Ge=X.yylloc;Me.push(Ge);var de=X.options&&X.options.ranges;typeof Re.yy.parseError=="function"?this.parseError=Re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ct(){var wt;return wt=xe.pop()||X.lex()||he,typeof wt!="number"&&(wt instanceof Array&&(xe=wt,wt=xe.pop()),wt=ce.symbols_[wt]||wt),wt}for(var bt,St,yt,Mt,nn={},dn,vt,Lr,xt;;){if(St=be[be.length-1],this.defaultActions[St]?yt=this.defaultActions[St]:((bt===null||typeof bt>"u")&&(bt=ct()),yt=fe[St]&&fe[St][bt]),typeof yt>"u"||!yt.length||!yt[0]){var Tt="";xt=[];for(dn in fe[St])this.terminals_[dn]&&dn>ke&&xt.push("'"+this.terminals_[dn]+"'");X.showPosition?Tt="Parse error on line "+(re+1)+`: +`+X.showPosition()+` +Expecting `+xt.join(", ")+", got '"+(this.terminals_[bt]||bt)+"'":Tt="Parse error on line "+(re+1)+": Unexpected "+(bt==he?"end of input":"'"+(this.terminals_[bt]||bt)+"'"),this.parseError(Tt,{text:X.match,token:this.terminals_[bt]||bt,line:X.yylineno,loc:Ge,expected:xt})}if(yt[0]instanceof Array&&yt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+bt);switch(yt[0]){case 1:be.push(bt),Ee.push(X.yytext),Me.push(X.yylloc),be.push(yt[1]),bt=null,we=X.yyleng,ye=X.yytext,re=X.yylineno,Ge=X.yylloc;break;case 2:if(vt=this.productions_[yt[1]][1],nn.$=Ee[Ee.length-vt],nn._$={first_line:Me[Me.length-(vt||1)].first_line,last_line:Me[Me.length-1].last_line,first_column:Me[Me.length-(vt||1)].first_column,last_column:Me[Me.length-1].last_column},de&&(nn._$.range=[Me[Me.length-(vt||1)].range[0],Me[Me.length-1].range[1]]),Mt=this.performAction.apply(nn,[ye,we,re,Re.yy,yt[1],Ee,Me].concat(De)),typeof Mt<"u")return Mt;vt&&(be=be.slice(0,-1*vt*2),Ee=Ee.slice(0,-1*vt),Me=Me.slice(0,-1*vt)),be.push(this.productions_[yt[1]][0]),Ee.push(nn.$),Me.push(nn._$),Lr=fe[be[be.length-2]][be[be.length-1]],be.push(Lr);break;case 3:return!0}}return!0}},V=function(){var ae={EOF:1,parseError:function(ce,be){if(this.yy.parser)this.yy.parser.parseError(ce,be);else throw new Error(ce)},setInput:function(le,ce){return this.yy=ce||this.yy||{},this._input=le,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var le=this._input[0];this.yytext+=le,this.yyleng++,this.offset++,this.match+=le,this.matched+=le;var ce=le.match(/(?:\r\n?|\n).*/g);return ce?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),le},unput:function(le){var ce=le.length,be=le.split(/(?:\r\n?|\n)/g);this._input=le+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ce),this.offset-=ce;var xe=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),be.length-1&&(this.yylineno-=be.length-1);var Ee=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:be?(be.length===xe.length?this.yylloc.first_column:0)+xe[xe.length-be.length].length-be[0].length:this.yylloc.first_column-ce},this.options.ranges&&(this.yylloc.range=[Ee[0],Ee[0]+this.yyleng-ce]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(le){this.unput(this.match.slice(le))},pastInput:function(){var le=this.matched.substr(0,this.matched.length-this.match.length);return(le.length>20?"...":"")+le.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var le=this.match;return le.length<20&&(le+=this._input.substr(0,20-le.length)),(le.substr(0,20)+(le.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var le=this.pastInput(),ce=new Array(le.length+1).join("-");return le+this.upcomingInput()+` +`+ce+"^"},test_match:function(le,ce){var be,xe,Ee;if(this.options.backtrack_lexer&&(Ee={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ee.yylloc.range=this.yylloc.range.slice(0))),xe=le[0].match(/(?:\r\n?|\n).*/g),xe&&(this.yylineno+=xe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:xe?xe[xe.length-1].length-xe[xe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+le[0].length},this.yytext+=le[0],this.match+=le[0],this.matches=le,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(le[0].length),this.matched+=le[0],be=this.performAction.call(this,this.yy,this,ce,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),be)return be;if(this._backtrack){for(var Me in Ee)this[Me]=Ee[Me];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var le,ce,be,xe;this._more||(this.yytext="",this.match="");for(var Ee=this._currentRules(),Me=0;Mece[0].length)){if(ce=be,xe=Me,this.options.backtrack_lexer){if(le=this.test_match(be,Ee[Me]),le!==!1)return le;if(this._backtrack){ce=!1;continue}else return!1}else if(!this.options.flex)break}return ce?(le=this.test_match(ce,Ee[xe]),le!==!1?le:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var ce=this.next();return ce||this.lex()},begin:function(ce){this.conditionStack.push(ce)},popState:function(){var ce=this.conditionStack.length-1;return ce>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ce){return ce=this.conditionStack.length-1-Math.abs(ce||0),ce>=0?this.conditionStack[ce]:"INITIAL"},pushState:function(ce){this.begin(ce)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ce,be,xe,Ee){switch(xe){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};return ae}();j.lexer=V;function Z(){this.yy={}}return Z.prototype=j,j.Parser=Z,new Z}();sge.parser=sge;const qHt=sge;let QA="",WFe=0;const age=[],xW=[],ZA=[],YFe=()=>dIe,XFe=(s,o,f)=>{K1e(globalThis,s,o,f)},QFe=function(){age.length=0,xW.length=0,QA="",ZA.length=0,tp()},ZFe=function(s){QA=s,age.push(s)},JFe=function(){return age},eRe=function(){let s=iRe();const o=100;let f=0;for(;!s&&ff.id===WFe-1).events.push(s)},rRe=function(s){const o={section:QA,type:QA,description:s,task:s,classes:[]};xW.push(o)},iRe=function(){const s=function(f){return ZA[f].processed};let o=!0;for(const[f,p]of ZA.entries())s(f),o=o&&p.processed;return o},VHt=Object.freeze(Object.defineProperty({__proto__:null,addEvent:nRe,addSection:ZFe,addTask:tRe,addTaskOrg:rRe,clear:QFe,default:{clear:QFe,getCommonDb:YFe,addSection:ZFe,getSections:JFe,getTasks:eRe,addTask:tRe,addTaskOrg:rRe,addEvent:nRe,parseDirective:XFe},getCommonDb:YFe,getSections:JFe,getTasks:eRe,parseDirective:XFe},Symbol.toStringTag,{value:"Module"})),UHt=12,EW=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},KHt=function(s,o){const p=s.append("circle").attr("cx",o.cx).attr("cy",o.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),w=s.append("g");w.append("circle").attr("cx",o.cx-15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),w.append("circle").attr("cx",o.cx+15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function k(A){const N=gN().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);A.append("path").attr("class","mouth").attr("d",N).attr("transform","translate("+o.cx+","+(o.cy+2)+")")}function b(A){const N=gN().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);A.append("path").attr("class","mouth").attr("d",N).attr("transform","translate("+o.cx+","+(o.cy+7)+")")}function _(A){A.append("line").attr("class","mouth").attr("stroke",2).attr("x1",o.cx-5).attr("y1",o.cy+7).attr("x2",o.cx+5).attr("y2",o.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o.score>3?k(w):o.score<3?b(w):_(w),p},WHt=function(s,o){const f=s.append("circle");return f.attr("cx",o.cx),f.attr("cy",o.cy),f.attr("class","actor-"+o.pos),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("r",o.r),f.class!==void 0&&f.attr("class",f.class),o.title!==void 0&&f.append("title").text(o.title),f},sRe=function(s,o){const f=o.text.replace(//gi," "),p=s.append("text");p.attr("x",o.x),p.attr("y",o.y),p.attr("class","legend"),p.style("text-anchor",o.anchor),o.class!==void 0&&p.attr("class",o.class);const w=p.append("tspan");return w.attr("x",o.x+o.textMargin*2),w.text(f),p},YHt=function(s,o){function f(w,k,b,_,A){return w+","+k+" "+(w+b)+","+k+" "+(w+b)+","+(k+_-A)+" "+(w+b-A*1.2)+","+(k+_)+" "+w+","+(k+_)}const p=s.append("polygon");p.attr("points",f(o.x,o.y,50,20,7)),p.attr("class","labelBox"),o.y=o.y+o.labelMargin,o.x=o.x+.5*o.labelMargin,sRe(s,o)},XHt=function(s,o,f){const p=s.append("g"),w=oge();w.x=o.x,w.y=o.y,w.fill=o.fill,w.width=f.width,w.height=f.height,w.class="journey-section section-type-"+o.num,w.rx=3,w.ry=3,EW(p,w),oRe(f)(o.text,p,w.x,w.y,w.width,w.height,{class:"journey-section section-type-"+o.num},f,o.colour)};let aRe=-1;const QHt=function(s,o,f){const p=o.x+f.width/2,w=s.append("g");aRe++;const k=300+5*30;w.append("line").attr("id","task"+aRe).attr("x1",p).attr("y1",o.y).attr("x2",p).attr("y2",k).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),KHt(w,{cx:p,cy:300+(5-o.score)*30,score:o.score});const b=oge();b.x=o.x,b.y=o.y,b.fill=o.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+o.num,b.rx=3,b.ry=3,EW(w,b),o.x+14,oRe(f)(o.task,w,b.x,b.y,b.width,b.height,{class:"task"},f,o.colour)},ZHt=function(s,o){EW(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,class:"rect"}).lower()},JHt=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},oge=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},oRe=function(){function s(w,k,b,_,A,N,B,F){const H=k.append("text").attr("x",b+A/2).attr("y",_+N/2+5).style("font-color",F).style("text-anchor","middle").text(w);p(H,B)}function o(w,k,b,_,A,N,B,F,H){const{taskFontSize:j,taskFontFamily:V}=F,Z=w.split(//gi);for(let ae=0;ae)/).reverse(),w,k=[],b=1.1,_=f.attr("y"),A=parseFloat(f.attr("dy")),N=f.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",A+"em");for(let B=0;Bo||w==="
")&&(k.pop(),N.text(k.join(" ").trim()),w==="
"?k=[""]:k=[w],N=f.append("tspan").attr("x",0).attr("y",_).attr("dy",b+"em").text(w))})}const tzt=function(s,o,f,p){const w=f%UHt-1,k=s.append("g");o.section=w,k.attr("class",(o.class?o.class+" ":"")+"timeline-node "+("section-"+w));const b=k.append("g"),_=k.append("g"),N=_.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(cRe,o.width).node().getBBox(),B=p.fontSize&&p.fontSize.replace?p.fontSize.replace("px",""):p.fontSize;return o.height=N.height+B*1.1*.5+o.padding,o.height=Math.max(o.height,o.maxHeight),o.width=o.width+2*o.padding,_.attr("transform","translate("+o.width/2+", "+o.padding/2+")"),rzt(b,o,w),o},nzt=function(s,o,f){const p=s.append("g"),k=p.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(cRe,o.width).node().getBBox(),b=f.fontSize&&f.fontSize.replace?f.fontSize.replace("px",""):f.fontSize;return p.remove(),k.height+b*1.1*.5+o.padding},rzt=function(s,o,f){s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+o.type).attr("d",`M0 ${o.height-5} v${-o.height+2*5} q0,-5 5,-5 h${o.width-2*5} q5,0 5,5 v${o.height-5} H0 Z`),s.append("line").attr("class","node-line-"+f).attr("x1",0).attr("y1",o.height).attr("x2",o.width).attr("y2",o.height)},l9={drawRect:EW,drawCircle:WHt,drawSection:XHt,drawText:sRe,drawLabel:YHt,drawTask:QHt,drawBackgroundRect:ZHt,getTextObj:JHt,getNoteRect:oge,initGraphics:ezt,drawNode:tzt,getVirtualNodeHeight:nzt},izt=function(s){Object.keys(s).forEach(function(f){conf[f]=s[f]})},szt=function(s,o,f,p){const w=Pt(),k=w.leftMargin?w.leftMargin:50;p.db.clear(),p.parser.parse(s+` +`),je.debug("timeline",p.db);const b=w.securityLevel;let _;b==="sandbox"&&(_=sr("#i"+o));const N=sr(b==="sandbox"?_.nodes()[0].contentDocument.body:"body").select("#"+o);N.append("g");const B=p.db.getTasks(),F=p.db.getCommonDb().getDiagramTitle();je.debug("task",B),l9.initGraphics(N);const H=p.db.getSections();je.debug("sections",H);let j=0,V=0,Z=0,ae=0,le=50+k,ce=50;ae=50;let be=0,xe=!0;H.forEach(function(re){const we={number:be,descr:re,section:be,width:150,padding:20,maxHeight:j},ke=l9.getVirtualNodeHeight(N,we,w);je.debug("sectionHeight before draw",ke),j=Math.max(j,ke+20)});let Ee=0,Me=0;je.debug("tasks.length",B.length);for(const[re,we]of B.entries()){const ke={number:re,descr:we,section:we.section,width:150,padding:20,maxHeight:V},he=l9.getVirtualNodeHeight(N,ke,w);je.debug("taskHeight before draw",he),V=Math.max(V,he+20),Ee=Math.max(Ee,we.events.length);let De=0;for(let X=0;X0?H.forEach(re=>{const we={number:be,descr:re,section:be,width:150,padding:20,maxHeight:j};je.debug("sectionNode",we);const ke=N.append("g"),he=l9.drawNode(ke,we,be,w);je.debug("sectionNode output",he),ke.attr("transform",`translate(${le}, ${ae})`),ce+=j+50;const De=B.filter(X=>X.section===re);De.length>0&&uRe(N,De,be,le,ce,V,w,Ee,Me,j,!1),le+=200*Math.max(De.length,1),ce=ae,be++}):(xe=!1,uRe(N,B,be,le,ce,V,w,Ee,Me,j,!0));const fe=N.node().getBBox();je.debug("bounds",fe),F&&N.append("text").text(F).attr("x",fe.width/2-k).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),Z=xe?j+V+150:V+100,N.append("g").attr("class","lineWrapper").append("line").attr("x1",k).attr("y1",Z).attr("x2",fe.width+3*k).attr("y2",Z).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),KE(void 0,N,w.timeline.padding?w.timeline.padding:50,w.timeline.useMaxWidth?w.timeline.useMaxWidth:!1)},uRe=function(s,o,f,p,w,k,b,_,A,N,B){for(const F of o){const H={descr:F.task,section:f,number:f,width:150,padding:20,maxHeight:k};je.debug("taskNode",H);const j=s.append("g").attr("class","taskWrapper"),Z=l9.drawNode(j,H,f,b).height;if(je.debug("taskHeight after draw",Z),j.attr("transform",`translate(${p}, ${w})`),k=Math.max(k,Z),F.events){const ae=s.append("g").attr("class","lineWrapper");let le=k;w+=100,le=le+azt(s,F.events,f,p,w,b),w-=100,ae.append("line").attr("x1",p+190/2).attr("y1",w+k).attr("x2",p+190/2).attr("y2",w+k+(B?k:N)+A+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}p=p+200,B&&!Pt().timeline.disableMulticolor&&f++}w=w-10},azt=function(s,o,f,p,w,k){let b=0;const _=w;w=w+100;for(const A of o){const N={descr:A,section:f,number:f,width:150,padding:20,maxHeight:50};je.debug("eventNode",N);const B=s.append("g").attr("class","eventWrapper"),H=l9.drawNode(B,N,f,k).height;b=b+H,B.attr("transform",`translate(${p}, ${w})`),w=w+10+H}return w=_,b},ozt={setConf:izt,draw:szt},czt=s=>{let o="";for(let f=0;f` + .edge { + stroke-width: 3; + } + ${czt(s)} + .section-root rect, .section-root path, .section-root circle { + fill: ${s.git0}; + } + .section-root text { + fill: ${s.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .eventWrapper { + filter: brightness(120%); + } +`}},Symbol.toStringTag,{value:"Module"}));var cge=function(){var s=function(xe,Ee,Me,fe){for(Me=Me||{},fe=xe.length;fe--;Me[xe[fe]]=Ee);return Me},o=[1,4],f=[1,13],p=[1,12],w=[1,15],k=[1,16],b=[1,20],_=[1,19],A=[6,7,8],N=[1,26],B=[1,24],F=[1,25],H=[6,7,11],j=[1,6,13,15,16,19,22],V=[1,33],Z=[1,34],ae=[1,6,7,11,13,15,16,19,22],le={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(Ee,Me,fe,ye,re,we,ke){var he=we.length-1;switch(re){case 6:case 7:return ye;case 8:ye.getLogger().trace("Stop NL ");break;case 9:ye.getLogger().trace("Stop EOF ");break;case 11:ye.getLogger().trace("Stop NL2 ");break;case 12:ye.getLogger().trace("Stop EOF2 ");break;case 15:ye.getLogger().info("Node: ",we[he].id),ye.addNode(we[he-1].length,we[he].id,we[he].descr,we[he].type);break;case 16:ye.getLogger().trace("Icon: ",we[he]),ye.decorateNode({icon:we[he]});break;case 17:case 21:ye.decorateNode({class:we[he]});break;case 18:ye.getLogger().trace("SPACELIST");break;case 19:ye.getLogger().trace("Node: ",we[he].id),ye.addNode(0,we[he].id,we[he].descr,we[he].type);break;case 20:ye.decorateNode({icon:we[he]});break;case 25:ye.getLogger().trace("node found ..",we[he-2]),this.$={id:we[he-1],descr:we[he-1],type:ye.getType(we[he-2],we[he])};break;case 26:this.$={id:we[he],descr:we[he],type:ye.nodeType.DEFAULT};break;case 27:ye.getLogger().trace("node found ..",we[he-3]),this.$={id:we[he-3],descr:we[he-1],type:ye.getType(we[he-2],we[he])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:o},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:o},{6:f,7:[1,10],9:9,12:11,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},s(A,[2,3]),{1:[2,2]},s(A,[2,4]),s(A,[2,5]),{1:[2,6],6:f,12:21,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},{6:f,9:22,12:11,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},{6:N,7:B,10:23,11:F},s(H,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:b,22:_}),s(H,[2,18]),s(H,[2,19]),s(H,[2,20]),s(H,[2,21]),s(H,[2,23]),s(H,[2,24]),s(H,[2,26],{19:[1,30]}),{20:[1,31]},{6:N,7:B,10:32,11:F},{1:[2,7],6:f,12:21,13:p,14:14,15:w,16:k,17:17,18:18,19:b,22:_},s(j,[2,14],{7:V,11:Z}),s(ae,[2,8]),s(ae,[2,9]),s(ae,[2,10]),s(H,[2,15]),s(H,[2,16]),s(H,[2,17]),{20:[1,35]},{21:[1,36]},s(j,[2,13],{7:V,11:Z}),s(ae,[2,11]),s(ae,[2,12]),{21:[1,37]},s(H,[2,25]),s(H,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(Ee,Me){if(Me.recoverable)this.trace(Ee);else{var fe=new Error(Ee);throw fe.hash=Me,fe}},parse:function(Ee){var Me=this,fe=[0],ye=[],re=[null],we=[],ke=this.table,he="",De=0,X=0,Re=2,pe=1,Ge=we.slice.call(arguments,1),de=Object.create(this.lexer),ct={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&(ct.yy[bt]=this.yy[bt]);de.setInput(Ee,ct.yy),ct.yy.lexer=de,ct.yy.parser=this,typeof de.yylloc>"u"&&(de.yylloc={});var St=de.yylloc;we.push(St);var yt=de.options&&de.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var Lt;return Lt=ye.pop()||de.lex()||pe,typeof Lt!="number"&&(Lt instanceof Array&&(ye=Lt,Lt=ye.pop()),Lt=Me.symbols_[Lt]||Lt),Lt}for(var nn,dn,vt,Lr,xt={},Tt,wt,At,He;;){if(dn=fe[fe.length-1],this.defaultActions[dn]?vt=this.defaultActions[dn]:((nn===null||typeof nn>"u")&&(nn=Mt()),vt=ke[dn]&&ke[dn][nn]),typeof vt>"u"||!vt.length||!vt[0]){var Ze="";He=[];for(Tt in ke[dn])this.terminals_[Tt]&&Tt>Re&&He.push("'"+this.terminals_[Tt]+"'");de.showPosition?Ze="Parse error on line "+(De+1)+`: +`+de.showPosition()+` +Expecting `+He.join(", ")+", got '"+(this.terminals_[nn]||nn)+"'":Ze="Parse error on line "+(De+1)+": Unexpected "+(nn==pe?"end of input":"'"+(this.terminals_[nn]||nn)+"'"),this.parseError(Ze,{text:de.match,token:this.terminals_[nn]||nn,line:de.yylineno,loc:St,expected:He})}if(vt[0]instanceof Array&&vt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+dn+", token: "+nn);switch(vt[0]){case 1:fe.push(nn),re.push(de.yytext),we.push(de.yylloc),fe.push(vt[1]),nn=null,X=de.yyleng,he=de.yytext,De=de.yylineno,St=de.yylloc;break;case 2:if(wt=this.productions_[vt[1]][1],xt.$=re[re.length-wt],xt._$={first_line:we[we.length-(wt||1)].first_line,last_line:we[we.length-1].last_line,first_column:we[we.length-(wt||1)].first_column,last_column:we[we.length-1].last_column},yt&&(xt._$.range=[we[we.length-(wt||1)].range[0],we[we.length-1].range[1]]),Lr=this.performAction.apply(xt,[he,X,De,ct.yy,vt[1],re,we].concat(Ge)),typeof Lr<"u")return Lr;wt&&(fe=fe.slice(0,-1*wt*2),re=re.slice(0,-1*wt),we=we.slice(0,-1*wt)),fe.push(this.productions_[vt[1]][0]),re.push(xt.$),we.push(xt._$),At=ke[fe[fe.length-2]][fe[fe.length-1]],fe.push(At);break;case 3:return!0}}return!0}},ce=function(){var xe={EOF:1,parseError:function(Me,fe){if(this.yy.parser)this.yy.parser.parseError(Me,fe);else throw new Error(Me)},setInput:function(Ee,Me){return this.yy=Me||this.yy||{},this._input=Ee,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Ee=this._input[0];this.yytext+=Ee,this.yyleng++,this.offset++,this.match+=Ee,this.matched+=Ee;var Me=Ee.match(/(?:\r\n?|\n).*/g);return Me?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ee},unput:function(Ee){var Me=Ee.length,fe=Ee.split(/(?:\r\n?|\n)/g);this._input=Ee+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Me),this.offset-=Me;var ye=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),fe.length-1&&(this.yylineno-=fe.length-1);var re=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:fe?(fe.length===ye.length?this.yylloc.first_column:0)+ye[ye.length-fe.length].length-fe[0].length:this.yylloc.first_column-Me},this.options.ranges&&(this.yylloc.range=[re[0],re[0]+this.yyleng-Me]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Ee){this.unput(this.match.slice(Ee))},pastInput:function(){var Ee=this.matched.substr(0,this.matched.length-this.match.length);return(Ee.length>20?"...":"")+Ee.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ee=this.match;return Ee.length<20&&(Ee+=this._input.substr(0,20-Ee.length)),(Ee.substr(0,20)+(Ee.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ee=this.pastInput(),Me=new Array(Ee.length+1).join("-");return Ee+this.upcomingInput()+` +`+Me+"^"},test_match:function(Ee,Me){var fe,ye,re;if(this.options.backtrack_lexer&&(re={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(re.yylloc.range=this.yylloc.range.slice(0))),ye=Ee[0].match(/(?:\r\n?|\n).*/g),ye&&(this.yylineno+=ye.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ye?ye[ye.length-1].length-ye[ye.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ee[0].length},this.yytext+=Ee[0],this.match+=Ee[0],this.matches=Ee,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ee[0].length),this.matched+=Ee[0],fe=this.performAction.call(this,this.yy,this,Me,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),fe)return fe;if(this._backtrack){for(var we in re)this[we]=re[we];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ee,Me,fe,ye;this._more||(this.yytext="",this.match="");for(var re=this._currentRules(),we=0;weMe[0].length)){if(Me=fe,ye=we,this.options.backtrack_lexer){if(Ee=this.test_match(fe,re[we]),Ee!==!1)return Ee;if(this._backtrack){Me=!1;continue}else return!1}else if(!this.options.flex)break}return Me?(Ee=this.test_match(Me,re[ye]),Ee!==!1?Ee:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Me=this.next();return Me||this.lex()},begin:function(Me){this.conditionStack.push(Me)},popState:function(){var Me=this.conditionStack.length-1;return Me>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Me){return Me=this.conditionStack.length-1-Math.abs(Me||0),Me>=0?this.conditionStack[Me]:"INITIAL"},pushState:function(Me){this.begin(Me)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Me,fe,ye,re){switch(ye){case 0:Me.getLogger().trace("Found comment",fe.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:Me.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return Me.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:Me.getLogger().trace("end icon"),this.popState();break;case 10:return Me.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return Me.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return Me.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return Me.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:Me.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return Me.getLogger().trace("description:",fe.yytext),"NODE_DESCR";case 23:this.popState();break;case 24:return this.popState(),Me.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),Me.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),Me.getLogger().trace("node end ...",fe.yytext),"NODE_DEND";case 27:return this.popState(),Me.getLogger().trace("node end (("),"NODE_DEND";case 28:return this.popState(),Me.getLogger().trace("node end (-"),"NODE_DEND";case 29:return this.popState(),Me.getLogger().trace("node end (-"),"NODE_DEND";case 30:return this.popState(),Me.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),Me.getLogger().trace("node end (("),"NODE_DEND";case 32:return Me.getLogger().trace("Long description:",fe.yytext),20;case 33:return Me.getLogger().trace("Long description:",fe.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return xe}();le.lexer=ce;function be(){this.yy={}}return be.prototype=le,le.Parser=be,new be}();cge.parser=cge;const lzt=cge,xP=s=>T2(s,Pt());let Yb=[],lRe=0,uge={};const hzt=()=>{Yb=[],lRe=0,uge={}},fzt=function(s){for(let o=Yb.length-1;o>=0;o--)if(Yb[o].levelYb.length>0?Yb[0]:null,gzt=(s,o,f,p)=>{je.info("addNode",s,o,f,p);const w=Pt(),k={id:lRe++,nodeId:xP(o),level:s,descr:xP(f),type:p,children:[],width:Pt().mindmap.maxNodeWidth};switch(k.type){case Zu.ROUNDED_RECT:k.padding=2*w.mindmap.padding;break;case Zu.RECT:k.padding=2*w.mindmap.padding;break;case Zu.HEXAGON:k.padding=2*w.mindmap.padding;break;default:k.padding=w.mindmap.padding}const b=fzt(s);if(b)b.children.push(k),Yb.push(k);else if(Yb.length===0)Yb.push(k);else{let _=new Error('There can be only one root. No parent could be found for ("'+k.descr+'")');throw _.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},_}},Zu={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},pzt=(s,o)=>{switch(je.debug("In get type",s,o),s){case"[":return Zu.RECT;case"(":return o===")"?Zu.ROUNDED_RECT:Zu.CLOUD;case"((":return Zu.CIRCLE;case")":return Zu.CLOUD;case"))":return Zu.BANG;case"{{":return Zu.HEXAGON;default:return Zu.DEFAULT}},hRe=(s,o)=>{uge[s]=o},bzt=s=>{const o=Yb[Yb.length-1];s&&s.icon&&(o.icon=xP(s.icon)),s&&s.class&&(o.class=xP(s.class))},h9=s=>{switch(s){case Zu.DEFAULT:return"no-border";case Zu.RECT:return"rect";case Zu.ROUNDED_RECT:return"rounded-rect";case Zu.CIRCLE:return"circle";case Zu.CLOUD:return"cloud";case Zu.BANG:return"bang";case Zu.HEXAGON:return"hexgon";default:return"no-border"}};let fRe;const vzt=s=>{fRe=s},wzt=()=>je,mzt=s=>Yb[s],lge=s=>uge[s],yzt=Object.freeze(Object.defineProperty({__proto__:null,addNode:gzt,clear:hzt,decorateNode:bzt,getElementById:lge,getLogger:wzt,getMindmap:dzt,getNodeById:mzt,getType:pzt,nodeType:Zu,get parseError(){return fRe},sanitizeText:xP,setElementForId:hRe,setErrorHandler:vzt,type2Str:h9},Symbol.toStringTag,{value:"Module"})),dRe=12;function kzt(s,o){s.each(function(){var f=sr(this),p=f.text().split(/(\s+|
)/).reverse(),w,k=[],b=1.1,_=f.attr("y"),A=parseFloat(f.attr("dy")),N=f.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",A+"em");for(let B=0;Bo||w==="
")&&(k.pop(),N.text(k.join(" ").trim()),w==="
"?k=[""]:k=[w],N=f.append("tspan").attr("x",0).attr("y",_).attr("dy",b+"em").text(w))})}const xzt=function(s,o,f){s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("d",`M0 ${o.height-5} v${-o.height+2*5} q0,-5 5,-5 h${o.width-2*5} q5,0 5,5 v${o.height-5} H0 Z`),s.append("line").attr("class","node-line-"+f).attr("x1",0).attr("y1",o.height).attr("x2",o.width).attr("y2",o.height)},Ezt=function(s,o){s.append("rect").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("height",o.height).attr("width",o.width)},Tzt=function(s,o){const f=o.width,p=o.height,w=.15*f,k=.25*f,b=.35*f,_=.2*f;s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("d",`M0 0 a${w},${w} 0 0,1 ${f*.25},${-1*f*.1} + a${b},${b} 1 0,1 ${f*.4},${-1*f*.1} + a${k},${k} 1 0,1 ${f*.35},${1*f*.2} + + a${w},${w} 1 0,1 ${f*.15},${1*p*.35} + a${_},${_} 1 0,1 ${-1*f*.15},${1*p*.65} + + a${k},${w} 1 0,1 ${-1*f*.25},${f*.15} + a${b},${b} 1 0,1 ${-1*f*.5},${0} + a${w},${w} 1 0,1 ${-1*f*.25},${-1*f*.15} + + a${w},${w} 1 0,1 ${-1*f*.1},${-1*p*.35} + a${_},${_} 1 0,1 ${f*.1},${-1*p*.65} + + H0 V0 Z`)},_zt=function(s,o){const f=o.width,p=o.height,w=.15*f;s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("d",`M0 0 a${w},${w} 1 0,0 ${f*.25},${-1*p*.1} + a${w},${w} 1 0,0 ${f*.25},${0} + a${w},${w} 1 0,0 ${f*.25},${0} + a${w},${w} 1 0,0 ${f*.25},${1*p*.1} + + a${w},${w} 1 0,0 ${f*.15},${1*p*.33} + a${w*.8},${w*.8} 1 0,0 ${0},${1*p*.34} + a${w},${w} 1 0,0 ${-1*f*.15},${1*p*.33} + + a${w},${w} 1 0,0 ${-1*f*.25},${p*.15} + a${w},${w} 1 0,0 ${-1*f*.25},${0} + a${w},${w} 1 0,0 ${-1*f*.25},${0} + a${w},${w} 1 0,0 ${-1*f*.25},${-1*p*.15} + + a${w},${w} 1 0,0 ${-1*f*.1},${-1*p*.33} + a${w*.8},${w*.8} 1 0,0 ${0},${-1*p*.34} + a${w},${w} 1 0,0 ${f*.1},${-1*p*.33} + + H0 V0 Z`)},Czt=function(s,o){s.append("circle").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("r",o.width/2)};function Szt(s,o,f,p,w){return s.insert("polygon",":first-child").attr("points",p.map(function(k){return k.x+","+k.y}).join(" ")).attr("transform","translate("+(w.width-o)/2+", "+f+")")}const Azt=function(s,o){const f=o.height,w=f/4,k=o.width-o.padding+2*w,b=[{x:w,y:0},{x:k-w,y:0},{x:k,y:-f/2},{x:k-w,y:-f},{x:w,y:-f},{x:0,y:-f/2}];Szt(s,k,f,b,o)},Lzt=function(s,o){s.append("rect").attr("id","node-"+o.id).attr("class","node-bkg node-"+h9(o.type)).attr("height",o.height).attr("rx",o.padding).attr("ry",o.padding).attr("width",o.width)},gRe={drawNode:function(s,o,f,p){const w=f%(dRe-1),k=s.append("g");o.section=w;let b="section-"+w;w<0&&(b+=" section-root"),k.attr("class",(o.class?o.class+" ":"")+"mindmap-node "+b);const _=k.append("g"),A=k.append("g"),B=A.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(kzt,o.width).node().getBBox(),F=p.fontSize.replace?p.fontSize.replace("px",""):p.fontSize;if(o.height=B.height+F*1.1*.5+o.padding,o.width=B.width+2*o.padding,o.icon)if(o.type===Zu.CIRCLE)o.height+=50,o.width+=50,k.append("foreignObject").attr("height","50px").attr("width",o.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+w+" "+o.icon),A.attr("transform","translate("+o.width/2+", "+(o.height/2-1.5*o.padding)+")");else{o.width+=50;const H=o.height;o.height=Math.max(H,60);const j=Math.abs(o.height-H);k.append("foreignObject").attr("width","60px").attr("height",o.height).attr("style","text-align: center;margin-top:"+j/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+w+" "+o.icon),A.attr("transform","translate("+(25+o.width/2)+", "+(j/2+o.padding/2)+")")}else A.attr("transform","translate("+o.width/2+", "+o.padding/2+")");switch(o.type){case Zu.DEFAULT:xzt(_,o,w);break;case Zu.ROUNDED_RECT:Lzt(_,o);break;case Zu.RECT:Ezt(_,o);break;case Zu.CIRCLE:_.attr("transform","translate("+o.width/2+", "+ +o.height/2+")"),Czt(_,o);break;case Zu.CLOUD:Tzt(_,o);break;case Zu.BANG:_zt(_,o);break;case Zu.HEXAGON:Azt(_,o);break}return hRe(o.id,k),o.height},positionNode:function(s){const o=lge(s.id),f=s.x||0,p=s.y||0;o.attr("transform","translate("+f+","+p+")")},drawEdge:function(o,f,p,w,k){const b=k%(dRe-1),_=p.x+p.width/2,A=p.y+p.height/2,N=f.x+f.width/2,B=f.y+f.height/2,F=N>_?_+Math.abs(_-N)/2:_-Math.abs(_-N)/2,H=B>A?A+Math.abs(A-B)/2:A-Math.abs(A-B)/2,j=N>_?Math.abs(_-F)/2+_:-Math.abs(_-F)/2+_,V=B>A?Math.abs(A-H)/2+A:-Math.abs(A-H)/2+A;o.append("path").attr("d",p.direction==="TB"||p.direction==="BT"?`M${_},${A} Q${_},${V} ${F},${H} T${N},${B}`:`M${_},${A} Q${j},${A} ${F},${H} T${N},${B}`).attr("class","edge section-edge-"+b+" edge-depth-"+w)}};var hge={},Mzt={get exports(){return hge},set exports(s){hge=s}};(function(s,o){(function(f,p){s.exports=p()})(g0,function(){function f(m){return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},f(m)}function p(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function w(m,g){for(var y=0;ym.length)&&(g=m.length);for(var y=0,E=new Array(g);y"u"?null:window,V=j?j.navigator:null;j&&j.document;var Z=f(""),ae=f({}),le=f(function(){}),ce=typeof HTMLElement>"u"?"undefined":f(HTMLElement),be=function(g){return g&&g.instanceString&&Ee(g.instanceString)?g.instanceString():null},xe=function(g){return g!=null&&f(g)==Z},Ee=function(g){return g!=null&&f(g)===le},Me=function(g){return!he(g)&&(Array.isArray?Array.isArray(g):g!=null&&g instanceof Array)},fe=function(g){return g!=null&&f(g)===ae&&!Me(g)&&g.constructor===Object},ye=function(g){return g!=null&&f(g)===ae},re=function(g){return g!=null&&f(g)===f(1)&&!isNaN(g)},we=function(g){return re(g)&&Math.floor(g)===g},ke=function(g){if(ce!=="undefined")return g!=null&&g instanceof HTMLElement},he=function(g){return De(g)||X(g)},De=function(g){return be(g)==="collection"&&g._private.single},X=function(g){return be(g)==="collection"&&!g._private.single},Re=function(g){return be(g)==="core"},pe=function(g){return be(g)==="stylesheet"},Ge=function(g){return be(g)==="event"},de=function(g){return g==null?!0:!!(g===""||g.match(/^\s+$/))},ct=function(g){return typeof HTMLElement>"u"?!1:g instanceof HTMLElement},bt=function(g){return fe(g)&&re(g.x1)&&re(g.x2)&&re(g.y1)&&re(g.y2)},St=function(g){return ye(g)&&Ee(g.then)},yt=function(){return V&&V.userAgent.match(/msie|trident|edge/i)},Mt=function(g,y){y||(y=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var D=[],I=0;Iy?1:0},Mn=function(g,y){return-1*Ve(g,y)},Oe=Object.assign!=null?Object.assign.bind(Object):function(m){for(var g=arguments,y=1;y1&&(Ce-=1),Ce<1/6?se+(oe-se)*6*Ce:Ce<1/2?oe:Ce<2/3?se+(oe-se)*(2/3-Ce)*6:se}var U=new RegExp("^"+At+"$").exec(g);if(U){if(E=parseInt(U[1]),E<0?E=(360- -1*E%360)%360:E>360&&(E=E%360),E/=360,S=parseFloat(U[2]),S<0||S>100||(S=S/100,D=parseFloat(U[3]),D<0||D>100)||(D=D/100,I=U[4],I!==void 0&&(I=parseFloat(I),I<0||I>1)))return;if(S===0)R=$=C=Math.round(D*255);else{var J=D<.5?D*(1+S):D+S-D*S,te=2*D-J;R=Math.round(255*G(te,J,E+1/3)),$=Math.round(255*G(te,J,E)),C=Math.round(255*G(te,J,E-1/3))}y=[R,$,C,I]}return y},pi=function(g){var y,E=new RegExp("^"+Tt+"$").exec(g);if(E){y=[];for(var S=[],D=1;D<=3;D++){var I=E[D];if(I[I.length-1]==="%"&&(S[D]=!0),I=parseFloat(I),S[D]&&(I=I/100*255),I<0||I>255)return;y.push(Math.floor(I))}var R=S[1]||S[2]||S[3],$=S[1]&&S[2]&&S[3];if(R&&!$)return;var C=E[4];if(C!==void 0){if(C=parseFloat(C),C<0||C>1)return;y.push(C)}}return y},Fr=function(g){return Wn[g.toLowerCase()]},tr=function(g){return(Me(g)?g:null)||Fr(g)||Di(g)||pi(g)||rn(g)},Wn={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},er=function(g){for(var y=g.map,E=g.keys,S=E.length,D=0;D=g||Fe<0||U&&et>=D}function ve(){var Ue=vr();if(Ce(Ue))return Ae(Ue);R=setTimeout(ve,oe(Ue))}function Ae(Ue){return R=void 0,J&&E?te(Ue):(E=S=void 0,I)}function Le(){R!==void 0&&clearTimeout(R),C=0,E=$=S=R=void 0}function Be(){return R===void 0?I:Ae(vr())}function Xe(){var Ue=vr(),Fe=Ce(Ue);if(E=arguments,S=this,$=Ue,Fe){if(R===void 0)return se($);if(U)return clearTimeout(R),R=setTimeout(ve,g),te($)}return R===void 0&&(R=setTimeout(ve,g)),I}return Xe.cancel=Le,Xe.flush=Be,Xe}var Rd=rm,cs=j?j.performance:null,Es=cs&&cs.now?function(){return cs.now()}:function(){return Date.now()},Ya=function(){if(j){if(j.requestAnimationFrame)return function(m){j.requestAnimationFrame(m)};if(j.mozRequestAnimationFrame)return function(m){j.mozRequestAnimationFrame(m)};if(j.webkitRequestAnimationFrame)return function(m){j.webkitRequestAnimationFrame(m)};if(j.msRequestAnimationFrame)return function(m){j.msRequestAnimationFrame(m)}}return function(m){m&&setTimeout(function(){m(Es())},1e3/60)}}(),Ei=function(g){return Ya(g)},uc=Es,Ot=9261,im=65599,Kt=5381,id=function(g){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ot,E=y,S;S=g.next(),!S.done;)E=E*im+S.value|0;return E},sm=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ot;return y*im+g|0},f3=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kt;return(y<<5)+y+g|0},s8=function(g,y){return g*2097152+y},I2=function(g){return g[0]*2097152+g[1]},fl=function(g,y){return[sm(g[0],y[0]),f3(g[1],y[1])]},Zb=function(g,y){var E={value:0,done:!1},S=0,D=g.length,I={next:function(){return S=0&&!(g[S]===y&&(g.splice(S,1),E));S--);},JA=function(g){g.splice(0,g.length)},TP=function(g,y){for(var E=0;E"u"?"undefined":f(Set))!==LW?Set:MW,p9=function(g,y){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(g===void 0||y===void 0||!Re(g)){Fu("An element must have a core reference and parameters set");return}var S=y.group;if(S==null&&(y.data&&y.data.source!=null&&y.data.target!=null?S="edges":S="nodes"),S!=="nodes"&&S!=="edges"){Fu("An element must be of type `nodes` or `edges`; you specified `"+S+"`");return}this.length=1,this[0]=this;var D=this._private={cy:g,single:!0,data:y.data||{},position:y.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:S,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!y.selected,selectable:y.selectable===void 0?!0:!!y.selectable,locked:!!y.locked,grabbed:!1,grabbable:y.grabbable===void 0?!0:!!y.grabbable,pannable:y.pannable===void 0?S==="edges":!!y.pannable,active:!1,classes:new N5,animation:{current:[],queue:[]},rscratch:{},scratch:y.scratch||{},edges:[],children:[],parent:y.parent&&y.parent.isNode()?y.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(D.position.x==null&&(D.position.x=0),D.position.y==null&&(D.position.y=0),y.renderedPosition){var I=y.renderedPosition,R=g.pan(),$=g.zoom();D.position={x:(I.x-R.x)/$,y:(I.y-R.y)/$}}var C=[];Me(y.classes)?C=y.classes:xe(y.classes)&&(C=y.classes.split(/\s+/));for(var G=0,U=C.length;GAe?1:0},G=function(ve,Ae,Le,Be,Xe){var Ue;if(Le==null&&(Le=0),Xe==null&&(Xe=E),Le<0)throw new Error("lo must be non-negative");for(Be==null&&(Be=ve.length);Leut;0<=ut?ze++:ze--)et.push(ze);return et}.apply(this).reverse(),Fe=[],Be=0,Xe=Ue.length;Beht;0<=ht?++et:--et)tt.push(I(ve,Le));return tt},oe=function(ve,Ae,Le,Be){var Xe,Ue,Fe;for(Be==null&&(Be=E),Xe=ve[Le];Le>Ae;){if(Fe=Le-1>>1,Ue=ve[Fe],Be(Xe,Ue)<0){ve[Le]=Ue,Le=Fe;continue}break}return ve[Le]=Xe},Ce=function(ve,Ae,Le){var Be,Xe,Ue,Fe,et;for(Le==null&&(Le=E),Xe=ve.length,et=Ae,Ue=ve[Ae],Be=2*Ae+1;Be0;){var Ue=Ae.pop(),Fe=Ce(Ue),et=Ue.id();if(J[et]=Fe,Fe!==1/0)for(var ze=Ue.neighborhood().intersect(se),ut=0;ut0)for(wn.unshift(Ht);U[Kn];){var xn=U[Kn];wn.unshift(xn.edge),wn.unshift(xn.node),Sn=xn.node,Kn=Sn.id()}return R.spawn(wn)}}}},NW={kruskal:function(g){g=g||function(Le){return 1};for(var y=this.byGroup(),E=y.nodes,S=y.edges,D=E.length,I=new Array(D),R=E,$=function(Be){for(var Xe=0;Xe0;){if(Xe(),Fe++,Be===G){for(var et=[],ze=D,ut=G,ht=ve[ut];et.unshift(ze),ht!=null&&et.unshift(ht),ze=Ce[ut],ze!=null;)ut=ze.id(),ht=ve[ut];return{found:!0,distance:U[Be],path:this.spawn(et),steps:Fe}}te[Be]=!0;for(var tt=Le._private.edges,Dt=0;Dtht&&(se[ut]=ht,Ae[ut]=ze,Le[ut]=Xe),!D){var tt=ze*G+et;!D&&se[tt]>ht&&(se[tt]=ht,Ae[tt]=et,Le[tt]=Xe)}}}for(var Dt=0;Dt1&&arguments[1]!==void 0?arguments[1]:I,to=Le(Ii),sa=[],Ws=to;;){if(Ws==null)return y.spawn();var Cr=Ae(Ws),Ye=Cr.edge,Pn=Cr.pred;if(sa.unshift(Ws[0]),Ws.same(es)&&sa.length>0)break;Ye!=null&&sa.unshift(Ye),Ws=Pn}return $.spawn(sa)},Ue=0;Ue=0;G--){var U=C[G],J=U[1],te=U[2];(y[J]===R&&y[te]===$||y[J]===$&&y[te]===R)&&C.splice(G,1)}for(var se=0;seS;){var D=Math.floor(Math.random()*y.length);y=zW(D,g,y),E--}return y},GW={kargerStein:function(){var g=this,y=this.byGroup(),E=y.nodes,S=y.edges;S.unmergeBy(function(wn){return wn.isLoop()});var D=E.length,I=S.length,R=Math.ceil(Math.pow(Math.log(D)/Math.LN2,2)),$=Math.floor(D/HW);if(D<2){Fu("At least 2 nodes are required for Karger-Stein algorithm");return}for(var C=[],G=0;G1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=1/0,D=y;D1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=-1/0,D=y;D1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=0,D=0,I=y;I1&&arguments[1]!==void 0?arguments[1]:0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.length,S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,I=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;S?g=g.slice(y,E):(E0&&g.splice(0,y));for(var R=0,$=g.length-1;$>=0;$--){var C=g[$];I?isFinite(C)||(g[$]=-1/0,R++):g.splice($,1)}D&&g.sort(function(J,te){return J-te});var G=g.length,U=Math.floor(G/2);return G%2!==0?g[U+1+R]:(g[U-1+R]+g[U+R])/2},YW=function(g){return Math.PI*g/180},v9=function(g,y){return Math.atan2(y,g)-Math.PI/2},tL=Math.log2||function(m){return Math.log(m)/Math.log(2)},SP=function(g){return g>0?1:g<0?-1:0},p3=function(g,y){return Math.sqrt(b3(g,y))},b3=function(g,y){var E=y.x-g.x,S=y.y-g.y;return E*E+S*S},XW=function(g){for(var y=g.length,E=0,S=0;S=g.x1&&g.y2>=g.y1)return{x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,w:g.x2-g.x1,h:g.y2-g.y1};if(g.w!=null&&g.h!=null&&g.w>=0&&g.h>=0)return{x1:g.x1,y1:g.y1,x2:g.x1+g.w,y2:g.y1+g.h,w:g.w,h:g.h}}},ZW=function(g){return{x1:g.x1,x2:g.x2,w:g.w,y1:g.y1,y2:g.y2,h:g.h}},JW=function(g){g.x1=1/0,g.y1=1/0,g.x2=-1/0,g.y2=-1/0,g.w=0,g.h=0},eY=function(g,y){g.x1=Math.min(g.x1,y.x1),g.x2=Math.max(g.x2,y.x2),g.w=g.x2-g.x1,g.y1=Math.min(g.y1,y.y1),g.y2=Math.max(g.y2,y.y2),g.h=g.y2-g.y1},tY=function(g,y,E){g.x1=Math.min(g.x1,y),g.x2=Math.max(g.x2,y),g.w=g.x2-g.x1,g.y1=Math.min(g.y1,E),g.y2=Math.max(g.y2,E),g.h=g.y2-g.y1},w9=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return g.x1-=y,g.x2+=y,g.y1-=y,g.y2+=y,g.w=g.x2-g.x1,g.h=g.y2-g.y1,g},nL=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],E,S,D,I;if(y.length===1)E=S=D=I=y[0];else if(y.length===2)E=D=y[0],I=S=y[1];else if(y.length===4){var R=_(y,4);E=R[0],S=R[1],D=R[2],I=R[3]}return g.x1-=I,g.x2+=S,g.y1-=E,g.y2+=D,g.w=g.x2-g.x1,g.h=g.y2-g.y1,g},AP=function(g,y){g.x1=y.x1,g.y1=y.y1,g.x2=y.x2,g.y2=y.y2,g.w=g.x2-g.x1,g.h=g.y2-g.y1},rL=function(g,y){return!(g.x1>y.x2||y.x1>g.x2||g.x2y.y2||y.y1>g.y2)},F5=function(g,y,E){return g.x1<=y&&y<=g.x2&&g.y1<=E&&E<=g.y2},nY=function(g,y){return F5(g,y.x,y.y)},LP=function(g,y){return F5(g,y.x1,y.y1)&&F5(g,y.x2,y.y2)},MP=function(g,y,E,S,D,I,R){var $=h8(D,I),C=D/2,G=I/2,U;{var J=E-C+$-R,te=S-G-R,se=E+C-$+R,oe=te;if(U=cm(g,y,E,S,J,te,se,oe,!1),U.length>0)return U}{var Ce=E+C+R,ve=S-G+$-R,Ae=Ce,Le=S+G-$+R;if(U=cm(g,y,E,S,Ce,ve,Ae,Le,!1),U.length>0)return U}{var Be=E-C+$-R,Xe=S+G+R,Ue=E+C-$+R,Fe=Xe;if(U=cm(g,y,E,S,Be,Xe,Ue,Fe,!1),U.length>0)return U}{var et=E-C-R,ze=S-G+$-R,ut=et,ht=S+G-$+R;if(U=cm(g,y,E,S,et,ze,ut,ht,!1),U.length>0)return U}var tt;{var Dt=E-C+$,ft=S-G+$;if(tt=u8(g,y,E,S,Dt,ft,$+R),tt.length>0&&tt[0]<=Dt&&tt[1]<=ft)return[tt[0],tt[1]]}{var ln=E+C-$,Rt=S-G+$;if(tt=u8(g,y,E,S,ln,Rt,$+R),tt.length>0&&tt[0]>=ln&&tt[1]<=Rt)return[tt[0],tt[1]]}{var Ht=E+C-$,wn=S+G-$;if(tt=u8(g,y,E,S,Ht,wn,$+R),tt.length>0&&tt[0]>=Ht&&tt[1]>=wn)return[tt[0],tt[1]]}{var Sn=E-C+$,Kn=S+G-$;if(tt=u8(g,y,E,S,Sn,Kn,$+R),tt.length>0&&tt[0]<=Sn&&tt[1]>=Kn)return[tt[0],tt[1]]}return[]},rY=function(g,y,E,S,D,I,R){var $=R,C=Math.min(E,D),G=Math.max(E,D),U=Math.min(S,I),J=Math.max(S,I);return C-$<=g&&g<=G+$&&U-$<=y&&y<=J+$},iY=function(g,y,E,S,D,I,R,$,C){var G={x1:Math.min(E,R,D)-C,x2:Math.max(E,R,D)+C,y1:Math.min(S,$,I)-C,y2:Math.max(S,$,I)+C};return!(gG.x2||yG.y2)},sY=function(g,y,E,S){E-=S;var D=y*y-4*g*E;if(D<0)return[];var I=Math.sqrt(D),R=2*g,$=(-y+I)/R,C=(-y-I)/R;return[$,C]},aY=function(g,y,E,S,D){var I=1e-5;g===0&&(g=I),y/=g,E/=g,S/=g;var R,$,C,G,U,J,te,se;if($=(3*E-y*y)/9,C=-(27*S)+y*(9*E-2*(y*y)),C/=54,R=$*$*$+C*C,D[1]=0,te=y/3,R>0){U=C+Math.sqrt(R),U=U<0?-Math.pow(-U,1/3):Math.pow(U,1/3),J=C-Math.sqrt(R),J=J<0?-Math.pow(-J,1/3):Math.pow(J,1/3),D[0]=-te+U+J,te+=(U+J)/2,D[4]=D[2]=-te,te=Math.sqrt(3)*(-J+U)/2,D[3]=te,D[5]=-te;return}if(D[5]=D[3]=0,R===0){se=C<0?-Math.pow(-C,1/3):Math.pow(C,1/3),D[0]=-te+2*se,D[4]=D[2]=-(se+te);return}$=-$,G=$*$*$,G=Math.acos(C/Math.sqrt(G)),se=2*Math.sqrt($),D[0]=-te+se*Math.cos(G/3),D[2]=-te+se*Math.cos((G+2*Math.PI)/3),D[4]=-te+se*Math.cos((G+4*Math.PI)/3)},oY=function(g,y,E,S,D,I,R,$){var C=1*E*E-4*E*D+2*E*R+4*D*D-4*D*R+R*R+S*S-4*S*I+2*S*$+4*I*I-4*I*$+$*$,G=1*9*E*D-3*E*E-3*E*R-6*D*D+3*D*R+9*S*I-3*S*S-3*S*$-6*I*I+3*I*$,U=1*3*E*E-6*E*D+E*R-E*g+2*D*D+2*D*g-R*g+3*S*S-6*S*I+S*$-S*y+2*I*I+2*I*y-$*y,J=1*E*D-E*E+E*g-D*g+S*I-S*S+S*y-I*y,te=[];aY(C,G,U,J,te);for(var se=1e-7,oe=[],Ce=0;Ce<6;Ce+=2)Math.abs(te[Ce+1])=0&&te[Ce]<=1&&oe.push(te[Ce]);oe.push(1),oe.push(0);for(var ve=-1,Ae,Le,Be,Xe=0;Xe=0?BeC?(g-D)*(g-D)+(y-I)*(y-I):G-J},$d=function(g,y,E){for(var S,D,I,R,$,C=0,G=0;G=g&&g>=I||S<=g&&g<=I)$=(g-S)/(I-S)*(R-D)+D,$>y&&C++;else continue;return C%2!==0},ev=function(g,y,E,S,D,I,R,$,C){var G=new Array(E.length),U;$[0]!=null?(U=Math.atan($[1]/$[0]),$[0]<0?U=U+Math.PI/2:U=-U-Math.PI/2):U=$;for(var J=Math.cos(-U),te=Math.sin(-U),se=0;se0){var Ce=IP(G,-C);oe=DP(Ce)}else oe=G;return $d(g,y,oe)},uY=function(g,y,E,S,D,I,R){for(var $=new Array(E.length),C=I/2,G=R/2,U=aL(I,R),J=U*U,te=0;te=0&&Ce<=1&&Ae.push(Ce),ve>=0&&ve<=1&&Ae.push(ve),Ae.length===0)return[];var Le=Ae[0]*$[0]+g,Be=Ae[0]*$[1]+y;if(Ae.length>1){if(Ae[0]==Ae[1])return[Le,Be];var Xe=Ae[1]*$[0]+g,Ue=Ae[1]*$[1]+y;return[Le,Be,Xe,Ue]}else return[Le,Be]},iL=function(g,y,E){return y<=g&&g<=E||E<=g&&g<=y?g:g<=y&&y<=E||E<=y&&y<=g?y:E},cm=function(g,y,E,S,D,I,R,$,C){var G=g-D,U=E-g,J=R-D,te=y-I,se=S-y,oe=$-I,Ce=J*te-oe*G,ve=U*te-se*G,Ae=oe*U-J*se;if(Ae!==0){var Le=Ce/Ae,Be=ve/Ae,Xe=.001,Ue=0-Xe,Fe=1+Xe;return Ue<=Le&&Le<=Fe&&Ue<=Be&&Be<=Fe?[g+Le*U,y+Le*se]:C?[g+Le*U,y+Le*se]:[]}else return Ce===0||ve===0?iL(g,E,R)===R?[R,$]:iL(g,E,D)===D?[D,I]:iL(D,R,E)===E?[E,S]:[]:[]},l8=function(g,y,E,S,D,I,R,$){var C=[],G,U=new Array(E.length),J=!0;I==null&&(J=!1);var te;if(J){for(var se=0;se0){var oe=IP(U,-$);te=DP(oe)}else te=U}else te=E;for(var Ce,ve,Ae,Le,Be=0;Be2){for(var Rt=[C[0],C[1]],Ht=Math.pow(Rt[0]-g,2)+Math.pow(Rt[1]-y,2),wn=1;wnG&&(G=Be)},get:function(Le){return C[Le]}},J=0;J0?Rt=ln.edgesTo(ft)[0]:Rt=ft.edgesTo(ln)[0];var Ht=S(Rt);ft=ft.id(),et[ft]>et[tt]+Ht&&(et[ft]=et[tt]+Ht,ze.nodes.indexOf(ft)<0?ze.push(ft):ze.updateItem(ft),Fe[ft]=0,Ue[ft]=[]),et[ft]==et[tt]+Ht&&(Fe[ft]=Fe[ft]+Fe[tt],Ue[ft].push(tt))}else for(var wn=0;wn<$[tt].length;wn++){var Sn=$[tt][wn].id();et[Sn]==1/0&&(ze.push(Sn),et[Sn]=et[tt]+1),et[Sn]==et[tt]+1&&(Fe[Sn]=Fe[Sn]+Fe[tt],Ue[Sn].push(tt))}}for(var Kn={},xn=0;xn0;){for(var Un=Xe.pop(),ar=0;ar0&&R.push(E[$]);R.length!==0&&D.push(S.collection(R))}return D},TY=function(g,y){for(var E=0;E5&&arguments[5]!==void 0?arguments[5]:SY,R=S,$,C,G=0;G=2?f8(g,y,E,0,zP,AY):f8(g,y,E,0,HP)},squaredEuclidean:function(g,y,E){return f8(g,y,E,0,zP)},manhattan:function(g,y,E){return f8(g,y,E,0,HP)},max:function(g,y,E){return f8(g,y,E,-1/0,LY)}};$5["squared-euclidean"]=$5.squaredEuclidean,$5.squaredeuclidean=$5.squaredEuclidean;function y9(m,g,y,E,S,D){var I;return Ee(m)?I=m:I=$5[m]||$5.euclidean,g===0&&Ee(m)?I(S,D):I(g,y,E,S,D)}var MY=zf({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),uL=function(g){return MY(g)},k9=function(g,y,E,S,D){var I=D!=="kMedoids",R=I?function(U){return E[U]}:function(U){return S[U](E)},$=function(J){return S[J](y)},C=E,G=y;return y9(g,S.length,R,$,C,G)},lL=function(g,y,E){for(var S=E.length,D=new Array(S),I=new Array(S),R=new Array(y),$=null,C=0;CE)return!1}return!0},OY=function(g,y,E){for(var S=0;SR&&(R=y[C][G],$=G);D[$].push(g[C])}for(var U=0;U=D.threshold||D.mode==="dendrogram"&&g.length===1)return!1;var se=y[I],oe=y[S[I]],Ce;D.mode==="dendrogram"?Ce={left:se,right:oe,key:se.key}:Ce={value:se.value.concat(oe.value),key:se.key},g[se.index]=Ce,g.splice(oe.index,1),y[se.key]=Ce;for(var ve=0;veE[oe.key][Ae.key]&&($=E[oe.key][Ae.key])):D.linkage==="max"?($=E[se.key][Ae.key],E[se.key][Ae.key]0&&S.push(D);return S},XP=function(g,y,E){for(var S=[],D=0;DR&&(I=C,R=y[D*g+C])}I>0&&S.push(I)}for(var G=0;GC&&($=G,C=U)}E[D]=I[$]}return S=XP(g,y,E),S},QP=function(g){for(var y=this.cy(),E=this.nodes(),S=KY(g),D={},I=0;I=ht?(tt=ht,ht=ft,Dt=ln):ft>tt&&(tt=ft);for(var Rt=0;Rt0?1:0;Fe[ze%S.minIterations*R+Un]=ar,xn+=ar}if(xn>0&&(ze>=S.minIterations-1||ze==S.maxIterations-1)){for(var xr=0,fr=0;fr1||Ue>1)&&(R=!0),U[Le]=[],Ae.outgoers().forEach(function(et){et.isEdge()&&U[Le].push(et.id())})}else J[Le]=[void 0,Ae.target().id()]}):I.forEach(function(Ae){var Le=Ae.id();if(Ae.isNode()){var Be=Ae.degree(!0);Be%2&&($?C?R=!0:C=Le:$=Le),U[Le]=[],Ae.connectedEdges().forEach(function(Xe){return U[Le].push(Xe.id())})}else J[Le]=[Ae.source().id(),Ae.target().id()]});var te={found:!1,trail:void 0};if(R)return te;if(C&&$)if(D){if(G&&C!=G)return te;G=C}else{if(G&&C!=G&&$!=G)return te;G||(G=C)}else G||(G=I[0].id());var se=function(Le){for(var Be=Le,Xe=[Le],Ue,Fe,et;U[Be].length;)Ue=U[Be].shift(),Fe=J[Ue][0],et=J[Ue][1],Be!=et?(U[et]=U[et].filter(function(ze){return ze!=Ue}),Be=et):!D&&Be!=Fe&&(U[Fe]=U[Fe].filter(function(ze){return ze!=Ue}),Be=Fe),Xe.unshift(Ue),Xe.unshift(Be);return Xe},oe=[],Ce=[];for(Ce=se(G);Ce.length!=1;)U[Ce[0]].length==0?(oe.unshift(I.getElementById(Ce.shift())),oe.unshift(I.getElementById(Ce.shift()))):Ce=se(Ce.shift()).concat(Ce);oe.unshift(I.getElementById(Ce.shift()));for(var ve in U)if(U[ve].length)return te;return te.found=!0,te.trail=this.spawn(oe,!0),te}},E9=function(){var g=this,y={},E=0,S=0,D=[],I=[],R={},$=function(J,te){for(var se=I.length-1,oe=[],Ce=g.spawn();I[se].x!=J||I[se].y!=te;)oe.push(I.pop().edge),se--;oe.push(I.pop().edge),oe.forEach(function(ve){var Ae=ve.connectedNodes().intersection(g);Ce.merge(ve),Ae.forEach(function(Le){var Be=Le.id(),Xe=Le.connectedEdges().intersection(g);Ce.merge(Le),y[Be].cutVertex?Ce.merge(Xe.filter(function(Ue){return Ue.isLoop()})):Ce.merge(Xe)})}),D.push(Ce)},C=function U(J,te,se){J===se&&(S+=1),y[te]={id:E,low:E++,cutVertex:!1};var oe=g.getElementById(te).connectedEdges().intersection(g);if(oe.size()===0)D.push(g.spawn(g.getElementById(te)));else{var Ce,ve,Ae,Le;oe.forEach(function(Be){Ce=Be.source().id(),ve=Be.target().id(),Ae=Ce===te?ve:Ce,Ae!==se&&(Le=Be.id(),R[Le]||(R[Le]=!0,I.push({x:te,y:Ae,edge:Be})),Ae in y?y[te].low=Math.min(y[te].low,y[Ae].id):(U(J,Ae,te),y[te].low=Math.min(y[te].low,y[Ae].low),y[te].id<=y[Ae].low&&(y[te].cutVertex=!0,$(te,Ae))))})}};g.forEach(function(U){if(U.isNode()){var J=U.id();J in y||(S=0,C(J,J),y[J].cutVertex=S>1)}});var G=Object.keys(y).filter(function(U){return y[U].cutVertex}).map(function(U){return g.getElementById(U)});return{cut:g.spawn(G),components:D}},tX={hopcroftTarjanBiconnected:E9,htbc:E9,htb:E9,hopcroftTarjanBiconnectedComponents:E9},T9=function(){var g=this,y={},E=0,S=[],D=[],I=g.spawn(g),R=function $(C){D.push(C),y[C]={index:E,low:E++,explored:!1};var G=g.getElementById(C).connectedEdges().intersection(g);if(G.forEach(function(oe){var Ce=oe.target().id();Ce!==C&&(Ce in y||$(Ce),y[Ce].explored||(y[C].low=Math.min(y[C].low,y[Ce].low)))}),y[C].index===y[C].low){for(var U=g.spawn();;){var J=D.pop();if(U.merge(g.getElementById(J)),y[J].low=y[C].index,y[J].explored=!0,J===C)break}var te=U.edgesWith(U),se=U.merge(te);S.push(se),I=I.difference(se)}};return g.forEach(function($){if($.isNode()){var C=$.id();C in y||R(C)}}),{cut:I,components:S}},nX={tarjanStronglyConnected:T9,tsc:T9,tscc:T9,tarjanStronglyConnectedComponents:T9},ZP={};[a8,OW,NW,BW,RW,$W,GW,gY,R5,j5,cL,CY,jY,VY,ZY,eX,tX,nX].forEach(function(m){Oe(ZP,m)});/*! +Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable +Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) +Licensed under The MIT License (http://opensource.org/licenses/MIT) +*/var JP=0,eB=1,tB=2,tv=function m(g){if(!(this instanceof m))return new m(g);this.id="Thenable/1.0.7",this.state=JP,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof g=="function"&&g.call(this,this.fulfill.bind(this),this.reject.bind(this))};tv.prototype={fulfill:function(g){return nB(this,eB,"fulfillValue",g)},reject:function(g){return nB(this,tB,"rejectReason",g)},then:function(g,y){var E=this,S=new tv;return E.onFulfilled.push(sB(g,S,"fulfill")),E.onRejected.push(sB(y,S,"reject")),rB(E),S.proxy}};var nB=function(g,y,E,S){return g.state===JP&&(g.state=y,g[E]=S,rB(g)),g},rB=function(g){g.state===eB?iB(g,"onFulfilled",g.fulfillValue):g.state===tB&&iB(g,"onRejected",g.rejectReason)},iB=function(g,y,E){if(g[y].length!==0){var S=g[y];g[y]=[];var D=function(){for(var R=0;R0}},clearQueue:function(){return function(){var y=this,E=y.length!==void 0,S=E?y:[y],D=this._private.cy||this;if(!D.styleEnabled())return this;for(var I=0;I-1}var rQ=nQ;function iQ(m,g){var y=this.__data__,E=S9(y,m);return E<0?(++this.size,y.push([m,g])):y[E][1]=g,this}var sQ=iQ;function G5(m){var g=-1,y=m==null?0:m.length;for(this.clear();++g-1&&m%1==0&&m0&&this.spawn(S).updateStyle().emit("class"),y},addClass:function(g){return this.toggleClass(g,!0)},hasClass:function(g){var y=this[0];return y!=null&&y._private.classes.has(g)},toggleClass:function(g,y){Me(g)||(g=g.match(/\S+/g)||[]);for(var E=this,S=y===void 0,D=[],I=0,R=E.length;I0&&this.spawn(D).updateStyle().emit("class"),E},removeClass:function(g){return this.toggleClass(g,!1)},flashClass:function(g,y){var E=this;if(y==null)y=250;else if(y===0)return E;return E.addClass(g),setTimeout(function(){E.removeClass(g)},y),E}};D9.className=D9.classNames=D9.classes;var lc={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:xt,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};lc.variable="(?:[\\w-.]|(?:\\\\"+lc.metaChar+"))+",lc.className="(?:[\\w-]|(?:\\\\"+lc.metaChar+"))+",lc.value=lc.string+"|"+lc.number,lc.id=lc.variable,function(){var m,g,y;for(m=lc.comparatorOp.split("|"),y=0;y=0)&&g!=="="&&(lc.comparatorOp+="|\\!"+g)}();var eu=function(){return{checks:[]}},Ki={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},bL=[{selector:":selected",matches:function(g){return g.selected()}},{selector:":unselected",matches:function(g){return!g.selected()}},{selector:":selectable",matches:function(g){return g.selectable()}},{selector:":unselectable",matches:function(g){return!g.selectable()}},{selector:":locked",matches:function(g){return g.locked()}},{selector:":unlocked",matches:function(g){return!g.locked()}},{selector:":visible",matches:function(g){return g.visible()}},{selector:":hidden",matches:function(g){return!g.visible()}},{selector:":transparent",matches:function(g){return g.transparent()}},{selector:":grabbed",matches:function(g){return g.grabbed()}},{selector:":free",matches:function(g){return!g.grabbed()}},{selector:":removed",matches:function(g){return g.removed()}},{selector:":inside",matches:function(g){return!g.removed()}},{selector:":grabbable",matches:function(g){return g.grabbable()}},{selector:":ungrabbable",matches:function(g){return!g.grabbable()}},{selector:":animated",matches:function(g){return g.animated()}},{selector:":unanimated",matches:function(g){return!g.animated()}},{selector:":parent",matches:function(g){return g.isParent()}},{selector:":childless",matches:function(g){return g.isChildless()}},{selector:":child",matches:function(g){return g.isChild()}},{selector:":orphan",matches:function(g){return g.isOrphan()}},{selector:":nonorphan",matches:function(g){return g.isChild()}},{selector:":compound",matches:function(g){return g.isNode()?g.isParent():g.source().isParent()||g.target().isParent()}},{selector:":loop",matches:function(g){return g.isLoop()}},{selector:":simple",matches:function(g){return g.isSimple()}},{selector:":active",matches:function(g){return g.active()}},{selector:":inactive",matches:function(g){return!g.active()}},{selector:":backgrounding",matches:function(g){return g.backgrounding()}},{selector:":nonbackgrounding",matches:function(g){return!g.backgrounding()}}].sort(function(m,g){return Mn(m.selector,g.selector)}),sZ=function(){for(var m={},g,y=0;y0&&G.edgeCount>0)return Jo("The selector `"+g+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(G.edgeCount>1)return Jo("The selector `"+g+"` is invalid because it uses multiple edge selectors"),!1;G.edgeCount===1&&Jo("The selector `"+g+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},hZ=function(){if(this.toStringCache!=null)return this.toStringCache;for(var g=function(G){return G??""},y=function(G){return xe(G)?'"'+G+'"':g(G)},E=function(G){return" "+G+" "},S=function(G,U){var J=G.type,te=G.value;switch(J){case Ki.GROUP:{var se=g(te);return se.substring(0,se.length-1)}case Ki.DATA_COMPARE:{var oe=G.field,Ce=G.operator;return"["+oe+E(g(Ce))+y(te)+"]"}case Ki.DATA_BOOL:{var ve=G.operator,Ae=G.field;return"["+g(ve)+Ae+"]"}case Ki.DATA_EXIST:{var Le=G.field;return"["+Le+"]"}case Ki.META_COMPARE:{var Be=G.operator,Xe=G.field;return"[["+Xe+E(g(Be))+y(te)+"]]"}case Ki.STATE:return te;case Ki.ID:return"#"+te;case Ki.CLASS:return"."+te;case Ki.PARENT:case Ki.CHILD:return D(G.parent,U)+E(">")+D(G.child,U);case Ki.ANCESTOR:case Ki.DESCENDANT:return D(G.ancestor,U)+" "+D(G.descendant,U);case Ki.COMPOUND_SPLIT:{var Ue=D(G.left,U),Fe=D(G.subject,U),et=D(G.right,U);return Ue+(Ue.length>0?" ":"")+Fe+et}case Ki.TRUE:return""}},D=function(G,U){return G.checks.reduce(function(J,te,se){return J+(U===G&&se===0?"$":"")+S(te,U)},"")},I="",R=0;R1&&R=0&&(y=y.replace("!",""),U=!0),y.indexOf("@")>=0&&(y=y.replace("@",""),G=!0),(D||R||G)&&($=!D&&!I?"":""+g,C=""+E),G&&(g=$=$.toLowerCase(),E=C=C.toLowerCase()),y){case"*=":S=$.indexOf(C)>=0;break;case"$=":S=$.indexOf(C,$.length-C.length)>=0;break;case"^=":S=$.indexOf(C)===0;break;case"=":S=g===E;break;case">":J=!0,S=g>E;break;case">=":J=!0,S=g>=E;break;case"<":J=!0,S=g0;){var G=S.shift();g(G),D.add(G.id()),R&&E(S,D,G)}return m}function g8(m,g,y){if(y.isParent())for(var E=y._private.children,S=0;S1&&arguments[1]!==void 0?arguments[1]:!0;return I9(this,m,g,g8)};function TB(m,g,y){if(y.isChild()){var E=y._private.parent;g.has(E.id())||m.push(E)}}U5.forEachUp=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return I9(this,m,g,TB)};function mZ(m,g,y){TB(m,g,y),g8(m,g,y)}U5.forEachUpAndDown=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return I9(this,m,g,mZ)},U5.ancestors=U5.parents;var p8,_B;p8=_B={data:Pc.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Pc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Pc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Pc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Pc.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Pc.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var g=this[0];if(g)return g._private.data.id}},p8.attr=p8.data,p8.removeAttr=p8.removeData;var yZ=_B,O9={};function K5(m){return function(g){var y=this;if(g===void 0&&(g=!0),y.length!==0)if(y.isNode()&&!y.removed()){for(var E=0,S=y[0],D=S._private.edges,I=0;Ig}),minIndegree:W5("indegree",function(m,g){return mg}),minOutdegree:W5("outdegree",function(m,g){return mg})}),Oe(O9,{totalDegree:function(g){for(var y=0,E=this.nodes(),S=0;S0,J=U;U&&(G=G[0]);var te=J?G.position():{x:0,y:0};y!==void 0?C.position(g,y+te[g]):D!==void 0&&C.position({x:D.x+te.x,y:D.y+te.y})}else{var se=E.position(),oe=R?E.parent():null,Ce=oe&&oe.length>0,ve=Ce;Ce&&(oe=oe[0]);var Ae=ve?oe.position():{x:0,y:0};return D={x:se.x-Ae.x,y:se.y-Ae.y},g===void 0?D:D[g]}else if(!I)return;return this}},fp.modelPosition=fp.point=fp.position,fp.modelPositions=fp.points=fp.positions,fp.renderedPoint=fp.renderedPosition,fp.relativePoint=fp.relativePosition;var AB=CB,Y5,P2;Y5=P2={},P2.renderedBoundingBox=function(m){var g=this.boundingBox(m),y=this.cy(),E=y.zoom(),S=y.pan(),D=g.x1*E+S.x,I=g.x2*E+S.x,R=g.y1*E+S.y,$=g.y2*E+S.y;return{x1:D,x2:I,y1:R,y2:$,w:I-D,h:$-R}},P2.dirtyCompoundBoundsCache=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,g=this.cy();return!g.styleEnabled()||!g.hasCompoundNodes()?this:(this.forEachUp(function(y){if(y.isParent()){var E=y._private;E.compoundBoundsClean=!1,E.bbCache=null,m||y.emitAndNotify("bounds")}}),this)},P2.updateCompoundBounds=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,g=this.cy();if(!g.styleEnabled()||!g.hasCompoundNodes())return this;if(!m&&g.batching())return this;function y(I){if(!I.isParent())return;var R=I._private,$=I.children(),C=I.pstyle("compound-sizing-wrt-labels").value==="include",G={width:{val:I.pstyle("min-width").pfValue,left:I.pstyle("min-width-bias-left"),right:I.pstyle("min-width-bias-right")},height:{val:I.pstyle("min-height").pfValue,top:I.pstyle("min-height-bias-top"),bottom:I.pstyle("min-height-bias-bottom")}},U=$.boundingBox({includeLabels:C,includeOverlays:!1,useCache:!1}),J=R.position;(U.w===0||U.h===0)&&(U={w:I.pstyle("width").pfValue,h:I.pstyle("height").pfValue},U.x1=J.x-U.w/2,U.x2=J.x+U.w/2,U.y1=J.y-U.h/2,U.y2=J.y+U.h/2);function te(ze,ut,ht){var tt=0,Dt=0,ft=ut+ht;return ze>0&&ft>0&&(tt=ut/ft*ze,Dt=ht/ft*ze),{biasDiff:tt,biasComplementDiff:Dt}}function se(ze,ut,ht,tt){if(ht.units==="%")switch(tt){case"width":return ze>0?ht.pfValue*ze:0;case"height":return ut>0?ht.pfValue*ut:0;case"average":return ze>0&&ut>0?ht.pfValue*(ze+ut)/2:0;case"min":return ze>0&&ut>0?ze>ut?ht.pfValue*ut:ht.pfValue*ze:0;case"max":return ze>0&&ut>0?ze>ut?ht.pfValue*ze:ht.pfValue*ut:0;default:return 0}else return ht.units==="px"?ht.pfValue:0}var oe=G.width.left.value;G.width.left.units==="px"&&G.width.val>0&&(oe=oe*100/G.width.val);var Ce=G.width.right.value;G.width.right.units==="px"&&G.width.val>0&&(Ce=Ce*100/G.width.val);var ve=G.height.top.value;G.height.top.units==="px"&&G.height.val>0&&(ve=ve*100/G.height.val);var Ae=G.height.bottom.value;G.height.bottom.units==="px"&&G.height.val>0&&(Ae=Ae*100/G.height.val);var Le=te(G.width.val-U.w,oe,Ce),Be=Le.biasDiff,Xe=Le.biasComplementDiff,Ue=te(G.height.val-U.h,ve,Ae),Fe=Ue.biasDiff,et=Ue.biasComplementDiff;R.autoPadding=se(U.w,U.h,I.pstyle("padding"),I.pstyle("padding-relative-to").value),R.autoWidth=Math.max(U.w,G.width.val),J.x=(-Be+U.x1+U.x2+Xe)/2,R.autoHeight=Math.max(U.h,G.height.val),J.y=(-Fe+U.y1+U.y2+et)/2}for(var E=0;Eg.x2?S:g.x2,g.y1=Eg.y2?D:g.y2,g.w=g.x2-g.x1,g.h=g.y2-g.y1)},m3=function(g,y){return y==null?g:dp(g,y.x1,y.y1,y.x2,y.y2)},v8=function(g,y,E){return lp(g,y,E)},N9=function(g,y,E){if(!y.cy().headless()){var S=y._private,D=S.rstyle,I=D.arrowWidth/2,R=y.pstyle(E+"-arrow-shape").value,$,C;if(R!=="none"){E==="source"?($=D.srcX,C=D.srcY):E==="target"?($=D.tgtX,C=D.tgtY):($=D.midX,C=D.midY);var G=S.arrowBounds=S.arrowBounds||{},U=G[E]=G[E]||{};U.x1=$-I,U.y1=C-I,U.x2=$+I,U.y2=C+I,U.w=U.x2-U.x1,U.h=U.y2-U.y1,w9(U,1),dp(g,U.x1,U.y1,U.x2,U.y2)}}},LB=function(g,y,E){if(!y.cy().headless()){var S;E?S=E+"-":S="";var D=y._private,I=D.rstyle,R=y.pstyle(S+"label").strValue;if(R){var $=y.pstyle("text-halign"),C=y.pstyle("text-valign"),G=v8(I,"labelWidth",E),U=v8(I,"labelHeight",E),J=v8(I,"labelX",E),te=v8(I,"labelY",E),se=y.pstyle(S+"text-margin-x").pfValue,oe=y.pstyle(S+"text-margin-y").pfValue,Ce=y.isEdge(),ve=y.pstyle(S+"text-rotation"),Ae=y.pstyle("text-outline-width").pfValue,Le=y.pstyle("text-border-width").pfValue,Be=Le/2,Xe=y.pstyle("text-background-padding").pfValue,Ue=2,Fe=U,et=G,ze=et/2,ut=Fe/2,ht,tt,Dt,ft;if(Ce)ht=J-ze,tt=J+ze,Dt=te-ut,ft=te+ut;else{switch($.value){case"left":ht=J-et,tt=J;break;case"center":ht=J-ze,tt=J+ze;break;case"right":ht=J,tt=J+et;break}switch(C.value){case"top":Dt=te-Fe,ft=te;break;case"center":Dt=te-ut,ft=te+ut;break;case"bottom":Dt=te,ft=te+Fe;break}}ht+=se-Math.max(Ae,Be)-Xe-Ue,tt+=se+Math.max(Ae,Be)+Xe+Ue,Dt+=oe-Math.max(Ae,Be)-Xe-Ue,ft+=oe+Math.max(Ae,Be)+Xe+Ue;var ln=E||"main",Rt=D.labelBounds,Ht=Rt[ln]=Rt[ln]||{};Ht.x1=ht,Ht.y1=Dt,Ht.x2=tt,Ht.y2=ft,Ht.w=tt-ht,Ht.h=ft-Dt;var wn=Ce&&ve.strValue==="autorotate",Sn=ve.pfValue!=null&&ve.pfValue!==0;if(wn||Sn){var Kn=wn?v8(D.rstyle,"labelAngle",E):ve.pfValue,xn=Math.cos(Kn),Un=Math.sin(Kn),ar=(ht+tt)/2,xr=(Dt+ft)/2;if(!Ce){switch($.value){case"left":ar=tt;break;case"right":ar=ht;break}switch(C.value){case"top":xr=ft;break;case"bottom":xr=Dt;break}}var fr=function(Ra,Li){return Ra=Ra-ar,Li=Li-xr,{x:Ra*xn-Li*Un+ar,y:Ra*Un+Li*xn+xr}},rr=fr(ht,Dt),gn=fr(ht,ft),mr=fr(tt,Dt),pr=fr(tt,ft);ht=Math.min(rr.x,gn.x,mr.x,pr.x),tt=Math.max(rr.x,gn.x,mr.x,pr.x),Dt=Math.min(rr.y,gn.y,mr.y,pr.y),ft=Math.max(rr.y,gn.y,mr.y,pr.y)}var ri=ln+"Rot",Ti=Rt[ri]=Rt[ri]||{};Ti.x1=ht,Ti.y1=Dt,Ti.x2=tt,Ti.y2=ft,Ti.w=tt-ht,Ti.h=ft-Dt,dp(g,ht,Dt,tt,ft),dp(D.labelBounds.all,ht,Dt,tt,ft)}return g}},kZ=function(g,y){var E=g._private.cy,S=E.styleEnabled(),D=E.headless(),I=jd(),R=g._private,$=g.isNode(),C=g.isEdge(),G,U,J,te,se,oe,Ce=R.rstyle,ve=$&&S?g.pstyle("bounds-expansion").pfValue:[0],Ae=function(Ts){return Ts.pstyle("display").value!=="none"},Le=!S||Ae(g)&&(!C||Ae(g.source())&&Ae(g.target()));if(Le){var Be=0,Xe=0;S&&y.includeOverlays&&(Be=g.pstyle("overlay-opacity").value,Be!==0&&(Xe=g.pstyle("overlay-padding").value));var Ue=0,Fe=0;S&&y.includeUnderlays&&(Ue=g.pstyle("underlay-opacity").value,Ue!==0&&(Fe=g.pstyle("underlay-padding").value));var et=Math.max(Xe,Fe),ze=0,ut=0;if(S&&(ze=g.pstyle("width").pfValue,ut=ze/2),$&&y.includeNodes){var ht=g.position();se=ht.x,oe=ht.y;var tt=g.outerWidth(),Dt=tt/2,ft=g.outerHeight(),ln=ft/2;G=se-Dt,U=se+Dt,J=oe-ln,te=oe+ln,dp(I,G,J,U,te)}else if(C&&y.includeEdges)if(S&&!D){var Rt=g.pstyle("curve-style").strValue;if(G=Math.min(Ce.srcX,Ce.midX,Ce.tgtX),U=Math.max(Ce.srcX,Ce.midX,Ce.tgtX),J=Math.min(Ce.srcY,Ce.midY,Ce.tgtY),te=Math.max(Ce.srcY,Ce.midY,Ce.tgtY),G-=ut,U+=ut,J-=ut,te+=ut,dp(I,G,J,U,te),Rt==="haystack"){var Ht=Ce.haystackPts;if(Ht&&Ht.length===2){if(G=Ht[0].x,J=Ht[0].y,U=Ht[1].x,te=Ht[1].y,G>U){var wn=G;G=U,U=wn}if(J>te){var Sn=J;J=te,te=Sn}dp(I,G-ut,J-ut,U+ut,te+ut)}}else if(Rt==="bezier"||Rt==="unbundled-bezier"||Rt==="segments"||Rt==="taxi"){var Kn;switch(Rt){case"bezier":case"unbundled-bezier":Kn=Ce.bezierPts;break;case"segments":case"taxi":Kn=Ce.linePts;break}if(Kn!=null)for(var xn=0;xnU){var gn=G;G=U,U=gn}if(J>te){var mr=J;J=te,te=mr}G-=ut,U+=ut,J-=ut,te+=ut,dp(I,G,J,U,te)}if(S&&y.includeEdges&&C&&(N9(I,g,"mid-source"),N9(I,g,"mid-target"),N9(I,g,"source"),N9(I,g,"target")),S){var pr=g.pstyle("ghost").value==="yes";if(pr){var ri=g.pstyle("ghost-offset-x").pfValue,Ti=g.pstyle("ghost-offset-y").pfValue;dp(I,I.x1+ri,I.y1+Ti,I.x2+ri,I.y2+Ti)}}var ia=R.bodyBounds=R.bodyBounds||{};AP(ia,I),nL(ia,ve),w9(ia,1),S&&(G=I.x1,U=I.x2,J=I.y1,te=I.y2,dp(I,G-et,J-et,U+et,te+et));var Ra=R.overlayBounds=R.overlayBounds||{};AP(Ra,I),nL(Ra,ve),w9(Ra,1);var Li=R.labelBounds=R.labelBounds||{};Li.all!=null?JW(Li.all):Li.all=jd(),S&&y.includeLabels&&(y.includeMainLabels&&LB(I,g,null),C&&(y.includeSourceLabels&&LB(I,g,"source"),y.includeTargetLabels&&LB(I,g,"target")))}return I.x1=E0(I.x1),I.y1=E0(I.y1),I.x2=E0(I.x2),I.y2=E0(I.y2),I.w=E0(I.x2-I.x1),I.h=E0(I.y2-I.y1),I.w>0&&I.h>0&&Le&&(nL(I,ve),w9(I,1)),I},MB=function(g){var y=0,E=function(I){return(I?1:0)<0&&arguments[0]!==void 0?arguments[0]:PZ,g=arguments.length>1?arguments[1]:void 0,y=0;y=0;R--)I(R);return this},dm.removeAllListeners=function(){return this.removeListener("*")},dm.emit=dm.trigger=function(m,g,y){var E=this.listeners,S=E.length;return this.emitting++,Me(g)||(g=[g]),BZ(this,function(D,I){y!=null&&(E=[{event:I.event,type:I.type,namespace:I.namespace,callback:y}],S=E.length);for(var R=function(G){var U=E[G];if(U.type===I.type&&(!U.namespace||U.namespace===I.namespace||U.namespace===NZ)&&D.eventMatches(D.context,U,I)){var J=[I];g!=null&&TP(J,g),D.beforeEmit(D.context,U,I),U.conf&&U.conf.one&&(D.listeners=D.listeners.filter(function(oe){return oe!==U}));var te=D.callbackContext(D.context,U,I),se=U.callback.apply(te,J);D.afterEmit(D.context,U,I),se===!1&&(I.stopPropagation(),I.preventDefault())}},$=0;$1&&!I){var R=this.length-1,$=this[R],C=$._private.data.id;this[R]=void 0,this[g]=$,D.set(C,{ele:$,index:g})}return this.length--,this},unmergeOne:function(g){g=g[0];var y=this._private,E=g._private.data.id,S=y.map,D=S.get(E);if(!D)return this;var I=D.index;return this.unmergeAt(I),this},unmerge:function(g){var y=this._private.cy;if(!g)return this;if(g&&xe(g)){var E=g;g=y.mutableElements().filter(E)}for(var S=0;S=0;y--){var E=this[y];g(E)&&this.unmergeAt(y)}return this},map:function(g,y){for(var E=[],S=this,D=0;DE&&(E=$,S=R)}return{value:E,ele:S}},min:function(g,y){for(var E=1/0,S,D=this,I=0;I=0&&D"u"?"undefined":f(Symbol))!=g&&f(Symbol.iterator)!=g;y&&(R9[Symbol.iterator]=function(){var E=this,S={value:void 0,done:!1},D=0,I=this.length;return b({next:function(){return D1&&arguments[1]!==void 0?arguments[1]:!0,E=this[0],S=E.cy();if(S.styleEnabled()&&E){this.cleanStyle();var D=E._private.style[g];return D??(y?S.style().getDefaultProperty(g):null)}},numericStyle:function(g){var y=this[0];if(y.cy().styleEnabled()&&y){var E=y.pstyle(g);return E.pfValue!==void 0?E.pfValue:E.value}},numericStyleUnits:function(g){var y=this[0];if(y.cy().styleEnabled()&&y)return y.pstyle(g).units},renderedStyle:function(g){var y=this.cy();if(!y.styleEnabled())return this;var E=this[0];if(E)return y.style().getRenderedStyle(E,g)},style:function(g,y){var E=this.cy();if(!E.styleEnabled())return this;var S=!1,D=E.style();if(fe(g)){var I=g;D.applyBypass(this,I,S),this.emitAndNotify("style")}else if(xe(g))if(y===void 0){var R=this[0];return R?D.getStylePropertyValue(R,g):void 0}else D.applyBypass(this,g,y,S),this.emitAndNotify("style");else if(g===void 0){var $=this[0];return $?D.getRawStyle($):void 0}return this},removeStyle:function(g){var y=this.cy();if(!y.styleEnabled())return this;var E=!1,S=y.style(),D=this;if(g===void 0)for(var I=0;I0&&g.push(G[0]),g.push(R[0])}return this.spawn(g,!0).filter(m)},"neighborhood"),closedNeighborhood:function(g){return this.neighborhood().add(this).filter(g)},openNeighborhood:function(g){return this.neighborhood(g)}}),v1.neighbourhood=v1.neighborhood,v1.closedNeighbourhood=v1.closedNeighborhood,v1.openNeighbourhood=v1.openNeighborhood,Oe(v1,{source:ad(function(g){var y=this[0],E;return y&&(E=y._private.source||y.cy().collection()),E&&g?E.filter(g):E},"source"),target:ad(function(g){var y=this[0],E;return y&&(E=y._private.target||y.cy().collection()),E&&g?E.filter(g):E},"target"),sources:XB({attr:"source"}),targets:XB({attr:"target"})});function XB(m){return function(y){for(var E=[],S=0;S0);return I},component:function(){var g=this[0];return g.cy().mutableElements().components(g)[0]}}),v1.componentsOf=v1.components;var qf=function(g,y){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(g===void 0){Fu("A collection must have a reference to the core");return}var D=new N2,I=!1;if(!y)y=[];else if(y.length>0&&fe(y[0])&&!De(y[0])){I=!0;for(var R=[],$=new N5,C=0,G=y.length;C0&&arguments[0]!==void 0?arguments[0]:!0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=this,E=y.cy(),S=E._private,D=[],I=[],R,$=0,C=y.length;$0){for(var Sn=R.length===y.length?y:new qf(E,R),Kn=0;Kn0&&arguments[0]!==void 0?arguments[0]:!0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=this,E=[],S={},D=y._private.cy;function I(ft){for(var ln=ft._private.edges,Rt=0;Rt0&&(m?ht.emitAndNotify("remove"):g&&ht.emit("remove"));for(var tt=0;tt0?tt=ft:ht=ft;while(Math.abs(Dt)>I&&++ln=D?Ae(ut,ln):Rt===0?ln:Be(ut,ht,ht+C)}var Ue=!1;function Fe(){Ue=!0,(m!==g||y!==E)&&Le()}var et=function(ht){return Ue||Fe(),m===g&&y===E?ht:ht===0?0:ht===1?1:Ce(Xe(ht),g,E)};et.getControlPoints=function(){return[{x:m,y:g},{x:y,y:E}]};var ze="generateBezier("+[m,g,y,E]+")";return et.toString=function(){return ze},et}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var KZ=function(){function m(E){return-E.tension*E.x-E.friction*E.v}function g(E,S,D){var I={x:E.x+D.dx*S,v:E.v+D.dv*S,tension:E.tension,friction:E.friction};return{dx:I.v,dv:m(I)}}function y(E,S){var D={dx:E.v,dv:m(E)},I=g(E,S*.5,D),R=g(E,S*.5,I),$=g(E,S,R),C=1/6*(D.dx+2*(I.dx+R.dx)+$.dx),G=1/6*(D.dv+2*(I.dv+R.dv)+$.dv);return E.x=E.x+C*S,E.v=E.v+G*S,E}return function E(S,D,I){var R={x:-1,v:0,tension:null,friction:null},$=[0],C=0,G=1/1e4,U=16/1e3,J,te,se;for(S=parseFloat(S)||500,D=parseFloat(D)||20,I=I||null,R.tension=S,R.friction=D,J=I!==null,J?(C=E(S,D),te=C/I*U):te=U;se=y(se||R,te),$.push(1+se.x),C+=16,Math.abs(se.x)>G&&Math.abs(se.v)>G;);return J?function(oe){return $[oe*($.length-1)|0]}:C}}(),yu=function(g,y,E,S){var D=UZ(g,y,E,S);return function(I,R,$){return I+(R-I)*D($)}},z9={linear:function(g,y,E){return g+(y-g)*E},ease:yu(.25,.1,.25,1),"ease-in":yu(.42,0,1,1),"ease-out":yu(0,0,.58,1),"ease-in-out":yu(.42,0,.58,1),"ease-in-sine":yu(.47,0,.745,.715),"ease-out-sine":yu(.39,.575,.565,1),"ease-in-out-sine":yu(.445,.05,.55,.95),"ease-in-quad":yu(.55,.085,.68,.53),"ease-out-quad":yu(.25,.46,.45,.94),"ease-in-out-quad":yu(.455,.03,.515,.955),"ease-in-cubic":yu(.55,.055,.675,.19),"ease-out-cubic":yu(.215,.61,.355,1),"ease-in-out-cubic":yu(.645,.045,.355,1),"ease-in-quart":yu(.895,.03,.685,.22),"ease-out-quart":yu(.165,.84,.44,1),"ease-in-out-quart":yu(.77,0,.175,1),"ease-in-quint":yu(.755,.05,.855,.06),"ease-out-quint":yu(.23,1,.32,1),"ease-in-out-quint":yu(.86,0,.07,1),"ease-in-expo":yu(.95,.05,.795,.035),"ease-out-expo":yu(.19,1,.22,1),"ease-in-out-expo":yu(1,0,0,1),"ease-in-circ":yu(.6,.04,.98,.335),"ease-out-circ":yu(.075,.82,.165,1),"ease-in-out-circ":yu(.785,.135,.15,.86),spring:function(g,y,E){if(E===0)return z9.linear;var S=KZ(g,y,E);return function(D,I,R){return D+(I-D)*S(R)}},"cubic-bezier":yu};function JB(m,g,y,E,S){if(E===1||g===y)return y;var D=S(g,y,E);return m==null||((m.roundValue||m.color)&&(D=Math.round(D)),m.min!==void 0&&(D=Math.max(D,m.min)),m.max!==void 0&&(D=Math.min(D,m.max))),D}function eF(m,g){return m.pfValue!=null||m.value!=null?m.pfValue!=null&&(g==null||g.type.units!=="%")?m.pfValue:m.value:m}function Z5(m,g,y,E,S){var D=S!=null?S.type:null;y<0?y=0:y>1&&(y=1);var I=eF(m,S),R=eF(g,S);if(re(I)&&re(R))return JB(D,I,R,y,E);if(Me(I)&&Me(R)){for(var $=[],C=0;C0?(te==="spring"&&se.push(I.duration),I.easingImpl=z9[te].apply(null,se)):I.easingImpl=z9[te]}var oe=I.easingImpl,Ce;if(I.duration===0?Ce=1:Ce=(y-$)/I.duration,I.applying&&(Ce=I.progress),Ce<0?Ce=0:Ce>1&&(Ce=1),I.delay==null){var ve=I.startPosition,Ae=I.position;if(Ae&&S&&!m.locked()){var Le={};x8(ve.x,Ae.x)&&(Le.x=Z5(ve.x,Ae.x,Ce,oe)),x8(ve.y,Ae.y)&&(Le.y=Z5(ve.y,Ae.y,Ce,oe)),m.position(Le)}var Be=I.startPan,Xe=I.pan,Ue=D.pan,Fe=Xe!=null&&E;Fe&&(x8(Be.x,Xe.x)&&(Ue.x=Z5(Be.x,Xe.x,Ce,oe)),x8(Be.y,Xe.y)&&(Ue.y=Z5(Be.y,Xe.y,Ce,oe)),m.emit("pan"));var et=I.startZoom,ze=I.zoom,ut=ze!=null&&E;ut&&(x8(et,ze)&&(D.zoom=c8(D.minZoom,Z5(et,ze,Ce,oe),D.maxZoom)),m.emit("zoom")),(Fe||ut)&&m.emit("viewport");var ht=I.style;if(ht&&ht.length>0&&S){for(var tt=0;tt=0;Fe--){var et=Ue[Fe];et()}Ue.splice(0,Ue.length)},Ae=te.length-1;Ae>=0;Ae--){var Le=te[Ae],Be=Le._private;if(Be.stopped){te.splice(Ae,1),Be.hooked=!1,Be.playing=!1,Be.started=!1,ve(Be.frames);continue}!Be.playing&&!Be.applying||(Be.playing&&Be.applying&&(Be.applying=!1),Be.started||YZ(G,Le,m),WZ(G,Le,m,U),Be.applying&&(Be.applying=!1),ve(Be.frames),Be.step!=null&&Be.step(m),Le.completed()&&(te.splice(Ae,1),Be.hooked=!1,Be.playing=!1,Be.started=!1,ve(Be.completes)),oe=!0)}return!U&&te.length===0&&se.length===0&&E.push(G),oe}for(var D=!1,I=0;I0?g.notify("draw",y):g.notify("draw")),y.unmerge(E),g.emit("step")}var XZ={animate:Pc.animate(),animation:Pc.animation(),animated:Pc.animated(),clearQueue:Pc.clearQueue(),delay:Pc.delay(),delayAnimation:Pc.delayAnimation(),stop:Pc.stop(),addToAnimationPool:function(g){var y=this;y.styleEnabled()&&y._private.aniEles.merge(g)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var g=this;if(g._private.animationsRunning=!0,!g.styleEnabled())return;function y(){g._private.animationsRunning&&Ei(function(D){tF(D,g),y()})}var E=g.renderer();E&&E.beforeRender?E.beforeRender(function(D,I){tF(I,g)},E.beforeRenderPriorities.animations):y()}},QZ={qualifierCompare:function(g,y){return g==null||y==null?g==null&&y==null:g.sameText(y)},eventMatches:function(g,y,E){var S=y.qualifier;return S!=null?g!==E.target&&De(E.target)&&S.matches(E.target):!0},addEventFields:function(g,y){y.cy=g,y.target=g},callbackContext:function(g,y,E){return y.qualifier!=null?E.target:g}},G9=function(g){return xe(g)?new hm(g):g},nF={createEmitter:function(){var g=this._private;return g.emitter||(g.emitter=new B9(QZ,this)),this},emitter:function(){return this._private.emitter},on:function(g,y,E){return this.emitter().on(g,G9(y),E),this},removeListener:function(g,y,E){return this.emitter().removeListener(g,G9(y),E),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(g,y,E){return this.emitter().one(g,G9(y),E),this},once:function(g,y,E){return this.emitter().one(g,G9(y),E),this},emit:function(g,y){return this.emitter().emit(g,y),this},emitAndNotify:function(g,y){return this.emit(g),this.notify(g,y),this}};Pc.eventAliasesOn(nF);var kL={png:function(g){var y=this._private.renderer;return g=g||{},y.png(g)},jpg:function(g){var y=this._private.renderer;return g=g||{},g.bg=g.bg||"#fff",y.jpg(g)}};kL.jpeg=kL.jpg;var q9={layout:function(g){var y=this;if(g==null){Fu("Layout options must be specified to make a layout");return}if(g.name==null){Fu("A `name` must be specified to make a layout");return}var E=g.name,S=y.extension("layout",E);if(S==null){Fu("No such layout `"+E+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var D;xe(g.eles)?D=y.$(g.eles):D=g.eles!=null?g.eles:y.$();var I=new S(Oe({},g,{cy:y,eles:D}));return I}};q9.createLayout=q9.makeLayout=q9.layout;var ZZ={notify:function(g,y){var E=this._private;if(this.batching()){E.batchNotifications=E.batchNotifications||{};var S=E.batchNotifications[g]=E.batchNotifications[g]||this.collection();y!=null&&S.merge(y);return}if(E.notificationsEnabled){var D=this.renderer();this.destroyed()||!D||D.notify(g,y)}},notifications:function(g){var y=this._private;return g===void 0?y.notificationsEnabled:(y.notificationsEnabled=!!g,this)},noNotifications:function(g){this.notifications(!1),g(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var g=this._private;return g.batchCount==null&&(g.batchCount=0),g.batchCount===0&&(g.batchStyleEles=this.collection(),g.batchNotifications={}),g.batchCount++,this},endBatch:function(){var g=this._private;if(g.batchCount===0)return this;if(g.batchCount--,g.batchCount===0){g.batchStyleEles.updateStyle();var y=this.renderer();Object.keys(g.batchNotifications).forEach(function(E){var S=g.batchNotifications[E];S.empty()?y.notify(E):y.notify(E,S)})}return this},batch:function(g){return this.startBatch(),g(),this.endBatch(),this},batchData:function(g){var y=this;return this.batch(function(){for(var E=Object.keys(g),S=0;S0;)y.removeChild(y.childNodes[0]);g._private.renderer=null,g.mutableElements().forEach(function(E){var S=E._private;S.rscratch={},S.rstyle={},S.animation.current=[],S.animation.queue=[]})},onRender:function(g){return this.on("render",g)},offRender:function(g){return this.off("render",g)}};xL.invalidateDimensions=xL.resize;var V9={collection:function(g,y){return xe(g)?this.$(g):he(g)?g.collection():Me(g)?(y||(y={}),new qf(this,g,y.unique,y.removed)):new qf(this)},nodes:function(g){var y=this.$(function(E){return E.isNode()});return g?y.filter(g):y},edges:function(g){var y=this.$(function(E){return E.isEdge()});return g?y.filter(g):y},$:function(g){var y=this._private.elements;return g?y.filter(g):y.spawnSelf()},mutableElements:function(){return this._private.elements}};V9.elements=V9.filter=V9.$;var w1={},E8="t",eJ="f";w1.apply=function(m){for(var g=this,y=g._private,E=y.cy,S=E.collection(),D=0;D0;if(J||U&&te){var se=void 0;J&&te||J?se=C.properties:te&&(se=C.mappedProperties);for(var oe=0;oe1&&(Be=1),R.color){var Ue=E.valueMin[0],Fe=E.valueMax[0],et=E.valueMin[1],ze=E.valueMax[1],ut=E.valueMin[2],ht=E.valueMax[2],tt=E.valueMin[3]==null?1:E.valueMin[3],Dt=E.valueMax[3]==null?1:E.valueMax[3],ft=[Math.round(Ue+(Fe-Ue)*Be),Math.round(et+(ze-et)*Be),Math.round(ut+(ht-ut)*Be),Math.round(tt+(Dt-tt)*Be)];D={bypass:E.bypass,name:E.name,value:ft,strValue:"rgb("+ft[0]+", "+ft[1]+", "+ft[2]+")"}}else if(R.number){var ln=E.valueMin+(E.valueMax-E.valueMin)*Be;D=this.parse(E.name,ln,E.bypass,J)}else return!1;if(!D)return oe(),!1;D.mapping=E,E=D;break}case I.data:{for(var Rt=E.field.split("."),Ht=U.data,wn=0;wn0&&D>0){for(var R={},$=!1,C=0;C0?m.delayAnimation(I).play().promise().then(Le):Le()}).then(function(){return m.animation({style:R,duration:D,easing:m.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){y.removeBypasses(m,S),m.emitAndNotify("style"),E.transitioning=!1})}else E.transitioning&&(this.removeBypasses(m,S),m.emitAndNotify("style"),E.transitioning=!1)},w1.checkTrigger=function(m,g,y,E,S,D){var I=this.properties[g],R=S(I);R!=null&&R(y,E)&&D(I)},w1.checkZOrderTrigger=function(m,g,y,E){var S=this;this.checkTrigger(m,g,y,E,function(D){return D.triggersZOrder},function(){S._private.cy.notify("zorder",m)})},w1.checkBoundsTrigger=function(m,g,y,E){this.checkTrigger(m,g,y,E,function(S){return S.triggersBounds},function(S){m.dirtyCompoundBoundsCache(),m.dirtyBoundingBoxCache(),S.triggersBoundsOfParallelBeziers&&(g==="curve-style"&&(y==="bezier"||E==="bezier")||g==="display"&&(y==="none"||E==="none"))&&m.parallelEdges().forEach(function(D){D.isBundledBezier()&&D.dirtyBoundingBoxCache()})})},w1.checkTriggers=function(m,g,y,E){m.dirtyStyleCache(),this.checkZOrderTrigger(m,g,y,E),this.checkBoundsTrigger(m,g,y,E)};var T8={};T8.applyBypass=function(m,g,y,E){var S=this,D=[],I=!0;if(g==="*"||g==="**"){if(y!==void 0)for(var R=0;RS.length?E=E.substr(S.length):E=""}function $(){D.length>I.length?D=D.substr(I.length):D=""}for(;;){var C=E.match(/^\s*$/);if(C)break;var G=E.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!G){Jo("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+E);break}S=G[0];var U=G[1];if(U!=="core"){var J=new hm(U);if(J.invalid){Jo("Skipping parsing of block: Invalid selector found in string stylesheet: "+U),R();continue}}var te=G[2],se=!1;D=te;for(var oe=[];;){var Ce=D.match(/^\s*$/);if(Ce)break;var ve=D.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!ve){Jo("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+te),se=!0;break}I=ve[0];var Ae=ve[1],Le=ve[2],Be=g.properties[Ae];if(!Be){Jo("Skipping property: Invalid property name in: "+I),$();continue}var Xe=y.parse(Ae,Le);if(!Xe){Jo("Skipping property: Invalid property definition in: "+I),$();continue}oe.push({name:Ae,val:Le}),$()}if(se){R();break}y.selector(U);for(var Ue=0;Ue=7&&g[0]==="d"&&(G=new RegExp(R.data.regex).exec(g))){if(y)return!1;var J=R.data;return{name:m,value:G,strValue:""+g,mapped:J,field:G[1],bypass:y}}else if(g.length>=10&&g[0]==="m"&&(U=new RegExp(R.mapData.regex).exec(g))){if(y||C.multiple)return!1;var te=R.mapData;if(!(C.color||C.number))return!1;var se=this.parse(m,U[4]);if(!se||se.mapped)return!1;var oe=this.parse(m,U[5]);if(!oe||oe.mapped)return!1;if(se.pfValue===oe.pfValue||se.strValue===oe.strValue)return Jo("`"+m+": "+g+"` is not a valid mapper because the output range is zero; converting to `"+m+": "+se.strValue+"`"),this.parse(m,se.strValue);if(C.color){var Ce=se.value,ve=oe.value,Ae=Ce[0]===ve[0]&&Ce[1]===ve[1]&&Ce[2]===ve[2]&&(Ce[3]===ve[3]||(Ce[3]==null||Ce[3]===1)&&(ve[3]==null||ve[3]===1));if(Ae)return!1}return{name:m,value:U,strValue:""+g,mapped:te,field:U[1],fieldMin:parseFloat(U[2]),fieldMax:parseFloat(U[3]),valueMin:se.value,valueMax:oe.value,bypass:y}}}if(C.multiple&&E!=="multiple"){var Le;if($?Le=g.split(/\s+/):Me(g)?Le=g:Le=[g],C.evenMultiple&&Le.length%2!==0)return null;for(var Be=[],Xe=[],Ue=[],Fe="",et=!1,ze=0;ze0?" ":"")+ut.strValue}return C.validate&&!C.validate(Be,Xe)?null:C.singleEnum&&et?Be.length===1&&xe(Be[0])?{name:m,value:Be[0],strValue:Be[0],bypass:y}:null:{name:m,value:Be,pfValue:Ue,strValue:Fe,bypass:y,units:Xe}}var ht=function(){for(var pr=0;prC.max||C.strictMax&&g===C.max))return null;var Rt={name:m,value:g,strValue:""+g+(tt||""),units:tt,bypass:y};return C.unitless||tt!=="px"&&tt!=="em"?Rt.pfValue=g:Rt.pfValue=tt==="px"||!tt?g:this.getEmSizeInPixels()*g,(tt==="ms"||tt==="s")&&(Rt.pfValue=tt==="ms"?g:1e3*g),(tt==="deg"||tt==="rad")&&(Rt.pfValue=tt==="rad"?g:YW(g)),tt==="%"&&(Rt.pfValue=g/100),Rt}else if(C.propList){var Ht=[],wn=""+g;if(wn!=="none"){for(var Sn=wn.split(/\s*,\s*|\s+/),Kn=0;Kn0&&R>0&&!isNaN(E.w)&&!isNaN(E.h)&&E.w>0&&E.h>0){$=Math.min((I-2*y)/E.w,(R-2*y)/E.h),$=$>this._private.maxZoom?this._private.maxZoom:$,$=$=E.minZoom&&(E.maxZoom=y),this},minZoom:function(g){return g===void 0?this._private.minZoom:this.zoomRange({min:g})},maxZoom:function(g){return g===void 0?this._private.maxZoom:this.zoomRange({max:g})},getZoomedViewport:function(g){var y=this._private,E=y.pan,S=y.zoom,D,I,R=!1;if(y.zoomingEnabled||(R=!0),re(g)?I=g:fe(g)&&(I=g.level,g.position!=null?D=b9(g.position,S,E):g.renderedPosition!=null&&(D=g.renderedPosition),D!=null&&!y.panningEnabled&&(R=!0)),I=I>y.maxZoom?y.maxZoom:I,I=Iy.maxZoom||!y.zoomingEnabled?I=!0:(y.zoom=$,D.push("zoom"))}if(S&&(!I||!g.cancelOnFailedZoom)&&y.panningEnabled){var C=g.pan;re(C.x)&&(y.pan.x=C.x,R=!1),re(C.y)&&(y.pan.y=C.y,R=!1),R||D.push("pan")}return D.length>0&&(D.push("viewport"),this.emit(D.join(" ")),this.notify("viewport")),this},center:function(g){var y=this.getCenterPan(g);return y&&(this._private.pan=y,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(g,y){if(this._private.panningEnabled){if(xe(g)){var E=g;g=this.mutableElements().filter(E)}else he(g)||(g=this.mutableElements());if(g.length!==0){var S=g.boundingBox(),D=this.width(),I=this.height();y=y===void 0?this._private.zoom:y;var R={x:(D-y*(S.x1+S.x2))/2,y:(I-y*(S.y1+S.y2))/2};return R}}},reset:function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},invalidateSize:function(){this._private.sizeCache=null},size:function(){var g=this._private,y=g.container;return g.sizeCache=g.sizeCache||(y?function(){var E=j.getComputedStyle(y),S=function(I){return parseFloat(E.getPropertyValue(I))};return{width:y.clientWidth-S("padding-left")-S("padding-right"),height:y.clientHeight-S("padding-top")-S("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var g=this._private.pan,y=this._private.zoom,E=this.renderedExtent(),S={x1:(E.x1-g.x)/y,x2:(E.x2-g.x)/y,y1:(E.y1-g.y)/y,y2:(E.y2-g.y)/y};return S.w=S.x2-S.x1,S.h=S.y2-S.y1,S},renderedExtent:function(){var g=this.width(),y=this.height();return{x1:0,y1:0,x2:g,y2:y,w:g,h:y}},multiClickDebounceTime:function(g){if(g)this._private.multiClickDebounceTime=g;else return this._private.multiClickDebounceTime;return this}};y3.centre=y3.center,y3.autolockNodes=y3.autolock,y3.autoungrabifyNodes=y3.autoungrabify;var _8={data:Pc.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Pc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Pc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Pc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};_8.attr=_8.data,_8.removeAttr=_8.removeData;var C8=function(g){var y=this;g=Oe({},g);var E=g.container;E&&!ke(E)&&ke(E[0])&&(E=E[0]);var S=E?E._cyreg:null;S=S||{},S&&S.cy&&(S.cy.destroy(),S={});var D=S.readies=S.readies||[];E&&(E._cyreg=S),S.cy=y;var I=j!==void 0&&E!==void 0&&!g.headless,R=g;R.layout=Oe({name:I?"grid":"null"},R.layout),R.renderer=Oe({name:I?"canvas":"null"},R.renderer);var $=function(se,oe,Ce){return oe!==void 0?oe:Ce!==void 0?Ce:se},C=this._private={container:E,ready:!1,options:R,elements:new qf(this),listeners:[],aniEles:new qf(this),data:R.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:$(!0,R.zoomingEnabled),userZoomingEnabled:$(!0,R.userZoomingEnabled),panningEnabled:$(!0,R.panningEnabled),userPanningEnabled:$(!0,R.userPanningEnabled),boxSelectionEnabled:$(!0,R.boxSelectionEnabled),autolock:$(!1,R.autolock,R.autolockNodes),autoungrabify:$(!1,R.autoungrabify,R.autoungrabifyNodes),autounselectify:$(!1,R.autounselectify),styleEnabled:R.styleEnabled===void 0?I:R.styleEnabled,zoom:re(R.zoom)?R.zoom:1,pan:{x:fe(R.pan)&&re(R.pan.x)?R.pan.x:0,y:fe(R.pan)&&re(R.pan.y)?R.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:$(250,R.multiClickDebounceTime)};this.createEmitter(),this.selectionType(R.selectionType),this.zoomRange({min:R.minZoom,max:R.maxZoom});var G=function(se,oe){var Ce=se.some(St);if(Ce)return H5.all(se).then(oe);oe(se)};C.styleEnabled&&y.setStyle([]);var U=Oe({},R,R.renderer);y.initRenderer(U);var J=function(se,oe,Ce){y.notifications(!1);var ve=y.mutableElements();ve.length>0&&ve.remove(),se!=null&&(fe(se)||Me(se))&&y.add(se),y.one("layoutready",function(Le){y.notifications(!0),y.emit(Le),y.one("load",oe),y.emitAndNotify("load")}).one("layoutstop",function(){y.one("done",Ce),y.emit("done")});var Ae=Oe({},y._private.options.layout);Ae.eles=y.elements(),y.layout(Ae).run()};G([R.style,R.elements],function(te){var se=te[0],oe=te[1];C.styleEnabled&&y.style().append(se),J(oe,function(){y.startAnimationLoop(),C.ready=!0,Ee(R.ready)&&y.on("ready",R.ready);for(var Ce=0;Ce0,$=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:y.width(),h:y.height()}),C;if(he(g.roots))C=g.roots;else if(Me(g.roots)){for(var G=[],U=0;U0;){var ln=ft(),Rt=ut(ln,tt);if(Rt)ln.outgoers().filter(function(Li){return Li.isNode()&&E.has(Li)}).forEach(Dt);else if(Rt===null){Jo("Detected double maximal shift for node `"+ln.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}ze();var Ht=0;if(g.avoidOverlap)for(var wn=0;wn0&&ve[0].length<=3?Ws/2:0),Pn=2*Math.PI/ve[Wi].length*Ii;return Wi===0&&ve[0].length===1&&(Ye=1),{x:Ti.x+Ye*Math.cos(Pn),y:Ti.y+Ye*Math.sin(Pn)}}else{var Cr={x:Ti.x+(Ii+1-(es+1)/2)*to,y:(Wi+1)*sa};return Cr}};return E.nodes().layoutPositions(this,g,Ra),this};var iJ={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function Y9(m){this.options=Oe({},iJ,m)}Y9.prototype.run=function(){var m=this.options,g=m,y=m.cy,E=g.eles,S=g.counterclockwise!==void 0?!g.counterclockwise:g.clockwise,D=E.nodes().not(":parent");g.sort&&(D=D.sort(g.sort));for(var I=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:y.width(),h:y.height()}),R={x:I.x1+I.w/2,y:I.y1+I.h/2},$=g.sweep===void 0?2*Math.PI-2*Math.PI/D.length:g.sweep,C=$/Math.max(1,D.length-1),G,U=0,J=0;J1&&g.avoidOverlap){U*=1.75;var ve=Math.cos(C)-Math.cos(0),Ae=Math.sin(C)-Math.sin(0),Le=Math.sqrt(U*U/(ve*ve+Ae*Ae));G=Math.max(Le,G)}var Be=function(Ue,Fe){var et=g.startAngle+Fe*C*(S?1:-1),ze=G*Math.cos(et),ut=G*Math.sin(et),ht={x:R.x+ze,y:R.y+ut};return ht};return E.nodes().layoutPositions(this,g,Be),this};var sJ={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(g){return g.degree()},levelWidth:function(g){return g.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function iF(m){this.options=Oe({},sJ,m)}iF.prototype.run=function(){for(var m=this.options,g=m,y=g.counterclockwise!==void 0?!g.counterclockwise:g.clockwise,E=m.cy,S=g.eles,D=S.nodes().not(":parent"),I=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:E.width(),h:E.height()}),R={x:I.x1+I.w/2,y:I.y1+I.h/2},$=[],C=0,G=0;G0){var Xe=Math.abs(Ae[0].value-Be.value);Xe>=Ce&&(Ae=[],ve.push(Ae))}Ae.push(Be)}var Ue=C+g.minNodeSpacing;if(!g.avoidOverlap){var Fe=ve.length>0&&ve[0].length>1,et=Math.min(I.w,I.h)/2-Ue,ze=et/(ve.length+Fe?1:0);Ue=Math.min(Ue,ze)}for(var ut=0,ht=0;ht1&&g.avoidOverlap){var ln=Math.cos(ft)-Math.cos(0),Rt=Math.sin(ft)-Math.sin(0),Ht=Math.sqrt(Ue*Ue/(ln*ln+Rt*Rt));ut=Math.max(Ht,ut)}tt.r=ut,ut+=Ue}if(g.equidistant){for(var wn=0,Sn=0,Kn=0;Kn=m.numIter||(dJ(E,m),E.temperature=E.temperature*m.coolingFactor,E.temperature=m.animationThreshold&&D(),Ei(U)}};G()}else{for(;C;)C=I($),$++;oF(E,m),R()}return this},X9.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},X9.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var oJ=function(g,y,E){for(var S=E.eles.edges(),D=E.eles.nodes(),I={isCompound:g.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:D.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:S.size(),temperature:E.initialTemp,clientWidth:g.width(),clientHeight:g.width(),boundingBox:jd(E.boundingBox?E.boundingBox:{x1:0,y1:0,w:g.width(),h:g.height()})},R=E.eles.components(),$={},C=0;C0){I.graphSet.push(Fe);for(var C=0;CS.count?0:S.graph},uJ=function m(g,y,E,S){var D=S.graphSet[E];if(-10)var U=S.nodeOverlap*G,J=Math.sqrt(R*R+$*$),te=U*R/J,se=U*$/J;else var oe=Q9(g,R,$),Ce=Q9(y,-1*R,-1*$),ve=Ce.x-oe.x,Ae=Ce.y-oe.y,Le=ve*ve+Ae*Ae,J=Math.sqrt(Le),U=(g.nodeRepulsion+y.nodeRepulsion)/Le,te=U*ve/J,se=U*Ae/J;g.isLocked||(g.offsetX-=te,g.offsetY-=se),y.isLocked||(y.offsetX+=te,y.offsetY+=se)}},bJ=function(g,y,E,S){if(E>0)var D=g.maxX-y.minX;else var D=y.maxX-g.minX;if(S>0)var I=g.maxY-y.minY;else var I=y.maxY-g.minY;return D>=0&&I>=0?Math.sqrt(D*D+I*I):0},Q9=function(g,y,E){var S=g.positionX,D=g.positionY,I=g.height||1,R=g.width||1,$=E/y,C=I/R,G={};return y===0&&0E?(G.x=S,G.y=D+I/2,G):0y&&-1*C<=$&&$<=C?(G.x=S-R/2,G.y=D-R*E/2/y,G):0=C)?(G.x=S+I*y/2/E,G.y=D+I/2,G):(0>E&&($<=-1*C||$>=C)&&(G.x=S-I*y/2/E,G.y=D-I/2),G)},vJ=function(g,y){for(var E=0;EE){var Ce=y.gravity*te/oe,ve=y.gravity*se/oe;J.offsetX+=Ce,J.offsetY+=ve}}}}},mJ=function(g,y){var E=[],S=0,D=-1;for(E.push.apply(E,g.graphSet[0]),D+=g.graphSet[0].length;S<=D;){var I=E[S++],R=g.idToIndex[I],$=g.layoutNodes[R],C=$.children;if(0E)var D={x:E*g/S,y:E*y/S};else var D={x:g,y};return D},xJ=function m(g,y){var E=g.parentId;if(E!=null){var S=y.layoutNodes[y.idToIndex[E]],D=!1;if((S.maxX==null||g.maxX+S.padRight>S.maxX)&&(S.maxX=g.maxX+S.padRight,D=!0),(S.minX==null||g.minX-S.padLeftS.maxY)&&(S.maxY=g.maxY+S.padBottom,D=!0),(S.minY==null||g.minY-S.padTopve&&(se+=Ce+y.componentSpacing,te=0,oe=0,Ce=0)}}},EJ={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(g){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(g,y){return!0},ready:void 0,stop:void 0,transform:function(g,y){return y}};function cF(m){this.options=Oe({},EJ,m)}cF.prototype.run=function(){var m=this.options,g=m,y=m.cy,E=g.eles,S=E.nodes().not(":parent");g.sort&&(S=S.sort(g.sort));var D=jd(g.boundingBox?g.boundingBox:{x1:0,y1:0,w:y.width(),h:y.height()});if(D.h===0||D.w===0)E.nodes().layoutPositions(this,g,function(ar){return{x:D.x1,y:D.y1}});else{var I=S.size(),R=Math.sqrt(I*D.h/D.w),$=Math.round(R),C=Math.round(D.w/D.h*R),G=function(xr){if(xr==null)return Math.min($,C);var fr=Math.min($,C);fr==$?$=xr:C=xr},U=function(xr){if(xr==null)return Math.max($,C);var fr=Math.max($,C);fr==$?$=xr:C=xr},J=g.rows,te=g.cols!=null?g.cols:g.columns;if(J!=null&&te!=null)$=J,C=te;else if(J!=null&&te==null)$=J,C=Math.ceil(I/$);else if(J==null&&te!=null)C=te,$=Math.ceil(I/C);else if(C*$>I){var se=G(),oe=U();(se-1)*oe>=I?G(se-1):(oe-1)*se>=I&&U(oe-1)}else for(;C*$=I?U(ve+1):G(Ce+1)}var Ae=D.w/C,Le=D.h/$;if(g.condense&&(Ae=0,Le=0),g.avoidOverlap)for(var Be=0;Be=C&&(ln=0,ft++)},Ht={},wn=0;wn(ln=cY(m,g,Rt[Ht],Rt[Ht+1],Rt[Ht+2],Rt[Ht+3])))return Ce(Fe,ln),!0}else if(ze.edgeType==="bezier"||ze.edgeType==="multibezier"||ze.edgeType==="self"||ze.edgeType==="compound"){for(var Rt=ze.allpts,Ht=0;Ht+5(ln=oY(m,g,Rt[Ht],Rt[Ht+1],Rt[Ht+2],Rt[Ht+3],Rt[Ht+4],Rt[Ht+5])))return Ce(Fe,ln),!0}for(var wn=wn||et.source,Sn=Sn||et.target,Kn=S.getArrowWidth(ut,ht),xn=[{name:"source",x:ze.arrowStartX,y:ze.arrowStartY,angle:ze.srcArrowAngle},{name:"target",x:ze.arrowEndX,y:ze.arrowEndY,angle:ze.tgtArrowAngle},{name:"mid-source",x:ze.midX,y:ze.midY,angle:ze.midsrcArrowAngle},{name:"mid-target",x:ze.midX,y:ze.midY,angle:ze.midtgtArrowAngle}],Ht=0;Ht0&&(ve(wn),ve(Sn))}function Le(Fe,et,ze){return lp(Fe,et,ze)}function Be(Fe,et){var ze=Fe._private,ut=J,ht;et?ht=et+"-":ht="",Fe.boundingBox();var tt=ze.labelBounds[et||"main"],Dt=Fe.pstyle(ht+"label").value,ft=Fe.pstyle("text-events").strValue==="yes";if(!(!ft||!Dt)){var ln=Le(ze.rscratch,"labelX",et),Rt=Le(ze.rscratch,"labelY",et),Ht=Le(ze.rscratch,"labelAngle",et),wn=Fe.pstyle(ht+"text-margin-x").pfValue,Sn=Fe.pstyle(ht+"text-margin-y").pfValue,Kn=tt.x1-ut-wn,xn=tt.x2+ut-wn,Un=tt.y1-ut-Sn,ar=tt.y2+ut-Sn;if(Ht){var xr=Math.cos(Ht),fr=Math.sin(Ht),rr=function(Ra,Li){return Ra=Ra-ln,Li=Li-Rt,{x:Ra*xr-Li*fr+ln,y:Ra*fr+Li*xr+Rt}},gn=rr(Kn,Un),mr=rr(Kn,ar),pr=rr(xn,Un),ri=rr(xn,ar),Ti=[gn.x+wn,gn.y+Sn,pr.x+wn,pr.y+Sn,ri.x+wn,ri.y+Sn,mr.x+wn,mr.y+Sn];if($d(m,g,Ti))return Ce(Fe),!0}else if(F5(tt,m,g))return Ce(Fe),!0}}for(var Xe=I.length-1;Xe>=0;Xe--){var Ue=I[Xe];Ue.isNode()?ve(Ue)||Be(Ue):Ae(Ue)||Be(Ue)||Be(Ue,"source")||Be(Ue,"target")}return R},k3.getAllInBox=function(m,g,y,E){var S=this.getCachedZSortedEles().interactive,D=[],I=Math.min(m,y),R=Math.max(m,y),$=Math.min(g,E),C=Math.max(g,E);m=I,y=R,g=$,E=C;for(var G=jd({x1:m,y1:g,x2:y,y2:E}),U=0;U0?Math.max(ns-qo,0):Math.min(ns+qo,0)},Dt=tt(ut,et),ft=tt(ht,ze),ln=!1;Ae===C?ve=Math.abs(Dt)>Math.abs(ft)?S:E:Ae===$||Ae===R?(ve=E,ln=!0):(Ae===D||Ae===I)&&(ve=S,ln=!0);var Rt=ve===E,Ht=Rt?ft:Dt,wn=Rt?ht:ut,Sn=SP(wn),Kn=!1;!(ln&&(Be||Ue))&&(Ae===R&&wn<0||Ae===$&&wn>0||Ae===D&&wn>0||Ae===I&&wn<0)&&(Sn*=-1,Ht=Sn*Math.abs(Ht),Kn=!0);var xn;if(Be){var Un=Xe<0?1+Xe:Xe;xn=Un*Ht}else{var ar=Xe<0?Ht:0;xn=ar+Xe*Sn}var xr=function(ns){return Math.abs(ns)=Math.abs(Ht)},fr=xr(xn),rr=xr(Math.abs(Ht)-Math.abs(xn)),gn=fr||rr;if(gn&&!Kn)if(Rt){var mr=Math.abs(wn)<=J/2,pr=Math.abs(ut)<=te/2;if(mr){var ri=(G.x1+G.x2)/2,Ti=G.y1,ia=G.y2;y.segpts=[ri,Ti,ri,ia]}else if(pr){var Ra=(G.y1+G.y2)/2,Li=G.x1,vi=G.x2;y.segpts=[Li,Ra,vi,Ra]}else y.segpts=[G.x1,G.y2]}else{var Ts=Math.abs(wn)<=U/2,Wi=Math.abs(ht)<=se/2;if(Ts){var Ii=(G.y1+G.y2)/2,es=G.x1,to=G.x2;y.segpts=[es,Ii,to,Ii]}else if(Wi){var sa=(G.x1+G.x2)/2,Ws=G.y1,Cr=G.y2;y.segpts=[sa,Ws,sa,Cr]}else y.segpts=[G.x2,G.y1]}else if(Rt){var Ye=G.y1+xn+(Ce?J/2*Sn:0),Pn=G.x1,Dr=G.x2;y.segpts=[Pn,Ye,Dr,Ye]}else{var or=G.x1+xn+(Ce?U/2*Sn:0),cr=G.y1,Ua=G.y2;y.segpts=[or,cr,or,Ua]}},od.tryToCorrectInvalidPoints=function(m,g){var y=m._private.rscratch;if(y.edgeType==="bezier"){var E=g.srcPos,S=g.tgtPos,D=g.srcW,I=g.srcH,R=g.tgtW,$=g.tgtH,C=g.srcShape,G=g.tgtShape,U=!re(y.startX)||!re(y.startY),J=!re(y.arrowStartX)||!re(y.arrowStartY),te=!re(y.endX)||!re(y.endY),se=!re(y.arrowEndX)||!re(y.arrowEndY),oe=3,Ce=this.getArrowWidth(m.pstyle("width").pfValue,m.pstyle("arrow-scale").value)*this.arrowShapeWidth,ve=oe*Ce,Ae=p3({x:y.ctrlpts[0],y:y.ctrlpts[1]},{x:y.startX,y:y.startY}),Le=Aeft.poolIndex()){var ln=Dt;Dt=ft,ft=ln}var Rt=ze.srcPos=Dt.position(),Ht=ze.tgtPos=ft.position(),wn=ze.srcW=Dt.outerWidth(),Sn=ze.srcH=Dt.outerHeight(),Kn=ze.tgtW=ft.outerWidth(),xn=ze.tgtH=ft.outerHeight(),Un=ze.srcShape=y.nodeShapes[g.getNodeShape(Dt)],ar=ze.tgtShape=y.nodeShapes[g.getNodeShape(ft)];ze.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var xr=0;xr0){var mr=D,pr=b3(mr,P5(y)),ri=b3(mr,P5(gn)),Ti=pr;if(ri2){var ia=b3(mr,{x:gn[2],y:gn[3]});ia0){var Pn=I,Dr=b3(Pn,P5(y)),or=b3(Pn,P5(Ye)),cr=Dr;if(or2){var Ua=b3(Pn,{x:Ye[2],y:Ye[3]});Ua=se||Fe){Ce={cp:Be,segment:Ue};break}}if(Ce)break}var et=Ce.cp,ze=Ce.segment,ut=(se-ve)/ze.length,ht=ze.t1-ze.t0,tt=te?ze.t0+ht*ut:ze.t1-ht*ut;tt=c8(0,tt,1),g=B5(et.p0,et.p1,et.p2,tt),J=vF(et.p0,et.p1,et.p2,tt);break}case"straight":case"segments":case"haystack":{for(var Dt=0,ft,ln,Rt,Ht,wn=E.allpts.length,Sn=0;Sn+3=se));Sn+=2);var Kn=se-ln,xn=Kn/ft;xn=c8(0,xn,1),g=QW(Rt,Ht,xn),J=bF(Rt,Ht);break}}I("labelX",U,g.x),I("labelY",U,g.y),I("labelAutoAngle",U,J)}};C("source"),C("target"),this.applyLabelDimensions(m)}},gp.applyLabelDimensions=function(m){this.applyPrefixedLabelDimensions(m),m.isEdge()&&(this.applyPrefixedLabelDimensions(m,"source"),this.applyPrefixedLabelDimensions(m,"target"))},gp.applyPrefixedLabelDimensions=function(m,g){var y=m._private,E=this.getLabelText(m,g),S=this.calculateLabelDimensions(m,E),D=m.pstyle("line-height").pfValue,I=m.pstyle("text-wrap").strValue,R=lp(y.rscratch,"labelWrapCachedLines",g)||[],$=I!=="wrap"?1:Math.max(R.length,1),C=S.height/$,G=C*D,U=S.width,J=S.height+($-1)*(D-1)*C;om(y.rstyle,"labelWidth",g,U),om(y.rscratch,"labelWidth",g,U),om(y.rstyle,"labelHeight",g,J),om(y.rscratch,"labelHeight",g,J),om(y.rscratch,"labelLineHeight",g,G)},gp.getLabelText=function(m,g){var y=m._private,E=g?g+"-":"",S=m.pstyle(E+"label").strValue,D=m.pstyle("text-transform").value,I=function(Kn,xn){return xn?(om(y.rscratch,Kn,g,xn),xn):lp(y.rscratch,Kn,g)};if(!S)return"";D=="none"||(D=="uppercase"?S=S.toUpperCase():D=="lowercase"&&(S=S.toLowerCase()));var R=m.pstyle("text-wrap").value;if(R==="wrap"){var $=I("labelKey");if($!=null&&I("labelWrapKey")===$)return I("labelWrapCachedText");for(var C="​",G=S.split(` +`),U=m.pstyle("text-max-width").pfValue,J=m.pstyle("text-overflow-wrap").value,te=J==="anywhere",se=[],oe=/[\s\u200b]+/,Ce=te?"":" ",ve=0;veU){for(var Ue=Ae.split(oe),Fe="",et=0;etDt)break;ft+=S[Ht],Ht===S.length-1&&(Rt=!0)}return Rt||(ft+=ln),ft}return S},gp.getLabelJustification=function(m){var g=m.pstyle("text-justification").strValue,y=m.pstyle("text-halign").strValue;if(g==="auto")if(m.isNode())switch(y){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return g},gp.calculateLabelDimensions=function(m,g){var y=this,E=op(g,m._private.labelDimsKey),S=y.labelDimCache||(y.labelDimCache=[]),D=S[E];if(D!=null)return D;var I=0,R=m.pstyle("font-style").strValue,$=m.pstyle("font-size").pfValue,C=m.pstyle("font-family").strValue,G=m.pstyle("font-weight").strValue,U=this.labelCalcCanvas,J=this.labelCalcCanvasContext;if(!U){U=this.labelCalcCanvas=document.createElement("canvas"),J=this.labelCalcCanvasContext=U.getContext("2d");var te=U.style;te.position="absolute",te.left="-9999px",te.top="-9999px",te.zIndex="-1",te.visibility="hidden",te.pointerEvents="none"}J.font="".concat(R," ").concat(G," ").concat($,"px ").concat(C);for(var se=0,oe=0,Ce=g.split(` +`),ve=0;ve1&&arguments[1]!==void 0?arguments[1]:!0;if(g.merge(I),R)for(var $=0;$=m.desktopTapThreshold2}var av=E(Ye);Uf&&(m.hoverData.tapholdCancelled=!0);var vm=function(){var F2=m.hoverData.dragDelta=m.hoverData.dragDelta||[];F2.length===0?(F2.push(lo[0]),F2.push(lo[1])):(F2[0]+=lo[0],F2[1]+=lo[1])};Dr=!0,y(uo,["mousemove","vmousemove","tapdrag"],Ye,{x:qr[0],y:qr[1]});var o6=function(){m.data.bgActivePosistion=void 0,m.hoverData.selecting||or.emit({originalEvent:Ye,type:"boxstart",position:{x:qr[0],y:qr[1]}}),Hc[4]=1,m.hoverData.selecting=!0,m.redrawHint("select",!0),m.redraw()};if(m.hoverData.which===3){if(Uf){var _3={originalEvent:Ye,type:"cxtdrag",position:{x:qr[0],y:qr[1]}};ja?ja.emit(_3):or.emit(_3),m.hoverData.cxtDragged=!0,(!m.hoverData.cxtOver||uo!==m.hoverData.cxtOver)&&(m.hoverData.cxtOver&&m.hoverData.cxtOver.emit({originalEvent:Ye,type:"cxtdragout",position:{x:qr[0],y:qr[1]}}),m.hoverData.cxtOver=uo,uo&&uo.emit({originalEvent:Ye,type:"cxtdragover",position:{x:qr[0],y:qr[1]}}))}}else if(m.hoverData.dragging){if(Dr=!0,or.panningEnabled()&&or.userPanningEnabled()){var c6;if(m.hoverData.justStartedPan){var oT=m.hoverData.mdownPos;c6={x:(qr[0]-oT[0])*cr,y:(qr[1]-oT[1])*cr},m.hoverData.justStartedPan=!1}else c6={x:lo[0]*cr,y:lo[1]*cr};or.panBy(c6),or.emit("dragpan"),m.hoverData.dragged=!0}qr=m.projectIntoViewport(Ye.clientX,Ye.clientY)}else if(Hc[4]==1&&(ja==null||ja.pannable())){if(Uf){if(!m.hoverData.dragging&&or.boxSelectionEnabled()&&(av||!or.panningEnabled()||!or.userPanningEnabled()))o6();else if(!m.hoverData.selecting&&or.panningEnabled()&&or.userPanningEnabled()){var C3=S(ja,m.hoverData.downs);C3&&(m.hoverData.dragging=!0,m.hoverData.justStartedPan=!0,Hc[4]=0,m.data.bgActivePosistion=P5(ns),m.redrawHint("select",!0),m.redraw())}ja&&ja.pannable()&&ja.active()&&ja.unactivate()}}else{if(ja&&ja.pannable()&&ja.active()&&ja.unactivate(),(!ja||!ja.grabbed())&&uo!=Ac&&(Ac&&y(Ac,["mouseout","tapdragout"],Ye,{x:qr[0],y:qr[1]}),uo&&y(uo,["mouseover","tapdragover"],Ye,{x:qr[0],y:qr[1]}),m.hoverData.last=uo),ja)if(Uf){if(or.boxSelectionEnabled()&&av)ja&&ja.grabbed()&&(oe(_l),ja.emit("freeon"),_l.emit("free"),m.dragData.didDrag&&(ja.emit("dragfreeon"),_l.emit("dragfree"))),o6();else if(ja&&ja.grabbed()&&m.nodeIsDraggable(ja)){var Hd=!m.dragData.didDrag;Hd&&m.redrawHint("eles",!0),m.dragData.didDrag=!0,m.hoverData.draggingEles||te(_l,{inDragLayer:!0});var T1={x:0,y:0};if(re(lo[0])&&re(lo[1])&&(T1.x+=lo[0],T1.y+=lo[1],Hd)){var zd=m.hoverData.dragDelta;zd&&re(zd[0])&&re(zd[1])&&(T1.x+=zd[0],T1.y+=zd[1])}m.hoverData.draggingEles=!0,_l.silentShift(T1).emit("position drag"),m.redrawHint("drag",!0),m.redraw()}}else vm();Dr=!0}if(Hc[2]=qr[0],Hc[3]=qr[1],Dr)return Ye.stopPropagation&&Ye.stopPropagation(),Ye.preventDefault&&Ye.preventDefault(),!1}},!1);var ze,ut,ht;m.registerBinding(window,"mouseup",function(Ye){var Pn=m.hoverData.capture;if(Pn){m.hoverData.capture=!1;var Dr=m.cy,or=m.projectIntoViewport(Ye.clientX,Ye.clientY),cr=m.selection,Ua=m.findNearestElement(or[0],or[1],!0,!1),qr=m.dragData.possibleDragElements,ns=m.hoverData.down,qo=E(Ye);if(m.data.bgActivePosistion&&(m.redrawHint("select",!0),m.redraw()),m.hoverData.tapholdCancelled=!0,m.data.bgActivePosistion=void 0,ns&&ns.unactivate(),m.hoverData.which===3){var Hc={originalEvent:Ye,type:"cxttapend",position:{x:or[0],y:or[1]}};if(ns?ns.emit(Hc):Dr.emit(Hc),!m.hoverData.cxtDragged){var uo={originalEvent:Ye,type:"cxttap",position:{x:or[0],y:or[1]}};ns?ns.emit(uo):Dr.emit(uo)}m.hoverData.cxtDragged=!1,m.hoverData.which=null}else if(m.hoverData.which===1){if(y(Ua,["mouseup","tapend","vmouseup"],Ye,{x:or[0],y:or[1]}),!m.dragData.didDrag&&!m.hoverData.dragged&&!m.hoverData.selecting&&!m.hoverData.isOverThresholdDrag&&(y(ns,["click","tap","vclick"],Ye,{x:or[0],y:or[1]}),ut=!1,Ye.timeStamp-ht<=Dr.multiClickDebounceTime()?(ze&&clearTimeout(ze),ut=!0,ht=null,y(ns,["dblclick","dbltap","vdblclick"],Ye,{x:or[0],y:or[1]})):(ze=setTimeout(function(){ut||y(ns,["oneclick","onetap","voneclick"],Ye,{x:or[0],y:or[1]})},Dr.multiClickDebounceTime()),ht=Ye.timeStamp)),ns==null&&!m.dragData.didDrag&&!m.hoverData.selecting&&!m.hoverData.dragged&&!E(Ye)&&(Dr.$(g).unselect(["tapunselect"]),qr.length>0&&m.redrawHint("eles",!0),m.dragData.possibleDragElements=qr=Dr.collection()),Ua==ns&&!m.dragData.didDrag&&!m.hoverData.selecting&&Ua!=null&&Ua._private.selectable&&(m.hoverData.dragging||(Dr.selectionType()==="additive"||qo?Ua.selected()?Ua.unselect(["tapunselect"]):Ua.select(["tapselect"]):qo||(Dr.$(g).unmerge(Ua).unselect(["tapunselect"]),Ua.select(["tapselect"]))),m.redrawHint("eles",!0)),m.hoverData.selecting){var Ac=Dr.collection(m.getAllInBox(cr[0],cr[1],cr[2],cr[3]));m.redrawHint("select",!0),Ac.length>0&&m.redrawHint("eles",!0),Dr.emit({type:"boxend",originalEvent:Ye,position:{x:or[0],y:or[1]}});var ja=function(Uf){return Uf.selectable()&&!Uf.selected()};Dr.selectionType()==="additive"||qo||Dr.$(g).unmerge(Ac).unselect(),Ac.emit("box").stdFilter(ja).select().emit("boxselect"),m.redraw()}if(m.hoverData.dragging&&(m.hoverData.dragging=!1,m.redrawHint("select",!0),m.redrawHint("eles",!0),m.redraw()),!cr[4]){m.redrawHint("drag",!0),m.redrawHint("eles",!0);var lo=ns&&ns.grabbed();oe(qr),lo&&(ns.emit("freeon"),qr.emit("free"),m.dragData.didDrag&&(ns.emit("dragfreeon"),qr.emit("dragfree")))}}cr[4]=0,m.hoverData.down=null,m.hoverData.cxtStarted=!1,m.hoverData.draggingEles=!1,m.hoverData.selecting=!1,m.hoverData.isOverThresholdDrag=!1,m.dragData.didDrag=!1,m.hoverData.dragged=!1,m.hoverData.dragDelta=[],m.hoverData.mdownPos=null,m.hoverData.mdownGPos=null}},!1);var tt=function(Ye){if(!m.scrollingPage){var Pn=m.cy,Dr=Pn.zoom(),or=Pn.pan(),cr=m.projectIntoViewport(Ye.clientX,Ye.clientY),Ua=[cr[0]*Dr+or.x,cr[1]*Dr+or.y];if(m.hoverData.draggingEles||m.hoverData.dragging||m.hoverData.cxtStarted||Fe()){Ye.preventDefault();return}if(Pn.panningEnabled()&&Pn.userPanningEnabled()&&Pn.zoomingEnabled()&&Pn.userZoomingEnabled()){Ye.preventDefault(),m.data.wheelZooming=!0,clearTimeout(m.data.wheelTimeout),m.data.wheelTimeout=setTimeout(function(){m.data.wheelZooming=!1,m.redrawHint("eles",!0),m.redraw()},150);var qr;Ye.deltaY!=null?qr=Ye.deltaY/-250:Ye.wheelDeltaY!=null?qr=Ye.wheelDeltaY/1e3:qr=Ye.wheelDelta/1e3,qr=qr*m.wheelSensitivity;var ns=Ye.deltaMode===1;ns&&(qr*=33);var qo=Pn.zoom()*Math.pow(10,qr);Ye.type==="gesturechange"&&(qo=m.gestureStartZoom*Ye.scale),Pn.zoom({level:qo,renderedPosition:{x:Ua[0],y:Ua[1]}}),Pn.emit(Ye.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};m.registerBinding(m.container,"wheel",tt,!0),m.registerBinding(window,"scroll",function(Ye){m.scrollingPage=!0,clearTimeout(m.scrollingPageTimeout),m.scrollingPageTimeout=setTimeout(function(){m.scrollingPage=!1},250)},!0),m.registerBinding(m.container,"gesturestart",function(Ye){m.gestureStartZoom=m.cy.zoom(),m.hasTouchStarted||Ye.preventDefault()},!0),m.registerBinding(m.container,"gesturechange",function(Cr){m.hasTouchStarted||tt(Cr)},!0),m.registerBinding(m.container,"mouseout",function(Ye){var Pn=m.projectIntoViewport(Ye.clientX,Ye.clientY);m.cy.emit({originalEvent:Ye,type:"mouseout",position:{x:Pn[0],y:Pn[1]}})},!1),m.registerBinding(m.container,"mouseover",function(Ye){var Pn=m.projectIntoViewport(Ye.clientX,Ye.clientY);m.cy.emit({originalEvent:Ye,type:"mouseover",position:{x:Pn[0],y:Pn[1]}})},!1);var Dt,ft,ln,Rt,Ht,wn,Sn,Kn,xn,Un,ar,xr,fr,rr=function(Ye,Pn,Dr,or){return Math.sqrt((Dr-Ye)*(Dr-Ye)+(or-Pn)*(or-Pn))},gn=function(Ye,Pn,Dr,or){return(Dr-Ye)*(Dr-Ye)+(or-Pn)*(or-Pn)},mr;m.registerBinding(m.container,"touchstart",mr=function(Ye){if(m.hasTouchStarted=!0,!!et(Ye)){ve(),m.touchData.capture=!0,m.data.bgActivePosistion=void 0;var Pn=m.cy,Dr=m.touchData.now,or=m.touchData.earlier;if(Ye.touches[0]){var cr=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);Dr[0]=cr[0],Dr[1]=cr[1]}if(Ye.touches[1]){var cr=m.projectIntoViewport(Ye.touches[1].clientX,Ye.touches[1].clientY);Dr[2]=cr[0],Dr[3]=cr[1]}if(Ye.touches[2]){var cr=m.projectIntoViewport(Ye.touches[2].clientX,Ye.touches[2].clientY);Dr[4]=cr[0],Dr[5]=cr[1]}if(Ye.touches[1]){m.touchData.singleTouchMoved=!0,oe(m.dragData.touchDragEles);var Ua=m.findContainerClientCoords();xn=Ua[0],Un=Ua[1],ar=Ua[2],xr=Ua[3],Dt=Ye.touches[0].clientX-xn,ft=Ye.touches[0].clientY-Un,ln=Ye.touches[1].clientX-xn,Rt=Ye.touches[1].clientY-Un,fr=0<=Dt&&Dt<=ar&&0<=ln&&ln<=ar&&0<=ft&&ft<=xr&&0<=Rt&&Rt<=xr;var qr=Pn.pan(),ns=Pn.zoom();Ht=rr(Dt,ft,ln,Rt),wn=gn(Dt,ft,ln,Rt),Sn=[(Dt+ln)/2,(ft+Rt)/2],Kn=[(Sn[0]-qr.x)/ns,(Sn[1]-qr.y)/ns];var qo=200,Hc=qo*qo;if(wn=1){for(var bp=m.touchData.startPosition=[],Kf=0;Kf=m.touchTapThreshold2}if(Pn&&m.touchData.cxt){Ye.preventDefault();var bp=Ye.touches[0].clientX-xn,Kf=Ye.touches[0].clientY-Un,hg=Ye.touches[1].clientX-xn,cd=Ye.touches[1].clientY-Un,av=gn(bp,Kf,hg,cd),vm=av/wn,o6=150,_3=o6*o6,c6=1.5,oT=c6*c6;if(vm>=oT||av>=_3){m.touchData.cxt=!1,m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);var C3={originalEvent:Ye,type:"cxttapend",position:{x:cr[0],y:cr[1]}};m.touchData.start?(m.touchData.start.unactivate().emit(C3),m.touchData.start=null):or.emit(C3)}}if(Pn&&m.touchData.cxt){var C3={originalEvent:Ye,type:"cxtdrag",position:{x:cr[0],y:cr[1]}};m.data.bgActivePosistion=void 0,m.redrawHint("select",!0),m.touchData.start?m.touchData.start.emit(C3):or.emit(C3),m.touchData.start&&(m.touchData.start._private.grabbed=!1),m.touchData.cxtDragged=!0;var Hd=m.findNearestElement(cr[0],cr[1],!0,!0);(!m.touchData.cxtOver||Hd!==m.touchData.cxtOver)&&(m.touchData.cxtOver&&m.touchData.cxtOver.emit({originalEvent:Ye,type:"cxtdragout",position:{x:cr[0],y:cr[1]}}),m.touchData.cxtOver=Hd,Hd&&Hd.emit({originalEvent:Ye,type:"cxtdragover",position:{x:cr[0],y:cr[1]}}))}else if(Pn&&Ye.touches[2]&&or.boxSelectionEnabled())Ye.preventDefault(),m.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,m.touchData.selecting||or.emit({originalEvent:Ye,type:"boxstart",position:{x:cr[0],y:cr[1]}}),m.touchData.selecting=!0,m.touchData.didSelect=!0,Dr[4]=1,!Dr||Dr.length===0||Dr[0]===void 0?(Dr[0]=(cr[0]+cr[2]+cr[4])/3,Dr[1]=(cr[1]+cr[3]+cr[5])/3,Dr[2]=(cr[0]+cr[2]+cr[4])/3+1,Dr[3]=(cr[1]+cr[3]+cr[5])/3+1):(Dr[2]=(cr[0]+cr[2]+cr[4])/3,Dr[3]=(cr[1]+cr[3]+cr[5])/3),m.redrawHint("select",!0),m.redraw();else if(Pn&&Ye.touches[1]&&!m.touchData.didSelect&&or.zoomingEnabled()&&or.panningEnabled()&&or.userZoomingEnabled()&&or.userPanningEnabled()){Ye.preventDefault(),m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);var T1=m.dragData.touchDragEles;if(T1){m.redrawHint("drag",!0);for(var zd=0;zd0&&!m.hoverData.draggingEles&&!m.swipePanning&&m.data.bgActivePosistion!=null&&(m.data.bgActivePosistion=void 0,m.redrawHint("select",!0),m.redraw())}},!1);var ri;m.registerBinding(window,"touchcancel",ri=function(Ye){var Pn=m.touchData.start;m.touchData.capture=!1,Pn&&Pn.unactivate()});var Ti,ia,Ra,Li;if(m.registerBinding(window,"touchend",Ti=function(Ye){var Pn=m.touchData.start,Dr=m.touchData.capture;if(Dr)Ye.touches.length===0&&(m.touchData.capture=!1),Ye.preventDefault();else return;var or=m.selection;m.swipePanning=!1,m.hoverData.draggingEles=!1;var cr=m.cy,Ua=cr.zoom(),qr=m.touchData.now,ns=m.touchData.earlier;if(Ye.touches[0]){var qo=m.projectIntoViewport(Ye.touches[0].clientX,Ye.touches[0].clientY);qr[0]=qo[0],qr[1]=qo[1]}if(Ye.touches[1]){var qo=m.projectIntoViewport(Ye.touches[1].clientX,Ye.touches[1].clientY);qr[2]=qo[0],qr[3]=qo[1]}if(Ye.touches[2]){var qo=m.projectIntoViewport(Ye.touches[2].clientX,Ye.touches[2].clientY);qr[4]=qo[0],qr[5]=qo[1]}Pn&&Pn.unactivate();var Hc;if(m.touchData.cxt){if(Hc={originalEvent:Ye,type:"cxttapend",position:{x:qr[0],y:qr[1]}},Pn?Pn.emit(Hc):cr.emit(Hc),!m.touchData.cxtDragged){var uo={originalEvent:Ye,type:"cxttap",position:{x:qr[0],y:qr[1]}};Pn?Pn.emit(uo):cr.emit(uo)}m.touchData.start&&(m.touchData.start._private.grabbed=!1),m.touchData.cxt=!1,m.touchData.start=null,m.redraw();return}if(!Ye.touches[2]&&cr.boxSelectionEnabled()&&m.touchData.selecting){m.touchData.selecting=!1;var Ac=cr.collection(m.getAllInBox(or[0],or[1],or[2],or[3]));or[0]=void 0,or[1]=void 0,or[2]=void 0,or[3]=void 0,or[4]=0,m.redrawHint("select",!0),cr.emit({type:"boxend",originalEvent:Ye,position:{x:qr[0],y:qr[1]}});var ja=function(_3){return _3.selectable()&&!_3.selected()};Ac.emit("box").stdFilter(ja).select().emit("boxselect"),Ac.nonempty()&&m.redrawHint("eles",!0),m.redraw()}if(Pn!=null&&Pn.unactivate(),Ye.touches[2])m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);else if(!Ye.touches[1]){if(!Ye.touches[0]){if(!Ye.touches[0]){m.data.bgActivePosistion=void 0,m.redrawHint("select",!0);var lo=m.dragData.touchDragEles;if(Pn!=null){var _l=Pn._private.grabbed;oe(lo),m.redrawHint("drag",!0),m.redrawHint("eles",!0),_l&&(Pn.emit("freeon"),lo.emit("free"),m.dragData.didDrag&&(Pn.emit("dragfreeon"),lo.emit("dragfree"))),y(Pn,["touchend","tapend","vmouseup","tapdragout"],Ye,{x:qr[0],y:qr[1]}),Pn.unactivate(),m.touchData.start=null}else{var Uf=m.findNearestElement(qr[0],qr[1],!0,!0);y(Uf,["touchend","tapend","vmouseup","tapdragout"],Ye,{x:qr[0],y:qr[1]})}var pp=m.touchData.startPosition[0]-qr[0],bp=pp*pp,Kf=m.touchData.startPosition[1]-qr[1],hg=Kf*Kf,cd=bp+hg,av=cd*Ua*Ua;m.touchData.singleTouchMoved||(Pn||cr.$(":selected").unselect(["tapunselect"]),y(Pn,["tap","vclick"],Ye,{x:qr[0],y:qr[1]}),ia=!1,Ye.timeStamp-Li<=cr.multiClickDebounceTime()?(Ra&&clearTimeout(Ra),ia=!0,Li=null,y(Pn,["dbltap","vdblclick"],Ye,{x:qr[0],y:qr[1]})):(Ra=setTimeout(function(){ia||y(Pn,["onetap","voneclick"],Ye,{x:qr[0],y:qr[1]})},cr.multiClickDebounceTime()),Li=Ye.timeStamp)),Pn!=null&&!m.dragData.didDrag&&Pn._private.selectable&&av"u"){var vi=[],Ts=function(Ye){return{clientX:Ye.clientX,clientY:Ye.clientY,force:1,identifier:Ye.pointerId,pageX:Ye.pageX,pageY:Ye.pageY,radiusX:Ye.width/2,radiusY:Ye.height/2,screenX:Ye.screenX,screenY:Ye.screenY,target:Ye.target}},Wi=function(Ye){return{event:Ye,touch:Ts(Ye)}},Ii=function(Ye){vi.push(Wi(Ye))},es=function(Ye){for(var Pn=0;Pn0)return xn[0]}return null},te=Object.keys(U),se=0;se0?J:MP(D,I,g,y,E,S,R)},checkPoint:function(g,y,E,S,D,I,R){var $=h8(S,D),C=2*$;if(ev(g,y,this.points,I,R,S,D-C,[0,-1],E)||ev(g,y,this.points,I,R,S-C,D,[0,-1],E))return!0;var G=S/2+2*E,U=D/2+2*E,J=[I-G,R-U,I-G,R,I+G,R,I+G,R-U];return!!($d(g,y,J)||v3(g,y,C,C,I+S/2-$,R+D/2-$,E)||v3(g,y,C,C,I-S/2+$,R+D/2-$,E))}}},rv.registerNodeShapes=function(){var m=this.nodeShapes={},g=this;this.generateEllipse(),this.generatePolygon("triangle",sd(3,0)),this.generateRoundPolygon("round-triangle",sd(3,0)),this.generatePolygon("rectangle",sd(4,0)),m.square=m.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var y=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",y),this.generateRoundPolygon("round-diamond",y)}this.generatePolygon("pentagon",sd(5,0)),this.generateRoundPolygon("round-pentagon",sd(5,0)),this.generatePolygon("hexagon",sd(6,0)),this.generateRoundPolygon("round-hexagon",sd(6,0)),this.generatePolygon("heptagon",sd(7,0)),this.generateRoundPolygon("round-heptagon",sd(7,0)),this.generatePolygon("octagon",sd(8,0)),this.generateRoundPolygon("round-octagon",sd(8,0));var E=new Array(20);{var S=sL(5,0),D=sL(5,Math.PI/5),I=.5*(3-Math.sqrt(5));I*=1.57;for(var R=0;R=g.deqFastCost*Be)break}else if(C){if(Ae>=g.deqCost*te||Ae>=g.deqAvgCost*J)break}else if(Le>=g.deqNoDrawCost*IL)break;var Xe=g.deq(E,Ce,oe);if(Xe.length>0)for(var Ue=0;Ue0&&(g.onDeqd(E,se),!C&&g.shouldRedraw(E,se,Ce,oe)&&D())},R=g.priority||x0;S.beforeRender(I,R(E))}}}},MJ=function(){function m(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cp;p(this,m),this.idsByKey=new N2,this.keyForId=new N2,this.cachesByLvl=new N2,this.lvls=[],this.getKey=g,this.doesEleInvalidateKey=y}return k(m,[{key:"getIdsFor",value:function(y){y==null&&Fu("Can not get id list for null key");var E=this.idsByKey,S=this.idsByKey.get(y);return S||(S=new N5,E.set(y,S)),S}},{key:"addIdForKey",value:function(y,E){y!=null&&this.getIdsFor(y).add(E)}},{key:"deleteIdForKey",value:function(y,E){y!=null&&this.getIdsFor(y).delete(E)}},{key:"getNumberOfIdsForKey",value:function(y){return y==null?0:this.getIdsFor(y).size}},{key:"updateKeyMappingFor",value:function(y){var E=y.id(),S=this.keyForId.get(E),D=this.getKey(y);this.deleteIdForKey(S,E),this.addIdForKey(D,E),this.keyForId.set(E,D)}},{key:"deleteKeyMappingFor",value:function(y){var E=y.id(),S=this.keyForId.get(E);this.deleteIdForKey(S,E),this.keyForId.delete(E)}},{key:"keyHasChangedFor",value:function(y){var E=y.id(),S=this.keyForId.get(E),D=this.getKey(y);return S!==D}},{key:"isInvalid",value:function(y){return this.keyHasChangedFor(y)||this.doesEleInvalidateKey(y)}},{key:"getCachesAt",value:function(y){var E=this.cachesByLvl,S=this.lvls,D=E.get(y);return D||(D=new N2,E.set(y,D),S.push(y)),D}},{key:"getCache",value:function(y,E){return this.getCachesAt(E).get(y)}},{key:"get",value:function(y,E){var S=this.getKey(y),D=this.getCache(S,E);return D!=null&&this.updateKeyMappingFor(y),D}},{key:"getForCachedKey",value:function(y,E){var S=this.keyForId.get(y.id()),D=this.getCache(S,E);return D}},{key:"hasCache",value:function(y,E){return this.getCachesAt(E).has(y)}},{key:"has",value:function(y,E){var S=this.getKey(y);return this.hasCache(S,E)}},{key:"setCache",value:function(y,E,S){S.key=y,this.getCachesAt(E).set(y,S)}},{key:"set",value:function(y,E,S){var D=this.getKey(y);this.setCache(D,E,S),this.updateKeyMappingFor(y)}},{key:"deleteCache",value:function(y,E){this.getCachesAt(E).delete(y)}},{key:"delete",value:function(y,E){var S=this.getKey(y);this.deleteCache(S,E)}},{key:"invalidateKey",value:function(y){var E=this;this.lvls.forEach(function(S){return E.deleteCache(y,S)})}},{key:"invalidate",value:function(y){var E=y.id(),S=this.keyForId.get(E);this.deleteKeyMappingFor(y);var D=this.doesEleInvalidateKey(y);return D&&this.invalidateKey(S),D||this.getNumberOfIdsForKey(S)===0}}]),m}(),tT=25,nT=50,t6=-4,OL=3,NL=7.99,DJ=8,IJ=1024,OJ=1024,kF=1024,NJ=.2,PJ=.8,BJ=10,FJ=.15,RJ=.1,jJ=.9,$J=.9,HJ=100,zJ=1,n6={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},GJ=zf({getKey:null,doesEleInvalidateKey:cp,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:O5,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),D8=function(g,y){var E=this;E.renderer=g,E.onDequeues=[];var S=GJ(y);Oe(E,S),E.lookup=new MJ(S.getKey,S.doesEleInvalidateKey),E.setupDequeueing()},Dh=D8.prototype;Dh.reasons=n6,Dh.getTextureQueue=function(m){var g=this;return g.eleImgCaches=g.eleImgCaches||{},g.eleImgCaches[m]=g.eleImgCaches[m]||[]},Dh.getRetiredTextureQueue=function(m){var g=this,y=g.eleImgCaches.retired=g.eleImgCaches.retired||{},E=y[m]=y[m]||[];return E},Dh.getElementQueue=function(){var m=this,g=m.eleCacheQueue=m.eleCacheQueue||new o8(function(y,E){return E.reqs-y.reqs});return g},Dh.getElementKeyToQueue=function(){var m=this,g=m.eleKeyToCacheQueue=m.eleKeyToCacheQueue||{};return g},Dh.getElement=function(m,g,y,E,S){var D=this,I=this.renderer,R=I.cy.zoom(),$=this.lookup;if(!g||g.w===0||g.h===0||isNaN(g.w)||isNaN(g.h)||!m.visible()||m.removed()||!D.allowEdgeTxrCaching&&m.isEdge()||!D.allowParentTxrCaching&&m.isParent())return null;if(E==null&&(E=Math.ceil(tL(R*y))),E=NL||E>OL)return null;var C=Math.pow(2,E),G=g.h*C,U=g.w*C,J=I.eleTextBiggerThanMin(m,C);if(!this.isVisible(m,J))return null;var te=$.get(m,E);if(te&&te.invalidated&&(te.invalidated=!1,te.texture.invalidatedWidth-=te.width),te)return te;var se;if(G<=tT?se=tT:G<=nT?se=nT:se=Math.ceil(G/nT)*nT,G>kF||U>OJ)return null;var oe=D.getTextureQueue(se),Ce=oe[oe.length-2],ve=function(){return D.recycleTexture(se,U)||D.addTexture(se,U)};Ce||(Ce=oe[oe.length-1]),Ce||(Ce=ve()),Ce.width-Ce.usedWidthE;ht--)ze=D.getElement(m,g,y,ht,n6.downscale);ut()}else return D.queueElement(m,Ue.level-1),Ue;else{var tt;if(!Le&&!Be&&!Xe)for(var Dt=E-1;Dt>=t6;Dt--){var ft=$.get(m,Dt);if(ft){tt=ft;break}}if(Ae(tt))return D.queueElement(m,E),tt;Ce.context.translate(Ce.usedWidth,0),Ce.context.scale(C,C),this.drawElement(Ce.context,m,g,J,!1),Ce.context.scale(1/C,1/C),Ce.context.translate(-Ce.usedWidth,0)}return te={x:Ce.usedWidth,texture:Ce,level:E,scale:C,width:U,height:G,scaledLabelShown:J},Ce.usedWidth+=Math.ceil(U+DJ),Ce.eleCaches.push(te),$.set(m,E,te),D.checkTextureFullness(Ce),te},Dh.invalidateElements=function(m){for(var g=0;g=NJ*m.width&&this.retireTexture(m)},Dh.checkTextureFullness=function(m){var g=this,y=g.getTextureQueue(m.height);m.usedWidth/m.width>PJ&&m.fullnessChecks>=BJ?am(y,m):m.fullnessChecks++},Dh.retireTexture=function(m){var g=this,y=m.height,E=g.getTextureQueue(y),S=this.lookup;am(E,m),m.retired=!0;for(var D=m.eleCaches,I=0;I=g)return I.retired=!1,I.usedWidth=0,I.invalidatedWidth=0,I.fullnessChecks=0,JA(I.eleCaches),I.context.setTransform(1,0,0,1,0,0),I.context.clearRect(0,0,I.width,I.height),am(S,I),E.push(I),I}},Dh.queueElement=function(m,g){var y=this,E=y.getElementQueue(),S=y.getElementKeyToQueue(),D=this.getKey(m),I=S[D];if(I)I.level=Math.max(I.level,g),I.eles.merge(m),I.reqs++,E.updateItem(I);else{var R={eles:m.spawn().merge(m),level:g,reqs:1,key:D};E.push(R),S[D]=R}},Dh.dequeue=function(m){for(var g=this,y=g.getElementQueue(),E=g.getElementKeyToQueue(),S=[],D=g.lookup,I=0;I0;I++){var R=y.pop(),$=R.key,C=R.eles[0],G=D.hasCache(C,R.level);if(E[$]=null,G)continue;S.push(R);var U=g.getBoundingBox(C);g.getElement(C,U,m,R.level,n6.dequeue)}return S},Dh.removeFromQueue=function(m){var g=this,y=g.getElementQueue(),E=g.getElementKeyToQueue(),S=this.getKey(m),D=E[S];D!=null&&(D.eles.length===1?(D.reqs=b1,y.updateItem(D),y.pop(),E[S]=null):D.eles.unmerge(m))},Dh.onDequeue=function(m){this.onDequeues.push(m)},Dh.offDequeue=function(m){am(this.onDequeues,m)},Dh.setupDequeueing=eT.setupDequeueing({deqRedrawThreshold:HJ,deqCost:FJ,deqAvgCost:RJ,deqNoDrawCost:jJ,deqFastCost:$J,deq:function(g,y,E){return g.dequeue(y,E)},onDeqd:function(g,y){for(var E=0;E=rT||y>I8)return null}E.validateLayersElesOrdering(y,m);var $=E.layersByLevel,C=Math.pow(2,y),G=$[y]=$[y]||[],U,J=E.levelIsComplete(y,m),te,se=function(){var ut=function(ln){if(E.validateLayersElesOrdering(ln,m),E.levelIsComplete(ln,m))return te=$[ln],!0},ht=function(ln){if(!te)for(var Rt=y+ln;r6<=Rt&&Rt<=I8&&!ut(Rt);Rt+=ln);};ht(1),ht(-1);for(var tt=G.length-1;tt>=0;tt--){var Dt=G[tt];Dt.invalid&&am(G,Dt)}};if(!J)se();else return G;var oe=function(){if(!U){U=jd();for(var ut=0;utvge)return null;var Dt=E.makeLayer(U,y);if(ht!=null){var ft=G.indexOf(ht)+1;G.splice(ft,0,Dt)}else(ut.insert===void 0||ut.insert)&&G.unshift(Dt);return Dt};if(E.skipping&&!R)return null;for(var ve=null,Ae=m.length/qJ,Le=!R,Be=0;Be=Ae||!LP(ve.bb,Xe.boundingBox()))&&(ve=Ce({insert:!0,after:ve}),!ve))return null;te||Le?E.queueLayer(ve,Xe):E.drawEleInLayer(ve,Xe,y,g),ve.eles.push(Xe),Fe[y]=ve}return te||(Le?null:G)},k1.getEleLevelForLayerLevel=function(m,g){return m},k1.drawEleInLayer=function(m,g,y,E){var S=this,D=this.renderer,I=m.context,R=g.boundingBox();R.w===0||R.h===0||!g.visible()||(y=S.getEleLevelForLayerLevel(y,E),D.setImgSmoothing(I,!1),D.drawCachedElement(I,g,null,null,y,wge),D.setImgSmoothing(I,!0))},k1.levelIsComplete=function(m,g){var y=this,E=y.layersByLevel[m];if(!E||E.length===0)return!1;for(var S=0,D=0;D0||I.invalid)return!1;S+=I.eles.length}return S===g.length},k1.validateLayersElesOrdering=function(m,g){var y=this.layersByLevel[m];if(y)for(var E=0;E0){g=!0;break}}return g},k1.invalidateElements=function(m){var g=this;m.length!==0&&(g.lastInvalidationTime=uc(),!(m.length===0||!g.haveLayers())&&g.updateElementsInLayers(m,function(E,S,D){g.invalidateLayer(E)}))},k1.invalidateLayer=function(m){if(this.lastInvalidationTime=uc(),!m.invalid){var g=m.level,y=m.eles,E=this.layersByLevel[g];am(E,m),m.elesQueue=[],m.invalid=!0,m.replacement&&(m.replacement.invalid=!0);for(var S=0;S3&&arguments[3]!==void 0?arguments[3]:!0,S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,I=this,R=g._private.rscratch;if(!(D&&!g.visible())&&!(R.badLine||R.allpts==null||isNaN(R.allpts[0]))){var $;y&&($=y,m.translate(-$.x1,-$.y1));var C=D?g.pstyle("opacity").value:1,G=D?g.pstyle("line-opacity").value:1,U=g.pstyle("curve-style").value,J=g.pstyle("line-style").value,te=g.pstyle("width").pfValue,se=g.pstyle("line-cap").value,oe=C*G,Ce=C*G,ve=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oe;U==="straight-triangle"?(I.eleStrokeStyle(m,g,tt),I.drawEdgeTrianglePath(g,m,R.allpts)):(m.lineWidth=te,m.lineCap=se,I.eleStrokeStyle(m,g,tt),I.drawEdgePath(g,m,R.allpts,J),m.lineCap="butt")},Ae=function(){S&&I.drawEdgeOverlay(m,g)},Le=function(){S&&I.drawEdgeUnderlay(m,g)},Be=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ce;I.drawArrowheads(m,g,tt)},Xe=function(){I.drawElementText(m,g,null,E)};m.lineJoin="round";var Ue=g.pstyle("ghost").value==="yes";if(Ue){var Fe=g.pstyle("ghost-offset-x").pfValue,et=g.pstyle("ghost-offset-y").pfValue,ze=g.pstyle("ghost-opacity").value,ut=oe*ze;m.translate(Fe,et),ve(ut),Be(ut),m.translate(-Fe,-et)}Le(),ve(),Be(),Ae(),Xe(),y&&m.translate($.x1,$.y1)}};var XJ=function(g){if(!["overlay","underlay"].includes(g))throw new Error("Invalid state");return function(y,E){if(E.visible()){var S=E.pstyle("".concat(g,"-opacity")).value;if(S!==0){var D=this,I=D.usePaths(),R=E._private.rscratch,$=E.pstyle("".concat(g,"-padding")).pfValue,C=2*$,G=E.pstyle("".concat(g,"-color")).value;y.lineWidth=C,R.edgeType==="self"&&!I?y.lineCap="butt":y.lineCap="round",D.colorStrokeStyle(y,G[0],G[1],G[2],S),D.drawEdgePath(E,y,R.allpts,"solid")}}}};sv.drawEdgeOverlay=XJ("overlay"),sv.drawEdgeUnderlay=XJ("underlay"),sv.drawEdgePath=function(m,g,y,E){var S=m._private.rscratch,D=g,I,R=!1,$=this.usePaths(),C=m.pstyle("line-dash-pattern").pfValue,G=m.pstyle("line-dash-offset").pfValue;if($){var U=y.join("$"),J=S.pathCacheKey&&S.pathCacheKey===U;J?(I=g=S.pathCache,R=!0):(I=g=new Path2D,S.pathCacheKey=U,S.pathCache=I)}if(D.setLineDash)switch(E){case"dotted":D.setLineDash([1,1]);break;case"dashed":D.setLineDash(C),D.lineDashOffset=G;break;case"solid":D.setLineDash([]);break}if(!R&&!S.badLine)switch(g.beginPath&&g.beginPath(),g.moveTo(y[0],y[1]),S.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var te=2;te+35&&arguments[5]!==void 0?arguments[5]:!0,I=this;if(E==null){if(D&&!I.eleTextBiggerThanMin(g))return}else if(E===!1)return;if(g.isNode()){var R=g.pstyle("label");if(!R||!R.value)return;var $=I.getLabelJustification(g);m.textAlign=$,m.textBaseline="bottom"}else{var C=g.element()._private.rscratch.badLine,G=g.pstyle("label"),U=g.pstyle("source-label"),J=g.pstyle("target-label");if(C||(!G||!G.value)&&(!U||!U.value)&&(!J||!J.value))return;m.textAlign="center",m.textBaseline="bottom"}var te=!y,se;y&&(se=y,m.translate(-se.x1,-se.y1)),S==null?(I.drawText(m,g,null,te,D),g.isEdge()&&(I.drawText(m,g,"source",te,D),I.drawText(m,g,"target",te,D))):I.drawText(m,g,S,te,D),y&&m.translate(se.x1,se.y1)},i6.getFontCache=function(m){var g;this.fontCaches=this.fontCaches||[];for(var y=0;y2&&arguments[2]!==void 0?arguments[2]:!0,E=g.pstyle("font-style").strValue,S=g.pstyle("font-size").pfValue+"px",D=g.pstyle("font-family").strValue,I=g.pstyle("font-weight").strValue,R=y?g.effectiveOpacity()*g.pstyle("text-opacity").value:1,$=g.pstyle("text-outline-opacity").value*R,C=g.pstyle("color").value,G=g.pstyle("text-outline-color").value;m.font=E+" "+I+" "+S+" "+D,m.lineJoin="round",this.colorFillStyle(m,C[0],C[1],C[2],R),this.colorStrokeStyle(m,G[0],G[1],G[2],$)};function Tge(m,g,y,E,S){var D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5;m.beginPath(),m.moveTo(g+D,y),m.lineTo(g+E-D,y),m.quadraticCurveTo(g+E,y,g+E,y+D),m.lineTo(g+E,y+S-D),m.quadraticCurveTo(g+E,y+S,g+E-D,y+S),m.lineTo(g+D,y+S),m.quadraticCurveTo(g,y+S,g,y+S-D),m.lineTo(g,y+D),m.quadraticCurveTo(g,y,g+D,y),m.closePath(),m.fill()}i6.getTextAngle=function(m,g){var y,E=m._private,S=E.rscratch,D=g?g+"-":"",I=m.pstyle(D+"text-rotation"),R=lp(S,"labelAngle",g);return I.strValue==="autorotate"?y=m.isEdge()?R:0:I.strValue==="none"?y=0:y=I.pfValue,y},i6.drawText=function(m,g,y){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,D=g._private,I=D.rscratch,R=S?g.effectiveOpacity():1;if(!(S&&(R===0||g.pstyle("text-opacity").value===0))){y==="main"&&(y=null);var $=lp(I,"labelX",y),C=lp(I,"labelY",y),G,U,J=this.getLabelText(g,y);if(J!=null&&J!==""&&!isNaN($)&&!isNaN(C)){this.setupTextStyle(m,g,S);var te=y?y+"-":"",se=lp(I,"labelWidth",y),oe=lp(I,"labelHeight",y),Ce=g.pstyle(te+"text-margin-x").pfValue,ve=g.pstyle(te+"text-margin-y").pfValue,Ae=g.isEdge(),Le=g.pstyle("text-halign").value,Be=g.pstyle("text-valign").value;Ae&&(Le="center",Be="center"),$+=Ce,C+=ve;var Xe;switch(E?Xe=this.getTextAngle(g,y):Xe=0,Xe!==0&&(G=$,U=C,m.translate(G,U),m.rotate(Xe),$=0,C=0),Be){case"top":break;case"center":C+=oe/2;break;case"bottom":C+=oe;break}var Ue=g.pstyle("text-background-opacity").value,Fe=g.pstyle("text-border-opacity").value,et=g.pstyle("text-border-width").pfValue,ze=g.pstyle("text-background-padding").pfValue;if(Ue>0||et>0&&Fe>0){var ut=$-ze;switch(Le){case"left":ut-=se;break;case"center":ut-=se/2;break}var ht=C-oe-ze,tt=se+2*ze,Dt=oe+2*ze;if(Ue>0){var ft=m.fillStyle,ln=g.pstyle("text-background-color").value;m.fillStyle="rgba("+ln[0]+","+ln[1]+","+ln[2]+","+Ue*R+")";var Rt=g.pstyle("text-background-shape").strValue;Rt.indexOf("round")===0?Tge(m,ut,ht,tt,Dt,2):m.fillRect(ut,ht,tt,Dt),m.fillStyle=ft}if(et>0&&Fe>0){var Ht=m.strokeStyle,wn=m.lineWidth,Sn=g.pstyle("text-border-color").value,Kn=g.pstyle("text-border-style").value;if(m.strokeStyle="rgba("+Sn[0]+","+Sn[1]+","+Sn[2]+","+Fe*R+")",m.lineWidth=et,m.setLineDash)switch(Kn){case"dotted":m.setLineDash([1,1]);break;case"dashed":m.setLineDash([4,2]);break;case"double":m.lineWidth=et/4,m.setLineDash([]);break;case"solid":m.setLineDash([]);break}if(m.strokeRect(ut,ht,tt,Dt),Kn==="double"){var xn=et/2;m.strokeRect(ut+xn,ht+xn,tt-xn*2,Dt-xn*2)}m.setLineDash&&m.setLineDash([]),m.lineWidth=wn,m.strokeStyle=Ht}}var Un=2*g.pstyle("text-outline-width").pfValue;if(Un>0&&(m.lineWidth=Un),g.pstyle("text-wrap").value==="wrap"){var ar=lp(I,"labelWrapCachedLines",y),xr=lp(I,"labelLineHeight",y),fr=se/2,rr=this.getLabelJustification(g);switch(rr==="auto"||(Le==="left"?rr==="left"?$+=-se:rr==="center"&&($+=-fr):Le==="center"?rr==="left"?$+=-fr:rr==="right"&&($+=fr):Le==="right"&&(rr==="center"?$+=fr:rr==="right"&&($+=se))),Be){case"top":C-=(ar.length-1)*xr;break;case"center":case"bottom":C-=(ar.length-1)*xr;break}for(var gn=0;gn0&&m.strokeText(ar[gn],$,C),m.fillText(ar[gn],$,C),C+=xr}else Un>0&&m.strokeText(J,$,C),m.fillText(J,$,C);Xe!==0&&(m.rotate(-Xe),m.translate(-G,-U))}}};var N8={};N8.drawNode=function(m,g,y){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,D=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,I=this,R,$,C=g._private,G=C.rscratch,U=g.position();if(!(!re(U.x)||!re(U.y))&&!(D&&!g.visible())){var J=D?g.effectiveOpacity():1,te=I.usePaths(),se,oe=!1,Ce=g.padding();R=g.width()+2*Ce,$=g.height()+2*Ce;var ve;y&&(ve=y,m.translate(-ve.x1,-ve.y1));for(var Ae=g.pstyle("background-image"),Le=Ae.value,Be=new Array(Le.length),Xe=new Array(Le.length),Ue=0,Fe=0;Fe0&&arguments[0]!==void 0?arguments[0]:Dt;I.eleFillStyle(m,g,Ii)},wn=function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rt;I.colorStrokeStyle(m,ft[0],ft[1],ft[2],Ii)},Sn=g.pstyle("shape").strValue,Kn=g.pstyle("shape-polygon-points").pfValue;if(te){m.translate(U.x,U.y);var xn=I.nodePathCache=I.nodePathCache||[],Un=I5(Sn==="polygon"?Sn+","+Kn.join(","):Sn,""+$,""+R),ar=xn[Un];ar!=null?(se=ar,oe=!0,G.pathCache=se):(se=new Path2D,xn[Un]=G.pathCache=se)}var xr=function(){if(!oe){var Ii=U;te&&(Ii={x:0,y:0}),I.nodeShapes[I.getNodeShape(g)].draw(se||m,Ii.x,Ii.y,R,$)}te?m.fill(se):m.fill()},fr=function(){for(var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J,es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,to=C.backgrounding,sa=0,Ws=0;Ws0&&arguments[0]!==void 0?arguments[0]:!1,es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:J;I.hasPie(g)&&(I.drawPie(m,g,es),Ii&&(te||I.nodeShapes[I.getNodeShape(g)].draw(m,U.x,U.y,R,$)))},gn=function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J,es=(ht>0?ht:-ht)*Ii,to=ht>0?0:255;ht!==0&&(I.colorFillStyle(m,to,to,to,es),te?m.fill(se):m.fill())},mr=function(){if(tt>0){if(m.lineWidth=tt,m.lineCap="butt",m.setLineDash)switch(ln){case"dotted":m.setLineDash([1,1]);break;case"dashed":m.setLineDash([4,2]);break;case"solid":case"double":m.setLineDash([]);break}if(te?m.stroke(se):m.stroke(),ln==="double"){m.lineWidth=tt/3;var Ii=m.globalCompositeOperation;m.globalCompositeOperation="destination-out",te?m.stroke(se):m.stroke(),m.globalCompositeOperation=Ii}m.setLineDash&&m.setLineDash([])}},pr=function(){S&&I.drawNodeOverlay(m,g,U,R,$)},ri=function(){S&&I.drawNodeUnderlay(m,g,U,R,$)},Ti=function(){I.drawElementText(m,g,null,E)},ia=g.pstyle("ghost").value==="yes";if(ia){var Ra=g.pstyle("ghost-offset-x").pfValue,Li=g.pstyle("ghost-offset-y").pfValue,vi=g.pstyle("ghost-opacity").value,Ts=vi*J;m.translate(Ra,Li),Ht(vi*Dt),xr(),fr(Ts,!0),wn(vi*Rt),mr(),rr(ht!==0||tt!==0),fr(Ts,!1),gn(Ts),m.translate(-Ra,-Li)}te&&m.translate(-U.x,-U.y),ri(),te&&m.translate(U.x,U.y),Ht(),xr(),fr(J,!0),wn(),mr(),rr(ht!==0||tt!==0),fr(J,!1),gn(),te&&m.translate(-U.x,-U.y),Ti(),pr(),y&&m.translate(ve.x1,ve.y1)}};var QJ=function(g){if(!["overlay","underlay"].includes(g))throw new Error("Invalid state");return function(y,E,S,D,I){var R=this;if(E.visible()){var $=E.pstyle("".concat(g,"-padding")).pfValue,C=E.pstyle("".concat(g,"-opacity")).value,G=E.pstyle("".concat(g,"-color")).value,U=E.pstyle("".concat(g,"-shape")).value;if(C>0){if(S=S||E.position(),D==null||I==null){var J=E.padding();D=E.width()+2*J,I=E.height()+2*J}R.colorFillStyle(y,G[0],G[1],G[2],C),R.nodeShapes[U].draw(y,S.x,S.y,D+$*2,I+$*2),y.fill()}}}};N8.drawNodeOverlay=QJ("overlay"),N8.drawNodeUnderlay=QJ("underlay"),N8.hasPie=function(m){return m=m[0],m._private.hasPie},N8.drawPie=function(m,g,y,E){g=g[0],E=E||g.position();var S=g.cy().style(),D=g.pstyle("pie-size"),I=E.x,R=E.y,$=g.width(),C=g.height(),G=Math.min($,C)/2,U=0,J=this.usePaths();J&&(I=0,R=0),D.units==="%"?G=G*D.pfValue:D.pfValue!==void 0&&(G=D.pfValue/2);for(var te=1;te<=S.pieBackgroundN;te++){var se=g.pstyle("pie-"+te+"-background-size").value,oe=g.pstyle("pie-"+te+"-background-color").value,Ce=g.pstyle("pie-"+te+"-background-opacity").value*y,ve=se/100;ve+U>1&&(ve=1-U);var Ae=1.5*Math.PI+2*Math.PI*U,Le=2*Math.PI*ve,Be=Ae+Le;se===0||U>=1||U+ve>1||(m.beginPath(),m.moveTo(I,R),m.arc(I,R,G,Ae,Be),m.closePath(),this.colorFillStyle(m,oe[0],oe[1],oe[2],Ce),m.fill(),U+=ve)}};var ug={},_ge=100;ug.getPixelRatio=function(){var m=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var g=m.backingStorePixelRatio||m.webkitBackingStorePixelRatio||m.mozBackingStorePixelRatio||m.msBackingStorePixelRatio||m.oBackingStorePixelRatio||m.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/g},ug.paintCache=function(m){for(var g=this.paintCaches=this.paintCaches||[],y=!0,E,S=0;SI.minMbLowQualFrames&&(I.motionBlurPxRatio=I.mbPxRBlurry)),I.clearingMotionBlur&&(I.motionBlurPxRatio=1),I.textureDrawLastFrame&&!U&&(G[I.NODE]=!0,G[I.SELECT_BOX]=!0);var Ae=$.style(),Le=$.zoom(),Be=S!==void 0?S:Le,Xe=$.pan(),Ue={x:Xe.x,y:Xe.y},Fe={zoom:Le,pan:{x:Xe.x,y:Xe.y}},et=I.prevViewport,ze=et===void 0||Fe.zoom!==et.zoom||Fe.pan.x!==et.pan.x||Fe.pan.y!==et.pan.y;!ze&&!(oe&&!se)&&(I.motionBlurPxRatio=1),D&&(Ue=D),Be*=R,Ue.x*=R,Ue.y*=R;var ut=I.getCachedZSortedEles();function ht(Li,vi,Ts,Wi,Ii){var es=Li.globalCompositeOperation;Li.globalCompositeOperation="destination-out",I.colorFillStyle(Li,255,255,255,I.motionBlurTransparency),Li.fillRect(vi,Ts,Wi,Ii),Li.globalCompositeOperation=es}function tt(Li,vi){var Ts,Wi,Ii,es;!I.clearingMotionBlur&&(Li===C.bufferContexts[I.MOTIONBLUR_BUFFER_NODE]||Li===C.bufferContexts[I.MOTIONBLUR_BUFFER_DRAG])?(Ts={x:Xe.x*te,y:Xe.y*te},Wi=Le*te,Ii=I.canvasWidth*te,es=I.canvasHeight*te):(Ts=Ue,Wi=Be,Ii=I.canvasWidth,es=I.canvasHeight),Li.setTransform(1,0,0,1,0,0),vi==="motionBlur"?ht(Li,0,0,Ii,es):!g&&(vi===void 0||vi)&&Li.clearRect(0,0,Ii,es),y||(Li.translate(Ts.x,Ts.y),Li.scale(Wi,Wi)),D&&Li.translate(D.x,D.y),S&&Li.scale(S,S)}if(U||(I.textureDrawLastFrame=!1),U){if(I.textureDrawLastFrame=!0,!I.textureCache){I.textureCache={},I.textureCache.bb=$.mutableElements().boundingBox(),I.textureCache.texture=I.data.bufferCanvases[I.TEXTURE_BUFFER];var Dt=I.data.bufferContexts[I.TEXTURE_BUFFER];Dt.setTransform(1,0,0,1,0,0),Dt.clearRect(0,0,I.canvasWidth*I.textureMult,I.canvasHeight*I.textureMult),I.render({forcedContext:Dt,drawOnlyNodeLayer:!0,forcedPxRatio:R*I.textureMult});var Fe=I.textureCache.viewport={zoom:$.zoom(),pan:$.pan(),width:I.canvasWidth,height:I.canvasHeight};Fe.mpan={x:(0-Fe.pan.x)/Fe.zoom,y:(0-Fe.pan.y)/Fe.zoom}}G[I.DRAG]=!1,G[I.NODE]=!1;var ft=C.contexts[I.NODE],ln=I.textureCache.texture,Fe=I.textureCache.viewport;ft.setTransform(1,0,0,1,0,0),J?ht(ft,0,0,Fe.width,Fe.height):ft.clearRect(0,0,Fe.width,Fe.height);var Rt=Ae.core("outside-texture-bg-color").value,Ht=Ae.core("outside-texture-bg-opacity").value;I.colorFillStyle(ft,Rt[0],Rt[1],Rt[2],Ht),ft.fillRect(0,0,Fe.width,Fe.height);var Le=$.zoom();tt(ft,!1),ft.clearRect(Fe.mpan.x,Fe.mpan.y,Fe.width/Fe.zoom/R,Fe.height/Fe.zoom/R),ft.drawImage(ln,Fe.mpan.x,Fe.mpan.y,Fe.width/Fe.zoom/R,Fe.height/Fe.zoom/R)}else I.textureOnViewport&&!g&&(I.textureCache=null);var wn=$.extent(),Sn=I.pinching||I.hoverData.dragging||I.swipePanning||I.data.wheelZooming||I.hoverData.draggingEles||I.cy.animated(),Kn=I.hideEdgesOnViewport&&Sn,xn=[];if(xn[I.NODE]=!G[I.NODE]&&J&&!I.clearedForMotionBlur[I.NODE]||I.clearingMotionBlur,xn[I.NODE]&&(I.clearedForMotionBlur[I.NODE]=!0),xn[I.DRAG]=!G[I.DRAG]&&J&&!I.clearedForMotionBlur[I.DRAG]||I.clearingMotionBlur,xn[I.DRAG]&&(I.clearedForMotionBlur[I.DRAG]=!0),G[I.NODE]||y||E||xn[I.NODE]){var Un=J&&!xn[I.NODE]&&te!==1,ft=g||(Un?I.data.bufferContexts[I.MOTIONBLUR_BUFFER_NODE]:C.contexts[I.NODE]),ar=J&&!Un?"motionBlur":void 0;tt(ft,ar),Kn?I.drawCachedNodes(ft,ut.nondrag,R,wn):I.drawLayeredElements(ft,ut.nondrag,R,wn),I.debug&&I.drawDebugPoints(ft,ut.nondrag),!y&&!J&&(G[I.NODE]=!1)}if(!E&&(G[I.DRAG]||y||xn[I.DRAG])){var Un=J&&!xn[I.DRAG]&&te!==1,ft=g||(Un?I.data.bufferContexts[I.MOTIONBLUR_BUFFER_DRAG]:C.contexts[I.DRAG]);tt(ft,J&&!Un?"motionBlur":void 0),Kn?I.drawCachedNodes(ft,ut.drag,R,wn):I.drawCachedElements(ft,ut.drag,R,wn),I.debug&&I.drawDebugPoints(ft,ut.drag),!y&&!J&&(G[I.DRAG]=!1)}if(I.showFps||!E&&G[I.SELECT_BOX]&&!y){var ft=g||C.contexts[I.SELECT_BOX];if(tt(ft),I.selection[4]==1&&(I.hoverData.selecting||I.touchData.selecting)){var Le=I.cy.zoom(),xr=Ae.core("selection-box-border-width").value/Le;ft.lineWidth=xr,ft.fillStyle="rgba("+Ae.core("selection-box-color").value[0]+","+Ae.core("selection-box-color").value[1]+","+Ae.core("selection-box-color").value[2]+","+Ae.core("selection-box-opacity").value+")",ft.fillRect(I.selection[0],I.selection[1],I.selection[2]-I.selection[0],I.selection[3]-I.selection[1]),xr>0&&(ft.strokeStyle="rgba("+Ae.core("selection-box-border-color").value[0]+","+Ae.core("selection-box-border-color").value[1]+","+Ae.core("selection-box-border-color").value[2]+","+Ae.core("selection-box-opacity").value+")",ft.strokeRect(I.selection[0],I.selection[1],I.selection[2]-I.selection[0],I.selection[3]-I.selection[1]))}if(C.bgActivePosistion&&!I.hoverData.selecting){var Le=I.cy.zoom(),fr=C.bgActivePosistion;ft.fillStyle="rgba("+Ae.core("active-bg-color").value[0]+","+Ae.core("active-bg-color").value[1]+","+Ae.core("active-bg-color").value[2]+","+Ae.core("active-bg-opacity").value+")",ft.beginPath(),ft.arc(fr.x,fr.y,Ae.core("active-bg-size").pfValue/Le,0,2*Math.PI),ft.fill()}var rr=I.lastRedrawTime;if(I.showFps&&rr){rr=Math.round(rr);var gn=Math.round(1e3/rr);ft.setTransform(1,0,0,1,0,0),ft.fillStyle="rgba(255, 0, 0, 0.75)",ft.strokeStyle="rgba(255, 0, 0, 0.75)",ft.lineWidth=1,ft.fillText("1 frame = "+rr+" ms = "+gn+" fps",0,20);var mr=60;ft.strokeRect(0,30,250,20),ft.fillRect(0,30,250*Math.min(gn/mr,1),20)}y||(G[I.SELECT_BOX]=!1)}if(J&&te!==1){var pr=C.contexts[I.NODE],ri=I.data.bufferCanvases[I.MOTIONBLUR_BUFFER_NODE],Ti=C.contexts[I.DRAG],ia=I.data.bufferCanvases[I.MOTIONBLUR_BUFFER_DRAG],Ra=function(vi,Ts,Wi){vi.setTransform(1,0,0,1,0,0),Wi||!ve?vi.clearRect(0,0,I.canvasWidth,I.canvasHeight):ht(vi,0,0,I.canvasWidth,I.canvasHeight);var Ii=te;vi.drawImage(Ts,0,0,I.canvasWidth*Ii,I.canvasHeight*Ii,0,0,I.canvasWidth,I.canvasHeight)};(G[I.NODE]||xn[I.NODE])&&(Ra(pr,ri,xn[I.NODE]),G[I.NODE]=!1),(G[I.DRAG]||xn[I.DRAG])&&(Ra(Ti,ia,xn[I.DRAG]),G[I.DRAG]=!1)}I.prevViewport=Fe,I.clearingMotionBlur&&(I.clearingMotionBlur=!1,I.motionBlurCleared=!0,I.motionBlur=!0),J&&(I.motionBlurTimeout=setTimeout(function(){I.motionBlurTimeout=null,I.clearedForMotionBlur[I.NODE]=!1,I.clearedForMotionBlur[I.DRAG]=!1,I.motionBlur=!1,I.clearingMotionBlur=!U,I.mbFrames=0,G[I.NODE]=!0,G[I.DRAG]=!0,I.redraw()},_ge)),g||$.emit("render")};var E3={};E3.drawPolygonPath=function(m,g,y,E,S,D){var I=E/2,R=S/2;m.beginPath&&m.beginPath(),m.moveTo(g+I*D[0],y+R*D[1]);for(var $=1;$0&&I>0){te.clearRect(0,0,D,I),te.globalCompositeOperation="source-over";var se=this.getCachedZSortedEles();if(m.full)te.translate(-E.x1*C,-E.y1*C),te.scale(C,C),this.drawElements(te,se),te.scale(1/C,1/C),te.translate(E.x1*C,E.y1*C);else{var oe=g.pan(),Ce={x:oe.x*C,y:oe.y*C};C*=g.zoom(),te.translate(Ce.x,Ce.y),te.scale(C,C),this.drawElements(te,se),te.scale(1/C,1/C),te.translate(-Ce.x,-Ce.y)}m.bg&&(te.globalCompositeOperation="destination-over",te.fillStyle=m.bg,te.rect(0,0,D,I),te.fill())}return J};function Cge(m,g){for(var y=atob(m),E=new ArrayBuffer(y.length),S=new Uint8Array(E),D=0;D"u"?"undefined":f(OffscreenCanvas))!=="undefined"?y=new OffscreenCanvas(m,g):(y=document.createElement("canvas"),y.width=m,y.height=g),y},[T0,iv,sv,sT,i6,N8,ug,E3,aT,ree].forEach(function(m){Oe(Sc,m)});var s6=[{name:"null",impl:hF},{name:"base",impl:DL},{name:"canvas",impl:Sge}],lg=[{type:"layout",extensions:SJ},{type:"renderer",extensions:s6}],pm={},FL={};function x1(m,g,y){var E=y,S=function(et){Jo("Can not register `"+g+"` for `"+m+"` since `"+et+"` already exists in the prototype and can not be overridden")};if(m==="core"){if(C8.prototype[g])return S(g);C8.prototype[g]=y}else if(m==="collection"){if(qf.prototype[g])return S(g);qf.prototype[g]=y}else if(m==="layout"){for(var D=function(et){this.options=et,y.call(this,et),fe(this._private)||(this._private={}),this._private.cy=et.cy,this._private.listeners=[],this.createEmitter()},I=D.prototype=Object.create(y.prototype),R=[],$=0;$V&&(this.rect.x-=(this.labelWidth-V)/2,this.setWidth(this.labelWidth)),this.labelHeight>Z&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-Z)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-Z),this.setHeight(this.labelHeight))}}},F.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==b.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},F.prototype.transform=function(j){var V=this.rect.x;V>A.WORLD_BOUNDARY?V=A.WORLD_BOUNDARY:V<-A.WORLD_BOUNDARY&&(V=-A.WORLD_BOUNDARY);var Z=this.rect.y;Z>A.WORLD_BOUNDARY?Z=A.WORLD_BOUNDARY:Z<-A.WORLD_BOUNDARY&&(Z=-A.WORLD_BOUNDARY);var ae=new B(V,Z),le=j.inverseTransformPoint(ae);this.setLocation(le.x,le.y)},F.prototype.getLeft=function(){return this.rect.x},F.prototype.getRight=function(){return this.rect.x+this.rect.width},F.prototype.getTop=function(){return this.rect.y},F.prototype.getBottom=function(){return this.rect.y+this.rect.height},F.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=F},function(f,p,w){function k(b,_){b==null&&_==null?(this.x=0,this.y=0):(this.x=b,this.y=_)}k.prototype.getX=function(){return this.x},k.prototype.getY=function(){return this.y},k.prototype.setX=function(b){this.x=b},k.prototype.setY=function(b){this.y=b},k.prototype.getDifference=function(b){return new DimensionD(this.x-b.x,this.y-b.y)},k.prototype.getCopy=function(){return new k(this.x,this.y)},k.prototype.translate=function(b){return this.x+=b.width,this.y+=b.height,this},f.exports=k},function(f,p,w){var k=w(2),b=w(10),_=w(0),A=w(6),N=w(3),B=w(1),F=w(13),H=w(12),j=w(11);function V(ae,le,ce){k.call(this,ce),this.estimatedSize=b.MIN_VALUE,this.margin=_.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=ae,le!=null&&le instanceof A?this.graphManager=le:le!=null&&le instanceof Layout&&(this.graphManager=le.graphManager)}V.prototype=Object.create(k.prototype);for(var Z in k)V[Z]=k[Z];V.prototype.getNodes=function(){return this.nodes},V.prototype.getEdges=function(){return this.edges},V.prototype.getGraphManager=function(){return this.graphManager},V.prototype.getParent=function(){return this.parent},V.prototype.getLeft=function(){return this.left},V.prototype.getRight=function(){return this.right},V.prototype.getTop=function(){return this.top},V.prototype.getBottom=function(){return this.bottom},V.prototype.isConnected=function(){return this.isConnected},V.prototype.add=function(ae,le,ce){if(le==null&&ce==null){var be=ae;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(be)>-1)throw"Node already in graph!";return be.owner=this,this.getNodes().push(be),be}else{var xe=ae;if(!(this.getNodes().indexOf(le)>-1&&this.getNodes().indexOf(ce)>-1))throw"Source or target not in graph!";if(!(le.owner==ce.owner&&le.owner==this))throw"Both owners must be this graph!";return le.owner!=ce.owner?null:(xe.source=le,xe.target=ce,xe.isInterGraph=!1,this.getEdges().push(xe),le.edges.push(xe),ce!=le&&ce.edges.push(xe),xe)}},V.prototype.remove=function(ae){var le=ae;if(ae instanceof N){if(le==null)throw"Node is null!";if(!(le.owner!=null&&le.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var ce=le.edges.slice(),be,xe=ce.length,Ee=0;Ee-1&&ye>-1))throw"Source and/or target doesn't know this edge!";be.source.edges.splice(fe,1),be.target!=be.source&&be.target.edges.splice(ye,1);var Me=be.source.owner.getEdges().indexOf(be);if(Me==-1)throw"Not in owner's edge list!";be.source.owner.getEdges().splice(Me,1)}},V.prototype.updateLeftTop=function(){for(var ae=b.MAX_VALUE,le=b.MAX_VALUE,ce,be,xe,Ee=this.getNodes(),Me=Ee.length,fe=0;fece&&(ae=ce),le>be&&(le=be)}return ae==b.MAX_VALUE?null:(Ee[0].getParent().paddingLeft!=null?xe=Ee[0].getParent().paddingLeft:xe=this.margin,this.left=le-xe,this.top=ae-xe,new H(this.left,this.top))},V.prototype.updateBounds=function(ae){for(var le=b.MAX_VALUE,ce=-b.MAX_VALUE,be=b.MAX_VALUE,xe=-b.MAX_VALUE,Ee,Me,fe,ye,re,we=this.nodes,ke=we.length,he=0;heEe&&(le=Ee),cefe&&(be=fe),xeEe&&(le=Ee),cefe&&(be=fe),xe=this.nodes.length){var ke=0;ce.forEach(function(he){he.owner==ae&&ke++}),ke==this.nodes.length&&(this.isConnected=!0)}},f.exports=V},function(f,p,w){var k,b=w(1);function _(A){k=w(5),this.layout=A,this.graphs=[],this.edges=[]}_.prototype.addRoot=function(){var A=this.layout.newGraph(),N=this.layout.newNode(null),B=this.add(A,N);return this.setRootGraph(B),this.rootGraph},_.prototype.add=function(A,N,B,F,H){if(B==null&&F==null&&H==null){if(A==null)throw"Graph is null!";if(N==null)throw"Parent node is null!";if(this.graphs.indexOf(A)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(A),A.parent!=null)throw"Already has a parent!";if(N.child!=null)throw"Already has a child!";return A.parent=N,N.child=A,A}else{H=B,F=N,B=A;var j=F.getOwner(),V=H.getOwner();if(!(j!=null&&j.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(V!=null&&V.getGraphManager()==this))throw"Target not in this graph mgr!";if(j==V)return B.isInterGraph=!1,j.add(B,F,H);if(B.isInterGraph=!0,B.source=F,B.target=H,this.edges.indexOf(B)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(B),!(B.source!=null&&B.target!=null))throw"Edge source and/or target is null!";if(!(B.source.edges.indexOf(B)==-1&&B.target.edges.indexOf(B)==-1))throw"Edge already in source and/or target incidency list!";return B.source.edges.push(B),B.target.edges.push(B),B}},_.prototype.remove=function(A){if(A instanceof k){var N=A;if(N.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(N==this.rootGraph||N.parent!=null&&N.parent.graphManager==this))throw"Invalid parent node!";var B=[];B=B.concat(N.getEdges());for(var F,H=B.length,j=0;j=A.getRight()?N[0]+=Math.min(A.getX()-_.getX(),_.getRight()-A.getRight()):A.getX()<=_.getX()&&A.getRight()>=_.getRight()&&(N[0]+=Math.min(_.getX()-A.getX(),A.getRight()-_.getRight())),_.getY()<=A.getY()&&_.getBottom()>=A.getBottom()?N[1]+=Math.min(A.getY()-_.getY(),_.getBottom()-A.getBottom()):A.getY()<=_.getY()&&A.getBottom()>=_.getBottom()&&(N[1]+=Math.min(_.getY()-A.getY(),A.getBottom()-_.getBottom()));var H=Math.abs((A.getCenterY()-_.getCenterY())/(A.getCenterX()-_.getCenterX()));A.getCenterY()===_.getCenterY()&&A.getCenterX()===_.getCenterX()&&(H=1);var j=H*N[0],V=N[1]/H;N[0]j)return N[0]=B,N[1]=Z,N[2]=H,N[3]=we,!1;if(FH)return N[0]=V,N[1]=F,N[2]=ye,N[3]=j,!1;if(BH?(N[0]=le,N[1]=ce,X=!0):(N[0]=ae,N[1]=Z,X=!0):pe===de&&(B>H?(N[0]=V,N[1]=Z,X=!0):(N[0]=be,N[1]=ce,X=!0)),-Ge===de?H>B?(N[2]=re,N[3]=we,Re=!0):(N[2]=ye,N[3]=fe,Re=!0):Ge===de&&(H>B?(N[2]=Me,N[3]=fe,Re=!0):(N[2]=ke,N[3]=we,Re=!0)),X&&Re)return!1;if(B>H?F>j?(ct=this.getCardinalDirection(pe,de,4),bt=this.getCardinalDirection(Ge,de,2)):(ct=this.getCardinalDirection(-pe,de,3),bt=this.getCardinalDirection(-Ge,de,1)):F>j?(ct=this.getCardinalDirection(-pe,de,1),bt=this.getCardinalDirection(-Ge,de,3)):(ct=this.getCardinalDirection(pe,de,2),bt=this.getCardinalDirection(Ge,de,4)),!X)switch(ct){case 1:yt=Z,St=B+-Ee/de,N[0]=St,N[1]=yt;break;case 2:St=be,yt=F+xe*de,N[0]=St,N[1]=yt;break;case 3:yt=ce,St=B+Ee/de,N[0]=St,N[1]=yt;break;case 4:St=le,yt=F+-xe*de,N[0]=St,N[1]=yt;break}if(!Re)switch(bt){case 1:nn=fe,Mt=H+-De/de,N[2]=Mt,N[3]=nn;break;case 2:Mt=ke,nn=j+he*de,N[2]=Mt,N[3]=nn;break;case 3:nn=we,Mt=H+De/de,N[2]=Mt,N[3]=nn;break;case 4:Mt=re,nn=j+-he*de,N[2]=Mt,N[3]=nn;break}}return!1},b.getCardinalDirection=function(_,A,N){return _>A?N:1+N%4},b.getIntersection=function(_,A,N,B){if(B==null)return this.getIntersection2(_,A,N);var F=_.x,H=_.y,j=A.x,V=A.y,Z=N.x,ae=N.y,le=B.x,ce=B.y,be=void 0,xe=void 0,Ee=void 0,Me=void 0,fe=void 0,ye=void 0,re=void 0,we=void 0,ke=void 0;return Ee=V-H,fe=F-j,re=j*H-F*V,Me=ce-ae,ye=Z-le,we=le*ae-Z*ce,ke=Ee*ye-Me*fe,ke===0?null:(be=(fe*we-ye*re)/ke,xe=(Me*re-Ee*we)/ke,new k(be,xe))},b.angleOfVector=function(_,A,N,B){var F=void 0;return _!==N?(F=Math.atan((B-A)/(N-_)),N<_?F+=Math.PI:B0?1:b<0?-1:0},k.floor=function(b){return b<0?Math.ceil(b):Math.floor(b)},k.ceil=function(b){return b<0?Math.floor(b):Math.ceil(b)},f.exports=k},function(f,p,w){function k(){}k.MAX_VALUE=2147483647,k.MIN_VALUE=-2147483648,f.exports=k},function(f,p,w){var k=function(){function F(H,j){for(var V=0;V"u"?"undefined":k(_);return _==null||A!="object"&&A!="function"},f.exports=b},function(f,p,w){function k(Z){if(Array.isArray(Z)){for(var ae=0,le=Array(Z.length);ae0&&ae;){for(Ee.push(fe[0]);Ee.length>0&&ae;){var ye=Ee[0];Ee.splice(0,1),xe.add(ye);for(var re=ye.getEdges(),be=0;be-1&&fe.splice(De,1)}xe=new Set,Me=new Map}}return Z},V.prototype.createDummyNodesForBendpoints=function(Z){for(var ae=[],le=Z.source,ce=this.graphManager.calcLowestCommonAncestor(Z.source,Z.target),be=0;be0){for(var ce=this.edgeToDummyNodes.get(le),be=0;be=0&&ae.splice(we,1);var ke=Me.getNeighborsList();ke.forEach(function(X){if(le.indexOf(X)<0){var Re=ce.get(X),pe=Re-1;pe==1&&ye.push(X),ce.set(X,pe)}})}le=le.concat(ye),(ae.length==1||ae.length==2)&&(be=!0,xe=ae[0])}return xe},V.prototype.setGraphManager=function(Z){this.graphManager=Z},f.exports=V},function(f,p,w){function k(){}k.seed=1,k.x=0,k.nextDouble=function(){return k.x=Math.sin(k.seed++)*1e4,k.x-Math.floor(k.x)},f.exports=k},function(f,p,w){var k=w(4);function b(_,A){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}b.prototype.getWorldOrgX=function(){return this.lworldOrgX},b.prototype.setWorldOrgX=function(_){this.lworldOrgX=_},b.prototype.getWorldOrgY=function(){return this.lworldOrgY},b.prototype.setWorldOrgY=function(_){this.lworldOrgY=_},b.prototype.getWorldExtX=function(){return this.lworldExtX},b.prototype.setWorldExtX=function(_){this.lworldExtX=_},b.prototype.getWorldExtY=function(){return this.lworldExtY},b.prototype.setWorldExtY=function(_){this.lworldExtY=_},b.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},b.prototype.setDeviceOrgX=function(_){this.ldeviceOrgX=_},b.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},b.prototype.setDeviceOrgY=function(_){this.ldeviceOrgY=_},b.prototype.getDeviceExtX=function(){return this.ldeviceExtX},b.prototype.setDeviceExtX=function(_){this.ldeviceExtX=_},b.prototype.getDeviceExtY=function(){return this.ldeviceExtY},b.prototype.setDeviceExtY=function(_){this.ldeviceExtY=_},b.prototype.transformX=function(_){var A=0,N=this.lworldExtX;return N!=0&&(A=this.ldeviceOrgX+(_-this.lworldOrgX)*this.ldeviceExtX/N),A},b.prototype.transformY=function(_){var A=0,N=this.lworldExtY;return N!=0&&(A=this.ldeviceOrgY+(_-this.lworldOrgY)*this.ldeviceExtY/N),A},b.prototype.inverseTransformX=function(_){var A=0,N=this.ldeviceExtX;return N!=0&&(A=this.lworldOrgX+(_-this.ldeviceOrgX)*this.lworldExtX/N),A},b.prototype.inverseTransformY=function(_){var A=0,N=this.ldeviceExtY;return N!=0&&(A=this.lworldOrgY+(_-this.ldeviceOrgY)*this.lworldExtY/N),A},b.prototype.inverseTransformPoint=function(_){var A=new k(this.inverseTransformX(_.x),this.inverseTransformY(_.y));return A},f.exports=b},function(f,p,w){function k(j){if(Array.isArray(j)){for(var V=0,Z=Array(j.length);V_.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*_.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(j-_.ADAPTATION_LOWER_NODE_LIMIT)/(_.ADAPTATION_UPPER_NODE_LIMIT-_.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-_.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=_.MAX_NODE_DISPLACEMENT_INCREMENTAL):(j>_.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(_.COOLING_ADAPTATION_FACTOR,1-(j-_.ADAPTATION_LOWER_NODE_LIMIT)/(_.ADAPTATION_UPPER_NODE_LIMIT-_.ADAPTATION_LOWER_NODE_LIMIT)*(1-_.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=_.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},F.prototype.calcSpringForces=function(){for(var j=this.getAllEdges(),V,Z=0;Z0&&arguments[0]!==void 0?arguments[0]:!0,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z,ae,le,ce,be=this.getAllNodes(),xe;if(this.useFRGridVariant)for(this.totalIterations%_.GRID_CALCULATION_CHECK_PERIOD==1&&j&&this.updateGrid(),xe=new Set,Z=0;ZEe||xe>Ee)&&(j.gravitationForceX=-this.gravityConstant*le,j.gravitationForceY=-this.gravityConstant*ce)):(Ee=V.getEstimatedSize()*this.compoundGravityRangeFactor,(be>Ee||xe>Ee)&&(j.gravitationForceX=-this.gravityConstant*le*this.compoundGravityConstant,j.gravitationForceY=-this.gravityConstant*ce*this.compoundGravityConstant))},F.prototype.isConverged=function(){var j,V=!1;return this.totalIterations>this.maxIterations/3&&(V=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),j=this.totalDisplacement=be.length||Ee>=be[0].length)){for(var Me=0;MeF}}]),N}();f.exports=A},function(f,p,w){var k=function(){function A(N,B){for(var F=0;F2&&arguments[2]!==void 0?arguments[2]:1,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,j=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;b(this,A),this.sequence1=N,this.sequence2=B,this.match_score=F,this.mismatch_penalty=H,this.gap_penalty=j,this.iMax=N.length+1,this.jMax=B.length+1,this.grid=new Array(this.iMax);for(var V=0;V=0;N--){var B=this.listeners[N];B.event===_&&B.callback===A&&this.listeners.splice(N,1)}},b.emit=function(_,A){for(var N=0;NB.coolingFactor*B.maxNodeDisplacement&&(this.displacementX=B.coolingFactor*B.maxNodeDisplacement*_.sign(this.displacementX)),Math.abs(this.displacementY)>B.coolingFactor*B.maxNodeDisplacement&&(this.displacementY=B.coolingFactor*B.maxNodeDisplacement*_.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),B.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},A.prototype.propogateDisplacementToChildren=function(B,F){for(var H=this.getChild().getNodes(),j,V=0;V0)this.positionNodesRadially(fe);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var ye=new Set(this.getAllNodes()),re=this.nodesWithGravity.filter(function(we){return ye.has(we)});this.graphManager.setAllNodesToApplyGravitation(re),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},Ee.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%H.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var fe=new Set(this.getAllNodes()),ye=this.nodesWithGravity.filter(function(ke){return fe.has(ke)});this.graphManager.setAllNodesToApplyGravitation(ye),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=H.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=H.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var re=!this.isTreeGrowing&&!this.isGrowthFinished,we=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(re,we),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},Ee.prototype.getPositionsData=function(){for(var fe=this.graphManager.getAllNodes(),ye={},re=0;re1){var X;for(X=0;Xwe&&(we=Math.floor(De.y)),he=Math.floor(De.x+F.DEFAULT_COMPONENT_SEPERATION)}this.transform(new Z(j.WORLD_CENTER_X-De.x/2,j.WORLD_CENTER_Y-De.y/2))},Ee.radialLayout=function(fe,ye,re){var we=Math.max(this.maxDiagonalInTree(fe),F.DEFAULT_RADIAL_SEPARATION);Ee.branchRadialLayout(ye,null,0,359,0,we);var ke=be.calculateBounds(fe),he=new xe;he.setDeviceOrgX(ke.getMinX()),he.setDeviceOrgY(ke.getMinY()),he.setWorldOrgX(re.x),he.setWorldOrgY(re.y);for(var De=0;De1;){var nn=Mt[0];Mt.splice(0,1);var dn=de.indexOf(nn);dn>=0&&de.splice(dn,1),St--,ct--}ye!=null?yt=(de.indexOf(Mt[0])+1)%St:yt=0;for(var vt=Math.abs(we-re)/ct,Lr=yt;bt!=ct;Lr=++Lr%St){var xt=de[Lr].getOtherEnd(fe);if(xt!=ye){var Tt=(re+bt*vt)%360,wt=(Tt+vt)%360;Ee.branchRadialLayout(xt,fe,Tt,wt,ke+he,he),bt++}}},Ee.maxDiagonalInTree=function(fe){for(var ye=le.MIN_VALUE,re=0;reye&&(ye=ke)}return ye},Ee.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},Ee.prototype.groupZeroDegreeMembers=function(){var fe=this,ye={};this.memberGroups={},this.idToDummyNode={};for(var re=[],we=this.graphManager.getAllNodes(),ke=0;ke"u"&&(ye[X]=[]),ye[X]=ye[X].concat(he)}Object.keys(ye).forEach(function(Re){if(ye[Re].length>1){var pe="DummyCompound_"+Re;fe.memberGroups[pe]=ye[Re];var Ge=ye[Re][0].getParent(),de=new N(fe.graphManager);de.id=pe,de.paddingLeft=Ge.paddingLeft||0,de.paddingRight=Ge.paddingRight||0,de.paddingBottom=Ge.paddingBottom||0,de.paddingTop=Ge.paddingTop||0,fe.idToDummyNode[pe]=de;var ct=fe.getGraphManager().add(fe.newGraph(),de),bt=Ge.getChild();bt.add(de);for(var St=0;St=0;fe--){var ye=this.compoundOrder[fe],re=ye.id,we=ye.paddingLeft,ke=ye.paddingTop;this.adjustLocations(this.tiledMemberPack[re],ye.rect.x,ye.rect.y,we,ke)}},Ee.prototype.repopulateZeroDegreeMembers=function(){var fe=this,ye=this.tiledZeroDegreePack;Object.keys(ye).forEach(function(re){var we=fe.idToDummyNode[re],ke=we.paddingLeft,he=we.paddingTop;fe.adjustLocations(ye[re],we.rect.x,we.rect.y,ke,he)})},Ee.prototype.getToBeTiled=function(fe){var ye=fe.id;if(this.toBeTiled[ye]!=null)return this.toBeTiled[ye];var re=fe.getChild();if(re==null)return this.toBeTiled[ye]=!1,!1;for(var we=re.getNodes(),ke=0;ke0)return this.toBeTiled[ye]=!1,!1;if(he.getChild()==null){this.toBeTiled[he.id]=!1;continue}if(!this.getToBeTiled(he))return this.toBeTiled[ye]=!1,!1}return this.toBeTiled[ye]=!0,!0},Ee.prototype.getNodeDegree=function(fe){fe.id;for(var ye=fe.getEdges(),re=0,we=0;weRe&&(Re=Ge.rect.height)}re+=Re+fe.verticalPadding}},Ee.prototype.tileCompoundMembers=function(fe,ye){var re=this;this.tiledMemberPack=[],Object.keys(fe).forEach(function(we){var ke=ye[we];re.tiledMemberPack[we]=re.tileNodes(fe[we],ke.paddingLeft+ke.paddingRight),ke.rect.width=re.tiledMemberPack[we].width,ke.rect.height=re.tiledMemberPack[we].height})},Ee.prototype.tileNodes=function(fe,ye){var re=F.TILING_PADDING_VERTICAL,we=F.TILING_PADDING_HORIZONTAL,ke={rows:[],rowWidth:[],rowHeight:[],width:0,height:ye,verticalPadding:re,horizontalPadding:we};fe.sort(function(X,Re){return X.rect.width*X.rect.height>Re.rect.width*Re.rect.height?-1:X.rect.width*X.rect.height0&&(De+=fe.horizontalPadding),fe.rowWidth[re]=De,fe.width0&&(X+=fe.verticalPadding);var Re=0;X>fe.rowHeight[re]&&(Re=fe.rowHeight[re],fe.rowHeight[re]=X,Re=fe.rowHeight[re]-Re),fe.height+=Re,fe.rows[re].push(ye)},Ee.prototype.getShortestRowIndex=function(fe){for(var ye=-1,re=Number.MAX_VALUE,we=0;were&&(ye=we,re=fe.rowWidth[we]);return ye},Ee.prototype.canAddHorizontal=function(fe,ye,re){var we=this.getShortestRowIndex(fe);if(we<0)return!0;var ke=fe.rowWidth[we];if(ke+fe.horizontalPadding+ye<=fe.width)return!0;var he=0;fe.rowHeight[we]0&&(he=re+fe.verticalPadding-fe.rowHeight[we]);var De;fe.width-ke>=ye+fe.horizontalPadding?De=(fe.height+he)/(ke+ye+fe.horizontalPadding):De=(fe.height+he)/fe.width,he=re+fe.verticalPadding;var X;return fe.widthhe&&ye!=re){we.splice(-1,1),fe.rows[re].push(ke),fe.rowWidth[ye]=fe.rowWidth[ye]-he,fe.rowWidth[re]=fe.rowWidth[re]+he,fe.width=fe.rowWidth[instance.getLongestRowIndex(fe)];for(var De=Number.MIN_VALUE,X=0;XDe&&(De=we[X].height);ye>0&&(De+=fe.verticalPadding);var Re=fe.rowHeight[ye]+fe.rowHeight[re];fe.rowHeight[ye]=De,fe.rowHeight[re]0)for(var bt=ke;bt<=he;bt++)ct[0]+=this.grid[bt][De-1].length+this.grid[bt][De].length-1;if(he0)for(var bt=De;bt<=X;bt++)ct[3]+=this.grid[ke-1][bt].length+this.grid[ke][bt].length-1;for(var St=le.MAX_VALUE,yt,Mt,nn=0;nn0){var X;X=xe.getGraphManager().add(xe.newGraph(),re),this.processChildrenList(X,ye,xe)}}},Z.prototype.stop=function(){return this.stopped=!0,this};var le=function(be){be("layout","cose-bilkent",Z)};typeof cytoscape<"u"&&le(cytoscape),p.exports=le}])})})(Dzt);const Bzt=GAe(fge);pRe.use(Bzt);function wRe(s,o,f,p){gRe.drawNode(s,o,f,p),o.children&&o.children.forEach((w,k)=>{wRe(s,w,f<0?k:f,p)})}function Fzt(s,o){o.edges().map((f,p)=>{const w=f.data();if(f[0]._private.bodyBounds){const k=f[0]._private.rscratch;je.trace("Edge: ",p,w),s.insert("path").attr("d",`M ${k.startX},${k.startY} L ${k.midX},${k.midY} L${k.endX},${k.endY} `).attr("class","edge section-edge-"+w.section+" edge-depth-"+w.depth)}})}function mRe(s,o,f,p){o.add({group:"nodes",data:{id:s.id,labelText:s.descr,height:s.height,width:s.width,level:p,nodeId:s.id,padding:s.padding,type:s.type},position:{x:s.x,y:s.y}}),s.children&&s.children.forEach(w=>{mRe(w,o,f,p+1),o.add({group:"edges",data:{id:`${s.id}_${w.id}`,source:s.id,target:w.id,depth:p,section:w.section}})})}function Rzt(s,o){return new Promise(f=>{const p=sr("body").append("div").attr("id","cy").attr("style","display:none"),w=pRe({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});p.remove(),mRe(s,w,o,0),w.nodes().forEach(function(k){k.layoutDimensions=()=>{const b=k.data();return{w:b.width,h:b.height}}}),w.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),w.ready(k=>{je.info("Ready",k),f(w)})})}function jzt(s){s.nodes().map((o,f)=>{const p=o.data();p.x=o.position().x,p.y=o.position().y,gRe.positionNode(p);const w=lge(p.nodeId);je.info("Id:",f,"Position: (",o.position().x,", ",o.position().y,")",p),w.attr("transform",`translate(${o.position().x-p.width/2}, ${o.position().y-p.height/2})`),w.attr("attr",`apa-${f})`)})}const $zt={draw:async(s,o,f,p)=>{const w=Pt();p.db.clear(),p.parser.parse(s),je.debug(`Renering info diagram +`+s);const k=Pt().securityLevel;let b;k==="sandbox"&&(b=sr("#i"+o));const A=sr(k==="sandbox"?b.nodes()[0].contentDocument.body:"body").select("#"+o);A.append("g");const N=p.db.getMindmap(),B=A.append("g");B.attr("class","mindmap-edges");const F=A.append("g");F.attr("class","mindmap-nodes"),wRe(F,N,-1,w);const H=await Rzt(N,w);Fzt(B,H),jzt(H),KE(void 0,A,w.mindmap.padding,w.mindmap.useMaxWidth)}},Hzt=s=>{let o="";for(let f=0;f` + .edge { + stroke-width: 3; + } + ${Hzt(s)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${s.git0}; + } + .section-root text { + fill: ${s.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } +`}},Symbol.toStringTag,{value:"Module"}));return Wb}); +//# sourceMappingURL=mermaid.min.js.map diff --git a/docs/src/index.md b/docs/src/index.md index 8615db7..38dfd59 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,6 +1,7 @@ --- layout: default title: Fetch ML Documentation +bookHidden: true --- # Fetch ML - Secure Machine Learning Platform @@ -16,14 +17,14 @@ A secure, containerized platform for running machine learning experiments with r git clone https://github.com/your-username/fetch_ml.git cd fetch_ml -# Quick setup (builds everything, creates test user) -make quick-start +# Start development stack with monitoring +make dev-up -# Create your API key -./bin/user_manager --config configs/config_dev.yaml --cmd generate-key --username your_name --role data_scientist +# Run basic tests +make test-unit -# Run your first experiment -./bin/worker --config configs/config_dev.yaml --api-key YOUR_GENERATED_KEY +# Then follow the Quick Start guide +# docs/src/quick-start.md ``` ## Quick Navigation @@ -50,7 +51,7 @@ make quick-start ### 🏭 Production Deployment - [**Deployment Guide**](deployment.md) - Production deployment instructions -- [**Production Monitoring**](production-monitoring.md) - Monitoring and observability +- [**Performance & Monitoring**](performance-monitoring.md) - Monitoring and observability - [**Operations Guide**](operations.md) - Production operations ## Features diff --git a/nginx/README.md b/nginx/README.md deleted file mode 100644 index d9419f9..0000000 --- a/nginx/README.md +++ /dev/null @@ -1,138 +0,0 @@ -# Nginx Configuration for FetchML - -This directory contains nginx configurations for FetchML. - -## Files - -- **`fetchml-site.conf`** - Ready-to-use site configuration (recommended) -- **`nginx-secure.conf`** - Full standalone nginx config (advanced) -- **`setup-nginx.sh`** - Helper script for easy installation - -## Quick Setup - -### Option 1: Automated (Recommended) - -```bash -sudo ./nginx/setup-nginx.sh -``` - -This will: -- Detect your nginx setup (Debian or RHEL style) -- Prompt for your domain and SSL certificates -- Install the configuration -- Test and reload nginx - -### Option 2: Manual - -**For Debian/Ubuntu:** -```bash -# 1. Edit fetchml-site.conf and change: -# - ml.example.com to your domain -# - SSL certificate paths -# - Port if not using 9102 - -# 2. Install -sudo cp nginx/fetchml-site.conf /etc/nginx/sites-available/fetchml -sudo ln -s /etc/nginx/sites-available/fetchml /etc/nginx/sites-enabled/ - -# 3. Test and reload -sudo nginx -t -sudo systemctl reload nginx -``` - -**For RHEL/Rocky/CentOS:** -```bash -# 1. Edit fetchml-site.conf (same as above) - -# 2. Install -sudo cp nginx/fetchml-site.conf /etc/nginx/conf.d/fetchml.conf - -# 3. Test and reload -sudo nginx -t -sudo systemctl reload nginx -``` - -## Configuration Details - -### Endpoints - -- `/ws` - WebSocket API (rate limited: 5 req/s) -- `/api/` - REST API (rate limited: 10 req/s) -- `/health` - Health check -- `/grafana/` - Grafana (commented out by default) - -### Security Features - -- TLSv1.2 and TLSv1.3 only -- Security headers (HSTS, CSP, etc.) -- Rate limiting per endpoint -- Request size limits (10MB) -- Version hiding - -### What to Change - -Before using, update these values in `fetchml-site.conf`: - -1. **Domain**: Replace `ml.example.com` with your domain -2. **SSL Certificates**: Update paths to your actual certificates -3. **Port**: Change `9102` if using a different port -4. **Grafana**: Uncomment if you want to expose it - -## SSL Certificates - -### Self-Signed (Dev/Testing) - -```bash -sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ - -keyout /etc/ssl/private/fetchml.key \ - -out /etc/ssl/certs/fetchml.crt \ - -subj "/CN=ml.example.com" -``` - -### Let's Encrypt (Production) - -```bash -sudo apt-get install certbot python3-certbot-nginx -sudo certbot --nginx -d ml.example.com -``` - -## Troubleshooting - -### Test Configuration -```bash -sudo nginx -t -``` - -### Check Logs -```bash -sudo tail -f /var/log/nginx/fetchml_error.log -sudo tail -f /var/log/nginx/fetchml_access.log -``` - -### Verify Proxy -```bash -curl -I https://ml.example.com/health -``` - -### Common Issues - -**"Permission denied" error**: Check that nginx user can access SSL certificates -```bash -sudo chmod 644 /etc/ssl/certs/fetchml.crt -sudo chmod 600 /etc/ssl/private/fetchml.key -``` - -**WebSocket not working**: Ensure your firewall allows the connection and backend is running -```bash -# Check backend -curl http://localhost:9102/health - -# Check firewall -sudo firewall-cmd --list-all -``` - -## Integration with Existing Nginx - -If you already have nginx running, just drop `fetchml-site.conf` into your sites directory. It won't conflict with other sites. - -The configuration is self-contained and only handles the specified `server_name`. diff --git a/nginx/fetchml-site.conf b/nginx/fetchml-site.conf deleted file mode 100644 index 6824ee8..0000000 --- a/nginx/fetchml-site.conf +++ /dev/null @@ -1,100 +0,0 @@ -# FetchML Nginx Site Configuration -# Drop this file into /etc/nginx/sites-available/fetchml -# Then: sudo ln -s /etc/nginx/sites-available/fetchml /etc/nginx/sites-enabled/ -# Test: sudo nginx -t -# Reload: sudo systemctl reload nginx - -server { - listen 80; - server_name ml.example.com; # CHANGE THIS to your domain - - # Redirect HTTP to HTTPS - return 301 https://$server_name$request_uri; -} - -server { - listen 443 ssl http2; - server_name ml.example.com; # CHANGE THIS to your domain - - # SSL Configuration - # CHANGE THESE paths to your actual SSL certificates - ssl_certificate /etc/ssl/certs/ml.example.com.crt; - ssl_certificate_key /etc/ssl/private/ml.example.com.key; - - # Modern SSL settings - ssl_protocols TLSv1.3 TLSv1.2; - ssl_prefer_server_ciphers on; - ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305; - ssl_session_timeout 1d; - ssl_session_cache shared:MozSSL:10m; - ssl_session_tickets off; - - # Security headers - add_header X-Frame-Options DENY always; - add_header X-Content-Type-Options nosniff always; - add_header X-XSS-Protection "1; mode=block" always; - add_header Referrer-Policy "strict-origin-when-cross-origin" always; - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; - - # Hide nginx version - server_tokens off; - - # Rate limiting for API - limit_req_zone $binary_remote_addr zone=fetchml_api:10m rate=10r/s; - limit_req_zone $binary_remote_addr zone=fetchml_ws:10m rate=5r/s; - - # Client limits - client_max_body_size 10M; - client_body_timeout 12s; - client_header_timeout 12s; - - # Logging - access_log /var/log/nginx/fetchml_access.log; - error_log /var/log/nginx/fetchml_error.log warn; - - # WebSocket endpoint - location /ws { - limit_req zone=fetchml_ws burst=10 nodelay; - - proxy_pass http://localhost:9102; # CHANGE PORT if needed - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - - # WebSocket timeouts - proxy_connect_timeout 7d; - proxy_send_timeout 7d; - proxy_read_timeout 7d; - } - - # API endpoints - location /api/ { - limit_req zone=fetchml_api burst=20 nodelay; - - proxy_pass http://localhost:9102; # CHANGE PORT if needed - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-API-Key $http_x_api_key; - } - - # Health check - location /health { - proxy_pass http://localhost:9102; # CHANGE PORT if needed - proxy_set_header Host $host; - access_log off; - } - - # Grafana (optional - only if you want to expose it) - # Uncomment if you want Grafana accessible via nginx - # location /grafana/ { - # proxy_pass http://localhost:3000/; - # proxy_set_header Host $host; - # proxy_set_header X-Real-IP $remote_addr; - # } -} diff --git a/nginx/nginx-secure.conf b/nginx/nginx-secure.conf deleted file mode 100644 index 00cc20b..0000000 --- a/nginx/nginx-secure.conf +++ /dev/null @@ -1,157 +0,0 @@ -events { - worker_connections 1024; -} - -http { - # Security headers - add_header X-Frame-Options DENY always; - add_header X-Content-Type-Options nosniff always; - add_header X-XSS-Protection "1; mode=block" always; - add_header Referrer-Policy "strict-origin-when-cross-origin" always; - add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'" always; - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; - - # Hide server version - server_tokens off; - - # Rate limiting - limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s; - limit_req_zone $binary_remote_addr zone=ws:10m rate=5r/s; - - # Connection limiting - limit_conn_zone $binary_remote_addr zone=conn_limit_per_ip:10m; - - # Logging - log_format security '$remote_addr - $remote_user [$time_local] ' - '"$request" $status $body_bytes_sent ' - '"$http_referer" "$http_user_agent" ' - '$request_time $upstream_response_time'; - - access_log /var/log/nginx/security.log security; - error_log /var/log/nginx/error.log warn; - - # Redirect HTTP to HTTPS - server { - listen 80; - server_name _; - return 301 https://$host$request_uri; - } - - # HTTPS server - server { - listen 443 ssl http2; - server_name ml-experiments.example.com; - - # SSL configuration - ssl_certificate /etc/nginx/ssl/cert.pem; - ssl_certificate_key /etc/nginx/ssl/key.pem; - ssl_trusted_certificate /etc/nginx/ssl/ca.pem; - - # Modern SSL configuration - ssl_protocols TLSv1.3; - ssl_prefer_server_ciphers on; - ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305; - ssl_session_timeout 1d; - ssl_session_cache shared:SSL:50m; - ssl_session_tickets off; - - # OCSP stapling - ssl_stapling on; - ssl_stapling_verify on; - - # Security limits - client_max_body_size 10M; - client_body_timeout 12s; - client_header_timeout 12s; - keepalive_timeout 15s; - send_timeout 10s; - limit_conn conn_limit_per_ip 20; - - # API endpoints - location /health { - proxy_pass https://api-server:9101; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_connect_timeout 5s; - proxy_send_timeout 10s; - proxy_read_timeout 10s; - } - - # WebSocket endpoint with special rate limiting - location /ws { - limit_req zone=ws burst=10 nodelay; - - proxy_pass https://api-server:9101; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_connect_timeout 7d; - proxy_send_timeout 7d; - proxy_read_timeout 7d; - - # WebSocket specific headers - proxy_set_header Sec-WebSocket-Key $http_sec_websocket_key; - proxy_set_header Sec-WebSocket-Protocol $http_sec_websocket_protocol; - proxy_set_header Sec-WebSocket-Version $http_sec_websocket_version; - } - - # API endpoints with rate limiting - location /api/ { - limit_req zone=api burst=20 nodelay; - - proxy_pass https://api-server:9101; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-API-Key $http_x_api_key; - proxy_connect_timeout 5s; - proxy_send_timeout 10s; - proxy_read_timeout 10s; - } - - # Deny all other locations - location / { - return 404; - } - - # Security monitoring endpoints (admin only) - location /admin/ { - # IP whitelist for admin access - allow 10.0.0.0/8; - allow 192.168.0.0/16; - allow 172.16.0.0/12; - deny all; - - proxy_pass https://api-server:9101; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - # Health check for load balancers - location /lb-health { - access_log off; - return 200 "healthy\n"; - add_header Content-Type text/plain; - } - } - - # Default server to catch unknown hosts - server { - listen 443 ssl http2 default_server; - server_name _; - - ssl_certificate /etc/nginx/ssl/cert.pem; - ssl_certificate_key /etc/nginx/ssl/key.pem; - - return 444; - } -} diff --git a/nginx/setup-nginx.sh b/nginx/setup-nginx.sh deleted file mode 100755 index 29df6c4..0000000 --- a/nginx/setup-nginx.sh +++ /dev/null @@ -1,109 +0,0 @@ -#!/bin/bash -# Nginx Setup Helper for FetchML -# This script helps integrate FetchML into an existing nginx setup - -set -e - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -SITE_CONFIG="$SCRIPT_DIR/fetchml-site.conf" - -# Colors -GREEN='\033[0;32m' -BLUE='\033[0;34m' -YELLOW='\033[1;33m' -NC='\033[0m' - -echo -e "${BLUE}FetchML Nginx Setup Helper${NC}" -echo "" - -# Check if nginx is installed -if ! command -v nginx &>/dev/null; then - echo -e "${YELLOW}Nginx is not installed.${NC}" - echo "Install with:" - echo " Ubuntu/Debian: sudo apt-get install nginx" - echo " RHEL/Rocky: sudo dnf install nginx" - exit 1 -fi - -# Detect nginx config structure -if [ -d "/etc/nginx/sites-available" ]; then - # Debian/Ubuntu style - SITES_AVAILABLE="/etc/nginx/sites-available" - SITES_ENABLED="/etc/nginx/sites-enabled" - STYLE="debian" -elif [ -d "/etc/nginx/conf.d" ]; then - # RHEL/CentOS style - SITES_AVAILABLE="/etc/nginx/conf.d" - SITES_ENABLED="" - STYLE="rhel" -else - echo -e "${YELLOW}Could not detect nginx configuration directory.${NC}" - echo "Please manually copy $SITE_CONFIG to your nginx config directory." - exit 1 -fi - -echo "Detected nginx style: $STYLE" -echo "" - -# Read values -read -p "Enter your domain name (e.g., ml.example.com): " domain -read -p "Enter API server port [9102]: " port -port=${port:-9102} - -read -p "Enter SSL certificate path: " cert_path -read -p "Enter SSL key path: " key_path - -# Create temp config with substitutions -temp_config="/tmp/fetchml-site.conf" -sed -e "s|ml\.example\.com|$domain|g" \ - -e "s|localhost:9102|localhost:$port|g" \ - -e "s|/etc/ssl/certs/ml\.example\.com\.crt|$cert_path|g" \ - -e "s|/etc/ssl/private/ml\.example\.com\.key|$key_path|g" \ - "$SITE_CONFIG" > "$temp_config" - -# Install config -echo "" -echo -e "${BLUE}Installing nginx configuration...${NC}" - -if [ "$STYLE" = "debian" ]; then - sudo cp "$temp_config" "$SITES_AVAILABLE/fetchml" - sudo ln -sf "$SITES_AVAILABLE/fetchml" "$SITES_ENABLED/fetchml" - echo -e "${GREEN}✓${NC} Config installed to $SITES_AVAILABLE/fetchml" - echo -e "${GREEN}✓${NC} Symlink created in $SITES_ENABLED/" -else - sudo cp "$temp_config" "$SITES_AVAILABLE/fetchml.conf" - echo -e "${GREEN}✓${NC} Config installed to $SITES_AVAILABLE/fetchml.conf" -fi - -# Test nginx config -echo "" -echo -e "${BLUE}Testing nginx configuration...${NC}" -if sudo nginx -t; then - echo -e "${GREEN}✓${NC} Nginx configuration is valid" - - # Offer to reload - read -p "Reload nginx now? [y/N]: " -n 1 -r - echo - if [[ $REPLY =~ ^[Yy]$ ]]; then - sudo systemctl reload nginx - echo -e "${GREEN}✓${NC} Nginx reloaded" - else - echo "Reload later with: sudo systemctl reload nginx" - fi -else - echo -e "${YELLOW}!${NC} Nginx configuration test failed" - echo "Please fix the errors and run: sudo nginx -t" -fi - -# Cleanup -rm -f "$temp_config" - -echo "" -echo -e "${GREEN}Setup complete!${NC}" -echo "" -echo "Your site is configured for: https://$domain" -echo "" -echo "Next steps:" -echo " 1. Ensure your DNS points to this server" -echo " 2. Start FetchML API server on port $port" -echo " 3. Visit https://$domain/health to test"