diff --git a/.gitignore b/.gitignore index d29e68d..9d7ce46 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ build/ .build/ .idea/ + +/vendor diff --git a/CHANGELOG.md b/CHANGELOG.md index 16bf3a2..b86bdbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,5 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * A "mini" testing framework for cmake modules and scripts, in `testing.cmake`. * `RSP_CMAKE_SCRIPTS_BUILD_TESTS` project option for building tests. * `tests.yaml` GitHub Actions workflow. +* `composer.json` to install [Daux.io](https://daux.io) dev-dependency (_documentation generator_). +* "rsp" theme for Daux (_placed in `resources/daux/themes/rsp`_). [Unreleased]: https://github.com/rsps/cmake-scripts/compare/develop diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..de40ed2 --- /dev/null +++ b/composer.json @@ -0,0 +1,43 @@ +{ + "name": "rsp/cmake-scripts", + "description": "A collection of CMake scripts for C++ projects.", + "type": "library", + "license": "MIT", + "homepage": "https://github.com/rsps/cmake-scripts", + "support": { + "source": "https://github.com/rsps/cmake-scripts", + "issues": "https://github.com/rsps/cmake-scripts/issues" + }, + "authors": [ + { + "name": "Alin Eugen Deac", + "email": "alin@rspsystems.com", + "role": "developer" + } + ], + "minimum-stability": "dev", + "prefer-stable": true, + "require": { + "php": "^8.2", + "daux/daux.io": "^0.22.3" + }, + "scripts": { + "docs:build": [ + "@make:docs-build-dir", + "vendor/bin/daux clear-cache", + "vendor/bin/daux generate --source=docs --destination=build/docs/" + ], + "docs:dev": [ + "@make:docs-build-dir", + "vendor/bin/daux serve" + ], + "make:docs-build-dir": [ + "@php -r \"is_dir('build/docs') || mkdir(directory: 'build/docs', recursive: true);\"" + ] + }, + "scripts-descriptions": { + "docs:build": "Builds a Html page containing all documentation, in the 'build/docs' directory", + "docs:dev": "Live update the documentation", + "make:docs-build-dir": "Creates the build directory for the documentation, if it does not already exist" + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..4b847cc --- /dev/null +++ b/composer.lock @@ -0,0 +1,2549 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "60942742fd445f4665bcb4c9ef828933", + "packages": [ + { + "name": "daux/daux.io", + "version": "0.22.3", + "source": { + "type": "git", + "url": "https://github.com/dauxio/daux.io.git", + "reference": "25ba1e6a011caac30043b164d6b3f2dbec660d4a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dauxio/daux.io/zipball/25ba1e6a011caac30043b164d6b3f2dbec660d4a", + "reference": "25ba1e6a011caac30043b164d6b3f2dbec660d4a", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/guzzle": "~6.0 || ~7.0", + "league/commonmark": "^2.4.0", + "league/plates": "~3.1", + "php": ">=8.1", + "scrivo/highlight.php": "^9.15", + "symfony/console": "^5.0|^6.0|^7.0", + "symfony/http-foundation": "^5.0|^6.0|^7.0", + "symfony/mime": "^5.0|^6.0|^7.0", + "symfony/polyfill-intl-icu": "^1.10", + "symfony/process": "^5.0|^6.0|^7.0", + "symfony/yaml": "^5.0|^6.0|^7.0" + }, + "replace": { + "justinwalsh/daux.io": "*" + }, + "require-dev": { + "mikey179/vfsstream": "^1.6", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-intl": "Allows to translate the modified at date" + }, + "bin": [ + "bin/daux" + ], + "type": "project", + "autoload": { + "psr-4": { + "Todaymade\\Daux\\": "libs/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Stéphane Goetz", + "homepage": "http://onigoetz.ch/" + }, + { + "name": "Justin Walsh", + "homepage": "http://todaymade.com/" + } + ], + "description": "Documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly", + "homepage": "https://dauxio.github.io/", + "keywords": [ + "docs", + "documentation", + "markdown", + "md" + ], + "support": { + "issues": "https://github.com/dauxio/daux.io/issues", + "source": "https://github.com/dauxio/daux.io/tree/0.22.3" + }, + "time": "2024-10-22T18:44:03+00:00" + }, + { + "name": "dflydev/dot-access-data", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/dflydev/dflydev-dot-access-data.git", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", + "scrutinizer/ocular": "1.6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Dflydev\\DotAccessData\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dragonfly Development Inc.", + "email": "info@dflydev.com", + "homepage": "http://dflydev.com" + }, + { + "name": "Beau Simensen", + "email": "beau@dflydev.com", + "homepage": "http://beausimensen.com" + }, + { + "name": "Carlos Frutos", + "email": "carlos@kiwing.it", + "homepage": "https://github.com/cfrutos" + }, + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com" + } + ], + "description": "Given a deep data structure, access data by dot notation.", + "homepage": "https://github.com/dflydev/dflydev-dot-access-data", + "keywords": [ + "access", + "data", + "dot", + "notation" + ], + "support": { + "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" + }, + "time": "2024-07-08T12:26:09+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.9.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "ext-curl": "*", + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2024-07-24T11:22:20+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2024-10-17T10:06:22+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.7.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.7.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2024-07-18T11:15:46+00:00" + }, + { + "name": "league/commonmark", + "version": "2.6.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "d990688c91cedfb69753ffc2512727ec646df2ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d990688c91cedfb69753ffc2512727ec646df2ad", + "reference": "d990688c91cedfb69753ffc2512727ec646df2ad", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "league/config": "^1.1.1", + "php": "^7.4 || ^8.0", + "psr/event-dispatcher": "^1.0", + "symfony/deprecation-contracts": "^2.1 || ^3.0", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "cebe/markdown": "^1.0", + "commonmark/cmark": "0.31.1", + "commonmark/commonmark.js": "0.31.1", + "composer/package-versions-deprecated": "^1.8", + "embed/embed": "^4.4", + "erusev/parsedown": "^1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "^1.4 || ^2.0", + "nyholm/psr7": "^1.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", + "scrutinizer/ocular": "^1.8.1", + "symfony/finder": "^5.3 | ^6.0 | ^7.0", + "symfony/process": "^5.4 | ^6.0 | ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" + }, + "suggest": { + "symfony/yaml": "v2.3+ required if using the Front Matter extension" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "forum": "https://github.com/thephpleague/commonmark/discussions", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2024-12-29T14:10:59+00:00" + }, + { + "name": "league/config", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/config.git", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "shasum": "" + }, + "require": { + "dflydev/dot-access-data": "^3.0.1", + "nette/schema": "^1.2", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Config\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Define configuration arrays with strict schemas and access values with dot notation", + "homepage": "https://config.thephpleague.com", + "keywords": [ + "array", + "config", + "configuration", + "dot", + "dot-access", + "nested", + "schema" + ], + "support": { + "docs": "https://config.thephpleague.com/", + "issues": "https://github.com/thephpleague/config/issues", + "rss": "https://github.com/thephpleague/config/releases.atom", + "source": "https://github.com/thephpleague/config" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + } + ], + "time": "2022-12-11T20:36:23+00:00" + }, + { + "name": "league/plates", + "version": "v3.6.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/plates.git", + "reference": "12ee65166adbc6fb5916fb80b0c0758e49a2d996" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/plates/zipball/12ee65166adbc6fb5916fb80b0c0758e49a2d996", + "reference": "12ee65166adbc6fb5916fb80b0c0758e49a2d996", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "mikey179/vfsstream": "^1.6", + "phpunit/phpunit": "^11.4", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Plates\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jonathan Reinink", + "email": "jonathan@reinink.ca", + "role": "Developer" + }, + { + "name": "RJ Garcia", + "email": "ragboyjr@icloud.com", + "role": "Developer" + } + ], + "description": "Plates, the native PHP template system that's fast, easy to use and easy to extend.", + "homepage": "https://platesphp.com", + "keywords": [ + "league", + "package", + "templates", + "templating", + "views" + ], + "support": { + "issues": "https://github.com/thephpleague/plates/issues", + "source": "https://github.com/thephpleague/plates/tree/v3.6.0" + }, + "time": "2024-11-02T15:03:35+00:00" + }, + { + "name": "nette/schema", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/nette/schema.git", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d", + "shasum": "" + }, + "require": { + "nette/utils": "^4.0", + "php": "8.1 - 8.4" + }, + "require-dev": { + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "📐 Nette Schema: validating data structures against a given Schema.", + "homepage": "https://nette.org", + "keywords": [ + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.3.2" + }, + "time": "2024-10-06T23:10:23+00:00" + }, + { + "name": "nette/utils", + "version": "v4.0.5", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "shasum": "" + }, + "require": { + "php": "8.0 - 8.4" + }, + "conflict": { + "nette/finder": "<3", + "nette/schema": "<1.2.2" + }, + "require-dev": { + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v4.0.5" + }, + "time": "2024-08-07T15:39:19+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client" + }, + "time": "2023-09-23T14:17:50+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory" + }, + "time": "2024-04-15T12:06:14+00:00" + }, + { + "name": "psr/http-message", + "version": "2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/2.0" + }, + "time": "2023-04-04T09:54:51+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "scrivo/highlight.php", + "version": "v9.18.1.10", + "source": { + "type": "git", + "url": "https://github.com/scrivo/highlight.php.git", + "reference": "850f4b44697a2552e892ffe71490ba2733c2fc6e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/850f4b44697a2552e892ffe71490ba2733c2fc6e", + "reference": "850f4b44697a2552e892ffe71490ba2733c2fc6e", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=5.4" + }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5.7", + "sabberworm/php-css-parser": "^8.3", + "symfony/finder": "^2.8|^3.4|^5.4", + "symfony/var-dumper": "^2.8|^3.4|^5.4" + }, + "suggest": { + "ext-mbstring": "Allows highlighting code with unicode characters and supports language with unicode keywords" + }, + "type": "library", + "autoload": { + "files": [ + "HighlightUtilities/functions.php" + ], + "psr-0": { + "Highlight\\": "", + "HighlightUtilities\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Geert Bergman", + "homepage": "http://www.scrivo.org/", + "role": "Project Author" + }, + { + "name": "Vladimir Jimenez", + "homepage": "https://allejo.io", + "role": "Maintainer" + }, + { + "name": "Martin Folkers", + "homepage": "https://twobrain.io", + "role": "Contributor" + } + ], + "description": "Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js", + "keywords": [ + "code", + "highlight", + "highlight.js", + "highlight.php", + "syntax" + ], + "support": { + "issues": "https://github.com/scrivo/highlight.php/issues", + "source": "https://github.com/scrivo/highlight.php" + }, + "funding": [ + { + "url": "https://github.com/allejo", + "type": "github" + } + ], + "time": "2022-12-17T21:53:22+00:00" + }, + { + "name": "symfony/console", + "version": "v7.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "fefcc18c0f5d0efe3ab3152f15857298868dc2c3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/fefcc18c0f5d0efe3ab3152f15857298868dc2c3", + "reference": "fefcc18c0f5d0efe3ab3152f15857298868dc2c3", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^6.4|^7.0" + }, + "conflict": { + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v7.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-12-11T03:49:26+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.5-dev" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v7.2.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "62d1a43796ca3fea3f83a8470dfe63a4af3bc588" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/62d1a43796ca3fea3f83a8470dfe63a4af3bc588", + "reference": "62d1a43796ca3fea3f83a8470dfe63a4af3bc588", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" + }, + "conflict": { + "doctrine/dbal": "<3.6", + "symfony/cache": "<6.4.12|>=7.0,<7.1.5" + }, + "require-dev": { + "doctrine/dbal": "^3.6|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.4.12|^7.1.5", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/rate-limiter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v7.2.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-12-30T19:00:17+00:00" + }, + { + "name": "symfony/mime", + "version": "v7.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "7f9617fcf15cb61be30f8b252695ed5e2bfac283" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/7f9617fcf15cb61be30f8b252695ed5e2bfac283", + "reference": "7f9617fcf15cb61be30f8b252695ed5e2bfac283", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<6.4", + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^6.4|^7.0", + "symfony/property-info": "^6.4|^7.0", + "symfony/serializer": "^6.4.3|^7.0.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v7.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-12-07T08:50:44+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-icu", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-icu.git", + "reference": "d80a05e9904d2c2b9b95929f3e4b5d3a8f418d78" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/d80a05e9904d2c2b9b95929f3e4b5d3a8f418d78", + "reference": "d80a05e9904d2c2b9b95929f3e4b5d3a8f418d78", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance and support of other locales than \"en\"" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Icu\\": "" + }, + "classmap": [ + "Resources/stubs" + ], + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's ICU-related data and classes", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "icu", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "symfony/polyfill-intl-normalizer": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "3833d7255cc303546435cb650316bff708a1c75c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/process", + "version": "v7.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", + "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v7.2.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-06T14:24:19+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/string", + "version": "v7.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v7.2.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-13T13:31:26+00:00" + }, + { + "name": "symfony/yaml", + "version": "v7.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "099581e99f557e9f16b43c5916c26380b54abb22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/099581e99f557e9f16b43c5916c26380b54abb22", + "reference": "099581e99f557e9f16b43c5916c26380b54abb22", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<6.4" + }, + "require-dev": { + "symfony/console": "^6.4|^7.0" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v7.2.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-10-23T06:56:12+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": {}, + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "php": "^8.2" + }, + "platform-dev": {}, + "plugin-api-version": "2.6.0" +} diff --git a/docs/+current/01_release-notes.md b/docs/+current/01_release-notes.md new file mode 100644 index 0000000..05b4a96 --- /dev/null +++ b/docs/+current/01_release-notes.md @@ -0,0 +1,19 @@ +--- +title: Release Notes +description: Release Notes for CMake Scripts version 0.x. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# Release Notes + +[TOC] + +## Support Policy + +_TODO: ...incomplete, please review documentation at a later point_ + +## `v0.x` Highlights + +_TODO: ...incomplete, please review documentation at a later point_ + diff --git a/docs/+current/02_upgrade-guide.md b/docs/+current/02_upgrade-guide.md new file mode 100644 index 0000000..0b7de27 --- /dev/null +++ b/docs/+current/02_upgrade-guide.md @@ -0,0 +1,14 @@ +--- +title: Upgrade Guide +description: How to upgrade to newer version of CMake Scripts version. +keywords: upgrade-guide +author: RSP Systems A/S +--- + +# Upgrade Guide + +_TODO: ...incomplete, please review documentation at a later point_ + +## Onward + +Additional details can be found in the [changelog](https://github.com/rsps/cmake-scripts/blob/main/CHANGELOG.md) \ No newline at end of file diff --git a/docs/+current/03_contribution-guide.md b/docs/+current/03_contribution-guide.md new file mode 100644 index 0000000..55250bf --- /dev/null +++ b/docs/+current/03_contribution-guide.md @@ -0,0 +1,10 @@ +--- +title: Contribution Guide +description: Contribution Guide for CMake Scripts. +keywords: contribution-guide +author: RSP Systems A/S +--- + +# Contribution Guide + +_TODO: ...incomplete, please review documentation at a later point_ \ No newline at end of file diff --git a/docs/+current/04_security-policy.md b/docs/+current/04_security-policy.md new file mode 100644 index 0000000..2649c08 --- /dev/null +++ b/docs/+current/04_security-policy.md @@ -0,0 +1,10 @@ +--- +title: Security Policy +description: Security Policy for CMake Scripts. +keywords: security-guide +author: RSP Systems A/S +--- + +# Security Policy + +_TODO: ...incomplete, please review documentation at a later point_ \ No newline at end of file diff --git a/docs/+current/05_code-of-conduct.md b/docs/+current/05_code-of-conduct.md new file mode 100644 index 0000000..3fee19a --- /dev/null +++ b/docs/+current/05_code-of-conduct.md @@ -0,0 +1,10 @@ +--- +title: Code of Conduct +description: Code of Conduct for CMake Scripts. +keywords: code-of-conduct, conduct +author: RSP Systems A/S +--- + +# Code of Conduct + +_TODO: ...incomplete, please review documentation at a later point_ \ No newline at end of file diff --git a/docs/+current/index.md b/docs/+current/index.md new file mode 100644 index 0000000..b56d1aa --- /dev/null +++ b/docs/+current/index.md @@ -0,0 +1,20 @@ +--- +title: Version 0.x +description: Documentation for CMake Scripts version 0.x. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# Version 0.x + +!!! danger "Caution" + "CMake Scripts" is still in development. You **SHOULD NOT** use this packages in a production environment. + Breaking changes **MUST** be expected for all `v0.x` releases! + + _Please review the [changelog](https://github.com/rsps/cmake-scripts/blob/main/CHANGELOG.md) for additional details._ + +[TOC] + +## How to install + +_TODO: ...incomplete, please review documentation at a later point_ diff --git a/docs/+current/modules/cache/index.md b/docs/+current/modules/cache/index.md new file mode 100644 index 0000000..715496a --- /dev/null +++ b/docs/+current/modules/cache/index.md @@ -0,0 +1,11 @@ +--- +title: Cache +description: How to use the cache module. +keywords: cache, cmake +author: RSP Systems A/S +--- + +# Cache + +_TODO: ...incomplete, please review documentation at a later point_ + diff --git a/docs/+current/modules/git/index.md b/docs/+current/modules/git/index.md new file mode 100644 index 0000000..4753b6b --- /dev/null +++ b/docs/+current/modules/git/index.md @@ -0,0 +1,11 @@ +--- +title: Git +description: How to use the git module. +keywords: git, cmake +author: RSP Systems A/S +--- + +# Git + +_TODO: ...incomplete, please review documentation at a later point_ + diff --git a/docs/+current/modules/helpers/index.md b/docs/+current/modules/helpers/index.md new file mode 100644 index 0000000..7f4114d --- /dev/null +++ b/docs/+current/modules/helpers/index.md @@ -0,0 +1,11 @@ +--- +title: Helpers +description: How to use the helpers module. +keywords: helpers, cmake +author: RSP Systems A/S +--- + +# Helpers + +_TODO: ...incomplete, please review documentation at a later point_ + diff --git a/docs/+current/modules/index.md b/docs/+current/modules/index.md new file mode 100644 index 0000000..b740f44 --- /dev/null +++ b/docs/+current/modules/index.md @@ -0,0 +1,11 @@ +--- +title: Modules +description: Modules documentation for CMake Scripts. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# Modules + +In here, you will find documentation for the available cmake modules. + diff --git a/docs/+current/modules/testing/index.md b/docs/+current/modules/testing/index.md new file mode 100644 index 0000000..e6b0fef --- /dev/null +++ b/docs/+current/modules/testing/index.md @@ -0,0 +1,11 @@ +--- +title: Testing +description: How to use the testing module. +keywords: testing, cmake +author: RSP Systems A/S +--- + +# Testing + +_TODO: ...incomplete, please review documentation at a later point_ + diff --git a/docs/+current/modules/version/index.md b/docs/+current/modules/version/index.md new file mode 100644 index 0000000..11e4723 --- /dev/null +++ b/docs/+current/modules/version/index.md @@ -0,0 +1,11 @@ +--- +title: Version +description: How to use the version module. +keywords: version, cmake +author: RSP Systems A/S +--- + +# Version + +_TODO: ...incomplete, please review documentation at a later point_ + diff --git a/docs/-archive/index.md b/docs/-archive/index.md new file mode 100644 index 0000000..4034cdf --- /dev/null +++ b/docs/-archive/index.md @@ -0,0 +1,12 @@ +--- +title: Archive +description: Documentation for previous version of CMake Scripts. +keywords: archive +robots: nofollow +author: RSP Systems A/S +--- + +# Archive + +The archive contains documentation for previous released versions, as well as for the upcoming major +version (_when available_). diff --git a/docs/-archive/vXx/99_ignore.md b/docs/-archive/vXx/99_ignore.md new file mode 100644 index 0000000..1d1034b --- /dev/null +++ b/docs/-archive/vXx/99_ignore.md @@ -0,0 +1,22 @@ +--- +title: x.x +description: Documentation for CMake Scripts version x.x. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# Version x.x Placeholder + +!!! note + This is a placeholder for documentation of a previous release. It is kept here to illustrate the intended + directory structure. + + The contents of this placeholder is **NOT** intended to be shown in the final documentation. Please ensure + that it is ignored, in the `config.js` (_[daux configuration](https://daux.io/Configuration/index.html)_) + +## How to archive documentation + +1. Create a new directory in the `/-archive` directory, name it `v[major-version]x`, e.g. `v3x`. +2. Copy and paste the contents of the `/+current` directory into the new directory, in the `/-archive` directory. +3. Commit your changes. +4. You can now safely update the contents of `/+current` to reflect the new major version. \ No newline at end of file diff --git a/docs/-archive/vXx/99_next_version.md b/docs/-archive/vXx/99_next_version.md new file mode 100644 index 0000000..2e11409 --- /dev/null +++ b/docs/-archive/vXx/99_next_version.md @@ -0,0 +1,11 @@ +--- +title: next +description: Documentation for CMake Scripts version x.x. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# Not Available + +_The next version of "CMake Scripts" has yet to be designed and implemented. +Please come back at a later time to review the documentation..._ diff --git a/docs/-archive/v_next/99_ignore.md b/docs/-archive/v_next/99_ignore.md new file mode 100644 index 0000000..1893c4b --- /dev/null +++ b/docs/-archive/v_next/99_ignore.md @@ -0,0 +1,25 @@ +--- +title: next +description: Documentation for CMake Scripts version x.x. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# `next` version placeholder + +!!! note + This is a placeholder for documentation for an upcoming release. It is kept here to illustrate the intended + directory structure. + + The contents of this placeholder is **NOT** intended to be shown in the final documentation. Please ensure + that it is ignored, in the `config.js` (_[daux configuration](https://daux.io/Configuration/index.html)_) + +## How to work on `next` release documentation + +1. Copy and paste the contents of the `/+current` directory into this directory +2. Rename the `title` of the `index.md` to "next" +3. Commit your changes. +4. Update the contents of the documentation to reflect the next major version. + +Once you are ready to release the next major version, archive the contents of `/+current`, and move the contents +of the "next" into the `/+current` directory. Rename the `title` to reflect the newly released major version. \ No newline at end of file diff --git a/docs/-archive/v_next/index.md b/docs/-archive/v_next/index.md new file mode 100644 index 0000000..2e11409 --- /dev/null +++ b/docs/-archive/v_next/index.md @@ -0,0 +1,11 @@ +--- +title: next +description: Documentation for CMake Scripts version x.x. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# Not Available + +_The next version of "CMake Scripts" has yet to be designed and implemented. +Please come back at a later time to review the documentation..._ diff --git a/docs/_index.md b/docs/_index.md new file mode 100644 index 0000000..fd637fd --- /dev/null +++ b/docs/_index.md @@ -0,0 +1,22 @@ +--- +title: CMake Scripts +description: Official documentation for the CMake Scripts package. +keywords: cmake, c++ +author: RSP Systems A/S +--- + +# About + +The CMake Scripts package contains a collection of reusable "modules", that can be used in your `CMakeLists.txt`, +for your C++ projects. + +!!! warning "Work in progress" + The documentation is in a very early stage. Feel free to review it, but please do not expect it to be complete! + +## Features + +_TODO: ...(please review docs for details.)_ + +## Authors + +"CMake Scripts" is developed and maintained by [RSP System A/S](https://rspsystems.com/). diff --git a/docs/config.json b/docs/config.json new file mode 100644 index 0000000..1f30559 --- /dev/null +++ b/docs/config.json @@ -0,0 +1,38 @@ +{ + "title": "CMake Scripts", + "tagline": "A collection of CMake scripts for C++ projects.", + "author": "RSP Systems A/S", + "ignore": { + "files": [ + "99_ignore.md", + "99_next_version.md" + ], + "folders": [] + }, + "live": { + "clean_urls": true + }, + "format": "html", + "themes_directory": "./resources/daux/themes", + "html": { + "theme": "rsp", + "breadcrumbs": true, + "breadcrumb_separator": "Chevrons", + "toggle_code": false, + "date_modified": true, + "jump_buttons": true, + "inherit_index": true, + "repo": "rsps/cmake-scripts", + "edit_on_github": "rsps/cmake-scripts/blob/main/docs", + "google_analytics": false, + "plausible_domain": false, + "links": { + "Changelog": "https://github.com/rsps/cmake-scripts/blob/main/CHANGELOG.md", + "GitHub": "https://github.com/rsps/cmake-scripts", + "Issues": "https://github.com/rsps/cmake-scripts/issues", + "RSP Systems": "https://rspsystems.com/" + }, + "search": true, + "powered_by": "© RSP Systems A/S" + } +} diff --git a/resources/daux/themes/rsp/config.json b/resources/daux/themes/rsp/config.json new file mode 100644 index 0000000..d6bdddc --- /dev/null +++ b/resources/daux/themes/rsp/config.json @@ -0,0 +1,10 @@ +{ + "favicon": "favicon/favicon-16x16.png", + "css": [ + "css/daux-blue.min.css", + "css/style.css" + ], + "js": [ + "js/main.mjs" + ] +} diff --git a/resources/daux/themes/rsp/css/daux-blue.min.css b/resources/daux/themes/rsp/css/daux-blue.min.css new file mode 100644 index 0000000..c46a3ca --- /dev/null +++ b/resources/daux/themes/rsp/css/daux-blue.min.css @@ -0,0 +1,6 @@ +/*! + * DAUX.IO + * https://dauxio.github.io/ + * MIT License + */ +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-family:sans-serif}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){height:0;display:none}progress{vertical-align:baseline}template,[hidden]{display:none}a{-webkit-text-decoration-skip:objects;background-color:#0000}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background-color:#ff0}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring{outline:1px dotted buttontext}[type=button]:-moz-focusring{outline:1px dotted buttontext}[type=reset]:-moz-focusring{outline:1px dotted buttontext}[type=submit]:-moz-focusring{outline:1px dotted buttontext}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;white-space:normal;max-width:100%;padding:0;display:table}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:root{--font-family-text:-apple-system,".SFNSText-Regular","San Francisco","Roboto","Segoe UI","Helvetica Neue","Lucida Grande",Arial,sans-serif;--font-family-monospace:Monaco,Menlo,Consolas,"Lucida Console","Courier New",monospace;--font-family-heading:"Roboto Slab",var(--font-family-text)}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:300;font-display:fallback;src:url(../fonts/robotoslab-light.eot);src:url(../fonts/robotoslab-light.eot?#iefix)format("embedded-opentype"),url(../fonts/robotoslab-light.woff2)format("woff2"),url(../fonts/robotoslab-light.woff)format("woff"),url(../fonts/robotoslab-light.ttf)format("truetype"),url(../fonts/robotoslab-light.svg#roboto_slablight)format("svg");unicode-range:U+??,U+131,U+152-153,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:400;font-display:fallback;src:url(../fonts/robotoslab-regular.eot);src:url(../fonts/robotoslab-regular.eot?#iefix)format("embedded-opentype"),url(../fonts/robotoslab-regular.woff2)format("woff2"),url(../fonts/robotoslab-regular.woff)format("woff"),url(../fonts/robotoslab-regular.ttf)format("truetype"),url(../fonts/robotoslab-regular.svg#roboto_slabregular)format("svg");unicode-range:U+??,U+131,U+152-153,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:700;font-display:fallback;src:url(../fonts/robotoslab-bold.eot);src:url(../fonts/robotoslab-bold.eot?#iefix)format("embedded-opentype"),url(../fonts/robotoslab-bold.woff2)format("woff2"),url(../fonts/robotoslab-bold.woff)format("woff"),url(../fonts/robotoslab-bold.ttf)format("truetype"),url(../fonts/robotoslab-bold.svg#roboto_slabbold)format("svg");unicode-range:U+??,U+131,U+152-153,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215}:root{--gray:#7a8288;--dark-gray:#494e52;--darker-gray:#313436;--darkest-gray:#181a1b;--light-gray:#bdc1c4;--lighter-gray:#d7dadb;--lightest-gray:#f2f3f3;--type-size-1:2.441rem;--type-size-2:1.953rem;--type-size-3:1.563rem;--type-size-4:1.25rem;--type-size-5:1rem;--type-size-6:.75rem;--color-primary:#82becd;--color-secondary:#3f4657;--color-text:#222;--color-info:#00b8d4;--color-warning:#ff9100;--color-danger:#f50057;--link-color:var(--color-primary);--brand-color:var(--color-primary);--brand-background:var(--color-secondary);--body-background:#fff;--sidebar-border-color:#e7e7e9;--sidebar-background:#f7f7f7;--sidebar-link-color:var(--color-secondary);--sidebar-link-active-background:#c5c5cb;--sidebar-link-hover-background:var(--sidebar-link-active-background);--sidebar-link-arrow-color:var(--color-secondary);--sidebar-link-secondary-color:var(--color-text);--checkbox-background:var(--lighter-gray);--checkbox-hover-background:#ccc;--checkbox-checked-background:var(--color-secondary);--checkbox-checked-hover-background:var(--color-primary);--checkbox-tick-color:#fff;--checkbox-disabled-background:var(--light-gray);--checkbox-disabled-tick-color:var(--gray);--search-field-color:#555;--search-field-border-color:var(--lighter-gray);--search-field-background:#fff;--search-field-hover-border-color:var(--color-primary);--sidebar-collapsible--hamburger-color:var(--color-primary);--sidebar-collapsible--hamburger-hover-color:var(--color-secondary);--sidebar-collapsible--hamburger-hover-background:var(--color-primary);--homepage-navbar-background:var(--color-secondary);--homepage-hero-background:var(--color-primary);--homepage-hero-color:var(--color-secondary);--homepage-bullet-color:var(--color-primary);--homepage-footer-color:var(--color-primary);--homepage-footer-background:var(--color-secondary);--homepage-body-background:#fff;--hero-button-block-background:var(--sidebar-link-active-background);--hero-button-primary-border-color:var(--color-secondary);--hero-button-primary-color:var(--sidebar-background);--hero-buttom-primary-background:var(--color-secondary);--hero-button-secondary-border-color:var(--color-secondary);--hero-button-secondary-color:var(--color-secondary);--hero-button-secondary-background:var(--sidebar-link-active-background);--code-tag-color:var(--color-secondary);--code-tag-background-color:var(--lightest-gray);--code-tag-border-color:var(--light-gray);--code-tag-box-shadow:0 1px 1px #00000020;--code-tag-border-radius:4px;--blockquote-border-color:var(--color-secondary);--hr-color:var(--lighter-gray);--pager-background-color:var(--body-background);--pager-border-color:var(--lighter-gray);--pager-hover-background-color:#eee;--toc--border-color:var(--lightest-gray);--toc--inner-border-color:var(--lighter-gray);--page-header-separator-color:#eee;--page-header-details-color:var(--gray);--table-border:var(--light-gray);--table-background:#fff;--table-background-odd:var(--lightest-gray);--table-header-background:var(--lighter-gray);--admonition-border-radius:4px;--admonition-border-color:#9e9e9e;--admonition-box-shadow:0 1px 1px #00000020;--admonition-bg-color:#fafafa;--admonition-title-bg-color:#efefef;--admonition-info-border-color:var(--color-info);--admonition-info-background:#e6fcff;--admonition-info-title-background:#b3f5ff;--admonition-warning-border-color:var(--color-warning);--admonition-warning-background:#fff4e6;--admonition-warning-title-background:#ffdeb3;--admonition-danger-border-color:var(--color-danger);--admonition-danger-background:#ffe6ef;--admonition-danger-title-background:#ffb3ce;--details-bg-color:#efefef;--details-border-radius:.5rem;--details-padding:.6rem}.dark{--color-text:#fff;--body-background:#222;--sidebar-background:#000;--sidebar-border-color:var(--dark-gray);--sidebar-link-color:var(--color-primary);--sidebar-link-active-background:var(--dark-gray);--sidebar-link-hover-background:var(--dark-gray);--sidebar-link-arrow-color:var(--color-text);--sidebar-link-secondary-color:var(--color-text);--code-tag-border-color:var(--dark-gray);--code-tag-background-color:var(--darker-gray);--pager-background-color:var(--body-background);--pager-border-color:var(--dark-gray);--pager-hover-background-color:var(--darker-gray);--toc--border-color:var(--dark-gray);--toc--inner-border-color:var(--darker-gray);--page-header-separator-color:var(--dark-gray);--page-header-details-color:var(--light-gray);--hr-color:var(--dark-gray);--table-border:var(--darker-gray);--table-background:var(--body-background);--table-background-odd:var(--darkest-gray);--table-header-background:var(--dark-gray);--homepage-navbar-background:var(--color-secondary);--homepage-hero-background:#333;--homepage-hero-color:var(--color-primary);--homepage-bullet-color:var(--color-primary);--homepage-footer-color:var(--color-primary);--homepage-footer-background:var(--color-secondary);--homepage-body-background:#333;--hero-button-block-background:var(--color-secondary);--hero-button-primary-border-color:var(--color-primary);--hero-button-primary-color:var(--color-primary);--hero-buttom-primary-background:var(--color-secondary);--hero-button-secondary-border-color:var(--color-secondary);--hero-button-secondary-color:var(--color-primary);--hero-button-secondary-background:var(--color-secondary);--search-field-color:#fff;--search-field-border-color:var(--dark-gray);--search-field-background:#555;--admonition-bg-color:#0d0d0d;--admonition-title-bg-color:#1a1a1a;--admonition-info-border-color:var(--color-info);--admonition-info-background:#00161a;--admonition-info-title-background:#002c33;--admonition-warning-border-color:var(--color-warning);--admonition-warning-background:#1a0f00;--admonition-warning-title-background:#331d00;--admonition-danger-border-color:var(--color-danger);--admonition-danger-background:#1a0009;--admonition-danger-title-background:#330012;--details-bg-color:#1a1a1a}*,:after,:before{box-sizing:border-box}body{margin:0;padding:0}html{font-size:14px}@media (min-width:850px){html{font-size:16px}}html,body{background-color:var(--body-background);color:var(--color-text);height:100%}.Columns__left{background-color:var(--sidebar-background)}.Columns__right__content{padding:10px}@media (max-width:768px){html:not(.no-js) .Collapsible__content{height:0;transition:height .4s ease-in-out;overflow:hidden}}.Collapsible__trigger{float:right;filter:none;box-shadow:none;background-color:#0000;background-image:none;border:none;margin:12px;padding:7px 10px}.Collapsible__trigger__bar{background-color:var(--sidebar-collapsible--hamburger-color);width:18px;height:2px;margin-top:2px;margin-bottom:3px;display:block}.Collapsible__trigger:hover{background-color:var(--sidebar-collapsible--hamburger-hover-background);box-shadow:none}.Collapsible__trigger:hover .Collapsible__trigger__bar{background-color:var(--sidebar-collapsible--hamburger-hover-color)}@media screen and (min-width:769px){.Navbar{z-index:1030;width:100%;position:fixed}.Collapsible__trigger{display:none!important}.Collapsible__content{display:block!important}.Columns{height:100%}.Columns:after,.Columns:before{content:" ";display:table}.Columns:after{clear:both}.Columns__left,.Columns__right{float:left;height:100%;min-height:1px;position:relative;overflow:auto}.Columns__left{border-right:1px solid var(--sidebar-border-color);width:25%;overflow-x:hidden}.Columns__right{width:75%}.Columns__right__content{min-height:100%;padding:0 20px 20px}}.Page{max-width:860px}.u-visuallyHidden{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}body{line-height:1.5;font-family:var(--font-family-text);font-feature-settings:"kern" 1,"kern";font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading);font-weight:300}.s-content h1,.s-content h2,.s-content h3,.s-content h4,.s-content h5,.s-content h6{cursor:text;margin:2em 0 .5em;line-height:1.4em}.s-content h1 tt,.s-content h1 code,.s-content h2 tt,.s-content h2 code,.s-content h3 tt,.s-content h3 code,.s-content h4 tt,.s-content h4 code,.s-content h5 tt,.s-content h5 code,.s-content h6 tt,.s-content h6 code{font-size:inherit}.s-content h1 i,.s-content h2 i,.s-content h3 i,.s-content h4 i,.s-content h5 i,.s-content h6 i{font-size:.7em}.s-content h1 p,.s-content h2 p,.s-content h3 p,.s-content h4 p,.s-content h5 p,.s-content h6 p{margin-top:0}.s-content h1{font-size:var(--type-size-3);margin-top:0}.s-content h2{font-size:var(--type-size-4)}.s-content h3{font-size:var(--type-size-5)}.s-content h4,.s-content h5,.s-content h6{font-size:var(--type-size-6)}.s-content a{text-decoration:underline}.s-content small{font-size:var(--type-size-6)}.s-content p{margin-bottom:1.3em}.s-content ul,.s-content ol{padding-left:2em}.s-content ul p,.s-content ul ul{margin:0}.s-content dl{padding:0}.s-content dl dt{margin:15px 0 5px;padding:0;font-style:italic;font-weight:700}.s-content dl dt:first-child{padding:0}.s-content dl dd{margin:0 0 15px;padding:0 15px}.s-content blockquote{border-left:.25em solid var(--blockquote-border-color);margin:.75em 2em;padding:.5em 1em;font-style:italic}.s-content blockquote cite{font-style:italic}.s-content blockquote cite:before{content:"—";padding-right:.5em}.s-content table{border-collapse:collapse;font-size:var(--type-size-6);width:100%;margin-bottom:1em;padding:0}.s-content table+table{margin-top:1em}.s-content table tr{border-top:1px solid var(--table-border);background-color:var(--table-background);margin:0;padding:0}.s-content table tr:nth-child(2n){background-color:var(--table-background-odd)}.s-content table th{border:1px solid var(--table-border);background:var(--table-header-background);margin:0;padding:.5em;font-weight:700}.s-content table td{border:1px solid var(--table-border);margin:0;padding:.5em}.s-content ul>:first-child,.s-content ol>:first-child,.s-content blockquote>:first-child,.s-content dl dt>:first-child,.s-content dl dd>:first-child,.s-content table th>:first-child,.s-content table td>:first-child{margin-top:0}.s-content ul>:last-child,.s-content ol>:last-child,.s-content blockquote>:last-child,.s-content dl dt>:last-child,.s-content dl dd>:last-child,.s-content table th>:last-child,.s-content table td>:last-child{margin-bottom:0}.s-content img{max-width:100%;display:inline-block}.s-content code{font-family:var(--font-family-monospace);background:var(--code-tag-background-color);border:1px solid var(--code-tag-border-color);border-radius:var(--code-tag-border-radius);box-shadow:var(--code-tag-box-shadow);padding-top:.1rem;padding-bottom:.1rem}.s-content code:before,.s-content code:after{letter-spacing:-.2em;content:" "}.s-content pre{color:#333;background:#f5f2f0;border:none;border-radius:0;margin:0 -20px 20px;padding:.75em 20px;line-height:1.5em;overflow:auto}.s-content pre code{white-space:pre;box-shadow:none;margin:0;padding:0}.s-content pre code:before,.s-content pre code:after{display:none}.s-content pre code,.s-content pre tt{background-color:#0000;border:none}.s-content u,.s-content ins{border-bottom:1px solid var(--color-text);text-decoration:none}.s-content u a,.s-content ins a,.s-content del a{color:inherit}.s-content details{background:var(--details-bg-color);border-radius:var(--details-border-radius);padding:var(--details-padding);margin-bottom:1.3em}.s-content summary{list-style:disclosure-closed inside;display:list-item}.s-content details[open]>summary{list-style-type:disclosure-open}.s-content .mermaid{background:#fff}a{color:var(--link-color);text-decoration:none}a.Link--external:after{content:" " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=)}a.Link--broken{color:red}p{margin:0 0 1em}hr{clear:both;border:0;border-top:1px solid var(--hr-color);margin:1em 0}.Button{text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;white-space:nowrap;background-image:none;border:1px solid #0000;border-radius:4px;margin-bottom:0;display:inline-block}.Button--small{border-radius:3px;font-size:12px;line-height:1.5}.Button--default{color:#333;background-color:#fff;border-color:#ccc}.Button--default.Button--active{color:#333;background-color:#e6e6e6;border-color:#adadad}.Permalink{color:#333;float:left;visibility:hidden;margin-left:-.7em;padding-right:4px;font-size:.8em;text-decoration:none!important}h1:hover .Permalink,h2:hover .Permalink,h3:hover .Permalink,h4:hover .Permalink,h5:hover .Permalink,h6:hover .Permalink{visibility:visible}.Brand{color:var(--brand-color);background-color:var(--brand-background);font-size:var(--type-size-4);text-shadow:none;font-family:var(--font-family-heading);padding:.75em .6em;font-weight:700;display:block}.Navbar{background-color:var(--homepage-navbar-background);height:50px;margin-bottom:0;box-shadow:0 1px 5px #00000040}.Navbar .Brand{float:left;height:50px;line-height:20px}.CodeToggler{padding:0 20px}.no-js .CodeToggler,.CodeToggler--hidden{display:none}.DarkModeToggler{padding:0 20px}.CodeToggler~.DarkModeToggler hr{display:none}.CodeToggler--hidden~.DarkModeToggler hr{display:block}.Nav{margin:0;padding:0}.Nav__arrow{width:16px;margin-left:-16px;display:inline-block;position:relative}.Nav__arrow:before{content:"";border-right:.15em solid var(--sidebar-link-arrow-color);border-top:.15em solid var(--sidebar-link-arrow-color);width:.5em;height:.5em;margin:-.25em 0 0 -.4em;transition-duration:.3s;display:block;position:absolute;top:50%;left:50%;transform:rotate(45deg)}.Nav__item{display:block}.Nav__item a{font-family:var(--font-family-heading);color:var(--sidebar-link-color);text-shadow:none;margin:0;padding:6px 15px 6px 20px;font-weight:400;display:block}.Nav__item a:hover{color:var(--sidebar-link-color);text-shadow:none;background-color:var(--sidebar-link-hover-background)}.Nav .Nav{margin-left:15px}html:not(.no-js) .Nav .Nav{height:0;transition:height .4s ease-in-out;overflow:hidden}.Nav .Nav .Nav__item a{font-family:var(--font-family-text);color:var(--sidebar-link-secondary-color);opacity:.7;margin:0 0 0 -15px;padding:3px 30px}.Nav .Nav .Nav__item a:hover{opacity:1}.Nav .Nav .Nav__item--active a{color:var(--sidebar-link-color)}.Nav__item--open>a,.Nav__item--active>a{background-color:var(--sidebar-link-active-background)}.Nav__item--open>a>.Nav__arrow:before{margin-left:-.25em;transform:rotate(135deg)}.Page__header{border-bottom:1px solid var(--page-header-separator-color);margin:0 0 10px;padding:0}.Page__header:before,.Page__header:after{content:" ";display:table}.Page__header:after{clear:both}.Page__header h1{margin:0;padding:0;line-height:57px}.Page__header--separator{fill:currentColor;height:.6em}.Page__header a{text-decoration:none}.Page__header .ModifiedDate{float:left;color:var(--page-header-details-color);font-size:10px}.Page__header .EditOn{float:right;color:var(--page-header-details-color);font-size:10px}.Links{padding:0 20px}.Links a{font-family:var(--font-family-heading);color:var(--sidebar-link-color);font-weight:400;line-height:2em}.Twitter{padding:0 20px;font:11px/18px Helvetica Neue,Arial,sans-serif}.Twitter__button{vertical-align:top;box-sizing:border-box;color:#fff;cursor:pointer;background-color:#1b95e0;border-radius:3px;height:20px;padding:1px 8px 1px 6px;font-weight:500;text-decoration:none;display:inline-block;position:relative}.Twitter__button .Twitter__button__label{vertical-align:top;white-space:nowrap;margin-left:3px;display:inline-block}.Twitter__button svg{width:14px;height:14px;display:inline-block;position:relative;top:2px}.PoweredBy{font-size:var(--type-size-6);padding:0 20px 1rem}.Search{position:relative}.Search__field{color:var(--search-field-color);border-width:0 0 1px;border-bottom:1px solid var(--search-field-border-color);background:var(--search-field-background);width:100%;height:34px;padding:6px 30px 6px 20px;transition:border-color .15s ease-in-out;display:block}.Search__field:focus{border-color:var(--search-field-hover-border-color);outline:0}.Search__icon{cursor:pointer;fill:currentColor;width:16px;height:16px;position:absolute;top:9px;right:9px}.Navbar .Search{float:right;margin:8px 20px}.Navbar .Search__field{border-width:0;border-radius:4px;padding-left:10px;box-shadow:inset 0 1px 1px #00000013}.TableOfContentsContainer{float:right;min-width:300px;max-width:25%;padding-left:1em}.TableOfContentsContainer__title{margin-bottom:0!important}.TableOfContentsContainer__content{border:1px solid var(--toc--border-color);border-width:4px 2px 2px 6px}.TableOfContentsContainer__content>.TableOfContents>li+li{border-top:1px solid var(--toc--inner-border-color)}ul.TableOfContents{margin:0;padding-left:0;font-size:1rem;list-style-type:none}ul.TableOfContents p{margin-bottom:0}ul.TableOfContents a{padding:.2em 0 .2em .75em;text-decoration:none;display:block}ul.TableOfContents .TableOfContents{padding-left:.75em}.Pager{text-align:center;clear:both;margin:1em 0;padding-left:0;list-style:none}.Pager:before,.Pager:after{content:" ";display:table}.Pager:after{clear:both}.Pager li{display:inline}.Pager li>a{background-color:var(--pager-background-color);border:1px solid var(--pager-border-color);cursor:pointer;border-radius:15px;padding:5px 14px;display:inline-block}.Pager li>a:hover,.Pager li>a:focus{background-color:var(--pager-hover-background-color);text-decoration:none}.Pager--next>a{float:right}.Pager--prev>a{float:left}.Checkbox{cursor:pointer;padding-left:30px;display:block;position:relative}.Checkbox input{z-index:-1;opacity:0;position:absolute}.Checkbox__indicator{background:var(--checkbox-background);width:20px;height:20px;margin-top:-10px;position:absolute;top:50%;left:0}.Checkbox__indicator:after{content:"";display:none;position:absolute}.Checkbox:hover input~.Checkbox__indicator,.Checkbox input:focus~.Checkbox__indicator{background:var(--checkbox-hover-background)}.Checkbox input:checked~.Checkbox__indicator{background:var(--checkbox-checked-background)}.Checkbox input:checked~.Checkbox__indicator:after{display:block}.Checkbox:hover input:not([disabled]):checked~.Checkbox__indicator,.Checkbox input:checked:focus~.Checkbox__indicator{background:var(--checkbox-checked-hover-background)}.Checkbox input:disabled~.Checkbox__indicator{pointer-events:none;opacity:.6;background:var(--checkbox-disabled-background)}.Checkbox .Checkbox__indicator:after{border:solid var(--checkbox-tick-color);border-width:0 2px 2px 0;width:5px;height:10px;top:4px;left:8px;transform:rotate(45deg)}.Checkbox input:disabled~.Checkbox__indicator:after{border-color:var(--checkbox-disabled-tick-color)}.Admonition{border:1px solid var(--admonition-border-color);background:var(--admonition-bg-color);box-shadow:var(--admonition-box-shadow);border-radius:var(--admonition-border-radius);page-break-inside:avoid;margin-bottom:1.3em;padding:.6rem;display:flow-root}.Admonition :last-child{margin-bottom:0}.Admonition__title{background-color:var(--admonition-title-bg-color);border-top-left-radius:var(--admonition-border-radius);border-top-right-radius:var(--admonition-border-radius);padding:.4rem .6rem;font-weight:700;position:relative;margin:-.6rem -.6rem .4rem!important}.Admonition--info{border-color:var(--admonition-info-border-color);background:var(--admonition-info-background)}.Admonition--info .Admonition__title{background:var(--admonition-info-title-background)}.Admonition--warning{border-color:var(--admonition-warning-border-color);background:var(--admonition-warning-background)}.Admonition--warning .Admonition__title{background:var(--admonition-warning-title-background)}.Admonition--danger{border-color:var(--admonition-danger-border-color);background:var(--admonition-danger-background)}.Admonition--danger .Admonition__title{background:var(--admonition-danger-title-background)}.Container{margin-left:auto;margin-right:auto}.Container--inner{width:80%;margin:0 auto}@media (min-width:1200px){.Container{width:1170px}}@media (min-width:992px){.Container{width:970px}}@media (min-width:769px){.Container{width:750px}}.Homepage{background-color:var(--homepage-hero-background);color:var(--homepage-hero-color);box-shadow:none;border:none;border-radius:0;margin-bottom:0;padding-bottom:0;padding-top:60px!important}.HomepageTitle h2{text-align:center;width:80%;margin:20px auto;font-size:30px}.HomepageImage img{max-width:80%;height:auto;margin:0 auto;display:block}.HomepageButtons{background-color:var(--hero-button-block-background);text-align:center;padding:20px 0}.HomepageButtons:before,.HomepageButtons:after{content:" ";display:table}.HomepageButtons:after{clear:both}.HomepageButtons .Button--hero{text-shadow:none;opacity:.8;text-transform:uppercase;font-family:var(--font-family-heading);filter:none;box-shadow:none;background-image:none;border-radius:0;margin:0 10px;padding:20px 30px;font-weight:700}@media (max-width:768px){.HomepageButtons .Button--hero{margin-bottom:10px;display:block}}.HomepageButtons .Button--hero:hover{opacity:1}.HomepageButtons .Button--hero.Button--secondary{border:5px solid var(--hero-button-secondary-border-color);background-color:var(--hero-button-secondary-background);color:var(--hero-button-secondary-color)}.HomepageButtons .Button--hero.Button--primary{border:5px solid var(--hero-button-primary-border-color);background-color:var(--hero-buttom-primary-background);color:var(--hero-button-primary-color)}.HomepageContent{background-color:var(--homepage-body-background);padding:40px 0}.HomepageContent ul li,.HomepageContent ol li{margin-bottom:.5em;list-style:none;position:relative}.HomepageContent ul li:before,.HomepageContent ol li:before{content:"";border:.5em solid #0000;border-left:.5em solid var(--homepage-bullet-color);float:left;width:0;height:0;margin-top:-.5em;display:block;position:absolute;top:50%;left:-1.5em}.HomepageContent .HeroText{font-family:var(--font-family-heading);margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:769px){.HomepageContent{padding:40px 20px}.HomepageContent .HeroText{font-size:21px}.HomepageContent .Row{margin:0 -15px}.HomepageContent .Row__third,.HomepageContent .Row__half,.HomepageContent .Row__quarter{float:left;min-height:1px;padding-left:15px;padding-right:15px;position:relative}.HomepageContent .Row__third{width:33.3333%}.HomepageContent .Row__half{width:50%}.HomepageContent .Row__quarter{width:25%}}.HomepageFooter{background-color:var(--homepage-footer-background);color:var(--homepage-footer-color);box-shadow:none;border:none}.HomepageFooter:before,.HomepageFooter:after{content:" ";display:table}.HomepageFooter:after{clear:both}@media (max-width:768px){.HomepageFooter{text-align:center;padding:0 20px}.HomepageFooter .HomepageFooter__links{padding-left:0;list-style-type:none}}@media (min-width:769px){.HomepageFooter .HomepageFooter__links{float:left}.HomepageFooter .HomepageFooter__twitter{float:right}}.HomepageFooter__links{margin:40px 0}.HomepageFooter__links li a{font-size:16px;line-height:32px;font-family:var(--font-family-heading);font-weight:700}.HomepageFooter__links li a:hover{text-decoration:underline}.HomepageFooter__twitter{margin:40px 0}.HomepageFooter .Twitter__button{margin-bottom:20px}.hljs{color:#333;display:block;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-variable,.hljs-template-variable,.hljs-strong,.hljs-emphasis,.hljs-quote{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#d73a49}.hljs-literal,.hljs-symbol,.hljs-bullet,.hljs-attribute{color:#0086b3}.hljs-section,.hljs-name{color:#63a35c}.hljs-tag{color:#333}.hljs-title,.hljs-attr,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#6f42c1}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline}.hljs-number{color:#005cc5}.hljs-string{color:#032f62}@media print{*{text-shadow:none!important;color:#000!important;box-shadow:none!important;background:0 0!important}h1,h2,h3,h4,h5,h6{page-break-after:avoid;break-after:avoid;page-break-before:auto;break-before:auto}pre,blockquote{page-break-inside:avoid;break-inside:avoid;border:1px solid #999;font-style:italic}img{page-break-inside:avoid;break-inside:avoid;border:0}a,a:visited{text-decoration:underline}abbr[title]:after{content:" (" attr(title)")"}q{quotes:none}q:before{content:""}q:after{content:" (" attr(cite)")"}.PageBreak{page-break-before:always;break-before:always;display:block}.NoPrint,aside,.Pager{display:none}.Columns__right{width:100%!important}.s-content a:after{content:" (" attr(href)")";word-wrap:break-word;font-size:80%}.s-content a[href^=\#]:after{content:""}h1 a[href]:after{font-size:50%}}:root{--sidebar-background:#f7f7f7;--sidebar-link-active-background:#c5c5cb;--color-secondary:#3f4657;--color-primary:#82becd}/*# sourceMappingURL=theme-blue.min.css.map */ diff --git a/resources/daux/themes/rsp/css/style.css b/resources/daux/themes/rsp/css/style.css new file mode 100644 index 0000000..bbcd748 --- /dev/null +++ b/resources/daux/themes/rsp/css/style.css @@ -0,0 +1,294 @@ +/* ------------------------------------------------------------------------------------------------------------------- + | Overwrites of Daux's default theme + | + | @see https://github.com/dauxio/daux.io/tree/master/src/css/theme_daux + ------------------------------------------------------------------------------------------------------------------ */ +@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap'); + +:root { + --font-family-text: "Nunito", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif; + --font-family-monospace: Monaco, Menlo, Consolas, "Lucida Console", "Courier New", monospace; + --font-family-heading: "Roboto Slab", var(--font-family-text); + + --brand: #006494; + --brand-light: #0f4c5c; + + --color-primary: var(--brand); + --color-secondary: #3f4657; + --color-text: #222; + + --color-info: #00b8d4; + --color-warning: #ff9100; + --color-danger: #f50057; + + --link-color: var(--color-primary); + --brand-color: var(--color-primary); + --brand-background: #fff; + + --body-background: #fff; + + /* Sidebar */ + --sidebar-border-color: #e7e7e9; + --sidebar-background: var(--brand-background); + + /* Sidebar links*/ + --sidebar-link-color: var(--color-secondary); + --sidebar-link-active-background: #c5c5cb; + --sidebar-link-hover-background: var(--sidebar-link-active-background); + --sidebar-link-arrow-color: var(--color-secondary); + --sidebar-link-secondary-color: var(--color-text); + + /* Sidebar Checkbox*/ + --checkbox-background: var(--lighter-gray); + --checkbox-hover-background: #ccc; + --checkbox-checked-background: var(--color-secondary); + --checkbox-checked-hover-background: var(--color-primary); + --checkbox-tick-color: #fff; + --checkbox-disabled-background: var(--light-gray); + --checkbox-disabled-tick-color: var(--gray); + + /* Sidebar search field */ + --search-field-color: #555; + --search-field-border-color: var(--lighter-gray); + --search-field-background: #fff; + --search-field-hover-border-color: var(--color-primary); + + /* Sidebar hamburger */ + --sidebar-collapsible--hamburger-color: var(--color-primary); + --sidebar-collapsible--hamburger-hover-color: var(--color-secondary); + --sidebar-collapsible--hamburger-hover-background: var(--color-primary); + + /* Homepage */ + --homepage-navbar-background: var(--brand-background); + + --homepage-hero-background: var(--color-primary); + --homepage-hero-color: #fff; + --homepage-bullet-color: var(--color-primary); + + --homepage-footer-color: var(--color-primary); + --homepage-footer-background: var(--lighter-gray); + --homepage-body-background: #fff; + + /* Code blocks */ + --code-block-bg-color: var(--lightest-gray); +} + +.dark { + --link-color: #00b8d4; + --brand: #4CA0CDFF; + --brand-color: #fff; + --brand-background: #343b44; + --code-block-bg-color: #e7e7e7; + + --body-background: var(--brand-background); + + /*--link-color: var(--color-primary);*/ + /*--link-color: var(--color-primary);*/ + + --sidebar-background: var(--brand-background); + + /* Sidebar links*/ + --sidebar-link-color: var(--gray); + --sidebar-link-active-background: var(--light-gray); + /*--sidebar-link-hover-background: var(--sidebar-link-active-background);*/ + + + /* Homepage */ + --homepage-hero-color: #fff; + --homepage-navbar-background: var(--brand-background); + + /* Homepage Hero Buttons */ + --hero-button-block-background: var(--color-secondary); + --hero-button-primary-border-color: var(--light-gray); + --hero-button-primary-color: var(--lighter-gray); + --hero-buttom-primary-background: var(--color-secondary); + --hero-button-secondary-border-color: var(--color-secondary); + --hero-button-secondary-color: var(--lighter-gray); + --hero-button-secondary-background: var(--color-secondary); +} + +/* ------------------------------------------------------------------------------------------------------------------- + | Typography + ------------------------------------------------------------------------------------------------------------------ */ + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: normal; +} + +/* ------------------------------------------------------------------------------------------------------------------- + | Structure + ------------------------------------------------------------------------------------------------------------------ */ + +html { + /*font-size: 18px;*/ + + /*@media (--viewport-large) {*/ + /* font-size: 16px;*/ + /*}*/ +} + +.Columns__left { + width: 15% +} + +.Columns__left, .Columns__right { + overflow: unset; +} + +.Page { + max-width: 860px; + margin: 0 auto; + + .s-content { + margin-top: 2em; + + /* code block */ + pre { + margin-left: 0; + margin-right: 0; + margin-bottom: 1em; + + background-color: var(--code-block-bg-color); + } + } + + nav { + border-top: 1px solid var(--lightest-gray); + margin-top: 2.5em; + + ul.Pager { + /* Previous & Next buttons */ + li > a { + border-radius: 3px; + } + } + } +} + +.Page__header { + h1 { + font-size: 1em; + font-weight: 300; + } + + .ModifiedDate, .EditOn { + font-size: 0.8em; + color: var(--light-gray); + } +} + +.TableOfContentsContainer { + float: none; + min-width: auto; + max-width: none; + padding-left: 0; + + h4.TableOfContentsContainer__title { + display: none; + /*visibility: hidden;*/ + } + + .TableOfContentsContainer__content { + border: none; + + ul.TableOfContents { + > li:first-of-type { + /* Hide the first element in the table of content, which is always page's h1 */ + > a:first-of-type { + display: none; + /*visibility: hidden;*/ + } + } + } + } +} + +.DarkModeToggler { + + /* Visually hide "Dark Mode" text */ + label { + color: transparent; + } + + .Checkbox__indicator { + background-color: transparent; + background-image: url('data:image/svg+xml,'); + background-repeat: no-repeat; + background-size: 1rem 1rem; + + + /* Hover and focus states */ + .Checkbox:hover input ~ &, + .Checkbox input:focus ~ & { + background-color: transparent; + background-image: url('data:image/svg+xml, '); + background-repeat: no-repeat; + background-size: 1rem 1rem; + } + + /* Checked state */ + .Checkbox input:checked ~ & { + background-color: transparent; + background-image: url('data:image/svg+xml, '); + background-repeat: no-repeat; + background-size: 1rem 1rem; + } + + /* Hover state whilst checked */ + .Checkbox:hover input:not([disabled]):checked ~ &, + .Checkbox input:checked:focus ~ & { + background-color: transparent; + background-image: url('data:image/svg+xml, '); + background-repeat: no-repeat; + background-size: 1rem 1rem; + } + + /* Checkbox tick */ + .Checkbox &:after { + border: none; + } + } +} + +/* Reverse order of "/archive" entries */ +a[href*="archive/index" i] + ul.Nav { + display: flex; + flex-direction: column-reverse; +} + +/* Mark all entries in archive as "outdated" */ +.Page__header:has(h1 a[href^="/archive/v" i]) + .s-content::before { + content: 'WARNING: You are viewing documentation for an outdated version. It is no longer supported!'; + + font-weight: bold; + background-color: var(--admonition-warning-background); + border: 1px solid var(--admonition-warning-border-color); + + display: inline-block; + position: relative; + top: -15px; + width: 100%; + + padding: 2px; +} + +/* Mark "next" entry in archive as "not yet released" */ +.Page__header:has(h1 a[href^="/archive/v_next" i]) + .s-content::before { + content: 'INFO: You are viewing documentation for an upcoming version. It has not yet been released!'; + + font-weight: bold; + background-color: var(--admonition-info-background); + border: 1px solid var(--admonition-info-border-color); + + display: inline-block; + position: relative; + top: -15px; + width: 100%; + + padding: 2px; +} \ No newline at end of file diff --git a/resources/daux/themes/rsp/favicon/README.md b/resources/daux/themes/rsp/favicon/README.md new file mode 100644 index 0000000..3704a1c --- /dev/null +++ b/resources/daux/themes/rsp/favicon/README.md @@ -0,0 +1,4 @@ +# About Favicon + +The icon was generated using [favicon.io](https://favicon.io/favicon-generator/). +See details in [about](about.txt). diff --git a/resources/daux/themes/rsp/favicon/about.txt b/resources/daux/themes/rsp/favicon/about.txt new file mode 100644 index 0000000..7a6659f --- /dev/null +++ b/resources/daux/themes/rsp/favicon/about.txt @@ -0,0 +1,6 @@ +This favicon was generated using the following font: + +- Font Title: Nunito +- Font Author: Vernon Adams, Cyreal, Jacques Le Bailly +- Font Source: https://fonts.gstatic.com/s/nunito/v26/XRXI3I6Li01BKofiOc5wtlZ2di8HDFwmRTM9jo7eTWk.ttf +- Font License: https://openfontlicense.org/open-font-license-official-text/) diff --git a/resources/daux/themes/rsp/favicon/android-chrome-192x192.png b/resources/daux/themes/rsp/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..eb8bfa6 Binary files /dev/null and b/resources/daux/themes/rsp/favicon/android-chrome-192x192.png differ diff --git a/resources/daux/themes/rsp/favicon/android-chrome-512x512.png b/resources/daux/themes/rsp/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..1accd3f Binary files /dev/null and b/resources/daux/themes/rsp/favicon/android-chrome-512x512.png differ diff --git a/resources/daux/themes/rsp/favicon/apple-touch-icon.png b/resources/daux/themes/rsp/favicon/apple-touch-icon.png new file mode 100644 index 0000000..759b885 Binary files /dev/null and b/resources/daux/themes/rsp/favicon/apple-touch-icon.png differ diff --git a/resources/daux/themes/rsp/favicon/favicon-16x16.png b/resources/daux/themes/rsp/favicon/favicon-16x16.png new file mode 100644 index 0000000..6145cb2 Binary files /dev/null and b/resources/daux/themes/rsp/favicon/favicon-16x16.png differ diff --git a/resources/daux/themes/rsp/favicon/favicon-32x32.png b/resources/daux/themes/rsp/favicon/favicon-32x32.png new file mode 100644 index 0000000..e54f61c Binary files /dev/null and b/resources/daux/themes/rsp/favicon/favicon-32x32.png differ diff --git a/resources/daux/themes/rsp/favicon/favicon.ico b/resources/daux/themes/rsp/favicon/favicon.ico new file mode 100644 index 0000000..80d6483 Binary files /dev/null and b/resources/daux/themes/rsp/favicon/favicon.ico differ diff --git a/resources/daux/themes/rsp/favicon/site.webmanifest b/resources/daux/themes/rsp/favicon/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/resources/daux/themes/rsp/favicon/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/resources/daux/themes/rsp/fonts/robotoslab-bold.eot b/resources/daux/themes/rsp/fonts/robotoslab-bold.eot new file mode 100755 index 0000000..4e88b6c Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-bold.eot differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-bold.svg b/resources/daux/themes/rsp/fonts/robotoslab-bold.svg new file mode 100755 index 0000000..0c83053 --- /dev/null +++ b/resources/daux/themes/rsp/fonts/robotoslab-bold.svg @@ -0,0 +1,688 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/daux/themes/rsp/fonts/robotoslab-bold.ttf b/resources/daux/themes/rsp/fonts/robotoslab-bold.ttf new file mode 100755 index 0000000..b5120e7 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-bold.ttf differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-bold.woff b/resources/daux/themes/rsp/fonts/robotoslab-bold.woff new file mode 100755 index 0000000..9e98b2d Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-bold.woff differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-bold.woff2 b/resources/daux/themes/rsp/fonts/robotoslab-bold.woff2 new file mode 100755 index 0000000..a0e46d6 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-bold.woff2 differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-light.eot b/resources/daux/themes/rsp/fonts/robotoslab-light.eot new file mode 100755 index 0000000..3451146 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-light.eot differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-light.svg b/resources/daux/themes/rsp/fonts/robotoslab-light.svg new file mode 100755 index 0000000..bf7f6a7 --- /dev/null +++ b/resources/daux/themes/rsp/fonts/robotoslab-light.svg @@ -0,0 +1,687 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/daux/themes/rsp/fonts/robotoslab-light.ttf b/resources/daux/themes/rsp/fonts/robotoslab-light.ttf new file mode 100755 index 0000000..067e1e5 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-light.ttf differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-light.woff b/resources/daux/themes/rsp/fonts/robotoslab-light.woff new file mode 100755 index 0000000..1cbe790 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-light.woff differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-light.woff2 b/resources/daux/themes/rsp/fonts/robotoslab-light.woff2 new file mode 100755 index 0000000..b954cfd Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-light.woff2 differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-regular.eot b/resources/daux/themes/rsp/fonts/robotoslab-regular.eot new file mode 100755 index 0000000..10a7a2b Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-regular.eot differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-regular.svg b/resources/daux/themes/rsp/fonts/robotoslab-regular.svg new file mode 100755 index 0000000..f6a9983 --- /dev/null +++ b/resources/daux/themes/rsp/fonts/robotoslab-regular.svg @@ -0,0 +1,687 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/daux/themes/rsp/fonts/robotoslab-regular.ttf b/resources/daux/themes/rsp/fonts/robotoslab-regular.ttf new file mode 100755 index 0000000..9c36f36 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-regular.ttf differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-regular.woff b/resources/daux/themes/rsp/fonts/robotoslab-regular.woff new file mode 100755 index 0000000..2a2e344 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-regular.woff differ diff --git a/resources/daux/themes/rsp/fonts/robotoslab-regular.woff2 b/resources/daux/themes/rsp/fonts/robotoslab-regular.woff2 new file mode 100755 index 0000000..4593d11 Binary files /dev/null and b/resources/daux/themes/rsp/fonts/robotoslab-regular.woff2 differ diff --git a/resources/daux/themes/rsp/js/162.mjs b/resources/daux/themes/rsp/js/162.mjs new file mode 100644 index 0000000..42e7c7e --- /dev/null +++ b/resources/daux/themes/rsp/js/162.mjs @@ -0,0 +1 @@ +export const id=162;export const ids=[162];export const modules={5937:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(6309),n=i(1931);const r=(e,t)=>s.A.lang.round(n.A.parse(e)[t])},53:(e,t,i)=>{i.d(t,{A:()=>n});var s=i(970);const n=function(e){return(0,s.A)(e,4)}},4162:(e,t,i)=>{i.d(t,{diagram:()=>M});var s,n,r=i(5950),l=i(53),o=i(5937),a=i(5582),c=i(8055),h=i(697),u=i(1062),d=(i(4353),i(6750),i(2838),function(){var e=function(e,t,i,s){for(i=i||{},s=e.length;s--;i[e[s]]=t);return i},t=[1,7],i=[1,13],s=[1,14],n=[1,15],r=[1,19],l=[1,16],o=[1,17],a=[1,18],c=[8,30],h=[8,21,28,29,30,31,32,40,44,47],u=[1,23],d=[1,24],g=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],p=[1,49],b={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(e,t,i,s,n,r,l){var o=r.length-1;switch(n){case 4:s.getLogger().debug("Rule: separator (NL) ");break;case 5:s.getLogger().debug("Rule: separator (Space) ");break;case 6:s.getLogger().debug("Rule: separator (EOF) ");break;case 7:s.getLogger().debug("Rule: hierarchy: ",r[o-1]),s.setHierarchy(r[o-1]);break;case 8:s.getLogger().debug("Stop NL ");break;case 9:s.getLogger().debug("Stop EOF ");break;case 10:s.getLogger().debug("Stop NL2 ");break;case 11:s.getLogger().debug("Stop EOF2 ");break;case 12:s.getLogger().debug("Rule: statement: ",r[o]),"number"==typeof r[o].length?this.$=r[o]:this.$=[r[o]];break;case 13:s.getLogger().debug("Rule: statement #2: ",r[o-1]),this.$=[r[o-1]].concat(r[o]);break;case 14:s.getLogger().debug("Rule: link: ",r[o],e),this.$={edgeTypeStr:r[o],label:""};break;case 15:s.getLogger().debug("Rule: LABEL link: ",r[o-3],r[o-1],r[o]),this.$={edgeTypeStr:r[o],label:r[o-1]};break;case 18:const t=parseInt(r[o]),i=s.generateId();this.$={id:i,type:"space",label:"",width:t,children:[]};break;case 23:s.getLogger().debug("Rule: (nodeStatement link node) ",r[o-2],r[o-1],r[o]," typestr: ",r[o-1].edgeTypeStr);const n=s.edgeStrToEdgeData(r[o-1].edgeTypeStr);this.$=[{id:r[o-2].id,label:r[o-2].label,type:r[o-2].type,directions:r[o-2].directions},{id:r[o-2].id+"-"+r[o].id,start:r[o-2].id,end:r[o].id,label:r[o-1].label,type:"edge",directions:r[o].directions,arrowTypeEnd:n,arrowTypeStart:"arrow_open"},{id:r[o].id,label:r[o].label,type:s.typeStr2Type(r[o].typeStr),directions:r[o].directions}];break;case 24:s.getLogger().debug("Rule: nodeStatement (abc88 node size) ",r[o-1],r[o]),this.$={id:r[o-1].id,label:r[o-1].label,type:s.typeStr2Type(r[o-1].typeStr),directions:r[o-1].directions,widthInColumns:parseInt(r[o],10)};break;case 25:s.getLogger().debug("Rule: nodeStatement (node) ",r[o]),this.$={id:r[o].id,label:r[o].label,type:s.typeStr2Type(r[o].typeStr),directions:r[o].directions,widthInColumns:1};break;case 26:s.getLogger().debug("APA123",this?this:"na"),s.getLogger().debug("COLUMNS: ",r[o]),this.$={type:"column-setting",columns:"auto"===r[o]?-1:parseInt(r[o])};break;case 27:s.getLogger().debug("Rule: id-block statement : ",r[o-2],r[o-1]),s.generateId(),this.$={...r[o-2],type:"composite",children:r[o-1]};break;case 28:s.getLogger().debug("Rule: blockStatement : ",r[o-2],r[o-1],r[o]);const l=s.generateId();this.$={id:l,type:"composite",label:"",children:r[o-1]};break;case 29:s.getLogger().debug("Rule: node (NODE_ID separator): ",r[o]),this.$={id:r[o]};break;case 30:s.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",r[o-1],r[o]),this.$={id:r[o-1],label:r[o].label,typeStr:r[o].typeStr,directions:r[o].directions};break;case 31:s.getLogger().debug("Rule: dirList: ",r[o]),this.$=[r[o]];break;case 32:s.getLogger().debug("Rule: dirList: ",r[o-1],r[o]),this.$=[r[o-1]].concat(r[o]);break;case 33:s.getLogger().debug("Rule: nodeShapeNLabel: ",r[o-2],r[o-1],r[o]),this.$={typeStr:r[o-2]+r[o],label:r[o-1]};break;case 34:s.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",r[o-3],r[o-2]," #3:",r[o-1],r[o]),this.$={typeStr:r[o-3]+r[o],label:r[o-2],directions:r[o-1]};break;case 35:case 36:this.$={type:"classDef",id:r[o-1].trim(),css:r[o].trim()};break;case 37:this.$={type:"applyClass",id:r[o-1].trim(),styleClass:r[o].trim()};break;case 38:this.$={type:"applyStyles",id:r[o-1].trim(),stylesStr:r[o].trim()}}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:n,32:r,40:l,44:o,47:a},{8:[1,20]},e(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:i,29:s,31:n,32:r,40:l,44:o,47:a}),e(h,[2,16],{14:22,15:u,16:d}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(g,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:r},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:n,32:r,40:l,44:o,47:a},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(c,[2,13]),{26:35,32:r},{32:[2,14]},{17:[1,36]},e(g,[2,24]),{11:37,13:4,14:22,15:u,16:d,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:n,32:r,40:l,44:o,47:a},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(y,[2,30]),{18:[1,43]},{18:[1,44]},e(g,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:p},{15:[1,50]},e(h,[2,27]),e(y,[2,33]),{39:[1,51]},{34:52,35:p,39:[2,31]},{32:[2,15]},e(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=[0],i=[],s=[null],n=[],r=this.table,l="",o=0,a=0,c=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(e,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var g=h.yylloc;n.push(g);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,x,L,S,f,m,_,k,E={};;){if(b=t[t.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==p&&(k=void 0,"number"!=typeof(k=i.pop()||h.lex()||1)&&(k instanceof Array&&(k=(i=k).pop()),k=this.symbols_[k]||k),p=k),x=r[b]&&r[b][p]),void 0===x||!x.length||!x[0]){var w;for(S in _=[],r[b])this.terminals_[S]&&S>2&&_.push("'"+this.terminals_[S]+"'");w=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(w,{text:h.match,token:this.terminals_[p]||p,line:h.yylineno,loc:g,expected:_})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(x[0]){case 1:t.push(p),s.push(h.yytext),n.push(h.yylloc),t.push(x[1]),p=null,a=h.yyleng,l=h.yytext,o=h.yylineno,g=h.yylloc;break;case 2:if(f=this.productions_[x[1]][1],E.$=s[s.length-f],E._$={first_line:n[n.length-(f||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(f||1)].first_column,last_column:n[n.length-1].last_column},y&&(E._$.range=[n[n.length-(f||1)].range[0],n[n.length-1].range[1]]),void 0!==(L=this.performAction.apply(E,[l,a,o,u.yy,x[1],s,n].concat(c))))return L;f&&(t=t.slice(0,-1*f*2),s=s.slice(0,-1*f),n=n.slice(0,-1*f)),t.push(this.productions_[x[1]][0]),s.push(E.$),n.push(E._$),m=r[t[t.length-2]][t[t.length-1]],t.push(m);break;case 3:return!0}}return!0}},x={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var s=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;rt[0].length)){if(t=i,s=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[r])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,n[s]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,i,s){switch(i){case 0:return 10;case 1:return e.getLogger().debug("Found space-block"),31;case 2:return e.getLogger().debug("Found nl-block"),31;case 3:return e.getLogger().debug("Found space-block"),29;case 4:e.getLogger().debug(".",t.yytext);break;case 5:e.getLogger().debug("_",t.yytext);break;case 6:return 5;case 7:return t.yytext=-1,28;case 8:return t.yytext=t.yytext.replace(/columns\s+/,""),e.getLogger().debug("COLUMNS (LEX)",t.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:e.getLogger().debug("LEX: POPPING STR:",t.yytext),this.popState();break;case 14:return e.getLogger().debug("LEX: STR end:",t.yytext),"STR";case 15:return t.yytext=t.yytext.replace(/space\:/,""),e.getLogger().debug("SPACE NUM (LEX)",t.yytext),21;case 16:return t.yytext="1",e.getLogger().debug("COLUMNS (LEX)",t.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),e.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),e.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),e.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),e.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),e.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),e.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),e.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),e.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),e.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),e.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),e.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),e.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return e.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return e.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return e.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return e.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return e.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return e.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return e.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return e.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),e.getLogger().debug("LEX ARR START"),38;case 75:return e.getLogger().debug("Lex: NODE_ID",t.yytext),32;case 76:return e.getLogger().debug("Lex: EOF",t.yytext),8;case 79:return"NODE_DESCR";case 81:e.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:e.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return e.getLogger().debug("LEX: NODE_DESCR:",t.yytext),"NODE_DESCR";case 84:e.getLogger().debug("LEX POPPING"),this.popState();break;case 85:e.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (right): dir:",t.yytext),"DIR";case 87:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (left):",t.yytext),"DIR";case 88:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (x):",t.yytext),"DIR";case 89:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (y):",t.yytext),"DIR";case 90:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (up):",t.yytext),"DIR";case 91:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (down):",t.yytext),"DIR";case 92:return t.yytext="]>",e.getLogger().debug("Lex (ARROW_DIR end):",t.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 94:case 95:case 96:return e.getLogger().debug("Lex: LINK",t.yytext),15;case 97:case 98:case 99:return e.getLogger().debug("Lex: START_LINK",t.yytext),this.pushState("LLABEL"),16;case 101:return e.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 103:case 104:return this.popState(),e.getLogger().debug("Lex: LINK",t.yytext),15;case 105:return e.getLogger().debug("Lex: COLON",t.yytext),t.yytext=t.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};function L(){this.yy={}}return b.lexer=x,L.prototype=b,b.Parser=L,new L}());d.parser=d;const g=d;let y={},p=[],b={};const x="color",L="fill",S=(0,r.c)();let f={};const m=function(e,t=""){void 0===f[e]&&(f[e]={id:e,styles:[],textStyles:[]});const i=f[e];null!=t&&t.split(",").forEach((e=>{const t=e.replace(/([^;]*);/,"$1").trim();if(e.match(x)){const e=t.replace(L,"bgFill").replace(x,L);i.textStyles.push(e)}i.styles.push(t)}))},_=function(e,t=""){const i=y[e];null!=t&&(i.styles=t.split(","))},k=function(e,t){e.split(",").forEach((function(e){let i=y[e];if(void 0===i){const t=e.trim();y[t]={id:t,type:"na",children:[]},i=y[t]}i.classes||(i.classes=[]),i.classes.push(t)}))},E=(e,t)=>{const i=e.flat(),s=[];for(const e of i)if(e.label&&(e.label=(n=e.label,r.e.sanitizeText(n,S))),"classDef"!==e.type)if("applyClass"!==e.type)if("applyStyles"!==e.type)if("column-setting"===e.type)t.columns=e.columns||-1;else if("edge"===e.type)b[e.id]?b[e.id]++:b[e.id]=1,e.id=b[e.id]+"-"+e.id,p.push(e);else{e.label||("composite"===e.type?e.label="":e.label=e.id);const t=!y[e.id];if(t?y[e.id]=e:("na"!==e.type&&(y[e.id].type=e.type),e.label!==e.id&&(y[e.id].label=e.label)),e.children&&E(e.children,e),"space"===e.type){const t=e.width||1;for(let i=0;i(0,r.F)().block,typeStr2Type:function(e){switch(r.l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return r.l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}},edgeTypeStr2Type:function(e){return r.l.debug("typeStr2Type",e),"=="===e?"thick":"normal"},edgeStrToEdgeData:function(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}},getLogger:()=>console,getBlocksFlat:()=>[...Object.values(y)],getBlocks:()=>w||[],getEdges:()=>p,setHierarchy:e=>{v.children=e,E(e,v),w=v.children},getBlock:e=>y[e],setBlock:e=>{y[e.id]=e},getColumns:e=>{const t=y[e];return t?t.columns?t.columns:t.children?t.children.length:-1:-1},getClasses:function(){return f},clear:()=>{r.l.debug("Clear called"),(0,r.v)(),v={id:"root",type:"composite",children:[],columns:-1},y={root:v},w=[],f={},p=[],b={}},generateId:()=>(D++,"id-"+Math.random().toString(36).substr(2,12)+"-"+D)},N=$,I=(e,t)=>{const i=o.A,s=i(e,"r"),n=i(e,"g"),r=i(e,"b");return a.A(s,n,r,t)};function T(e,t,i=!1){var s,n,l;const o=e;let a="default";((null==(s=null==o?void 0:o.classes)?void 0:s.length)||0)>0&&(a=((null==o?void 0:o.classes)||[]).join(" ")),a+=" flowchart-label";let c,h=0,u="";switch(o.type){case"round":h=5,u="rect";break;case"composite":h=0,u="composite",c=0;break;case"square":case"group":default:u="rect";break;case"diamond":u="question";break;case"hexagon":u="hexagon";break;case"block_arrow":u="block_arrow";break;case"odd":case"rect_left_inv_arrow":u="rect_left_inv_arrow";break;case"lean_right":u="lean_right";break;case"lean_left":u="lean_left";break;case"trapezoid":u="trapezoid";break;case"inv_trapezoid":u="inv_trapezoid";break;case"circle":u="circle";break;case"ellipse":u="ellipse";break;case"stadium":u="stadium";break;case"subroutine":u="subroutine";break;case"cylinder":u="cylinder";break;case"doublecircle":u="doublecircle"}const d=(0,r.k)((null==o?void 0:o.styles)||[]),g=o.label,y=o.size||{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:u,labelText:g,rx:h,ry:h,class:a,style:d.style,id:o.id,directions:o.directions,width:y.width,height:y.height,x:y.x,y:y.y,positioned:i,intersect:void 0,type:o.type,padding:c??((null==(l=null==(n=(0,r.F)())?void 0:n.block)?void 0:l.padding)||0)}}async function z(e,t,i){const s=T(t,0,!1);if("group"===s.type)return;const n=await(0,c.e)(e,s),r=n.node().getBBox(),l=i.getBlock(s.id);l.size={width:r.width,height:r.height,x:0,y:0,node:n},i.setBlock(l),n.remove()}async function A(e,t,i){const s=T(t,0,!0);"space"!==i.getBlock(s.id).type&&(await(0,c.e)(e,s),t.intersect=null==s?void 0:s.intersect,(0,c.p)(s))}async function O(e,t,i,s){for(const n of t)await s(e,n,i),n.children&&await O(e,n.children,i,s)}const C=(null==(n=null==(s=(0,r.c)())?void 0:s.block)?void 0:n.padding)||8;function R(e,t){if(0===e||!Number.isInteger(e))throw new Error("Columns must be an integer !== 0.");if(t<0||!Number.isInteger(t))throw new Error("Position must be a non-negative integer."+t);return e<0?{px:t,py:0}:1===e?{px:0,py:t}:{px:t%e,py:Math.floor(t/e)}}const B=e=>{let t=0,i=0;for(const s of e.children){const{width:n,height:l,x:o,y:a}=s.size||{width:0,height:0,x:0,y:0};r.l.debug("getMaxChildSize abc95 child:",s.id,"width:",n,"height:",l,"x:",o,"y:",a,s.type),"space"!==s.type&&(n>t&&(t=n/(e.widthInColumns||1)),l>i&&(i=l))}return{width:t,height:i}};function F(e,t,i=0,s=0){var n,l,o,a,c,h,u,d,g,y,p;r.l.debug("setBlockSizes abc95 (start)",e.id,null==(n=null==e?void 0:e.size)?void 0:n.x,"block width =",null==e?void 0:e.size,"sieblingWidth",i),(null==(l=null==e?void 0:e.size)?void 0:l.width)||(e.size={width:i,height:s,x:0,y:0});let b=0,x=0;if((null==(o=e.children)?void 0:o.length)>0){for(const i of e.children)F(i,t);const n=B(e);b=n.width,x=n.height,r.l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",b,x);for(const t of e.children)t.size&&(r.l.debug(`abc95 Setting size of children of ${e.id} id=${t.id} ${b} ${x} ${t.size}`),t.size.width=b*(t.widthInColumns||1)+C*((t.widthInColumns||1)-1),t.size.height=x,t.size.x=0,t.size.y=0,r.l.debug(`abc95 updating size of ${e.id} children child:${t.id} maxWidth:${b} maxHeight:${x}`));for(const i of e.children)F(i,t,b,x);const l=e.columns||-1;let o=0;for(const t of e.children)o+=t.widthInColumns||1;let d=e.children.length;l>0&&l0?Math.min(e.children.length,l):e.children.length;if(t>0){const i=(y-t*C-C)/t;r.l.debug("abc95 (growing to fit) width",e.id,y,null==(u=e.size)?void 0:u.width,i);for(const t of e.children)t.size&&(t.size.width=i)}}e.size={width:y,height:p,x:0,y:0}}r.l.debug("setBlockSizes abc94 (done)",e.id,null==(d=null==e?void 0:e.size)?void 0:d.x,null==(g=null==e?void 0:e.size)?void 0:g.width,null==(y=null==e?void 0:e.size)?void 0:y.y,null==(p=null==e?void 0:e.size)?void 0:p.height)}function P(e,t){var i,s,n,l,o,a,c,h,u,d,g,y,p,b,x,L,S;r.l.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${null==(i=null==e?void 0:e.size)?void 0:i.x} y: ${null==(s=null==e?void 0:e.size)?void 0:s.y} width: ${null==(n=null==e?void 0:e.size)?void 0:n.width}`);const f=e.columns||-1;if(r.l.debug("layoutBlocks columns abc95",e.id,"=>",f,e),e.children&&e.children.length>0){const t=(null==(o=null==(l=null==e?void 0:e.children[0])?void 0:l.size)?void 0:o.width)||0,i=e.children.length*t+(e.children.length-1)*C;r.l.debug("widthOfChildren 88",i,"posX");let s=0;r.l.debug("abc91 block?.size?.x",e.id,null==(a=null==e?void 0:e.size)?void 0:a.x);let n=(null==(c=null==e?void 0:e.size)?void 0:c.x)?(null==(h=null==e?void 0:e.size)?void 0:h.x)+(-(null==(u=null==e?void 0:e.size)?void 0:u.width)/2||0):-C,x=0;for(const t of e.children){const i=e;if(!t.size)continue;const{width:l,height:o}=t.size,{px:a,py:c}=R(f,s);if(c!=x&&(x=c,n=(null==(d=null==e?void 0:e.size)?void 0:d.x)?(null==(g=null==e?void 0:e.size)?void 0:g.x)+(-(null==(y=null==e?void 0:e.size)?void 0:y.width)/2||0):-C,r.l.debug("New row in layout for block",e.id," and child ",t.id,x)),r.l.debug(`abc89 layout blocks (child) id: ${t.id} Pos: ${s} (px, py) ${a},${c} (${null==(p=null==i?void 0:i.size)?void 0:p.x},${null==(b=null==i?void 0:i.size)?void 0:b.y}) parent: ${i.id} width: ${l}${C}`),i.size){const e=l/2;t.size.x=n+C+e,r.l.debug(`abc91 layout blocks (calc) px, pyid:${t.id} startingPos=X${n} new startingPosX${t.size.x} ${e} padding=${C} width=${l} halfWidth=${e} => x:${t.size.x} y:${t.size.y} ${t.widthInColumns} (width * (child?.w || 1)) / 2 ${l*((null==t?void 0:t.widthInColumns)||1)/2}`),n=t.size.x+e,t.size.y=i.size.y-i.size.height/2+c*(o+C)+o/2+C,r.l.debug(`abc88 layout blocks (calc) px, pyid:${t.id}startingPosX${n}${C}${e}=>x:${t.size.x}y:${t.size.y}${t.widthInColumns}(width * (child?.w || 1)) / 2${l*((null==t?void 0:t.widthInColumns)||1)/2}`)}t.children&&P(t),s+=(null==t?void 0:t.widthInColumns)||1,r.l.debug("abc88 columnsPos",t,s)}}r.l.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${null==(x=null==e?void 0:e.size)?void 0:x.x} y: ${null==(L=null==e?void 0:e.size)?void 0:L.y} width: ${null==(S=null==e?void 0:e.size)?void 0:S.width}`)}function Y(e,{minX:t,minY:i,maxX:s,maxY:n}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&"root"!==e.id){const{x:r,y:l,width:o,height:a}=e.size;r-o/2s&&(s=r+o/2),l+a/2>n&&(n=l+a/2)}if(e.children)for(const r of e.children)({minX:t,minY:i,maxX:s,maxY:n}=Y(r,{minX:t,minY:i,maxX:s,maxY:n}));return{minX:t,minY:i,maxX:s,maxY:n}}function K(e){const t=e.getBlock("root");if(!t)return;F(t,e,0,0),P(t),r.l.debug("getBlocks",JSON.stringify(t,null,2));const{minX:i,minY:s,maxX:n,maxY:l}=Y(t);return{x:i,y:s,width:n-i,height:l-s}}const X={draw:async function(e,t,i,s){const{securityLevel:n,block:l}=(0,r.F)(),o=s.db;let a;"sandbox"===n&&(a=(0,u.Ltv)("#i"+t));const d="sandbox"===n?(0,u.Ltv)(a.nodes()[0].contentDocument.body):(0,u.Ltv)("body"),g="sandbox"===n?d.select(`[id="${t}"]`):(0,u.Ltv)(`[id="${t}"]`);(0,c.a)(g,["point","circle","cross"],s.type,t);const y=o.getBlocks(),p=o.getBlocksFlat(),b=o.getEdges(),x=g.insert("g").attr("class","block");await async function(e,t,i){await O(e,t,i,z)}(x,y,o);const L=K(o);if(await async function(e,t,i){await O(e,t,i,A)}(x,y,o),await async function(e,t,i,s,n){const r=new h.T({multigraph:!0,compound:!0});r.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const e of i)e.size&&r.setNode(e.id,{width:e.size.width,height:e.size.height,intersect:e.intersect});for(const i of t)if(i.start&&i.end){const t=s.getBlock(i.start),l=s.getBlock(i.end);if((null==t?void 0:t.size)&&(null==l?void 0:l.size)){const s=t.size,o=l.size,a=[{x:s.x,y:s.y},{x:s.x+(o.x-s.x)/2,y:s.y+(o.y-s.y)/2},{x:o.x,y:o.y}];await(0,c.h)(e,{v:i.start,w:i.end,name:i.id},{...i,arrowTypeEnd:i.arrowTypeEnd,arrowTypeStart:i.arrowTypeStart,points:a,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",r,n),i.label&&(await(0,c.f)(e,{...i,label:i.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:i.arrowTypeEnd,arrowTypeStart:i.arrowTypeStart,points:a,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),await(0,c.j)({...i,x:a[1].x,y:a[1].y},{originalPath:a}))}}}(x,b,p,o,t),L){const e=L,t=Math.max(1,Math.round(e.width/e.height*.125)),i=e.height+t+10,s=e.width+10,{useMaxWidth:n}=l;(0,r.i)(g,i,s,!!n),r.l.debug("Here Bounds",L,e),g.attr("viewBox",`${e.x-5} ${e.y-5} ${e.width+10} ${e.height+10}`)}(0,u.UMr)(u.zt)},getClasses:function(e,t){return t.db.getClasses()}},M={parser:g,db:N,renderer:X,styles:e=>`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${I(e.edgeLabelBackground,.5)};\n // background-color:\n }\n\n .node .cluster {\n // fill: ${I(e.mainBkg,.5)};\n fill: ${I(e.clusterBkg,.5)};\n stroke: ${I(e.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/194.mjs b/resources/daux/themes/rsp/js/194.mjs new file mode 100644 index 0000000..9491973 --- /dev/null +++ b/resources/daux/themes/rsp/js/194.mjs @@ -0,0 +1 @@ +export const id=194;export const ids=[194];export const modules={1974:(t,e,r)=>{r.d(e,{T:()=>S});var n=r(9622),o=r(9142),i=r(9610),s=r(7422),u=r(6070),c=r(6401),a=r(8058),f=r(9592),h=r(7671),d=r(4326),A=r(8300),l=r(5707);const v=function(t){return t!=t},b=function(t,e){return!(null==t||!t.length)&&function(t,e,r){return e==e?function(t,e,r){for(var n=r-1,o=t.length;++n-1},_=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n=200){var a=e?null:m(t);if(a)return(0,j.A)(a);s=!1,o=p.A,c=new A.A}else c=e?[]:u;t:for(;++n1?n.setNode(t,e):n.setNode(t)})),this}setNode(t,e){return n.A(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=N,this._children[t]={},this._children[N][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return n.A(this._nodes,t)}removeNode(t){var e=this;if(n.A(this._nodes,t)){var r=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],a.A(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),a.A(s.A(this._in[t]),r),delete this._in[t],delete this._preds[t],a.A(s.A(this._out[t]),r),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f.A(e))e=N;else{for(var r=e+="";!f.A(r);r=this.parent(r))if(r===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==N)return e}}children(t){if(f.A(t)&&(t=N),this._isCompound){var e=this._children[t];if(e)return s.A(e)}else{if(t===N)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return s.A(e)}successors(t){var e=this._sucs[t];if(e)return s.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return O(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;a.A(this._nodes,(function(r,n){t(n)&&e.setNode(n,r)})),a.A(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))}));var n={};function o(t){var i=r.parent(t);return void 0===i||e.hasNode(i)?(n[t]=i,i):i in n?n[i]:o(i)}return this._isCompound&&a.A(e.nodes(),(function(t){e.setParent(t,o(t))})),e}setDefaultEdgeLabel(t){return i.A(t)||(t=o.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return C.A(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return E.A(t,(function(t,o){return n.length>1?r.setEdge(t,o,e):r.setEdge(t,o),o})),this}setEdge(){var t,e,r,o,i=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,e=s.w,r=s.name,2===arguments.length&&(o=arguments[1],i=!0)):(t=s,e=arguments[1],r=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),t=""+t,e=""+e,f.A(r)||(r=""+r);var u=x(this._isDirected,t,e,r);if(n.A(this._edgeLabels,u))return i&&(this._edgeLabels[u]=o),this;if(!f.A(r)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[u]=i?o:this._defaultEdgeLabelFn(t,e,r);var c=function(t,e,r,n){var o=""+e,i=""+r;if(!t&&o>i){var s=o;o=i,i=s}var u={v:o,w:i};return n&&(u.name=n),u}(this._isDirected,t,e,r);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[u]=c,F(this._preds[e],t),F(this._sucs[t],e),this._in[e][u]=c,this._out[t][u]=c,this._edgeCount++,this}edge(t,e,r){var n=1===arguments.length?M(this._isDirected,arguments[0]):x(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var o=1===arguments.length?M(this._isDirected,arguments[0]):x(this._isDirected,t,e,r);return n.A(this._edgeLabels,o)}removeEdge(t,e,r){var n=1===arguments.length?M(this._isDirected,arguments[0]):x(this._isDirected,t,e,r),o=this._edgeObjs[n];return o&&(t=o.v,e=o.w,delete this._edgeLabels[n],delete this._edgeObjs[n],P(this._preds[e],t),P(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var n=C.A(r);return e?u.A(n,(function(t){return t.v===e})):n}}outEdges(t,e){var r=this._out[t];if(r){var n=C.A(r);return e?u.A(n,(function(t){return t.w===e})):n}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function F(t,e){t[e]?t[e]++:t[e]=1}function P(t,e){--t[e]||delete t[e]}function x(t,e,r,n){var o=""+e,i=""+r;if(!t&&o>i){var s=o;o=i,i=s}return o+D+i+D+(f.A(n)?L:n)}function M(t,e){return x(t,e.v,e.w,e.name)}S.prototype._nodeCount=0,S.prototype._edgeCount=0},697:(t,e,r)=>{r.d(e,{T:()=>n.T});var n=r(1974)},8300:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(2050);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n.A;++e{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{r.d(e,{A:()=>T});var n=r(2080),o=r(2641),i=r(2851),s=r(2031),u=r(7422);var c=r(9999);var a=r(154),f=r(9759),h=r(4792);var d=r(6912),A=r(5647),l=r(3153);const v=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,d.A)(e,(0,h.A)(t)),t=(0,A.A)(t);return e}:l.A;var b=r(9042),_=r(3831);const p=function(t){return(0,_.A)(t,c.A,v)};var g=r(9137),j=Object.prototype.hasOwnProperty;var y=r(565);var m=/\w*$/;var w=r(241),O=w.A?w.A.prototype:void 0,C=O?O.valueOf:void 0;var E=r(1801);const L=function(t,e,r){var n,o,i,s=t.constructor;switch(e){case"[object ArrayBuffer]":return(0,y.A)(t);case"[object Boolean]":case"[object Date]":return new s(+t);case"[object DataView]":return function(t,e){var r=e?(0,y.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,E.A)(t,r);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(t);case"[object RegExp]":return(i=new(o=t).constructor(o.source,m.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return n=t,C?Object(C.call(n)):{}}};var N=r(407),D=r(2049),S=r(1200),F=r(3098);var P=r(2789),x=r(4841),M=x.A&&x.A.isMap;const I=M?(0,P.A)(M):function(t){return(0,F.A)(t)&&"[object Map]"==(0,g.A)(t)};var U=r(3149);var k=x.A&&x.A.isSet;const z=k?(0,P.A)(k):function(t){return(0,F.A)(t)&&"[object Set]"==(0,g.A)(t)};var B="[object Arguments]",$="[object Function]",G="[object Object]",R={};R[B]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[G]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[$]=R["[object WeakMap]"]=!1;const T=function t(e,r,d,A,l,_){var y,m=1&r,w=2&r,O=4&r;if(d&&(y=l?d(e,A,l,_):d(e)),void 0!==y)return y;if(!(0,U.A)(e))return e;var C=(0,D.A)(e);if(C){if(y=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&j.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(e),!m)return(0,f.A)(e,y)}else{var E=(0,g.A)(e),F=E==$||"[object GeneratorFunction]"==E;if((0,S.A)(e))return(0,a.A)(e,m);if(E==G||E==B||F&&!l){if(y=w||F?{}:(0,N.A)(e),!m)return w?function(t,e){return(0,s.A)(t,v(t),e)}(e,function(t,e){return t&&(0,s.A)(e,(0,c.A)(e),t)}(y,e)):function(t,e){return(0,s.A)(t,(0,h.A)(t),e)}(e,function(t,e){return t&&(0,s.A)(e,(0,u.A)(e),t)}(y,e))}else{if(!R[E])return l?e:{};y=L(e,E,m)}}_||(_=new n.A);var P=_.get(e);if(P)return P;_.set(e,y),z(e)?e.forEach((function(n){y.add(t(n,r,d,n,e,_))})):I(e)&&e.forEach((function(n,o){y.set(o,t(n,r,d,o,e,_))}));var x=O?w?p:b.A:w?c.A:u.A,M=C?void 0:x(e);return(0,o.A)(M||e,(function(n,o){M&&(n=e[o=n]),(0,i.A)(y,o,t(n,r,d,o,e,_))})),y}},4288:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(9841),o=r(8446);const i=(s=n.A,function(t,e){if(null==t)return t;if(!(0,o.A)(t))return s(t,e);for(var r=t.length,n=-1,i=Object(t);++n{r.d(e,{A:()=>n});const n=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i{r.d(e,{A:()=>a});var n=r(6912),o=r(241),i=r(5175),s=r(2049),u=o.A?o.A.isConcatSpreadable:void 0;const c=function(t){return(0,s.A)(t)||(0,i.A)(t)||!!(u&&t&&t[u])},a=function t(e,r,o,i,s){var u=-1,a=e.length;for(o||(o=c),s||(s=[]);++u0&&o(f)?r>1?t(f,r-1,o,i,s):(0,n.A)(s,f):i||(s[s.length]=f)}return s}},9841:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(7132),o=r(7422);const i=function(t,e){return t&&(0,n.A)(t,e,o.A)}},6318:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(1521),o=r(901);const i=function(t,e){for(var r=0,i=(e=(0,n.A)(e,t)).length;null!=t&&r{r.d(e,{A:()=>i});var n=r(6912),o=r(2049);const i=function(t,e,r){var i=e(t);return(0,o.A)(t)?i:(0,n.A)(i,r(t))}},4425:(t,e,r)=>{r.d(e,{A:()=>G});var n=r(2080),o=r(8300);const i=function(t,e){for(var r=-1,n=null==t?0:t.length;++rf))return!1;var d=c.get(t),A=c.get(e);if(d&&A)return d==e&&A==t;var l=-1,v=!0,b=2&r?new o.A:void 0;for(c.set(t,e),c.set(e,t);++l{r.d(e,{A:()=>n});const n=function(t){return function(e){return null==e?void 0:e[t]}}},4099:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t,e){return t.has(e)}},9922:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(9008);const o=function(t){return"function"==typeof t?t:n.A}},1521:(t,e,r)=>{r.d(e,{A:()=>d});var n=r(2049),o=r(6586),i=r(6632),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g;const c=(a=(0,i.A)((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(s,(function(t,r,n,o){e.push(n?o.replace(u,"$1"):r||t)})),e}),(function(t){return 500===f.size&&f.clear(),t})),f=a.cache,a);var a,f,h=r(3456);const d=function(t,e){return(0,n.A)(t)?t:(0,o.A)(t,e)?[t]:c((0,h.A)(t))}},9042:(t,e,r)=>{r.d(e,{A:()=>s});var n=r(3831),o=r(4792),i=r(7422);const s=function(t){return(0,n.A)(t,i.A,o.A)}},4792:(t,e,r)=>{r.d(e,{A:()=>u});var n=r(2634),o=r(3153),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;const u=s?function(t){return null==t?[]:(t=Object(t),(0,n.A)(s(t),(function(e){return i.call(t,e)})))}:o.A},5054:(t,e,r)=>{r.d(e,{A:()=>a});var n=r(1521),o=r(5175),i=r(2049),s=r(5353),u=r(5254),c=r(901);const a=function(t,e,r){for(var a=-1,f=(e=(0,n.A)(e,t)).length,h=!1;++a{r.d(e,{A:()=>u});var n=r(2049),o=r(1882),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;const u=function(t,e){if((0,n.A)(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!(0,o.A)(t))||s.test(t)||!i.test(t)||null!=e&&t in Object(e)}},9959:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},901:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(1882);const o=function(t){if("string"==typeof t||(0,n.A)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},6070:(t,e,r)=>{r.d(e,{A:()=>c});var n=r(2634),o=r(4288);const i=function(t,e){var r=[];return(0,o.A)(t,(function(t,n,o){e(t,n,o)&&r.push(t)})),r};var s=r(4425),u=r(2049);const c=function(t,e){return((0,u.A)(t)?n.A:i)(t,(0,s.A)(e,3))}},8058:(t,e,r)=>{r.d(e,{A:()=>u});var n=r(2641),o=r(4288),i=r(9922),s=r(2049);const u=function(t,e){return((0,s.A)(t)?n.A:o.A)(t,(0,i.A)(e))}},9622:(t,e,r)=>{r.d(e,{A:()=>s});var n=Object.prototype.hasOwnProperty;const o=function(t,e){return null!=t&&n.call(t,e)};var i=r(5054);const s=function(t,e){return null!=t&&(0,i.A)(t,e,o)}},6964:(t,e,r)=>{r.d(e,{A:()=>i});const n=function(t,e){return null!=t&&e in Object(t)};var o=r(5054);const i=function(t,e){return null!=t&&(0,o.A)(t,e,n)}},1882:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(2383),o=r(3098);const i=function(t){return"symbol"==typeof t||(0,o.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},9592:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t){return void 0===t}},7422:(t,e,r)=>{r.d(e,{A:()=>s});var n=r(2505),o=r(4453),i=r(8446);const s=function(t){return(0,i.A)(t)?(0,n.A)(t):(0,o.A)(t)}},3130:(t,e,r)=>{r.d(e,{A:()=>c});const n=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o{r.d(e,{A:()=>n});const n=function(){return[]}},3456:(t,e,r)=>{r.d(e,{A:()=>f});var n=r(241),o=r(5572),i=r(2049),s=r(1882),u=n.A?n.A.prototype:void 0,c=u?u.toString:void 0;const a=function t(e){if("string"==typeof e)return e;if((0,i.A)(e))return(0,o.A)(e,t)+"";if((0,s.A)(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},f=function(t){return null==t?"":a(t)}},2866:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(5572);var o=r(7422);const i=function(t){return null==t?[]:function(t,e){return(0,n.A)(e,(function(e){return t[e]}))}(t,(0,o.A)(t))}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/207.mjs b/resources/daux/themes/rsp/js/207.mjs new file mode 100644 index 0000000..e7ada1b --- /dev/null +++ b/resources/daux/themes/rsp/js/207.mjs @@ -0,0 +1 @@ +export const id=207;export const ids=[207];export const modules={9207:(t,e,r)=>{r.d(e,{diagram:()=>w});var i=r(5950),a=r(697),n=r(1062),s=r(944);const o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));const c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=function(t){if(!function(t){return"string"==typeof t&&c.test(t)}(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function h(t,e,r,i){switch(t){case 0:return e&r^~e&i;case 1:case 3:return e^r^i;case 2:return e&r^e&i^r&i}}function d(t,e){return t<>>32-e}const y=function(){function t(t,e,r,i){var a;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>0;l=c,c=o,o=d(s,30)>>>0,s=a,a=n}r[0]=r[0]+a>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}(n),n[6]=15&n[6]|80,n[8]=63&n[8]|128,r){i=i||0;for(let t=0;t<16;++t)r[i+t]=n[t];return r}return function(t,e=0){return o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]}(n)}try{t.name="v5"}catch(t){}return t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t}();r(4353),r(6750),r(2838);var u=function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[6,8,10,20,22,24,26,27,28],r=[1,10],i=[1,11],a=[1,12],n=[1,13],s=[1,14],o=[1,15],c=[1,21],l=[1,22],h=[1,23],d=[1,24],y=[1,25],u=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],p=[1,34],_=[27,28,46,47],f=[41,42,43,44,45],m=[17,34],E=[1,54],g=[1,53],O=[17,34,36,38],b={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(t,e,r,i,a,n,s){var o=n.length-1;switch(a){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:i.addEntity(n[o-4]),i.addEntity(n[o-2]),i.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:i.addEntity(n[o-3]),i.addAttributes(n[o-3],n[o-1]);break;case 10:i.addEntity(n[o-2]);break;case 11:i.addEntity(n[o]);break;case 12:i.addEntity(n[o-6],n[o-4]),i.addAttributes(n[o-6],n[o-1]);break;case 13:i.addEntity(n[o-5],n[o-3]);break;case 14:i.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:l,43:h,44:d,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(u,[2,19]),t(u,[2,20]),t(e,[2,4]),{11:29,27:s,28:o},{16:30,17:[1,31],29:32,30:33,34:p},{11:35,27:s,28:o},{40:36,46:[1,37],47:[1,38]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(_,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:p},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:l,43:h,44:d,45:y},t(f,[2,39]),t(f,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(m,[2,23],{32:50,33:51,35:52,37:E,38:g}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(m,[2,24],{33:56,36:[1,57],38:g}),t(m,[2,25]),t(O,[2,29]),t(m,[2,32]),t(O,[2,31]),{16:58,17:[1,59],29:32,30:33,34:p},t(m,[2,26]),{35:60,37:E},{17:[1,61]},t(e,[2,13]),t(O,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],a=[],n=this.table,s="",o=0,c=0,l=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(d.yy[y]=this.yy[y]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;a.push(u);var p=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,f,m,E,g,O,b,k,R,N={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==_&&(R=void 0,"number"!=typeof(R=r.pop()||h.lex()||1)&&(R instanceof Array&&(R=(r=R).pop()),R=this.symbols_[R]||R),_=R),m=n[f]&&n[f][_]),void 0===m||!m.length||!m[0]){var x;for(g in k=[],n[f])this.terminals_[g]&&g>2&&k.push("'"+this.terminals_[g]+"'");x=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:u,expected:k})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+_);switch(m[0]){case 1:e.push(_),i.push(h.yytext),a.push(h.yylloc),e.push(m[1]),_=null,c=h.yyleng,s=h.yytext,o=h.yylineno,u=h.yylloc;break;case 2:if(O=this.productions_[m[1]][1],N.$=i[i.length-O],N._$={first_line:a[a.length-(O||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(O||1)].first_column,last_column:a[a.length-1].last_column},p&&(N._$.range=[a[a.length-(O||1)].range[0],a[a.length-1].range[1]]),void 0!==(E=this.performAction.apply(N,[s,c,o,d.yy,m[1],i,a].concat(l))))return E;O&&(e=e.slice(0,-1*O*2),i=i.slice(0,-1*O),a=a.slice(0,-1*O)),e.push(this.productions_[m[1]][0]),i.push(N.$),a.push(N._$),b=n[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),r.length-1&&(this.yylineno-=r.length-1);var a=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:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}};function R(){this.yy={}}return b.lexer=k,R.prototype=b,b.Parser=R,new R}();u.parser=u;const p=u;let _={},f=[];const m=function(t,e=void 0){return void 0===_[t]?(_[t]={attributes:[],alias:e},i.l.info("Added new entity :",t)):_[t]&&!_[t].alias&&e&&(_[t].alias=e,i.l.info(`Add alias '${e}' to entity '${t}'`)),_[t]},E={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:()=>(0,i.c)().er,addEntity:m,addAttributes:function(t,e){let r,a=m(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.l.debug("Added attribute ",e[r].attributeName)},getEntities:()=>_,addRelationship:function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};f.push(n),i.l.debug("Added new relationship :",n)},getRelationships:()=>f,clear:function(){_={},f=[],(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.q,getDiagramTitle:i.t},g={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},O=g,b=/[^\dA-Za-z](\W)*/g;let k={},R=new Map;const N=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let x=0;const T="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function A(t=""){return t.length>0?`${t}-`:""}const M={setConf:function(t){const e=Object.keys(t);for(const r of e)k[r]=t[r]},draw:function(t,e,r,o){k=(0,i.c)().er,i.l.info("Drawing ER diagram");const c=(0,i.c)().securityLevel;let l;"sandbox"===c&&(l=(0,n.Ltv)("#i"+e));const h=("sandbox"===c?(0,n.Ltv)(l.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id='${e}']`);let d;(function(t,e){let r;t.append("defs").append("marker").attr("id",g.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",g.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",g.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",g.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",g.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",g.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(h,k),d=new a.T({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const u=function(t,e,r){let a;return Object.keys(e).forEach((function(n){const s=function(t="",e=""){const r=t.replace(b,"");return`${A(e)}${A(r)}${y(t,T)}`}(n,"entity");R.set(n,s);const o=t.append("g").attr("id",s);a=void 0===a?s:a;const c="text-"+s,l=o.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e[n].alias??n),{width:h,height:d}=((t,e,r)=>{const a=k.entityPadding/3,n=k.entityPadding/3,s=.85*k.fontSize,o=e.node().getBBox(),c=[];let l=!1,h=!1,d=0,y=0,u=0,p=0,_=o.height+2*a,f=1;r.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(l=!0),void 0!==t.attributeComment&&(h=!0)})),r.forEach((r=>{const n=`${e.node().id}-attr-${f}`;let o=0;const m=(0,i.x)(r.attributeType),E=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(m),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=E,O.nn=g;const b=E.node().getBBox(),k=g.node().getBBox();if(d=Math.max(d,b.width),y=Math.max(y,k.width),o=Math.max(b.height,k.height),l){const e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;const c=a.node().getBBox();u=Math.max(u,c.width),o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;const a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,c.push(O),_+=o+2*a,f+=1}));let m=4;l&&(m+=2),h&&(m+=2);const E=d+y+u+p,g={width:Math.max(k.minEntityWidth,Math.max(o.width+2*k.entityPadding,E+n*m)),height:r.length>0?_:Math.max(k.minEntityHeight,o.height+2*k.entityPadding)};if(r.length>0){const r=Math.max(0,(g.width-E-n*m)/(m/2));e.attr("transform","translate("+g.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";c.forEach((e=>{const o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");const f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);let m=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(l){e.kn.attr("transform","translate("+(m+n)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",m).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);m=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}h&&(e.cn.attr("transform","translate("+(m+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",m).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"}))}else g.height=Math.max(k.minEntityHeight,_),e.attr("transform","translate("+g.width/2+","+g.height/2+")");return g})(o,l,e[n].attributes),u=o.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})})),a}(h,o.db.getEntities(),d),p=function(t,e){return t.forEach((function(t){e.setEdge(R.get(t.entityA),R.get(t.entityB),{relationship:t},N(t))})),t}(o.db.getRelationships(),d);var _,f;(0,s.Zp)(d),_=h,(f=d).nodes().forEach((function(t){void 0!==t&&void 0!==f.node(t)&&_.select("#"+t).attr("transform","translate("+(f.node(t).x-f.node(t).width/2)+","+(f.node(t).y-f.node(t).height/2)+" )")})),p.forEach((function(t){!function(t,e,r,a,s){x++;const o=r.edge(R.get(e.entityA),R.get(e.entityB),N(e)),c=(0,n.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.qrM),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",c(o.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===s.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(k.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+O.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+O.MD_PARENT_END+")")}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+O.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+O.MD_PARENT_START+")")}const d=l.node().getTotalLength(),y=l.node().getPointAtLength(.5*d),u="rel"+x,p=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",y.x).attr("y",y.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",y.x-p.width/2).attr("y",y.y-p.height/2).attr("width",p.width).attr("height",p.height)}(h,t,d,u,o)}));const m=k.diagramPadding;i.u.insertTitle(h,"entityTitleText",k.titleTopMargin,o.db.getDiagramTitle());const E=h.node().getBBox(),M=E.width+2*m,w=E.height+2*m;(0,i.i)(h,w,M,k.useMaxWidth),h.attr("viewBox",`${E.x-m} ${E.y-m} ${M} ${w}`)}},w={parser:p,db:E,renderer:M,styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/229.mjs b/resources/daux/themes/rsp/js/229.mjs new file mode 100644 index 0000000..e43b103 --- /dev/null +++ b/resources/daux/themes/rsp/js/229.mjs @@ -0,0 +1,2 @@ +/*! For license information please see 229.mjs.LICENSE.txt */ +export const id=229;export const ids=[229];export const modules={7799:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,t,n){var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=i},function(e,t,n){var r=n(0).FDLayoutEdge;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).LGraph;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).LGraphManager;function i(e){r.call(this,e)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).FDLayoutNode,i=n(0).IMath;function a(e,t,n,i){r.call(this,e,t,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var e=this.graphManager.getLayout();this.displacementX=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),e.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(e,t){for(var n,r=this.getChild().getNodes(),i=0;i0)this.positionNodesRadially(e);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(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 e=new Set(this.getAllNodes()),t=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(t),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.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=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var e=this.graphManager.getAllNodes(),t={},n=0;n1)for(s=0;sr&&(r=Math.floor(o.y)),a=Math.floor(o.x+l.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(c.WORLD_CENTER_X-o.x/2,c.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(e,t,n){var r=Math.max(this.maxDiagonalInTree(e),l.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(t,null,0,359,0,r);var i=v.calculateBounds(e),a=new y;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o1;){var y=v[0];v.splice(0,1);var b=c.indexOf(y);b>=0&&c.splice(b,1),g--,h--}d=null!=t?(c.indexOf(v[0])+1)%g:0;for(var x=Math.abs(r-n)/h,w=d;p!=h;w=++w%g){var E=c[w].getOtherEnd(e);if(E!=t){var _=(n+p*x)%360,T=(_+x)%360;m.branchRadialLayout(E,e,_,T,i+a,a),p++}}},m.maxDiagonalInTree=function(e){for(var t=g.MIN_VALUE,n=0;nt&&(t=r)}return t},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var e=this,t={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i1){var r="DummyCompound_"+n;e.memberGroups[r]=t[n];var i=t[n][0].getParent(),a=new o(e.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,e.idToDummyNode[r]=a;var s=e.getGraphManager().add(e.newGraph(),a),l=i.getChild();l.add(a);for(var u=0;u=0;e--){var t=this.compoundOrder[e],n=t.id,r=t.paddingLeft,i=t.paddingTop;this.adjustLocations(this.tiledMemberPack[n],t.rect.x,t.rect.y,r,i)}},m.prototype.repopulateZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack;Object.keys(t).forEach((function(n){var r=e.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;e.adjustLocations(t[n],r.rect.x,r.rect.y,i,a)}))},m.prototype.getToBeTiled=function(e){var t=e.id;if(null!=this.toBeTiled[t])return this.toBeTiled[t];var n=e.getChild();if(null==n)return this.toBeTiled[t]=!1,!1;for(var r=n.getNodes(),i=0;i0)return this.toBeTiled[t]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[t]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[t]=!0,!0},m.prototype.getNodeDegree=function(e){e.id;for(var t=e.getEdges(),n=0,r=0;rl&&(l=c.rect.height)}n+=l+e.verticalPadding}},m.prototype.tileCompoundMembers=function(e,t){var n=this;this.tiledMemberPack=[],Object.keys(e).forEach((function(r){var i=t[r];n.tiledMemberPack[r]=n.tileNodes(e[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},m.prototype.tileNodes=function(e,t){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:t,verticalPadding:l.TILING_PADDING_VERTICAL,horizontalPadding:l.TILING_PADDING_HORIZONTAL};e.sort((function(e,t){return e.rect.width*e.rect.height>t.rect.width*t.rect.height?-1:e.rect.width*e.rect.height0&&(a+=e.horizontalPadding),e.rowWidth[n]=a,e.width0&&(o+=e.verticalPadding);var s=0;o>e.rowHeight[n]&&(s=e.rowHeight[n],e.rowHeight[n]=o,s=e.rowHeight[n]-s),e.height+=s,e.rows[n].push(t)},m.prototype.getShortestRowIndex=function(e){for(var t=-1,n=Number.MAX_VALUE,r=0;rn&&(t=r,n=e.rowWidth[r]);return t},m.prototype.canAddHorizontal=function(e,t,n){var r=this.getShortestRowIndex(e);if(r<0)return!0;var i=e.rowWidth[r];if(i+e.horizontalPadding+t<=e.width)return!0;var a,o,s=0;return e.rowHeight[r]0&&(s=n+e.verticalPadding-e.rowHeight[r]),a=e.width-i>=t+e.horizontalPadding?(e.height+s)/(i+t+e.horizontalPadding):(e.height+s)/e.width,s=n+e.verticalPadding,(o=e.widtha&&t!=n){r.splice(-1,1),e.rows[n].push(i),e.rowWidth[t]=e.rowWidth[t]-a,e.rowWidth[n]=e.rowWidth[n]+a,e.width=e.rowWidth[instance.getLongestRowIndex(e)];for(var o=Number.MIN_VALUE,s=0;so&&(o=r[s].height);t>0&&(o+=e.verticalPadding);var l=e.rowHeight[t]+e.rowHeight[n];e.rowHeight[t]=o,e.rowHeight[n]0)for(var c=i;c<=a;c++)l[0]+=this.grid[c][o-1].length+this.grid[c][o].length-1;if(a0)for(c=o;c<=s;c++)l[3]+=this.grid[i-1][c].length+this.grid[i][c].length-1;for(var h,d,p=g.MAX_VALUE,f=0;f0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var p=function(e){e("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&p(cytoscape),e.exports=p}])},e.exports=r(n(7799))},3143:function(e){var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([function(e,t,n){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,e.exports=r},function(e,t,n){var r=n(2),i=n(8),a=n(9);function o(e,t,n){r.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=e,this.target=t}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(e){if(this.source===e)return this.target;if(this.target===e)return this.source;throw"Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(e,t){for(var n=this.getOtherEnd(e),r=t.getGraphManager().getRoot();;){if(n.getOwner()==t)return n;if(n.getOwner()==r)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var e=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),e),this.isOverlapingSourceAndTarget||(this.lengthX=e[0]-e[2],this.lengthY=e[1]-e[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},e.exports=o},function(e,t,n){e.exports=function(e){this.vGraphObject=e}},function(e,t,n){var r=n(2),i=n(10),a=n(13),o=n(0),s=n(16),l=n(4);function u(e,t,n,o){null==n&&null==o&&(o=t),r.call(this,o),null!=e.graphManager&&(e=e.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=e,this.rect=null!=n&&null!=t?new a(t.x,t.y,n.width,n.height):new a}for(var c in u.prototype=Object.create(r.prototype),r)u[c]=r[c];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(e){this.rect.width=e},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(e){this.rect.height=e},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new l(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new l(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.prototype.setRect=function(e,t){this.rect.x=e.x,this.rect.y=e.y,this.rect.width=t.width,this.rect.height=t.height},u.prototype.setCenter=function(e,t){this.rect.x=e-this.rect.width/2,this.rect.y=t-this.rect.height/2},u.prototype.setLocation=function(e,t){this.rect.x=e,this.rect.y=t},u.prototype.moveBy=function(e,t){this.rect.x+=e,this.rect.y+=t},u.prototype.getEdgeListToNode=function(e){var t=[],n=this;return n.edges.forEach((function(r){if(r.target==e){if(r.source!=n)throw"Incorrect edge source!";t.push(r)}})),t},u.prototype.getEdgesBetween=function(e){var t=[],n=this;return n.edges.forEach((function(r){if(r.source!=n&&r.target!=n)throw"Incorrect edge source and/or target";r.target!=e&&r.source!=e||t.push(r)})),t},u.prototype.getNeighborsList=function(){var e=new Set,t=this;return t.edges.forEach((function(n){if(n.source==t)e.add(n.target);else{if(n.target!=t)throw"Incorrect incidency!";e.add(n.source)}})),e},u.prototype.withChildren=function(){var e=new Set;if(e.add(this),null!=this.child)for(var t=this.child.getNodes(),n=0;nt&&(this.rect.x-=(this.labelWidth-t)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(e){var t=this.rect.x;t>o.WORLD_BOUNDARY?t=o.WORLD_BOUNDARY:t<-o.WORLD_BOUNDARY&&(t=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var r=new l(t,n),i=e.inverseTransformPoint(r);this.setLocation(i.x,i.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},e.exports=u},function(e,t,n){function r(e,t){null==e&&null==t?(this.x=0,this.y=0):(this.x=e,this.y=t)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(e){this.x=e},r.prototype.setY=function(e){this.y=e},r.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},e.exports=r},function(e,t,n){var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),l=n(1),u=n(13),c=n(12),h=n(11);function d(e,t,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=e,null!=t&&t instanceof o?this.graphManager=t:null!=t&&t instanceof Layout&&(this.graphManager=t.graphManager)}for(var p in d.prototype=Object.create(r.prototype),r)d[p]=r[p];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(e,t,n){if(null==t&&null==n){var r=e;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=e;if(!(this.getNodes().indexOf(t)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(t.owner!=n.owner||t.owner!=this)throw"Both owners must be this graph!";return t.owner!=n.owner?null:(i.source=t,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),t.edges.push(i),n!=t&&n.edges.push(i),i)},d.prototype.remove=function(e){var t=e;if(e instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=t.edges.slice(),r=n.length,i=0;i-1&&c>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(c,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},d.prototype.updateLeftTop=function(){for(var e,t,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,l=0;l(e=u.getTop())&&(r=e),a>(t=u.getLeft())&&(a=t)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new c(this.left,this.top))},d.prototype.updateBounds=function(e){for(var t,n,r,a,o,s=i.MAX_VALUE,l=-i.MAX_VALUE,c=i.MAX_VALUE,h=-i.MAX_VALUE,d=this.nodes,p=d.length,g=0;g(t=f.getLeft())&&(s=t),l<(n=f.getRight())&&(l=n),c>(r=f.getTop())&&(c=r),h<(a=f.getBottom())&&(h=a)}var v=new u(s,c,l-s,h-c);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=d[0].getParent().paddingLeft?d[0].getParent().paddingLeft:this.margin,this.left=v.x-o,this.right=v.x+v.width+o,this.top=v.y-o,this.bottom=v.y+v.height+o},d.calculateBounds=function(e){for(var t,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,l=i.MAX_VALUE,c=-i.MAX_VALUE,h=e.length,d=0;d(t=p.getLeft())&&(o=t),s<(n=p.getRight())&&(s=n),l>(r=p.getTop())&&(l=r),c<(a=p.getBottom())&&(c=a)}return new u(o,l,s-o,c-l)},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var e=0,t=this.nodes,n=t.length,r=0;r=this.nodes.length){var l=0;i.forEach((function(t){t.owner==e&&l++})),l==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},e.exports=d},function(e,t,n){var r,i=n(1);function a(e){r=n(5),this.layout=e,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var e=this.layout.newGraph(),t=this.layout.newNode(null),n=this.add(e,t);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(e,t,n,r,i){if(null==n&&null==r&&null==i){if(null==e)throw"Graph is null!";if(null==t)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),null!=e.parent)throw"Already has a parent!";if(null!=t.child)throw"Already has a child!";return e.parent=t,t.child=e,e}i=n,n=e;var a=(r=t).getOwner(),o=i.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(e){if(e instanceof r){var t=e;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(t.getEdges())).length,s=0;s=t.getRight()?n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight()):t.getX()<=e.getX()&&t.getRight()>=e.getRight()&&(n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight())),e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()?n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()):t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()&&(n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()));var a=Math.abs((t.getCenterY()-e.getCenterY())/(t.getCenterX()-e.getCenterX()));t.getCenterY()===e.getCenterY()&&t.getCenterX()===e.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]o)return n[0]=r,n[1]=l,n[2]=a,n[3]=b,!1;if(ia)return n[0]=s,n[1]=i,n[2]=y,n[3]=o,!1;if(ra?(n[0]=c,n[1]=h,_=!0):(n[0]=u,n[1]=l,_=!0):D===N&&(r>a?(n[0]=s,n[1]=l,_=!0):(n[0]=d,n[1]=h,_=!0)),-C===N?a>r?(n[2]=m,n[3]=b,T=!0):(n[2]=y,n[3]=v,T=!0):C===N&&(a>r?(n[2]=f,n[3]=v,T=!0):(n[2]=x,n[3]=b,T=!0)),_&&T)return!1;if(r>a?i>o?(A=this.getCardinalDirection(D,N,4),L=this.getCardinalDirection(C,N,2)):(A=this.getCardinalDirection(-D,N,3),L=this.getCardinalDirection(-C,N,1)):i>o?(A=this.getCardinalDirection(-D,N,1),L=this.getCardinalDirection(-C,N,3)):(A=this.getCardinalDirection(D,N,2),L=this.getCardinalDirection(C,N,4)),!_)switch(A){case 1:S=l,k=r+-g/N,n[0]=k,n[1]=S;break;case 2:k=d,S=i+p*N,n[0]=k,n[1]=S;break;case 3:S=h,k=r+g/N,n[0]=k,n[1]=S;break;case 4:k=c,S=i+-p*N,n[0]=k,n[1]=S}if(!T)switch(L){case 1:I=v,M=a+-E/N,n[2]=M,n[3]=I;break;case 2:M=x,I=o+w*N,n[2]=M,n[3]=I;break;case 3:I=b,M=a+E/N,n[2]=M,n[3]=I;break;case 4:M=m,I=o+-w*N,n[2]=M,n[3]=I}}return!1},i.getCardinalDirection=function(e,t,n){return e>t?n:1+n%4},i.getIntersection=function(e,t,n,i){if(null==i)return this.getIntersection2(e,t,n);var a,o,s,l,u,c,h,d=e.x,p=e.y,g=t.x,f=t.y,v=n.x,y=n.y,m=i.x,b=i.y;return 0==(h=(a=f-p)*(l=v-m)-(o=b-y)*(s=d-g))?null:new r((s*(c=m*y-v*b)-l*(u=g*p-d*f))/h,(o*u-a*c)/h)},i.angleOfVector=function(e,t,n,r){var i=void 0;return e!==n?(i=Math.atan((r-t)/(n-e)),n0?1:e<0?-1:0},r.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},r.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},e.exports=r},function(e,t,n){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n0&&t;){for(s.push(u[0]);s.length>0&&t;){var c=s[0];s.splice(0,1),o.add(c);var h=c.getEdges();for(a=0;a-1&&u.splice(f,1)}o=new Set,l=new Map}else e=[]}return e},d.prototype.createDummyNodesForBendpoints=function(e){for(var t=[],n=e.source,r=this.graphManager.calcLowestCommonAncestor(e.source,e.target),i=0;i0){for(var i=this.edgeToDummyNodes.get(n),a=0;a=0&&t.splice(h,1),c.getNeighborsList().forEach((function(e){if(n.indexOf(e)<0){var t=r.get(e)-1;1==t&&l.push(e),r.set(e,t)}}))}n=n.concat(l),1!=t.length&&2!=t.length||(i=!0,a=t[0])}return a},d.prototype.setGraphManager=function(e){this.graphManager=e},e.exports=d},function(e,t,n){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},e.exports=r},function(e,t,n){var r=n(4);function i(e,t){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(e){this.lworldExtX=e},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(e){this.lworldExtY=e},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},i.prototype.transformX=function(e){var t=0,n=this.lworldExtX;return 0!=n&&(t=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/n),t},i.prototype.transformY=function(e){var t=0,n=this.lworldExtY;return 0!=n&&(t=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/n),t},i.prototype.inverseTransformX=function(e){var t=0,n=this.ldeviceExtX;return 0!=n&&(t=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/n),t},i.prototype.inverseTransformY=function(e){var t=0,n=this.ldeviceExtY;return 0!=n&&(t=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/n),t},i.prototype.inverseTransformPoint=function(e){return new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y))},e.exports=i},function(e,t,n){var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function l(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},l.prototype.calcIdealEdgeLengths=function(){for(var e,t,n,r,o,s,l=this.getGraphManager().getAllEdges(),u=0;ui.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(e>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},l.prototype.calcSpringForces=function(){for(var e,t=this.getAllEdges(),n=0;n0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,e=0;e(l=t.getEstimatedSize()*this.gravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i,e.gravitationForceY=-this.gravityConstant*a):(o>(l=t.getEstimatedSize()*this.compoundGravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,e.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},l.prototype.isConverged=function(){var e,t=!1;return this.totalIterations>this.maxIterations/3&&(t=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),e=this.totalDisplacement=s.length||u>=s[0].length))for(var c=0;ce}}]),e}();e.exports=a},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sequence1=t,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=t.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o=0;n--){var r=this.listeners[n];r.event===e&&r.callback===t&&this.listeners.splice(n,1)}},i.emit=function(e,t){for(var n=0;n{n.d(t,{diagram:()=>lc});var r=n(5950);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var p="undefined"==typeof window?null:window,g=p?p.navigator:null;p&&p.document;var f=i(""),v=i({}),y=i((function(){})),m="undefined"==typeof HTMLElement?"undefined":i(HTMLElement),b=function(e){return e&&e.instanceString&&w(e.instanceString)?e.instanceString():null},x=function(e){return null!=e&&i(e)==f},w=function(e){return null!=e&&i(e)===y},E=function(e){return!C(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},_=function(e){return null!=e&&i(e)===v&&!E(e)&&e.constructor===Object},T=function(e){return null!=e&&i(e)===i(1)&&!isNaN(e)},D=function(e){return"undefined"===m?void 0:null!=e&&e instanceof HTMLElement},C=function(e){return N(e)||A(e)},N=function(e){return"collection"===b(e)&&e._private.single},A=function(e){return"collection"===b(e)&&!e._private.single},L=function(e){return"core"===b(e)},k=function(e){return"stylesheet"===b(e)},S=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},M=function(e){return function(e){return null!=e&&i(e)===v}(e)&&w(e.then)},I=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},U=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n=t||n<0||h&&e-u>=a}function f(){var e=J();if(g(e))return v(e);s=setTimeout(f,function(e){var n=t-(e-l);return h?me(n,a-(e-u)):n}(e))}function v(e){return s=void 0,d&&r?p(e):(r=i=void 0,o)}function y(){var e=J(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(f,t),c?p(e):o}(l);if(h)return clearTimeout(s),s=setTimeout(f,t),p(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=ve(t)||0,W(n)&&(c=!!n.leading,a=(h="maxWait"in n)?ye(ve(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(J())},y},xe=p?p.performance:null,we=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},Ee=function(){if(p){if(p.requestAnimationFrame)return function(e){p.requestAnimationFrame(e)};if(p.mozRequestAnimationFrame)return function(e){p.mozRequestAnimationFrame(e)};if(p.webkitRequestAnimationFrame)return function(e){p.webkitRequestAnimationFrame(e)};if(p.msRequestAnimationFrame)return function(e){p.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(we())}),1e3/60)}}(),_e=function(e){return Ee(e)},Te=we,De=9261,Ce=5381,Ne=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De;!(t=e.next()).done;)n=65599*n+t.value|0;return n},Ae=function(e){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:De)+e|0},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ce;return(t<<5)+t+e|0},ke=function(e){return 2097152*e[0]+e[1]},Se=function(e,t){return[Ae(e[0],t[0]),Le(e[1],t[1])]},Me=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return Ne({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},Qe=function(e){e.splice(0,e.length)},Je=function(e,t,n){return n&&(t=R(n,t)),e[t]},et=function(e,t,n,r){n&&(t=R(n,t)),e[t]=r},tt="undefined"!=typeof Map?Map:function(){function e(){a(this,e),this._obj={}}return s(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),nt=function(){function e(t){if(a(this,e),this._obj=Object.create(null),this.size=0,null!=t){var n;n=null!=t.instanceString&&t.instanceString()===this.instanceString()?t.toArray():t;for(var r=0;r2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&L(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new rt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.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(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];E(t.classes)?l=t.classes:x(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);in;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;af;0<=f?++d:--d)v.push(a(e,r));return v},g=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},f=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i0;){var E=y.pop(),T=f(E),D=E.id();if(h[D]=T,T!==1/0)for(var C=E.neighborhood().intersect(p),N=0;N0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},dt={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t0;){if(u=(l=f.pop()).id(),v.delete(u),w++,u===h){for(var E=[],_=i,T=h,D=m[T];E.unshift(_),null!=D&&E.unshift(D),null!=(_=y[T]);)D=m[T=_.id()];return{found:!0,distance:d[u],path:this.spawn(E),steps:w}}g[u]=!0;for(var C=l._private.edges,N=0;NN&&(p[C]=N,y[C]=D,m[C]=w),!i){var A=D*u+T;!i&&p[A]>N&&(p[A]=N,y[A]=T,m[A]=w)}}}for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=m(e);;){if(null==i)return t.spawn();var o=y(i),l=o.edge,u=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=l&&r.unshift(l),i=u}return s.spawn(r)},hasNegativeWeightCycle:g,negativeWeightCycles:f}}},bt=Math.sqrt(2),xt=function(e,t,n){0===n.length&&Xe("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===o&&t[d]===s||t[h]===s&&t[d]===o)&&l.splice(u,1)}for(var p=0;pr;){var i=Math.floor(Math.random()*t.length);t=xt(i,e,t),n--}return t},Et={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/bt);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},Lt=function(e,t){return Math.sqrt(kt(e,t))},kt=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},St=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Rt=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Bt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Ft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},zt=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var o=u(a,4);t=o[0],n=o[1],r=o[2],i=o[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Gt=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Yt=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Vt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Xt=function(e,t){return Vt(e,t.x1,t.y1)&&Vt(e,t.x2,t.y2)},Ut=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?un(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,g=c!==d;if(p){var f=r-d-o;if((s=nn(e,t,n,r,n-h+c-o,f,n+h-c+o,f,!1)).length>0)return s}if(g){var v=n+h+o;if((s=nn(e,t,n,r,v,r-d+c-o,v,r+d-c+o,!1)).length>0)return s}if(p){var y=r+d+o;if((s=nn(e,t,n,r,n-h+c-o,y,n+h-c+o,y,!1)).length>0)return s}if(g){var m=n-h-o;if((s=nn(e,t,n,r,m,r-d+c-o,m,r+d-c+o,!1)).length>0)return s}var b=n-h+c,x=r-d+c;if((l=en(e,t,n,r,b,x,c+o)).length>0&&l[0]<=b&&l[1]<=x)return[l[0],l[1]];var w=n+h-c,E=r-d+c;if((l=en(e,t,n,r,w,E,c+o)).length>0&&l[0]>=w&&l[1]<=E)return[l[0],l[1]];var _=n+h-c,T=r+d-c;if((l=en(e,t,n,r,_,T,c+o)).length>0&&l[0]>=_&&l[1]>=T)return[l[0],l[1]];var D=n-h+c,C=r+d-c;return(l=en(e,t,n,r,D,C,c+o)).length>0&&l[0]<=D&&l[1]>=C?[l[0],l[1]]:[]},jt=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),h=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},qt=function(e,t,n,r,i,a,o,s,l){var u=Math.min(n,o,i)-l,c=Math.max(n,o,i)+l,h=Math.min(r,s,a)-l,d=Math.max(r,s,a)+l;return!(ec||td)},Ht=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g,f,v,y,m,b,x,w=[];u=9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,c=3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,h=1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,0===(l=1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s)&&(l=1e-5),f=-27*(h/=l)+(u/=l)*(9*(c/=l)-u*u*2),p=(g=(3*c-u*u)/9)*g*g+(f/=54)*f,(d=w)[1]=0,b=u/3,p>0?(y=(y=f+Math.sqrt(p))<0?-Math.pow(-y,1/3):Math.pow(y,1/3),m=(m=f-Math.sqrt(p))<0?-Math.pow(-m,1/3):Math.pow(m,1/3),d[0]=-b+y+m,b+=(y+m)/2,d[4]=d[2]=-b,b=Math.sqrt(3)*(-m+y)/2,d[3]=b,d[5]=-b):(d[5]=d[3]=0,0===p?(x=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),d[0]=2*x-b,d[4]=d[2]=-(x+b)):(v=(g=-g)*g*g,v=Math.acos(f/Math.sqrt(v)),x=2*Math.sqrt(g),d[0]=-b+x*Math.cos(v/3),d[2]=-b+x*Math.cos((v+2*Math.PI)/3),d[4]=-b+x*Math.cos((v+4*Math.PI)/3)));for(var E=[],_=0;_<6;_+=2)Math.abs(w[_+1])<1e-7&&w[_]>=0&&w[_]<=1&&E.push(w[_]);E.push(1),E.push(0);for(var T,D,C,N=-1,A=0;A=0?Cl?(e-i)*(e-i)+(t-a)*(t-a):u-h},$t=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Kt=function(e,t,n,r,i,a,o,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,d=Math.cos(-u),p=Math.sin(-u),g=0;g0){var f=Qt(c,-l);h=Zt(f)}else h=c;return $t(e,t,h)},Zt=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c=0&&g<=1&&v.push(g),f>=0&&f<=1&&v.push(f),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},tn=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},nn=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,g=s-a,f=h*d-g*u,v=c*d-p*u,y=g*c-h*p;if(0!==y){var m=f/y,b=v/y,x=-.001;return x<=m&&m<=1.001&&x<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===f||0===v?tn(e,n,o)===o?[o,s]:tn(e,n,i)===i?[i,a]:tn(i,o,n)===n?[n,r]:[]:[]},rn=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g=[],f=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0){var m=Qt(f,-s);u=Zt(m)}else u=f}else u=n;for(var b=0;bu&&(u=t)},h=function(e){return l[e]},d=0;d0?x.edgesTo(b)[0]:b.edgesTo(x)[0];var w=r(m);b=b.id(),d[b]>d[v]+w&&(d[b]=d[v]+w,p.nodes.indexOf(b)<0?p.push(b):p.updateItem(b),u[b]=0,l[b]=[]),d[b]==d[v]+w&&(u[b]=u[b]+u[v],l[b].push(v))}else for(var E=0;E0;){for(var C=n.pop(),N=0;N0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return b=function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:kn,o=r,s=0;s=2?Rn(e,t,n,0,In,On):Rn(e,t,n,0,Mn)},squaredEuclidean:function(e,t,n){return Rn(e,t,n,0,In)},manhattan:function(e,t,n){return Rn(e,t,n,0,Mn)},max:function(e,t,n){return Rn(e,t,n,-1/0,Pn)}};function Fn(e,t,n,r,i,a){var o;return o=w(e)?e:Bn[e]||Bn.euclidean,0===t&&w(e)?o(i,a):o(t,n,r,i,a)}Bn["squared-euclidean"]=Bn.squaredEuclidean,Bn.squaredeuclidean=Bn.squaredEuclidean;var zn=Ke({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Gn=function(e){return zn(e)},Yn=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return Fn(e,r.length,a,(function(e){return r[e](t)}),o,s)},Vn=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;ln)return!1;return!0},Hn=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,g=t[o],f=t[r[o]];p="dendrogram"===i.mode?{left:g,right:f,key:g.key}:{value:g.value.concat(f.value),key:g.key},e[g.index]=p,e.splice(f.index,1),t[g.key]=p;for(var v=0;vn[f.key][y.key]&&(a=n[f.key][y.key])):"max"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]o&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n0&&e.splice(0,t)):e=e.slice(t,n);for(var a=0,o=e.length-1;o>=0;o--){var s=e[o];i?isFinite(s)||(e[o]=-1/0,a++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+a]:(e[u-1+a]+e[u+a])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i=N?(A=N,N=k,L=S):k>A&&(A=k);for(var M=0;M0?1:0;_[E%u.minIterations*t+F]=z,B+=z}if(B>0&&(E>=u.minIterations-1||E==u.maxIterations-1)){for(var G=0,Y=0;Y0&&r.push(i);return r}(t,a,o),U=function(e,t,n){for(var r=cr(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return cr(e,t,n)}(t,r,X),j={},q=0;q1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(r&&n)if(s){if(i&&r!=i)return d;i=r}else{if(i&&r!=i&&n!=i)return d;i||(i=r)}else i||(i=l[0].id());var p=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=h[t][0],i!=(r=h[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],f=[];for(f=p(i);1!=f.length;)0==c[f[0]].length?(g.unshift(l.getElementById(f.shift())),g.unshift(l.getElementById(f.shift()))):f=p(f.shift()).concat(f);for(var v in g.unshift(l.getElementById(f.shift())),c)if(c[v].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},fr=function(){var e=this,t={},n=0,r=0,i=[],a=[],o={},s=function s(l,u,c){l===c&&(r+=1),t[u]={id:n,low:n++,cutVertex:!1};var h,d,p,g,f=e.getElementById(u).connectedEdges().intersection(e);0===f.size()?i.push(e.spawn(e.getElementById(u))):f.forEach((function(n){h=n.source().id(),d=n.target().id(),(p=h===u?d:h)!==c&&(g=n.id(),o[g]||(o[g]=!0,a.push({x:u,y:p,edge:n})),p in t?t[u].low=Math.min(t[u].low,t[p].id):(s(l,p,u),t[u].low=Math.min(t[u].low,t[p].low),t[u].id<=t[p].low&&(t[u].cutVertex=!0,function(n,r){for(var o=a.length-1,s=[],l=e.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(i.filter((function(e){return e.isLoop()}))):l.merge(i)}))})),i.push(l)}(u,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,s(n,n),t[n].cutVertex=r>1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:i}},vr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:a,components:r}},yr={};[ot,ht,dt,gt,vt,mt,Et,pn,fn,yn,bn,Ln,Jn,sr,dr,gr,{hopcroftTarjanBiconnected:fr,htbc:fr,htb:fr,hopcroftTarjanBiconnectedComponents:fr},{tarjanStronglyConnected:vr,tsc:vr,tscc:vr,tarjanStronglyConnectedComponents:vr}].forEach((function(e){U(yr,e)}));var mr=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};mr.prototype={fulfill:function(e){return br(this,1,"fulfillValue",e)},reject:function(e){return br(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new mr;return n.onFulfilled.push(Er(e,r,"fulfill")),n.onRejected.push(Er(t,r,"reject")),xr(n),r.proxy}};var br=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,xr(e)),e},xr=function(e){1===e.state?wr(e,"onFulfilled",e.fulfillValue):2===e.state&&wr(e,"onRejected",e.rejectReason)},wr=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n-1},Zr.prototype.set=function(e,t){var n=this.__data__,r=$r(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Qr=Zr,Jr=Vr(Q,"Map"),ei=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function ti(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){E(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,i=[],a=0,o=n.length;a0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};Ai.className=Ai.classNames=Ai.classes;var Li={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:F,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Li.variable="(?:[\\w-.]|(?:\\\\"+Li.metaChar+"))+",Li.className="(?:[\\w-]|(?:\\\\"+Li.metaChar+"))+",Li.value=Li.string+"|"+Li.number,Li.id=Li.variable,function(){var e,t,n;for(e=Li.comparatorOp.split("|"),n=0;n=0||"="!==t&&(Li.comparatorOp+="|\\!"+t)}();var ki=20,Si=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*X(e,t)}(e.selector,t.selector)})),Mi=function(){for(var e,t={},n=0;n0&&u.edgeCount>0)return je("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return je("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&je("The selector `"+e+"` 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},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return x(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(i,a){return i.checks.reduce((function(o,s,l){return o+(a===i&&0===l?"$":"")+function(i,a){var o=i.type,s=i.value;switch(o){case 0:var l=e(s);return l.substring(0,l.length-1);case 3:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case 5:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case 4:return"["+i.field+"]";case 6:var p=i.operator;return"[["+i.field+n(e(p))+t(s)+"]]";case 7:return s;case 8:return"#"+s;case 9:return"."+s;case 17:case 15:return r(i.parent,a)+n(">")+r(i.child,a);case 18:case 16:return r(i.ancestor,a)+" "+r(i.descendant,a);case 19:var g=r(i.left,a),f=r(i.subject,a),v=r(i.right,a);return g+(g.length>0?" ":"")+f+v;case ki:return""}}(s,a)}),"")},i="",a=0;a1&&a=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function Qi(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1],Qi)},Ki.forEachUp=function(e){return Zi(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ji)},Ki.forEachUpAndDown=function(e){return Zi(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ea)},Ki.ancestors=Ki.parents,(Hi=Wi={data:Ci.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:Ci.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Ci.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Ci.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Ci.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Ci.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Hi.data,Hi.removeAttr=Hi.removeData;var ta,na,ra=Wi,ia={};function aa(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;ot})),minIndegree:oa("indegree",(function(e,t){return et})),minOutdegree:oa("outdegree",(function(e,t){return et}))}),U(ia,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===e?i:i[e]}for(var d=0;d0,v=f;f&&(g=g[0]);var y=v?g.position():{x:0,y:0};void 0!==t?p.position(e,t+y[e]):void 0!==i&&p.position({x:i.x+y.x,y:i.y+y.y})}}else if(!a)return;return this}},ta.modelPosition=ta.point=ta.position,ta.modelPositions=ta.points=ta.positions,ta.renderedPoint=ta.renderedPosition,ta.relativePoint=ta.relativePosition;var ua,ca,ha=na;ua=ca={},ca.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},ca.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},ca.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,g=y(i.height.val-a.h,u,c),f=g.biasDiff,v=g.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-f+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},ga=function(e,t){return null==t?e:pa(e,t.x1,t.y1,t.x2,t.y2)},fa=function(e,t,n){return Je(e,t,n)},va=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Ft(u,1),pa(e,u.x1,u.y1,u.x2,u.y2)}}},ya=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=fa(a,"labelWidth",n),p=fa(a,"labelHeight",n),g=fa(a,"labelX",n),f=fa(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,_=p,T=d,D=T/2,C=_/2;if(m)o=g-D,s=g+D,l=f-C,u=f+C;else{switch(c.value){case"left":o=g-T,s=g;break;case"center":o=g-D,s=g+D;break;case"right":o=g,s=g+T}switch(h.value){case"top":l=f-_,u=f;break;case"center":l=f-C,u=f+C;break;case"bottom":l=f,u=f+_}}o+=v-Math.max(x,w)-E-2,s+=v+Math.max(x,w)+E+2,l+=y-Math.max(x,w)-E-2,u+=y+Math.max(x,w)+E+2;var N=n||"main",A=i.labelBounds,L=A[N]=A[N]||{};L.x1=o,L.y1=l,L.x2=s,L.y2=u,L.w=s-o,L.h=u-l;var k=m&&"autorotate"===b.strValue,S=null!=b.pfValue&&0!==b.pfValue;if(k||S){var M=k?fa(i.rstyle,"labelAngle",n):b.pfValue,I=Math.cos(M),O=Math.sin(M),P=(o+s)/2,R=(l+u)/2;if(!m){switch(c.value){case"left":P=s;break;case"right":P=o}switch(h.value){case"top":R=u;break;case"bottom":R=l}}var B=function(e,t){return{x:(e-=P)*I-(t-=R)*O+P,y:e*O+t*I+R}},F=B(o,l),z=B(o,u),G=B(s,l),Y=B(s,u);o=Math.min(F.x,z.x,G.x,Y.x),s=Math.max(F.x,z.x,G.x,Y.x),l=Math.min(F.y,z.y,G.y,Y.y),u=Math.max(F.y,z.y,G.y,Y.y)}var V=N+"Rot",X=A[V]=A[V]||{};X.x1=o,X.y1=l,X.x2=s,X.y2=u,X.w=s-o,X.h=u-l,pa(e,o,l,s,u),pa(i.labelBounds.all,o,l,s,u)}return e}},ma=function(e){var t=0,n=function(e){return(e?1:0)<0&&a>0){var o=t.pstyle("outline-offset").value,s=t.pstyle("shape").value,l=a+o,u=(e.w+2*l)/e.w,c=(e.h+2*l)/e.h,h=0;["diamond","pentagon","round-triangle"].includes(s)?(u=(e.w+2.4*l)/e.w,h=-l/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(s)?u=(e.w+2.4*l)/e.w:"star"===s?(u=(e.w+2.8*l)/e.w,c=(e.h+2.6*l)/e.h,h=-l/3.8):"triangle"===s?(u=(e.w+2.8*l)/e.w,c=(e.h+2.4*l)/e.h,h=-l/1.4):"vee"===s&&(u=(e.w+4.4*l)/e.w,c=(e.h+3.8*l)/e.h,h=.5*-l);var d=e.h*c-e.h,p=e.w*u-e.w;if(zt(e,[Math.ceil(d/2),Math.ceil(p/2)]),0!==h){var g=(r=h,{x1:(n=e).x1+0,x2:n.x2+0,y1:n.y1+r,y2:n.y2+r,w:n.w,h:n.h});Rt(e,g)}}}}(d,e)}else if(f&&t.includeEdges)if(c&&!h){var N=e.pstyle("curve-style").strValue;if(n=Math.min(v.srcX,v.midX,v.tgtX),r=Math.max(v.srcX,v.midX,v.tgtX),i=Math.min(v.srcY,v.midY,v.tgtY),a=Math.max(v.srcY,v.midY,v.tgtY),pa(d,n-=_,i-=_,r+=_,a+=_),"haystack"===N){var A=v.haystackPts;if(A&&2===A.length){if(n=A[0].x,i=A[0].y,n>(r=A[1].x)){var L=n;n=r,r=L}if(i>(a=A[1].y)){var k=i;i=a,a=k}pa(d,n-_,i-_,r+_,a+_)}}else if("bezier"===N||"unbundled-bezier"===N||N.endsWith("segments")||N.endsWith("taxi")){var S;switch(N){case"bezier":case"unbundled-bezier":S=v.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":S=v.linePts}if(null!=S)for(var M=0;M(r=P.x)){var R=n;n=r,r=R}if((i=O.y)>(a=P.y)){var B=i;i=a,a=B}pa(d,n-=_,i-=_,r+=_,a+=_)}if(c&&t.includeEdges&&f&&(va(d,e,"mid-source"),va(d,e,"mid-target"),va(d,e,"source"),va(d,e,"target")),c&&"yes"===e.pstyle("ghost").value){var F=e.pstyle("ghost-offset-x").pfValue,z=e.pstyle("ghost-offset-y").pfValue;pa(d,d.x1+F,d.y1+z,d.x2+F,d.y2+z)}var G=p.bodyBounds=p.bodyBounds||{};Gt(G,d),zt(G,y),Ft(G,1),c&&(n=d.x1,r=d.x2,i=d.y1,a=d.y2,pa(d,n-E,i-E,r+E,a+E));var Y=p.overlayBounds=p.overlayBounds||{};Gt(Y,d),zt(Y,y),Ft(Y,1);var V=p.labelBounds=p.labelBounds||{};null!=V.all?((l=V.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):V.all=Pt(),c&&t.includeLabels&&(t.includeMainLabels&&ya(d,e,null),f&&(t.includeSourceLabels&&ya(d,e,"source"),t.includeTargetLabels&&ya(d,e,"target")))}return d.x1=da(d.x1),d.y1=da(d.y1),d.x2=da(d.x2),d.y2=da(d.y2),d.w=da(d.x2-d.x1),d.h=da(d.y2-d.y1),d.w>0&&d.h>0&&b&&(zt(d,y),Ft(d,1)),d}(e,wa),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=Pt(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?ga(n,r.overlayBounds):ga(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?ga(n,r.labelBounds.all):(t.includeMainLabels&&ga(n,r.labelBounds.mainRot),t.includeSourceLabels&&ga(n,r.labelBounds.sourceRot),t.includeTargetLabels&&ga(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},wa={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,includeOutlines:!0,useCache:!0},Ea=ma(wa),_a=Ke(wa);ca.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=Pt();var n=_a(e=e||wa),r=this;if(r.cy().styleEnabled())for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:Fa,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Ga.removeAllListeners=function(){return this.removeListener("*")},Ga.emit=Ga.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,E(t)||(t=[t]),function(e,t,n){if("event"!==b(n))if(_(n))t(e,Va(e,n));else for(var r=E(n)?n:n.split(/\s+/),i=0;i1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&x(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=this,i=0;ir&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=this,a=0;a=0&&i1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=!1,i=n.style();if(_(e)){var a=e;i.applyBypass(this,a,r),this.emitAndNotify("style")}else if(x(e)){if(void 0===t){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}i.applyBypass(this,e,t,r),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?i.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=!1,r=t.style(),i=this;if(void 0===e)for(var a=0;a0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),go.neighbourhood=go.neighborhood,go.closedNeighbourhood=go.closedNeighborhood,go.openNeighbourhood=go.openNeighborhood,U(go,{source:$i((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:$i((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:mo({attr:"source"}),targets:mo({attr:"target"})}),U(go,{edgesWith:$i(bo(),"edgesWith"),edgesTo:$i(bo({thisIsSrc:!0}),"edgesTo")}),U(go,{connectedEdges:$i((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),go.componentsOf=go.components;var wo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new tt,a=!1;if(t){if(t.length>0&&_(t[0])&&!N(t[0])){a=!0;for(var o=[],s=new rt,l=0,u=t.length;l0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u0){for(var B=e.length===i.length?i:new wo(a,e),F=0;F0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){var n=i[e.id()];t&&e.removed()||n||(i[e.id()]=!0,e.isNode()?(r.push(e),function(e){for(var t=e._private.edges,n=0;n0&&(e?_.emitAndNotify("remove"):t&&_.emit("remove"));for(var T=0;T=.001?function(t,r){for(var i=0;i<4;++i){var a=d(r,e,n);if(0===a)return r;r-=(h(r,e,n)-t)/a}return r}(t,o):0===l?o:function(t,r,i){var a,o,s=0;do{(a=h(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o}while(Math.abs(a)>1e-7&&++s<10);return o}(t,r,r+i)}(a),t,r)};g.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var f="generateBezier("+[e,t,n,r]+")";return g.toString=function(){return f},g}var Do=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},a=t(n,.5*r,i),o=t(n,.5*r,a),s=t(n,r,o),l=1/6*(i.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(i.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+u*r,n}return function e(t,r,i){var a,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,h=1e-4;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,l.tension=t,l.friction=r,o=(a=null!==i)?(c=e(t,r))/i*.016:.016;s=n(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),Co=function(e,t,n,r){var i=To(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},No={linear:function(e,t,n){return e+(t-e)*n},ease:Co(.25,.1,.25,1),"ease-in":Co(.42,0,1,1),"ease-out":Co(0,0,.58,1),"ease-in-out":Co(.42,0,.58,1),"ease-in-sine":Co(.47,0,.745,.715),"ease-out-sine":Co(.39,.575,.565,1),"ease-in-out-sine":Co(.445,.05,.55,.95),"ease-in-quad":Co(.55,.085,.68,.53),"ease-out-quad":Co(.25,.46,.45,.94),"ease-in-out-quad":Co(.455,.03,.515,.955),"ease-in-cubic":Co(.55,.055,.675,.19),"ease-out-cubic":Co(.215,.61,.355,1),"ease-in-out-cubic":Co(.645,.045,.355,1),"ease-in-quart":Co(.895,.03,.685,.22),"ease-out-quart":Co(.165,.84,.44,1),"ease-in-out-quart":Co(.77,0,.175,1),"ease-in-quint":Co(.755,.05,.855,.06),"ease-out-quint":Co(.23,1,.32,1),"ease-in-out-quint":Co(.86,0,.07,1),"ease-in-expo":Co(.95,.05,.795,.035),"ease-out-expo":Co(.19,1,.22,1),"ease-in-out-expo":Co(1,0,0,1),"ease-in-circ":Co(.6,.04,.98,.335),"ease-out-circ":Co(.075,.82,.165,1),"ease-in-out-circ":Co(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return No.linear;var r=Do(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":Co};function Ao(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function Lo(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function ko(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=Lo(e,i),s=Lo(t,i);if(T(o)&&T(s))return Ao(a,o,s,n,r);if(E(o)&&E(s)){for(var l=[],u=0;u0?("spring"===h&&d.push(o.duration),o.easingImpl=No[h].apply(null,d)):o.easingImpl=No[h]}var p,g=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var f=o.startPosition,v=o.position;if(v&&i&&!e.locked()){var y={};Mo(f.x,v.x)&&(y.x=ko(f.x,v.x,p,g)),Mo(f.y,v.y)&&(y.y=ko(f.y,v.y,p,g)),e.position(y)}var m=o.startPan,b=o.pan,w=a.pan,E=null!=b&&r;E&&(Mo(m.x,b.x)&&(w.x=ko(m.x,b.x,p,g)),Mo(m.y,b.y)&&(w.y=ko(m.y,b.y,p,g)),e.emit("pan"));var _=o.startZoom,T=o.zoom,D=null!=T&&r;D&&(Mo(_,T)&&(a.zoom=Ot(a.minZoom,ko(_,T,p,g),a.maxZoom)),e.emit("zoom")),(E||D)&&e.emit("viewport");var C=o.style;if(C&&C.length>0&&i){for(var N=0;N=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;d.stopped?(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Io(0,h,e),So(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Po={animate:Ci.animate(),animation:Ci.animation(),animated:Ci.animated(),clearQueue:Ci.clearQueue(),delay:Ci.delay(),delayAnimation:Ci.delayAnimation(),stop:Ci.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){Oo(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&_e((function(n){Oo(n,e),t()}))}()}}},Ro={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&N(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Bo=function(e){return x(e)?new Ui(e):e},Fo={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new za(Ro,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Bo(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Bo(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Bo(t),n),this},once:function(e,t,n){return this.emitter().one(e,Bo(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};Ci.eventAliasesOn(Fo);var zo={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};zo.jpeg=zo.jpg;var Go={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n,r=e.name,i=t.extension("layout",r);if(null!=i)return n=x(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(U({},e,{cy:t,eles:n}));Xe("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Xe("A `name` must be specified to make a layout");else Xe("Layout options must be specified to make a layout")}};Go.createLayout=Go.makeLayout=Go.layout;var Yo={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Xo.invalidateDimensions=Xo.resize;var Uo={collection:function(e,t){return x(e)?this.$(e):C(e)?e.collection():E(e)?(t||(t={}),new wo(this,e,t.unique,t.removed)):new wo(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};Uo.elements=Uo.filter=Uo.$;var jo={},qo="t";jo.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r0;if(d||h&&p){var g=void 0;d&&p||d?g=u.properties:p&&(g=u.mappedProperties);for(var f=0;f1&&(v=1),s.color){var w=i.valueMin[0],E=i.valueMax[0],_=i.valueMin[1],D=i.valueMax[1],C=i.valueMin[2],N=i.valueMax[2],A=null==i.valueMin[3]?1:i.valueMin[3],L=null==i.valueMax[3]?1:i.valueMax[3],k=[Math.round(w+(E-w)*v),Math.round(_+(D-_)*v),Math.round(C+(N-C)*v),Math.round(A+(L-A)*v)];n={bypass:i.bypass,name:i.name,value:k,strValue:"rgb("+k[0]+", "+k[1]+", "+k[2]+")"}}else{if(!s.number)return!1;var S=i.valueMin+(i.valueMax-i.valueMin)*v;n=this.parse(i.name,S,i.bypass,d)}if(!n)return f(),!1;n.mapping=i,i=n;break;case o.data:for(var M=i.field.split("."),I=h.data,O=0;O0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},jo.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},jo.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},jo.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!i.triggersBoundsOfParallelBeziers||"curve-style"!==t||"bezier"!==n&&"bezier"!==r||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()})),!i.triggersBoundsOfConnectedEdges||"display"!==t||"none"!==n&&"none"!==r||e.connectedEdges().forEach((function(e){e.dirtyBoundingBoxCache()}))}))},jo.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Ho={applyBypass:function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?a.substr(t.length):""}function s(){n=n.length>r.length?n.substr(r.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var l=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){je("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}t=l[0];var u=l[1];if("core"!==u&&new Ui(u).invalid)je("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();else{var c=l[2],h=!1;n=c;for(var d=[];!n.match(/^\s*$/);){var p=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){je("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),h=!0;break}r=p[0];var g=p[1],f=p[2];this.properties[g]?i.parse(g,f)?(d.push({name:g,val:f}),s()):(je("Skipping property: Invalid property definition in: "+r),s()):(je("Skipping property: Invalid property name in: "+r),s())}if(h){o();break}i.selector(u);for(var v=0;v=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var p=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(e,c[4]);if(!g||g.mapped)return!1;var f=this.parse(e,c[5]);if(!f||f.mapped)return!1;if(g.pfValue===f.pfValue||g.strValue===f.strValue)return je("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(h.color){var v=g.value,y=f.value;if(!(v[0]!==y[0]||v[1]!==y[1]||v[2]!==y[2]||v[3]!==y[3]&&(null!=v[3]&&1!==v[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:g.value,valueMax:f.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var m;if(m=l?t.split(/\s+/):E(t)?t:[t],h.evenMultiple&&m.length%2!=0)return null;for(var b=[],_=[],D=[],C="",N=!1,A=0;A0?" ":"")+L.strValue}return h.validate&&!h.validate(b,_)?null:h.singleEnum&&N?1===b.length&&x(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null:{name:e,value:b,pfValue:D,strValue:C,bypass:n,units:_}}var k,S,M,I=function(){for(var r=0;rh.max||h.strictMax&&t===h.max))return null;var V={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?V.pfValue=t:V.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(V.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(V.pfValue="rad"===P?t:(k=t,Math.PI*k/180)),"%"===P&&(V.pfValue=t/100),V}if(h.propList){var X=[],U=""+t;if("none"===U);else{for(var q=U.split(/\s*,\s*|\s+/),H=0;H255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(M)||function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+Y+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,d=2*i-h;o=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[o,s,l,a]}return t}(M);return $?{name:e,value:$,pfValue:$,strValue:"rgb("+$[0]+","+$[1]+","+$[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var K=I();if(K)return K}for(var Z=h.regexes?h.regexes:[h.regex],Q=0;Q0&&l>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:o=(o=(o=Math.min((s-2*t)/n.w,(l-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:o)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),T(e)?n=e:_(e)&&(n=e.level,null!=e.position?t=_t(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;T(l.x)&&(t.pan.x=l.x,o=!1),T(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(x(e)){var n=e;e=this.mutableElements().filter(n)}else C(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=this.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};rs.centre=rs.center,rs.autolockNodes=rs.autolock,rs.autoungrabifyNodes=rs.autoungrabify;var is={data:Ci.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Ci.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Ci.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Ci.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};is.attr=is.data,is.removeAttr=is.removeData;var as=function(e){var t=this,n=(e=U({},e)).container;n&&!D(n)&&D(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==p&&void 0!==n&&!e.headless,o=e;o.layout=U({name:a?"grid":"null"},o.layout),o.renderer=U({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new wo(this),listeners:[],aniEles:new wo(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:T(o.zoom)?o.zoom:1,pan:{x:_(o.pan)&&T(o.pan.x)?o.pan.x:0,y:_(o.pan)&&T(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom}),l.styleEnabled&&t.setStyle([]);var u=U({},o,o.renderer);t.initRenderer(u),function(e,t){if(e.some(M))return Tr.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(_(e)||E(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=U({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),l.ready=!0,w(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Pt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(C(n.roots))e=n.roots;else if(E(n.roots)){for(var c=[],h=0;h0;){var M=L.shift(),I=A(M,k);if(I)M.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(S);else if(null===I){je("Detected double maximal shift for node `"+M.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}N();var O=0;if(n.avoidOverlap)for(var P=0;P0&&y[0].length<=3?l/2:0),h=2*Math.PI/y[r].length*i;return 0===r&&1===y[0].length&&(c=1),{x:W+c*Math.cos(h),y:$+c*Math.sin(h)}}return{x:W+(i+1-(a+1)/2)*o,y:(r+1)*s}})),this};var ds={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ps(e){this.options=U({},ds,e)}ps.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=Pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l=s.x1+s.w/2,u=s.y1+s.h/2,c=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),h=0,d=0;d1&&t.avoidOverlap){h*=1.75;var v=Math.cos(c)-Math.cos(0),y=Math.sin(c)-Math.sin(0),m=Math.sqrt(h*h/(v*v+y*y));o=Math.max(m,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*c*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l+a,y:u+s}})),this};var gs,fs={fit:!0,padding:30,startAngle:1.5*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(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function vs(e){this.options=U({},fs,e)}vs.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=Pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=o.x1+o.w/2,l=o.y1+o.h/2,u=[],c=0,h=0;h0&&Math.abs(m[0].value-x.value)>=v&&(m=[],y.push(m)),m.push(x)}var w=c+t.minNodeSpacing;if(!t.avoidOverlap){var E=y.length>0&&y[0].length>1,_=(Math.min(o.w,o.h)/2-w)/(y.length+E?1:0);w=Math.min(w,_)}for(var T=0,D=0;D1&&t.avoidOverlap){var L=Math.cos(A)-Math.cos(0),k=Math.sin(A)-Math.sin(0),S=Math.sqrt(w*w/(L*L+k*k));T=Math.max(S,T)}C.r=T,T+=w}if(t.equidistant){for(var M=0,I=0,O=0;O=e.numIter||(Ds(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&a(),_e(t)):(Bs(r,e),s())}();else{for(;u;)u=o(l),l++;Bs(r,e),s()}return this},ms.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},ms.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var bs=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=Pt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0)for(o.graphSet.push(E),u=0;ur.count?0:r.graph},ws=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*i/(f=Math.sqrt(i*i+a*a)),l=u*a/f;else{var u,c=ks(e,i,a),h=ks(t,-1*i,-1*a),d=h.x-c.x,p=h.y-c.y,g=d*d+p*p,f=Math.sqrt(g);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/g)*d/f,l=u*p/f}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},Ls=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},ks=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},Ss=function(e,t){for(var n=0;n1){var g=t.gravity*h/p,f=t.gravity*d/p;c.offsetX+=g,c.offsetY+=f}}}}},Is=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Rs=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(h+=p+t.componentSpacing,c=0,d=0,p=0)}}},Fs={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(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function zs(e){this.options=U({},Fs,e)}zs.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=Pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},d=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=p)l=d,u=p;else if(null!=d&&null==p)l=d,u=Math.ceil(o/l);else if(null==d&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var g=c(),f=h();(g-1)*f>=o?c(g-1):(f-1)*g>=o&&h(f-1)}else for(;u*l=o?h(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(S=0,k++)},I={},O=0;O(r=Wt(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5(r=Ht(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),_=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(w=0;w<_.length;w++){var T=_[w],D=s.arrowShapes[n.pstyle(T.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(D.roughCollide(e,t,E,T.angle,{x:T.x,y:T.y},C,d)&&D.collide(e,t,E,T.angle,{x:T.x,y:T.y},C,d))return v(n),!0}h&&u.length>0&&(y(m),y(b))}function b(e,t,n){return Je(e,t,n)}function x(n,r){var i,a=n._private,o=g;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),h=b(a.rscratch,"labelAngle",r),d=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,f=s.x1-o-d,y=s.x2+o-d,m=s.y1-o-p,x=s.y2+o-p;if(h){var w=Math.cos(h),E=Math.sin(h),_=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},T=_(f,m),D=_(f,x),C=_(y,m),N=_(y,x),A=[T.x+d,T.y+p,C.x+d,C.y+p,N.x+d,N.y+p,D.x+d,D.y+p];if($t(e,t,A))return v(n),!0}else if(Vt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i,a,o=this.getCachedZSortedEles().interactive,s=[],l=Math.min(e,n),u=Math.max(e,n),c=Math.min(t,r),h=Math.max(t,r),d=Pt({x1:e=l,y1:t=c,x2:n=u,y2:r=h}),p=0;p4&&void 0!==arguments[4])||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(function(e,t,n,r,i){var a,o;if(e!==fl?ml(t,e,vl):((o=vl).x=-1*(a=yl).x,o.y=-1*a.y,o.nx=-1*a.nx,o.ny=-1*a.ny,o.ang=a.ang>0?-(Math.PI-a.ang):Math.PI+a.ang),ml(t,n,yl),tl=vl.nx*yl.ny-vl.ny*yl.nx,nl=vl.nx*yl.nx-vl.ny*-yl.ny,al=Math.asin(Math.max(-1,Math.min(1,tl))),Math.abs(al)<1e-6)return Js=t.x,el=t.y,void(sl=ul=0);rl=1,il=!1,nl<0?al<0?al=Math.PI+al:(al=Math.PI-al,rl=-1,il=!0):al>0&&(rl=-1,il=!0),ul=void 0!==t.radius?t.radius:r,ol=al/2,cl=Math.min(vl.len/2,yl.len/2),i?(ll=Math.abs(Math.cos(ol)*ul/Math.sin(ol)))>cl?(ll=cl,sl=Math.abs(ll*Math.sin(ol)/Math.cos(ol))):sl=ul:(ll=Math.min(cl,ul),sl=Math.abs(ll*Math.sin(ol)/Math.cos(ol))),pl=t.x+yl.nx*ll,gl=t.y+yl.ny*ll,Js=pl-yl.ny*sl*rl,el=gl+yl.nx*sl*rl,hl=t.x+vl.nx*ll,dl=t.y+vl.ny*ll,fl=t}(e,t,n,r,i),{cx:Js,cy:el,radius:sl,startX:hl,startY:dl,stopX:pl,stopY:gl,startAngle:vl.ang+Math.PI/2*rl,endAngle:yl.ang-Math.PI/2*rl,counterClockwise:il})}var wl={};function El(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},N=C(T,E),A=C(D,_),L=!1;"auto"===v?f=Math.abs(N)>Math.abs(A)?i:r:v===l||v===s?(f=r,L=!0):v!==a&&v!==o||(f=i,L=!0);var k,S=f===r,M=S?A:N,I=S?D:T,O=At(I),P=!1;L&&(m||x)||!(v===s&&I<0||v===l&&I>0||v===a&&I>0||v===o&&I<0)||(M=(O*=-1)*Math.abs(M),P=!0);var R=function(e){return Math.abs(e)=Math.abs(M)},B=R(k=m?(b<0?1+b:b)*M:(b<0?M:0)+b*O),F=R(Math.abs(M)-Math.abs(k));if(!B&&!F||P)if(S){var z=u.y1+k+(g?h/2*O:0),G=u.x1,Y=u.x2;n.segpts=[G,z,Y,z]}else{var V=u.x1+k+(g?c/2*O:0),X=u.y1,U=u.y2;n.segpts=[V,X,V,U]}else if(S){var j=Math.abs(I)<=h/2,q=Math.abs(T)<=d/2;if(j){var H=(u.x1+u.x2)/2,W=u.y1,$=u.y2;n.segpts=[H,W,H,$]}else if(q){var K=(u.y1+u.y2)/2,Z=u.x1,Q=u.x2;n.segpts=[Z,K,Q,K]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(I)<=c/2,ee=Math.abs(D)<=p/2;if(J){var te=(u.y1+u.y2)/2,ne=u.x1,re=u.x2;n.segpts=[ne,te,re,te]}else if(ee){var ie=(u.x1+u.x2)/2,ae=u.y1,oe=u.y2;n.segpts=[ie,ae,ie,oe]}else n.segpts=[u.x2,u.y1]}if(n.isRound){var se=e.pstyle("taxi-radius").value,le="arc-radius"===e.pstyle("radius-type").value[0];n.radii=new Array(n.segpts.length/2).fill(se),n.isArcRadius=new Array(n.segpts.length/2).fill(le)}},wl.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,g=t.tgtRs,f=!T(n.startX)||!T(n.startY),v=!T(n.arrowStartX)||!T(n.arrowStartY),y=!T(n.endX)||!T(n.endY),m=!T(n.arrowEndX)||!T(n.arrowEndY),b=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,x=Lt({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=xd.poolIndex()){var p=h;h=d,d=p}var g=s.srcPos=h.position(),f=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),m=s.tgtW=d.outerWidth(),b=s.tgtH=d.outerHeight(),x=s.srcShape=n.nodeShapes[t.getNodeShape(h)],w=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],E=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,_=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,D=s.tgtRs=d._private.rscratch,C=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var N=0;N0){var q=u,H=kt(q,Dt(t)),W=kt(q,Dt(j)),$=H;W2&&kt(q,{x:j[2],y:j[3]})<$&&(t=[j[2],j[3]])}}var K=an(t,n,o.arrowShapes[h].spacing(e)+p),Z=an(t,n,o.arrowShapes[h].gap(e)+p);if(m.endX=Z[0],m.endY=Z[1],m.arrowEndX=K[0],m.arrowEndY=K[1],"inside-to-node"===L)t=[u.x,u.y];else if(A.units)t=this.manualEndptToPx(s,A);else if("outside-to-line"===L)t=m.srcIntn;else if("outside-to-node"===L||"outside-to-node-or-label"===L?a=r:"outside-to-line"!==L&&"outside-to-line-or-label"!==L||(a=[c.x,c.y]),t=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0,k,f),"outside-to-node-or-label"===L||"outside-to-line-or-label"===L){var Q=s._private.rscratch,J=Q.labelWidth,ee=Q.labelHeight,te=Q.labelX,ne=Q.labelY,re=J/2,ie=ee/2,ae=s.pstyle("text-valign").value;"top"===ae?ne-=ie:"bottom"===ae&&(ne+=ie);var oe=s.pstyle("text-halign").value;"left"===oe?te-=re:"right"===oe&&(te+=re);var se=rn(a[0],a[1],[te-re,ne-ie,te+re,ne-ie,te+re,ne+ie,te-re,ne+ie],u.x,u.y);if(se.length>0){var le=c,ue=kt(le,Dt(t)),ce=kt(le,Dt(se)),he=ue;ce2&&kt(le,{x:se[2],y:se[3]})=u||m){c={cp:f,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-d)/x.length,E=x.t1-x.t0,_=s?x.t0+E*w:x.t1-E*w;_=Ot(0,_,1),t=It(b.p0,b.p1,b.p2,_),i=function(e,t,n,r){var i=Ot(0,r-.001,1),a=Ot(0,r+.001,1),o=It(e,t,n,i),s=It(e,t,n,a);return Al(o,s)}(b.p0,b.p1,b.p2,_);break;case"straight":case"segments":case"haystack":for(var T,D,C,N,A=0,L=r.allpts.length,k=0;k+3=u));k+=2);var S=(u-D)/T;S=Ot(0,S,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=Lt(e,t),s=i/o,l=a/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(C,N,S),i=Al(C,N)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Cl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Cl.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Je(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,h=i.width,d=i.height+(l-1)*(a-1)*u;et(n.rstyle,"labelWidth",t,h),et(n.rscratch,"labelWidth",t,h),et(n.rstyle,"labelHeight",t,d),et(n.rscratch,"labelHeight",t,d),et(n.rscratch,"labelLineHeight",t,c)},Cl.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(et(n.rscratch,e,t,r),r):Je(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],g=/[\s\u200b]+|$/g,f=0;fc){var b,x="",w=0,E=d(v.matchAll(g));try{for(E.s();!(b=E.n()).done;){var _=b.value,T=_[0],D=v.substring(w,_.index);w=_.index+T.length;var C=0===x.length?D:x+D+T;this.calculateLabelDimensions(e,C).width<=c?x+=D+T:(x&&p.push(x),x=D+T)}}catch(e){E.e(e)}finally{E.f()}x.match(/^[\s\u200b]+$/)||p.push(x)}else p.push(v)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var N=e.pstyle("text-max-width").pfValue,A="",L=!1;if(this.calculateLabelDimensions(e,i).widthN);k++)A+=i[k],k===i.length-1&&(L=!0);return L||(A+="…"),A}return i},Cl.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Cl.calculateLabelDimensions=function(e,t){var n=this,r=n.cy.window().document,i=Me(t,e._private.labelDimsKey),a=n.labelDimCache||(n.labelDimCache=[]),o=a[i];if(null!=o)return o;var s=e.pstyle("font-style").strValue,l=e.pstyle("font-size").pfValue,u=e.pstyle("font-family").strValue,c=e.pstyle("font-weight").strValue,h=this.labelCalcCanvas,d=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=r.createElement("canvas"),d=this.labelCalcCanvasContext=h.getContext("2d");var p=h.style;p.position="absolute",p.left="-9999px",p.top="-9999px",p.zIndex="-1",p.visibility="hidden",p.pointerEvents="none"}d.font="".concat(s," ").concat(c," ").concat(l,"px ").concat(u);for(var g=0,f=0,v=t.split("\n"),y=0;y1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var N=i(t);v&&(e.hoverData.tapholdCancelled=!0),n=!0,r(f,["mousemove","vmousemove","tapdrag"],t,{x:c[0],y:c[1]});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:c[0],y:c[1]}}),g[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var L={originalEvent:t,type:"cxtdrag",position:{x:c[0],y:c[1]}};m?m.emit(L):o.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&f===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.hoverData.cxtOver=f,f&&f.emit({originalEvent:t,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}}else if(e.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var k;if(e.hoverData.justStartedPan){var S=e.hoverData.mdownPos;k={x:(c[0]-S[0])*s,y:(c[1]-S[1])*s},e.hoverData.justStartedPan=!1}else k={x:b[0]*s,y:b[1]*s};o.panBy(k),o.emit("dragpan"),e.hoverData.dragged=!0}c=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=g[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||f==y||(y&&r(y,["mouseout","tapdragout"],t,{x:c[0],y:c[1]}),f&&r(f,["mouseover","tapdragover"],t,{x:c[0],y:c[1]}),e.hoverData.last=f),m)if(v){if(o.boxSelectionEnabled()&&N)m&&m.grabbed()&&(h(x),m.emit("freeon"),x.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),x.emit("dragfree"))),A();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var M=!e.dragData.didDrag;M&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||u(x,{inDragLayer:!0});var I={x:0,y:0};if(T(b[0])&&T(b[1])&&(I.x+=b[0],I.y+=b[1],M)){var O=e.hoverData.dragDelta;O&&T(O[0])&&T(O[1])&&(I.x+=O[0],I.y+=O[1])}e.hoverData.draggingEles=!0,x.silentShift(I).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(b[0]),t.push(b[1])):(t[0]+=b[0],t[1]+=b[1])}();n=!0}else v&&(e.hoverData.dragging||!o.boxSelectionEnabled()||!N&&o.panningEnabled()&&o.userPanningEnabled()?!e.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(m,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,g[4]=0,e.data.bgActivePosistion=Dt(d),e.redrawHint("select",!0),e.redraw()):A(),m&&m.pannable()&&m.active()&&m.unactivate());return g[2]=c[0],g[3]=c[1],n?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(t,"mouseup",(function(t){if((1!==e.hoverData.which||1===t.which||!e.hoverData.capture)&&e.hoverData.capture){e.hoverData.capture=!1;var a=e.cy,o=e.projectIntoViewport(t.clientX,t.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,c=e.hoverData.down,d=i(t);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var p={originalEvent:t,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(p):a.emit(p),!e.hoverData.cxtDragged){var g={originalEvent:t,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(g):a.emit(g)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(r(l,["mouseup","tapend","vmouseup"],t,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(r(c,["click","tap","vclick"],t,{x:o[0],y:o[1]}),b=!1,t.timeStamp-x<=a.multiClickDebounceTime()?(m&&clearTimeout(m),b=!0,x=null,r(c,["dblclick","dbltap","vdblclick"],t,{x:o[0],y:o[1]})):(m=setTimeout((function(){b||r(c,["oneclick","onetap","voneclick"],t,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),x=t.timeStamp)),null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||i(t)||(a.$(n).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=a.collection()),l!=c||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||d?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):d||(a.$(n).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var f=a.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),f.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:t,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||d||a.$(n).unmerge(f).unselect(),f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var v=c&&c.grabbed();h(u),v&&(c.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(c.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null,e.hoverData.which=null}}),!1);var E,_,D,C,N,A,L,k,S,M,I,O,P,R=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",R,!0),e.registerBinding(t,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||R(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var B,F,z,G,Y,V,X,U=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},j=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",B=function(t){if(e.hasTouchStarted=!0,w(t)){p(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var n=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var o=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=o[0],i[1]=o[1]}if(t.touches[1]&&(o=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),i[2]=o[0],i[3]=o[1]),t.touches[2]&&(o=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),i[4]=o[0],i[5]=o[1]),t.touches[1]){e.touchData.singleTouchMoved=!0,h(e.dragData.touchDragEles);var l=e.findContainerClientCoords();S=l[0],M=l[1],I=l[2],O=l[3],E=t.touches[0].clientX-S,_=t.touches[0].clientY-M,D=t.touches[1].clientX-S,C=t.touches[1].clientY-M,P=0<=E&&E<=I&&0<=D&&D<=I&&0<=_&&_<=O&&0<=C&&C<=O;var d=n.pan(),g=n.zoom();if(N=U(E,_,D,C),A=j(E,_,D,C),k=[((L=[(E+D)/2,(_+C)/2])[0]-d.x)/g,(L[1]-d.y)/g],A<4e4&&!t.touches[2]){var f=e.findNearestElement(i[0],i[1],!0,!0),v=e.findNearestElement(i[2],i[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=f):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=v):n.emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])n.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(i[0],i[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),e.touchData.start=m,e.touchData.starts=y,e.nodeIsGrabbable(m))){var b=e.dragData.touchDragEles=n.collection(),x=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),m.selected()?(x=n.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),u(x,{addToList:b})):c(m,{addToList:b}),s(m);var T=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};m.emit(T("grabon")),x?x.forEach((function(e){e.emit(T("grab"))})):m.emit(T("grab"))}r(m,["touchstart","tapstart","vmousedown"],t,{x:i[0],y:i[1]}),null==m&&(e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||r(e.touchData.start,["taphold"],t,{x:i[0],y:i[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var R=e.touchData.startPosition=[null,null,null,null,null,null],B=0;B=e.touchTapThreshold2}if(n&&e.touchData.cxt){t.preventDefault();var x=t.touches[0].clientX-S,L=t.touches[0].clientY-M,I=t.touches[1].clientX-S,O=t.touches[1].clientY-M,R=j(x,L,I,O);if(R/A>=2.25||R>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):o.emit(B)}}if(n&&e.touchData.cxt){B={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):o.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,i[4]=1,i&&0!==i.length&&void 0!==i[0]?(i[2]=(s[0]+s[2]+s[4])/3,i[3]=(s[1]+s[3]+s[5])/3):(i[0]=(s[0]+s[2]+s[4])/3,i[1]=(s[1]+s[3]+s[5])/3,i[2]=(s[0]+s[2]+s[4])/3+1,i[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(n&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var z=0;z0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(t,"touchcancel",z=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(t,"touchend",G=function(t){var i=e.touchData.start;if(e.touchData.capture){0===t.touches.length&&(e.touchData.capture=!1),t.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,c=e.touchData.earlier;if(t.touches[0]){var d=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);u[0]=d[0],u[1]=d[1]}if(t.touches[1]&&(d=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),u[2]=d[0],u[3]=d[1]),t.touches[2]&&(d=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),u[4]=d[0],u[5]=d[1]),i&&i.unactivate(),e.touchData.cxt){if(o={originalEvent:t,type:"cxttapend",position:{x:u[0],y:u[1]}},i?i.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:t,type:"cxttap",position:{x:u[0],y:u[1]}};i?i.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!t.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var g=s.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:t,position:{x:u[0],y:u[1]}}),g.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),g.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),t.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(t.touches[1]);else if(t.touches[0]);else if(!t.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var f=e.dragData.touchDragEles;if(null!=i){var v=i._private.grabbed;h(f),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(i.emit("freeon"),f.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),f.emit("dragfree"))),r(i,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);r(y,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),r(i,["tap","vclick"],t,{x:u[0],y:u[1]}),Y=!1,t.timeStamp-X<=s.multiClickDebounceTime()?(V&&clearTimeout(V),Y=!0,X=null,r(i,["dbltap","vdblclick"],t,{x:u[0],y:u[1]})):(V=setTimeout((function(){Y||r(i,["onetap","voneclick"],t,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=t.timeStamp)),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var p=[c[0],c[1]],g=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),f=1;f0)return f[0]}return null},p=Object.keys(h),g=0;g0?u:Ut(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?un(r,i):s);if(Kt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Kt(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!$t(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!Jt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Jt(e,t,l,l,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",on(3,0)),this.generateRoundPolygon("round-triangle",on(3,0)),this.generatePolygon("rectangle",on(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",on(5,0)),this.generateRoundPolygon("round-pentagon",on(5,0)),this.generatePolygon("hexagon",on(6,0)),this.generateRoundPolygon("round-hexagon",on(6,0)),this.generatePolygon("heptagon",on(7,0)),this.generateRoundPolygon("round-heptagon",on(7,0)),this.generatePolygon("octagon",on(8,0)),this.generateRoundPolygon("round-octagon",on(8,0));var r=new Array(20),i=ln(5,0),a=ln(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*f)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(g>=e.deqNoDrawCost*Gl)break;var v=e.deq(t,h,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())}),i(t))}}},Vl=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;a(this,e),this.idsByKey=new tt,this.keyForId=new tt,this.cachesByLvl=new tt,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return s(e,[{key:"getIdsFor",value:function(e){null==e&&Xe("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new rt,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tt,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),Xl={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Ul=Ke({getKey:null,doesEleInvalidateKey:Ge,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:ze,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),jl=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=Ul(t);U(n,r),n.lookup=new Vl(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},ql=jl.prototype;ql.reasons=Xl,ql.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},ql.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},ql.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new ut((function(e,t){return t.reqs-e.reqs}))},ql.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},ql.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Nt(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,h=t.w*u,d=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var p,g=l.get(e,r);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||h>1024)return null;var f=a.getTextureQueue(p),v=f[f.length-2],y=function(){return a.recycleTexture(p,h)||a.addTexture(p,h)};v||(v=f[f.length-1]),v||(v=y()),v.width-v.usedWidthr;N--)D=a.getElement(e,t,n,N,Xl.downscale);C()}else{var A;if(!x&&!w&&!E)for(var L=r-1;L>=-4;L--){var k=l.get(e,L);if(k){A=k;break}}if(b(A))return a.queueElement(e,r),A;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,d,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return g={x:v.usedWidth,texture:v,level:r,scale:u,width:h,height:c,scaledLabelShown:d},v.usedWidth+=Math.ceil(h+8),v.eleCaches.push(g),l.set(e,r,g),a.checkTextureFullness(v),g},ql.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},ql.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Ze(t,e):e.fullnessChecks++},ql.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;Ze(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qe(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Ze(r,a),n.push(a),a}},ql.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},ql.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=a.hasCache(u,s.level);if(r[l]=null,!c){i.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,Xl.dequeue)}}return i},ql.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=Fe,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},ql.onDequeue=function(e){this.onDequeues.push(e)},ql.offDequeue=function(e){Ze(this.onDequeues,e)},ql.setupDequeueing=Yl({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Ze(c,o)}}();var h=function(t){var i=(t=t||{}).after;if(function(){if(!o){o=Pt();for(var t=0;t16e6)return null;var a=r.makeLayer(o,n);if(null!=i){var s=c.indexOf(i)+1;c.splice(s,0,a)}else(void 0===t.insert||t.insert)&&c.unshift(a);return a};if(r.skipping&&!a)return null;for(var d=null,p=e.length/1,g=!a,f=0;f=p||!Xt(d.bb,v.boundingBox()))&&!(d=h({insert:!0,after:d})))return null;s||g?r.queueLayer(d,v):r.drawEleInLayer(d,v,n,t),d.eles.push(v),m[n]=d}}return s||(g?null:c)},Wl.getEleLevelForLayerLevel=function(e,t){return e},Wl.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0))},Wl.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},Wl.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},Wl.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Te(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},Wl.invalidateLayer=function(e){if(this.lastInvalidationTime=Te(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ze(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,g=t.pstyle("line-cap").value,f=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,m=u*c,b=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=g,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var w=t.pstyle("ghost-offset-x").pfValue,E=t.pstyle("ghost-offset-y").pfValue,_=t.pstyle("ghost-opacity").value,T=y*_;e.translate(w,E),b(T),x(T),e.translate(-w,-E)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;e.lineWidth=p+f,e.lineCap=g,f>0?(o.colorStrokeStyle(e,v[0],v[1],v[2],n),"straight-triangle"===h?o.drawEdgeTrianglePath(t,e,s.allpts):(o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")):e.lineCap="butt"}();i&&o.drawEdgeUnderlay(e,t),b(),x(),i&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},du=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||a?t.lineCap="round":t.lineCap="butt",i.colorStrokeStyle(t,l[0],l[1],l[2],r),i.drawEdgePath(n,t,o.allpts,"solid")}}}};hu.drawEdgeOverlay=du("overlay"),hu.drawEdgeUnderlay=du("underlay"),hu.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var p=2;p+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}gu.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),i=Math.ceil(Nt(n*r));t=Math.pow(2,i)}return!(e.pstyle("font-size").pfValue*t5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,g=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,g,a),t.isEdge()&&(o.drawText(e,t,"source",g,a),o.drawText(e,t,"target",g,a))):o.drawText(e,t,i,g,a),n&&e.translate(p.x1,p.y1)},gu.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},gu.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=Je(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},gu.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=Je(a,"labelX",n),c=Je(a,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,i);var d,p=n?n+"-":"",g=Je(a,"labelWidth",n),f=Je(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(d),u=0,c=0),x){case"top":break;case"center":c+=f/2;break;case"bottom":c+=f}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,_=t.pstyle("text-border-width").pfValue,T=t.pstyle("text-background-padding").pfValue,D=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(w>0||_>0&&E>0){var C=u-T;switch(b){case"left":C-=g;break;case"center":C-=g/2}var N=c-f-T,A=g+2*T,L=f+2*T;if(w>0){var k=e.fillStyle,S=t.pstyle("text-background-color").value;e.fillStyle="rgba("+S[0]+","+S[1]+","+S[2]+","+w*o+")",D?fu(e,C,N,A,L,2):e.fillRect(C,N,A,L),e.fillStyle=k}if(_>0&&E>0){var M=e.strokeStyle,I=e.lineWidth,O=t.pstyle("text-border-color").value,P=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+E*o+")",e.lineWidth=_,e.setLineDash)switch(P){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=_/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(D?fu(e,C,N,A,L,2,"stroke"):e.strokeRect(C,N,A,L),"double"===P){var R=_/2;D?fu(e,C+R,N+R,A-2*R,L-2*R,2,"stroke"):e.strokeRect(C+R,N+R,A-2*R,L-2*R)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=M}}var B=2*t.pstyle("text-outline-width").pfValue;if(B>0&&(e.lineWidth=B),"wrap"===t.pstyle("text-wrap").value){var F=Je(a,"labelWrapCachedLines",n),z=Je(a,"labelLineHeight",n),G=g/2,Y=this.getLabelJustification(t);switch("auto"===Y||("left"===b?"left"===Y?u+=-g:"center"===Y&&(u+=-G):"center"===b?"left"===Y?u+=-G:"right"===Y&&(u+=G):"right"===b&&("center"===Y?u+=G:"right"===Y&&(u+=g))),x){case"top":case"center":case"bottom":c-=(F.length-1)*z}for(var V=0;V0&&e.strokeText(F[V],u,c),e.fillText(F[V],u,c),c+=z}else B>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var vu={drawNode:function(e,t,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,h=t.position();if(T(h.x)&&T(h.y)&&(!s||t.visible())){var d,p,g=s?t.effectiveOpacity():1,f=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,b=new Array(m.length),x=new Array(m.length),w=0,E=0;E0&&void 0!==arguments[0]?arguments[0]:A;l.eleFillStyle(e,t,n)},U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R;l.colorStrokeStyle(e,L[0],L[1],L[2],t)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G;l.colorStrokeStyle(e,F[0],F[1],F[2],t)},q=function(e,t,n,r){var i,a=l.nodePathCache=l.nodePathCache||[],o=Ie("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+V),s=a[o],u=!1;return null!=s?(i=s,u=!0,c.pathCache=i):(i=new Path2D,a[o]=c.pathCache=i),{path:i,cacheHit:u}},H=t.pstyle("shape").strValue,W=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var $=q(r,i,H,W);d=$.path,v=$.cacheHit}var K=function(){if(!v){var n=h;f&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,r,i,V,c)}f?e.fill(d):e.fill()},Z=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(f||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,r,i,V,c)))},J=function(){var t=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(l.colorFillStyle(e,n,n,n,t),f?e.fill(d):e.fill())},ee=function(){if(N>0){if(e.lineWidth=N,e.lineCap=M,e.lineJoin=S,e.setLineDash)switch(k){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(O),e.lineDashOffset=P;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)f?e.clip(d):e.clip();else{var t=new Path2D;t.rect(-r/2-N,-i/2-N,r+2*N,i+2*N),t.addPath(d),e.clip(t,"evenodd")}f?e.stroke(d):e.stroke(),e.restore()}else f?e.stroke(d):e.stroke();if("double"===k){e.lineWidth=N/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},te=function(){if(B>0){if(e.lineWidth=B,e.lineCap="butt",e.setLineDash)switch(z){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=h;f&&(n={x:0,y:0});var a=l.getNodeShape(t),o=N;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s,u=(r+o+(B+Y))/r,c=(i+o+(B+Y))/i,d=r*u,p=i*c,g=l.nodeShapes[a].points;if(f&&(s=q(d,p,a,g).path),"ellipse"===a)l.drawEllipsePath(s||e,n.x,n.y,d,p);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var v=0,y=0,m=0;"round-diamond"===a?v=1.4*(o+Y+B):"round-heptagon"===a?(v=1.075*(o+Y+B),m=-(o/2+Y+B)/35):"round-hexagon"===a?v=1.12*(o+Y+B):"round-pentagon"===a?(v=1.13*(o+Y+B),m=-(o/2+Y+B)/15):"round-tag"===a?(v=1.12*(o+Y+B),y=.07*(o/2+B+Y)):"round-triangle"===a&&(v=(o+Y+B)*(Math.PI/2),m=-(o+Y/2+B)/Math.PI),0!==v&&(d=r*(u=(r+v)/r),["round-hexagon","round-tag"].includes(a)||(p=i*(c=(i+v)/i)));for(var b=d/2,x=p/2,w=(V="auto"===V?cn(d,p):V)+(o+B+Y)/2,E=new Array(g.length/2),_=new Array(g.length/2),T=0;T0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o,c),t.fill()}}}};vu.drawNodeOverlay=yu("overlay"),vu.drawNodeUnderlay=yu("underlay"),vu.hasPie=function(e){return(e=e[0])._private.hasPie},vu.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var p=t.pstyle("pie-"+d+"-background-size").value,g=t.pstyle("pie-"+d+"-background-color").value,f=t.pstyle("pie-"+d+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,m=y+2*Math.PI*v;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],f),e.fill(),h+=v)}};for(var mu={getPixelRatio:function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},paintCache:function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==i?i:b,w=l.pan(),E={x:w.x,y:w.y},_={zoom:b,pan:{x:w.x,y:w.y}},T=o.prevViewport;void 0===T||_.zoom!==T.zoom||_.pan.x!==T.pan.x||_.pan.y!==T.pan.y||f&&!g||(o.motionBlurPxRatio=1),a&&(E=a),x*=s,E.x*=s,E.y*=s;var D=o.getCachedZSortedEles();function C(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function N(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,h=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,h):t||void 0!==r&&!r||e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var L=u.contexts[o.NODE],k=o.textureCache.texture;_=o.textureCache.viewport,L.setTransform(1,0,0,1,0,0),d?C(L,0,0,_.width,_.height):L.clearRect(0,0,_.width,_.height);var S=m.core("outside-texture-bg-color").value,M=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(L,S[0],S[1],S[2],M),L.fillRect(0,0,_.width,_.height),b=l.zoom(),N(L,!1),L.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),L.drawImage(k,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&O,R=[];if(R[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||R[o.NODE]){var B=d&&!R[o.NODE]&&1!==p;N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.nondrag,s,I):o.drawLayeredElements(L,D.nondrag,s,I),o.debug&&o.drawDebugPoints(L,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||R[o.DRAG])&&(B=d&&!R[o.DRAG]&&1!==p,N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.drag,s,I):o.drawCachedElements(L,D.drag,s,I),o.debug&&o.drawDebugPoints(L,D.drag),n||d||(c[o.DRAG]=!1)),o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(N(L=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var F=m.core("selection-box-border-width").value/b;L.lineWidth=F,L.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",L.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),F>0&&(L.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",L.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){b=o.cy.zoom();var z=u.bgActivePosistion;L.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",L.beginPath(),L.arc(z.x,z.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),L.fill()}var G=o.lastRedrawTime;if(o.showFps&&G){G=Math.round(G);var Y=Math.round(1e3/G);L.setTransform(1,0,0,1,0,0),L.fillStyle="rgba(255, 0, 0, 0.75)",L.strokeStyle="rgba(255, 0, 0, 0.75)",L.lineWidth=1,L.fillText("1 frame = "+G+" ms = "+Y+" fps",0,20),L.strokeRect(0,30,250,20),L.fillRect(0,30,250*Math.min(Y/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var V=u.contexts[o.NODE],X=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],U=u.contexts[o.DRAG],j=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],q=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||R[o.NODE])&&(q(V,X,R[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||R[o.DRAG])&&(q(U,j,R[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")}},bu={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var g=t.pan(),f={x:g.x*l,y:g.y*l};l*=t.zoom(),d.translate(f.x,f.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-f.x,-f.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},Cu.png=function(e){return Au(e,this.bufferCanvasImage(e),"image/png")},Cu.jpg=function(e){return Au(e,this.bufferCanvasImage(e),"image/jpeg")};var Lu=Su,ku=Su.prototype;function Su(e){var t=this,n=t.cy.window().document;t.data={canvases:new Array(ku.CANVAS_LAYERS),contexts:new Array(ku.CANVAS_LAYERS),canvasNeedsRedraw:new Array(ku.CANVAS_LAYERS),bufferCanvases:new Array(ku.BUFFER_COUNT),bufferContexts:new Array(ku.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";t.data.canvasContainer=n.createElement("div");var a=t.data.canvasContainer.style;t.data.canvasContainer.style[r]=i,a.position="relative",a.zIndex="0",a.overflow="hidden";var o=e.cy.container();o.appendChild(t.data.canvasContainer),o.style[r]=i;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};g&&g.userAgent.match(/msie|trident|edge/i)&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var l=0;l2&&E.push("'"+this.terminals_[b]+"'");D=c.showPosition?"Parse error on line "+(s+1)+":\n"+c.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(D,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:p,expected:E})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+f);switch(y[0]){case 1:t.push(f),r.push(c.yytext),i.push(c.yylloc),t.push(y[1]),f=null,l=c.yyleng,o=c.yytext,s=c.yylineno,p=c.yylloc;break;case 2:if(x=this.productions_[y[1]][1],T.$=r[r.length-x],T._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},g&&(T._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[o,l,s,h.yy,y[1],r,i].concat(u))))return m;x&&(t=t.slice(0,-1*x*2),r=r.slice(0,-1*x),i=i.slice(0,-1*x)),t.push(this.productions_[y[1]][0]),r.push(T.$),i.push(T._$),w=a[t[t.length-2]][t[t.length-1]],t.push(w);break;case 3:return!0}}return!0}},b=(e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.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,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},e);function x(){this.yy={}}return m.lexer=b,x.prototype=m,m.Parser=x,new x}());Ku.parser=Ku;const Zu=Ku;let Qu=[],Ju=0,ec={};const tc={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},nc={clear:()=>{Qu=[],Ju=0,ec={}},addNode:(e,t,n,i)=>{var a,o;r.l.info("addNode",e,t,n,i);const s=(0,r.c)();let l=(null==(a=s.mindmap)?void 0:a.padding)??r.B.mindmap.padding;switch(i){case tc.ROUNDED_RECT:case tc.RECT:case tc.HEXAGON:l*=2}const u={id:Ju++,nodeId:(0,r.d)(t,s),level:e,descr:(0,r.d)(n,s),type:i,children:[],width:(null==(o=s.mindmap)?void 0:o.maxNodeWidth)??r.B.mindmap.maxNodeWidth,padding:l},c=function(e){for(let t=Qu.length-1;t>=0;t--)if(Qu[t].levelQu.length>0?Qu[0]:null,nodeType:tc,getType:(e,t)=>{switch(r.l.debug("In get type",e,t),e){case"[":return tc.RECT;case"(":return")"===t?tc.ROUNDED_RECT:tc.CLOUD;case"((":return tc.CIRCLE;case")":return tc.CLOUD;case"))":return tc.BANG;case"{{":return tc.HEXAGON;default:return tc.DEFAULT}},setElementForId:(e,t)=>{ec[e]=t},decorateNode:e=>{if(!e)return;const t=(0,r.c)(),n=Qu[Qu.length-1];e.icon&&(n.icon=(0,r.d)(e.icon,t)),e.class&&(n.class=(0,r.d)(e.class,t))},type2Str:e=>{switch(e){case tc.DEFAULT:return"no-border";case tc.RECT:return"rect";case tc.ROUNDED_RECT:return"rounded-rect";case tc.CIRCLE:return"circle";case tc.CLOUD:return"cloud";case tc.BANG:return"bang";case tc.HEXAGON:return"hexgon";default:return"no-border"}},getLogger:()=>r.l,getElementById:e=>ec[e]},rc=nc;function ic(e,t,n,i,a){!function(e,t,n,i,a){const o=a.htmlLabels,s=i%11,l=t.append("g");n.section=s;let u="section-"+s;s<0&&(u+=" section-root"),l.attr("class",(n.class?n.class+" ":"")+"mindmap-node "+u);const c=l.append("g"),h=l.append("g"),d=n.descr.replace(/()/g,"\n");(0,qu.a)(h,d,{useHtmlLabels:o,width:n.width,classes:"mindmap-node-label"}),o||h.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const p=h.node().getBBox(),[g]=(0,r.D)(a.fontSize);if(n.height=p.height+1.1*g*.5+n.padding,n.width=p.width+2*n.padding,n.icon)if(n.type===e.nodeType.CIRCLE)n.height+=50,n.width+=50,l.append("foreignObject").attr("height","50px").attr("width",n.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+n.icon),h.attr("transform","translate("+n.width/2+", "+(n.height/2-1.5*n.padding)+")");else{n.width+=50;const e=n.height;n.height=Math.max(e,60);const t=Math.abs(n.height-e);l.append("foreignObject").attr("width","60px").attr("height",n.height).attr("style","text-align: center;margin-top:"+t/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+n.icon),h.attr("transform","translate("+(25+n.width/2)+", "+(t/2+n.padding/2)+")")}else if(o){const e=(n.width-p.width)/2,t=(n.height-p.height)/2;h.attr("transform","translate("+e+", "+t+")")}else{const e=n.width/2,t=n.padding/2;h.attr("transform","translate("+e+", "+t+")")}switch(n.type){case e.nodeType.DEFAULT:!function(e,t,n,r){t.append("path").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("d",`M0 ${n.height-5} v${10-n.height} q0,-5 5,-5 h${n.width-10} q5,0 5,5 v${n.height-5} H0 Z`),t.append("line").attr("class","node-line-"+r).attr("x1",0).attr("y1",n.height).attr("x2",n.width).attr("y2",n.height)}(e,c,n,s);break;case e.nodeType.ROUNDED_RECT:!function(e,t,n){t.append("rect").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("height",n.height).attr("rx",n.padding).attr("ry",n.padding).attr("width",n.width)}(e,c,n);break;case e.nodeType.RECT:!function(e,t,n){t.append("rect").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("height",n.height).attr("width",n.width)}(e,c,n);break;case e.nodeType.CIRCLE:c.attr("transform","translate("+n.width/2+", "+ +n.height/2+")"),function(e,t,n){t.append("circle").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("r",n.width/2)}(e,c,n);break;case e.nodeType.CLOUD:!function(e,t,n){const r=n.width,i=n.height,a=.15*r,o=.25*r,s=.35*r,l=.2*r;t.append("path").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("d",`M0 0 a${a},${a} 0 0,1 ${.25*r},${-1*r*.1}\n a${s},${s} 1 0,1 ${.4*r},${-1*r*.1}\n a${o},${o} 1 0,1 ${.35*r},${1*r*.2}\n\n a${a},${a} 1 0,1 ${.15*r},${1*i*.35}\n a${l},${l} 1 0,1 ${-1*r*.15},${1*i*.65}\n\n a${o},${a} 1 0,1 ${-1*r*.25},${.15*r}\n a${s},${s} 1 0,1 ${-1*r*.5},0\n a${a},${a} 1 0,1 ${-1*r*.25},${-1*r*.15}\n\n a${a},${a} 1 0,1 ${-1*r*.1},${-1*i*.35}\n a${l},${l} 1 0,1 ${.1*r},${-1*i*.65}\n\n H0 V0 Z`)}(e,c,n);break;case e.nodeType.BANG:!function(e,t,n){const r=n.width,i=n.height,a=.15*r;t.append("path").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("d",`M0 0 a${a},${a} 1 0,0 ${.25*r},${-1*i*.1}\n a${a},${a} 1 0,0 ${.25*r},0\n a${a},${a} 1 0,0 ${.25*r},0\n a${a},${a} 1 0,0 ${.25*r},${1*i*.1}\n\n a${a},${a} 1 0,0 ${.15*r},${1*i*.33}\n a${.8*a},${.8*a} 1 0,0 0,${1*i*.34}\n a${a},${a} 1 0,0 ${-1*r*.15},${1*i*.33}\n\n a${a},${a} 1 0,0 ${-1*r*.25},${.15*i}\n a${a},${a} 1 0,0 ${-1*r*.25},0\n a${a},${a} 1 0,0 ${-1*r*.25},0\n a${a},${a} 1 0,0 ${-1*r*.25},${-1*i*.15}\n\n a${a},${a} 1 0,0 ${-1*r*.1},${-1*i*.33}\n a${.8*a},${.8*a} 1 0,0 0,${-1*i*.34}\n a${a},${a} 1 0,0 ${.1*r},${-1*i*.33}\n\n H0 V0 Z`)}(e,c,n);break;case e.nodeType.HEXAGON:!function(e,t,n){const r=n.height,i=r/4,a=n.width-n.padding+2*i;!function(e,t,n,r,i){e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("transform","translate("+(i.width-t)/2+", "+n+")")}(t,a,r,[{x:i,y:0},{x:a-i,y:0},{x:a,y:-r/2},{x:a-i,y:-r},{x:i,y:-r},{x:0,y:-r/2}],n)}(0,c,n)}e.setElementForId(n.id,l),n.height}(e,t,n,i,a),n.children&&n.children.forEach(((n,r)=>{ic(e,t,n,i<0?r:i,a)}))}function ac(e,t,n,r){t.add({group:"nodes",data:{id:e.id.toString(),labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach((i=>{ac(i,t,n,r+1),t.add({group:"edges",data:{id:`${e.id}_${i.id}`,source:e.id,target:i.id,depth:r,section:i.section}})}))}function oc(e,t){return new Promise((n=>{const i=(0,ju.Ltv)("body").append("div").attr("id","cy").attr("style","display:none"),a=Xu({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});i.remove(),ac(e,a,t,0),a.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),a.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),a.ready((e=>{r.l.info("Ready",e),n(a)}))}))}Xu.use(Uu);const sc={draw:async(e,t,n,i)=>{var a,o;r.l.debug("Rendering mindmap diagram\n"+e);const s=i.db,l=s.getMindmap();if(!l)return;const u=(0,r.c)();u.htmlLabels=!1;const c=(0,r.A)(t),h=c.append("g");h.attr("class","mindmap-edges");const d=c.append("g");d.attr("class","mindmap-nodes"),ic(s,d,l,-1,u);const p=await oc(l,u);!function(e,t){t.edges().map(((t,n)=>{const i=t.data();if(t[0]._private.bodyBounds){const a=t[0]._private.rscratch;r.l.trace("Edge: ",n,i),e.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}(h,p),function(e,t){t.nodes().map(((t,n)=>{const i=t.data();i.x=t.position().x,i.y=t.position().y,function(e,t){const n=e.getElementById(t.id),r=t.x||0,i=t.y||0;n.attr("transform","translate("+r+","+i+")")}(e,i);const a=e.getElementById(i.nodeId);r.l.info("Id:",n,"Position: (",t.position().x,", ",t.position().y,")",i),a.attr("transform",`translate(${t.position().x-i.width/2}, ${t.position().y-i.height/2})`),a.attr("attr",`apa-${n})`)}))}(s,p),(0,r.o)(void 0,c,(null==(a=u.mindmap)?void 0:a.padding)??r.B.mindmap.padding,(null==(o=u.mindmap)?void 0:o.useMaxWidth)??r.B.mindmap.useMaxWidth)}},lc={db:rc,renderer:sc,parser:Zu,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let t=0;t{s.d(e,{D:()=>l,S:()=>c,a:()=>h,b:()=>a,c:()=>o,d:()=>w,p:()=>r,s:()=>P});var i=s(5950),n=function(){var t=function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},e=[1,2],s=[1,3],i=[1,4],n=[2,4],r=[1,9],o=[1,11],a=[1,15],c=[1,16],l=[1,17],h=[1,18],u=[1,30],d=[1,19],p=[1,20],y=[1,21],f=[1,22],m=[1,23],g=[1,25],S=[1,26],_=[1,27],T=[1,28],k=[1,29],b=[1,32],E=[1,33],x=[1,34],C=[1,35],$=[1,31],v=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],D=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],A=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],L={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"--\x3e":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"--\x3e",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(t,e,s,i,n,r,o){var a=r.length-1;switch(n){case 3:return i.setRootDoc(r[a]),r[a];case 4:this.$=[];break;case 5:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 6:case 7:case 11:this.$=r[a];break;case 8:this.$="nl";break;case 12:const t=r[a-1];t.description=i.trimColon(r[a]),this.$=t;break;case 13:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 14:const e=i.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 18:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 19:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 20:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 21:this.$={stmt:"state",id:r[a],type:"fork"};break;case 22:this.$={stmt:"state",id:r[a],type:"join"};break;case 23:this.$={stmt:"state",id:r[a],type:"choice"};break;case 24:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 28:this.$=r[a].trim(),i.setAccTitle(this.$);break;case 29:case 30:this.$=r[a].trim(),i.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 33:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 34:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 42:case 43:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""}}},table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],n,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:r,5:o,8:8,9:10,10:12,11:13,12:14,15:a,16:c,18:l,21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:T,41:k,44:b,45:E,46:x,47:C,50:$},t(v,[2,5]),{9:36,10:12,11:13,12:14,15:a,16:c,18:l,21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:T,41:k,44:b,45:E,46:x,47:C,50:$},t(v,[2,7]),t(v,[2,8]),t(v,[2,9]),t(v,[2,10]),t(v,[2,11],{13:[1,37],14:[1,38]}),t(v,[2,15]),{17:[1,39]},t(v,[2,17],{19:[1,40]}),{22:[1,41]},t(v,[2,21]),t(v,[2,22]),t(v,[2,23]),t(v,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(v,[2,27]),{33:[1,46]},{35:[1,47]},t(v,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(D,[2,40],{51:[1,51]}),t(D,[2,41],{51:[1,52]}),t(v,[2,34]),t(v,[2,35]),t(v,[2,36]),t(v,[2,37]),t(v,[2,6]),t(v,[2,12]),{12:53,23:u,50:$},t(v,[2,16]),t(A,n,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(v,[2,28]),t(v,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(v,[2,13],{13:[1,63]}),{4:r,5:o,8:8,9:10,10:12,11:13,12:14,15:a,16:c,18:l,20:[1,64],21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:T,41:k,44:b,45:E,46:x,47:C,50:$},t(v,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(v,[2,31]),t(v,[2,32]),t(v,[2,33]),t(D,[2,42]),t(D,[2,43]),t(v,[2,14]),t(v,[2,18]),t(A,n,{7:68}),t(v,[2,25]),t(v,[2,26]),{4:r,5:o,8:8,9:10,10:12,11:13,12:14,15:a,16:c,18:l,20:[1,69],21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:T,41:k,44:b,45:E,46:x,47:C,50:$},t(v,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],i=[null],n=[],r=this.table,o="",a=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;n.push(p);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,m,g,S,_,T,k,b,E,x={};;){if(m=e[e.length-1],this.defaultActions[m]?g=this.defaultActions[m]:(null==f&&(E=void 0,"number"!=typeof(E=s.pop()||h.lex()||1)&&(E instanceof Array&&(E=(s=E).pop()),E=this.symbols_[E]||E),f=E),g=r[m]&&r[m][f]),void 0===g||!g.length||!g[0]){var C;for(_ in b=[],r[m])this.terminals_[_]&&_>2&&b.push("'"+this.terminals_[_]+"'");C=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:b})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(g[0]){case 1:e.push(f),i.push(h.yytext),n.push(h.yylloc),e.push(g[1]),f=null,c=h.yyleng,o=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(T=this.productions_[g[1]][1],x.$=i[i.length-T],x._$={first_line:n[n.length-(T||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(T||1)].first_column,last_column:n[n.length-1].last_column},y&&(x._$.range=[n[n.length-(T||1)].range[0],n[n.length-1].range[1]]),void 0!==(S=this.performAction.apply(x,[o,c,a,u.yy,g[1],i,n].concat(l))))return S;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),n=n.slice(0,-1*T)),e.push(this.productions_[g[1]][0]),i.push(x.$),n.push(x._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0}},I={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),s.length-1&&(this.yylineno-=s.length-1);var n=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:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;re[0].length)){if(e=s,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,s,i){switch(s){case 0:return 40;case 1:case 39:return 44;case 2:case 40:return 45;case 3:case 41:return 46;case 4:case 42:return 47;case 5:case 6:case 8:case 9:case 10:case 11:case 51:case 53:case 59:break;case 7:case 74:return 5;case 12:case 29:return this.pushState("SCALE"),16;case 13:case 30:return 17;case 14:case 20:case 31:case 46:case 49:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 32:this.pushState("STATE");break;case 33:case 36:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 34:case 37:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 35:case 38:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),26;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:case 61:return this.popState(),"ID";case 47:return"STATE_DESCR";case 48:return 18;case 50:return this.popState(),this.pushState("struct"),19;case 52:return this.popState(),20;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 60:return"NOTE_TEXT";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),e.yytext=e.yytext.substr(2).trim(),30;case 64:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),30;case 65:case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return e.yytext=e.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};function O(){this.yy={}}return L.lexer=I,O.prototype=L,L.Parser=O,new O}();n.parser=n;const r=n,o="TB",a="state",c="relation",l="default",h="divider",u="[*]",d="start",p=u,y="color",f="fill";let m="LR",g=[],S={},_={root:{relations:[],states:{},documents:{}}},T=_.root,k=0,b=0;const E=t=>JSON.parse(JSON.stringify(t)),x=(t,e,s)=>{if(e.stmt===c)x(t,e.state1,!0),x(t,e.state2,!1);else if(e.stmt===a&&("[*]"===e.id?(e.id=s?t.id+"_start":t.id+"_end",e.start=s):e.id=e.id.trim()),e.doc){const t=[];let s,n=[];for(s=0;s0&&n.length>0){const s={stmt:a,id:(0,i.I)(),type:"divider",doc:E(n)};t.push(E(s)),e.doc=t}e.doc.forEach((t=>x(e,t,!0)))}},C=function(t,e=l,s=null,n=null,r=null,o=null,a=null,c=null){const h=null==t?void 0:t.trim();void 0===T.states[h]?(i.l.info("Adding state ",h,n),T.states[h]={id:h,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]}):(T.states[h].doc||(T.states[h].doc=s),T.states[h].type||(T.states[h].type=e)),n&&(i.l.info("Setting state description",h,n),"string"==typeof n&&I(h,n.trim()),"object"==typeof n&&n.forEach((t=>I(h,t.trim())))),r&&(T.states[h].note=r,T.states[h].note.text=i.e.sanitizeText(T.states[h].note.text,(0,i.c)())),o&&(i.l.info("Setting state classes",h,o),("string"==typeof o?[o]:o).forEach((t=>N(h,t.trim())))),a&&(i.l.info("Setting state styles",h,a),("string"==typeof a?[a]:a).forEach((t=>R(h,t.trim())))),c&&(i.l.info("Setting state styles",h,a),("string"==typeof c?[c]:c).forEach((t=>B(h,t.trim()))))},$=function(t){_={root:{relations:[],states:{},documents:{}}},T=_.root,k=0,S={},t||(0,i.v)()},v=function(t){return T.states[t]};function D(t=""){let e=t;return t===u&&(k++,e=`${d}${k}`),e}function A(t="",e=l){return t===u?d:e}const L=function(t,e,s){if("object"==typeof t)!function(t,e,s){let n=D(t.id.trim()),r=A(t.id.trim(),t.type),o=D(e.id.trim()),a=A(e.id.trim(),e.type);C(n,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),C(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),T.relations.push({id1:n,id2:o,relationTitle:i.e.sanitizeText(s,(0,i.c)())})}(t,e,s);else{const n=D(t.trim()),r=A(t),o=function(t=""){let e=t;return t===p&&(k++,e=`end${k}`),e}(e.trim()),a=function(t="",e=l){return t===p?"end":e}(e);C(n,r),C(o,a),T.relations.push({id1:n,id2:o,title:i.e.sanitizeText(s,(0,i.c)())})}},I=function(t,e){const s=T.states[t],n=e.startsWith(":")?e.replace(":","").trim():e;s.descriptions.push(i.e.sanitizeText(n,(0,i.c)()))},O=function(t,e=""){void 0===S[t]&&(S[t]={id:t,styles:[],textStyles:[]});const s=S[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(y)){const t=e.replace(f,"bgFill").replace(y,f);s.textStyles.push(t)}s.styles.push(e)}))},N=function(t,e){t.split(",").forEach((function(t){let s=v(t);if(void 0===s){const e=t.trim();C(e),s=v(e)}s.classes.push(e)}))},R=function(t,e){const s=v(t);void 0!==s&&s.textStyles.push(e)},B=function(t,e){const s=v(t);void 0!==s&&s.textStyles.push(e)},w={getConfig:()=>(0,i.c)().state,addState:C,clear:$,getState:v,getStates:function(){return T.states},getRelations:function(){return T.relations},getClasses:function(){return S},getDirection:()=>m,addRelation:L,getDividerId:()=>(b++,"divider-id-"+b),setDirection:t=>{m=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){i.l.info("Documents = ",_)},getRootDoc:()=>g,setRootDoc:t=>{i.l.info("Setting root doc",t),g=t},getRootDocV2:()=>(x({id:"root"},{id:"root",doc:g},!0),{id:"root",doc:g}),extract:t=>{let e;e=t.doc?t.doc:t,i.l.info(e),$(!0),i.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case a:C(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case c:L(t.state1,t.state2,t.description);break;case"classDef":O(t.id.trim(),t.classes);break;case"applyClass":N(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,addStyleClass:O,setCssClass:N,addDescription:I,setDiagramTitle:i.q,getDiagramTitle:i.t},P=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/274.mjs b/resources/daux/themes/rsp/js/274.mjs new file mode 100644 index 0000000..bcaa85d --- /dev/null +++ b/resources/daux/themes/rsp/js/274.mjs @@ -0,0 +1 @@ +export const id=274;export const ids=[274];export const modules={4274:(e,n,t)=>{t.d(n,{a:()=>fn,c:()=>ln});var r={};t.r(r),t.d(r,{attentionMarkers:()=>je,contentInitial:()=>Be,disable:()=>He,document:()=>De,flow:()=>Me,flowInitial:()=>_e,insideSpan:()=>Oe,string:()=>Le,text:()=>Pe});var i=t(5950);const u={};function o(e,n,t){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return c(e.children,n,t)}return Array.isArray(e)?c(e,n,t):""}function c(e,n,t){const r=[];let i=-1;for(;++ii?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)u=Array.from(r),u.unshift(n,t),e.splice(...u);else for(t&&e.splice(n,t);o0?(s(e,e.length,0,n),e):n}const a={}.hasOwnProperty;function f(e,n){let t;for(t in n){const r=(a.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let u;if(i)for(u in i){a.call(r,u)||(r[u]=[]);const e=i[u];d(r[u],Array.isArray(e)?e:e?[e]:[])}}}function d(e,n){let t=-1;const r=[];for(;++tu))return;const t=n.events.length;let i,c,l=t;for(;l--;)if("exit"===n.events[l][0]&&"chunkFlow"===n.events[l][1].type){if(i){c=n.events[l][1].end;break}i=!0}for(k(o),e=t;er;){const r=t[i];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function y(){r.write([null]),i=void 0,r=void 0,n.containerState._closeFlow=void 0}}},T={tokenize:function(e,n,t){return I(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},z={tokenize:function(e,n,t){return function(n){return b(n)?I(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||F(e)?n(e):t(e)}},partial:!0};function D(e){const n={};let t,r,i,u,o,c,l,a=-1;for(;++a=4?n(i):e.interrupt(r.parser.constructs.flow,t,n)(i)}},partial:!0},L={tokenize:function(e){const n=this,t=e.attempt(z,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,I(e,e.attempt(this.parser.constructs.flow,r,e.attempt(_,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}},P={resolveAll:R()},O=H("string"),j=H("text");function H(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],i=n.attempt(r,u,o);return u;function u(e){return s(e)?i(e):o(e)}function o(e){if(null!==e)return n.enter("data"),n.consume(e),c;n.consume(e)}function c(e){return s(e)?(n.exit("data"),i(e)):(n.consume(e),c)}function s(e){if(null===e)return!0;const n=r[e];let i=-1;if(n)for(;++i-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}u>0&&o.push(e[i].slice(0,u))}return o}(o,e)}function g(){const{line:e,column:n,offset:t,_index:i,_bufferIndex:u}=r;return{line:e,column:n,offset:t,_index:i,_bufferIndex:u}}function x(e){a=void 0,h=e,p=p(e)}function k(e,n){n.restore()}function y(e,n){return function(t,i,u){let o,s,l,h;return Array.isArray(t)?m(t):"tokenize"in t?m([t]):(p=t,function(e){const n=null!==e&&p[e],t=null!==e&&p.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(t)?t:t?[t]:[]])(e)});var p;function m(e){return o=e,s=0,0===e.length?u:x(e[s])}function x(e){return function(t){return h=function(){const e=g(),n=d.previous,t=d.currentConstruct,i=d.events.length,u=Array.from(c);return{restore:function(){r=e,d.previous=n,d.currentConstruct=t,d.events.length=i,c=u,b()},from:i}}(),l=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(n?Object.assign(Object.create(d),n):d,f,k,y)(t)}}function k(n){return a=!0,e(l,h),i}function y(e){return a=!0,h.restore(),++s=3&&(null===u||F(u))?(e.exit("thematicBreak"),n(u)):t(u)}function o(n){return n===r?(e.consume(n),i++,o):(e.exit("thematicBreakSequence"),b(n)?I(e,u,"whitespace")(n):u(n))}}},U={name:"list",tokenize:function(e,n,t){const r=this,i=r.events[r.events.length-1];let u=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(n){const i=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||n===r.containerState.marker:x(n)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===n||45===n?e.check(N,t,s)(n):s(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(n)}return t(n)};function c(n){return x(n)&&++o<10?(e.consume(n),c):(!r.interrupt||o<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),s(n)):t(n)}function s(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(z,r.interrupt?t:l,e.attempt($,f,a))}function l(e){return r.containerState.initialBlankLine=!0,u++,f(e)}function a(n){return b(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(z,(function(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,I(e,n,"listItemIndent",r.containerState.size+1)(t)}),(function(t){return r.containerState.furtherBlankLines||!b(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(W,n,i)(t))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,I(e,e.attempt(U,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},$={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return!b(e)&&i&&"listItemPrefixWhitespace"===i[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},W={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Z={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),i}return t(n)};function i(t){return b(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){const r=this;return function(n){return b(n)?I(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):i(n)};function i(r){return e.attempt(Z,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function Y(e,n,t,r,i,u,o,c,s){const l=s||Number.POSITIVE_INFINITY;let a=0;return function(n){return 60===n?(e.enter(r),e.enter(i),e.enter(u),e.consume(n),e.exit(u),f):null===n||32===n||41===n||g(n)?t(n):(e.enter(r),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),p(n))};function f(t){return 62===t?(e.enter(u),e.consume(t),e.exit(u),e.exit(i),e.exit(r),n):(e.enter(c),e.enter("chunkString",{contentType:"string"}),d(t))}function d(n){return 62===n?(e.exit("chunkString"),e.exit(c),f(n)):null===n||60===n||F(n)?t(n):(e.consume(n),92===n?h:d)}function h(n){return 60===n||62===n||92===n?(e.consume(n),d):d(n)}function p(i){return a||null!==i&&41!==i&&!v(i)?a999||null===f||91===f||93===f&&!c||94===f&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):93===f?(e.exit(u),e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):F(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),a(f))}function a(n){return null===n||91===n||93===n||F(n)||s++>999?(e.exit("chunkString"),l(n)):(e.consume(n),c||(c=!b(n)),92===n?f:a)}function f(n){return 91===n||92===n||93===n?(e.consume(n),s++,a):a(n)}}function J(e,n,t,r,i,u){let o;return function(n){return 34===n||39===n||40===n?(e.enter(r),e.enter(i),e.consume(n),e.exit(i),o=40===n?41:n,c):t(n)};function c(t){return t===o?(e.enter(i),e.consume(t),e.exit(i),e.exit(r),n):(e.enter(u),s(t))}function s(n){return n===o?(e.exit(u),c(o)):null===n?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(n))}function l(n){return n===o||null===n||F(n)?(e.exit("chunkString"),s(n)):(e.consume(n),92===n?a:l)}function a(n){return n===o||92===n?(e.consume(n),l):l(n)}}function K(e,n){let t;return function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):b(i)?I(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}function X(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ee={name:"definition",tokenize:function(e,n,t){const r=this;let i;return function(n){return e.enter("definition"),function(n){return G.call(r,e,u,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function u(n){return i=X(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),o):t(n)}function o(n){return v(n)?K(e,c)(n):c(n)}function c(n){return Y(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function s(n){return e.attempt(ne,l,l)(n)}function l(n){return b(n)?I(e,a,"whitespace")(n):a(n)}function a(u){return null===u||F(u)?(e.exit("definition"),r.parser.defined.push(i),n(u)):t(u)}}},ne={tokenize:function(e,n,t){return function(n){return v(n)?K(e,r)(n):t(n)};function r(n){return J(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function i(n){return b(n)?I(e,u,"whitespace")(n):u(n)}function u(e){return null===e||F(e)?n(e):t(e)}},partial:!0},te={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),I(e,i,"linePrefix",5)(n)};function i(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?u(e):t(e)}function u(n){return null===n?c(n):F(n)?e.attempt(re,u,c)(n):(e.enter("codeFlowValue"),o(n))}function o(n){return null===n||F(n)?(e.exit("codeFlowValue"),u(n)):(e.consume(n),o)}function c(t){return e.exit("codeIndented"),n(t)}}},re={tokenize:function(e,n,t){const r=this;return i;function i(n){return r.parser.lazy[r.now().line]?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):I(e,u,"linePrefix",5)(n)}function u(e){const u=r.events[r.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?n(e):F(e)?i(e):t(e)}},partial:!0},ie={name:"headingAtx",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),i(n)}(n)};function i(n){return 35===n&&r++<6?(e.consume(n),i):null===n||v(n)?(e.exit("atxHeadingSequence"),u(n)):t(n)}function u(t){return 35===t?(e.enter("atxHeadingSequence"),o(t)):null===t||F(t)?(e.exit("atxHeading"),n(t)):b(t)?I(e,u,"whitespace")(t):(e.enter("atxHeadingText"),c(t))}function o(n){return 35===n?(e.consume(n),o):(e.exit("atxHeadingSequence"),u(n))}function c(n){return null===n||35===n||v(n)?(e.exit("atxHeadingText"),u(n)):(e.consume(n),c)}},resolve:function(e,n){let t,r,i=e.length-2,u=3;return"whitespace"===e[u][1].type&&(u+=2),i-2>u&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(u===i-1||i-4>u&&"whitespace"===e[i-2][1].type)&&(i-=u+1===i?2:4),i>u&&(t={type:"atxHeadingText",start:e[u][1].start,end:e[i][1].end},r={type:"chunkText",start:e[u][1].start,end:e[i][1].end,contentType:"text"},s(e,u,i-u+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},ue={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let i;return function(n){let o,c=r.events.length;for(;c--;)if("lineEnding"!==r.events[c][1].type&&"linePrefix"!==r.events[c][1].type&&"content"!==r.events[c][1].type){o="paragraph"===r.events[c][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!o?t(n):(e.enter("setextHeadingLine"),i=n,function(n){return e.enter("setextHeadingLineSequence"),u(n)}(n))};function u(n){return n===i?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),b(n)?I(e,o,"lineSuffix")(n):o(n))}function o(r){return null===r||F(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,i,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){t=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),i||"definition"!==e[u][1].type||(i=u);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,n]),e.splice(i+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[i][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},oe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ce=["pre","script","style","textarea"],se={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let i,u,o,c,s;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),l}(n)};function l(c){return 33===c?(e.consume(c),a):47===c?(e.consume(c),u=!0,m):63===c?(e.consume(c),i=3,r.interrupt?n:H):h(c)?(e.consume(c),o=String.fromCharCode(c),g):t(c)}function a(u){return 45===u?(e.consume(u),i=2,f):91===u?(e.consume(u),i=5,c=0,d):h(u)?(e.consume(u),i=4,r.interrupt?n:H):t(u)}function f(i){return 45===i?(e.consume(i),r.interrupt?n:H):t(i)}function d(i){return i==="CDATA[".charCodeAt(c++)?(e.consume(i),6===c?r.interrupt?n:D:d):t(i)}function m(n){return h(n)?(e.consume(n),o=String.fromCharCode(n),g):t(n)}function g(c){if(null===c||47===c||62===c||v(c)){const s=47===c,l=o.toLowerCase();return s||u||!ce.includes(l)?oe.includes(o.toLowerCase())?(i=6,s?(e.consume(c),x):r.interrupt?n(c):D(c)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(c):u?k(c):y(c)):(i=1,r.interrupt?n(c):D(c))}return 45===c||p(c)?(e.consume(c),o+=String.fromCharCode(c),g):t(c)}function x(i){return 62===i?(e.consume(i),r.interrupt?n:D):t(i)}function k(n){return b(n)?(e.consume(n),k):T(n)}function y(n){return 47===n?(e.consume(n),T):58===n||95===n||h(n)?(e.consume(n),S):b(n)?(e.consume(n),y):T(n)}function S(n){return 45===n||46===n||58===n||95===n||p(n)?(e.consume(n),S):E(n)}function E(n){return 61===n?(e.consume(n),A):b(n)?(e.consume(n),E):y(n)}function A(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),s=n,I):b(n)?(e.consume(n),A):w(n)}function I(n){return n===s?(e.consume(n),s=null,C):null===n||F(n)?t(n):(e.consume(n),I)}function w(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||v(n)?E(n):(e.consume(n),w)}function C(e){return 47===e||62===e||b(e)?y(e):t(e)}function T(n){return 62===n?(e.consume(n),z):t(n)}function z(n){return null===n||F(n)?D(n):b(n)?(e.consume(n),z):t(n)}function D(n){return 45===n&&2===i?(e.consume(n),L):60===n&&1===i?(e.consume(n),P):62===n&&4===i?(e.consume(n),R):63===n&&3===i?(e.consume(n),H):93===n&&5===i?(e.consume(n),j):!F(n)||6!==i&&7!==i?null===n||F(n)?(e.exit("htmlFlowData"),B(n)):(e.consume(n),D):(e.exit("htmlFlowData"),e.check(le,q,B)(n))}function B(n){return e.check(ae,_,q)(n)}function _(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),M}function M(n){return null===n||F(n)?B(n):(e.enter("htmlFlowData"),D(n))}function L(n){return 45===n?(e.consume(n),H):D(n)}function P(n){return 47===n?(e.consume(n),o="",O):D(n)}function O(n){if(62===n){const t=o.toLowerCase();return ce.includes(t)?(e.consume(n),R):D(n)}return h(n)&&o.length<8?(e.consume(n),o+=String.fromCharCode(n),O):D(n)}function j(n){return 93===n?(e.consume(n),H):D(n)}function H(n){return 62===n?(e.consume(n),R):45===n&&2===i?(e.consume(n),H):D(n)}function R(n){return null===n||F(n)?(e.exit("htmlFlowData"),q(n)):(e.consume(n),R)}function q(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},le={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(z,n,t)}},partial:!0},ae={tokenize:function(e,n,t){const r=this;return function(n){return F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):t(n)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},fe={tokenize:function(e,n,t){const r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},de={name:"codeFenced",tokenize:function(e,n,t){const r=this,i={tokenize:function(e,n,t){let i=0;return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(n){return e.enter("codeFencedFence"),b(n)?I(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):s(n)}function s(n){return n===u?(e.enter("codeFencedFenceSequence"),l(n)):t(n)}function l(n){return n===u?(i++,e.consume(n),l):i>=c?(e.exit("codeFencedFenceSequence"),b(n)?I(e,a,"whitespace")(n):a(n)):t(n)}function a(r){return null===r||F(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0};let u,o=0,c=0;return function(n){return function(n){const t=r.events[r.events.length-1];return o=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,u=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(n)}(n)};function s(n){return n===u?(c++,e.consume(n),s):c<3?t(n):(e.exit("codeFencedFenceSequence"),b(n)?I(e,l,"whitespace")(n):l(n))}function l(t){return null===t||F(t)?(e.exit("codeFencedFence"),r.interrupt?n(t):e.check(fe,h,k)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),a(t))}function a(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(n)):b(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(n)):96===n&&n===u?t(n):(e.consume(n),a)}function f(n){return null===n||F(n)?l(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(n)):96===n&&n===u?t(n):(e.consume(n),d)}function h(n){return e.attempt(i,k,p)(n)}function p(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),m}function m(n){return o>0&&b(n)?I(e,g,"linePrefix",o+1)(n):g(n)}function g(n){return null===n||F(n)?e.check(fe,h,k)(n):(e.enter("codeFlowValue"),x(n))}function x(n){return null===n||F(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),x)}function k(t){return e.exit("codeFenced"),n(t)}},concrete:!0},he=document.createElement("i");function pe(e){const n="&"+e+";";he.innerHTML=n;const t=he.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&t!==n&&t}const me={name:"characterReference",tokenize:function(e,n,t){const r=this;let i,u,o=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),c};function c(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,u=p,l(n))}function s(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,u=k,l):(e.enter("characterReferenceValue"),i=7,u=x,l(n))}function l(c){if(59===c&&o){const i=e.exit("characterReferenceValue");return u!==p||pe(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(c)}return u(c)&&o++1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const h=Object.assign({},e[t][1].end),p=Object.assign({},e[d][1].start);Ae(h,-c),Ae(p,c),u={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[t][1].end)},o={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[d][1].start)},r={type:c>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},u.start),e[d][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=l(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=l(a,[["enter",r,n],["enter",u,n],["exit",u,n],["enter",i,n]]),a=l(a,V(n.parser.constructs.insideSpan.null,e.slice(t+1,d),n)),a=l(a,[["exit",i,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,a=l(a,[["enter",e[d][1],n],["exit",e[d][1],n]])):f=0,s(e,t-1,d-t+3,a),d=t+a.length-f-2;break}for(d=-1;++d13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||!(65535&~t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}const Ve=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qe(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return qe(t.slice(n?2:1),n?16:10)}return pe(t)||e}function Ne(e){return e&&"object"==typeof e?"position"in e||"type"in e?$e(e.position):"start"in e||"end"in e?$e(e):"line"in e||"column"in e?Ue(e):"":""}function Ue(e){return We(e&&e.line)+":"+We(e&&e.column)}function $e(e){return Ue(e&&e.start)+"-"+Ue(e&&e.end)}function We(e){return e&&"number"==typeof e?e:1}const Ze={}.hasOwnProperty,Ye=function(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(b),autolinkProtocol:p,autolinkEmail:p,atxHeading:s(y),blockQuote:s((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:s(k),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(k,l),codeText:s((function(){return{type:"inlineCode",value:""}}),l),codeTextData:p,data:p,codeFlowValue:p,definition:s((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:s(F),hardBreakTrailing:s(F),htmlFlow:s(v,l),htmlFlowData:p,htmlText:s(v,l),htmlTextData:p,image:s((function(){return{type:"image",title:null,url:"",alt:null}})),label:l,link:s(b),listItem:s((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){c("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:s(S,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:s(S),paragraph:s((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(y),strong:s((function(){return{type:"strong",children:[]}})),thematicBreak:s((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:f(),atxHeadingSequence:function(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}},autolink:f(),autolinkEmail:function(e){m.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:f(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:x,characterReferenceMarkerNumeric:x,characterReferenceValue:function(e){const n=this.sliceSerialize(e),t=c("characterReferenceType");let r;t?(r=qe(n,"characterReferenceMarkerNumeric"===t?10:16),i("characterReferenceType")):r=pe(n);const u=this.stack.pop();u.value+=r,u.position.end=Ge(e.end)},codeFenced:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){c("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:m,codeIndented:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:m,data:m,definition:f(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:f(),hardBreakEscape:f(g),hardBreakTrailing:f(g),htmlFlow:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:m,htmlText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:m,image:f((function(){const e=this.stack[this.stack.length-1];if(c("inReference")){const n=c("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===t.type){const n=e.children;t.children=n}else t.alt=n},labelText:function(e){const n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(Ve,Qe)}(n),t.identifier=X(n).toLowerCase()},lineEnding:function(e){const t=this.stack[this.stack.length-1];if(c("atHardBreak"))return t.children[t.children.length-1].position.end=Ge(e.end),void i("atHardBreak");!c("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(p.call(this,e),m.call(this,e))},link:f((function(){const e=this.stack[this.stack.length-1];if(c("inReference")){const n=c("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:f((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:f(),thematicBreak:f()}};Je(n,(e||{}).mdastExtensions||[]);const t={};return function(e){let t={type:"root",children:[]};const u={stack:[t],tokenStack:[],config:n,enter:a,exit:d,buffer:l,resume:h,setData:i,getData:c},o=[];let s=-1;for(;++s0){const e=u.tokenStack[u.tokenStack.length-1];(e[1]||Xe).call(u,void 0,e[0])}for(t.position={start:Ge(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Ge(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s{0!==t&&(i++,r.push([])),e.split(" ").forEach((e=>{e&&r[i].push({content:e,type:n})}))})):"strong"!==e.type&&"emphasis"!==e.type||e.children.forEach((n=>{u(n,e.type)}))}return t.forEach((e=>{"paragraph"===e.type&&e.children.forEach((e=>{u(e)}))})),r}function tn(e,n){var t;return rn(e,[],(t=n.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map((e=>e.segment)):[...t]),n.type)}function rn(e,n,t,r){if(0===t.length)return[{content:n.join(""),type:r},{content:"",type:r}];const[i,...u]=t,o=[...n,i];return e([{content:o.join(""),type:r}])?rn(e,o,u,r):(0===n.length&&i&&(n.push(i),t.shift()),[{content:n.join(""),type:r},{content:t.join(""),type:r}])}function un(e,n){if(e.some((({content:e})=>e.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return on(e,n)}function on(e,n,t=[],r=[]){if(0===e.length)return r.length>0&&t.push(r),t.length>0?t:[];let i="";" "===e[0].content&&(i=" ",e.shift());const u=e.shift()??{content:" ",type:"normal"},o=[...r];if(""!==i&&o.push({content:i,type:"normal"}),o.push(u),n(o))return on(e,n,t,o);if(r.length>0)t.push(r),e.unshift(u);else if(u.content){const[r,i]=tn(n,u);t.push([r]),i.content&&e.unshift(i)}return on(e,n,t)}function cn(e,n,t){return e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*t-.1+"em").attr("dy",t+"em")}function sn(e,n,t){const r=e.append("text"),i=cn(r,1,n);an(i,t);const u=i.node().getComputedTextLength();return r.remove(),u}function ln(e,n,t){var r;const i=e.append("text"),u=cn(i,1,n);an(u,[{content:t,type:"normal"}]);const o=null==(r=u.node())?void 0:r.getBoundingClientRect();return o&&i.remove(),o}function an(e,n){e.text(""),n.forEach(((n,t)=>{const r=e.append("tspan").attr("font-style","emphasis"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===t?r.text(n.content):r.text(" "+n.content)}))}const fn=(e,n="",{style:t="",isTitle:r=!1,classes:u="",useHtmlLabels:o=!0,isNode:c=!0,width:s=200,addSvgBackground:l=!1}={})=>{if(i.l.info("createText",n,t,r,u,o,c,l),o){const r=function(e){const{children:n}=Ye(e);return n.map((function e(n){return"text"===n.type?n.value.replace(/\n/g,"
"):"strong"===n.type?`${n.children.map(e).join("")}`:"emphasis"===n.type?`${n.children.map(e).join("")}`:"paragraph"===n.type?`

${n.children.map(e).join("")}

`:`Unsupported markdown: ${n.type}`})).join("")}(n),o=function(e,n,t,r,i=!1){const u=e.append("foreignObject"),o=u.append("xhtml:div"),c=n.label,s=n.isNode?"nodeLabel":"edgeLabel";var l,a;o.html(`\n "+c+""),l=o,(a=n.labelStyle)&&l.attr("style",a),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("max-width",t+"px"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&o.attr("class","labelBkg");let f=o.node().getBoundingClientRect();return f.width===t&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",t+"px"),f=o.node().getBoundingClientRect()),u.style("width",f.width),u.style("height",f.height),u.node()}(e,{isNode:c,label:(0,i.M)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``)),labelStyle:t.replace("fill:","color:")},s,u,l);return o}{const t=function(e,n,t,r=!1){const i=n.append("g"),u=i.insert("rect").attr("class","background"),o=i.append("text").attr("y","-10.1");let c=0;for(const n of t){const t=n=>sn(i,1.1,n)<=e,r=t(n)?[n]:un(n,t);for(const e of r)an(cn(o,c,1.1),e),c++}if(r){const e=o.node().getBBox(),n=2;return u.attr("x",-n).attr("y",-n).attr("width",e.width+2*n).attr("height",e.height+2*n),i.node()}return o.node()}(s,e,nn(n),l);return t}}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/331.mjs b/resources/daux/themes/rsp/js/331.mjs new file mode 100644 index 0000000..0b0c4ec --- /dev/null +++ b/resources/daux/themes/rsp/js/331.mjs @@ -0,0 +1 @@ +export const id=331;export const ids=[331];export const modules={1331:(t,e,a)=>{a.d(e,{diagram:()=>u});var i=a(1245),n=a(1062),d=a(944),r=a(697),s=a(5950);a(4353),a(6750),a(2838);const o={},c=(t,e,a)=>{const i=(0,s.c)().state.padding,n=2*(0,s.c)().state.padding,d=t.node().getBBox(),r=d.width,o=d.x,c=t.append("text").attr("x",0).attr("y",(0,s.c)().state.titleShift).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),g=c.node().getBBox().width+n;let p,h=Math.max(g,r);h===r&&(h+=n);const l=t.node().getBBox();e.doc,p=o-i,g>r&&(p=(r-h)/2+i),Math.abs(o-l.x)r&&(p=o-(g-r)/2);const x=1-(0,s.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",p).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+(0,s.c)().state.textHeight+(0,s.c)().state.titleShift+1).attr("rx","0"),c.attr("x",p+i),g<=r&&c.attr("x",o+(h-n)/2-g/2+i),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",3*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",l.height+3+2*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t},g=function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit)})(n),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2)})(n),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let a=(0,s.c)().state.forkWidth,i=(0,s.c)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding)})(n,e),"note"===e.type&&((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",(0,s.c)().state.padding),i=e.append("g"),{textWidth:n,textHeight:d}=((t,e,a,i)=>{let n=0;const d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let r=t.replace(/\r\n/g,"
");r=r.replace(/\n/g,"
");const o=r.split(s.e.lineBreakRegex);let c=1.25*(0,s.c)().state.noteMargin;for(const t of o){const e=t.trim();if(e.length>0){const t=d.append("tspan");t.text(e),0===c&&(c+=t.node().getBBox().height),n+=c,t.attr("x",0+(0,s.c)().state.noteMargin),t.attr("y",0+n+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:n}})(t,0,0,i);a.attr("height",d+2*(0,s.c)().state.noteMargin),a.attr("width",n+2*(0,s.c)().state.noteMargin)})(e.note.text,n),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.c)().state.textHeight).attr("y1",0).attr("y2",0)})(n),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+2*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",a.width+2*(0,s.c)().state.padding).attr("height",a.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e),"default"===e.type&&e.descriptions.length>0&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+1.3*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=a.height,n=t.append("text").attr("x",(0,s.c)().state.padding).attr("y",i+.4*(0,s.c)().state.padding+(0,s.c)().state.dividerMargin+(0,s.c)().state.textHeight).attr("class","state-description");let d=!0,r=!0;e.descriptions.forEach((function(t){d||(function(t,e,a){const i=t.append("tspan").attr("x",2*(0,s.c)().state.padding).text(e);a||i.attr("dy",(0,s.c)().state.textHeight)}(n,t,r),r=!1),d=!1}));const o=t.append("line").attr("x1",(0,s.c)().state.padding).attr("y1",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("y2",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("class","descr-divider"),c=n.node().getBBox(),g=Math.max(c.width,a.width);o.attr("x2",g+3*(0,s.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",g+2*(0,s.c)().state.padding).attr("height",c.height+i+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e);const d=n.node().getBBox();return i.width=d.width+2*(0,s.c)().state.padding,i.height=d.height+2*(0,s.c)().state.padding,r=i,o[a]=r,i;var r};let p,h=0;const l={},x=(t,e,a,o,f,u,y)=>{const w=new r.T({compound:!0,multigraph:!0});let b,m=!0;for(b=0;b{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)}))):s.l.debug("No Node "+t+": "+JSON.stringify(w.node(t)))}));let M=E.getBBox();w.edges().forEach((function(t){void 0!==t&&void 0!==w.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(w.edge(t))),function(t,e,a){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const d=e.points,r=(0,n.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.qrM),o=t.append("path").attr("d",r(d)).attr("id","edge"+h).attr("class","transition");let c="";if((0,s.c)().state.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),o.attr("marker-end","url("+c+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){const i=t.append("g").attr("class","stateLabel"),{x:n,y:d}=s.u.calcLabelPosition(e.points),r=s.e.getRows(a.title);let o=0;const c=[];let g=0,p=0;for(let t=0;t<=r.length;t++){const e=i.append("text").attr("text-anchor","middle").text(r[t]).attr("x",n).attr("y",d+o),a=e.node().getBBox();if(g=Math.max(g,a.width),p=Math.min(p,a.x),s.l.info(a.x,n,d+o),0===o){const t=e.node().getBBox();o=t.height,s.l.info("Title height",o,d)}c.push(e)}let h=o*r.length;if(r.length>1){const t=(r.length-1)*o*.5;c.forEach(((e,a)=>e.attr("y",d+a*o-t))),h=o*r.length}const l=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",n-g/2-(0,s.c)().state.padding/2).attr("y",d-h/2-(0,s.c)().state.padding/2-3.5).attr("width",g+(0,s.c)().state.padding).attr("height",h+(0,s.c)().state.padding),s.l.info(l)}h++}(e,w.edge(t),w.edge(t).relation))})),M=E.getBBox();const S={id:a||"root",label:a||"root",width:0,height:0};return S.width=M.width+2*p.padding,S.height=M.height+2*p.padding,s.l.debug("Doc rendered",S,w),S},f={setConf:function(){},draw:function(t,e,a,i){p=(0,s.c)().state;const d=(0,s.c)().securityLevel;let r;"sandbox"===d&&(r=(0,n.Ltv)("#i"+e));const o="sandbox"===d?(0,n.Ltv)(r.nodes()[0].contentDocument.body):(0,n.Ltv)("body"),c="sandbox"===d?r.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const g=o.select(`[id='${e}']`);g.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");const h=i.db.getRootDoc();x(h,g,void 0,!1,o,c,i);const l=p.padding,f=g.node().getBBox(),u=f.width+2*l,y=f.height+2*l,w=1.75*u;(0,s.i)(g,y,w,p.useMaxWidth),g.attr("viewBox",`${f.x-p.padding} ${f.y-p.padding} `+u+" "+y)}},u={parser:i.p,db:i.d,renderer:f,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/376.mjs b/resources/daux/themes/rsp/js/376.mjs new file mode 100644 index 0000000..f7bad7d --- /dev/null +++ b/resources/daux/themes/rsp/js/376.mjs @@ -0,0 +1 @@ +export const id=376;export const ids=[376];export const modules={2376:(t,e,n)=>{n.d(e,{diagram:()=>M});var i=n(5950),s=n(1062),r=n(5097),a=n(8041),o=n(5263),c=(n(4353),n(6750),n(2838),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,11,12,14,16,17,20,21],n=[1,9],i=[1,10],s=[1,11],r=[1,12],a=[1,13],o=[1,16],c=[1,17],l={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 9:this.$=r[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=r[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 12:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 15:i.addTask(r[o],0,""),this.$=r[o];break;case 16:i.addEvent(r[o].substr(2)),this.$=r[o]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:s,16:r,17:a,18:14,19:15,20:o,21:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:i,14:s,16:r,17:a,18:14,19:15,20:o,21:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,f,m,_,b,x,k,v,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==y&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),y=S),m=r[f]&&r[f][y]),void 0===m||!m.length||!m[0]){var $;for(b in v=[],r[f])this.terminals_[b]&&b>2&&v.push("'"+this.terminals_[b]+"'");$=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+y);switch(m[0]){case 1:e.push(y),i.push(h.yytext),s.push(h.yylloc),e.push(m[1]),y=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(x=this.productions_[m[1]][1],w.$=i[i.length-x],w._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},g&&(w._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(w,[a,c,o,d.yy,m[1],i,s].concat(l))))return _;x&&(e=e.slice(0,-1*x*2),i=i.slice(0,-1*x),s=s.slice(0,-1*x)),e.push(this.productions_[m[1]][0]),i.push(w.$),s.push(w._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0}},h={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var s=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function d(){this.yy={}}return l.lexer=h,d.prototype=l,l.Parser=d,new d}());c.parser=c;const l=c;let h="",d=0;const u=[],p=[],g=[],y=()=>i.L,f=function(){u.length=0,p.length=0,h="",g.length=0,(0,i.v)()},m=function(t){h=t,u.push(t)},_=function(){return u},b=function(){let t=S(),e=0;for(;!t&&e<100;)t=S(),e++;return p.push(...g),p},x=function(t,e,n){const i={id:d++,section:h,type:h,task:t,score:e||0,events:n?[n]:[]};g.push(i)},k=function(t){g.find((t=>t.id===d-1)).events.push(t)},v=function(t){const e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},S=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},w={clear:f,getCommonDb:y,addSection:m,getSections:_,getTasks:b,addTask:x,addTaskOrg:v,addEvent:k},$=Object.freeze(Object.defineProperty({__proto__:null,addEvent:k,addSection:m,addTask:x,addTaskOrg:v,clear:f,default:w,getCommonDb:y,getSections:_,getTasks:b},Symbol.toStringTag,{value:"Module"}));function E(t,e){t.each((function(){var t,n=(0,s.Ltv)(this),i=n.text().split(/(\s+|
)/).reverse(),r=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let s=0;se||"
"===t)&&(r.pop(),c.text(r.join(" ").trim()),r="
"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const I=function(t,e,n,i){const s=n%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),o=r.append("g"),c=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(E,e.width).node().getBBox(),l=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(a,e,s),e},L=function(t,e,n){const i=t.append("g"),s=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(E,e.width).node().getBBox(),r=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),s.height+1.1*r*.5+e.padding},T=function(t,e,n,s,r,a,o,c,l,h,d){var u;for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:a};i.l.debug("taskNode",e);const p=t.append("g").attr("class","taskWrapper"),g=I(p,e,n,o).height;if(i.l.debug("taskHeight after draw",g),p.attr("transform",`translate(${s}, ${r})`),a=Math.max(a,g),c.events){const e=t.append("g").attr("class","lineWrapper");let i=a;r+=100,i+=A(t,c.events,n,s,r,o),r-=100,e.append("line").attr("x1",s+95).attr("y1",r+a).attr("x2",s+95).attr("y2",r+a+(d?a:h)+l+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,d&&!(null==(u=o.timeline)?void 0:u.disableMulticolor)&&n++}r-=10},A=function(t,e,n,s,r,a){let o=0;const c=r;r+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};i.l.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=I(l,e,n,a).height;o+=h,l.attr("transform",`translate(${s}, ${r})`),r=r+10+h}return r=c,o},C={setConf:()=>{},draw:function(t,e,n,r){var a,o;const c=(0,i.c)(),l=c.leftMargin??50;i.l.debug("timeline",r.db);const h=c.securityLevel;let d;"sandbox"===h&&(d=(0,s.Ltv)("#i"+e));const u=("sandbox"===h?(0,s.Ltv)(d.nodes()[0].contentDocument.body):(0,s.Ltv)("body")).select("#"+e);u.append("g");const p=r.db.getTasks(),g=r.db.getCommonDb().getDiagramTitle();i.l.debug("task",p),u.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const y=r.db.getSections();i.l.debug("sections",y);let f=0,m=0,_=0,b=0,x=50+l,k=50;b=50;let v=0,S=!0;y.forEach((function(t){const e=L(u,{number:v,descr:t,section:v,width:150,padding:20,maxHeight:f},c);i.l.debug("sectionHeight before draw",e),f=Math.max(f,e+20)}));let w=0,$=0;i.l.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:m},s=L(u,n,c);i.l.debug("taskHeight before draw",s),m=Math.max(m,s+20),w=Math.max(w,e.events.length);let r=0;for(let t=0;t0?y.forEach((t=>{const e=p.filter((e=>e.section===t)),n={number:v,descr:t,section:v,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:f};i.l.debug("sectionNode",n);const s=u.append("g"),r=I(s,n,v,c);i.l.debug("sectionNode output",r),s.attr("transform",`translate(${x}, 50)`),k+=f+50,e.length>0&&T(u,e,v,x,k,m,c,0,$,f,!1),x+=200*Math.max(e.length,1),k=50,v++})):(S=!1,T(u,p,v,x,k,m,c,0,$,f,!0));const E=u.node().getBBox();i.l.debug("bounds",E),g&&u.append("text").text(g).attr("x",E.width/2-l).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),_=S?f+m+150:m+100,u.append("g").attr("class","lineWrapper").append("line").attr("x1",l).attr("y1",_).attr("x2",E.width+3*l).attr("y2",_).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.o)(void 0,u,(null==(a=c.timeline)?void 0:a.padding)??50,(null==(o=c.timeline)?void 0:o.useMaxWidth)??!1)}},M={db:$,renderer:C,parser:l,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e{n.d(e,{diagram:()=>A});var i=n(5950),s=n(1062),r=n(8259),a=(n(4353),n(6750),n(2838),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],s=[1,11],r=[1,12],a=[1,13],o=[1,14],l={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 9:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 13:i.addTask(r[o-1],r[o]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:s,16:r,17:a,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:s,16:r,17:a,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,l=0,c=s.slice.call(arguments,1),h=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);h.setInput(t,y.yy),y.yy.lexer=h,y.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,x,m,k,_,b,v,$,w={};;){if(g=e[e.length-1],this.defaultActions[g]?x=this.defaultActions[g]:(null==f&&($=void 0,"number"!=typeof($=n.pop()||h.lex()||1)&&($ instanceof Array&&($=(n=$).pop()),$=this.symbols_[$]||$),f=$),x=r[g]&&r[g][f]),void 0===x||!x.length||!x[0]){var M;for(k in v=[],r[g])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");M=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:v})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(x[0]){case 1:e.push(f),i.push(h.yytext),s.push(h.yylloc),e.push(x[1]),f=null,l=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(_=this.productions_[x[1]][1],w.$=i[i.length-_],w._$={first_line:s[s.length-(_||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(_||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(_||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[a,l,o,y.yy,x[1],i,s].concat(c))))return m;_&&(e=e.slice(0,-1*_*2),i=i.slice(0,-1*_),s=s.slice(0,-1*_)),e.push(this.productions_[x[1]][0]),i.push(w.$),s.push(w._$),b=r[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},c={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var s=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\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,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};function h(){this.yy={}}return l.lexer=c,h.prototype=l,l.Parser=h,new h}());a.parser=a;const o=a;let l="";const c=[],h=[],y=[],u=function(){let t=!0;for(const[e,n]of y.entries())y[e].processed,t=t&&n.processed;return t},p={getConfig:()=>(0,i.c)().journey,clear:function(){c.length=0,h.length=0,l="",y.length=0,(0,i.v)()},setDiagramTitle:i.q,getDiagramTitle:i.t,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){l=t,c.push(t)},getSections:function(){return c},getTasks:function(){let t=u(),e=0;for(;!t&&e<100;)t=u(),e++;return h.push(...y),h},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,s=[];1===n.length?(i=Number(n[0]),s=[]):(i=Number(n[0]),s=n[1].split(","));const r=s.map((t=>t.trim())),a={section:l,type:l,people:r,task:t,score:i};y.push(a)},addTaskOrg:function(t){const e={section:l,type:l,description:t,task:t,classes:[]};h.push(e)},getActors:function(){return function(){const t=[];return h.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},d=function(t,e){return(0,r.d)(t,e)},f=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n};let g=-1;const x=function(){function t(t,e,n,s,r,a,o,l){i(e.append("text").attr("x",n+r/2).attr("y",s+a/2+5).style("font-color",l).style("text-anchor","middle").text(t),o)}function e(t,e,n,s,r,a,o,l,c){const{taskFontSize:h,taskFontFamily:y}=l,u=t.split(//gi);for(let t=0;t3?function(t){const n=(0,s.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){const n=(0,s.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):n.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(a,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=(0,r.g)();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=n.width,o.height=n.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,d(a,o);let l=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:l,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};f(a,i),l+=10})),x(n)(e.task,a,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour)},v={},$=(0,i.c)().journey,w=$.leftMargin,M={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,s){const r=(0,i.c)().journey,a=this;let o=0;this.sequenceItems.forEach((function(i){o++;const l=a.sequenceItems.length-o+1;a.updateVal(i,"starty",e-l*r.boxMargin,Math.min),a.updateVal(i,"stopy",s+l*r.boxMargin,Math.max),a.updateVal(M.data,"startx",t-l*r.boxMargin,Math.min),a.updateVal(M.data,"stopx",n+l*r.boxMargin,Math.max),a.updateVal(i,"startx",t-l*r.boxMargin,Math.min),a.updateVal(i,"stopx",n+l*r.boxMargin,Math.max),a.updateVal(M.data,"starty",e-l*r.boxMargin,Math.min),a.updateVal(M.data,"stopy",s+l*r.boxMargin,Math.max)}))},insert:function(t,e,n,i){const s=Math.min(t,n),r=Math.max(t,n),a=Math.min(e,i),o=Math.max(e,i);this.updateVal(M.data,"startx",s,Math.min),this.updateVal(M.data,"starty",a,Math.min),this.updateVal(M.data,"stopx",r,Math.max),this.updateVal(M.data,"stopy",o,Math.max),this.updateBounds(s,a,r,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},E=$.sectionFills,T=$.sectionColours,S={setConf:function(t){Object.keys(t).forEach((function(e){$[e]=t[e]}))},draw:function(t,e,n,r){const a=(0,i.c)().journey,o=(0,i.c)().securityLevel;let l;"sandbox"===o&&(l=(0,s.Ltv)("#i"+e));const c="sandbox"===o?(0,s.Ltv)(l.nodes()[0].contentDocument.body):(0,s.Ltv)("body");M.init();const h=c.select("#"+e);h.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const y=r.db.getTasks(),u=r.db.getDiagramTitle(),p=r.db.getActors();for(const t in v)delete v[t];let d=0;p.forEach((t=>{v[t]={color:a.actorColours[d%a.actorColours.length],position:d},d++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(v).forEach((i=>{const s=v[i].color,r={cx:20,cy:n,r:7,fill:s,stroke:"#000",pos:v[i].position};m(t,r);const a={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};_(t,a),n+=20}))}(h),M.insert(0,0,w,50*Object.keys(v).length),function(t,e,n){const s=(0,i.c)().journey;let r="";const a=n+(2*s.height+s.diagramMarginY);let o=0,l="#CCC",c="black",h=0;for(const[n,i]of e.entries()){if(r!==i.section){l=E[o%E.length],h=o%E.length,c=T[o%T.length];let a=0;const y=i.section;for(let t=n;t(v[e]&&(t[e]=v[e]),t)),{});i.x=n*s.taskMargin+n*s.width+w,i.y=a,i.width=s.diagramMarginX,i.height=s.diagramMarginY,i.colour=c,i.fill=l,i.num=h,i.actors=y,b(t,i,s),M.insert(i.x,i.y,i.x+i.width+s.taskMargin,450)}}(h,y,0);const f=M.getBounds();u&&h.append("text").text(u).attr("x",w).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=f.stopy-f.starty+2*a.diagramMarginY,x=w+f.stopx+2*a.diagramMarginX;(0,i.i)(h,g,x,a.useMaxWidth),h.append("line").attr("x1",w).attr("y1",4*a.height).attr("x2",x-w-4).attr("y2",4*a.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const $=u?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+$}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+$+25)}},A={parser:o,db:p,renderer:S,styles:t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,init:t=>{S.setConf(t.journey),p.clear()}}},8259:(t,e,n)=>{n.d(e,{a:()=>a,b:()=>c,c:()=>l,d:()=>r,e:()=>y,f:()=>o,g:()=>h});var i=n(6750),s=n(5950);const r=(t,e)=>{const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),e.name&&n.attr("name",e.name),void 0!==e.rx&&n.attr("rx",e.rx),void 0!==e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)n.attr(t,e.attrs[t]);return void 0!==e.class&&n.attr("class",e.class),n},a=(t,e)=>{const n={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};r(t,n).lower()},o=(t,e)=>{const n=e.text.replace(s.J," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},l=(t,e,n,s)=>{const r=t.append("image");r.attr("x",e),r.attr("y",n);const a=(0,i.Jf)(s);r.attr("xlink:href",a)},c=(t,e,n,s)=>{const r=t.append("use");r.attr("x",e),r.attr("y",n);const a=(0,i.Jf)(s);r.attr("xlink:href",`#${a}`)},h=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),y=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/426.mjs b/resources/daux/themes/rsp/js/426.mjs new file mode 100644 index 0000000..5f1e840 --- /dev/null +++ b/resources/daux/themes/rsp/js/426.mjs @@ -0,0 +1 @@ +export const id=426;export const ids=[426];export const modules={7426:(t,e,a)=>{a.d(e,{diagram:()=>f});var r=a(3626),i=a(1062),n=a(944),d=a(697),o=a(5950);a(4353),a(6750),a(2838);let s=0;const l=function(t,e,a,r){const{displayText:i,cssStyle:n}=e.getDisplayDetails(),d=t.append("tspan").attr("x",r.padding).text(i);""!==n&&d.attr("style",e.cssStyle),a||d.attr("dy",r.textHeight)},p=function(t,e,a,r){o.l.debug("Rendering class ",e,a);const i=e.id,n={id:i,label:e.id,width:0,height:0},d=t.append("g").attr("id",r.db.lookUpDomId(i)).attr("class","classGroup");let s;s=e.link?d.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",a.textHeight+a.padding).attr("x",0):d.append("text").attr("y",a.textHeight+a.padding).attr("x",0);let p=!0;e.annotations.forEach((function(t){const e=s.append("tspan").text("«"+t+"»");p||e.attr("dy",a.textHeight),p=!1}));let c=function(t){let e=t.id;return t.type&&(e+="<"+(0,o.x)(t.type)+">"),e}(e);const g=s.append("tspan").text(c).attr("class","title");p||g.attr("dy",a.textHeight);const h=s.node().getBBox().height;let f,x,y;if(e.members.length>0){f=d.append("line").attr("x1",0).attr("y1",a.padding+h+a.dividerMargin/2).attr("y2",a.padding+h+a.dividerMargin/2);const t=d.append("text").attr("x",a.padding).attr("y",h+a.dividerMargin+a.textHeight).attr("fill","white").attr("class","classText");p=!0,e.members.forEach((function(e){l(t,e,p,a),p=!1})),x=t.node().getBBox()}if(e.methods.length>0){y=d.append("line").attr("x1",0).attr("y1",a.padding+h+a.dividerMargin+x.height).attr("y2",a.padding+h+a.dividerMargin+x.height);const t=d.append("text").attr("x",a.padding).attr("y",h+2*a.dividerMargin+x.height+a.textHeight).attr("fill","white").attr("class","classText");p=!0,e.methods.forEach((function(e){l(t,e,p,a),p=!1}))}const u=d.node().getBBox();var m=" ";e.cssClasses.length>0&&(m+=e.cssClasses.join(" "));const b=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",u.width+2*a.padding).attr("height",u.height+a.padding+.5*a.dividerMargin).attr("class",m).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(b-t.getBBox().width)/2)})),e.tooltip&&s.insert("title").text(e.tooltip),f&&f.attr("x2",b),y&&y.attr("x2",b),n.width=b,n.height=u.height+a.padding+.5*a.dividerMargin,n};let c={};const g=function(t){const e=Object.entries(c).find((e=>e[1].label===t));if(e)return e[0]},h={draw:function(t,e,a,r){const l=(0,o.c)().class;c={},o.l.info("Rendering diagram "+t);const h=(0,o.c)().securityLevel;let f;"sandbox"===h&&(f=(0,i.Ltv)("#i"+e));const x="sandbox"===h?(0,i.Ltv)(f.nodes()[0].contentDocument.body):(0,i.Ltv)("body"),y=x.select(`[id='${e}']`);var u;(u=y).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),u.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),u.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),u.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),u.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),u.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),u.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),u.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");const m=new d.T({multigraph:!0});m.setGraph({isMultiGraph:!0}),m.setDefaultEdgeLabel((function(){return{}}));const b=r.db.getClasses(),k=Object.keys(b);for(const t of k){const e=b[t],a=p(y,e,l,r);c[a.id]=a,m.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach((function(t){o.l.info("tjoho"+g(t.id1)+g(t.id2)+JSON.stringify(t)),m.setEdge(g(t.id1),g(t.id2),{relation:t},t.title||"DEFAULT")})),r.db.getNotes().forEach((function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=function(t,e,a){o.l.debug("Rendering note ",e,a);const r=e.id,i={id:r,text:e.text,width:0,height:0},n=t.append("g").attr("id",r).attr("class","classGroup");let d=n.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split("\n");s.forEach((function(t){o.l.debug(`Adding line: ${t}`),d.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const l=n.node().getBBox(),p=n.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",l.width+2*a.padding).attr("height",l.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach((function(t){t.setAttribute("x",(p-t.getBBox().width)/2)})),i.width=p,i.height=l.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin,i}(y,t,l);c[e.id]=e,m.setNode(e.id,e),t.class&&t.class in b&&m.setEdge(t.id,g(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,n.Zp)(m),m.nodes().forEach((function(t){void 0!==t&&void 0!==m.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(m.node(t))),x.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(m.node(t).x-m.node(t).width/2)+","+(m.node(t).y-m.node(t).height/2)+" )"))})),m.edges().forEach((function(t){void 0!==t&&void 0!==m.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(m.edge(t))),function(t,e,a,r,n){const d=function(t){switch(t){case n.db.relationType.AGGREGATION:return"aggregation";case n.db.relationType.EXTENSION:return"extension";case n.db.relationType.COMPOSITION:return"composition";case n.db.relationType.DEPENDENCY:return"dependency";case n.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const l=e.points,p=(0,i.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(i.qrM),c=t.append("path").attr("d",p(l)).attr("id","edge"+s).attr("class","relation");let g,h,f="";r.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==a.relation.lineType&&c.attr("class","relation dashed-line"),10==a.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==a.relation.type1&&c.attr("marker-start","url("+f+"#"+d(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&c.attr("marker-end","url("+f+"#"+d(a.relation.type2)+"End)");const x=e.points.length;let y,u,m,b,k=o.u.calcLabelPosition(e.points);if(g=k.x,h=k.y,x%2!=0&&x>1){let t=o.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=o.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[x-1]);o.l.debug("cardinality_1_point "+JSON.stringify(t)),o.l.debug("cardinality_2_point "+JSON.stringify(r)),y=t.x,u=t.y,m=r.x,b=r.y}if(void 0!==a.title){const e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",g).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=i;const n=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-r.padding/2).attr("y",n.y-r.padding/2).attr("width",n.width+r.padding).attr("height",n.height+r.padding)}o.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",u).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",m).attr("y",b).attr("fill","black").attr("font-size","6").text(a.relationTitle2),s++}(y,m.edge(t),m.edge(t).relation,l,r))}));const w=y.node().getBBox(),L=w.width+40,v=w.height+40;(0,o.i)(y,v,L,l.useMaxWidth);const E=`${w.x-20} ${w.y-20} ${L} ${v}`;o.l.debug(`viewBox ${E}`),y.attr("viewBox",E)}},f={parser:r.p,db:r.d,renderer:h,styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/453.mjs b/resources/daux/themes/rsp/js/453.mjs new file mode 100644 index 0000000..a7bcbb6 --- /dev/null +++ b/resources/daux/themes/rsp/js/453.mjs @@ -0,0 +1 @@ +export const id=453;export const ids=[453];export const modules={646:(e,t,n)=>{n.d(t,{H:()=>l});var r=n(2933);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.AV(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},2933:(e,t,n)=>{n.d(t,{AV:()=>c,De:()=>o,c$:()=>p,gh:()=>a,nh:()=>d});var r=n(4963),l=n(9610);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.A(n)){var o=n.transition;if(l.A(o))return o(e)}return e}},5937:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(6309),l=n(1931);const o=(e,t)=>r.A.lang.round(l.A.parse(e)[t])},2453:(e,t,n)=>{n.d(t,{diagram:()=>a});var r=n(2548),l=n(5382),o=n(5950);n(1062),n(697),n(944),n(4075),n(4353),n(6750),n(2838);const a={parser:r.p,db:r.f,renderer:l.f,styles:l.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,o.p)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),l.f.setConf(e.flowchart),r.f.clear(),r.f.setGen("gen-2")}}},5382:(e,t,n)=>{n.d(t,{a:()=>f,f:()=>w});var r=n(697),l=n(1062),o=n(5950),a=n(2983),s=n(646),i=n(5937),c=n(5582);const d={},p=async function(e,t,n,r,l,a){const i=r.select(`[id="${n}"]`),c=Object.keys(e);for(const n of c){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,o.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(o.l.info("vertex",r,r.labelType),"markdown"===r.labelType)o.l.info("vertex",r,r.labelType);else if((0,o.m)((0,o.c)().flowchart.htmlLabels)){const e={label:b};p=(0,s.H)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(o.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let w=0,f="";switch(r.type){case"round":w=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}const h=await(0,o.r)(b,(0,o.c)());t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:h,labelType:r.labelType,rx:w,ry:w,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:h,rx:w,ry:w,class:c,style:d.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,o.c)().flowchart.padding})}},b=async function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,s=0,i={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}for(const n of e){s++;const c="L-"+n.start+"-"+n.end;void 0===i[c]?(i[c]=0,o.l.info("abc78 new entry",c,i[c])):(i[c]++,o.l.info("abc78 new entry",c,i[c]));let p=c+"-"+i[c];o.l.info("abc78 new link id to be used is",c,p,i[c]);const b="LS-"+n.start,w="LE-"+n.end,f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let h="",u="";switch(n.stroke){case"normal":h="fill:none;",void 0!==r&&(h=r),void 0!==a&&(u=a),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,o.k)(n.style);h=e.style,u=e.labelStyle}f.style=f.style+=h,f.labelStyle=f.labelStyle+=u,void 0!==n.interpolate?f.curve=(0,o.n)(n.interpolate,l.lUB):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,l.lUB):f.curve=(0,o.n)(d.curve,l.lUB),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=await(0,o.r)(n.text.replace(o.e.lineBreakRegex,"\n"),(0,o.c)()),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=p,f.classes="flowchart-link "+b+" "+w,t.setEdge(n.start,n.end,f,s)}},w={setConf:function(e){const t=Object.keys(e);for(const n of t)d[n]=e[n]},addVertices:p,addEdges:b,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,s){o.l.info("Drawing flowchart");let i=s.db.getDirection();void 0===i&&(i="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),w=d.nodeSpacing||50,f=d.rankSpacing||50;let h;"sandbox"===c&&(h=(0,l.Ltv)("#i"+t));const u="sandbox"===c?(0,l.Ltv)(h.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),g="sandbox"===c?h.nodes()[0].contentDocument:document,y=new r.T({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:w,ranksep:f,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=s.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),s.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=s.db.getVertices(),m=s.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.Ubm)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .katex path {\n fill: #000;\n stroke: #000;\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${(e=>{const t=i.A,n=t(e,"r"),r=t(e,"g"),l=t(e,"b");return c.A(n,r,l,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/469.mjs b/resources/daux/themes/rsp/js/469.mjs new file mode 100644 index 0000000..e353194 --- /dev/null +++ b/resources/daux/themes/rsp/js/469.mjs @@ -0,0 +1 @@ +export const id=469;export const ids=[469];export const modules={646:(e,t,n)=>{n.d(t,{H:()=>l});var r=n(2933);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.AV(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},2933:(e,t,n)=>{n.d(t,{AV:()=>c,De:()=>o,c$:()=>p,gh:()=>a,nh:()=>d});var r=n(4963),l=n(9610);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.A(n)){var o=n.transition;if(l.A(o))return o(e)}return e}},5937:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(6309),l=n(1931);const o=(e,t)=>r.A.lang.round(l.A.parse(e)[t])},7469:(e,t,n)=>{n.d(t,{diagram:()=>s});var r=n(2548),l=(n(697),n(1062));n(5950),n(9622),n(3068),n(8058),n(944),n(2933),n(646),n(5664),n(1690),n(1088),l.lUB;var o=n(5382);n(4353),n(6750),n(2838),n(4075);const a={},s={parser:r.p,db:r.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,function(e){const t=Object.keys(e);for(const n of t)a[n]=e[n]}(e.flowchart),r.f.clear(),r.f.setGen("gen-1")}}},5382:(e,t,n)=>{n.d(t,{a:()=>f,f:()=>w});var r=n(697),l=n(1062),o=n(5950),a=n(2983),s=n(646),i=n(5937),c=n(5582);const d={},p=async function(e,t,n,r,l,a){const i=r.select(`[id="${n}"]`),c=Object.keys(e);for(const n of c){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,o.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(o.l.info("vertex",r,r.labelType),"markdown"===r.labelType)o.l.info("vertex",r,r.labelType);else if((0,o.m)((0,o.c)().flowchart.htmlLabels)){const e={label:b};p=(0,s.H)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(o.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let w=0,f="";switch(r.type){case"round":w=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}const h=await(0,o.r)(b,(0,o.c)());t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:h,labelType:r.labelType,rx:w,ry:w,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:h,rx:w,ry:w,class:c,style:d.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,o.c)().flowchart.padding})}},b=async function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,s=0,i={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}for(const n of e){s++;const c="L-"+n.start+"-"+n.end;void 0===i[c]?(i[c]=0,o.l.info("abc78 new entry",c,i[c])):(i[c]++,o.l.info("abc78 new entry",c,i[c]));let p=c+"-"+i[c];o.l.info("abc78 new link id to be used is",c,p,i[c]);const b="LS-"+n.start,w="LE-"+n.end,f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let h="",u="";switch(n.stroke){case"normal":h="fill:none;",void 0!==r&&(h=r),void 0!==a&&(u=a),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,o.k)(n.style);h=e.style,u=e.labelStyle}f.style=f.style+=h,f.labelStyle=f.labelStyle+=u,void 0!==n.interpolate?f.curve=(0,o.n)(n.interpolate,l.lUB):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,l.lUB):f.curve=(0,o.n)(d.curve,l.lUB),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=await(0,o.r)(n.text.replace(o.e.lineBreakRegex,"\n"),(0,o.c)()),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=p,f.classes="flowchart-link "+b+" "+w,t.setEdge(n.start,n.end,f,s)}},w={setConf:function(e){const t=Object.keys(e);for(const n of t)d[n]=e[n]},addVertices:p,addEdges:b,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,s){o.l.info("Drawing flowchart");let i=s.db.getDirection();void 0===i&&(i="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),w=d.nodeSpacing||50,f=d.rankSpacing||50;let h;"sandbox"===c&&(h=(0,l.Ltv)("#i"+t));const u="sandbox"===c?(0,l.Ltv)(h.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),g="sandbox"===c?h.nodes()[0].contentDocument:document,y=new r.T({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:w,ranksep:f,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=s.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),s.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=s.db.getVertices(),m=s.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.Ubm)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .katex path {\n fill: #000;\n stroke: #000;\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${(e=>{const t=i.A,n=t(e,"r"),r=t(e,"g"),l=t(e,"b");return c.A(n,r,l,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/478.mjs b/resources/daux/themes/rsp/js/478.mjs new file mode 100644 index 0000000..c818339 --- /dev/null +++ b/resources/daux/themes/rsp/js/478.mjs @@ -0,0 +1 @@ +export const id=478;export const ids=[478];export const modules={8478:(t,i,e)=>{e.d(i,{diagram:()=>u});var a=e(5950),n=e(1062),r=(e(4353),e(6750),e(2838),function(){var t=function(t,i,e,a){for(e=e||{},a=t.length;a--;e[t[a]]=i);return e},i=[1,3],e=[1,4],a=[1,5],n=[1,6],r=[1,7],s=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],l=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],o=[32,33,34],h=[2,7],c=[1,13],d=[1,17],u=[1,18],x=[1,19],g=[1,20],f=[1,21],y=[1,22],p=[1,23],q=[1,24],T=[1,25],m=[1,26],A=[1,27],_=[1,30],b=[1,31],S=[1,32],F=[1,33],k=[1,34],P=[1,35],v=[1,36],L=[1,37],C=[1,38],z=[1,39],B=[1,40],E=[1,41],D=[1,42],I=[1,57],w=[1,58],R=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],W={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(t,i,e,a,n,r,s){var l=r.length-1;switch(n){case 12:this.$=r[l].trim(),a.setDiagramTitle(this.$);break;case 13:this.$=r[l].trim(),a.setAccTitle(this.$);break;case 14:case 15:this.$=r[l].trim(),a.setAccDescription(this.$);break;case 16:a.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 17:a.addPoint(r[l-3],r[l-1],r[l]);break;case 18:a.setXAxisLeftText(r[l-2]),a.setXAxisRightText(r[l]);break;case 19:r[l-1].text+=" ⟶ ",a.setXAxisLeftText(r[l-1]);break;case 20:a.setXAxisLeftText(r[l]);break;case 21:a.setYAxisBottomText(r[l-2]),a.setYAxisTopText(r[l]);break;case 22:r[l-1].text+=" ⟶ ",a.setYAxisBottomText(r[l-1]);break;case 23:a.setYAxisBottomText(r[l]);break;case 24:a.setQuadrant1Text(r[l]);break;case 25:a.setQuadrant2Text(r[l]);break;case 26:a.setQuadrant3Text(r[l]);break;case 27:a.setQuadrant4Text(r[l]);break;case 31:case 33:this.$={text:r[l],type:"text"};break;case 32:this.$={text:r[l-1].text+""+r[l],type:r[l-1].type};break;case 34:this.$={text:r[l],type:"markdown"};break;case 35:this.$=r[l];break;case 36:this.$=r[l-1]+""+r[l]}},table:[{3:1,4:2,5:i,6:e,32:a,33:n,34:r},{1:[3]},{3:8,4:2,5:i,6:e,32:a,33:n,34:r},{3:9,4:2,5:i,6:e,32:a,33:n,34:r},t(s,[2,4],{7:10}),t(l,[2,28]),t(l,[2,29]),t(l,[2,30]),{1:[2,1]},{1:[2,2]},t(o,h,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:c,13:d,15:u,17:x,19:g,20:f,25:y,27:p,28:q,29:T,30:m,31:A,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),t(s,[2,5]),{4:43,32:a,33:n,34:r},t(o,h,{10:14,11:15,12:16,21:28,35:29,9:44,5:c,13:d,15:u,17:x,19:g,20:f,25:y,27:p,28:q,29:T,30:m,31:A,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},t(o,[2,15]),t(o,[2,16]),{21:48,35:29,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:49,35:29,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:50,35:29,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:51,35:29,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:52,35:29,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:53,35:29,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{5:I,22:[1,54],35:56,36:55,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w},t(R,[2,31]),t(R,[2,33]),t(R,[2,34]),t(R,[2,37]),t(R,[2,38]),t(R,[2,39]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(s,[2,6]),t(o,[2,8]),t(o,[2,12]),t(o,[2,13]),t(o,[2,14]),t(o,[2,20],{36:55,35:56,5:I,26:[1,59],40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,23],{36:55,35:56,5:I,26:[1,60],40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,24],{36:55,35:56,5:I,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,25],{36:55,35:56,5:I,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,26],{36:55,35:56,5:I,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,27],{36:55,35:56,5:I,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),{23:[1,61]},t(R,[2,32]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(o,[2,19],{35:29,21:62,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),t(o,[2,22],{35:29,21:63,37:_,38:b,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),{24:[1,64]},t(o,[2,18],{36:55,35:56,5:I,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,21],{36:55,35:56,5:I,40:S,41:F,42:k,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},parse:function(t){var i=[0],e=[],a=[null],n=[],r=this.table,s="",l=0,o=0,h=n.slice.call(arguments,1),c=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);c.setInput(t,d.yy),d.yy.lexer=c,d.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var x=c.yylloc;n.push(x);var g=c.options&&c.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,y,p,q,T,m,A,_,b,S={};;){if(y=i[i.length-1],this.defaultActions[y]?p=this.defaultActions[y]:(null==f&&(b=void 0,"number"!=typeof(b=e.pop()||c.lex()||1)&&(b instanceof Array&&(b=(e=b).pop()),b=this.symbols_[b]||b),f=b),p=r[y]&&r[y][f]),void 0===p||!p.length||!p[0]){var F;for(T in _=[],r[y])this.terminals_[T]&&T>2&&_.push("'"+this.terminals_[T]+"'");F=c.showPosition?"Parse error on line "+(l+1)+":\n"+c.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(F,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:x,expected:_})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+f);switch(p[0]){case 1:i.push(f),a.push(c.yytext),n.push(c.yylloc),i.push(p[1]),f=null,o=c.yyleng,s=c.yytext,l=c.yylineno,x=c.yylloc;break;case 2:if(m=this.productions_[p[1]][1],S.$=a[a.length-m],S._$={first_line:n[n.length-(m||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(m||1)].first_column,last_column:n[n.length-1].last_column},g&&(S._$.range=[n[n.length-(m||1)].range[0],n[n.length-1].range[1]]),void 0!==(q=this.performAction.apply(S,[s,o,l,d.yy,p[1],a,n].concat(h))))return q;m&&(i=i.slice(0,-1*m*2),a=a.slice(0,-1*m),n=n.slice(0,-1*m)),i.push(this.productions_[p[1]][0]),a.push(S.$),n.push(S._$),A=r[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0}},N={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=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),e.length-1&&(this.yylineno-=e.length-1);var n=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:e?(e.length===a.length?this.yylloc.first_column:0)+a[a.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var e,a,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,e,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;ri[0].length)){if(i=e,a=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,e,a){switch(e){case 0:case 1:case 3:break;case 2:return 32;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 22:case 24:case 28:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 23:this.begin("string");break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function U(){this.yy={}}return W.lexer=N,U.prototype=W,W.Parser=U,new U}());r.parser=r;const s=r,l=(0,a.E)(),o=(0,a.c)();function h(t){return(0,a.d)(t.trim(),o)}const c=new class{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var t,i,e,n,r,s,l,o,h,c,d,u,x,g,f,y,p,q;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=a.B.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(i=a.B.quadrantChart)?void 0:i.chartHeight)||500,titlePadding:(null==(e=a.B.quadrantChart)?void 0:e.titlePadding)||10,titleFontSize:(null==(n=a.B.quadrantChart)?void 0:n.titleFontSize)||20,quadrantPadding:(null==(r=a.B.quadrantChart)?void 0:r.quadrantPadding)||5,xAxisLabelPadding:(null==(s=a.B.quadrantChart)?void 0:s.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(l=a.B.quadrantChart)?void 0:l.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(o=a.B.quadrantChart)?void 0:o.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(h=a.B.quadrantChart)?void 0:h.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(c=a.B.quadrantChart)?void 0:c.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(d=a.B.quadrantChart)?void 0:d.quadrantTextTopPadding)||5,pointTextPadding:(null==(u=a.B.quadrantChart)?void 0:u.pointTextPadding)||5,pointLabelFontSize:(null==(x=a.B.quadrantChart)?void 0:x.pointLabelFontSize)||12,pointRadius:(null==(g=a.B.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(f=a.B.quadrantChart)?void 0:f.xAxisPosition)||"top",yAxisPosition:(null==(y=a.B.quadrantChart)?void 0:y.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(p=a.B.quadrantChart)?void 0:p.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(q=a.B.quadrantChart)?void 0:q.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:l.quadrant1Fill,quadrant2Fill:l.quadrant2Fill,quadrant3Fill:l.quadrant3Fill,quadrant4Fill:l.quadrant4Fill,quadrant1TextFill:l.quadrant1TextFill,quadrant2TextFill:l.quadrant2TextFill,quadrant3TextFill:l.quadrant3TextFill,quadrant4TextFill:l.quadrant4TextFill,quadrantPointFill:l.quadrantPointFill,quadrantPointTextFill:l.quadrantPointTextFill,quadrantXAxisTextFill:l.quadrantXAxisTextFill,quadrantYAxisTextFill:l.quadrantYAxisTextFill,quadrantTitleFill:l.quadrantTitleFill,quadrantInternalBorderStrokeFill:l.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:l.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),a.l.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}setConfig(t){a.l.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.l.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,i,e,a){const n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,r={top:"top"===t&&i?n:0,bottom:"bottom"===t&&i?n:0},s=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&e?s:0,right:"right"===this.config.yAxisPosition&&e?s:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+r.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-r.top-r.bottom-h.top;return{xAxisSpace:r,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,i,e,a){const{quadrantSpace:n,titleSpace:r}=a,{quadrantHalfHeight:s,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=Boolean(this.data.xAxisRightText),x=Boolean(this.data.yAxisTopText),g=[];return this.data.xAxisLeftText&&i&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&i&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&e&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(x?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&e&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+s-(x?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){const{quadrantSpace:i}=t,{quadrantHalfHeight:e,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:r}=i,s=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r,width:n,height:e,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r,width:n,height:e,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant4Fill}];for(const t of s)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return s}getQuadrantPoints(t){const{quadrantSpace:i}=t,{quadrantHeight:e,quadrantLeft:a,quadrantTop:r,quadrantWidth:s}=i,l=(0,n.m4Y)().domain([0,1]).range([a,s+a]),o=(0,n.m4Y)().domain([0,1]).range([e+r,r]);return this.data.points.map((t=>({x:l(t.x),y:o(t.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}})))}getBorders(t){const i=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:e}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:r,quadrantHalfWidth:s,quadrantTop:l,quadrantWidth:o}=e;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l,x2:r+o+i,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r+o,y1:l+i,x2:r+o,y2:l+n-i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l+n,x2:r+o+i,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r,y1:l+i,x2:r,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+s,y1:l+i,x2:r+s,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+i,y1:l+a,x2:r+o-i,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),i=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),e=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,i,e);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,i,n),borderLines:this.getBorders(n),title:this.getTitle(e)}}},d={draw:(t,i,e,r)=>{var s,l,o;function h(t){return"top"===t?"hanging":"middle"}function c(t){return"left"===t?"start":"middle"}function d(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const u=(0,a.c)();a.l.debug("Rendering quadrant chart\n"+t);const x=u.securityLevel;let g;"sandbox"===x&&(g=(0,n.Ltv)("#i"+i));const f=("sandbox"===x?(0,n.Ltv)(g.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id="${i}"]`),y=f.append("g").attr("class","main"),p=(null==(s=u.quadrantChart)?void 0:s.chartWidth)||500,q=(null==(l=u.quadrantChart)?void 0:l.chartHeight)||500;(0,a.i)(f,q,p,(null==(o=u.quadrantChart)?void 0:o.useMaxWidth)||!0),f.attr("viewBox","0 0 "+p+" "+q),r.db.setHeight(q),r.db.setWidth(p);const T=r.db.getQuadrantData(),m=y.append("g").attr("class","quadrants"),A=y.append("g").attr("class","border"),_=y.append("g").attr("class","data-points"),b=y.append("g").attr("class","labels"),S=y.append("g").attr("class","title");T.title&&S.append("text").attr("x",0).attr("y",0).attr("fill",T.title.fill).attr("font-size",T.title.fontSize).attr("dominant-baseline",h(T.title.horizontalPos)).attr("text-anchor",c(T.title.verticalPos)).attr("transform",d(T.title)).text(T.title.text),T.borderLines&&A.selectAll("line").data(T.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const F=m.selectAll("g.quadrant").data(T.quadrants).enter().append("g").attr("class","quadrant");F.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),F.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text))).text((t=>t.text.text)),b.selectAll("g.label").data(T.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>h(t.horizontalPos))).attr("text-anchor",(t=>c(t.verticalPos))).attr("transform",(t=>d(t)));const k=_.selectAll("g.data-point").data(T.points).enter().append("g").attr("class","data-point");k.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),k.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text)))}},u={parser:s,db:{setWidth:function(t){c.setConfig({chartWidth:t})},setHeight:function(t){c.setConfig({chartHeight:t})},setQuadrant1Text:function(t){c.setData({quadrant1Text:h(t.text)})},setQuadrant2Text:function(t){c.setData({quadrant2Text:h(t.text)})},setQuadrant3Text:function(t){c.setData({quadrant3Text:h(t.text)})},setQuadrant4Text:function(t){c.setData({quadrant4Text:h(t.text)})},setXAxisLeftText:function(t){c.setData({xAxisLeftText:h(t.text)})},setXAxisRightText:function(t){c.setData({xAxisRightText:h(t.text)})},setYAxisTopText:function(t){c.setData({yAxisTopText:h(t.text)})},setYAxisBottomText:function(t){c.setData({yAxisBottomText:h(t.text)})},addPoint:function(t,i,e){c.addPoints([{x:i,y:e,text:h(t.text)}])},getQuadrantData:function(){const t=(0,a.c)(),{themeVariables:i,quadrantChart:e}=t;return e&&c.setConfig(e),c.setThemeConfig({quadrant1Fill:i.quadrant1Fill,quadrant2Fill:i.quadrant2Fill,quadrant3Fill:i.quadrant3Fill,quadrant4Fill:i.quadrant4Fill,quadrant1TextFill:i.quadrant1TextFill,quadrant2TextFill:i.quadrant2TextFill,quadrant3TextFill:i.quadrant3TextFill,quadrant4TextFill:i.quadrant4TextFill,quadrantPointFill:i.quadrantPointFill,quadrantPointTextFill:i.quadrantPointTextFill,quadrantXAxisTextFill:i.quadrantXAxisTextFill,quadrantYAxisTextFill:i.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:i.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:i.quadrantInternalBorderStrokeFill,quadrantTitleFill:i.quadrantTitleFill}),c.setData({titleText:(0,a.t)()}),c.build()},clear:function(){c.clear(),(0,a.v)()},setAccTitle:a.s,getAccTitle:a.g,setDiagramTitle:a.q,getDiagramTitle:a.t,getAccDescription:a.a,setAccDescription:a.b},renderer:d,styles:()=>""}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/548.mjs b/resources/daux/themes/rsp/js/548.mjs new file mode 100644 index 0000000..e0a960c --- /dev/null +++ b/resources/daux/themes/rsp/js/548.mjs @@ -0,0 +1 @@ +export const id=548;export const ids=[548];export const modules={2548:(t,e,s)=>{s.d(e,{d:()=>st,f:()=>et,p:()=>r});var u=s(1062),i=s(5950),n=function(){var t=function(t,e,s,u){for(s=s||{},u=t.length;u--;s[t[u]]=e);return s},e=[1,4],s=[1,3],u=[1,5],i=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],n=[2,2],r=[1,13],a=[1,14],c=[1,15],o=[1,16],l=[1,23],h=[1,25],A=[1,26],d=[1,27],p=[1,49],y=[1,48],E=[1,29],f=[1,30],g=[1,31],k=[1,32],D=[1,33],b=[1,44],F=[1,46],T=[1,42],C=[1,47],_=[1,43],B=[1,50],S=[1,45],m=[1,51],x=[1,52],v=[1,34],L=[1,35],I=[1,36],R=[1,37],$=[1,57],N=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],O=[1,61],w=[1,60],P=[1,62],U=[8,9,11,73,75],V=[1,88],G=[1,93],M=[1,92],K=[1,89],Y=[1,85],j=[1,91],X=[1,87],z=[1,94],H=[1,90],W=[1,95],Q=[1,86],q=[8,9,10,11,73,75],Z=[8,9,10,11,44,73,75],J=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],tt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],et=[42,58,86,99,102,103,106,108,111,112,113],st=[1,121],ut=[1,120],it=[1,128],nt=[1,142],rt=[1,143],at=[1,144],ct=[1,145],ot=[1,130],lt=[1,132],ht=[1,136],At=[1,137],dt=[1,138],pt=[1,139],yt=[1,140],Et=[1,141],ft=[1,146],gt=[1,147],kt=[1,126],Dt=[1,127],bt=[1,134],Ft=[1,129],Tt=[1,133],Ct=[1,131],_t=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Bt=[1,149],St=[8,9,11],mt=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],xt=[1,169],vt=[1,165],Lt=[1,166],It=[1,170],Rt=[1,167],$t=[1,168],Nt=[75,113,116],Ot=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],wt=[10,103],Pt=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],Ut=[1,235],Vt=[1,233],Gt=[1,237],Mt=[1,231],Kt=[1,232],Yt=[1,234],jt=[1,236],Xt=[1,238],zt=[1,255],Ht=[8,9,11,103],Wt=[8,9,10,11,58,81,102,103,106,107,108,109],Qt={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(t,e,s,u,i,n,r){var a=n.length-1;switch(i){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(n[a])||n[a].length>0)&&n[a-1].push(n[a]),this.$=n[a-1];break;case 4:case 176:case 49:case 71:case 174:this.$=n[a];break;case 11:u.setDirection("TB"),this.$="TB";break;case 12:u.setDirection(n[a-1]),this.$=n[a-1];break;case 27:this.$=n[a-1].nodes;break;case 33:this.$=u.addSubGraph(n[a-6],n[a-1],n[a-4]);break;case 34:this.$=u.addSubGraph(n[a-3],n[a-1],n[a-3]);break;case 35:this.$=u.addSubGraph(void 0,n[a-1],void 0);break;case 37:this.$=n[a].trim(),u.setAccTitle(this.$);break;case 38:case 39:this.$=n[a].trim(),u.setAccDescription(this.$);break;case 43:u.addLink(n[a-2].stmt,n[a],n[a-1]),this.$={stmt:n[a],nodes:n[a].concat(n[a-2].nodes)};break;case 44:u.addLink(n[a-3].stmt,n[a-1],n[a-2]),this.$={stmt:n[a-1],nodes:n[a-1].concat(n[a-3].nodes)};break;case 45:this.$={stmt:n[a-1],nodes:n[a-1]};break;case 46:this.$={stmt:n[a],nodes:n[a]};break;case 47:case 121:case 123:this.$=[n[a]];break;case 48:this.$=n[a-4].concat(n[a]);break;case 50:this.$=n[a-2],u.setClass(n[a-2],n[a]);break;case 51:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"square");break;case 52:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"doublecircle");break;case 53:this.$=n[a-5],u.addVertex(n[a-5],n[a-2],"circle");break;case 54:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"ellipse");break;case 55:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"stadium");break;case 56:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"subroutine");break;case 57:this.$=n[a-7],u.addVertex(n[a-7],n[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[n[a-5],n[a-3]]]));break;case 58:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"cylinder");break;case 59:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"round");break;case 60:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"diamond");break;case 61:this.$=n[a-5],u.addVertex(n[a-5],n[a-2],"hexagon");break;case 62:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"odd");break;case 63:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"trapezoid");break;case 64:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"inv_trapezoid");break;case 65:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"lean_right");break;case 66:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"lean_left");break;case 67:this.$=n[a],u.addVertex(n[a]);break;case 68:n[a-1].text=n[a],this.$=n[a-1];break;case 69:case 70:n[a-2].text=n[a-1],this.$=n[a-2];break;case 72:var c=u.destructLink(n[a],n[a-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:n[a-1]};break;case 73:case 79:case 94:case 96:this.$={text:n[a],type:"text"};break;case 74:case 80:case 95:this.$={text:n[a-1].text+""+n[a],type:n[a-1].type};break;case 75:case 81:this.$={text:n[a],type:"string"};break;case 76:case 82:case 97:this.$={text:n[a],type:"markdown"};break;case 77:c=u.destructLink(n[a]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 78:this.$=n[a-1];break;case 98:this.$=n[a-4],u.addClass(n[a-2],n[a]);break;case 99:this.$=n[a-4],u.setClass(n[a-2],n[a]);break;case 100:case 108:this.$=n[a-1],u.setClickEvent(n[a-1],n[a]);break;case 101:case 109:this.$=n[a-3],u.setClickEvent(n[a-3],n[a-2]),u.setTooltip(n[a-3],n[a]);break;case 102:this.$=n[a-2],u.setClickEvent(n[a-2],n[a-1],n[a]);break;case 103:this.$=n[a-4],u.setClickEvent(n[a-4],n[a-3],n[a-2]),u.setTooltip(n[a-4],n[a]);break;case 104:this.$=n[a-2],u.setLink(n[a-2],n[a]);break;case 105:this.$=n[a-4],u.setLink(n[a-4],n[a-2]),u.setTooltip(n[a-4],n[a]);break;case 106:this.$=n[a-4],u.setLink(n[a-4],n[a-2],n[a]);break;case 107:this.$=n[a-6],u.setLink(n[a-6],n[a-4],n[a]),u.setTooltip(n[a-6],n[a-2]);break;case 110:this.$=n[a-1],u.setLink(n[a-1],n[a]);break;case 111:this.$=n[a-3],u.setLink(n[a-3],n[a-2]),u.setTooltip(n[a-3],n[a]);break;case 112:this.$=n[a-3],u.setLink(n[a-3],n[a-2],n[a]);break;case 113:this.$=n[a-5],u.setLink(n[a-5],n[a-4],n[a]),u.setTooltip(n[a-5],n[a-2]);break;case 114:this.$=n[a-4],u.addVertex(n[a-2],void 0,void 0,n[a]);break;case 115:this.$=n[a-4],u.updateLink([n[a-2]],n[a]);break;case 116:this.$=n[a-4],u.updateLink(n[a-2],n[a]);break;case 117:this.$=n[a-8],u.updateLinkInterpolate([n[a-6]],n[a-2]),u.updateLink([n[a-6]],n[a]);break;case 118:this.$=n[a-8],u.updateLinkInterpolate(n[a-6],n[a-2]),u.updateLink(n[a-6],n[a]);break;case 119:this.$=n[a-6],u.updateLinkInterpolate([n[a-4]],n[a]);break;case 120:this.$=n[a-6],u.updateLinkInterpolate(n[a-4],n[a]);break;case 122:case 124:n[a-2].push(n[a]),this.$=n[a-2];break;case 126:this.$=n[a-1]+n[a];break;case 175:case 177:this.$=n[a-1]+""+n[a];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,9:e,10:s,12:u},{1:[3]},t(i,n,{5:6}),{4:7,9:e,10:s,12:u},{4:8,9:e,10:s,12:u},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),{8:[1,54],9:[1,55],10:$,15:53,18:56},t(N,[2,3]),t(N,[2,4]),t(N,[2,5]),t(N,[2,6]),t(N,[2,7]),t(N,[2,8]),{8:O,9:w,11:P,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:O,9:w,11:P,21:66},{8:O,9:w,11:P,21:67},{8:O,9:w,11:P,21:68},{8:O,9:w,11:P,21:69},{8:O,9:w,11:P,21:70},{8:O,9:w,10:[1,71],11:P,21:72},t(N,[2,36]),{35:[1,73]},{37:[1,74]},t(N,[2,39]),t(U,[2,46],{18:75,10:$}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:V,42:G,58:M,77:[1,83],86:K,92:[1,80],94:[1,81],98:82,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},t(N,[2,178]),t(N,[2,179]),t(N,[2,180]),t(N,[2,181]),t(q,[2,47]),t(q,[2,49],{44:[1,96]}),t(Z,[2,67],{110:109,29:[1,97],42:p,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:y,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:b,99:F,102:T,103:C,106:_,108:B,111:S,112:m,113:x}),t(J,[2,174]),t(J,[2,135]),t(J,[2,136]),t(J,[2,137]),t(J,[2,138]),t(J,[2,139]),t(J,[2,140]),t(J,[2,141]),t(J,[2,142]),t(J,[2,143]),t(J,[2,144]),t(J,[2,145]),t(i,[2,12]),t(i,[2,18]),t(i,[2,19]),{9:[1,110]},t(tt,[2,26],{18:111,10:$}),t(N,[2,27]),{40:112,41:38,42:p,43:39,45:40,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},t(N,[2,40]),t(N,[2,41]),t(N,[2,42]),t(et,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:st,116:ut},t([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),t(N,[2,28]),t(N,[2,29]),t(N,[2,30]),t(N,[2,31]),t(N,[2,32]),{10:it,12:nt,14:rt,27:at,28:122,32:ct,42:ot,58:lt,73:ht,77:[1,124],78:[1,125],80:135,81:At,82:dt,83:pt,84:yt,85:Et,86:ft,87:gt,88:123,102:kt,106:Dt,108:bt,111:Ft,112:Tt,113:Ct},t(_t,n,{5:148}),t(N,[2,37]),t(N,[2,38]),t(U,[2,45],{42:Bt}),{42:p,45:150,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{99:[1,151],100:152,102:[1,153]},{42:p,45:154,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{42:p,45:155,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},t(St,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},t(St,[2,108],{117:160,10:[1,159],14:V,42:G,58:M,86:K,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q}),t(St,[2,110],{10:[1,161]}),t(mt,[2,176]),t(mt,[2,163]),t(mt,[2,164]),t(mt,[2,165]),t(mt,[2,166]),t(mt,[2,167]),t(mt,[2,168]),t(mt,[2,169]),t(mt,[2,170]),t(mt,[2,171]),t(mt,[2,172]),t(mt,[2,173]),{42:p,45:162,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{30:163,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:171,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:173,48:[1,172],65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:174,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:175,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:176,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{106:[1,177]},{30:178,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:179,63:[1,180],65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:181,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:182,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:183,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},t(J,[2,175]),t(i,[2,20]),t(tt,[2,25]),t(U,[2,43],{18:184,10:$}),t(et,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{75:[1,188],76:189,113:st,116:ut},t(Nt,[2,73]),t(Nt,[2,75]),t(Nt,[2,76]),t(Nt,[2,161]),t(Nt,[2,162]),{8:O,9:w,10:it,11:P,12:nt,14:rt,21:191,27:at,29:[1,190],32:ct,42:ot,58:lt,73:ht,80:135,81:At,82:dt,83:pt,84:yt,85:Et,86:ft,87:gt,88:192,102:kt,106:Dt,108:bt,111:Ft,112:Tt,113:Ct},t(Ot,[2,94]),t(Ot,[2,96]),t(Ot,[2,97]),t(Ot,[2,150]),t(Ot,[2,151]),t(Ot,[2,152]),t(Ot,[2,153]),t(Ot,[2,154]),t(Ot,[2,155]),t(Ot,[2,156]),t(Ot,[2,157]),t(Ot,[2,158]),t(Ot,[2,159]),t(Ot,[2,160]),t(Ot,[2,83]),t(Ot,[2,84]),t(Ot,[2,85]),t(Ot,[2,86]),t(Ot,[2,87]),t(Ot,[2,88]),t(Ot,[2,89]),t(Ot,[2,90]),t(Ot,[2,91]),t(Ot,[2,92]),t(Ot,[2,93]),{6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,193],33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},{10:$,18:194},{10:[1,195],42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:109,111:S,112:m,113:x},{10:[1,196]},{10:[1,197],103:[1,198]},t(wt,[2,121]),{10:[1,199],42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:109,111:S,112:m,113:x},{10:[1,200],42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:109,111:S,112:m,113:x},{77:[1,201]},t(St,[2,102],{10:[1,202]}),t(St,[2,104],{10:[1,203]}),{77:[1,204]},t(mt,[2,177]),{77:[1,205],95:[1,206]},t(q,[2,50],{110:109,42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,111:S,112:m,113:x}),{31:[1,207],65:xt,79:208,113:It,114:Rt,115:$t},t(Pt,[2,79]),t(Pt,[2,81]),t(Pt,[2,82]),t(Pt,[2,146]),t(Pt,[2,147]),t(Pt,[2,148]),t(Pt,[2,149]),{47:[1,209],65:xt,79:208,113:It,114:Rt,115:$t},{30:210,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{49:[1,211],65:xt,79:208,113:It,114:Rt,115:$t},{51:[1,212],65:xt,79:208,113:It,114:Rt,115:$t},{53:[1,213],65:xt,79:208,113:It,114:Rt,115:$t},{55:[1,214],65:xt,79:208,113:It,114:Rt,115:$t},{58:[1,215]},{62:[1,216],65:xt,79:208,113:It,114:Rt,115:$t},{64:[1,217],65:xt,79:208,113:It,114:Rt,115:$t},{30:218,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{31:[1,219],65:xt,79:208,113:It,114:Rt,115:$t},{65:xt,67:[1,220],69:[1,221],79:208,113:It,114:Rt,115:$t},{65:xt,67:[1,223],69:[1,222],79:208,113:It,114:Rt,115:$t},t(U,[2,44],{42:Bt}),t(et,[2,70]),t(et,[2,69]),{60:[1,224],65:xt,79:208,113:It,114:Rt,115:$t},t(et,[2,72]),t(Nt,[2,74]),{30:225,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},t(_t,n,{5:226}),t(Ot,[2,95]),t(N,[2,35]),{41:227,42:p,43:39,45:40,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{10:Ut,58:Vt,81:Gt,89:228,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:239,101:[1,240],102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:241,101:[1,242],102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{102:[1,243]},{10:Ut,58:Vt,81:Gt,89:244,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{42:p,45:245,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},t(St,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},t(St,[2,109]),t(St,[2,111],{10:[1,249]}),t(St,[2,112]),t(Z,[2,51]),t(Pt,[2,80]),t(Z,[2,52]),{49:[1,250],65:xt,79:208,113:It,114:Rt,115:$t},t(Z,[2,59]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),{106:[1,251]},t(Z,[2,58]),t(Z,[2,60]),{64:[1,252],65:xt,79:208,113:It,114:Rt,115:$t},t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,65]),t(Z,[2,64]),t(Z,[2,66]),t([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:xt,79:208,113:It,114:Rt,115:$t},{6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,254],33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},t(q,[2,48]),t(St,[2,114],{103:zt}),t(Ht,[2,123],{105:256,10:Ut,58:Vt,81:Gt,102:Mt,106:Kt,107:Yt,108:jt,109:Xt}),t(Wt,[2,125]),t(Wt,[2,127]),t(Wt,[2,128]),t(Wt,[2,129]),t(Wt,[2,130]),t(Wt,[2,131]),t(Wt,[2,132]),t(Wt,[2,133]),t(Wt,[2,134]),t(St,[2,115],{103:zt}),{10:[1,257]},t(St,[2,116],{103:zt}),{10:[1,258]},t(wt,[2,122]),t(St,[2,98],{103:zt}),t(St,[2,99],{110:109,42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,111:S,112:m,113:x}),t(St,[2,103]),t(St,[2,105],{10:[1,259]}),t(St,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:O,9:w,11:P,21:264},t(N,[2,34]),{10:Ut,58:Vt,81:Gt,102:Mt,104:265,105:230,106:Kt,107:Yt,108:jt,109:Xt},t(Wt,[2,126]),{14:V,42:G,58:M,86:K,98:266,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},{14:V,42:G,58:M,86:K,98:267,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},{95:[1,268]},t(St,[2,113]),t(Z,[2,53]),{30:269,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},t(Z,[2,61]),t(_t,n,{5:270}),t(Ht,[2,124],{105:256,10:Ut,58:Vt,81:Gt,102:Mt,106:Kt,107:Yt,108:jt,109:Xt}),t(St,[2,119],{117:160,10:[1,271],14:V,42:G,58:M,86:K,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q}),t(St,[2,120],{117:160,10:[1,272],14:V,42:G,58:M,86:K,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q}),t(St,[2,107]),{31:[1,273],65:xt,79:208,113:It,114:Rt,115:$t},{6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,274],33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},{10:Ut,58:Vt,81:Gt,89:275,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:276,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},t(Z,[2,57]),t(N,[2,33]),t(St,[2,117],{103:zt}),t(St,[2,118],{103:zt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],u=[null],i=[],n=this.table,r="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;i.push(d);var p=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,f,g,k,D,b,F,T,C={};;){if(E=e[e.length-1],this.defaultActions[E]?f=this.defaultActions[E]:(null==y&&(T=void 0,"number"!=typeof(T=s.pop()||l.lex()||1)&&(T instanceof Array&&(T=(s=T).pop()),T=this.symbols_[T]||T),y=T),f=n[E]&&n[E][y]),void 0===f||!f.length||!f[0]){var _;for(k in F=[],n[E])this.terminals_[k]&&k>2&&F.push("'"+this.terminals_[k]+"'");_=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+F.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(_,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:d,expected:F})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(f[0]){case 1:e.push(y),u.push(l.yytext),i.push(l.yylloc),e.push(f[1]),y=null,c=l.yyleng,r=l.yytext,a=l.yylineno,d=l.yylloc;break;case 2:if(D=this.productions_[f[1]][1],C.$=u[u.length-D],C._$={first_line:i[i.length-(D||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(D||1)].first_column,last_column:i[i.length-1].last_column},p&&(C._$.range=[i[i.length-(D||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.apply(C,[r,c,a,h.yy,f[1],u,i].concat(o))))return g;D&&(e=e.slice(0,-1*D*2),u=u.slice(0,-1*D),i=i.slice(0,-1*D)),e.push(this.productions_[f[1]][0]),u.push(C.$),i.push(C._$),b=n[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},qt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var u=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),s.length-1&&(this.yylineno-=s.length-1);var i=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:s?(s.length===u.length?this.yylloc.first_column:0)+u[u.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,u,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(u=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var n in i)this[n]=i[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),n=0;ne[0].length)){if(e=s,u=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,i[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[u]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,s,u){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 8:case 11:case 14:case 17:case 27:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 12:return 93;case 13:return"MD_STR";case 15:this.begin("md_string");break;case 16:return"STR";case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 28:return 85;case 29:case 30:case 31:return t.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:case 35:case 36:case 37:return 95;case 38:return this.popState(),13;case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:case 95:return 108;case 55:return 44;case 56:return 58;case 57:case 96:return 42;case 58:return 8;case 59:return 103;case 60:case 94:return 112;case 61:case 64:case 67:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:case 66:case 69:return 116;case 65:return this.pushState("thickEdgeText"),73;case 68:return this.pushState("dottedEdgeText"),73;case 70:return 75;case 71:return this.popState(),51;case 72:case 108:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};function Zt(){this.yy={}}return Qt.lexer=qt,Zt.prototype=Qt,Qt.Parser=Zt,new Zt}();n.parser=n;const r=n;let a,c,o=0,l=(0,i.c)(),h={},A=[],d={},p=[],y={},E={},f=0,g=!0,k=[];const D=t=>i.e.sanitizeText(t,l),b=function(t){const e=Object.keys(h);for(const s of e)if(h[s].id===t)return h[s].domId;return t},F=function(t,e,s,u,n,r,a={}){let c,A=t;void 0!==A&&0!==A.trim().length&&(void 0===h[A]&&(h[A]={id:A,labelType:"text",domId:"flowchart-"+A+"-"+o,styles:[],classes:[]}),o++,void 0!==e?(l=(0,i.c)(),c=D(e.text.trim()),h[A].labelType=e.type,'"'===c[0]&&'"'===c[c.length-1]&&(c=c.substring(1,c.length-1)),h[A].text=c):void 0===h[A].text&&(h[A].text=t),void 0!==s&&(h[A].type=s),null!=u&&u.forEach((function(t){h[A].styles.push(t)})),null!=n&&n.forEach((function(t){h[A].classes.push(t)})),void 0!==r&&(h[A].dir=r),void 0===h[A].props?h[A].props=a:void 0!==a&&Object.assign(h[A].props,a))},T=function(t,e,s){const u={start:t,end:e,type:void 0,text:"",labelType:"text"};i.l.info("abc78 Got edge...",u);const n=s.text;if(void 0!==n&&(u.text=D(n.text.trim()),'"'===u.text[0]&&'"'===u.text[u.text.length-1]&&(u.text=u.text.substring(1,u.text.length-1)),u.labelType=n.type),void 0!==s&&(u.type=s.type,u.stroke=s.stroke,u.length=s.length),(null==u?void 0:u.length)>10&&(u.length=10),!(A.length<(l.maxEdges??500)))throw new Error(`Edge limit exceeded. ${A.length} edges found, but the limit is ${l.maxEdges}.\n\nInitialize mermaid with maxEdges set to a higher number to allow more edges.\nYou cannot set this config via configuration inside the diagram as it is a secure config.\nYou have to call mermaid.initialize.`);i.l.info("abc78 pushing edge..."),A.push(u)},C=function(t,e,s){let u,n;for(i.l.info("addLink (abc78)",t,e,s),u=0;u=A.length)throw new Error(`The index ${t} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${A.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===t?A.defaultStyle=e:(-1===i.u.isSubstringInArray("fill",e)&&e.push("fill:none"),A[t].style=e)}))},S=function(t,e){t.split(",").forEach((function(t){void 0===d[t]&&(d[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const s=e.replace("fill","bgFill").replace("color","fill");d[t].textStyles.push(s)}d[t].styles.push(e)}))}))},m=function(t){a=t,a.match(/.*/)&&(a="LR"),a.match(/.*v/)&&(a="TB"),"TD"===a&&(a="TB")},x=function(t,e){t.split(",").forEach((function(t){let s=t;void 0!==h[s]&&h[s].classes.push(e),void 0!==y[s]&&y[s].classes.push(e)}))},v=function(t,e,s){t.split(",").forEach((function(t){void 0!==h[t]&&(h[t].link=i.u.formatUrl(e,l),h[t].linkTarget=s)})),x(t,"clickable")},L=function(t){if(E.hasOwnProperty(t))return E[t]},I=function(t,e,s){t.split(",").forEach((function(t){!function(t,e,s){let u=b(t);if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;let n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,u.Ltv)(this).classed("hover",!1)}))};k.push(P);const U=function(t="gen-1"){h={},d={},A=[],k=[P],p=[],y={},f=0,E={},g=!0,c=t,l=(0,i.c)(),(0,i.v)()},V=t=>{c=t||"gen-2"},G=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},M=function(t,e,s){let u=t.text.trim(),n=s.text;t===s&&s.text.match(/\s/)&&(u=void 0);let r=[];const{nodeList:a,dir:o}=function(t){const e={boolean:{},number:{},string:{}},s=[];let u;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(u=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!s.includes(t)&&s.push(t))})),dir:u}}(r.concat.apply(r,e));if(r=a,"gen-1"===c)for(let t=0;t2e3)return;if(j[Y]=e,p[e].id===t)return{result:!0,count:0};let u=0,i=1;for(;u=0){const s=X(t,e);if(s.result)return{result:!0,count:i+s.count};i+=s.count}u+=1}return{result:!1,count:i}},z=function(t){return j[t]},H=function(){Y=-1,p.length>0&&X("none",p.length-1)},W=function(){return p},Q=()=>!!g&&(g=!1,!0),q=(t,e)=>{const s=(t=>{const e=t.trim();let s=e.slice(0,-1),u="arrow_open";switch(e.slice(-1)){case"x":u="arrow_cross","x"===e[0]&&(u="double_"+u,s=s.slice(1));break;case">":u="arrow_point","<"===e[0]&&(u="double_"+u,s=s.slice(1));break;case"o":u="arrow_circle","o"===e[0]&&(u="double_"+u,s=s.slice(1))}let i="normal",n=s.length-1;"="===s[0]&&(i="thick"),"~"===s[0]&&(i="invisible");let r=((t,e)=>{const s=e.length;let u=0;for(let t=0;t{let e=t.trim(),s="arrow_open";switch(e[0]){case"<":s="arrow_point",e=e.slice(1);break;case"x":s="arrow_cross",e=e.slice(1);break;case"o":s="arrow_circle",e=e.slice(1)}let u="normal";return e.includes("=")&&(u="thick"),e.includes(".")&&(u="dotted"),{type:s,stroke:u}})(e),u.stroke!==s.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===u.type)u.type=s.type;else{if(u.type!==s.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}return"double_arrow"===u.type&&(u.type="double_arrow_point"),u.length=s.length,u}return s},Z=(t,e)=>{let s=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(s=!0)})),s},J=(t,e)=>{const s=[];return t.nodes.forEach(((u,i)=>{Z(e,u)||s.push(t.nodes[i])})),{nodes:s}},tt={firstGraph:Q},et={defaultConfig:()=>i.K.flowchart,setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,addVertex:F,lookUpDomId:b,addLink:C,updateLinkInterpolate:_,updateLink:B,addClass:S,setDirection:m,setClass:x,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(E["gen-1"===c?b(t):t]=D(e))}))},getTooltip:L,setClickEvent:I,setLink:v,bindFunctions:R,getDirection:$,getVertices:N,getEdges:O,getClasses:w,clear:U,setGen:V,defaultStyle:G,addSubGraph:M,getDepthFirstPos:z,indexNodes:H,getSubGraphs:W,destructLink:q,lex:tt,exists:Z,makeUniq:J,setDiagramTitle:i.q,getDiagramTitle:i.t},st=Object.freeze(Object.defineProperty({__proto__:null,addClass:S,addLink:C,addSingleLink:T,addSubGraph:M,addVertex:F,bindFunctions:R,clear:U,default:et,defaultStyle:G,destructLink:q,firstGraph:Q,getClasses:w,getDepthFirstPos:z,getDirection:$,getEdges:O,getSubGraphs:W,getTooltip:L,getVertices:N,indexNodes:H,lex:tt,lookUpDomId:b,setClass:x,setClickEvent:I,setDirection:m,setGen:V,setLink:v,updateLink:B,updateLinkInterpolate:_},Symbol.toStringTag,{value:"Module"}))}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/55.mjs b/resources/daux/themes/rsp/js/55.mjs new file mode 100644 index 0000000..6e5c0cf --- /dev/null +++ b/resources/daux/themes/rsp/js/55.mjs @@ -0,0 +1 @@ +export const id=55;export const ids=[55];export const modules={8055:(t,e,a)=>{a.d(e,{a:()=>l,b:()=>T,c:()=>o,d:()=>H,e:()=>S,f:()=>I,g:()=>_,h:()=>U,i:()=>x,j:()=>D,k:()=>P,l:()=>d,m:()=>R,p:()=>B,s:()=>M,u:()=>h});var r=a(5950),n=a(1062),i=a(4274);const s={extension:(t,e,a)=>{r.l.trace("Making markers for ",a),t.append("defs").append("marker").attr("id",a+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",a+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},l=(t,e,a,r)=>{e.forEach((e=>{s[e](t,a,r)}))},o=(t,e,a,i)=>{let s=t||"";if("object"==typeof s&&(s=s[0]),(0,r.m)((0,r.c)().flowchart.htmlLabels)){return s=s.replace(/\\n|\n/g,"
"),r.l.debug("vertexText"+s),function(t){const e=(0,n.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=e.append("xhtml:div"),r=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var s;return a.html('"+r+""),(s=t.labelStyle)&&a.attr("style",s),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:i,label:(0,r.M)(s).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof s?s.split(/\\n|\n|/gi):Array.isArray(s)?s:[];for(const e of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),a?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},d=async(t,e,a,s)=>{let l;const d=e.useHtmlLabels||(0,r.m)((0,r.c)().flowchart.htmlLabels);l=a||"node default";const h=t.insert("g").attr("class",l).attr("id",e.domId||e.id),c=h.insert("g").attr("class","label").attr("style",e.labelStyle);let y;y=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const p=c.node();let g;g="markdown"===e.labelType?(0,i.a)(c,(0,r.d)((0,r.M)(y),(0,r.c)()),{useHtmlLabels:d,width:e.width||(0,r.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):p.appendChild(o((0,r.d)((0,r.M)(y),(0,r.c)()),e.labelStyle,!1,s));let x=g.getBBox();const f=e.padding/2;if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,n.Ltv)(g),a=t.getElementsByTagName("img");if(a){const t=""===y.replace(/]*>/g,"").trim();await Promise.all([...a].map((e=>new Promise((a=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,r.c)().fontSize?(0,r.c)().fontSize:window.getComputedStyle(document.body).fontSize,a=5,n=parseInt(t,10)*a+"px";e.style.minWidth=n,e.style.maxWidth=n}else e.style.width="100%";a(e)}setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}return d?c.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"):c.attr("transform","translate(0, "+-x.height/2+")"),e.centerLabel&&c.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"),c.insert("rect",":first-child"),{shapeSvg:h,bbox:x,halfPadding:f,label:c}},h=(t,e)=>{const a=e.node().getBBox();t.width=a.width,t.height=a.height};function c(t,e,a,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}function y(t,e,a,r){var n=t.x,i=t.y,s=n-r.x,l=i-r.y,o=Math.sqrt(e*e*l*l+a*a*s*s),d=Math.abs(e*a*s/o);r.x0}const x=(t,e)=>{var a,r,n=t.x,i=t.y,s=e.x-n,l=e.y-i,o=t.width/2,d=t.height/2;return Math.abs(l)*o>Math.abs(s)*d?(l<0&&(d=-d),a=0===l?0:d*s/l,r=d):(s<0&&(o=-o),a=o,r=0===s?0:o*l/s),{x:n+a,y:i+r}},f={node:function(t,e){return t.intersect(e)},circle:function(t,e,a){return y(t,e,e,a)},ellipse:y,polygon:function(t,e,a){var r=t.x,n=t.y,i=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)})):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var o=r-t.width/2-s,d=n-t.height/2-l,h=0;h1&&i.sort((function(t,e){var r=t.x-a.x,n=t.y-a.y,i=Math.sqrt(r*r+n*n),s=e.x-a.x,l=e.y-a.y,o=Math.sqrt(s*s+l*l);return it?" "+t:"",w=(t,e)=>`${e||"node default"}${u(t.classes)} ${u(t.class)}`,b=async(t,e)=>{const{shapeSvg:a,bbox:n}=await d(t,e,w(e,void 0),!0),i=n.width+e.padding+(n.height+e.padding),s=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];r.l.info("Question main (Circle)");const l=c(a,i,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return r.l.warn("Intersect called"),f.polygon(e,s,t)},a};function m(t,e,a,n){const i=[],s=t=>{i.push(t,0)},l=t=>{i.push(0,t)};e.includes("t")?(r.l.debug("add top border"),s(a)):l(a),e.includes("r")?(r.l.debug("add right border"),s(n)):l(n),e.includes("b")?(r.l.debug("add bottom border"),s(a)):l(a),e.includes("l")?(r.l.debug("add left border"),s(n)):l(n),t.attr("stroke-dasharray",i.join(" "))}const k=(t,e,a)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,i=10;"LR"===a&&(n=10,i=70);const s=r.append("rect").attr("x",-1*n/2).attr("y",-1*i/2).attr("width",n).attr("height",i).attr("class","fork-join");return h(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return f.rect(e,t)},r},v={rhombus:b,composite:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes,!0),s=a.insert("rect",":first-child"),l=e.positioned?e.width:n.width+e.padding,o=e.positioned?e.height:n.height+e.padding,c=e.positioned?-l/2:-n.width/2-i,y=e.positioned?-o/2:-n.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",y).attr("width",l).attr("height",o),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(m(s,e.props.borders,l,o),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},question:b,rect:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes+" "+e.class,!0),s=a.insert("rect",":first-child"),l=e.positioned?e.width:n.width+e.padding,o=e.positioned?e.height:n.height+e.padding,c=e.positioned?-l/2:-n.width/2-i,y=e.positioned?-o/2:-n.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",y).attr("width",l).attr("height",o),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(m(s,e.props.borders,l,o),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},labelRect:async(t,e)=>{const{shapeSvg:a}=await d(t,e,"label",!0);r.l.trace("Classes = ",e.class);const n=a.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),a.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(m(n,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,n),e.intersect=function(t){return f.rect(e,t)},a},rectWithTitle:(t,e)=>{let a;a=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),d=i.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText;let y="";y="object"==typeof c?c[0]:c,r.l.info("Label text abc79",y,c,"object"==typeof c);const p=d.node().appendChild(o(y,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=p.children[0],e=(0,n.Ltv)(p);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}r.l.info("Text 2",c);const x=c.slice(1,c.length);let u=p.getBBox();const w=d.node().appendChild(o(x.join?x.join("
"):x,e.labelStyle,!0,!0));if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=w.children[0],e=(0,n.Ltv)(w);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const b=e.padding/2;return(0,n.Ltv)(w).attr("transform","translate( "+(g.width>u.width?0:(u.width-g.width)/2)+", "+(u.height+b+5)+")"),(0,n.Ltv)(p).attr("transform","translate( "+(g.width{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return a.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return f.circle(e,14,t)},a},circle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,w(e,void 0),!0),s=a.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("Circle main"),h(e,s),e.intersect=function(t){return r.l.info("Circle intersect",e,n.width/2+i,t),f.circle(e,n.width/2+i,t)},a},doublecircle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,w(e,void 0),!0),s=a.insert("g",":first-child"),l=s.insert("circle"),o=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+5).attr("width",n.width+e.padding+10).attr("height",n.height+e.padding+10),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("DoubleCircle main"),h(e,l),e.intersect=function(t){return r.l.info("DoubleCircle intersect",e,n.width/2+i+5,t),f.circle(e,n.width/2+i+5,t)},a},stadium:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.height+e.padding,i=r.width+n/4+e.padding,s=a.insert("rect",":first-child").attr("style",e.style).attr("rx",n/2).attr("ry",n/2).attr("x",-i/2).attr("y",-n/2).attr("width",i).attr("height",n);return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},hexagon:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.height+e.padding,i=n/4,s=r.width+2*i+e.padding,l=[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],o=c(a,s,n,l);return o.attr("style",e.style),h(e,o),e.intersect=function(t){return f.polygon(e,l,t)},a},block_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,void 0,!0),n=r.height+2*e.padding,i=n/2,s=r.width+2*i+e.padding,l=((t,e,a)=>{const r=(t=>{const e=new Set;for(const a of t)switch(a){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(a)}return e})(t),n=e.height+2*a.padding,i=n/2,s=e.width+2*i+a.padding,l=a.padding/2;return r.has("right")&&r.has("left")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:i,y:0},{x:s/2,y:2*l},{x:s-i,y:0},{x:s,y:0},{x:s,y:-n/3},{x:s+2*l,y:-n/2},{x:s,y:-2*n/3},{x:s,y:-n},{x:s-i,y:-n},{x:s/2,y:-n-2*l},{x:i,y:-n},{x:0,y:-n},{x:0,y:-2*n/3},{x:-2*l,y:-n/2},{x:0,y:-n/3}]:r.has("right")&&r.has("left")&&r.has("up")?[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}]:r.has("right")&&r.has("left")&&r.has("down")?[{x:0,y:0},{x:i,y:-n},{x:s-i,y:-n},{x:s,y:0}]:r.has("right")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:s,y:-i},{x:s,y:-n+i},{x:0,y:-n}]:r.has("left")&&r.has("up")&&r.has("down")?[{x:s,y:0},{x:0,y:-i},{x:0,y:-n+i},{x:s,y:-n}]:r.has("right")&&r.has("left")?[{x:i,y:0},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n},{x:0,y:-n/2}]:r.has("up")&&r.has("down")?[{x:s/2,y:0},{x:0,y:-l},{x:i,y:-l},{x:i,y:-n+l},{x:0,y:-n+l},{x:s/2,y:-n},{x:s,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l},{x:s,y:-l}]:r.has("right")&&r.has("up")?[{x:0,y:0},{x:s,y:-i},{x:0,y:-n}]:r.has("right")&&r.has("down")?[{x:0,y:0},{x:s,y:0},{x:0,y:-n}]:r.has("left")&&r.has("up")?[{x:s,y:0},{x:0,y:-i},{x:s,y:-n}]:r.has("left")&&r.has("down")?[{x:s,y:0},{x:0,y:0},{x:s,y:-n}]:r.has("right")?[{x:i,y:-l},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n+l}]:r.has("left")?[{x:i,y:0},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n},{x:0,y:-n/2}]:r.has("up")?[{x:i,y:-l},{x:i,y:-n+l},{x:0,y:-n+l},{x:s/2,y:-n},{x:s,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l}]:r.has("down")?[{x:s/2,y:0},{x:0,y:-l},{x:i,y:-l},{x:i,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l},{x:s,y:-l}]:[{x:0,y:0}]})(e.directions,r,e),o=c(a,s,n,l);return o.attr("style",e.style),h(e,o),e.intersect=function(t){return f.polygon(e,l,t)},a},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-i/2,y:0},{x:n,y:0},{x:n,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}];return c(a,n,i,s).attr("style",e.style),e.width=n+i,e.height=i,e.intersect=function(t){return f.polygon(e,s,t)},a},lean_right:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},lean_left:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:2*i/6,y:0},{x:n+i/6,y:0},{x:n-2*i/6,y:-i},{x:-i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n+2*i/6,y:0},{x:n-i/6,y:-i},{x:i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},inv_trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:-2*i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n+i/2,y:0},{x:n,y:-i/2},{x:n+i/2,y:-i},{x:0,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},cylinder:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=n/2,s=i/(2.5+n/50),l=r.height+s+e.padding,o="M 0,"+s+" a "+i+","+s+" 0,0,0 "+n+" 0 a "+i+","+s+" 0,0,0 "+-n+" 0 l 0,"+l+" a "+i+","+s+" 0,0,0 "+n+" 0 l 0,"+-l,c=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",o).attr("transform","translate("+-n/2+","+-(l/2+s)+")");return h(e,c),e.intersect=function(t){const a=f.rect(e,t),r=a.x-e.x;if(0!=i&&(Math.abs(r)e.height/2-s)){let n=s*s*(1-r*r/(i*i));0!=n&&(n=Math.sqrt(n)),n=s-n,t.y-e.y>0&&(n=-n),a.y+=n}return a},a},start:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,r),e.intersect=function(t){return f.circle(e,7,t)},a},end:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child"),n=a.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,n),e.intersect=function(t){return f.circle(e,7,t)},a},note:async(t,e)=>{e.useHtmlLabels||(0,r.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes,!0);r.l.info("Classes = ",e.classes);const s=a.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),h(e,s),e.intersect=function(t){return f.rect(e,t)},a},subroutine:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},fork:k,join:k,class_box:(t,e)=>{const a=e.padding/2;let i;i=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",i).attr("id",e.domId||e.id),l=s.insert("rect",":first-child"),d=s.insert("line"),c=s.insert("line");let y=0,p=4;const g=s.insert("g").attr("class","label");let x=0;const u=e.classData.annotations&&e.classData.annotations[0],w=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",b=g.node().appendChild(o(w,e.labelStyle,!0,!0));let m=b.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=b.children[0],e=(0,n.Ltv)(b);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}e.classData.annotations[0]&&(p+=m.height+4,y+=m.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,r.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");const v=g.node().appendChild(o(k,e.labelStyle,!0,!0));(0,n.Ltv)(v).attr("class","classTitle");let L=v.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,n.Ltv)(v);L=t.getBoundingClientRect(),e.attr("width",L.width),e.attr("height",L.height)}p+=L.height+4,L.width>y&&(y=L.width);const S=[];e.classData.members.forEach((t=>{const a=t.getDisplayDetails();let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const s=g.node().appendChild(o(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>y&&(y=l.width),p+=l.height+4,S.push(s)})),p+=8;const M=[];if(e.classData.methods.forEach((t=>{const a=t.getDisplayDetails();let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const s=g.node().appendChild(o(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>y&&(y=l.width),p+=l.height+4,M.push(s)})),p+=8,u){let t=(y-m.width)/2;(0,n.Ltv)(b).attr("transform","translate( "+(-1*y/2+t)+", "+-1*p/2+")"),x=m.height+4}let T=(y-L.width)/2;return(0,n.Ltv)(v).attr("transform","translate( "+(-1*y/2+T)+", "+(-1*p/2+x)+")"),x+=L.height+4,d.attr("class","divider").attr("x1",-y/2-a).attr("x2",y/2+a).attr("y1",-p/2-a+8+x).attr("y2",-p/2-a+8+x),x+=8,S.forEach((t=>{(0,n.Ltv)(t).attr("transform","translate( "+-y/2+", "+(-1*p/2+x+4)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),x+=8,c.attr("class","divider").attr("x1",-y/2-a).attr("x2",y/2+a).attr("y1",-p/2-a+8+x).attr("y2",-p/2-a+8+x),x+=8,M.forEach((t=>{(0,n.Ltv)(t).attr("transform","translate( "+-y/2+", "+(-1*p/2+x)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),l.attr("style",e.style).attr("class","outer title-state").attr("x",-y/2-a).attr("y",-p/2-a).attr("width",y+e.padding).attr("height",p+e.padding),h(e,l),e.intersect=function(t){return f.rect(e,t)},s}};let L={};const S=async(t,e,a)=>{let n,i;if(e.link){let s;"sandbox"===(0,r.c)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await v[e.shape](n,e,a)}else i=await v[e.shape](t,e,a),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),n.attr("data-node","true"),n.attr("data-id",e.id),L[e.id]=n,e.haveCallback&&L[e.id].attr("class",L[e.id].attr("class")+" clickable"),n},M=(t,e)=>{L[e.id]=t},T=()=>{L={}},B=t=>{const e=L[t.id];r.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const a=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),a},_=({flowchart:t})=>{var e,a;const r=(null==(e=null==t?void 0:t.subGraphTitleMargin)?void 0:e.top)??0,n=(null==(a=null==t?void 0:t.subGraphTitleMargin)?void 0:a.bottom)??0;return{subGraphTitleTopMargin:r,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:r+n}},C={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function E(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=$(t),e=$(e);const[a,r]=[t.x,t.y],[n,i]=[e.x,e.y],s=n-a,l=i-r;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}const $=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,P=t=>({x:function(e,a,r){let n=0;if(0===a&&Object.hasOwn(C,t.arrowTypeStart)){const{angle:e,deltaX:a}=E(r[0],r[1]);n=C[t.arrowTypeStart]*Math.cos(e)*(a>=0?1:-1)}else if(a===r.length-1&&Object.hasOwn(C,t.arrowTypeEnd)){const{angle:e,deltaX:a}=E(r[r.length-1],r[r.length-2]);n=C[t.arrowTypeEnd]*Math.cos(e)*(a>=0?1:-1)}return $(e).x+n},y:function(e,a,r){let n=0;if(0===a&&Object.hasOwn(C,t.arrowTypeStart)){const{angle:e,deltaY:a}=E(r[0],r[1]);n=C[t.arrowTypeStart]*Math.abs(Math.sin(e))*(a>=0?1:-1)}else if(a===r.length-1&&Object.hasOwn(C,t.arrowTypeEnd)){const{angle:e,deltaY:a}=E(r[r.length-1],r[r.length-2]);n=C[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(a>=0?1:-1)}return $(e).y+n}}),R=(t,e,a,r,n)=>{e.arrowTypeStart&&O(t,"start",e.arrowTypeStart,a,r,n),e.arrowTypeEnd&&O(t,"end",e.arrowTypeEnd,a,r,n)},Y={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},O=(t,e,a,n,i,s)=>{const l=Y[a];if(!l)return void r.l.warn(`Unknown arrow type: ${a}`);const o="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${n}#${i}_${s}-${l}${o})`)};let W={},X={};const H=()=>{W={},X={}},I=(t,e)=>{const a=(0,r.m)((0,r.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,i.a)(t,e.label,{style:e.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):o(e.label,e.labelStyle),l=t.insert("g").attr("class","edgeLabel"),d=l.insert("g").attr("class","label");d.node().appendChild(s);let h,c=s.getBBox();if(a){const t=s.children[0],e=(0,n.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(d.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),W[e.id]=l,e.width=c.width,e.height=c.height,e.startLabelLeft){const a=o(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),X[e.id]||(X[e.id]={}),X[e.id].startLeft=r,j(h,e.startLabelLeft)}if(e.startLabelRight){const a=o(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=r.node().appendChild(a),n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),X[e.id]||(X[e.id]={}),X[e.id].startRight=r,j(h,e.startLabelRight)}if(e.endLabelLeft){const a=o(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),X[e.id]||(X[e.id]={}),X[e.id].endLeft=r,j(h,e.endLabelLeft)}if(e.endLabelRight){const a=o(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),X[e.id]||(X[e.id]={}),X[e.id].endRight=r,j(h,e.endLabelRight)}return s};function j(t,e){(0,r.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const D=(t,e)=>{r.l.debug("Moving label abc88 ",t.id,t.label,W[t.id],e);let a=e.updatedPath?e.updatedPath:e.originalPath;const n=(0,r.c)(),{subGraphTitleTotalMargin:i}=_(n);if(t.label){const n=W[t.id];let s=t.x,l=t.y;if(a){const n=r.u.calcLabelPosition(a);r.l.debug("Moving label "+t.label+" from (",s,",",l,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(s=n.x,l=n.y)}n.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){const e=X[t.id].startLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.startLabelRight){const e=X[t.id].startRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelLeft){const e=X[t.id].endLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelRight){const e=X[t.id].endRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}},N=(t,e)=>{r.l.debug("abc88 cutPathAtIntersect",t,e);let a=[],n=t[0],i=!1;return t.forEach((t=>{if(((t,e)=>{const a=t.x,r=t.y,n=Math.abs(e.x-a),i=Math.abs(e.y-r),s=t.width/2,l=t.height/2;return n>=s||i>=l})(e,t)||i)n=t,i||a.push(t);else{const s=((t,e,a)=>{r.l.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(a)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,s=Math.abs(n-a.x),l=t.width/2;let o=a.xMath.abs(n-e.x)*d){let t=a.y{l=l||t.x===s.x&&t.y===s.y})),a.some((t=>t.x===s.x&&t.y===s.y))||a.push(s),i=!0}})),a},U=function(t,e,a,i,s,l,o){let d=a.points;r.l.debug("abc88 InsertEdge: edge=",a,"e=",e);let h=!1;const c=l.node(e.v);var y=l.node(e.w);(null==y?void 0:y.intersect)&&(null==c?void 0:c.intersect)&&(d=d.slice(1,a.points.length-1),d.unshift(c.intersect(d[0])),d.push(y.intersect(d[d.length-1]))),a.toCluster&&(r.l.debug("to cluster abc88",i[a.toCluster]),d=N(a.points,i[a.toCluster].node),h=!0),a.fromCluster&&(r.l.debug("from cluster abc88",i[a.fromCluster]),d=N(d.reverse(),i[a.fromCluster].node).reverse(),h=!0);const p=d.filter((t=>!Number.isNaN(t.y)));let g=n.qrM;!a.curve||"graph"!==s&&"flowchart"!==s||(g=a.curve);const{x,y:f}=P(a),u=(0,n.n8j)().x(x).y(f).curve(g);let w;switch(a.thickness){case"normal":w="edge-thickness-normal";break;case"thick":case"invisible":w="edge-thickness-thick";break;default:w=""}switch(a.pattern){case"solid":w+=" edge-pattern-solid";break;case"dotted":w+=" edge-pattern-dotted";break;case"dashed":w+=" edge-pattern-dashed"}const b=t.append("path").attr("d",u(p)).attr("id",a.id).attr("class"," "+w+(a.classes?" "+a.classes:"")).attr("style",a.style);let m="";((0,r.c)().flowchart.arrowMarkerAbsolute||(0,r.c)().state.arrowMarkerAbsolute)&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),R(b,a,m,o,s);let k={};return h&&(k.updatedPath=d),k.originalPath=a.points,k}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/626.mjs b/resources/daux/themes/rsp/js/626.mjs new file mode 100644 index 0000000..2f9c899 --- /dev/null +++ b/resources/daux/themes/rsp/js/626.mjs @@ -0,0 +1 @@ +export const id=626;export const ids=[626];export const modules={3626:(t,e,s)=>{s.d(e,{d:()=>B,p:()=>r,s:()=>D});var n=s(1062),i=s(5950),u=function(){var t=function(t,e,s,n){for(s=s||{},n=t.length;n--;s[t[n]]=e);return s},e=[1,17],s=[1,18],n=[1,19],i=[1,39],u=[1,40],r=[1,25],a=[1,23],c=[1,24],o=[1,31],l=[1,32],h=[1,33],A=[1,34],p=[1,35],d=[1,36],y=[1,26],E=[1,27],C=[1,28],m=[1,29],f=[1,43],b=[1,30],F=[1,42],g=[1,44],T=[1,41],k=[1,45],B=[1,9],D=[1,8,9],_=[1,56],S=[1,57],N=[1,58],L=[1,59],$=[1,60],v=[1,61],O=[1,62],x=[1,8,9,39],I=[1,74],R=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],w=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],P=[13,74,80,95,97,98],M=[13,64,65,74,80,95,97,98],G=[13,59,60,61,62,63,74,80,95,97,98],U=[1,93],z=[1,110],K=[1,108],Y=[1,102],j=[1,103],Q=[1,104],X=[1,105],W=[1,106],q=[1,107],H=[1,109],J=[1,8,9,37,39,42],V=[1,8,9,21],Z=[1,8,9,78],tt=[1,8,9,21,73,74,78,80,81,82,83,84,85],et={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(t,e,s,n,i,u,r){var a=u.length-1;switch(i){case 8:this.$=u[a-1];break;case 9:case 11:case 12:this.$=u[a];break;case 10:case 13:case 89:this.$=u[a-1]+u[a];break;case 14:case 15:this.$=u[a-1]+"~"+u[a]+"~";break;case 16:n.addRelation(u[a]);break;case 17:u[a-1].title=n.cleanupLabel(u[a]),n.addRelation(u[a-1]);break;case 27:this.$=u[a].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=u[a].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(u[a-3],u[a-1]);break;case 31:n.addClassesToNamespace(u[a-4],u[a-1]);break;case 32:this.$=u[a],n.addNamespace(u[a]);break;case 33:case 43:case 86:this.$=[u[a]];break;case 34:this.$=[u[a-1]];break;case 35:u[a].unshift(u[a-2]),this.$=u[a];break;case 37:n.setCssClass(u[a-2],u[a]);break;case 38:n.addMembers(u[a-3],u[a-1]);break;case 39:n.setCssClass(u[a-5],u[a-3]),n.addMembers(u[a-5],u[a-1]);break;case 40:this.$=u[a],n.addClass(u[a]);break;case 41:this.$=u[a-1],n.addClass(u[a-1]),n.setClassLabel(u[a-1],u[a]);break;case 42:n.addAnnotation(u[a],u[a-2]);break;case 44:u[a].push(u[a-1]),this.$=u[a];break;case 45:case 47:case 48:break;case 46:n.addMember(u[a-1],n.cleanupLabel(u[a]));break;case 49:this.$={id1:u[a-2],id2:u[a],relation:u[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:u[a-3],id2:u[a],relation:u[a-1],relationTitle1:u[a-2],relationTitle2:"none"};break;case 51:this.$={id1:u[a-3],id2:u[a],relation:u[a-2],relationTitle1:"none",relationTitle2:u[a-1]};break;case 52:this.$={id1:u[a-4],id2:u[a],relation:u[a-2],relationTitle1:u[a-3],relationTitle2:u[a-1]};break;case 53:n.addNote(u[a],u[a-1]);break;case 54:n.addNote(u[a]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:u[a-2],type2:u[a],lineType:u[a-1]};break;case 60:this.$={type1:"none",type2:u[a],lineType:u[a-1]};break;case 61:this.$={type1:u[a-1],type2:"none",lineType:u[a]};break;case 62:this.$={type1:"none",type2:"none",lineType:u[a]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=u[a-2],n.setClickEvent(u[a-1],u[a]);break;case 71:case 77:this.$=u[a-3],n.setClickEvent(u[a-2],u[a-1]),n.setTooltip(u[a-2],u[a]);break;case 72:this.$=u[a-2],n.setLink(u[a-1],u[a]);break;case 73:this.$=u[a-3],n.setLink(u[a-2],u[a-1],u[a]);break;case 74:this.$=u[a-3],n.setLink(u[a-2],u[a-1]),n.setTooltip(u[a-2],u[a]);break;case 75:this.$=u[a-4],n.setLink(u[a-3],u[a-2],u[a]),n.setTooltip(u[a-3],u[a-1]);break;case 78:this.$=u[a-3],n.setClickEvent(u[a-2],u[a-1],u[a]);break;case 79:this.$=u[a-4],n.setClickEvent(u[a-3],u[a-2],u[a-1]),n.setTooltip(u[a-3],u[a]);break;case 80:this.$=u[a-3],n.setLink(u[a-2],u[a]);break;case 81:this.$=u[a-4],n.setLink(u[a-3],u[a-1],u[a]);break;case 82:this.$=u[a-4],n.setLink(u[a-3],u[a-1]),n.setTooltip(u[a-3],u[a]);break;case 83:this.$=u[a-5],n.setLink(u[a-4],u[a-2],u[a]),n.setTooltip(u[a-4],u[a-1]);break;case 84:this.$=u[a-2],n.setCssStyle(u[a-1],u[a]);break;case 85:n.setCssClass(u[a-1],u[a]);break;case 87:u[a-2].push(u[a]),this.$=u[a-2]}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:e,33:s,35:n,36:21,40:i,41:22,44:u,45:r,47:a,48:c,50:o,52:l,53:h,54:A,55:p,56:d,66:y,67:E,69:C,73:m,74:f,76:b,80:F,95:g,97:T,98:k},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(B,[2,5],{8:[1,46]}),{8:[1,47]},t(D,[2,16],{21:[1,48]}),t(D,[2,18]),t(D,[2,19]),t(D,[2,20]),t(D,[2,21]),t(D,[2,22]),t(D,[2,23]),t(D,[2,24]),t(D,[2,25]),t(D,[2,26]),{32:[1,49]},{34:[1,50]},t(D,[2,29]),t(D,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:_,60:S,61:N,62:L,63:$,64:v,65:O}),{37:[1,63]},t(x,[2,36],{37:[1,65],42:[1,64]}),t(D,[2,47]),t(D,[2,48]),{16:66,74:f,80:F,95:g,97:T},{16:37,17:67,18:38,74:f,80:F,95:g,97:T,98:k},{16:37,17:68,18:38,74:f,80:F,95:g,97:T,98:k},{16:37,17:69,18:38,74:f,80:F,95:g,97:T,98:k},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:f,80:F,95:g,97:T,98:k},{13:I,51:73},t(D,[2,55]),t(D,[2,56]),t(D,[2,57]),t(D,[2,58]),t(R,[2,11],{16:37,18:38,17:75,19:[1,76],74:f,80:F,95:g,97:T,98:k}),t(R,[2,12],{19:[1,77]}),{15:78,16:79,74:f,80:F,95:g,97:T},{16:37,17:80,18:38,74:f,80:F,95:g,97:T,98:k},t(w,[2,112]),t(w,[2,113]),t(w,[2,114]),t(w,[2,115]),t([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),t(B,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:e,33:s,35:n,40:i,44:u,45:r,47:a,48:c,50:o,52:l,53:h,54:A,55:p,56:d,66:y,67:E,69:C,73:m,74:f,76:b,80:F,95:g,97:T,98:k}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:e,33:s,35:n,36:21,40:i,41:22,44:u,45:r,47:a,48:c,50:o,52:l,53:h,54:A,55:p,56:d,66:y,67:E,69:C,73:m,74:f,76:b,80:F,95:g,97:T,98:k},t(D,[2,17]),t(D,[2,27]),t(D,[2,28]),{13:[1,84],16:37,17:83,18:38,74:f,80:F,95:g,97:T,98:k},{49:85,57:54,58:55,59:_,60:S,61:N,62:L,63:$,64:v,65:O},t(D,[2,46]),{58:86,64:v,65:O},t(P,[2,62],{57:87,59:_,60:S,61:N,62:L,63:$}),t(M,[2,63]),t(M,[2,64]),t(M,[2,65]),t(M,[2,66]),t(M,[2,67]),t(G,[2,68]),t(G,[2,69]),{8:[1,89],23:90,38:88,41:22,44:u},{16:91,74:f,80:F,95:g,97:T},{43:92,47:U},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:z,73:K,74:Y,75:99,77:100,79:101,80:j,81:Q,82:X,83:W,84:q,85:H},{74:[1,111]},{13:I,51:112},t(D,[2,54]),t(D,[2,117]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:f,80:F,95:g,97:T},t(J,[2,40],{11:114,12:[1,115]}),t(B,[2,7]),{9:[1,116]},t(V,[2,49]),{16:37,17:117,18:38,74:f,80:F,95:g,97:T,98:k},{13:[1,119],16:37,17:118,18:38,74:f,80:F,95:g,97:T,98:k},t(P,[2,61],{57:120,59:_,60:S,61:N,62:L,63:$}),t(P,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:u},{8:[1,123],39:[2,33]},t(x,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:U},{16:37,17:127,18:38,74:f,80:F,95:g,97:T,98:k},t(D,[2,70],{13:[1,128]}),t(D,[2,72],{13:[1,130],68:[1,129]}),t(D,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},t(D,[2,84],{78:[1,134]}),t(Z,[2,86],{79:135,21:z,73:K,74:Y,80:j,81:Q,82:X,83:W,84:q,85:H}),t(tt,[2,88]),t(tt,[2,90]),t(tt,[2,91]),t(tt,[2,92]),t(tt,[2,93]),t(tt,[2,94]),t(tt,[2,95]),t(tt,[2,96]),t(tt,[2,97]),t(tt,[2,98]),t(D,[2,85]),t(D,[2,53]),{37:[2,10]},t(J,[2,41]),{13:[1,136]},{1:[2,4]},t(V,[2,51]),t(V,[2,50]),{16:37,17:137,18:38,74:f,80:F,95:g,97:T,98:k},t(P,[2,59]),t(D,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:u},{43:140,47:U},t(x,[2,38]),{39:[2,44]},t(D,[2,42]),t(D,[2,71]),t(D,[2,73]),t(D,[2,74],{68:[1,141]}),t(D,[2,77]),t(D,[2,78],{13:[1,142]}),t(D,[2,80],{13:[1,144],68:[1,143]}),{21:z,73:K,74:Y,77:145,79:101,80:j,81:Q,82:X,83:W,84:q,85:H},t(tt,[2,89]),{14:[1,146]},t(V,[2,52]),t(D,[2,31]),{39:[2,35]},{39:[1,147]},t(D,[2,75]),t(D,[2,79]),t(D,[2,81]),t(D,[2,82],{68:[1,148]}),t(Z,[2,87],{79:135,21:z,73:K,74:Y,80:j,81:Q,82:X,83:W,84:q,85:H}),t(J,[2,8]),t(x,[2,39]),t(D,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],n=[null],i=[],u=this.table,r="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var p=l.yylloc;i.push(p);var d=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,C,m,f,b,F,g,T,k={};;){if(E=e[e.length-1],this.defaultActions[E]?C=this.defaultActions[E]:(null==y&&(T=void 0,"number"!=typeof(T=s.pop()||l.lex()||1)&&(T instanceof Array&&(T=(s=T).pop()),T=this.symbols_[T]||T),y=T),C=u[E]&&u[E][y]),void 0===C||!C.length||!C[0]){var B;for(f in g=[],u[E])this.terminals_[f]&&f>2&&g.push("'"+this.terminals_[f]+"'");B=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+g.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(B,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:p,expected:g})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(C[0]){case 1:e.push(y),n.push(l.yytext),i.push(l.yylloc),e.push(C[1]),y=null,c=l.yyleng,r=l.yytext,a=l.yylineno,p=l.yylloc;break;case 2:if(b=this.productions_[C[1]][1],k.$=n[n.length-b],k._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},d&&(k._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(k,[r,c,a,h.yy,C[1],n,i].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),i=i.slice(0,-1*b)),e.push(this.productions_[C[1]][0]),n.push(k.$),i.push(k._$),F=u[e[e.length-2]][e[e.length-1]],e.push(F);break;case 3:return!0}}return!0}},st={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=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),s.length-1&&(this.yylineno-=s.length-1);var i=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:s?(s.length===n.length?this.yylloc.first_column:0)+n[n.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,n,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var u in i)this[u]=i[u];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),u=0;ue[0].length)){if(e=s,n=u,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,i[u])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,s,n){switch(s){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:case 5:case 14:case 30:case 35:case 39:case 46:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 57:case 60:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 34:return 8;case 15:case 16:return 7;case 17:case 36:case 44:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 23:return 71;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:case 38:return this.popState(),8;case 31:return this.begin("namespace-body"),37;case 32:case 42:return this.popState(),39;case 33:case 43:return"EOF_IN_STRUCT";case 37:return this.begin("class"),44;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 45:return"OPEN_IN_STRUCT";case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:case 64:case 65:case 66:return 68;case 67:case 68:return 60;case 69:case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:case 84:return 84;case 85:return 85;case 86:case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],inclusive:!0}}};function nt(){this.yy={}}return et.lexer=st,nt.prototype=et,et.Parser=nt,new nt}();u.parser=u;const r=u,a=["#","+","~","-",""];class c{constructor(t,e){this.memberType=e,this.visibility="",this.classifier="";const s=(0,i.d)(t,(0,i.c)());this.parseMember(s)}getDisplayDetails(){let t=this.visibility+(0,i.x)(this.id);return"method"===this.memberType&&(t+=`(${(0,i.x)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,i.x)(this.returnType))),t=t.trim(),{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,n=t.match(s);if(n){const t=n[1]?n[1].trim():"";if(a.includes(t)&&(this.visibility=t),this.id=n[2].trim(),this.parameters=n[3]?n[3].trim():"",e=n[4]?n[4].trim():"",this.returnType=n[5]?n[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);t.match(/[$*]/)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const s=t.length,n=t.substring(0,1),i=t.substring(s-1);a.includes(n)&&(this.visibility=n),i.match(/[$*]/)&&(e=i),this.id=t.substring(""===this.visibility?0:1,""===e?s:s-1)}this.classifier=e}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const o="classId-";let l=[],h={},A=[],p=0,d={},y=0,E=[];const C=t=>i.e.sanitizeText(t,(0,i.c)()),m=function(t){const e=i.e.sanitizeText(t,(0,i.c)());let s="",n=e;if(e.indexOf("~")>0){const t=e.split("~");n=C(t[0]),s=C(t[1])}return{className:n,type:s}},f=function(t){const e=i.e.sanitizeText(t,(0,i.c)()),{className:s,type:n}=m(e);if(Object.hasOwn(h,s))return;const u=i.e.sanitizeText(s,(0,i.c)());h[u]={id:u,type:n,label:u,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:o+u+"-"+p},p++},b=function(t){const e=i.e.sanitizeText(t,(0,i.c)());if(e in h)return h[e].domId;throw new Error("Class not found: "+e)},F=function(t,e){f(t);const s=m(t).className,n=h[s];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?n.annotations.push(C(t.substring(2,t.length-2))):t.indexOf(")")>0?n.methods.push(new c(t,"method")):t&&n.members.push(new c(t,"attribute"))}},g=function(t,e){t.split(",").forEach((function(t){let s=t;t[0].match(/\d/)&&(s=o+s),void 0!==h[s]&&h[s].cssClasses.push(e)}))},T=function(t){let e=(0,n.Ltv)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,n.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,n.Ltv)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,n.Ltv)(this);if(null===t.attr("title"))return;const s=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+s.left+(s.right-s.left)/2+"px").style("top",window.scrollY+s.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"
")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,n.Ltv)(this).classed("hover",!1)}))};E.push(T);let k="TB";const B={setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().class,addClass:f,bindFunctions:function(t){E.forEach((function(e){e(t)}))},clear:function(){l=[],h={},A=[],E=[],E.push(T),d={},y=0,(0,i.v)()},getClass:function(t){return h[t]},getClasses:function(){return h},getNotes:function(){return A},addAnnotation:function(t,e){const s=m(t).className;h[s].annotations.push(e)},addNote:function(t,e){const s={id:`note${A.length}`,class:e,text:t};A.push(s)},getRelations:function(){return l},addRelation:function(t){i.l.debug("Adding relation: "+JSON.stringify(t)),f(t.id1),f(t.id2),t.id1=m(t.id1).className,t.id2=m(t.id2).className,t.relationTitle1=i.e.sanitizeText(t.relationTitle1.trim(),(0,i.c)()),t.relationTitle2=i.e.sanitizeText(t.relationTitle2.trim(),(0,i.c)()),l.push(t)},getDirection:()=>k,setDirection:t=>{k=t},addMember:F,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>F(t,e))))},cleanupLabel:function(t){return t.startsWith(":")&&(t=t.substring(1)),C(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(t,e,s){t.split(",").forEach((function(t){(function(t,e,s){const n=i.e.sanitizeText(t,(0,i.c)());if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;const u=n;if(void 0!==h[u]){const t=b(u);let n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t`g.classGroup text {\n fill: ${t.nodeBorder||t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/635.mjs b/resources/daux/themes/rsp/js/635.mjs new file mode 100644 index 0000000..6e9c252 --- /dev/null +++ b/resources/daux/themes/rsp/js/635.mjs @@ -0,0 +1 @@ +export const id=635;export const ids=[635];export const modules={8635:(e,t,l)=>{l.d(t,{diagram:()=>y});var n=l(3626),o=l(1062),a=l(697),i=l(5950),s=l(2983);l(4353),l(6750),l(2838),l(944),l(4075);const d=e=>i.e.sanitizeText(e,(0,i.c)());let r={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const c=function(e,t,l,n,o){const a=Object.keys(e);i.l.info("keys:",a),i.l.info(e),a.filter((t=>e[t].parent==o)).forEach((function(l){var a,s;const r=e[l],c=r.cssClasses.join(" "),p=(0,i.k)(r.styles),b=r.label??r.id,y={labelStyle:p.labelStyle,shape:"class_box",labelText:d(b),classData:r,rx:0,ry:0,class:c,style:p.style,id:r.id,domId:r.domId,tooltip:n.db.getTooltip(r.id,o)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(a=(0,i.c)().flowchart)?void 0:a.padding)??(null==(s=(0,i.c)().class)?void 0:s.padding)};t.setNode(r.id,y),o&&t.setParent(r.id,o),i.l.info("setNode",y)}))};function p(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const b={setConf:function(e){r={...r,...e}},draw:async function(e,t,l,n){i.l.info("Drawing class - ",t);const b=(0,i.c)().flowchart??(0,i.c)().class,y=(0,i.c)().securityLevel;i.l.info("config:",b);const f=(null==b?void 0:b.nodeSpacing)??50,g=(null==b?void 0:b.rankSpacing)??50,u=new a.T({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:f,ranksep:g,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),h=n.db.getNamespaces(),v=n.db.getClasses(),w=n.db.getRelations(),x=n.db.getNotes();let m;i.l.info(w),function(e,t,l,n){const o=Object.keys(e);i.l.info("keys:",o),i.l.info(e),o.forEach((function(l){var o,a;const s=e[l],r={shape:"rect",id:s.id,domId:s.domId,labelText:d(s.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(o=(0,i.c)().flowchart)?void 0:o.padding)??(null==(a=(0,i.c)().class)?void 0:a.padding)};t.setNode(s.id,r),c(s.classes,t,0,n,s.id),i.l.info("setNode",r)}))}(h,u,0,n),c(v,u,0,n),function(e,t){const l=(0,i.c)().flowchart;let n=0;e.forEach((function(e){var a;n++;const s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${n}`,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:p(e.relation.type1),arrowTypeEnd:p(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,i.n)(null==l?void 0:l.curve,o.lUB)};if(i.l.info(s,e),void 0!==e.style){const t=(0,i.k)(e.style);s.style=t.style,s.labelStyle=t.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(a=(0,i.c)().flowchart)?void 0:a.htmlLabels)??(0,i.c)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(i.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,s,n)}))}(w,u),function(e,t,l,n){i.l.info(e),e.forEach((function(e,a){var s,c;const p=e,b=p.text,y={labelStyle:"",shape:"note",labelText:d(b),noteData:p,rx:0,ry:0,class:"",style:"",id:p.id,domId:p.id,tooltip:"",type:"note",padding:(null==(s=(0,i.c)().flowchart)?void 0:s.padding)??(null==(c=(0,i.c)().class)?void 0:c.padding)};if(t.setNode(p.id,y),i.l.info("setNode",y),!p.class||!(p.class in n))return;const f=l+a,g={id:`edgeNote${f}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,i.n)(r.curve,o.lUB)};t.setEdge(p.id,p.class,g,f)}))}(x,u,w.length+1,v),"sandbox"===y&&(m=(0,o.Ltv)("#i"+t));const k="sandbox"===y?(0,o.Ltv)(m.nodes()[0].contentDocument.body):(0,o.Ltv)("body"),T=k.select(`[id="${t}"]`),S=k.select("#"+t+" g");if(await(0,s.r)(S,u,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),i.u.insertTitle(T,"classTitleText",(null==b?void 0:b.titleTopMargin)??5,n.db.getDiagramTitle()),(0,i.o)(u,T,null==b?void 0:b.diagramPadding,null==b?void 0:b.useMaxWidth),!(null==b?void 0:b.htmlLabels)){const e="sandbox"===y?m.nodes()[0].contentDocument:document,l=e.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of l){const l=t.getBBox(),n=e.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",l.width),n.setAttribute("height",l.height),t.insertBefore(n,t.firstChild)}}}},y={parser:n.p,db:n.d,renderer:b,styles:n.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,n.d.clear()}}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/68.mjs b/resources/daux/themes/rsp/js/68.mjs new file mode 100644 index 0000000..ee328b4 --- /dev/null +++ b/resources/daux/themes/rsp/js/68.mjs @@ -0,0 +1 @@ +export const id=68;export const ids=[68];export const modules={687:(e,t,s)=>{s.d(t,{diagram:()=>N});var o=s(1245),i=s(697),r=s(1062),a=s(5950),n=s(2983);s(4353),s(6750),s(2838),s(944),s(4075);const d="rect",l="rectWithTitle",c="statediagram",p=`${c}-state`,g="transition",b=`${g} note-edge`,h=`${c}-note`,y=`${c}-cluster`,u=`${c}-cluster-alt`,f="parent",x="note",w="----",m=`${w}${x}`,$=`${w}${f}`,T="fill:none",S="fill: #333",v="text",D="normal";let A={},k=0;function B(e="",t=0,s="",o=w){return`state-${e}${null!==s&&s.length>0?`${o}${s}`:""}-${t}`}const L=(e,t,s,i,r,n)=>{const c=s.id,g=null==(w=i[c])?"":w.classes?w.classes.join(" "):"";var w;if("root"!==c){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==o.D&&(t=s.type),A[c]||(A[c]={id:c,shape:t,description:a.e.sanitizeText(c,(0,a.c)()),classes:`${g} ${p}`});const i=A[c];s.description&&(Array.isArray(i.description)?(i.shape=l,i.description.push(s.description)):i.description.length>0?(i.shape=l,i.description===c?i.description=[s.description]:i.description=[i.description,s.description]):(i.shape=d,i.description=s.description),i.description=a.e.sanitizeTextOrArray(i.description,(0,a.c)())),1===i.description.length&&i.shape===l&&(i.shape=d),!i.type&&s.doc&&(a.l.info("Setting cluster for ",c,R(s)),i.type="group",i.dir=R(s),i.shape=s.type===o.a?"divider":"roundedWithTitle",i.classes=i.classes+" "+y+" "+(n?u:""));const r={labelStyle:"",shape:i.shape,labelText:i.description,classes:i.classes,style:"",id:c,dir:i.dir,domId:B(c,k),type:i.type,padding:15,centerLabel:!0};if(s.note){const t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:c+m+"-"+k,domId:B(c,k,x),type:i.type,padding:15},o={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:i.classes,style:"",id:c+$,domId:B(c,k,f),type:"group",padding:0};k++;const a=c+$;e.setNode(a,o),e.setNode(t.id,t),e.setNode(c,r),e.setParent(c,a),e.setParent(t.id,a);let n=c,d=t.id;"left of"===s.note.position&&(n=t.id,d=c),e.setEdge(n,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:b,arrowheadStyle:S,labelpos:"c",labelType:v,thickness:D})}else e.setNode(c,r)}t&&"root"!==t.id&&(a.l.trace("Setting node ",c," to be child of its parent ",t.id),e.setParent(c,t.id)),s.doc&&(a.l.trace("Adding nodes children "),E(e,s,s.doc,i,r,!n))},E=(e,t,s,i,r,n)=>{a.l.trace("items",s),s.forEach((s=>{switch(s.stmt){case o.b:case o.D:L(e,t,s,i,r,n);break;case o.S:{L(e,t,s.state1,i,r,n),L(e,t,s.state2,i,r,n);const o={id:"edge"+k,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:a.e.sanitizeText(s.description,(0,a.c)()),arrowheadStyle:S,labelpos:"c",labelType:v,thickness:D,classes:g};e.setEdge(s.state1.id,s.state2.id,o,k),k++}}}))},R=(e,t=o.c)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/689.mjs b/resources/daux/themes/rsp/js/689.mjs new file mode 100644 index 0000000..58f21d1 --- /dev/null +++ b/resources/daux/themes/rsp/js/689.mjs @@ -0,0 +1 @@ +export const id=689;export const ids=[689];export const modules={9689:(t,e,a)=>{a.d(e,{diagram:()=>ut});var r=a(5950),s=a(1062),i=a(8259),n=a(6750),o=(a(4353),a(2838),function(){var t=function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},e=[1,2],a=[1,3],r=[1,4],s=[2,4],i=[1,9],n=[1,11],o=[1,13],c=[1,14],l=[1,16],d=[1,17],h=[1,18],p=[1,24],g=[1,25],u=[1,26],x=[1,27],y=[1,28],m=[1,29],b=[1,30],f=[1,31],T=[1,32],E=[1,33],w=[1,34],P=[1,35],_=[1,36],v=[1,37],L=[1,38],k=[1,39],I=[1,41],M=[1,42],N=[1,43],A=[1,44],O=[1,45],S=[1,46],D=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,120],q={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=i[o];break;case 15:i[o].type="createParticipant",this.$=i[o];break;case 16:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1]};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1]};break;case 29:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 30:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 31:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 34:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 35:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 43:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 45:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 47:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 48:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 49:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 50:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 51:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 52:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 53:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 54:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 55:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 56:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 57:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 58:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 61:this.$=[i[o-2],i[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1]}];break;case 66:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4]}];break;case 67:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 68:this.$={type:"addParticipant",actor:i[o]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.DOTTED;break;case 73:this.$=r.LINETYPE.SOLID_CROSS;break;case 74:this.$=r.LINETYPE.DOTTED_CROSS;break;case 75:this.$=r.LINETYPE.SOLID_POINT;break;case 76:this.$=r.LINETYPE.DOTTED_POINT;break;case 77:this.$=r.parseMessage(i[o].trim().substring(1))}},table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],s,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:n,8:8,9:10,12:12,13:o,14:c,17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},t(D,[2,5]),{9:47,12:12,13:o,14:c,17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},t(D,[2,7]),t(D,[2,8]),t(D,[2,14]),{12:48,50:v,52:L,53:k},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(D,[2,29]),t(D,[2,30]),{32:[1,61]},{34:[1,62]},t(D,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:S},{22:88,70:S},{22:89,70:S},{22:90,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(D,[2,6]),t(D,[2,15]),t(R,[2,9],{10:91}),t(D,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(D,[2,21]),{5:[1,95]},{5:[1,96]},t(D,[2,24]),t(D,[2,25]),t(D,[2,26]),t(D,[2,27]),t(D,[2,28]),t(D,[2,31]),t(D,[2,32]),t(C,s,{7:97}),t(C,s,{7:98}),t(C,s,{7:99}),t($,s,{40:100,7:101}),t(Y,s,{42:102,7:103}),t(Y,s,{7:103,42:104}),t(B,s,{45:105,7:106}),t(C,s,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:S},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),{22:116,70:S},{22:118,58:117,70:S},{70:[2,63]},{70:[2,64]},{56:119,79:F},{56:121,79:F},{56:122,79:F},{56:123,79:F},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:v,52:L,53:k},{5:[1,129]},t(D,[2,19]),t(D,[2,20]),t(D,[2,22]),t(D,[2,23]),{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,130],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,131],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,132],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,133]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,46],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,49:[1,134],50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,135]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,44],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,48:[1,136],50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,137]},{16:[1,138]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,42],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,47:[1,139],50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,140],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:L,53:k,54:I,59:M,60:N,61:A,62:O,70:S},{15:[1,141]},t(D,[2,49]),{15:[1,142]},t(D,[2,51]),t(D,[2,52]),{22:143,70:S},{22:144,70:S},{56:145,79:F},{56:146,79:F},{56:147,79:F},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(D,[2,16]),t(R,[2,10]),{12:149,50:v,52:L,53:k},t(R,[2,12]),t(R,[2,13]),t(D,[2,18]),t(D,[2,34]),t(D,[2,35]),t(D,[2,36]),t(D,[2,37]),{15:[1,150]},t(D,[2,38]),{15:[1,151]},t(D,[2,39]),t(D,[2,40]),{15:[1,152]},t(D,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:F},{56:156,79:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:S},t(R,[2,11]),t($,s,{7:101,40:158}),t(Y,s,{7:103,42:159}),t(B,s,{7:106,45:160}),t(D,[2,48]),t(D,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},parse:function(t){var e=[0],a=[],r=[null],s=[],i=this.table,n="",o=0,c=0,l=s.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(t,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;s.push(g);var u=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,y,m,b,f,T,E,w,P,_={};;){if(y=e[e.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==x&&(P=void 0,"number"!=typeof(P=a.pop()||d.lex()||1)&&(P instanceof Array&&(P=(a=P).pop()),P=this.symbols_[P]||P),x=P),m=i[y]&&i[y][x]),void 0===m||!m.length||!m[0]){var v;for(f in w=[],i[y])this.terminals_[f]&&f>2&&w.push("'"+this.terminals_[f]+"'");v=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(v,{text:d.match,token:this.terminals_[x]||x,line:d.yylineno,loc:g,expected:w})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+x);switch(m[0]){case 1:e.push(x),r.push(d.yytext),s.push(d.yylloc),e.push(m[1]),x=null,c=d.yyleng,n=d.yytext,o=d.yylineno,g=d.yylloc;break;case 2:if(T=this.productions_[m[1]][1],_.$=r[r.length-T],_._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},u&&(_._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(b=this.performAction.apply(_,[n,c,o,h.yy,m[1],r,s].concat(l))))return b;T&&(e=e.slice(0,-1*T*2),r=r.slice(0,-1*T),s=s.slice(0,-1*T)),e.push(this.productions_[m[1]][0]),r.push(_.$),s.push(_._$),E=i[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},W={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),a.length-1&&(this.yylineno-=a.length-1);var s=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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,a,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;ie[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,a,r){switch(a){case 0:case 51:case 64:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/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,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}};function z(){this.yy={}}return q.lexer=W,z.prototype=q,q.Parser=z,new z}());o.parser=o;const c=o,l=new class{constructor(t){this.init=t,this.records=this.init()}reset(){this.records=this.init()}}((()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0}))),d=function(t,e,a,r){let s=l.records.currentBox;const i=l.records.actors[t];if(i){if(l.records.currentBox&&i.box&&l.records.currentBox!==i.box)throw new Error("A same participant should only be defined in one Box: "+i.name+" can't be in '"+i.box.name+"' and in '"+l.records.currentBox.name+"' at the same time.");if(s=i.box?i.box:l.records.currentBox,i.box=s,i&&e===i.name&&null==a)return}null!=a&&null!=a.text||(a={text:e,wrap:null,type:r}),null!=r&&null!=a.text||(a={text:e,wrap:null,type:r}),l.records.actors[t]={box:s,name:e,description:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,prevActor:l.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},l.records.prevActor&&l.records.actors[l.records.prevActor]&&(l.records.actors[l.records.prevActor].nextActor=t),l.records.currentBox&&l.records.currentBox.actorKeys.push(t),l.records.prevActor=t},h=function(t,e,a={text:void 0,wrap:void 0},r,s=!1){if(r===u.ACTIVE_END&&(t=>{let e,a=0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return l.records.messages.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,type:r,activate:s}),!0},p=function(t){return l.records.actors[t]},g=()=>void 0!==l.records.wrapEnabled?l.records.wrapEnabled:(0,r.c)().sequence.wrap,u={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},x=function(t,e,a){const r={actor:t,placement:e,message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap},s=[].concat(t,t);l.records.notes.push(r),l.records.messages.push({from:s[0],to:s[1],message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,type:u.NOTE,placement:e})},y=function(t,e){const a=p(t);try{let t=(0,r.d)(e.text,(0,r.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),m(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor link text",t)}};function m(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}const b=function(t,e){const a=p(t);try{let t=(0,r.d)(e.text,(0,r.c)());f(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor properties text",t)}};function f(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}const T=function(t,e){const a=p(t),s=document.getElementById(e.text);try{const t=s.innerHTML,e=JSON.parse(t);e.properties&&f(a,e.properties),e.links&&m(a,e.links)}catch(t){r.l.error("error while parsing actor details text",t)}},E=function(t){if(Array.isArray(t))t.forEach((function(t){E(t)}));else switch(t.type){case"sequenceIndex":l.records.messages.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":d(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(l.records.actors[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");l.records.lastCreated=t.actor,d(t.actor,t.actor,t.description,t.draw),l.records.createdActors[t.actor]=l.records.messages.length;break;case"destroyParticipant":l.records.lastDestroyed=t.actor,l.records.destroyedActors[t.actor]=l.records.messages.length;break;case"activeStart":case"activeEnd":h(t.actor,void 0,void 0,t.signalType);break;case"addNote":x(t.actor,t.placement,t.text);break;case"addLinks":y(t.actor,t.text);break;case"addALink":!function(t,e){const a=p(t);try{const t={};let o=(0,r.d)(e.text,(0,r.c)());var s=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var i=o.slice(0,s-1).trim(),n=o.slice(s+1).trim();t[i]=n,m(a,t)}catch(t){r.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":b(t.actor,t.text);break;case"addDetails":T(t.actor,t.text);break;case"addMessage":if(l.records.lastCreated){if(t.to!==l.records.lastCreated)throw new Error("The created participant "+l.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.");l.records.lastCreated=void 0}else if(l.records.lastDestroyed){if(t.to!==l.records.lastDestroyed&&t.from!==l.records.lastDestroyed)throw new Error("The destroyed participant "+l.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");l.records.lastDestroyed=void 0}h(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":e=t.boxData,l.records.boxes.push({name:e.text,wrap:void 0===e.wrap&&g()||!!e.wrap,fill:e.color,actorKeys:[]}),l.records.currentBox=l.records.boxes.slice(-1)[0];break;case"boxEnd":l.records.currentBox=void 0;break;case"loopStart":h(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":h(void 0,void 0,void 0,t.signalType);break;case"rectStart":h(void 0,void 0,t.color,t.signalType);break;case"optStart":h(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":h(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,r.s)(t.text);break;case"parStart":case"and":h(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":h(void 0,void 0,t.criticalText,t.signalType);break;case"option":h(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":h(void 0,void 0,t.breakText,t.signalType)}var e},w={addActor:d,addMessage:function(t,e,a,r){l.records.messages.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,answer:r})},addSignal:h,addLinks:y,addDetails:T,addProperties:b,autoWrap:g,setWrap:function(t){l.records.wrapEnabled=t},enableSequenceNumbers:function(){l.records.sequenceNumbersEnabled=!0},disableSequenceNumbers:function(){l.records.sequenceNumbersEnabled=!1},showSequenceNumbers:()=>l.records.sequenceNumbersEnabled,getMessages:function(){return l.records.messages},getActors:function(){return l.records.actors},getCreatedActors:function(){return l.records.createdActors},getDestroyedActors:function(){return l.records.destroyedActors},getActor:p,getActorKeys:function(){return Object.keys(l.records.actors)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:r.g,getBoxes:function(){return l.records.boxes},getDiagramTitle:r.t,setDiagramTitle:r.q,getConfig:()=>(0,r.c)().sequence,clear:function(){l.reset(),(0,r.v)()},parseMessage:function(t){const e=t.trim(),a={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return r.l.debug("parseMessage:",a),a},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let a=null!=e&&e[1]?e[1].trim():"transparent",s=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",s=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",s=t.trim())}return{color:a,text:void 0!==s?(0,r.d)(s.replace(/^:?(?:no)?wrap:/,""),(0,r.c)()):void 0,wrap:void 0!==s?null!==s.match(/^:?wrap:/)||null===s.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:u,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:x,setAccTitle:r.s,apply:E,setAccDescription:r.b,getAccDescription:r.a,hasAtLeastOneBox:function(){return l.records.boxes.length>0},hasAtLeastOneBoxWithTitle:function(){return l.records.boxes.some((t=>t.name))}},P="actor-top",_="actor-bottom",v=function(t,e){return(0,i.d)(t,e)},L=async function(t,e,a=null){let s=t.append("foreignObject");const i=await(0,r.r)(e.text,(0,r.F)()),n=s.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(s.attr("height",Math.round(n.height)).attr("width",Math.round(n.width)),"noteText"===e.class){const a=t.node().firstChild;a.setAttribute("height",n.height+2*e.textMargin);const r=a.getBBox();s.attr("x",Math.round(r.x+r.width/2-n.width/2)).attr("y",Math.round(r.y+r.height/2-n.height/2))}else if(a){let{startx:t,stopx:r,starty:i}=a;if(t>r){const e=t;t=r,r=e}s.attr("x",Math.round(t+Math.abs(t-r)/2-n.width/2)),"loopText"===e.class?s.attr("y",Math.round(i)):s.attr("y",Math.round(i-n.height))}return[s]},k=function(t,e){let a=0,s=0;const i=e.text.split(r.e.lineBreakRegex),[n,o]=(0,r.D)(e.fontSize);let c=[],l=0,d=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":d=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":d=()=>Math.round(e.y+(a+s+e.textMargin)/2);break;case"bottom":case"end":d=()=>Math.round(e.y+(a+s+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[h,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==n&&(l=h*n);const i=t.append("text");i.attr("x",e.x),i.attr("y",d()),void 0!==e.anchor&&i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&i.style("font-family",e.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==e.fontWeight&&i.style("font-weight",e.fontWeight),void 0!==e.fill&&i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class),void 0!==e.dy?i.attr("dy",e.dy):0!==l&&i.attr("dy",l);const g=p||r.Z;if(e.tspan){const t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(s+=(i._groups||i)[0][0].getBBox().height,a=s),c.push(i)}return c},I=function(t,e){const a=t.append("polygon");var r,s,i,n;return a.attr("points",(r=e.x)+","+(s=e.y)+" "+(r+(i=e.width))+","+s+" "+(r+i)+","+(s+(n=e.height)-7)+" "+(r+i-8.4)+","+(s+n)+" "+r+","+(s+n)),a.attr("class","labelBox"),e.y=e.y+e.height/2,k(t,e),a};let M=-1;const N=(t,e,a,r)=>{t.select&&a.forEach((a=>{const s=e[a],i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)}))},A=function(t,e){(0,i.a)(t,e)},O=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,s,n,o,c,l){const{actorFontSize:d,actorFontFamily:h,actorFontWeight:p}=l,[g,u]=(0,r.D)(d),x=t.split(r.e.lineBreakRegex);for(let t=0;ta?c.width:a;const g=d.append("rect");if(g.attr("class","actorPopupMenuPanel"+h),g.attr("x",c.x),g.attr("y",c.height),g.attr("fill",c.fill),g.attr("stroke",c.stroke),g.attr("width",p),g.attr("height",c.height),g.attr("rx",c.rx),g.attr("ry",c.ry),null!=i){var u=20;for(let t in i){var x=d.append("a"),y=(0,n.Jf)(i[t]);x.attr("xlink:href",y),x.attr("target","_blank"),S(r)(t,x,c.x+10,c.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:c.height+u,width:p}},Y=function(t){return t.append("g")},B=function(t,e,a,r,s){const n=(0,i.g)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+s%3,n.width=e.stopx-e.startx,n.height=a-e.starty,v(o,n)},V=async function(t,e,a,s){const{boxMargin:n,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=s,g=t.append("g"),u=function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let x=(0,i.e)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",I(g,x),x={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0},x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+n+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=!0;let y=(0,r.G)(x.text)?await L(g,x,e):k(g,x);if(void 0!==e.sectionTitles)for(const[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+n+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=e.wrap,(0,r.G)(x.text)?(e.starty=e.sections[t].y,await L(g,x,e)):k(g,x);let s=Math.round(y.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[t].height+=s-(n+o)}return e.height=Math.round(e.stopy-e.starty),g},F=A,q=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},W=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},z=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},H=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},U=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},j=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},G=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};n.Jf;let K={};const X={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,it((0,r.c)())},updateVal:function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},updateBounds:function(t,e,a,r){const s=this;let i=0;function n(n){return function(o){i++;const c=s.sequenceItems.length-i+1;s.updateVal(o,"starty",e-c*K.boxMargin,Math.min),s.updateVal(o,"stopy",r+c*K.boxMargin,Math.max),s.updateVal(X.data,"startx",t-c*K.boxMargin,Math.min),s.updateVal(X.data,"stopx",a+c*K.boxMargin,Math.max),"activation"!==n&&(s.updateVal(o,"startx",t-c*K.boxMargin,Math.min),s.updateVal(o,"stopx",a+c*K.boxMargin,Math.max),s.updateVal(X.data,"starty",e-c*K.boxMargin,Math.min),s.updateVal(X.data,"stopy",r+c*K.boxMargin,Math.max))}}this.sequenceItems.forEach(n()),this.activations.forEach(n("activation"))},insert:function(t,e,a,s){const i=r.e.getMin(t,a),n=r.e.getMax(t,a),o=r.e.getMin(e,s),c=r.e.getMax(e,s);this.updateVal(X.data,"startx",i,Math.min),this.updateVal(X.data,"starty",o,Math.min),this.updateVal(X.data,"stopx",n,Math.max),this.updateVal(X.data,"stopy",c,Math.max),this.updateBounds(i,o,n,c)},newActivation:function(t,e,a){const r=a[t.from.actor],s=nt(t.from.actor).length||0,i=r.x+r.width/2+(s-1)*K.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+K.activationWidth,stopy:void 0,actor:t.from.actor,anchored:Y(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:X.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=r.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},J=async function(t,e){X.bumpVerticalPos(K.boxMargin),e.height=K.boxMargin,e.starty=X.getVerticalPos();const a=(0,i.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||K.width,a.class="note";const s=t.append("g"),n=D(s,a),o=(0,i.e)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=K.noteFontFamily,o.fontSize=K.noteFontSize,o.fontWeight=K.noteFontWeight,o.anchor=K.noteAlign,o.textMargin=K.noteMargin,o.valign="center";const c=(0,r.G)(o.text)?await L(s,o):k(s,o),l=Math.round(c.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));n.attr("height",l+2*K.noteMargin),e.height+=l+2*K.noteMargin,X.bumpVerticalPos(l+2*K.noteMargin),e.stopy=e.starty+l+2*K.noteMargin,e.stopx=e.startx+a.width,X.insert(e.startx,e.starty,e.stopx,e.stopy),X.models.addNote(e)},Z=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Q=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),tt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});async function et(t,e){X.bumpVerticalPos(10);const{startx:a,stopx:s,message:i}=e,n=r.e.splitBreaks(i).length,o=(0,r.G)(i),c=o?await(0,r.H)(i,(0,r.c)()):r.u.calculateTextDimensions(i,Z(K));if(!o){const t=c.height/n;e.height+=t,X.bumpVerticalPos(t)}let l,d=c.height-10;const h=c.width;if(a===s){l=X.getVerticalPos()+d,K.rightAngles||(d+=K.boxMargin,l=X.getVerticalPos()+d),d+=30;const t=r.e.getMax(h/2,K.width/2);X.insert(a-t,X.getVerticalPos()-10+d,s+t,X.getVerticalPos()+30+d)}else d+=K.boxMargin,l=X.getVerticalPos()+d,X.insert(a,l-10,s,l);return X.bumpVerticalPos(d),e.height+=d,e.stopy=e.starty+e.height,X.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}const at=async function(t,e,a,s){const{startx:n,stopx:o,starty:c,message:l,type:d,sequenceIndex:h,sequenceVisible:p}=e,g=r.u.calculateTextDimensions(l,Z(K)),u=(0,i.e)();u.x=n,u.y=c+10,u.width=o-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=K.messageFontFamily,u.fontSize=K.messageFontSize,u.fontWeight=K.messageFontWeight,u.anchor=K.messageAlign,u.valign="center",u.textMargin=K.wrapPadding,u.tspan=!1,(0,r.G)(u.text)?await L(t,u,{startx:n,stopx:o,starty:a}):k(t,u);const x=g.width;let y;n===o?y=K.rightAngles?t.append("path").attr("d",`M ${n},${a} H ${n+r.e.getMax(K.width/2,x/2)} V ${a+25} H ${n}`):t.append("path").attr("d","M "+n+","+a+" C "+(n+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20)):(y=t.append("line"),y.attr("x1",n),y.attr("y1",a),y.attr("x2",o),y.attr("y2",a)),d===s.db.LINETYPE.DOTTED||d===s.db.LINETYPE.DOTTED_CROSS||d===s.db.LINETYPE.DOTTED_POINT||d===s.db.LINETYPE.DOTTED_OPEN?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";K.arrowMarkerAbsolute&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),y.attr("stroke-width",2),y.attr("stroke","none"),y.style("fill","none"),d!==s.db.LINETYPE.SOLID&&d!==s.db.LINETYPE.DOTTED||y.attr("marker-end","url("+m+"#arrowhead)"),d!==s.db.LINETYPE.SOLID_POINT&&d!==s.db.LINETYPE.DOTTED_POINT||y.attr("marker-end","url("+m+"#filled-head)"),d!==s.db.LINETYPE.SOLID_CROSS&&d!==s.db.LINETYPE.DOTTED_CROSS||y.attr("marker-end","url("+m+"#crosshead)"),(p||K.showSequenceNumbers)&&(y.attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))},rt=async function(t,e,a,s){if(s){let s=0;X.bumpVerticalPos(2*K.boxMargin);for(const i of a){const a=e[i];a.stopy||(a.stopy=X.getVerticalPos());const n=await R(t,a,K,!0);s=r.e.getMax(s,n)}X.bumpVerticalPos(s+K.boxMargin)}else for(const r of a){const a=e[r];await R(t,a,K,!1)}},st=function(t,e,a,r){let s=0,i=0;for(const n of a){const a=e[n],o=dt(a),c=$(t,a,o,K,K.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}},it=function(t){(0,r.f)(K,t),t.fontFamily&&(K.actorFontFamily=K.noteFontFamily=K.messageFontFamily=t.fontFamily),t.fontSize&&(K.actorFontSize=K.noteFontSize=K.messageFontSize=t.fontSize),t.fontWeight&&(K.actorFontWeight=K.noteFontWeight=K.messageFontWeight=t.fontWeight)},nt=function(t){return X.activations.filter((function(e){return e.actor===t}))},ot=function(t,e){const a=e[t],s=nt(t);return[s.reduce((function(t,e){return r.e.getMin(t,e.startx)}),a.x+a.width/2-1),s.reduce((function(t,e){return r.e.getMax(t,e.stopx)}),a.x+a.width/2+1)]};function ct(t,e,a,s,i){X.bumpVerticalPos(a);let n=s;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,i=Z(K);e.message=r.u.wrapLabel(`[${e.message}]`,a-2*K.wrapPadding,i),e.width=a,e.wrap=!0;const o=r.u.calculateTextDimensions(e.message,i),c=r.e.getMax(o.height,K.labelBoxHeight);n=s+c,r.l.debug(`${c} - ${e.message}`)}i(e),X.bumpVerticalPos(n)}function lt(t,e,a,r,s,i,n){function o(a,r){a.x2,p=t=>c?-t:t;t.from===t.to?d=l:(t.activate&&!h&&(d+=p(K.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(d+=p(3)));const g=[s,i,n,o],u=Math.abs(l-d);t.wrap&&t.message&&(t.message=r.u.wrapLabel(t.message,r.e.getMax(u+2*K.wrapPadding,K.width),Z(K)));const x=r.u.calculateTextDimensions(t.message,Z(K));return{width:r.e.getMax(t.wrap?0:x.width+2*K.wrapPadding,u+2*K.wrapPadding,K.width),height:0,startx:l,stopx:d,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,g),toBounds:Math.max.apply(null,g)}},gt={bounds:X,drawActors:rt,drawActorsPopup:st,setConf:it,draw:async function(t,e,a,i){const{securityLevel:n,sequence:o}=(0,r.c)();let c;K=o,"sandbox"===n&&(c=(0,s.Ltv)("#i"+e));const l="sandbox"===n?(0,s.Ltv)(c.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),d="sandbox"===n?c.nodes()[0].contentDocument:document;X.init(),r.l.debug(i.db);const h="sandbox"===n?l.select(`[id="${e}"]`):(0,s.Ltv)(`[id="${e}"]`),p=i.db.getActors(),g=i.db.getCreatedActors(),u=i.db.getDestroyedActors(),x=i.db.getBoxes();let y=i.db.getActorKeys();const m=i.db.getMessages(),b=i.db.getDiagramTitle(),f=i.db.hasAtLeastOneBox(),T=i.db.hasAtLeastOneBoxWithTitle(),E=await async function(t,e,a){const s={};for(const i of e)if(t[i.to]&&t[i.from]){const e=t[i.to];if(i.placement===a.db.PLACEMENT.LEFTOF&&!e.prevActor)continue;if(i.placement===a.db.PLACEMENT.RIGHTOF&&!e.nextActor)continue;const n=void 0!==i.placement,o=!n,c=n?Q(K):Z(K),l=i.wrap?r.u.wrapLabel(i.message,K.width-2*K.wrapPadding,c):i.message,d=((0,r.G)(l)?await(0,r.H)(i.message,(0,r.c)()):r.u.calculateTextDimensions(l,c)).width+2*K.wrapPadding;o&&i.from===e.nextActor?s[i.to]=r.e.getMax(s[i.to]||0,d):o&&i.from===e.prevActor?s[i.from]=r.e.getMax(s[i.from]||0,d):o&&i.from===i.to?(s[i.from]=r.e.getMax(s[i.from]||0,d/2),s[i.to]=r.e.getMax(s[i.to]||0,d/2)):i.placement===a.db.PLACEMENT.RIGHTOF?s[i.from]=r.e.getMax(s[i.from]||0,d):i.placement===a.db.PLACEMENT.LEFTOF?s[e.prevActor]=r.e.getMax(s[e.prevActor]||0,d):i.placement===a.db.PLACEMENT.OVER&&(e.prevActor&&(s[e.prevActor]=r.e.getMax(s[e.prevActor]||0,d/2)),e.nextActor&&(s[i.from]=r.e.getMax(s[i.from]||0,d/2)))}return r.l.debug("maxMessageWidthPerActor:",s),s}(p,m,i);if(K.height=await async function(t,e,a){let s=0;for(const e of Object.keys(t)){const a=t[e];a.wrap&&(a.description=r.u.wrapLabel(a.description,K.width-2*K.wrapPadding,tt(K)));const i=(0,r.G)(a.description)?await(0,r.H)(a.description,(0,r.c)()):r.u.calculateTextDimensions(a.description,tt(K));a.width=a.wrap?K.width:r.e.getMax(K.width,i.width+2*K.wrapPadding),a.height=a.wrap?r.e.getMax(i.height,K.height):K.height,s=r.e.getMax(s,a.height)}for(const a in e){const s=t[a];if(!s)continue;const i=t[s.nextActor];if(!i){const t=e[a]+K.actorMargin-s.width/2;s.margin=r.e.getMax(t,K.actorMargin);continue}const n=e[a]+K.actorMargin-s.width/2-i.width/2;s.margin=r.e.getMax(n,K.actorMargin)}let i=0;return a.forEach((e=>{const a=Z(K);let s=e.actorKeys.reduce(((e,a)=>e+(t[a].width+(t[a].margin||0))),0);s-=2*K.boxTextMargin,e.wrap&&(e.name=r.u.wrapLabel(e.name,s-2*K.wrapPadding,a));const n=r.u.calculateTextDimensions(e.name,a);i=r.e.getMax(n.height,i);const o=r.e.getMax(s,n.width+2*K.wrapPadding);if(e.margin=K.boxTextMargin,st.textMaxHeight=i)),r.e.getMax(s,K.height)}(p,E,x),j(h),U(h),G(h),f&&(X.bumpVerticalPos(K.boxMargin),T&&X.bumpVerticalPos(x[0].textMaxHeight)),!0===K.hideUnusedParticipants){const t=new Set;m.forEach((e=>{t.add(e.from),t.add(e.to)})),y=y.filter((e=>t.has(e)))}await async function(t,e,a,s){let i,n=0,o=0,c=0;for(const t of s){const s=e[t],l=s.box;i&&i!=l&&(X.models.addBox(i),o+=K.boxMargin+i.margin),l&&l!=i&&(l.x=n+o,l.y=0,o+=l.margin),s.width=s.width||K.width,s.height=r.e.getMax(s.height||K.height,K.height),s.margin=s.margin||K.actorMargin,c=r.e.getMax(c,s.height),a[s.name]&&(o+=s.width/2),s.x=n+o,s.starty=X.getVerticalPos(),X.insert(s.x,0,s.x+s.width,s.height),n+=s.width+o,s.box&&(s.box.width=n+l.margin-s.box.x),o=s.margin,i=s.box,X.models.addActor(s)}i&&X.models.addBox(i),X.bumpVerticalPos(c)}(0,p,g,y);const w=await async function(t,e,a,s){const i={},n=[];let o,c,l;for(const a of t){switch(a.id=r.u.random({length:10}),a.type){case s.db.LINETYPE.LOOP_START:case s.db.LINETYPE.ALT_START:case s.db.LINETYPE.OPT_START:case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:case s.db.LINETYPE.CRITICAL_START:case s.db.LINETYPE.BREAK_START:n.push({id:a.id,msg:a.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case s.db.LINETYPE.ALT_ELSE:case s.db.LINETYPE.PAR_AND:case s.db.LINETYPE.CRITICAL_OPTION:a.message&&(o=n.pop(),i[o.id]=o,i[a.id]=o,n.push(o));break;case s.db.LINETYPE.LOOP_END:case s.db.LINETYPE.ALT_END:case s.db.LINETYPE.OPT_END:case s.db.LINETYPE.PAR_END:case s.db.LINETYPE.CRITICAL_END:case s.db.LINETYPE.BREAK_END:o=n.pop(),i[o.id]=o;break;case s.db.LINETYPE.ACTIVE_START:{const t=e[a.from?a.from.actor:a.to.actor],r=nt(a.from?a.from.actor:a.to.actor).length,s=t.x+t.width/2+(r-1)*K.activationWidth/2,i={startx:s,stopx:s+K.activationWidth,actor:a.from.actor,enabled:!0};X.activations.push(i)}break;case s.db.LINETYPE.ACTIVE_END:{const t=X.activations.map((t=>t.actor)).lastIndexOf(a.from.actor);delete X.activations.splice(t,1)[0]}}void 0!==a.placement?(c=await ht(a,e,s),a.noteModel=c,n.forEach((t=>{o=t,o.from=r.e.getMin(o.from,c.startx),o.to=r.e.getMax(o.to,c.startx+c.width),o.width=r.e.getMax(o.width,Math.abs(o.from-o.to))-K.labelBoxWidth}))):(l=pt(a,e,s),a.msgModel=l,l.startx&&l.stopx&&n.length>0&&n.forEach((t=>{if(o=t,l.startx===l.stopx){const t=e[a.from],s=e[a.to];o.from=r.e.getMin(t.x-l.width/2,t.x-t.width/2,o.from),o.to=r.e.getMax(s.x+l.width/2,s.x+t.width/2,o.to),o.width=r.e.getMax(o.width,Math.abs(o.to-o.from))-K.labelBoxWidth}else o.from=r.e.getMin(l.startx,o.from),o.to=r.e.getMax(l.stopx,o.to),o.width=r.e.getMax(o.width,l.width)-K.labelBoxWidth})))}return X.activations=[],r.l.debug("Loop type widths:",i),i}(m,p,0,i);function P(t,e){const a=X.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),B(h,a,e,K,nt(t.from.actor).length),X.insert(a.startx,e-10,a.stopx,e)}q(h),H(h),W(h),z(h);let _=1,v=1;const L=[],k=[];let I=0;for(const t of m){let e,a,s;switch(t.type){case i.db.LINETYPE.NOTE:X.resetVerticalPos(),a=t.noteModel,await J(h,a);break;case i.db.LINETYPE.ACTIVE_START:X.newActivation(t,h,p);break;case i.db.LINETYPE.ACTIVE_END:P(t,X.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.LOOP_END:e=X.endLoop(),await V(h,e,"loop",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.RECT_START:ct(w,t,K.boxMargin,K.boxMargin,(t=>X.newLoop(void 0,t.message)));break;case i.db.LINETYPE.RECT_END:e=X.endLoop(),k.push(e),X.models.addLoop(e),X.bumpVerticalPos(e.stopy-X.getVerticalPos());break;case i.db.LINETYPE.OPT_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.OPT_END:e=X.endLoop(),await V(h,e,"opt",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.ALT_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.ALT_ELSE:ct(w,t,K.boxMargin+K.boxTextMargin,K.boxMargin,(t=>X.addSectionToLoop(t)));break;case i.db.LINETYPE.ALT_END:e=X.endLoop(),await V(h,e,"alt",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.PAR_OVER_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t))),X.saveVerticalPos();break;case i.db.LINETYPE.PAR_AND:ct(w,t,K.boxMargin+K.boxTextMargin,K.boxMargin,(t=>X.addSectionToLoop(t)));break;case i.db.LINETYPE.PAR_END:e=X.endLoop(),await V(h,e,"par",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.AUTONUMBER:_=t.message.start||_,v=t.message.step||v,t.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.CRITICAL_OPTION:ct(w,t,K.boxMargin+K.boxTextMargin,K.boxMargin,(t=>X.addSectionToLoop(t)));break;case i.db.LINETYPE.CRITICAL_END:e=X.endLoop(),await V(h,e,"critical",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.BREAK_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.BREAK_END:e=X.endLoop(),await V(h,e,"break",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;default:try{s=t.msgModel,s.starty=X.getVerticalPos(),s.sequenceIndex=_,s.sequenceVisible=i.db.showSequenceNumbers();const e=await et(0,s);lt(t,s,e,I,p,g,u),L.push({messageModel:s,lineStartY:e}),X.models.addMessage(s)}catch(t){r.l.error("error while drawing message",t)}}[i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(_+=v),I++}r.l.debug("createdActors",g),r.l.debug("destroyedActors",u),await rt(h,p,y,!1);for(const t of L)await at(h,t.messageModel,t.lineStartY,i);K.mirrorActors&&await rt(h,p,y,!0),k.forEach((t=>F(h,t))),N(h,p,y,K);for(const t of X.models.boxes)t.height=X.getVerticalPos()-t.y,X.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",await C(h,t,K);f&&X.bumpVerticalPos(K.boxMargin);const M=st(h,p,y,d),{bounds:A}=X.getBounds();let O=A.stopy-A.starty;O`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,init:({wrap:t})=>{w.setWrap(t)}}},8259:(t,e,a)=>{a.d(e,{a:()=>n,b:()=>l,c:()=>c,d:()=>i,e:()=>h,f:()=>o,g:()=>d});var r=a(6750),s=a(5950);const i=(t,e)=>{const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),void 0!==e.rx&&a.attr("rx",e.rx),void 0!==e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)a.attr(t,e.attrs[t]);return void 0!==e.class&&a.attr("class",e.class),a},n=(t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};i(t,a).lower()},o=(t,e)=>{const a=e.text.replace(s.J," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);const i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(a),r},c=(t,e,a,s)=>{const i=t.append("image");i.attr("x",e),i.attr("y",a);const n=(0,r.Jf)(s);i.attr("xlink:href",n)},l=(t,e,a,s)=>{const i=t.append("use");i.attr("x",e),i.attr("y",a);const n=(0,r.Jf)(s);i.attr("xlink:href",`#${n}`)},d=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),h=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/706.mjs b/resources/daux/themes/rsp/js/706.mjs new file mode 100644 index 0000000..a7cffd8 --- /dev/null +++ b/resources/daux/themes/rsp/js/706.mjs @@ -0,0 +1 @@ +export const id=706;export const ids=[706];export const modules={3706:(t,e,i)=>{i.d(e,{diagram:()=>T});var n=i(5950),r=i(1062),s=i(944),a=i(697),o=(i(4353),i(6750),i(2838),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,3],i=[1,4],n=[1,5],r=[1,6],s=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],a=[1,18],o=[2,7],l=[1,22],c=[1,23],h=[1,24],u=[1,25],y=[1,26],d=[1,27],p=[1,20],_=[1,28],E=[1,29],g=[62,63],R=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],m=[1,47],f=[1,48],I=[1,49],b=[1,50],S=[1,51],T=[1,52],k=[1,53],N=[53,54],x=[1,64],A=[1,60],v=[1,61],q=[1,62],$=[1,63],O=[1,65],w=[1,69],C=[1,70],L=[1,67],F=[1,68],M=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(t,e,i,n,r,s,a){var o=s.length-1;switch(r){case 4:this.$=s[o].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[o-3],s[o-4]);break;case 14:n.setNewReqId(s[o-2]);break;case 15:n.setNewReqText(s[o-2]);break;case 16:n.setNewReqRisk(s[o-2]);break;case 17:n.setNewReqVerifyMethod(s[o-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[o-3]);break;case 34:n.setNewElementType(s[o-2]);break;case 35:n.setNewElementDocRef(s[o-2]);break;case 38:n.addRelationship(s[o-2],s[o],s[o-4]);break;case 39:n.addRelationship(s[o-2],s[o-4],s[o]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:i,11:n,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:i,11:n,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(s,[2,6]),{3:12,4:2,6:e,9:i,11:n,13:r},{1:[2,2]},{4:17,5:a,7:13,8:o,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:c,33:h,34:u,35:y,36:d,44:p,62:_,63:E},t(s,[2,4]),t(s,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:a,7:31,8:o,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:c,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:32,8:o,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:c,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:33,8:o,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:c,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:34,8:o,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:c,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:35,8:o,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:c,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},t(g,[2,20]),t(g,[2,21]),t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(R,[2,49]),t(R,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:m,56:f,57:I,58:b,59:S,60:T,61:k},{52:54,55:m,56:f,57:I,58:b,59:S,60:T,61:k},{5:[1,55]},{5:[1,56]},{53:[1,57]},t(N,[2,40]),t(N,[2,41]),t(N,[2,42]),t(N,[2,43]),t(N,[2,44]),t(N,[2,45]),t(N,[2,46]),{54:[1,58]},{5:x,20:59,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:66,47:L,49:F},{23:71,62:_,63:E},{23:72,62:_,63:E},t(M,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:x,20:77,21:A,24:v,26:q,28:$,30:O},t(M,[2,19]),t(M,[2,33]),{22:[1,78]},{22:[1,79]},{5:w,30:C,46:80,47:L,49:F},t(M,[2,37]),t(M,[2,38]),t(M,[2,39]),{23:81,62:_,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},t(M,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},t(M,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:x,20:106,21:A,24:v,26:q,28:$,30:O},{5:x,20:107,21:A,24:v,26:q,28:$,30:O},{5:x,20:108,21:A,24:v,26:q,28:$,30:O},{5:x,20:109,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:110,47:L,49:F},{5:w,30:C,46:111,47:L,49:F},t(M,[2,14]),t(M,[2,15]),t(M,[2,16]),t(M,[2,17]),t(M,[2,34]),t(M,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],r=[],s=this.table,a="",o=0,l=0,c=r.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var d=h.yylloc;r.push(d);var p=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,E,g,R,m,f,I,b,S,T={};;){if(E=e[e.length-1],this.defaultActions[E]?g=this.defaultActions[E]:(null==_&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),_=S),g=s[E]&&s[E][_]),void 0===g||!g.length||!g[0]){var k;for(m in b=[],s[E])this.terminals_[m]&&m>2&&b.push("'"+this.terminals_[m]+"'");k=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:d,expected:b})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(g[0]){case 1:e.push(_),n.push(h.yytext),r.push(h.yylloc),e.push(g[1]),_=null,l=h.yyleng,a=h.yytext,o=h.yylineno,d=h.yylloc;break;case 2:if(f=this.productions_[g[1]][1],T.$=n[n.length-f],T._$={first_line:r[r.length-(f||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(f||1)].first_column,last_column:r[r.length-1].last_column},p&&(T._$.range=[r[r.length-(f||1)].range[0],r[r.length-1].range[1]]),void 0!==(R=this.performAction.apply(T,[a,l,o,u.yy,g[1],n,r].concat(c))))return R;f&&(e=e.slice(0,-1*f*2),n=n.slice(0,-1*f),r=r.slice(0,-1*f)),e.push(this.productions_[g[1]][0]),n.push(T.$),r.push(T._$),I=s[e[e.length-2]][e[e.length-1]],e.push(I);break;case 3:return!0}}return!0}},P={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=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),i.length-1&&(this.yylineno-=i.length-1);var r=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return e.yytext=e.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}};function V(){this.yy={}}return D.lexer=P,V.prototype=D,D.Parser=V,new V}());o.parser=o;const l=o;let c=[],h={},u={},y={},d={};const p={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>(0,n.c)().req,addRequirement:(t,e)=>(void 0===u[t]&&(u[t]={name:t,type:e,id:h.id,text:h.text,risk:h.risk,verifyMethod:h.verifyMethod}),h={},u[t]),getRequirements:()=>u,setNewReqId:t=>{void 0!==h&&(h.id=t)},setNewReqText:t=>{void 0!==h&&(h.text=t)},setNewReqRisk:t=>{void 0!==h&&(h.risk=t)},setNewReqVerifyMethod:t=>{void 0!==h&&(h.verifyMethod=t)},setAccTitle:n.s,getAccTitle:n.g,setAccDescription:n.b,getAccDescription:n.a,addElement:t=>(void 0===d[t]&&(d[t]={name:t,type:y.type,docRef:y.docRef},n.l.info("Added new requirement: ",t)),y={},d[t]),getElements:()=>d,setNewElementType:t=>{void 0!==y&&(y.type=t)},setNewElementDocRef:t=>{void 0!==y&&(y.docRef=t)},addRelationship:(t,e,i)=>{c.push({type:t,src:e,dst:i})},getRelationships:()=>c,clear:()=>{c=[],h={},u={},y={},d={},(0,n.v)()}},_={CONTAINS:"contains",ARROW:"arrow"},E=_;let g={},R=0;const m=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",g.rect_min_width+"px").attr("height",g.rect_min_height+"px"),f=(t,e,i)=>{let n=g.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",n).attr("y",g.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach((t=>{0==s?r.append("tspan").attr("text-anchor","middle").attr("x",g.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",g.rect_min_width/2).attr("dy",.75*g.line_height).text(t),s++}));let a=1.5*g.rect_padding+s*g.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",g.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:r,y:a}},I=(t,e,i,n)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",g.rect_padding).attr("y",n).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach((t=>{let e=t.length;for(;e>30&&s<3;){let i=t.substring(0,30);e=(t=t.substring(30,t.length)).length,a[a.length]=i,s++}if(3==s){let t=a[a.length-1];a[a.length-1]=t.substring(0,t.length-4)+"..."}else a[a.length]=t;s=0})),a.forEach((t=>{r.append("tspan").attr("x",g.rect_padding).attr("dy",g.line_height).text(t)})),r},b=t=>t.replace(/\s/g,"").replace(/\./g,"_"),S={draw:(t,e,i,o)=>{g=(0,n.c)().requirement;const l=g.securityLevel;let c;"sandbox"===l&&(c=(0,r.Ltv)("#i"+e));const h=("sandbox"===l?(0,r.Ltv)(c.nodes()[0].contentDocument.body):(0,r.Ltv)("body")).select(`[id='${e}']`);((t,e)=>{let i=t.append("defs").append("marker").attr("id",_.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",_.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)})(h,g);const u=new a.T({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:g.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let y=o.db.getRequirements(),d=o.db.getElements(),p=o.db.getRelationships();var S,T,k;S=y,T=u,k=h,Object.keys(S).forEach((t=>{let e=S[t];t=b(t),n.l.info("Added new requirement: ",t);const i=k.append("g").attr("id",t),r=m(i,"req-"+t);let s=f(i,t+"_title",[`<<${e.type}>>`,`${e.name}`]);I(i,t+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],s.y);const a=r.node().getBBox();T.setNode(t,{width:a.width,height:a.height,shape:"rect",id:t})})),((t,e,i)=>{Object.keys(t).forEach((n=>{let r=t[n];const s=b(n),a=i.append("g").attr("id",s),o="element-"+s,l=m(a,o);let c=f(a,o+"_title",["<>",`${n}`]);I(a,o+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],c.y);const h=l.node().getBBox();e.setNode(s,{width:h.width,height:h.height,shape:"rect",id:s})}))})(d,u,h),((t,e)=>{t.forEach((function(t){let i=b(t.src),n=b(t.dst);e.setEdge(i,n,{relationship:t})}))})(p,u),(0,s.Zp)(u),function(t,e){e.nodes().forEach((function(i){void 0!==i&&void 0!==e.node(i)&&(t.select("#"+i),t.select("#"+i).attr("transform","translate("+(e.node(i).x-e.node(i).width/2)+","+(e.node(i).y-e.node(i).height/2)+" )"))}))}(h,u),p.forEach((function(t){!function(t,e,i,s,a){const o=i.edge(b(e.src),b(e.dst)),l=(0,r.n8j)().x((function(t){return t.x})).y((function(t){return t.y})),c=t.insert("path","#"+s).attr("class","er relationshipLine").attr("d",l(o.points)).attr("fill","none");e.type==a.db.Relationships.CONTAINS?c.attr("marker-start","url("+n.e.getUrl(g.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(c.attr("stroke-dasharray","10,7"),c.attr("marker-end","url("+n.e.getUrl(g.arrowMarkerAbsolute)+"#"+E.ARROW+"_line_ending)")),((t,e,i,n)=>{const r=e.node().getTotalLength(),s=e.node().getPointAtLength(.5*r),a="rel"+R;R++;const o=t.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(n).node().getBBox();t.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-o.width/2).attr("y",s.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")})(t,c,0,`<<${e.type}>>`)}(h,t,u,e,o)}));const N=g.rect_padding,x=h.node().getBBox(),A=x.width+2*N,v=x.height+2*N;(0,n.i)(h,v,A,g.useMaxWidth),h.attr("viewBox",`${x.x-N} ${x.y-N} ${A} ${v}`)}},T={parser:l,db:p,renderer:S,styles:t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/741.mjs b/resources/daux/themes/rsp/js/741.mjs new file mode 100644 index 0000000..59d39da --- /dev/null +++ b/resources/daux/themes/rsp/js/741.mjs @@ -0,0 +1 @@ +export const id=741;export const ids=[741];export const modules={2954:(n,t,e)=>{n.exports=function n(t,e,i){function r(a,o){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var s=e[a]={exports:{}};t[a][0].call(s.exports,(function(n){return r(t[a][1][n]||n)}),s,s.exports,n,t,e,i)}return e[a].exports}for(var c=void 0,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,o=e.algorithms,u=void 0===o?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:o,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:u}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,o=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:o}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){var e;function r(){}function c(){}function a(){}function o(){}function u(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function m(){}function v(){}function k(){}function y(){}function M(){}function T(){}function j(){}function E(){}function S(){}function P(){}function C(){}function I(){}function O(){}function A(){}function L(){}function N(){}function $(){}function D(){}function x(){}function R(){}function K(){}function F(){}function _(){}function B(){}function H(){}function U(){}function G(){}function q(){}function X(){}function z(){}function V(){}function W(){}function Q(){}function J(){}function Y(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function on(){}function un(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function mn(){}function vn(){}function kn(){}function yn(){}function Mn(){}function Tn(){}function jn(){}function En(){}function Sn(){}function Pn(){}function Cn(){}function In(){}function On(){}function An(){}function Ln(){}function Nn(){}function $n(){}function Dn(){}function xn(){}function Rn(){}function Kn(){}function Fn(){}function _n(){}function Bn(){}function Hn(){}function Un(){}function Gn(){}function qn(){}function Xn(){}function zn(){}function Vn(){}function Wn(){}function Qn(){}function Jn(){}function Yn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ot(){}function ut(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function mt(){}function vt(){}function kt(){}function yt(){}function Mt(){}function Tt(){}function jt(){}function Et(){}function St(){}function Pt(){}function Ct(){}function It(){}function Ot(){}function At(){}function Lt(){}function Nt(){}function $t(){}function Dt(){}function xt(){}function Rt(){}function Kt(){}function Ft(){}function _t(){}function Bt(){}function Ht(){}function Ut(){}function Gt(){}function qt(){}function Xt(){}function zt(){}function Vt(){}function Wt(){}function Qt(){}function Jt(){}function Yt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function oe(){}function ue(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function me(){}function ve(){}function ke(){}function ye(){}function Me(){}function Te(){}function je(){}function Ee(){}function Se(){}function Pe(){}function Ce(){}function Ie(){}function Oe(){}function Ae(){}function Le(){}function Ne(){}function $e(){}function De(){}function xe(){}function Re(){}function Ke(){}function Fe(){}function _e(){}function Be(){}function He(){}function Ue(){}function Ge(){}function qe(){}function Xe(){}function ze(){}function Ve(){}function We(){}function Qe(){}function Je(){}function Ye(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function oi(){}function ui(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function mi(){}function vi(){}function ki(){}function yi(){}function Mi(){}function Ti(){}function ji(){}function Ei(){}function Si(){}function Pi(){}function Ci(){}function Ii(){}function Oi(){}function Ai(){}function Li(){}function Ni(){}function $i(){}function Di(){}function xi(){}function Ri(){}function Ki(){}function Fi(){}function _i(){}function Bi(){}function Hi(){}function Ui(){}function Gi(){}function qi(){}function Xi(){}function zi(){}function Vi(){}function Wi(){}function Qi(){}function Ji(){}function Yi(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function or(){}function ur(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function mr(){}function vr(){}function kr(){}function yr(){}function Mr(){}function Tr(){}function jr(){}function Er(){}function Sr(){}function Pr(){}function Cr(){}function Ir(){}function Or(){}function Ar(){}function Lr(){}function Nr(){}function $r(){}function Dr(){}function xr(){}function Rr(){}function Kr(){}function Fr(){}function _r(){}function Br(){}function Hr(){}function Ur(){}function Gr(){}function qr(){}function Xr(){}function zr(){}function Vr(){}function Wr(){}function Qr(){}function Jr(){}function Yr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function oc(){}function uc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function mc(){}function vc(){}function kc(){}function yc(){}function Mc(){}function Tc(){}function jc(){}function Ec(){}function Sc(){}function Pc(){}function Cc(){}function Ic(){}function Oc(){}function Ac(){}function Lc(){}function Nc(){}function $c(){}function Dc(){}function xc(){}function Rc(){}function Kc(){}function Fc(){}function _c(){}function Bc(){}function Hc(){}function Uc(){}function Gc(){}function qc(){}function Xc(){}function zc(){}function Vc(){}function Wc(){}function Qc(){}function Jc(){}function Yc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function oa(){}function ua(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function ma(){}function va(){}function ka(){}function ya(){}function Ma(){}function Ta(){}function ja(){}function Ea(){}function Sa(){}function Pa(){}function Ca(){}function Ia(){}function Oa(){}function Aa(){}function La(){}function Na(){}function $a(){}function Da(){}function xa(){}function Ra(){}function Ka(){}function Fa(){}function _a(){}function Ba(){}function Ha(){}function Ua(){}function Ga(){}function qa(){}function Xa(){}function za(){}function Va(){}function Wa(){}function Qa(){}function Ja(){}function Ya(){}function Za(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function oo(){}function uo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function mo(){}function vo(){}function ko(){}function yo(){}function Mo(){}function To(){}function jo(){}function Eo(){}function So(){}function Po(){}function Co(){}function Io(){}function Oo(){}function Ao(){}function Lo(){}function No(){}function $o(){}function Do(){}function xo(){}function Ro(){}function Ko(){}function Fo(){}function _o(){}function Bo(){}function Ho(){}function Uo(){}function Go(){}function qo(){}function Xo(){}function zo(){}function Vo(){}function Wo(){}function Qo(){}function Jo(){}function Yo(){}function Zo(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function ou(){}function uu(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function mu(){}function vu(){}function ku(){}function yu(){}function Mu(){}function Tu(){}function ju(){}function Eu(){}function Su(){}function Pu(){}function Cu(){}function Iu(){}function Ou(){}function Au(){}function Lu(){}function Nu(){}function $u(){}function Du(){}function xu(){}function Ru(){}function Ku(){}function Fu(){}function _u(){}function Bu(){}function Hu(){}function Uu(){}function Gu(){}function qu(){}function Xu(){}function zu(){}function Vu(){}function Wu(){}function Qu(){}function Ju(){}function Yu(){}function Zu(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function os(){}function us(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function ms(){}function vs(){}function ks(){}function ys(){}function Ms(){}function Ts(){}function js(){}function Es(){}function Ss(){}function Ps(){}function Cs(){}function Is(){}function Os(){}function As(){}function Ls(){}function Ns(){}function $s(){}function Ds(){}function xs(){}function Rs(){}function Ks(){}function Fs(){}function _s(){}function Bs(){}function Hs(){}function Us(){}function Gs(){}function qs(){}function Xs(){}function zs(){}function Vs(){}function Ws(){}function Qs(){}function Js(){}function Ys(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function oh(){}function uh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function mh(){}function vh(){}function kh(){}function yh(){}function Mh(){}function Th(){}function jh(){}function Eh(){}function Sh(){}function Ph(){}function Ch(){}function Ih(){}function Oh(){}function Ah(){}function Lh(){}function Nh(){}function $h(){}function Dh(){}function xh(){}function Rh(){}function Kh(){}function Fh(){}function _h(){}function Bh(){}function Hh(){}function Uh(){}function Gh(){}function qh(){}function Xh(){}function zh(){}function Vh(){}function Wh(){}function Qh(){}function Jh(){}function Yh(){}function Zh(){}function nf(){}function tf(){}function ef(){}function rf(){}function cf(){}function af(){}function of(){}function uf(){}function sf(){}function hf(){}function ff(){}function lf(){}function bf(){}function wf(){}function df(){}function gf(){}function pf(){}function mf(){}function vf(){}function kf(){}function yf(){}function Mf(){}function Tf(){}function jf(){}function Ef(){}function Sf(){}function Pf(){}function Cf(){}function If(){}function Of(){}function Af(){}function Lf(){}function Nf(){}function $f(){}function Df(){}function xf(){}function Rf(){Ok()}function Kf(){kE()}function Ff(){nun()}function _f(){r7()}function Bf(){Wrn()}function Hf(){sfn()}function Uf(){Akn()}function Gf(){gon()}function qf(){Oon()}function Xf(){yE()}function zf(){vR()}function Vf(){ME()}function Wf(){v6()}function Qf(){mY()}function Jf(){x3()}function Yf(){tz()}function Zf(){K3()}function nl(){lZ()}function tl(){ZX()}function el(){C9()}function il(){_3()}function rl(){F3()}function cl(){iW()}function al(){B3()}function ol(){$hn()}function ul(){jE()}function sl(){WEn()}function hl(){NEn()}function fl(){H3()}function ll(){y6()}function bl(){ez()}function wl(){kon()}function dl(){rz()}function gl(){ckn()}function pl(){Dwn()}function ml(){T2()}function vl(){Wnn()}function kl(){fyn()}function yl(){Nz()}function Ml(){M2()}function Tl(){Ovn()}function jl(){kfn()}function El(){Lvn()}function Sl(){hmn()}function Pl(){yhn()}function Cl(){Dmn()}function Il(){Vcn()}function Ol(){iR()}function Al(){LZ()}function Ll(){Mhn()}function Nl(){zEn()}function $l(){I9()}function Dl(){hin()}function xl(){M6()}function Rl(){cMn()}function Kl(){Gkn()}function Fl(n){jU(n)}function _l(n){this.a=n}function Bl(n){this.a=n}function Hl(n){this.a=n}function Ul(n){this.a=n}function Gl(n){this.a=n}function ql(n){this.a=n}function Xl(n){this.a=n}function zl(n){this.a=n}function Vl(n){this.a=n}function Wl(n){this.a=n}function Ql(n){this.a=n}function Jl(n){this.a=n}function Yl(n){this.a=n}function Zl(n){this.a=n}function nb(n){this.a=n}function tb(n){this.a=n}function eb(n){this.a=n}function ib(n){this.a=n}function rb(n){this.a=n}function cb(n){this.a=n}function ab(n){this.a=n}function ob(n){this.a=n}function ub(n){this.b=n}function sb(n){this.c=n}function hb(n){this.a=n}function fb(n){this.a=n}function lb(n){this.a=n}function bb(n){this.a=n}function wb(n){this.a=n}function db(n){this.a=n}function gb(n){this.a=n}function pb(n){this.a=n}function mb(n){this.a=n}function vb(n){this.a=n}function kb(n){this.a=n}function yb(n){this.a=n}function Mb(n){this.a=n}function Tb(n){this.a=n}function jb(n){this.a=n}function Eb(n){this.a=n}function Sb(n){this.a=n}function Pb(){this.a=[]}function Cb(n,t){n.a=t}function Ib(n,t){n.j=t}function Ob(n,t){n.c=t}function Ab(n,t){n.d=t}function Lb(n,t){n.k=t}function Nb(n,t){n.c=t}function $b(n,t){n.a=t}function Db(n,t){n.a=t}function xb(n,t){n.f=t}function Rb(n,t){n.a=t}function Kb(n,t){n.b=t}function Fb(n,t){n.d=t}function _b(n,t){n.i=t}function Bb(n,t){n.o=t}function Hb(n,t){n.e=t}function Ub(n,t){n.g=t}function Gb(n,t){n.e=t}function qb(n,t){n.f=t}function Xb(n,t){n.f=t}function zb(n,t){n.a=t}function Vb(n,t){n.b=t}function Wb(n,t){n.n=t}function Qb(n){n.b=n.a}function Jb(n){n.c=n.d.d}function Yb(n){this.a=n}function Zb(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function ow(n){this.a=n}function uw(n){this.a=n}function sw(n){this.a=n}function hw(n){this.a=n}function fw(n){this.a=n}function lw(n){this.b=n}function bw(n){this.b=n}function ww(n){this.b=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.c=n}function mw(n){this.c=n}function vw(n){this.c=n}function kw(n){this.d=n}function yw(n){this.a=n}function Mw(n){this.a=n}function Tw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Cw(n){this.a=n}function Iw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function $w(n){this.a=n}function Dw(n){this.a=n}function xw(n){this.a=n}function Rw(n){this.a=n}function Kw(n){this.a=n}function Fw(n){this.a=n}function _w(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function Uw(n){this.a=n}function Gw(n){this.a=n}function qw(n){this.a=n}function Xw(n){this.a=n}function zw(n){this.a=n}function Vw(n){this.a=n}function Ww(n){this.a=n}function Qw(n){this.a=n}function Jw(n){this.a=n}function Yw(n){this.a=n}function Zw(n){this.a=n}function nd(n){this.a=n}function td(n){this.a=n}function ed(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function od(n){this.a=n}function ud(n){this.a=n}function sd(n){this.a=n}function hd(n){this.a=n}function fd(n){this.a=n}function ld(n){this.a=n}function bd(n){this.a=n}function wd(n){this.a=n}function dd(n){this.a=n}function gd(n){this.e=n}function pd(n){this.a=n}function md(n){this.a=n}function vd(n){this.a=n}function kd(n){this.a=n}function yd(n){this.a=n}function Md(n){this.a=n}function Td(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Cd(n){this.a=n}function Id(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function $d(n){this.a=n}function Dd(n){this.a=n}function xd(n){this.a=n}function Rd(n){this.a=n}function Kd(n){this.a=n}function Fd(n){this.a=n}function _d(n){this.a=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function Ud(n){this.a=n}function Gd(n){this.a=n}function qd(n){this.a=n}function Xd(n){this.a=n}function zd(n){this.a=n}function Vd(n){this.a=n}function Wd(n){this.a=n}function Qd(n){this.a=n}function Jd(n){this.a=n}function Yd(n){this.a=n}function Zd(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function og(n){this.a=n}function ug(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function wg(n){this.a=n}function dg(n){this.a=n}function gg(n){this.a=n}function pg(n){this.c=n}function mg(n){this.b=n}function vg(n){this.a=n}function kg(n){this.a=n}function yg(n){this.a=n}function Mg(n){this.a=n}function Tg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Cg(n){this.a=n}function Ig(n){this.a=n}function Og(n){this.a=n}function Ag(n){this.a=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function $g(n){this.a=n}function Dg(n){this.a=n}function xg(n){this.a=n}function Rg(n){this.a=n}function Kg(n){this.a=n}function Fg(n){this.a=n}function _g(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function Ug(n){this.a=n}function Gg(n){this.a=n}function qg(n){this.a=n}function Xg(n){this.a=n}function zg(n){this.a=n}function Vg(n){this.a=n}function Wg(n){this.a=n}function Qg(n){this.a=n}function Jg(n){this.a=n}function Yg(n){this.a=n}function Zg(n){this.a=n}function np(n){this.a=n}function tp(n){this.a=n}function ep(n){this.a=n}function ip(n){this.a=n}function rp(n){this.a=n}function cp(n){this.a=n}function ap(n){this.a=n}function op(n){this.a=n}function up(n){this.a=n}function sp(n){this.a=n}function hp(n){this.a=n}function fp(n){this.a=n}function lp(n){this.a=n}function bp(n){this.a=n}function wp(n){this.a=n}function dp(n){this.a=n}function gp(n){this.a=n}function pp(n){this.a=n}function mp(n){this.a=n}function vp(n){this.a=n}function kp(n){this.a=n}function yp(n){this.f=n}function Mp(n){this.a=n}function Tp(n){this.a=n}function jp(n){this.a=n}function Ep(n){this.a=n}function Sp(n){this.a=n}function Pp(n){this.a=n}function Cp(n){this.a=n}function Ip(n){this.a=n}function Op(n){this.a=n}function Ap(n){this.a=n}function Lp(n){this.a=n}function Np(n){this.a=n}function $p(n){this.a=n}function Dp(n){this.a=n}function xp(n){this.a=n}function Rp(n){this.a=n}function Kp(n){this.a=n}function Fp(n){this.a=n}function _p(n){this.a=n}function Bp(n){this.a=n}function Hp(n){this.a=n}function Up(n){this.a=n}function Gp(n){this.a=n}function qp(n){this.a=n}function Xp(n){this.a=n}function zp(n){this.a=n}function Vp(n){this.a=n}function Wp(n){this.a=n}function Qp(n){this.a=n}function Jp(n){this.a=n}function Yp(n){this.b=n}function Zp(n){this.a=n}function nm(n){this.a=n}function tm(n){this.a=n}function em(n){this.a=n}function im(n){this.a=n}function rm(n){this.a=n}function cm(n){this.a=n}function am(n){this.b=n}function om(n){this.a=n}function um(n){this.a=n}function sm(n){this.a=n}function hm(n){this.a=n}function fm(n){this.c=n}function lm(n){this.e=n}function bm(n){this.a=n}function wm(n){this.a=n}function dm(n){this.a=n}function gm(n){this.d=n}function pm(n){this.a=n}function mm(n){this.a=n}function vm(n){this.a=n}function km(n){this.e=n}function ym(){this.a=0}function Mm(){IB(this)}function Tm(){TA(this)}function jm(){kU(this)}function Em(){}function Sm(){this.c=Qbt}function Pm(n,t){n.b+=t}function Cm(n){return n.a}function Im(n){return n.a}function Om(n){return n.a}function Am(n){return n.a}function Lm(n){return n.a}function Nm(n){return n.e}function $m(){return null}function Dm(){return null}function xm(n){n.b=new uM}function Rm(n,t){n.b=t-n.b}function Km(n,t){n.a=t-n.a}function Fm(n,t){n.push(t)}function _m(n,t){n.sort(t)}function Bm(n,t){t.jd(n.a)}function Hm(n,t){n.e=t,t.b=n}function Um(n){cR(),this.a=n}function Gm(n){cR(),this.a=n}function qm(n){cR(),this.a=n}function Xm(n){LH(),this.a=n}function zm(n){gq(),DUn.le(n)}function Vm(){Vm=E,new Mm}function Wm(){CN.call(this)}function Qm(){CN.call(this)}function Jm(){Wm.call(this)}function Ym(){Wm.call(this)}function Zm(){Wm.call(this)}function nv(){Wm.call(this)}function tv(){Wm.call(this)}function ev(){Wm.call(this)}function iv(){Wm.call(this)}function rv(){Wm.call(this)}function cv(){Wm.call(this)}function av(){Wm.call(this)}function ov(){Wm.call(this)}function uv(){this.a=this}function sv(){this.Bb|=256}function hv(){this.b=new mO}function fv(n,t){n.length=t}function lv(n,t){LL(n.a,t)}function bv(n,t){r5(n.e,t)}function wv(n){bwn(n.c,n.b)}function dv(n){this.a=function(n){var t;return(t=tfn(n))>34028234663852886e22?mCn:t<-34028234663852886e22?vCn:t}(n)}function gv(){this.a=new Mm}function pv(){this.a=new Mm}function mv(){this.a=new Uj}function vv(){this.a=new Tm}function kv(){this.a=new Tm}function yv(){this.a=new Tm}function Mv(){this.a=new kn}function Tv(){this.a=new nY}function jv(){this.a=new lt}function Ev(){this.a=new JX}function Sv(){this.a=new YD}function Pv(){this.a=new Tm}function Cv(){this.a=new Tm}function Iv(){this.a=new Tm}function Ov(){this.a=new Tm}function Av(){this.d=new Tm}function Lv(){this.a=new uV}function Nv(){this.a=new gv}function $v(){this.a=new Mm}function Dv(){this.b=new Mm}function xv(){this.b=new Tm}function Rv(){this.e=new Tm}function Kv(){this.a=new ol}function Fv(){this.d=new Tm}function _v(){Iq.call(this)}function Bv(){Iq.call(this)}function Hv(){Tm.call(this)}function Uv(){Jm.call(this)}function Gv(){vv.call(this)}function qv(){ox.call(this)}function Xv(){Ov.call(this)}function zv(){Em.call(this)}function Vv(){zv.call(this)}function Wv(){Em.call(this)}function Qv(){Wv.call(this)}function Jv(){yk.call(this)}function Yv(){yk.call(this)}function Zv(){yk.call(this)}function nk(){jk.call(this)}function tk(){ts.call(this)}function ek(){ts.call(this)}function ik(){qj.call(this)}function rk(){Ck.call(this)}function ck(){Ck.call(this)}function ak(){Mm.call(this)}function ok(){Mm.call(this)}function uk(){Mm.call(this)}function sk(){z3.call(this)}function hk(){gv.call(this)}function fk(){sv.call(this)}function lk(){XL.call(this)}function bk(){Mm.call(this)}function wk(){XL.call(this)}function dk(){Mm.call(this)}function gk(){Mm.call(this)}function pk(){ps.call(this)}function mk(){pk.call(this)}function vk(){ps.call(this)}function kk(){$f.call(this)}function yk(){this.a=new gv}function Mk(){this.a=new Mm}function Tk(){this.a=new Tm}function jk(){this.a=new Mm}function Ek(){this.a=new qj}function Sk(){this.j=new Tm}function Pk(){this.a=new CT}function Ck(){this.a=new gs}function Ik(){this.a=new Do}function Ok(){Ok=E,sUn=new c}function Ak(){Ak=E,pUn=new $k}function Lk(){Lk=E,mUn=new Nk}function Nk(){tb.call(this,"")}function $k(){tb.call(this,"")}function Dk(n){c2.call(this,n)}function xk(n){c2.call(this,n)}function Rk(n){Vl.call(this,n)}function Kk(n){yj.call(this,n)}function Fk(n){yj.call(this,n)}function _k(n){Kk.call(this,n)}function Bk(n){Kk.call(this,n)}function Hk(n){Kk.call(this,n)}function Uk(n){gQ.call(this,n)}function Gk(n){gQ.call(this,n)}function qk(n){Fx.call(this,n)}function Xk(n){Ej.call(this,n)}function zk(n){Cj.call(this,n)}function Vk(n){Cj.call(this,n)}function Wk(n){Cj.call(this,n)}function Qk(n){ofn.call(this,n)}function Jk(n){Qk.call(this,n)}function Yk(n){G_.call(this,n)}function Zk(n){Yk.call(this,n)}function ny(){Sb.call(this,{})}function ty(){ty=E,UUn=new T}function ey(){ey=E,jUn=new pL}function iy(){iy=E,OUn=new r}function ry(){ry=E,$Un=new p}function cy(){cy=E,RUn=new k}function ay(n){tN(),this.a=n}function oy(n){k6(),this.a=n}function uy(n){b_(),this.f=n}function sy(n){b_(),this.f=n}function hy(n){eR(),this.a=n}function fy(n){n.b=null,n.c=0}function ly(n,t){n.a=t,function(n){var t,i,r;for(function(n){var t,i,r;for(i=new mw(n.a.a.b);i.a0&&((!aA(n.a.c)||!t.n.d)&&(!oA(n.a.c)||!t.n.b)&&(t.g.d-=e.Math.max(0,r/2-.5)),(!aA(n.a.c)||!t.n.a)&&(!oA(n.a.c)||!t.n.c)&&(t.g.a+=e.Math.max(0,r-1)))}(n),r=new Tm,i=new mw(n.a.a.b);i.a0&&((!aA(n.a.c)||!t.n.d)&&(!oA(n.a.c)||!t.n.b)&&(t.g.d+=e.Math.max(0,r/2-.5)),(!aA(n.a.c)||!t.n.a)&&(!oA(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}(n)}(n)}function by(n,t,e){n.a[t.g]=e}function wy(n,t,e){!function(n,t,e){var i,r;for(gA(n,n.j+t,n.k+e),r=new zL((!n.a&&(n.a=new $L(Yft,n,5)),n.a));r.e!=r.i.gc();)lA(i=YR(Grn(r),377),i.a+t,i.b+e);dA(n,n.b+t,n.c+e)}(e,n,t)}function dy(n,t){!function(n,t){aA(n.f)?function(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new mw(n.d);i.a=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[FCn]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}()}function ZM(){ZM=E,Lft=function(){var n,t;cMn();try{if(t=YR(xun((GE(),ubt),eFn),2113))return t}catch(t){if(!hL(t=z5(t),103))throw Nm(t);n=t,fH((xA(),n))}return new rs}()}function nT(){var n;nT=E,Nft=flt?YR(Ldn((GE(),ubt),eFn),2115):(n=YR(hL(cX((GE(),ubt),eFn),569)?cX(ubt,eFn):new xwn,569),flt=!0,function(n){n.q||(n.q=!0,n.p=f5(n,0),n.a=f5(n,1),z4(n.a,0),n.f=f5(n,2),z4(n.f,1),X4(n.f,2),n.n=f5(n,3),X4(n.n,3),X4(n.n,4),X4(n.n,5),X4(n.n,6),n.g=f5(n,4),z4(n.g,7),X4(n.g,8),n.c=f5(n,5),z4(n.c,7),z4(n.c,8),n.i=f5(n,6),z4(n.i,9),z4(n.i,10),z4(n.i,11),z4(n.i,12),X4(n.i,13),n.j=f5(n,7),z4(n.j,9),n.d=f5(n,8),z4(n.d,3),z4(n.d,4),z4(n.d,5),z4(n.d,6),X4(n.d,7),X4(n.d,8),X4(n.d,9),X4(n.d,10),n.b=f5(n,9),X4(n.b,0),X4(n.b,1),n.e=f5(n,10),X4(n.e,1),X4(n.e,2),X4(n.e,3),X4(n.e,4),z4(n.e,5),z4(n.e,6),z4(n.e,7),z4(n.e,8),z4(n.e,9),z4(n.e,10),X4(n.e,11),n.k=f5(n,11),X4(n.k,0),X4(n.k,1),n.o=l5(n,12),n.s=l5(n,13))}(n),function(n){var t,e,i,r,c,a,o;n.r||(n.r=!0,U4(n,"graph"),G4(n,"graph"),q4(n,eFn),H5(n.o,"T"),wZ(Bq(n.a),n.p),wZ(Bq(n.f),n.a),wZ(Bq(n.n),n.f),wZ(Bq(n.g),n.n),wZ(Bq(n.c),n.n),wZ(Bq(n.i),n.c),wZ(Bq(n.j),n.c),wZ(Bq(n.d),n.f),wZ(Bq(n.e),n.a),LV(n.p,Mzn,wOn,!0,!0,!1),o=r8(a=$9(n.p,n.p,"setProperty")),t=RG(n.o),e=new Sm,wZ((!t.d&&(t.d=new $L(lbt,t,1)),t.d),e),tsn(e,i=KG(o)),Dun(a,t,iFn),Dun(a,t=KG(o),rFn),o=r8(a=$9(n.p,null,"getProperty")),t=RG(n.o),e=KG(o),wZ((!t.d&&(t.d=new $L(lbt,t,1)),t.d),e),Dun(a,t,iFn),(c=Jsn(a,t=KG(o),null))&&c.oj(),a=$9(n.p,n.wb.e,"hasProperty"),t=RG(n.o),e=new Sm,wZ((!t.d&&(t.d=new $L(lbt,t,1)),t.d),e),Dun(a,t,iFn),lon(a=$9(n.p,n.p,"copyProperties"),n.p,cFn),a=$9(n.p,null,"getAllProperties"),t=RG(n.wb.P),e=RG(n.o),wZ((!t.d&&(t.d=new $L(lbt,t,1)),t.d),e),i=new Sm,wZ((!e.d&&(e.d=new $L(lbt,e,1)),e.d),i),e=RG(n.wb.M),wZ((!t.d&&(t.d=new $L(lbt,t,1)),t.d),e),(r=Jsn(a,t,null))&&r.oj(),LV(n.a,Jft,PKn,!0,!1,!0),son(YR(g2(sq(n.a),0),19),n.k,null,aFn,0,-1,Jft,!1,!1,!0,!0,!1,!1,!1),LV(n.f,Zft,IKn,!0,!1,!0),son(YR(g2(sq(n.f),0),19),n.g,YR(g2(sq(n.g),0),19),"labels",0,-1,Zft,!1,!1,!0,!0,!1,!1,!1),h6(YR(g2(sq(n.f),1),35),n.wb._,oFn,null,0,1,Zft,!1,!1,!0,!1,!0,!1),LV(n.n,nlt,"ElkShape",!0,!1,!0),h6(YR(g2(sq(n.n),0),35),n.wb.t,uFn,ICn,1,1,nlt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.n),1),35),n.wb.t,sFn,ICn,1,1,nlt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.n),2),35),n.wb.t,"x",ICn,1,1,nlt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.n),3),35),n.wb.t,"y",ICn,1,1,nlt,!1,!1,!0,!1,!0,!1),lon(a=$9(n.n,null,"setDimensions"),n.wb.t,sFn),lon(a,n.wb.t,uFn),lon(a=$9(n.n,null,"setLocation"),n.wb.t,"x"),lon(a,n.wb.t,"y"),LV(n.g,ult,DKn,!1,!1,!0),son(YR(g2(sq(n.g),0),19),n.f,YR(g2(sq(n.f),0),19),hFn,0,1,ult,!1,!1,!0,!1,!1,!1,!1),h6(YR(g2(sq(n.g),1),35),n.wb._,fFn,"",0,1,ult,!1,!1,!0,!1,!0,!1),LV(n.c,tlt,OKn,!0,!1,!0),son(YR(g2(sq(n.c),0),19),n.d,YR(g2(sq(n.d),1),19),"outgoingEdges",0,-1,tlt,!1,!1,!0,!1,!0,!1,!1),son(YR(g2(sq(n.c),1),19),n.d,YR(g2(sq(n.d),2),19),"incomingEdges",0,-1,tlt,!1,!1,!0,!1,!0,!1,!1),LV(n.i,slt,xKn,!1,!1,!0),son(YR(g2(sq(n.i),0),19),n.j,YR(g2(sq(n.j),0),19),"ports",0,-1,slt,!1,!1,!0,!0,!1,!1,!1),son(YR(g2(sq(n.i),1),19),n.i,YR(g2(sq(n.i),2),19),lFn,0,-1,slt,!1,!1,!0,!0,!1,!1,!1),son(YR(g2(sq(n.i),2),19),n.i,YR(g2(sq(n.i),1),19),hFn,0,1,slt,!1,!1,!0,!1,!1,!1,!1),son(YR(g2(sq(n.i),3),19),n.d,YR(g2(sq(n.d),0),19),"containedEdges",0,-1,slt,!1,!1,!0,!0,!1,!1,!1),h6(YR(g2(sq(n.i),4),35),n.wb.e,bFn,null,0,1,slt,!0,!0,!1,!1,!0,!0),LV(n.j,hlt,RKn,!1,!1,!0),son(YR(g2(sq(n.j),0),19),n.i,YR(g2(sq(n.i),0),19),hFn,0,1,hlt,!1,!1,!0,!1,!1,!1,!1),LV(n.d,elt,AKn,!1,!1,!0),son(YR(g2(sq(n.d),0),19),n.i,YR(g2(sq(n.i),3),19),"containingNode",0,1,elt,!1,!1,!0,!1,!1,!1,!1),son(YR(g2(sq(n.d),1),19),n.c,YR(g2(sq(n.c),0),19),wFn,0,-1,elt,!1,!1,!0,!1,!0,!1,!1),son(YR(g2(sq(n.d),2),19),n.c,YR(g2(sq(n.c),1),19),dFn,0,-1,elt,!1,!1,!0,!1,!0,!1,!1),son(YR(g2(sq(n.d),3),19),n.e,YR(g2(sq(n.e),5),19),gFn,0,-1,elt,!1,!1,!0,!0,!1,!1,!1),h6(YR(g2(sq(n.d),4),35),n.wb.e,"hyperedge",null,0,1,elt,!0,!0,!1,!1,!0,!0),h6(YR(g2(sq(n.d),5),35),n.wb.e,bFn,null,0,1,elt,!0,!0,!1,!1,!0,!0),h6(YR(g2(sq(n.d),6),35),n.wb.e,"selfloop",null,0,1,elt,!0,!0,!1,!1,!0,!0),h6(YR(g2(sq(n.d),7),35),n.wb.e,"connected",null,0,1,elt,!0,!0,!1,!1,!0,!0),LV(n.b,Yft,CKn,!1,!1,!0),h6(YR(g2(sq(n.b),0),35),n.wb.t,"x",ICn,1,1,Yft,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.b),1),35),n.wb.t,"y",ICn,1,1,Yft,!1,!1,!0,!1,!0,!1),lon(a=$9(n.b,null,"set"),n.wb.t,"x"),lon(a,n.wb.t,"y"),LV(n.e,ilt,LKn,!1,!1,!0),h6(YR(g2(sq(n.e),0),35),n.wb.t,"startX",null,0,1,ilt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.e),1),35),n.wb.t,"startY",null,0,1,ilt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.e),2),35),n.wb.t,"endX",null,0,1,ilt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.e),3),35),n.wb.t,"endY",null,0,1,ilt,!1,!1,!0,!1,!0,!1),son(YR(g2(sq(n.e),4),19),n.b,null,pFn,0,-1,ilt,!1,!1,!0,!0,!1,!1,!1),son(YR(g2(sq(n.e),5),19),n.d,YR(g2(sq(n.d),3),19),hFn,0,1,ilt,!1,!1,!0,!1,!1,!1,!1),son(YR(g2(sq(n.e),6),19),n.c,null,mFn,0,1,ilt,!1,!1,!0,!1,!0,!1,!1),son(YR(g2(sq(n.e),7),19),n.c,null,vFn,0,1,ilt,!1,!1,!0,!1,!0,!1,!1),son(YR(g2(sq(n.e),8),19),n.e,YR(g2(sq(n.e),9),19),kFn,0,-1,ilt,!1,!1,!0,!1,!0,!1,!1),son(YR(g2(sq(n.e),9),19),n.e,YR(g2(sq(n.e),8),19),yFn,0,-1,ilt,!1,!1,!0,!1,!0,!1,!1),h6(YR(g2(sq(n.e),10),35),n.wb._,oFn,null,0,1,ilt,!1,!1,!0,!1,!0,!1),lon(a=$9(n.e,null,"setStartLocation"),n.wb.t,"x"),lon(a,n.wb.t,"y"),lon(a=$9(n.e,null,"setEndLocation"),n.wb.t,"x"),lon(a,n.wb.t,"y"),LV(n.k,yUn,"ElkPropertyToValueMapEntry",!1,!1,!1),t=RG(n.o),e=new Sm,wZ((!t.d&&(t.d=new $L(lbt,t,1)),t.d),e),mwn(YR(g2(sq(n.k),0),35),t,"key",yUn,!1,!1,!0,!1),h6(YR(g2(sq(n.k),1),35),n.s,rFn,null,0,1,yUn,!1,!1,!0,!1,!0,!1),nG(n.o,uat,"IProperty",!0),nG(n.s,hUn,"PropertyValue",!0),$7(n,eFn))}(n),uon(n),oz(ubt,eFn,n),n)}function tT(){tT=E,Ilt=y3()}function eT(){eT=E,pbt=function(){var n,t;cMn();try{if(t=YR(xun((GE(),ubt),OBn),2040))return t}catch(t){if(!hL(t=z5(t),103))throw Nm(t);n=t,fH((xA(),n))}return new _s}()}function iT(){iT=E,Lwt=function(){var n,t;UZ();try{if(t=YR(xun((GE(),ubt),oHn),2122))return t}catch(t){if(!hL(t=z5(t),103))throw Nm(t);n=t,fH((xA(),n))}return new Nh}()}function rT(){var n;rT=E,Nwt=gdt?YR(Ldn((GE(),ubt),oHn),2044):(OO(Awt,new Xh),OO(udt,new rf),OO(sdt,new df),OO(hdt,new Sf),OO(IGn,new Of),OO(sM(Zdt,1),new Af),OO(nGn,new Lf),OO(iGn,new Nf),OO(IGn,new Dh),OO(IGn,new xh),OO(IGn,new Rh),OO(aGn,new Kh),OO(IGn,new Fh),OO(gUn,new _h),OO(gUn,new Bh),OO(IGn,new Hh),OO(oGn,new Gh),OO(IGn,new qh),OO(IGn,new zh),OO(IGn,new Vh),OO(IGn,new Wh),OO(IGn,new Qh),OO(sM(Zdt,1),new Jh),OO(IGn,new Yh),OO(IGn,new Zh),OO(gUn,new nf),OO(gUn,new tf),OO(IGn,new ef),OO(hGn,new cf),OO(IGn,new af),OO(gGn,new of),OO(IGn,new uf),OO(IGn,new sf),OO(IGn,new hf),OO(IGn,new ff),OO(gUn,new lf),OO(gUn,new bf),OO(IGn,new wf),OO(IGn,new gf),OO(IGn,new pf),OO(IGn,new mf),OO(IGn,new vf),OO(IGn,new kf),OO(mGn,new yf),OO(IGn,new Mf),OO(IGn,new Tf),OO(IGn,new jf),OO(mGn,new Ef),OO(gGn,new Pf),OO(IGn,new Cf),OO(hGn,new If),n=YR(hL(cX((GE(),ubt),oHn),594)?cX(ubt,oHn):new NU,594),gdt=!0,function(n){n.N||(n.N=!0,n.b=f5(n,0),X4(n.b,0),X4(n.b,1),X4(n.b,2),n.bb=f5(n,1),X4(n.bb,0),X4(n.bb,1),n.fb=f5(n,2),X4(n.fb,3),X4(n.fb,4),z4(n.fb,5),n.qb=f5(n,3),X4(n.qb,0),z4(n.qb,1),z4(n.qb,2),X4(n.qb,3),X4(n.qb,4),z4(n.qb,5),X4(n.qb,6),n.a=l5(n,4),n.c=l5(n,5),n.d=l5(n,6),n.e=l5(n,7),n.f=l5(n,8),n.g=l5(n,9),n.i=l5(n,10),n.j=l5(n,11),n.k=l5(n,12),n.n=l5(n,13),n.o=l5(n,14),n.p=l5(n,15),n.q=l5(n,16),n.s=l5(n,17),n.r=l5(n,18),n.t=l5(n,19),n.u=l5(n,20),n.v=l5(n,21),n.w=l5(n,22),n.B=l5(n,23),n.A=l5(n,24),n.C=l5(n,25),n.D=l5(n,26),n.F=l5(n,27),n.G=l5(n,28),n.H=l5(n,29),n.J=l5(n,30),n.I=l5(n,31),n.K=l5(n,32),n.M=l5(n,33),n.L=l5(n,34),n.P=l5(n,35),n.Q=l5(n,36),n.R=l5(n,37),n.S=l5(n,38),n.T=l5(n,39),n.U=l5(n,40),n.V=l5(n,41),n.X=l5(n,42),n.W=l5(n,43),n.Y=l5(n,44),n.Z=l5(n,45),n.$=l5(n,46),n._=l5(n,47),n.ab=l5(n,48),n.cb=l5(n,49),n.db=l5(n,50),n.eb=l5(n,51),n.gb=l5(n,52),n.hb=l5(n,53),n.ib=l5(n,54),n.jb=l5(n,55),n.kb=l5(n,56),n.lb=l5(n,57),n.mb=l5(n,58),n.nb=l5(n,59),n.ob=l5(n,60),n.pb=l5(n,61))}(n),function(n){var t;n.O||(n.O=!0,U4(n,"type"),G4(n,"ecore.xml.type"),q4(n,oHn),t=YR(Ldn((GE(),ubt),oHn),2044),wZ(Bq(n.fb),n.b),LV(n.b,Awt,"AnyType",!1,!1,!0),h6(YR(g2(sq(n.b),0),35),n.wb.D,vBn,null,0,-1,Awt,!1,!1,!0,!1,!1,!1),h6(YR(g2(sq(n.b),1),35),n.wb.D,"any",null,0,-1,Awt,!0,!0,!0,!1,!1,!0),h6(YR(g2(sq(n.b),2),35),n.wb.D,"anyAttribute",null,0,-1,Awt,!1,!1,!0,!1,!1,!1),LV(n.bb,udt,lHn,!1,!1,!0),h6(YR(g2(sq(n.bb),0),35),n.gb,"data",null,0,1,udt,!1,!1,!0,!1,!0,!1),h6(YR(g2(sq(n.bb),1),35),n.gb,LFn,null,1,1,udt,!1,!1,!0,!1,!0,!1),LV(n.fb,sdt,bHn,!1,!1,!0),h6(YR(g2(sq(n.fb),0),35),t.gb,"rawValue",null,0,1,sdt,!0,!0,!0,!1,!0,!0),h6(YR(g2(sq(n.fb),1),35),t.a,rFn,null,0,1,sdt,!0,!0,!0,!1,!0,!0),son(YR(g2(sq(n.fb),2),19),n.wb.q,null,"instanceType",1,1,sdt,!1,!1,!0,!1,!1,!1,!1),LV(n.qb,hdt,wHn,!1,!1,!0),h6(YR(g2(sq(n.qb),0),35),n.wb.D,vBn,null,0,-1,null,!1,!1,!0,!1,!1,!1),son(YR(g2(sq(n.qb),1),19),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),son(YR(g2(sq(n.qb),2),19),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),h6(YR(g2(sq(n.qb),3),35),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),h6(YR(g2(sq(n.qb),4),35),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),son(YR(g2(sq(n.qb),5),19),n.bb,null,_Hn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),h6(YR(g2(sq(n.qb),6),35),n.gb,fFn,null,0,-2,null,!0,!0,!0,!1,!1,!0),nG(n.a,hUn,"AnySimpleType",!0),nG(n.c,IGn,"AnyURI",!0),nG(n.d,sM(Zdt,1),"Base64Binary",!0),nG(n.e,Jdt,"Boolean",!0),nG(n.f,nGn,"BooleanObject",!0),nG(n.g,Zdt,"Byte",!0),nG(n.i,iGn,"ByteObject",!0),nG(n.j,IGn,"Date",!0),nG(n.k,IGn,"DateTime",!0),nG(n.n,xGn,"Decimal",!0),nG(n.o,ngt,"Double",!0),nG(n.p,aGn,"DoubleObject",!0),nG(n.q,IGn,"Duration",!0),nG(n.s,gUn,"ENTITIES",!0),nG(n.r,gUn,"ENTITIESBase",!0),nG(n.t,IGn,kHn,!0),nG(n.u,tgt,"Float",!0),nG(n.v,oGn,"FloatObject",!0),nG(n.w,IGn,"GDay",!0),nG(n.B,IGn,"GMonth",!0),nG(n.A,IGn,"GMonthDay",!0),nG(n.C,IGn,"GYear",!0),nG(n.D,IGn,"GYearMonth",!0),nG(n.F,sM(Zdt,1),"HexBinary",!0),nG(n.G,IGn,"ID",!0),nG(n.H,IGn,"IDREF",!0),nG(n.J,gUn,"IDREFS",!0),nG(n.I,gUn,"IDREFSBase",!0),nG(n.K,Qdt,"Int",!0),nG(n.M,BGn,"Integer",!0),nG(n.L,hGn,"IntObject",!0),nG(n.P,IGn,"Language",!0),nG(n.Q,Ydt,"Long",!0),nG(n.R,gGn,"LongObject",!0),nG(n.S,IGn,"Name",!0),nG(n.T,IGn,yHn,!0),nG(n.U,BGn,"NegativeInteger",!0),nG(n.V,IGn,AHn,!0),nG(n.X,gUn,"NMTOKENS",!0),nG(n.W,gUn,"NMTOKENSBase",!0),nG(n.Y,BGn,"NonNegativeInteger",!0),nG(n.Z,BGn,"NonPositiveInteger",!0),nG(n.$,IGn,"NormalizedString",!0),nG(n._,IGn,"NOTATION",!0),nG(n.ab,IGn,"PositiveInteger",!0),nG(n.cb,IGn,"QName",!0),nG(n.db,egt,"Short",!0),nG(n.eb,mGn,"ShortObject",!0),nG(n.gb,IGn,jPn,!0),nG(n.hb,IGn,"Time",!0),nG(n.ib,IGn,"Token",!0),nG(n.jb,egt,"UnsignedByte",!0),nG(n.kb,mGn,"UnsignedByteObject",!0),nG(n.lb,Ydt,"UnsignedInt",!0),nG(n.mb,gGn,"UnsignedIntObject",!0),nG(n.nb,BGn,"UnsignedLong",!0),nG(n.ob,Qdt,"UnsignedShort",!0),nG(n.pb,hGn,"UnsignedShortObject",!0),$7(n,oHn),function(n){Bdn(n.a,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"anySimpleType"])),Bdn(n.b,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"anyType",yBn,vBn])),Bdn(YR(g2(sq(n.b),0),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,nHn,xFn,":mixed"])),Bdn(YR(g2(sq(n.b),1),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,nHn,aHn,uHn,xFn,":1",pHn,"lax"])),Bdn(YR(g2(sq(n.b),2),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,YBn,aHn,uHn,xFn,":2",pHn,"lax"])),Bdn(n.c,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"anyURI",cHn,tHn])),Bdn(n.d,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"base64Binary",cHn,tHn])),Bdn(n.e,kBn,o8(sM(IGn,1),USn,2,6,[xFn,fSn,cHn,tHn])),Bdn(n.f,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"boolean:Object",NBn,fSn])),Bdn(n.g,kBn,o8(sM(IGn,1),USn,2,6,[xFn,oBn])),Bdn(n.i,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"byte:Object",NBn,oBn])),Bdn(n.j,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"date",cHn,tHn])),Bdn(n.k,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"dateTime",cHn,tHn])),Bdn(n.n,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"decimal",cHn,tHn])),Bdn(n.o,kBn,o8(sM(IGn,1),USn,2,6,[xFn,sBn,cHn,tHn])),Bdn(n.p,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"double:Object",NBn,sBn])),Bdn(n.q,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"duration",cHn,tHn])),Bdn(n.s,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"ENTITIES",NBn,mHn,vHn,"1"])),Bdn(n.r,kBn,o8(sM(IGn,1),USn,2,6,[xFn,mHn,eHn,kHn])),Bdn(n.t,kBn,o8(sM(IGn,1),USn,2,6,[xFn,kHn,NBn,yHn])),Bdn(n.u,kBn,o8(sM(IGn,1),USn,2,6,[xFn,hBn,cHn,tHn])),Bdn(n.v,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"float:Object",NBn,hBn])),Bdn(n.w,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"gDay",cHn,tHn])),Bdn(n.B,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"gMonth",cHn,tHn])),Bdn(n.A,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"gMonthDay",cHn,tHn])),Bdn(n.C,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"gYear",cHn,tHn])),Bdn(n.D,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"gYearMonth",cHn,tHn])),Bdn(n.F,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"hexBinary",cHn,tHn])),Bdn(n.G,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"ID",NBn,yHn])),Bdn(n.H,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"IDREF",NBn,yHn])),Bdn(n.J,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"IDREFS",NBn,MHn,vHn,"1"])),Bdn(n.I,kBn,o8(sM(IGn,1),USn,2,6,[xFn,MHn,eHn,"IDREF"])),Bdn(n.K,kBn,o8(sM(IGn,1),USn,2,6,[xFn,fBn])),Bdn(n.M,kBn,o8(sM(IGn,1),USn,2,6,[xFn,THn])),Bdn(n.L,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"int:Object",NBn,fBn])),Bdn(n.P,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"language",NBn,jHn,EHn,SHn])),Bdn(n.Q,kBn,o8(sM(IGn,1),USn,2,6,[xFn,lBn])),Bdn(n.R,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"long:Object",NBn,lBn])),Bdn(n.S,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"Name",NBn,jHn,EHn,PHn])),Bdn(n.T,kBn,o8(sM(IGn,1),USn,2,6,[xFn,yHn,NBn,"Name",EHn,CHn])),Bdn(n.U,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"negativeInteger",NBn,IHn,OHn,"-1"])),Bdn(n.V,kBn,o8(sM(IGn,1),USn,2,6,[xFn,AHn,NBn,jHn,EHn,"\\c+"])),Bdn(n.X,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"NMTOKENS",NBn,LHn,vHn,"1"])),Bdn(n.W,kBn,o8(sM(IGn,1),USn,2,6,[xFn,LHn,eHn,AHn])),Bdn(n.Y,kBn,o8(sM(IGn,1),USn,2,6,[xFn,NHn,NBn,THn,$Hn,"0"])),Bdn(n.Z,kBn,o8(sM(IGn,1),USn,2,6,[xFn,IHn,NBn,THn,OHn,"0"])),Bdn(n.$,kBn,o8(sM(IGn,1),USn,2,6,[xFn,DHn,NBn,bSn,cHn,"replace"])),Bdn(n._,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"NOTATION",cHn,tHn])),Bdn(n.ab,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"positiveInteger",NBn,NHn,$Hn,"1"])),Bdn(n.bb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"processingInstruction_._type",yBn,"empty"])),Bdn(YR(g2(sq(n.bb),0),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,JBn,xFn,"data"])),Bdn(YR(g2(sq(n.bb),1),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,JBn,xFn,LFn])),Bdn(n.cb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"QName",cHn,tHn])),Bdn(n.db,kBn,o8(sM(IGn,1),USn,2,6,[xFn,bBn])),Bdn(n.eb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"short:Object",NBn,bBn])),Bdn(n.fb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"simpleAnyType",yBn,QBn])),Bdn(YR(g2(sq(n.fb),0),35),kBn,o8(sM(IGn,1),USn,2,6,[xFn,":3",yBn,QBn])),Bdn(YR(g2(sq(n.fb),1),35),kBn,o8(sM(IGn,1),USn,2,6,[xFn,":4",yBn,QBn])),Bdn(YR(g2(sq(n.fb),2),19),kBn,o8(sM(IGn,1),USn,2,6,[xFn,":5",yBn,QBn])),Bdn(n.gb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,bSn,cHn,"preserve"])),Bdn(n.hb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"time",cHn,tHn])),Bdn(n.ib,kBn,o8(sM(IGn,1),USn,2,6,[xFn,jHn,NBn,DHn,cHn,tHn])),Bdn(n.jb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,xHn,OHn,"255",$Hn,"0"])),Bdn(n.kb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"unsignedByte:Object",NBn,xHn])),Bdn(n.lb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,RHn,OHn,"4294967295",$Hn,"0"])),Bdn(n.mb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"unsignedInt:Object",NBn,RHn])),Bdn(n.nb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"unsignedLong",NBn,NHn,OHn,KHn,$Hn,"0"])),Bdn(n.ob,kBn,o8(sM(IGn,1),USn,2,6,[xFn,FHn,OHn,"65535",$Hn,"0"])),Bdn(n.pb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"unsignedShort:Object",NBn,FHn])),Bdn(n.qb,kBn,o8(sM(IGn,1),USn,2,6,[xFn,"",yBn,vBn])),Bdn(YR(g2(sq(n.qb),0),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,nHn,xFn,":mixed"])),Bdn(YR(g2(sq(n.qb),1),19),kBn,o8(sM(IGn,1),USn,2,6,[yBn,JBn,xFn,"xmlns:prefix"])),Bdn(YR(g2(sq(n.qb),2),19),kBn,o8(sM(IGn,1),USn,2,6,[yBn,JBn,xFn,"xsi:schemaLocation"])),Bdn(YR(g2(sq(n.qb),3),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,ZBn,xFn,"cDATA",iHn,rHn])),Bdn(YR(g2(sq(n.qb),4),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,ZBn,xFn,"comment",iHn,rHn])),Bdn(YR(g2(sq(n.qb),5),19),kBn,o8(sM(IGn,1),USn,2,6,[yBn,ZBn,xFn,_Hn,iHn,rHn])),Bdn(YR(g2(sq(n.qb),6),35),kBn,o8(sM(IGn,1),USn,2,6,[yBn,ZBn,xFn,fFn,iHn,rHn]))}(n))}(n),xU((FE(),gbt),n,new $h),uon(n),oz(ubt,oHn,n),n)}function cT(n){return n.e&&n.e()}function aT(n){return n.l|n.m<<22}function oT(n,t){return n.c._b(t)}function uT(n,t){return bnn(n.b,t)}function sT(n){return n?n.d:null}function hT(n){return Q$(n),n.o}function fT(n,t){return n.a+=t,n}function lT(n,t){return n.a+=t,n}function bT(n,t){return n.a+=t,n}function wT(n,t){return n.a+=t,n}function dT(n,t){for(;n.Bd(t););}function gT(n){this.a=new Hj(n)}function pT(){throw Nm(new iv)}function mT(){throw Nm(new iv)}function vT(){throw Nm(new iv)}function kT(){throw Nm(new iv)}function yT(){throw Nm(new iv)}function MT(){throw Nm(new iv)}function TT(n){this.a=new U_(n)}function jT(){this.a=new Dgn(Ytt)}function ET(){this.b=new Dgn(V7n)}function ST(){this.a=new Dgn(fit)}function PT(){this.b=new Dgn(Grt)}function CT(){this.b=new Dgn(Grt)}function IT(n){this.a=0,this.b=n}function OT(n){Ojn(),function(n,t){var e,i,r,c,a,o,u,s;if(e=0,a=0,c=t.length,o=null,s=new nM,a1?IV(t.a[0],t.a[1]):IV(t.a[0],0),VV(t.e>0?e:k1(e))))}(n,new yA(u));for(n.d=s.a.length,r=0;r0}(YR(n,27))?KN(i,($rn(),cat))||KN(i,aat):KN(i,($rn(),cat));if(hL(n,326))return KN(i,($rn(),iat));if(hL(n,193))return KN(i,($rn(),oat));if(hL(n,366))return KN(i,($rn(),rat))}return!0}(n,t)}function DT(n,t,e){n.splice(t,e)}function xT(n,t){for(;n.Re(t););}function RT(n){n.c?fmn(n):lmn(n)}function KT(){throw Nm(new iv)}function FT(){throw Nm(new iv)}function _T(){throw Nm(new iv)}function BT(){throw Nm(new iv)}function HT(){throw Nm(new iv)}function UT(){throw Nm(new iv)}function GT(){throw Nm(new iv)}function qT(){throw Nm(new iv)}function XT(){throw Nm(new iv)}function zT(){throw Nm(new iv)}function VT(n){this.a=new WT(n)}function WT(n){!function(n,t,e){var i;n.b=t,n.a=e,i=512&~n.a?new $f:new kk,n.c=function(n,t,e){var i,r,c;if(n.e=e,n.d=0,n.b=0,n.f=1,n.i=t,!(16&~n.e)&&(n.i=function(n){var t,e,i,r,c;for(i=n.length,t=new Yy,c=0;ct&&t0)){if(c=-1,32==cG(f.c,0)){if(l=h[0],s0(t,h),h[0]>l)continue}else if(Rq(t,f.c,h[0])){h[0]+=f.c.length;continue}return 0}if(c<0&&f.a&&(c=s,a=h[0],r=0),c>=0){if(u=f.b,s==c&&0==(u-=r++))return 0;if(!qjn(t,h,f,u,o)){s=c-1,h[0]=a;continue}}else if(c=-1,!qjn(t,h,f,0,o))return 0}return function(n,t){var i,r,c,a,o,u;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>kPn&&nQ(t,n.p-GPn),o=t.q.getDate(),IX(t,1),n.k>=0&&function(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),Ryn(n,e)}(t,n.k),n.c>=0?IX(t,n.c):n.k>=0?(r=35-new U8(t.q.getFullYear()-GPn,t.q.getMonth(),35).q.getDate(),IX(t,e.Math.min(r,o))):IX(t,o),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function(n,t){n.q.setHours(t),Ryn(n,t)}(t,24==n.f&&n.g?0:n.f),n.j>=0&&function(n,t){var e;e=n.q.getHours()+(t/60|0),n.q.setMinutes(t),Ryn(n,e)}(t,n.j),n.n>=0&&function(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),Ryn(n,e)}(t,n.n),n.i>=0&&AO(t,Ltn(Ntn(jun(m5(t.q.getTime()),OPn),OPn),n.i)),n.a&&(nQ(c=new Ij,c.q.getFullYear()-GPn-80),tS(m5(t.q.getTime()),m5(c.q.getTime()))&&nQ(t,c.q.getFullYear()-GPn+100)),n.d>=0)if(-1==n.c)(i=(7+n.d-t.q.getDay())%7)>3&&(i-=7),u=t.q.getMonth(),IX(t,t.q.getDate()+i),t.q.getMonth()!=u&&IX(t,t.q.getDate()+(i>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>kPn&&(a=t.q.getTimezoneOffset(),AO(t,Ltn(m5(t.q.getTime()),60*(n.o-a)*OPn))),!0}(o,i)?h[0]:0}(n,t,c=new U8((r=new Ij).q.getFullYear()-GPn,r.q.getMonth(),r.q.getDate())))||i0}function tS(n,t){return q7(n,t)<0}function eS(n,t){return VF(n.a,t)}function iS(n,t){XX.call(this,n,t)}function rS(n){NH(),Fx.call(this,n)}function cS(n,t){i_(n,n.length,t)}function aS(n,t){iH(n,n.length,t)}function oS(n,t){return n.a.get(t)}function uS(n,t){return TB(n.e,t)}function sS(n){return jU(n),!1}function hS(n){this.a=YR(CH(n),229)}function fS(n){Fz.call(this,n,21)}function lS(n,t){vj.call(this,n,t)}function bS(n,t){vj.call(this,n,t)}function wS(n,t){this.b=n,this.a=t}function dS(n,t){this.d=n,this.e=t}function gS(n,t){this.a=n,this.b=t}function pS(n,t){this.a=n,this.b=t}function mS(n,t){this.a=n,this.b=t}function vS(n,t){this.a=n,this.b=t}function kS(n,t){this.a=n,this.b=t}function yS(n,t){this.b=n,this.a=t}function MS(n,t){this.b=n,this.a=t}function TS(n,t){vj.call(this,n,t)}function jS(n,t){vj.call(this,n,t)}function ES(n,t){vj.call(this,n,t)}function SS(n,t){vj.call(this,n,t)}function PS(n,t){vj.call(this,n,t)}function CS(n,t){vj.call(this,n,t)}function IS(n,t){vj.call(this,n,t)}function OS(n,t){this.b=n,this.a=t}function AS(n,t){vj.call(this,n,t)}function LS(n,t){this.b=n,this.a=t}function NS(n,t){vj.call(this,n,t)}function $S(n,t){this.b=n,this.a=t}function DS(n,t){vj.call(this,n,t)}function xS(n,t){vj.call(this,n,t)}function RS(n,t){vj.call(this,n,t)}function KS(n,t,e){n.splice(t,0,e)}function FS(n,t){vj.call(this,n,t)}function _S(n,t){vj.call(this,n,t)}function BS(n,t){vj.call(this,n,t)}function HS(n,t){vj.call(this,n,t)}function US(n,t){vj.call(this,n,t)}function GS(n,t){vj.call(this,n,t)}function qS(n,t){this.a=n,this.b=t}function XS(n,t){this.a=n,this.b=t}function zS(n,t){this.a=n,this.b=t}function VS(n,t){this.a=n,this.b=t}function WS(n,t){this.a=n,this.b=t}function QS(n,t){this.a=n,this.b=t}function JS(n,t){this.b=n,this.a=t}function YS(n,t){this.b=n,this.a=t}function ZS(n,t){this.b=n,this.a=t}function nP(n,t){this.c=n,this.d=t}function tP(n,t){this.e=n,this.d=t}function eP(n,t){this.a=n,this.b=t}function iP(n,t){this.a=n,this.b=t}function rP(n,t){this.a=n,this.b=t}function cP(n,t){this.b=n,this.a=t}function aP(n,t){this.b=t,this.c=n}function oP(n,t){vj.call(this,n,t)}function uP(n,t){vj.call(this,n,t)}function sP(n,t){vj.call(this,n,t)}function hP(n,t){vj.call(this,n,t)}function fP(n,t){vj.call(this,n,t)}function lP(n,t){vj.call(this,n,t)}function bP(n,t){vj.call(this,n,t)}function wP(n,t){vj.call(this,n,t)}function dP(n,t){vj.call(this,n,t)}function gP(n,t){vj.call(this,n,t)}function pP(n,t){vj.call(this,n,t)}function mP(n,t){vj.call(this,n,t)}function vP(n,t){vj.call(this,n,t)}function kP(n,t){vj.call(this,n,t)}function yP(n,t){vj.call(this,n,t)}function MP(n,t){vj.call(this,n,t)}function TP(n,t){vj.call(this,n,t)}function jP(n,t){vj.call(this,n,t)}function EP(n,t){vj.call(this,n,t)}function SP(n,t){vj.call(this,n,t)}function PP(n,t){vj.call(this,n,t)}function CP(n,t){vj.call(this,n,t)}function IP(n,t){vj.call(this,n,t)}function OP(n,t){vj.call(this,n,t)}function AP(n,t){vj.call(this,n,t)}function LP(n,t){vj.call(this,n,t)}function NP(n,t){vj.call(this,n,t)}function $P(n,t){vj.call(this,n,t)}function DP(n,t){vj.call(this,n,t)}function xP(n,t){vj.call(this,n,t)}function RP(n,t){vj.call(this,n,t)}function KP(n,t){vj.call(this,n,t)}function FP(n,t){vj.call(this,n,t)}function _P(n,t){this.b=n,this.a=t}function BP(n,t){vj.call(this,n,t)}function HP(n,t){this.a=n,this.b=t}function UP(n,t){this.a=n,this.b=t}function GP(n,t){this.a=n,this.b=t}function qP(n,t){vj.call(this,n,t)}function XP(n,t){vj.call(this,n,t)}function zP(n,t){this.a=n,this.b=t}function VP(n){return Y$(n.a),n.b}function WP(n){return function(n,t){var e,i,r;for(e=new mw(n.a.a);e.a=0}function QI(n,t){return 0!=q7(n,t)}function JI(n,t){return function(n,t){for(CH(t);n.Ob();)if(!x5(YR(n.Pb(),10)))return!1;return!0}(n.Kc(),t)}function YI(n,t){return n.Rd().Xb(t)}function ZI(n){return een(n),n.d.gc()}function nO(n){return oF(null==n),n}function tO(n,t){return n.a+=""+t,n}function eO(n,t){return n.a+=""+t,n}function iO(n,t){return n.a+=""+t,n}function rO(n,t){return n.a+=""+t,n}function cO(n,t){return n.a+=""+t,n}function aO(n,t){return n.a+=""+t,n}function oO(n){return""+(jU(n),n)}function uO(n){IB(this),P6(this,n)}function sO(){nz(),f_.call(this)}function hO(n,t){H_.call(this,n,t)}function fO(n,t){H_.call(this,n,t)}function lO(n,t){H_.call(this,n,t)}function bO(n,t){kQ(n,t,n.c.b,n.c)}function wO(n,t){kQ(n,t,n.a,n.a.a)}function dO(n){return Rz(n,0),null}function gO(){this.b=0,this.a=!1}function pO(){this.b=0,this.a=!1}function mO(){this.b=new Hj(G0(12))}function vO(){vO=E,azn=d7(Arn())}function kO(){kO=E,DJn=d7(Ngn())}function yO(){yO=E,unt=d7(z6())}function MO(){MO=E,Vm(),xUn=new Mm}function TO(n){return n.a=0,n.b=0,n}function jO(n,t){return n.a=t.g+1,n}function EO(n,t){Ex.call(this,n,t)}function SO(n,t){$D.call(this,n,t)}function PO(n,t){_I.call(this,n,t)}function CO(n,t){XN.call(this,n,t)}function IO(n,t){S5.call(this,n,t)}function OO(n,t){qE(),xU(xlt,n,t)}function AO(n,t){n.q.setTime(VV(t))}function LO(n,t){return GI(n)===GI(t)}function NO(n,t){return n.a.a.a.cc(t)}function $O(n,t){return qq(n.a,0,t)}function DO(n){return function(n){return cq(),BX(Thn(n))==BX(Shn(n))}(YR(n,74))}function xO(n){return bX((jU(n),n))}function RO(n){return zA(n.l,n.m,n.h)}function KO(n,t){return qA(n.a,t.a)}function FO(n,t){return n.indexOf(t)}function _O(n,t){return n==t?0:n?1:-1}function BO(n){return n<10?"0"+n:""+n}function HO(n){return typeof n===lSn}function UO(n,t){return qA(n.g,t.g)}function GO(n){return y1(n.b.b,n,0)}function qO(){IF.call(this,0,0,0,0)}function XO(){jw.call(this,new vQ)}function zO(n,t){KZ(n,0,n.length,t)}function VO(n,t){return LL(n.a,t),t}function WO(n,t){return t5(n.a,t),n}function QO(n){this.a=QP(),this.b=n}function JO(n){this.a=QP(),this.b=n}function YO(n){this.a=n.a,this.b=n.b}function ZO(n){this.a=n,Rf.call(this)}function nA(n){this.a=n,Rf.call(this)}function tA(){yG.call(this,0,0,0,0)}function eA(n){return t5(new AU,n)}function iA(n){return VU(YR(n,123))}function rA(n){return n.vh()&&n.wh()}function cA(n){return n!=rht&&n!=cht}function aA(n){return n==zut||n==Vut}function oA(n){return n==Qut||n==Xut}function uA(n){return n==s8n||n==u8n}function sA(n,t){return new S5(t,n)}function hA(n){return function(n,t){return CH(n),CH(t),new wj(n,t)}(n.b.Kc(),n.a)}function fA(n,t){Z9(n,t),Q2(n,n.D)}function lA(n,t,e){X2(n,t),R2(n,e)}function bA(n,t,e){_2(n,t),F2(n,e)}function wA(n,t,e){B2(n,t),H2(n,e)}function dA(n,t,e){K2(n,t),G2(n,e)}function gA(n,t,e){U2(n,t),q2(n,e)}function pA(n,t,e){oD.call(this,n,t,e)}function mA(n){SI.call(this,n,!0)}function vA(){lS.call(this,"Tail",3)}function kA(){lS.call(this,"Head",1)}function yA(n){wvn(),I6.call(this,n)}function MA(n){IF.call(this,n,n,n,n)}function TA(n){n.c=eZ(hUn,ySn,1,0,5,1)}function jA(n){return n.b&&fMn(n),n.a}function EA(n){return n.b&&fMn(n),n.c}function SA(n,t){$D.call(this,n.b,t)}function PA(n,t,e){_H(n.c[t.g],t.g,e)}function CA(n,t,e){return _H(n,t,e),e}function IA(n){t2(n.Sf(),new Zw(n))}function OA(n){return null!=n?_4(n):0}function AA(n){QEn(),km.call(this,n)}function LA(n){this.a=n,GR.call(this,n)}function NA(){NA=E,e.Math.log(2)}function $A(){$A=E,HE(),nwt=qft}function DA(){DA=E,w7n=new Qtn(gst)}function xA(){xA=E,new RA,new Tm}function RA(){new Mm,new Mm,new Mm}function KA(n){this.a=n,Pj.call(this,n)}function FA(n){this.a=n,Pj.call(this,n)}function _A(n,t){LH(),this.a=n,this.b=t}function BA(n,t){ZF(n.c,n.c.length,t)}function HA(n){return n.at?1:0}function XA(n,t){return q7(n,t)>0?n:t}function zA(n,t,e){return{l:n,m:t,h:e}}function VA(n,t){null!=n.a&&AI(t,n.a)}function WA(n,t,e){return yin(t,e,n.c)}function QA(n,t,e){return function(n,t,e){var i,r,c,a,o,u,s,h;for(u=new Tm,o=new mw(t.a);o.a0),c=YR(s.a.Xb(s.c=--s.b),18);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,Y$(s.b>0),c=YR(s.a.Xb(s.c=--s.b),18);s.b>0&&uU(s)}}(n,t,e),e}function JA(n){Oq.call(this),this.b=n}function YA(n){JD.call(this),this.a=n}function ZA(){lS.call(this,"Range",2)}function nL(n){this.b=n,this.a=new Tm}function tL(n){this.b=new tt,this.a=n}function eL(n){n.a=new R,n.c=new R}function iL(n){n.a=new Mm,n.d=new Mm}function rL(n){lz(n,null),bz(n,null)}function cL(n,t){return function(n,t,e){var i,r,c,a,o,u,s,h,f;for(!e&&(e=function(n){var t;return(t=new y).a=n,t.b=function(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+i0(n))}(n),t.c=eZ(IGn,USn,2,2,6,1),t.c[0]=J4(n),t.c[1]=J4(n),t}(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),u=o=new fD(Ltn(m5(t.q.getTime()),r)),o.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,u=new fD(Ltn(m5(t.q.getTime()),r))),h=new nM,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw Nm(new Iy("Missing trailing '"));a+11)throw Nm(new Iy(hHn));for(h=rpn(n.e.Dh(),t),i=YR(n.g,124),a=0;a1||e>1)return 2;return t+e==1?2:0}(t)}function CL(n,t){return null!=n.a.Bc(t)}function IL(n,t){return n.a*t.a+n.b*t.b}function OL(n,t,e){n.a=1502^t,n.b=e^HCn}function AL(n,t){return n.a*=t,n.b*=t,n}function LL(n,t){return Fm(n.c,t),!0}function NL(n,t,e){return _H(n.g,t,e),e}function $L(n,t,e){MK.call(this,n,t,e)}function DL(n,t,e){$L.call(this,n,t,e)}function xL(n,t,e){TK.call(this,n,t,e)}function RL(n,t,e){TK.call(this,n,t,e)}function KL(n,t,e){xL.call(this,n,t,e)}function FL(n,t,e){$L.call(this,n,t,e)}function _L(n,t,e){DL.call(this,n,t,e)}function BL(n,t,e){MK.call(this,n,t,e)}function HL(n,t,e){MK.call(this,n,t,e)}function UL(n,t,e){BL.call(this,n,t,e)}function GL(n){n.j=eZ(vGn,USn,319,0,0,1)}function qL(){this.a=eZ(hUn,ySn,1,8,5,1)}function XL(){this.Bb|=256,this.Bb|=512}function zL(n){this.i=n,this.f=this.i.j}function VL(n){this.c=n,this.a=this.c.a}function WL(n,t){this.a=n,Pj.call(this,t)}function QL(n,t){return function(n,t,e){try{!function(n,t,e){if(CH(t),e.Ob())for(aO(t,wU(e.Pb()));e.Ob();)aO(t,n.a),aO(t,wU(e.Pb()))}(n,t,e)}catch(n){throw hL(n=z5(n),606)?Nm(new SJ(n)):Nm(n)}return t}(n,new Zy,t).a}function JL(n){if(!n)throw Nm(new nv)}function YL(n){if(!n)throw Nm(new tv)}function ZL(){(ZL=E)(),hqn=new _}function nN(){nN=E,VE(),Mwt=new Kl}function tN(){tN=E,rqn=new ay(null)}function eN(n){_q(n,KFn),bgn(n,function(n){var t,e,i,r,c;switch(_q(n,KFn),(!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b).i+(!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c).i){case 0:throw Nm(new Iy("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b).i?BX(Hsn(YR(g2((!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c),0),84))):BX(Hsn(YR(g2((!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b),0),84)))}if(1==(!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c).i){if(r=Hsn(YR(g2((!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b),0),84)),c=Hsn(YR(g2((!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c),0),84)),BX(r)==BX(c))return BX(r);if(r==BX(c))return r;if(c==BX(r))return c}for(t=Hsn(YR(TJ(i=SB(l3(o8(sM(wUn,1),ySn,20,0,[(!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b),(!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c)])))),84));Hwn(i);)if((e=Hsn(YR(TJ(i),84)))!=t&&!n2(e,t))if(BX(e)==BX(t))t=BX(e);else if(!(t=Rdn(t,e)))return null;return t}(n))}function iN(n){n.a=YR(h5(n.b.a,4),129)}function rN(n){n.a=YR(h5(n.b.a,4),129)}function cN(n){n.b.Qb(),--n.d.f.d,XF(n.d)}function aN(n){this.a=n,sb.call(this,n.d)}function oN(n,t){this.a=n,oM.call(this,t)}function uN(n,t){this.a=n,oM.call(this,t)}function sN(n,t){this.a=n,oM.call(this,t)}function hN(n,t){this.a=t,oM.call(this,n)}function fN(n,t){this.a=t,gQ.call(this,n)}function lN(n,t){this.a=n,gQ.call(this,t)}function bN(n,t){this.a=t,Cj.call(this,n)}function wN(n,t){this.a=t,Cj.call(this,n)}function dN(n,t){return CH(t),new bN(n,t)}function gN(n,t){return new sln(n.a,n.b,t)}function pN(n,t,e){return n.indexOf(t,e)}function mN(n,t){return n.lastIndexOf(t)}function vN(n){return null==n?ESn:Jtn(n)}function kN(n){iw.call(this,(jU(n),n))}function yN(n){iw.call(this,(jU(n),n))}function MN(n){tb.call(this,YR(CH(n),34))}function TN(n){tb.call(this,YR(CH(n),34))}function jN(n){jw.call(this,new hZ(n))}function EN(n){ww.call(this,n),this.a=n}function SN(n){bw.call(this,n),this.a=n}function PN(n){rM.call(this,n),this.a=n}function CN(){GL(this),BG(this),this.je()}function IN(n){this.a=n,lw.call(this,n)}function ON(n){return Y$(null!=n.a),n.a}function AN(n,t){return LL(t.a,n.a),n.a}function LN(n,t){return LL(t.b,n.a),n.a}function NN(n,t){return LL(t.a,n.a),n.a}function $N(n,t,e){return e5(n,t,t,e),n}function DN(n,t){return++n.b,LL(n.a,t)}function xN(n,t){return++n.b,p1(n.a,t)}function RN(n,t){return YR(KJ(n.b,t),15)}function KN(n,t){return!!t&&n.b[t.g]==t}function FN(n){return HA(n.a)||HA(n.b)}function _N(n){return n.$H||(n.$H=++Dqn)}function BN(n,t,e){return _W(n,t,e,n.c)}function HN(){TE(),this.b=new Wd(this)}function UN(){UN=E,uzn=new $D(ZIn,0)}function GN(){GN=E,QUn=!1,JUn=!0}function qN(n){var t;t=n.a,n.a=n.b,n.b=t}function XN(n,t){XE(),this.a=n,this.b=t}function zN(n,t){zE(),this.b=n,this.c=t}function VN(n,t){b_(),this.f=t,this.d=n}function WN(n,t){BJ(t,n),this.d=n,this.c=t}function QN(n,t){rrn.call(this,n,t,null)}function JN(n,t,e,i){X_.call(this,n,t,e,i)}function YN(n){this.d=n,zL.call(this,n)}function ZN(n){this.c=n,zL.call(this,n)}function n$(n){this.c=n,YN.call(this,n)}function t$(n){return L3(n,lPn),new gY(n)}function e$(n){return gq(),parseInt(n)||-1}function i$(n,t,e){return pN(n,nhn(t),e)}function r$(n,t){return new Dx(n,n.gc(),t)}function c$(n,t,e){n.fd(t).Rb(e)}function a$(n,t,e){YR($1(n,t),21).Fc(e)}function o$(n){hL(n,158)&&YR(n,158).pi()}function u$(n){iK.call(this,n,null,null)}function s$(n){Vj(),this.b=n,this.a=!0}function h$(n){Wj(),this.b=n,this.a=!0}function f$(n){return Y$(0!=n.b),n.a.a.c}function l$(n){return Y$(0!=n.b),n.c.b.c}function b$(n,t){return e5(n,t,t+1,""),n}function w$(n,t){return!!n.q&&TB(n.q,t)}function d$(n){return n.b=YR(UG(n.a),44)}function g$(n){return null!=n.f?n.f:""+n.g}function p$(n,t){return YR(e0(n.a,t),34)}function m$(n){n.d=new u$(n),n.e=new Mm}function v$(){this.a=new nX,this.b=new nX}function k$(n){this.c=n,this.a=1,this.b=1}function y$(n){yEn(),xm(this),this.Ff(n)}function M$(n,t,e){return n.a+=t,n.b+=e,n}function T$(n,t,e){return n.a*=t,n.b*=e,n}function j$(n,t){return n.a=t.a,n.b=t.b,n}function E$(n){return n.a=-n.a,n.b=-n.b,n}function S$(n,t,e){return n.a-=t,n.b-=e,n}function P$(n){qj.call(this),I3(this,n)}function C$(){vj.call(this,"GROW_TREE",0)}function I$(){vj.call(this,"POLYOMINO",0)}function O$(n,t,e){jZ.call(this,n,t,e,2)}function A$(n,t){XE(),XN.call(this,n,t)}function L$(n,t){zE(),zN.call(this,n,t)}function N$(n,t){zE(),L$.call(this,n,t)}function $$(n,t){zE(),zN.call(this,n,t)}function D$(n){this.c=n,B2(n,0),H2(n,0)}function x$(n,t){$A(),BF.call(this,n,t)}function R$(n,t){$A(),x$.call(this,n,t)}function K$(n,t){$A(),x$.call(this,n,t)}function F$(n,t){$A(),BF.call(this,n,t)}function _$(n,t){$A(),K$.call(this,n,t)}function B$(n,t){$A(),F$.call(this,n,t)}function H$(n,t){$A(),BF.call(this,n,t)}function U$(n,t,e){return RMn(O1(n,t),e)}function G$(n,t){return z7(n.e,YR(t,54))}function q$(n){return null==n?null:function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d;if(nyn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=eZ(Wdt,IPn,28,4*(0!=(o=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,u=0;u>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,w=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,d=-128&(i=n[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,c[a++]=ldt[b],c[a++]=ldt[w|s<<4],c[a++]=ldt[h<<2|d],c[a++]=ldt[63&i];return 8==o?(s=(3&(t=n[r]))<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,c[a++]=ldt[b],c[a++]=ldt[s<<4],c[a++]=61,c[a++]=61):16==o&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,w=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,c[a++]=ldt[b],c[a++]=ldt[w|s<<4],c[a++]=ldt[h<<2],c[a++]=61),Lin(c,0,c.length)}(n)}function X$(n){return null==n?null:function(n){var t,e,i,r;if(gmn(),null==n)return null;for(i=n.length,t=eZ(Wdt,IPn,28,2*i,15,1),e=0;e>4],t[2*e+1]=wdt[15&r];return Lin(t,0,t.length)}(n)}function z$(n){return oF(null==n||XI(n)),n}function V$(n){return oF(null==n||zI(n)),n}function W$(n){return oF(null==n||qI(n)),n}function Q$(n){null==n.o&&function(n){if(n.ze()){var t=n.c;return t.Ae()?n.o="["+t.n:t.ze()?n.o="["+t.xe():n.o="[L"+t.xe()+";",n.b=t.we()+"[]",void(n.k=t.ye()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=Ein(".",[e,Ein("$",i)]),n.b=Ein(".",[e,Ein(".",i)]),n.k=i[i.length-1]}(n)}function J$(n){if(!n)throw Nm(new nv)}function Y$(n){if(!n)throw Nm(new av)}function Z$(n){if(!n)throw Nm(new tv)}function nD(n){if(!n)throw Nm(new rv)}function tD(){tD=E,$lt=new rk,new ck}function eD(){eD=E,Htt=new Yp("root")}function iD(){z3.call(this),this.Bb|=TCn}function rD(n,t){this.d=n,Jb(this),this.b=t}function cD(n,t){uZ.call(this,n),this.a=t}function aD(n,t){uZ.call(this,n),this.a=t}function oD(n,t,e){fY.call(this,n,t,e,null)}function uD(n,t,e){fY.call(this,n,t,e,null)}function sD(n,t){this.c=n,sj.call(this,n,t)}function hD(n,t){this.a=n,sD.call(this,n,t)}function fD(n){this.q=new e.Date(VV(n))}function lD(n){return n>8?0:n+1}function bD(n,t){Cqn||LL(n.a,t)}function wD(n,t){return YR(e0(n.b,t),143)}function dD(n,t){return YR(e0(n.c,t),233)}function gD(n){return YR(wF(n.a,n.b),294)}function pD(n){return new xC(n.c,n.d+n.a)}function mD(n){return jU(n),n?1231:1237}function vD(n){return iz(),uA(YR(n,203))}function kD(){kD=E,ozn=mtn((fin(),zht))}function yD(n,t){t.a?function(n,t){var e,i,r;if(!DB(n.a,t.b))throw Nm(new Oy("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=n.a.a.ec().Kc();i.Ob();)if(e=YR(i.Pb(),68),y8(t.b,e))FM(n.b.a,t.b,e),r=!0;else if(r)break}(n,t):CL(n.a,t.b)}function MD(n,t,e){++n.j,n.tj(),iZ(n,t,e)}function TD(n,t,e){++n.j,n.qj(t,n.Zi(t,e))}function jD(n,t,e){n.fd(t).Rb(e)}function ED(n,t,e){return bkn(n,t,6,e)}function SD(n,t,e){return bkn(n,t,3,e)}function PD(n,t,e){return bkn(n,t,9,e)}function CD(n,t){return _q(t,qIn),n.f=t,n}function ID(n,t){return(t&dSn)%n.d.length}function OD(n,t,e){return bMn(n.c,n.b,t,e)}function AD(n,t){this.c=n,o2.call(this,t)}function LD(n,t){this.a=n,am.call(this,t)}function ND(n,t){this.a=n,am.call(this,t)}function $D(n,t){Yp.call(this,n),this.a=t}function DD(n,t){fm.call(this,n),this.a=t}function xD(n,t){fm.call(this,n),this.a=t}function RD(n){Nen.call(this,0,0),this.f=n}function KD(n,t,e){return n.a+=Lin(t,0,e),n}function FD(n){return!n.a&&(n.a=new M),n.a}function _D(n,t){var e;return e=n.e,n.e=t,e}function BD(n,t){var e;return e=t,!!n.Fe(e)}function HD(n,t){n.a.bd(n.b,t),++n.b,n.c=-1}function UD(n){n.b?UD(n.b):n.f.c.zc(n.e,n.d)}function GD(n){IB(n.e),n.d.b=n.d,n.d.a=n.d}function qD(n,t,e){return KB(n,YR(t,22),e)}function XD(n,t){return hM(new Array(t),n)}function zD(n){return String.fromCharCode(n)}function VD(n,t){n[FCn].call(n,t)}function WD(n,t,e,i){IF.call(this,n,t,e,i)}function QD(){ox.call(this),this.a=new VM}function JD(){this.n=new VM,this.o=new VM}function YD(){this.b=new VM,this.c=new Tm}function ZD(){this.a=new Tm,this.b=new Tm}function nx(){this.a=new lt,this.b=new hv}function tx(){this.b=new vQ,this.a=new vQ}function ex(){this.b=new gv,this.a=new gv}function ix(){this.b=new Mm,this.a=new Mm}function rx(){this.b=new ET,this.a=new Ma}function cx(){this.a=new ul,this.b=new oc}function ax(){this.a=new Tm,this.d=new Tm}function ox(){this.n=new Wv,this.i=new tA}function ux(n){this.a=(L3(n,lPn),new gY(n))}function sx(n){this.a=(L3(n,lPn),new gY(n))}function hx(n,t){return null==xU(n.a,t,"")}function fx(n,t){return n.a+=t.a,n.b+=t.b,n}function lx(n,t){return n.a-=t.a,n.b-=t.b,n}function bx(n,t,e){return bkn(n,t,11,e)}function wx(n,t,e,i){oB.call(this,n,t,e,i)}function dx(n,t,e,i){oB.call(this,n,t,e,i)}function gx(n,t,e,i){dx.call(this,n,t,e,i)}function px(n,t,e,i){hB.call(this,n,t,e,i)}function mx(n,t,e,i){hB.call(this,n,t,e,i)}function vx(n,t,e,i){hB.call(this,n,t,e,i)}function kx(n,t,e,i){mx.call(this,n,t,e,i)}function yx(n,t,e,i){mx.call(this,n,t,e,i)}function Mx(n,t,e,i){vx.call(this,n,t,e,i)}function Tx(n,t,e,i){yx.call(this,n,t,e,i)}function jx(n,t,e,i){gB.call(this,n,t,e,i)}function Ex(n,t){Ey.call(this,R_n+n+UFn+t)}function Sx(n,t){return n.jk().wi().ri(n,t)}function Px(n,t){return n.jk().wi().ti(n,t)}function Cx(n,t){return jU(n),GI(n)===GI(t)}function Ix(n,t){return jU(n),GI(n)===GI(t)}function Ox(n,t){return n.b.Bd(new vS(n,t))}function Ax(n,t,e){return n.lastIndexOf(t,e)}function Lx(n){return n.c?y1(n.c.a,n,0):-1}function Nx(n){return n==nht||n==eht||n==tht}function $x(n,t){this.c=n,UB.call(this,n,t)}function Dx(n,t,e){this.a=n,WN.call(this,t,e)}function xx(n){this.c=n,lO.call(this,VSn,0)}function Rx(n,t,e){this.c=t,this.b=e,this.a=n}function Kx(n){MR(),this.d=n,this.a=new qL}function Fx(n){cR(),this.a=(iq(),new rM(n))}function _x(n,t){ZR.call(this,n,n.length,t)}function Bx(n,t){return hL(t,15)&&ymn(n.c,t)}function Hx(n,t,e){return YR(n.c,71).Xk(t,e)}function Ux(n,t,e){return function(n,t,e){return t.Al(n.e,n.c,e)}(n,YR(t,343),e)}function Gx(n,t,e){return function(n,t,e){var i,r,c;return i=t.Lk(),c=t.md(),r=i.Jk()?xq(n,4,i,c,null,Hyn(n,i,c,hL(i,102)&&!!(YR(i,19).Bb&TCn)),!0):xq(n,i.tk()?2:1,i,c,i.ik(),-1,!0),e?e.nj(r):e=r,e}(n,YR(t,343),e)}function qx(n,t){return null==t?null:dnn(n.b,t)}function Xx(n){return zI(n)?(jU(n),n):n.ue()}function zx(n){return!isNaN(n)&&!isFinite(n)}function Vx(n){eL(this),GG(this),V4(this,n)}function Wx(n){TA(this),cK(this.c,0,n.Pc())}function Qx(n,t,e){this.a=n,this.b=t,this.c=e}function Jx(n,t,e){this.a=n,this.b=t,this.c=e}function Yx(n,t,e){this.d=n,this.b=e,this.a=t}function Zx(n){this.a=n,Xj(),m5(Date.now())}function nR(n){uU(n.a),rZ(n.c,n.b),n.b=null}function tR(){tR=E,eqn=new K,iqn=new F}function eR(){eR=E,Alt=eZ(hUn,ySn,1,0,5,1)}function iR(){iR=E,Hbt=eZ(hUn,ySn,1,0,5,1)}function rR(){rR=E,Ubt=eZ(hUn,ySn,1,0,5,1)}function cR(){cR=E,new Um((iq(),iq(),HGn))}function aR(n,t){if(!n)throw Nm(new Iy(t))}function oR(n){if(!n)throw Nm(new Oy(TSn))}function uR(n,t){if(n!=t)throw Nm(new rv)}function sR(n,t,e){this.a=n,this.b=t,this.c=e}function hR(n,t,e){this.a=n,this.b=t,this.c=e}function fR(n,t,e){this.a=n,this.b=t,this.c=e}function lR(n,t,e){this.b=n,this.a=t,this.c=e}function bR(n,t,e){this.b=n,this.c=t,this.a=e}function wR(n,t,e){this.a=n,this.b=t,this.c=e}function dR(n,t,e){this.e=t,this.b=n,this.d=e}function gR(n,t,e){this.b=n,this.a=t,this.c=e}function pR(n){var t;return(t=new yn).e=n,t}function mR(n){var t;return(t=new Av).b=n,t}function vR(){vR=E,CQn=new $e,IQn=new De}function kR(){kR=E,XJn=new ui,qJn=new si}function yR(){yR=E,ZJn=new mr,nYn=new vr}function MR(){MR=E,Djn(),H9n=xht,U9n=ght}function TR(){TR=E,lft=new ZK,bft=new lB}function jR(n){return!n.e&&(n.e=new Tm),n.e}function ER(n,t){this.c=n,this.a=t,this.b=t-n}function SR(n,t,e){this.a=n,this.b=t,this.c=e}function PR(n,t,e){this.a=n,this.b=t,this.c=e}function CR(n,t,e){this.a=n,this.b=t,this.c=e}function IR(n,t,e){this.a=n,this.b=t,this.c=e}function OR(n,t,e){this.a=n,this.b=t,this.c=e}function AR(n,t,e){this.a=n,this.b=t,this.c=e}function LR(n,t,e){this.e=n,this.a=t,this.c=e}function NR(n,t,e){$A(),eX.call(this,n,t,e)}function $R(n,t,e){$A(),rU.call(this,n,t,e)}function DR(n,t,e){$A(),rU.call(this,n,t,e)}function xR(n,t,e){$A(),rU.call(this,n,t,e)}function RR(n,t,e){$A(),$R.call(this,n,t,e)}function KR(n,t,e){$A(),$R.call(this,n,t,e)}function FR(n,t,e){$A(),KR.call(this,n,t,e)}function _R(n,t,e){$A(),DR.call(this,n,t,e)}function BR(n,t,e){$A(),xR.call(this,n,t,e)}function HR(n){IF.call(this,n.d,n.c,n.a,n.b)}function UR(n){IF.call(this,n.d,n.c,n.a,n.b)}function GR(n){this.d=n,Jb(this),this.b=function(n){return hL(n,15)?YR(n,15).ed():n.Kc()}(n.d)}function qR(n,t){return CH(n),CH(t),new ij(n,t)}function XR(n,t){return CH(n),CH(t),new LK(n,t)}function zR(n){return Y$(0!=n.b),a2(n,n.a.a)}function VR(n){return Y$(0!=n.b),a2(n,n.c.b)}function WR(n){var t;return t0(t=new Tm,n),t}function QR(n){var t;return F4(t=new mv,n),t}function JR(n){var t;return F4(t=new qj,n),t}function YR(n,t){return oF(null==n||fcn(n,t)),n}function ZR(n,t,e){B_.call(this,t,e),this.a=n}function nK(n,t){this.c=n,this.b=t,this.a=!1}function tK(){this.a=";,;",this.b="",this.c=""}function eK(n,t,e){this.b=n,hO.call(this,t,e)}function iK(n,t,e){this.c=n,dS.call(this,t,e)}function rK(n,t,e){nP.call(this,n,t),this.b=e}function cK(n,t,e){iwn(e,0,n,t,e.length,!1)}function aK(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function oK(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function uK(n,t){if(!n)throw Nm(new Iy(t))}function sK(n,t){if(!n)throw Nm(new Oy(t))}function hK(n,t){if(!n)throw Nm(new Sy(t))}function fK(n,t){return t&&hU(n,t.d)?t:null}function lK(n){return o5(function(n){return zA(~n.l&oCn,~n.m&oCn,~n.h&uCn)}(HO(n)?k5(n):n))}function bK(n){return new xC(n.c+n.b,n.d+n.a)}function wK(n){return null!=n&&!cen(n,Qlt,Jlt)}function dK(n,t){return(Onn(n)<<4|Onn(t))&APn}function gK(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function pK(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function mK(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function vK(n,t){return n.g=t<0?-1:t,n}function kK(n,t){return function(n){var t;(t=e.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=t,n.b/=t)}(n),n.a*=t,n.b*=t,n}function yK(n,t,e){r2.call(this,t,e),this.d=n}function MK(n,t,e){BI.call(this,n,t),this.c=e}function TK(n,t,e){BI.call(this,n,t),this.c=e}function jK(n){rR(),ps.call(this),this.ci(n)}function EK(){bY(),aU.call(this,(GE(),ubt))}function SK(n){return QEn(),new _F(0,n)}function PK(){PK=E,iq(),jwt=new dw(uHn)}function CK(){CK=E,new ycn((Lk(),mUn),(Ak(),pUn))}function IK(){IK=E,uGn=eZ(hGn,USn,17,256,0,1)}function OK(){this.b=vy(V$(Urn((Akn(),xVn))))}function AK(n){this.b=n,this.a=P_(this.b.a).Od()}function LK(n,t){this.b=n,this.a=t,Rf.call(this)}function NK(n,t){this.a=n,this.b=t,Rf.call(this)}function $K(n,t,e){this.a=n,PO.call(this,t,e)}function DK(n,t,e){this.a=n,PO.call(this,t,e)}function xK(n,t,e){K0(n,t,new IH(e))}function RK(n,t,e){var i;return i=n[t],n[t]=e,i}function KK(n){return RZ(n.slice(),n)}function FK(n){var t;return t=n.n,n.a.b+t.d+t.a}function _K(n){var t;return t=n.n,n.e.b+t.d+t.a}function BK(n){var t;return t=n.n,n.e.a+t.b+t.c}function HK(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function UK(n,t){return kQ(n,t,n.c.b,n.c),!0}function GK(n,t){return cun(n,new nP(t.a,t.b))}function qK(n){return n.b.c.length-n.e.c.length}function XK(n){return n.e.c.length-n.g.c.length}function zK(n){return n.e.c.length+n.g.c.length}function VK(n){return 0==n||isNaN(n)?n:n<0?-1:1}function WK(n,t,e){!function(n,t,e,i,r){var c,a,o,u,s,h,f,l,b,w,d,g;null==(w=KH(n.e,i))&&(s=YR(w=new ny,190),u=new IH(t+"_s"+r),K0(s,jFn,u)),zH(e,b=YR(w,190)),fq(g=new ny,"x",i.j),fq(g,"y",i.k),K0(b,PFn,g),fq(f=new ny,"x",i.b),fq(f,"y",i.c),K0(b,"endPoint",f),!QT((!i.a&&(i.a=new $L(Yft,i,5)),i.a))&&(c=new Kp(h=new Pb),JQ((!i.a&&(i.a=new $L(Yft,i,5)),i.a),c),K0(b,pFn,h)),!!xcn(i)&&ohn(n.a,b,vFn,uln(n,xcn(i))),!!Rcn(i)&&ohn(n.a,b,mFn,uln(n,Rcn(i))),!(0==(!i.e&&(i.e=new Mx(ilt,i,10,9)),i.e).i)&&(a=new TI(n,l=new Pb),JQ((!i.e&&(i.e=new Mx(ilt,i,10,9)),i.e),a),K0(b,yFn,l)),0!=(!i.g&&(i.g=new Mx(ilt,i,9,10)),i.g).i&&(o=new jI(n,d=new Pb),JQ((!i.g&&(i.g=new Mx(ilt,i,9,10)),i.g),o),K0(b,kFn,d))}(n.a,n.b,n.c,YR(t,166),e)}function QK(n,t,e,i){xin.call(this,n,t,e,i,0,0)}function JK(n){rR(),jK.call(this,n),this.a=-1}function YK(n,t){B_.call(this,t,1040),this.a=n}function ZK(){tI.call(this,"COUNT_CHILDREN",0)}function nF(n,t){FI.call(this,n,t),this.a=this}function tF(n,t){var e;return(e=PH(n,t)).i=2,e}function eF(n,t){return++n.j,n.Cj(t)}function iF(n,t,e){return n.a=-1,a$(n,t.g,e),n}function rF(n){return M2(),eZ(ont,UDn,40,n,0,1)}function cF(n){return n.e.Rd().gc()*n.c.Rd().gc()}function aF(n,t,e){return new Rx(function(n){return 0>=n?new Jj:function(n){return 0>n?new Jj:new aD(null,new cJ(n+1,n))}(n-1)}(n)._e(),e,t)}function oF(n){if(!n)throw Nm(new Cy(null))}function uF(n){if(n.c.e!=n.a)throw Nm(new rv)}function sF(n){if(n.e.c!=n.b)throw Nm(new rv)}function hF(n){for(CH(n);n.Ob();)n.Pb(),n.Qb()}function fF(n){LH(),this.a=(iq(),new dw(CH(n)))}function lF(n){this.c=n,this.b=this.c.d.vc().Kc()}function bF(n,t){return n.a+=Lin(t,0,t.length),n}function wF(n,t){return Rz(t,n.c.length),n.c[t]}function dF(n,t){return Rz(t,n.a.length),n.a[t]}function gF(n,t,e,i,r,c){return Kun(n,t,e,i,r,0,c)}function pF(n,t){return function(n,t){return Yin(Ltn(Yin(n.a).a,t.a))}(YR(n,168),YR(t,168))}function mF(){mF=E,fGn=eZ(gGn,USn,168,256,0,1)}function vF(){vF=E,pGn=eZ(mGn,USn,191,256,0,1)}function kF(){kF=E,tGn=eZ(iGn,USn,222,256,0,1)}function yF(){yF=E,rGn=eZ(cGn,USn,180,128,0,1)}function MF(){aK(this,!1,!1,!1,!1)}function TF(n){jw.call(this,new vQ),V4(this,n)}function jF(n){this.a=new Hj(n.gc()),V4(this,n)}function EF(n){this.c=n,this.a=new Gj(this.c.a)}function SF(n){this.a=n,this.c=new Mm,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),zA(i&oCn,r&oCn,c&uCn)}(HO(n)?k5(n):n,t))}function R_(n,t){return function(n,t){return GN(),n==t?0:n?1:-1}((jU(n),n),(jU(t),t))}function K_(n,t){return dtn((jU(n),n),(jU(t),t))}function F_(n){this.b=new gY(11),this.a=(eq(),n)}function __(n){this.a=(w_(),MUn),this.d=YR(CH(n),51)}function B_(n,t){this.c=0,this.d=n,this.b=64|t|GSn}function H_(n,t){this.e=n,this.d=64&t?t|GSn:t}function U_(n){this.b=null,this.a=(eq(),n||XGn)}function G_(n){GL(this),this.g=n,BG(this),this.je()}function q_(n){QE(),this.a=0,this.b=n-1,this.c=1}function X_(n,t,e,i){this.a=n,fY.call(this,n,t,e,i)}function z_(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function V_(n,t){if(n<0||n>=t)throw Nm(new Uv)}function W_(n,t){return Tnn(n,(jU(t),new Aw(t)))}function Q_(n,t){return Tnn(n,(jU(t),new Lw(t)))}function J_(n,t,e){return function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m;if(i=t,u=e,n.b&&i.j==(Djn(),xht)&&u.j==(Djn(),xht)&&(m=i,i=u,u=m),TB(n.a,i)){if(Kj(YR(KH(n.a,i),49),u))return 1}else xU(n.a,i,new gv);if(TB(n.a,u)){if(Kj(YR(KH(n.a,u),49),i))return-1}else xU(n.a,u,new gv);if(TB(n.d,i)){if(Kj(YR(KH(n.d,i),49),u))return-1}else xU(n.d,i,new gv);if(TB(n.d,u)){if(Kj(YR(KH(n.a,u),49),i))return 1}else xU(n.d,u,new gv);if(i.j!=u.j)return-1==(p=function(n,t){return qA(n.g,t.g)}(i.j,u.j))?vvn(n,u,i):vvn(n,i,u),p;if(0!=i.e.c.length&&0!=u.e.c.length){if(n.b&&0!=(p=m7(i,u)))return-1==p?vvn(n,u,i):1==p&&vvn(n,i,u),p;if((c=YR(wF(i.e,0),18).c.i)==(h=YR(wF(u.e,0),18).c.i))return(r=YR(phn(YR(wF(i.e,0),18),(XEn(),Y1n)),17).a)>(s=YR(phn(YR(wF(u.e,0),18),Y1n),17).a)?vvn(n,i,u):vvn(n,u,i),rs?1:0;for(d=0,g=(w=n.c).length;d(s=YR(phn(l,Y1n),17).a)?vvn(n,i,u):vvn(n,u,i),rs?1:0):n.b&&0!=(p=m7(i,u))?(-1==p?vvn(n,u,i):1==p&&vvn(n,i,u),p):(a=0,f=0,w$(YR(wF(i.g,0),18),Y1n)&&(a=YR(phn(YR(wF(i.g,0),18),Y1n),17).a),w$(YR(wF(u.g,0),18),Y1n)&&(f=YR(phn(YR(wF(i.g,0),18),Y1n),17).a),o&&o==l?my(z$(phn(YR(wF(i.g,0),18),l0n)))&&!my(z$(phn(YR(wF(u.g,0),18),l0n)))?(vvn(n,i,u),1):!my(z$(phn(YR(wF(i.g,0),18),l0n)))&&my(z$(phn(YR(wF(u.g,0),18),l0n)))?(vvn(n,u,i),-1):(a>f?vvn(n,i,u):vvn(n,u,i),af?1:0):(n.f&&(n.f._b(o)&&(a=YR(n.f.xc(o),17).a),n.f._b(l)&&(f=YR(n.f.xc(l),17).a)),a>f?vvn(n,i,u):vvn(n,u,i),af?1:0))):0!=i.e.c.length&&0!=u.g.c.length?(vvn(n,i,u),1):0!=i.g.c.length&&0!=u.e.c.length?(vvn(n,u,i),-1):w$(i,(XEn(),Y1n))&&w$(u,Y1n)?((r=YR(phn(i,Y1n),17).a)>(s=YR(phn(u,Y1n),17).a)?vvn(n,i,u):vvn(n,u,i),rs?1:0):(vvn(n,u,i),-1)}(n,YR(t,12),YR(e,12))}function Y_(n){return j6(),0!=YR(n,12).g.c.length}function Z_(n){return j6(),0!=YR(n,12).e.c.length}function nB(n,t){t.Ug("General 'Rotator",1),function(n){var t,i,r,c,a,o,u,s,h,f,l,b,w;for(l=vy(V$(ldn(n,(kfn(),Het)))),my(z$(ldn(n,_et)))&&(f=YR(ldn(n,(eD(),Htt)),27),a=YR(g2(QU(YR(g2((!f.e&&(f.e=new Mx(elt,f,7,4)),f.e),(!f.e&&(f.e=new Mx(elt,f,7,4)),f.e).i-1),74)),0),27),r=YR(g2(QU(YR(g2((!f.e&&(f.e=new Mx(elt,f,7,4)),f.e),0),74)),0),27),o=new xC(a.i+a.g/2,a.j+a.f/2),c=new xC(r.i+r.g/2,r.j+r.f/2),(i=l)<=0&&(i+=oxn),(b=e.Math.acos((o.a*c.a+o.b*c.b)/(e.Math.sqrt(o.a*o.a+o.b*o.b)*e.Math.sqrt(c.a*c.a+c.b*c.b))))<=0&&(b+=oxn),(t=e.Math.atan2(o.b,o.a))<=0&&(t+=oxn),l=DDn-(t-i+b/2)),s=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));s.e!=s.i.gc();)w=(h=new xC((u=YR(Grn(s),27)).i+u.g/2,u.j+u.f/2)).a*e.Math.cos(l)-h.b*e.Math.sin(l),h.b=h.a*e.Math.sin(l)+h.b*e.Math.cos(l),h.a=w,wA(u,h.a-u.g/2,h.b-u.f/2)}(n)}function tB(n,t,e){return Ypn(),N6(n,t)&&N6(n,e)}function eB(n){return bbn(),!n.Hc(hht)&&!n.Hc(lht)}function iB(n){return n.e?aY(n.e):null}function rB(n){return HO(n)?""+n:vmn(n)}function cB(n){var t;for(t=n;t.f;)t=t.f;return t}function aB(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function oB(n,t,e,i){$L.call(this,n,t,e),this.b=i}function uB(n,t,e,i,r){EZ.call(this,n,t,e,i,r,-1)}function sB(n,t,e,i,r){SZ.call(this,n,t,e,i,r,-1)}function hB(n,t,e,i){MK.call(this,n,t,e),this.b=i}function fB(n){SI.call(this,n,!1),this.a=!1}function lB(){tI.call(this,"LOOKAHEAD_LAYOUT",1)}function bB(n){this.b=n,YN.call(this,n),iN(this)}function wB(n){this.b=n,n$.call(this,n),rN(this)}function dB(n,t,e){this.a=n,wx.call(this,t,e,5,6)}function gB(n,t,e,i){this.b=n,$L.call(this,t,e,i)}function pB(n,t){this.b=n,sb.call(this,n.b),this.a=t}function mB(n){this.a=pcn(n.a),this.b=new Wx(n.b)}function vB(n,t){LH(),Mj.call(this,n,ann(new Fy(t)))}function kB(n,t){return QEn(),new iU(n,t,0)}function yB(n,t){return QEn(),new iU(6,n,t)}function MB(n,t){for(jU(t);n.Ob();)t.Cd(n.Pb())}function TB(n,t){return qI(t)?kq(n,t):!!QF(n.f,t)}function jB(n,t){return t.Vh()?z7(n.b,YR(t,54)):t}function EB(n,t){return Ix(n.substr(0,t.length),t)}function SB(n){return new __(new hN(n.a.length,n.a))}function PB(n){return new xC(n.c+n.b/2,n.d+n.a/2)}function CB(n){return typeof n===hSn||typeof n===wSn}function IB(n){n.f=new QO(n),n.i=new JO(n),++n.g}function OB(n){if(!n)throw Nm(new av);return n.d}function AB(n){var t;return Y$(null!=(t=z8(n))),t}function LB(n){var t;return Y$(null!=(t=function(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,_H(n.a,n.c,null),t)}(n))),t}function NB(n,t){var e;return BJ(t,e=n.a.gc()),e-t}function $B(n,t){return null==n.a.zc(t,n)}function DB(n,t){return null==n.a.zc(t,(GN(),QUn))}function xB(n){return new CF(null,function(n,t){return function(n,t){if(0>n||n>t)throw Nm(new eM("fromIndex: 0, toIndex: "+n+XCn+t))}(t,n.length),new YK(n,t)}(n,n.length))}function RB(n,t,e){return LMn(n,YR(t,42),YR(e,176))}function KB(n,t,e){return T4(n.a,t),RK(n.b,t.g,e)}function FB(n,t,e,i){Y9(t,e,n.length),function(n,t,e,i){var r;for(r=t;r0?1:0}function QB(n,t){yL(n,hL(t,160)?t:YR(t,2036).Rl())}function JB(n,t){if(null==n)throw Nm(new Ly(t))}function YB(n,t){return!!t&&V4(n,t)}function ZB(n){return 0==n.e?n:new BB(-n.e,n.d,n.a)}function nH(n,t){kQ(n.d,t,n.b.b,n.b),++n.a,n.c=null}function tH(n,t){return n.c?tH(n.c,t):LL(n.b,t),n}function eH(n,t,e){var i;return i=r0(n,t),uQ(n,t,e),i}function iH(n,t,e){var i;for(i=0;i0?(Crn(n,e,0),e.a+=String.fromCharCode(i),Crn(n,e,r=nrn(t,c)),c+=r-1):39==i?c+1=n.g}function _H(n,t,e){return function(n){if(!n)throw Nm(new Ym)}(null==e||function(n,t){var e;switch(h0(n)){case 6:return qI(t);case 7:return zI(t);case 8:return XI(t);case 3:return Array.isArray(t)&&!((e=h0(t))>=14&&e<=16);case 11:return null!=t&&typeof t===wSn;case 12:return null!=t&&(typeof t===hSn||typeof t==wSn);case 0:return fcn(t,n.__elementTypeId$);case 2:return CB(t)&&!(t.Tm===j);case 1:return CB(t)&&!(t.Tm===j)||fcn(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function BH(n,t){return Kz(t,n.length+1),n.substr(t)}function HH(n,t){for(jU(t);n.c0;)n=n<<1|(n<0?1:0);return n}function GU(n,t){var e;return e=new qH(n),Fm(t.c,e),e}function qU(n,t){n.u.Hc((bbn(),hht))&&function(n,t){var i,r,c,a;for(i=(a=YR(zU(n.b,t),127)).a,c=YR(YR(KJ(n.r,t),21),87).Kc();c.Ob();)(r=YR(c.Pb(),117)).c&&(i.a=e.Math.max(i.a,BK(r.c)));if(i.a>0)switch(t.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}(n,t),function(n,t){var e;n.C&&((e=YR(zU(n.b,t),127).n).d=n.C.d,e.a=n.C.a)}(n,t)}function XU(n,t){return GI(n)===GI(t)||null!=n&&Snn(n,t)}function zU(n,t){return VF(n.a,t)?n.b[YR(t,22).g]:null}function VU(n){return!n.n&&(n.n=new oB(ult,n,1,7)),n.n}function WU(n){return!n.c&&(n.c=new oB(hlt,n,9,9)),n.c}function QU(n){return!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c}function JU(n){return n.j.c.length=0,bG(n.c),function(n){fv(n.j.c,0),n.a=-1}(n.a),n}function YU(n){return n.e==sHn&&function(n,t){n.e=t}(n,function(n,t){var e,i;return(e=t.qi(n.a))&&null!=(i=W$(Zen((!e.b&&(e.b=new O$((YEn(),Kbt),hwt,e)),e.b),xFn)))?i:t.xe()}(n.g,n.b)),n.e}function ZU(n){return n.f==sHn&&function(n,t){n.f=t}(n,function(n,t){var e,i;return(e=t.qi(n.a))?(i=W$(Zen((!e.b&&(e.b=new O$((YEn(),Kbt),hwt,e)),e.b),iHn)),Ix(rHn,i)?I_(n,f2(t.qk())):i):null}(n.g,n.b)),n.f}function nG(n,t,e,i){return b5(n,t,e,!1),Nnn(n,i),n}function tG(n,t){this.b=n,UB.call(this,n,t),iN(this)}function eG(n,t){this.b=n,$x.call(this,n,t),rN(this)}function iG(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function rG(n,t){this.b=n,this.c=t,this.a=new Gj(this.b)}function cG(n,t){return Kz(t,n.length),n.charCodeAt(t)}function aG(n,t){Etn(n,vy(Z2(t,"x")),vy(Z2(t,"y")))}function oG(n,t){Etn(n,vy(Z2(t,"x")),vy(Z2(t,"y")))}function uG(n,t){return ktn(n),new CF(n,new c1(t,n.a))}function sG(n,t){return ktn(n),new CF(n,new WJ(t,n.a))}function hG(n,t){return ktn(n),new cD(n,new zJ(t,n.a))}function fG(n,t){return ktn(n),new aD(n,new VJ(t,n.a))}function lG(n,t,e){e.a?H2(n,t.b-n.f/2):B2(n,t.a-n.g/2)}function bG(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function wG(n){var t;return!(t=n.b)&&(n.b=t=new Ql(n)),t}function dG(n){return function(n){var t;return hL(t=phn(n,(XEn(),Z1n)),167)?Een(YR(t,167)):null}(n)||null}function gG(n,t){var e,i;return(e=n/t)>(i=bX(e))&&++i,i}function pG(n,t,i){(function(n,t){var e,i,r,c;for(function(n){var t;for(t=0;t0&&lun(this)}function XG(n,t){this.a=n,rD.call(this,n,YR(n.d,15).fd(t))}function zG(n,t){return n.b=t.b,n.c=t.c,n.d=t.d,n.a=t.a,n}function VG(n,t,e,i){this.b=n,this.c=i,lO.call(this,t,e)}function WG(n){return n.f||(n.f=new sj(n,n.c))}function QG(n,t){return lnn(n.j,t.s,t.c)+lnn(t.e,n.s,n.c)}function JG(n,t){n.e&&!n.e.a&&(Pm(n.e,t),JG(n.e,t))}function YG(n,t){n.d&&!n.d.a&&(Pm(n.d,t),YG(n.d,t))}function ZG(){Jhn(this,new Rl),this.wb=($H(),mbt),eT()}function nq(n){this.b=new Tm,Y5(this.b,this.b),this.a=n}function tq(n,t){new qj,this.a=new ik,this.b=n,this.c=t}function eq(){eq=E,XGn=new N,zGn=new N,VGn=new $}function iq(){iq=E,HGn=new C,UGn=new O,GGn=new A}function rq(){rq=E,Fqn=new dn,Bqn=new h_,_qn=new gn}function cq(){cq=E,tVn=new Tm,nVn=new Mm,Zzn=new Tm}function aq(n,t){if(null==n)throw Nm(new Ly(t));return n}function oq(n){return!n.a&&(n.a=new oB(slt,n,10,11)),n.a}function uq(n){return!n.q&&(n.q=new oB(bbt,n,11,10)),n.q}function sq(n){return!n.s&&(n.s=new oB(ibt,n,21,17)),n.s}function hq(n){return CH(n),can(new __(dN(n.a.Kc(),new h)))}function fq(n,t,e){K0(n,t,new Eb(Xx(e)))}function lq(n,t,e,i,r,c){SZ.call(this,n,t,e,i,r,c?-2:-1)}function bq(n,t,e,i){BI.call(this,t,e),this.b=n,this.a=i}function wq(n,t){_k.call(this,new U_(n)),this.a=n,this.b=t}function dq(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function gq(){var n,t;gq=E,t=!(Error.stackTraceLimit>0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),n=new v,DUn=t?new m:n}function pq(n){return iq(),hL(n,59)?new aM(n):new EN(n)}function mq(n){return hL(n,16)?new jF(YR(n,16)):function(n){var t;return t0(t=new gv,n),t}(n.Kc())}function vq(n){return n&&n.hashCode?n.hashCode():_N(n)}function kq(n,t){return null==t?!!QF(n.f,null):function(n,t){return!(void 0===n.a.get(t))}(n.i,t)}function yq(n,t){var e;return(e=kL(n.a,t))&&(t.d=null),e}function Mq(n,t,e){return!!n.f&&n.f.ef(t,e)}function Tq(n,t,e,i){_H(n.c[t.g],e.g,i),_H(n.c[e.g],t.g,i)}function jq(n,t,e,i){_H(n.c[t.g],t.g,e),_H(n.b[t.g],t.g,i)}function Eq(n,t){this.g=n,this.d=o8(sM(lQn,1),YAn,10,0,[t])}function Sq(n){this.c=n,this.b=new TT(YR(CH(new pn),50))}function Pq(n){this.c=n,this.b=new TT(YR(CH(new jt),50))}function Cq(n){this.b=n,this.a=new TT(YR(CH(new nt),50))}function Iq(){this.b=new gv,this.d=new qj,this.e=new Gv}function Oq(){this.c=new VM,this.d=new VM,this.e=new VM}function Aq(){this.a=new ik,this.b=(L3(3,lPn),new gY(3))}function Lq(n,t){this.e=n,this.a=hUn,this.b=Jmn(t),this.c=t}function Nq(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function $q(n,t,e,i,r,c){this.a=n,X3.call(this,t,e,i,r,c)}function Dq(n,t,e,i,r,c){this.a=n,X3.call(this,t,e,i,r,c)}function xq(n,t,e,i,r,c,a){return new wQ(n.e,t,e,i,r,c,a)}function Rq(n,t,e){return e>=0&&Ix(n.substr(e,t.length),t)}function Kq(n,t){return hL(t,149)&&Ix(n.b,YR(t,149).Pg())}function Fq(n,t){var e;return EQ(e=n.b.Qc(t),n.b.gc()),e}function _q(n,t){if(null==n)throw Nm(new Ly(t));return n}function Bq(n){return n.u||(lJ(n),n.u=new LD(n,n)),n.u}function Hq(n){this.a=(iq(),hL(n,59)?new aM(n):new EN(n))}function Uq(n){return YR(h5(n,16),29)||n.ii()}function Gq(n,t){var e;return e=hT(n.Rm),null==t?e:e+": "+t}function qq(n,t,e){return oZ(t,e,n.length),n.substr(t,e-t)}function Xq(n,t){ox.call(this),m2(this),this.a=n,this.c=t}function zq(n){Qy(),e.setTimeout((function(){throw n}),0)}function Vq(n,t,e,i){return e>=0?n.Uh(t,e,i):n.Ch(null,e,i)}function Wq(n){return 0==n.b.b?n.a.sf():zR(n.b)}function Qq(n){return GI(n.a)===GI((M6(),Xbt))&&function(n){var t,e,i,r,c,a,o,u,s,h;for(t=new ys,e=new ys,s=Ix(vBn,(r=kkn(n.b,kBn))?W$(Zen((!r.b&&(r.b=new O$((YEn(),Kbt),hwt,r)),r.b),yBn)):null),u=0;u0&&n.b>0&&(n.g=OF(n.c,n.b,n.a))}function Yq(n,t){n.c=t,n.c>0&&n.b>0&&(n.g=OF(n.c,n.b,n.a))}function Zq(n,t){(function(n,t){n.a=t})(this,new xC(n.a,n.b)),function(n,t){n.b=t}(this,JR(t))}function nX(){Bk.call(this,new Hj(G0(12))),JL(!0),this.a=2}function tX(n,t,e){QEn(),km.call(this,n),this.b=t,this.a=e}function eX(n,t,e){$A(),lm.call(this,t),this.a=n,this.b=e}function iX(n){var t;t=n.c.d.b,n.b=t,n.a=n.c.d,t.a=n.c.d.b=n}function rX(n){return 0==n.b?null:(Y$(0!=n.b),a2(n,n.a.a))}function cX(n,t){return null==t?UI(QF(n.f,null)):oS(n.i,t)}function aX(n,t,e,i,r){return new Efn(n,(BZ(),wqn),t,e,i,r)}function oX(n,t){return oQ(t),function(n,t,i){var r;return r=n.length,iwn(n,0,t,0,e.Math.min(i,r),!0),t}(n,eZ(Qdt,qPn,28,t,15,1),t)}function uX(n,t){return aq(n,"set1"),aq(t,"set2"),new Tj(n,t)}function sX(n,t){var e;return QTn(n,t,e=new B),e.d}function hX(n,t,e,i){var r;r=new QD,t.a[e.g]=r,KB(n.b,i,r)}function fX(n,t){return fx(E$(function(n,t){return lx(aL(YR(KH(n.g,t),8)),oL(YR(KH(n.f,t),470).b))}(n.f,t)),n.f.d)}function lX(n){(function(n){var t;for(t=new mw(Xan(n));t.a>16!=3?null:YR(n.Cb,27)}function kX(n){return n.Db>>16!=9?null:YR(n.Cb,27)}function yX(n){return n.Db>>16!=6?null:YR(n.Cb,74)}function MX(){MX=E,K7n=new aC(UIn,0),F7n=new aC(GIn,1)}function TX(){TX=E,a7n=new qP(GIn,0),c7n=new qP(UIn,1)}function jX(){jX=E,s7n=new XP(tOn,0),h7n=new XP("UP",1)}function EX(){EX=E,SUn=d7((ey(),o8(sM(PUn,1),bPn,549,0,[jUn])))}function SX(n){var t;return q8(t=new gT(G0(n.length)),n),t}function PX(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function CX(n,t){if(null==t)throw Nm(new ev);return function(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(F8(),GUn)[typeof e];return r?r(e):I7(typeof e)}(n,t)}function IX(n,t){var e;e=n.q.getHours(),n.q.setDate(t),Ryn(n,e)}function OX(n,t,e){var i;(i=n.Ih(t))>=0?n.bi(i,e):ign(n,t,e)}function AX(n,t){var e;return(e=n.Ih(t))>=0?n.Wh(e):Nbn(n,t)}function LX(n,t){var e;for(CH(t),e=n.a;e;e=e.c)t.Yd(e.g,e.i)}function NX(n,t,e){var i;i=Z8(n,t,e),n.b=new D4(i.c.length)}function $X(n,t,e){YX(),n&&xU(Clt,n,t),n&&xU(Plt,n,e)}function DX(n,t){return e.Math.abs(n)>16!=7?null:YR(n.Cb,241)}function FX(n){return n.Db>>16!=6?null:YR(n.Cb,241)}function _X(n){return n.Db>>16!=7?null:YR(n.Cb,167)}function BX(n){return n.Db>>16!=11?null:YR(n.Cb,27)}function HX(n){return n.Db>>16!=17?null:YR(n.Cb,29)}function UX(n){return n.Db>>16!=3?null:YR(n.Cb,155)}function GX(n){return ktn(n),uG(n,new qw(new gv))}function qX(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.ve(t))}function XX(n,t){GL(this),this.f=t,this.g=n,BG(this),this.je()}function zX(n,t){this.a=n,this.c=aL(this.a),this.b=new Nq(t)}function VX(n,t,e){this.a=t,this.c=n,this.b=(CH(e),new Wx(e))}function WX(n,t,e){this.a=t,this.c=n,this.b=(CH(e),new Wx(e))}function QX(n){this.a=n,this.b=eZ(G9n,USn,2043,n.e.length,0,2)}function JX(){this.a=new XO,this.e=new gv,this.g=0,this.i=0}function YX(){var n,t;YX=E,Clt=new Mm,Plt=new Mm,n=YGn,t=new fs,n&&xU(Plt,n,t)}function ZX(){ZX=E,v9n=v_(new AU,(mhn(),MWn),(VEn(),EJn))}function nz(){nz=E,k9n=v_(new AU,(mhn(),MWn),(VEn(),EJn))}function tz(){tz=E,M9n=v_(new AU,(mhn(),MWn),(VEn(),EJn))}function ez(){ez=E,Q9n=iF(new AU,(mhn(),MWn),(VEn(),JQn))}function iz(){iz=E,t7n=iF(new AU,(mhn(),MWn),(VEn(),JQn))}function rz(){rz=E,r7n=iF(new AU,(mhn(),MWn),(VEn(),JQn))}function cz(){cz=E,b7n=iF(new AU,(mhn(),MWn),(VEn(),JQn))}function az(n,t,e,i,r,c){return new x1(n.e,t,n.Lj(),e,i,r,c)}function oz(n,t,e){return null==t?Cln(n.f,null,e):ytn(n.i,t,e)}function uz(n,t){n.c&&p1(n.c.g,n),n.c=t,n.c&&LL(n.c.g,n)}function sz(n,t){n.c&&p1(n.c.a,n),n.c=t,n.c&&LL(n.c.a,n)}function hz(n,t){n.i&&p1(n.i.j,n),n.i=t,n.i&&LL(n.i.j,n)}function fz(n,t){n.d&&p1(n.d.e,n),n.d=t,n.d&&LL(n.d.e,n)}function lz(n,t){n.a&&p1(n.a.k,n),n.a=t,n.a&&LL(n.a.k,n)}function bz(n,t){n.b&&p1(n.b.f,n),n.b=t,n.b&&LL(n.b.f,n)}function wz(n,t){(function(n,t,e){YR(t.b,68),t2(t.a,new CR(n,e,t))})(n,n.b,n.c),YR(n.b.b,68),t&&YR(t.b,68).b}function dz(n,t){hL(n.Cb,184)&&(YR(n.Cb,184).tb=null),U4(n,t)}function gz(n,t){hL(n.Cb,90)&&qln(lJ(YR(n.Cb,90)),4),U4(n,t)}function pz(n){var t;return eT(),l2(t=new Sm,n),t}function mz(n){var t;return eT(),l2(t=new Sm,n),t}function vz(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function kz(n,t,e){return LL(n.a,(FU(),Zcn(t,e),new mj(t,e))),n}function yz(n,t){return WE(),Y1(t)?new nF(t,n):new FI(t,n)}function Mz(n){return wvn(),q7(n,0)>=0?ein(n):ZB(ein(k1(n)))}function Tz(n,t){var e;return(e=YR(dnn(WG(n.a),t),16))?e.gc():0}function jz(n,t,e){var i;Cnn(t,e,n.c.length),i=e-t,DT(n.c,t,i)}function Ez(n,t,e){Cnn(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function Sz(n){this.c=new qj,this.b=n.b,this.d=n.c,this.a=n.a}function Pz(n){this.a=e.Math.cos(n),this.b=e.Math.sin(n)}function Cz(n,t,e,i){this.c=n,this.d=i,lz(this,t),bz(this,e)}function Iz(n,t){Fk.call(this,new Hj(G0(n))),L3(t,HSn),this.a=t}function Oz(n,t,e){return new Efn(n,(BZ(),bqn),null,!1,t,e)}function Az(n,t,e){return new Efn(n,(BZ(),dqn),t,e,null,!1)}function Lz(n){return n9(o8(sM(Tat,1),USn,8,0,[n.i.n,n.n,n.a]))}function Nz(){Nz=E,Ktt=v_(new AU,(yon(),G7n),(Nvn(),J7n))}function $z(){$z=E,Dtt=new fC("DFS",0),$tt=new fC("BFS",1)}function Dz(n,t,e){var i;(i=new ia).b=t,i.a=e,++t.b,LL(n.d,i)}function xz(n,t){if(n<0||n>t)throw Nm(new Ey(aIn+n+oIn+t))}function Rz(n,t){if(n<0||n>=t)throw Nm(new Ey(aIn+n+oIn+t))}function Kz(n,t){if(n<0||n>=t)throw Nm(new tM(aIn+n+oIn+t))}function Fz(n,t){this.b=(jU(n),n),this.a=t&kCn?t:64|t|GSn}function _z(n){return ktn(n),eq(),eq(),W0(n,zGn)}function Bz(n){return CH(n),hL(n,16)?new Wx(YR(n,16)):WR(n.Kc())}function Hz(n,t){return n&&n.equals?n.equals(t):GI(n)===GI(t)}function Uz(n,t){return o5(function(n,t){return zA(n.l&t.l,n.m&t.m,n.h&t.h)}(HO(n)?k5(n):n,HO(t)?k5(t):t))}function Gz(n,t){return o5(function(n,t){return zA(n.l|t.l,n.m|t.m,n.h|t.h)}(HO(n)?k5(n):n,HO(t)?k5(t):t))}function qz(n,t){return o5(function(n,t){return zA(n.l^t.l,n.m^t.m,n.h^t.h)}(HO(n)?k5(n):n,HO(t)?k5(t):t))}function Xz(n,t){var e,i;return i=NB(n,t),e=n.a.fd(i),new kj(n,e)}function zz(n){return Y$(n.a0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function _V(n){return Y$(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function BV(n,t){var e;n.e=new Ik,BA(e=Fpn(t),n.c),omn(n,e,0)}function HV(n,t,e,i){var r;(r=new gu).a=t,r.b=e,r.c=i,UK(n.a,r)}function UV(n,t,e,i){var r;(r=new gu).a=t,r.b=e,r.c=i,UK(n.b,r)}function GV(n,t,e){if(n<0||te)throw Nm(new Ey(function(n,t,e){return n<0||n>e?$ln(n,e,"start index"):t<0||t>e?$ln(t,e,"end index"):Wmn("end index (%s) must not be less than start index (%s)",o8(sM(hUn,1),ySn,1,5,[onn(t),onn(n)]))}(n,t,e)))}function qV(n,t){if(n<0||n>=t)throw Nm(new Ey(function(n,t){if(n<0)return Wmn(kSn,o8(sM(hUn,1),ySn,1,5,["index",onn(n)]));if(t<0)throw Nm(new Iy(MSn+t));return Wmn("%s (%s) must be less than size (%s)",o8(sM(hUn,1),ySn,1,5,["index",onn(n),onn(t)]))}(n,t)));return n}function XV(n){return TE(),hL(n.g,10)?YR(n.g,10):null}function zV(n){return!wG(n).dc()&&(function(n,t){CH(t),wG(n).Jc(new b)}(n,new w),!0)}function VV(n){var t;return HO(n)?-0==(t=n)?0:t:function(n){return Zon(n,(J1(),WUn))<0?-function(n){return n.l+n.m*hCn+n.h*fCn}(C8(n)):n.l+n.m*hCn+n.h*fCn}(n)}function WV(n,t){return!!hL(t,44)&&Man(n.a,YR(t,44))}function QV(n,t){return!!hL(t,44)&&Man(n.a,YR(t,44))}function JV(n,t){return!!hL(t,44)&&Man(n.a,YR(t,44))}function YV(n){var t;return mU(n),t=new D,xT(n.a,new Hw(t)),t}function ZV(){var n,t;return n=new Sm,LL(lwt,t=n),t}function nW(n){var t;return mU(n),t=new x,xT(n.a,new Uw(t)),t}function tW(n){o6.call(this,n,(BZ(),lqn),null,!1,null,!1)}function eW(){eW=E,Dzn=d7((bE(),o8(sM(eVn,1),bPn,489,0,[Nzn])))}function iW(){iW=E,I9n=KU(onn(1),onn(4)),C9n=KU(onn(1),onn(2))}function rW(n){return new gY((L3(n,dPn),U0(Ltn(Ltn(5,n),n/10|0))))}function cW(n){return YR(jrn(n,eZ(SQn,ZAn,12,n.c.length,0,1)),2042)}function aW(n,t){(function(n,t){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;if(v=0,0==t.f.a)for(p=new mw(n);p.a2e3&&(FUn=n,_Un=e.setTimeout(YT,10)),0==KUn++&&(function(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=_fn(t,e)}while(n.a);n.a=e}}((ry(),$Un)),!0)}();try{return function(n,t,e){return n.apply(t,e)}(n,t,i)}finally{!function(n){n&&function(n){var t,e;if(n.b){e=null;do{t=n.b,n.b=null,e=_fn(t,e)}while(n.b);n.b=e}}((ry(),$Un)),--KUn,n&&-1!=_Un&&(function(n){e.clearTimeout(n)}(_Un),_Un=-1)}(r)}}function hW(n,t){var e,i;return i=null,(e=CX(n,t))&&(i=e.pe()),i}function fW(n,t){var e,i;return i=null,(e=CX(n,t))&&(i=e.se()),i}function lW(n,t){var e,i;return i=null,(e=r0(n,t))&&(i=e.se()),i}function bW(n,t){var e,i;return i=null,(e=CX(n,t))&&(i=Wfn(e)),i}function wW(n,t,e){this.d=new dg(this),this.e=n,this.i=t,this.f=e}function dW(n,t,e,i){this.e=null,this.c=n,this.d=t,this.a=e,this.b=i}function gW(n,t,e,i){iL(this),this.c=n,this.e=t,this.f=e,this.b=i}function pW(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function mW(n,t,e,i){return hL(e,59)?new JN(n,t,e,i):new X_(n,t,e,i)}function vW(n){return hL(n,16)?YR(n,16).dc():!n.Kc().Ob()}function kW(n){if(n.e.g!=n.b)throw Nm(new rv);return!!n.c&&n.d>0}function yW(n){return Y$(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function MW(n,t){jU(t),_H(n.a,n.c,t),n.c=n.c+1&n.a.length-1,non(n)}function TW(n,t){jU(t),n.b=n.b-1&n.a.length-1,_H(n.a,n.b,t),non(n)}function jW(n){var t;t=n.Gh(),this.a=hL(t,71)?YR(t,71).Ii():t.Kc()}function EW(n){return new Fz(function(n,t){var e,i;for(iq(),i=new Tm,e=0;e0&&oyn(n.g,0,t,0,n.i),t}function FW(n,t){var e;for(e=n.j.c.length;en.c));a++)r.a>=n.s&&(c<0&&(c=a),o=a);return u=(n.s+n.c)/2,c>=0&&(u=function(n){return(n.c+n.a)/2}((Rz(i=function(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w;if(c=e,e=e&&(i=t,c=(u=(o.c+o.a)/2)-e,o.c<=u-e&&n_(n,i++,new ER(o.c,c)),(a=u+e)<=o.a&&(r=new ER(a,o.a),xz(i,n.c.length),KS(n.c,i,r)))}(t,i,e)),u}(r,e,i))),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new Cz((vY(),I7n),t,c,1),new Cz(I7n,c,a,1),r=new mw(e);r.a"+tV(n.d):"e_"+_N(n)}function JQ(n,t){var e,i;for(jU(t),i=n.Kc();i.Ob();)e=i.Pb(),t.Cd(e)}function YQ(n,t){var e;for(e=t;e;)M$(n,-e.i,-e.j),e=BX(e);return n}function ZQ(n,t){var e,i;for(e=t,i=0;e>0;)i+=n.a[e],e-=e&-e;return i}function nJ(n,t,e){var i;return Rz(t,n.c.length),i=n.c[t],n.c[t]=e,i}function tJ(n,t,i){n.a.c.length=0,function(n,t,i){var r,c,a,o,u,s,h,f,l;n.c=0,n.b=0,r=2*t.c.a.c.length+1;n:for(h=i.Kc();h.Ob();){if(l=0,o=(s=YR(h.Pb(),12)).j==(Djn(),pht)||s.j==$ht){if(!(f=YR(phn(s,(XEn(),o0n)),10)))continue;l+=Cmn(n,r,s,f)}else{for(u=new mw(s.g);u.a0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=e.Math.min(n.c,n.f[s.p]),n.b=e.Math.max(n.b,n.f[s.p])):o&&(n.f[s.p]=l)}}(n,t,i),0==n.a.c.length||function(n,t){var e,i,r,c,a,o,u,s,h,f;for(s=n.e[t.c.p][t.p]+1,u=t.c.a.c.length+1,o=new mw(n.a);o.a0?jpn(n,t):vin(n,-t)}function EJ(n,t){return 0==t||0==n.e?n:t>0?vin(n,t):jpn(n,-t)}function SJ(n){iS.call(this,null==n?ESn:Jtn(n),hL(n,82)?YR(n,82):null)}function PJ(n){var t;return n.c||hL(t=n.r,90)&&(n.c=YR(t,29)),n.c}function CJ(n){var t;return M5(t=new Aq,n),L8(t,(NEn(),u6n),null),t}function IJ(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(Zhn(),oQn)&&e.k==oQn}function OJ(n){return zA(n&oCn,n>>22&oCn,n<0?uCn:0)}function AJ(n,t){var e,i;(e=YR(function(n,t){CH(n);try{return n.Bc(t)}catch(n){if(hL(n=z5(n),212)||hL(n,169))return null;throw Nm(n)}}(n.c,t),16))&&(i=e.gc(),e.$b(),n.d-=i)}function LJ(n,t,e){var i;return(i=n.Ih(t))>=0?n.Lh(i,e,!0):qbn(n,t,e)}function NJ(n,t){n._i(n.i+1),NL(n,n.i,n.Zi(n.i,t)),n.Mi(n.i++,t),n.Ni()}function $J(n){var t,e;++n.j,t=n.g,e=n.i,n.g=null,n.i=0,n.Oi(e,t),n.Ni()}function DJ(n,t,e){var i;P6(i=new wL(n.a),n.a.a),Cln(i.f,t,e),n.a.a=i}function xJ(n,t,e,i){var r;for(r=0;rt)throw Nm(new Ey($ln(n,t,"index")));return n}function HJ(n,t){var e;return Rz(t,n.c.length),e=n.c[t],DT(n.c,t,1),e}function UJ(n,t){var e,i;return jU(n),e=n,jU(t),e==(i=t)?0:en.d[r.p]&&(e+=ZQ(n.b,i)*YR(a.b,17).a,TW(n.a,onn(i)));for(;!Hy(n.a);)o0(n.b,YR(AB(n.a),17).a)}return e}(n,e)}function cY(n){var t;return 0==(t=n.b).b?null:YR(Zrn(t,0),65).b}function aY(n){return n.a?n.e?aY(n.e):null:n}function oY(n){var t;return n.a||hL(t=n.r,156)&&(n.a=YR(t,156)),n.a}function uY(n,t){return!!TB(n.a,t)&&(XJ(n.a,t),!0)}function sY(n,t,e){return qV(t,n.e.Rd().gc()),qV(e,n.c.Rd().gc()),n.a[t][e]}function hY(n,t,e){this.a=n,this.b=t,this.c=e,LL(n.t,this),LL(t.i,this)}function fY(n,t,e,i){this.f=n,this.e=t,this.d=e,this.b=i,this.c=i?i.d:null}function lY(){this.b=new qj,this.a=new qj,this.b=new qj,this.a=new qj}function bY(){var n,t;bY=E,eT(),t=new sv,mwt=t,n=new sk,vwt=n}function wY(n){var t;for(mU(n),t=0;n.a.Bd(new hn);)t=Ltn(t,1);return t}function dY(n,t){return jU(t),n.c=0,"Initial capacity must not be negative")}function pY(){pY=E,kat=new Yp("org.eclipse.elk.labels.labelManager")}function mY(){mY=E,KJn=new $D("separateLayerConnections",(u8(),HJn))}function vY(){vY=E,O7n=new cC("REGULAR",0),I7n=new cC("CRITICAL",1)}function kY(){kY=E,Qrt=new SC("FIXED",0),Wrt=new SC("CENTER_NODE",1)}function yY(){yY=E,UYn=new hP("QUADRATIC",0),GYn=new hP("SCANLINE",1)}function MY(){MY=E,JYn=d7((D3(),o8(sM(tZn,1),bPn,322,0,[VYn,zYn,WYn])))}function TY(){TY=E,eZn=d7((v3(),o8(sM(uZn,1),bPn,351,0,[YYn,nZn,ZYn])))}function jY(){jY=E,TYn=d7((p4(),o8(sM(LYn,1),bPn,372,0,[yYn,kYn,vYn])))}function EY(){EY=E,mZn=d7((K8(),o8(sM(EZn,1),bPn,460,0,[dZn,wZn,gZn])))}function SY(){SY=E,s1n=d7((O5(),o8(sM(b1n,1),bPn,299,0,[a1n,o1n,c1n])))}function PY(){PY=E,w1n=d7((W1(),o8(sM(p1n,1),bPn,311,0,[f1n,l1n,h1n])))}function CY(){CY=E,o8n=d7((Z7(),o8(sM(l8n,1),bPn,390,0,[i8n,r8n,c8n])))}function IY(){IY=E,Y8n=d7((H6(),o8(sM(e9n,1),bPn,387,0,[V8n,W8n,Q8n])))}function OY(){OY=E,i9n=d7((S9(),o8(sM(o9n,1),bPn,349,0,[t9n,Z8n,n9n])))}function AY(){AY=E,z8n=d7((k3(),o8(sM(J8n,1),bPn,463,0,[q8n,U8n,G8n])))}function LY(){LY=E,u9n=d7((o7(),o8(sM(l9n,1),bPn,350,0,[r9n,c9n,a9n])))}function NY(){NY=E,b9n=d7((m3(),o8(sM(p9n,1),bPn,352,0,[f9n,s9n,h9n])))}function $Y(){$Y=E,m9n=d7((f8(),o8(sM(A9n,1),bPn,388,0,[d9n,g9n,w9n])))}function DY(){DY=E,bnt=d7((P9(),o8(sM(Ltt,1),bPn,392,0,[fnt,hnt,snt])))}function xY(){xY=E,uet=d7((a7(),o8(sM(Qet,1),bPn,393,0,[ret,cet,aet])))}function RY(){RY=E,eit=d7((B6(),o8(sM(ait,1),bPn,300,0,[Zet,nit,Yet])))}function KY(){KY=E,oit=d7((lin(),o8(sM(fit,1),bPn,445,0,[iit,rit,cit])))}function FY(){FY=E,lit=d7((Scn(),o8(sM(Pit,1),bPn,456,0,[uit,hit,sit])))}function _Y(){_Y=E,Cit=d7((Ktn(),o8(sM(grt,1),bPn,394,0,[Eit,Sit,jit])))}function BY(){BY=E,Ert=d7((w1(),o8(sM(Crt,1),bPn,439,0,[yrt,Trt,Mrt])))}function HY(){HY=E,F9n=d7((p3(),o8(sM(_9n,1),bPn,464,0,[D9n,x9n,R9n])))}function UY(){UY=E,OXn=d7((HZ(),o8(sM(AXn,1),bPn,471,0,[SXn,EXn,PXn])))}function GY(){GY=E,TXn=d7((k2(),o8(sM(jXn,1),bPn,237,0,[vXn,kXn,yXn])))}function qY(){qY=E,xXn=d7((V1(),o8(sM(czn,1),bPn,472,0,[$Xn,NXn,LXn])))}function XY(){XY=E,Aqn=d7((u7(),o8(sM(Lqn,1),bPn,108,0,[Tqn,jqn,Eqn])))}function zY(){zY=E,wWn=d7((z1(),o8(sM(TWn,1),bPn,391,0,[fWn,hWn,lWn])))}function VY(){VY=E,Ist=d7((tnn(),o8(sM($st,1),bPn,346,0,[Sst,Est,Pst])))}function WY(){WY=E,Hrt=d7((Vnn(),o8(sM(Grt,1),bPn,444,0,[Krt,Frt,_rt])))}function QY(){QY=E,ist=d7((y2(),o8(sM(ust,1),bPn,278,0,[Zut,nst,tst])))}function JY(){JY=E,fft=d7((nnn(),o8(sM(wft,1),bPn,280,0,[uft,oft,sft])))}function YY(n,t){return!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),Hen(n.o,t)}function ZY(n){var t,e,i,r;r=n.d,t=n.a,e=n.b,i=n.c,n.d=e,n.a=i,n.b=r,n.c=t}function nZ(n){return!n.g&&(n.g=new ds),!n.g.c&&(n.g.c=new im(n)),n.g.c}function tZ(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;if(c=Ltn(Uz(t[0],CCn),Uz(i[0],CCn)),n[0]=M_(c),c=D_(c,32),e>=r){for(a=1;ae||t=0?n.Lh(e,!0,!0):qbn(n,t,!0)}function OZ(n){for(;!n.a;)if(!Ox(n.c,new Gw(n)))return!1;return!0}function AZ(n){return CH(n),hL(n,204)?YR(n,204):new ob(n)}function LZ(){var n,t,e,i;LZ=E,Jct=new hu,Zct=new fu,zEn(),n=uut,t=Jct,e=Bot,i=Zct,FU(),Yct=new Jk(o8(sM(yUn,1),tPn,44,0,[(Zcn(n,t),new mj(n,t)),(Zcn(e,i),new mj(e,i))]))}function NZ(){NZ=E,net=new wC("LEAF_NUMBER",0),tet=new wC("NODE_SIZE",1)}function $Z(n){n.a=eZ(Qdt,qPn,28,n.b+1,15,1),n.c=eZ(Qdt,qPn,28,n.b,15,1),n.d=0}function DZ(n,t){if(null==n.g||t>=n.i)throw Nm(new EO(t,n.i));return n.g[t]}function xZ(n,t,e){if(v9(n,e),null!=e&&!n.fk(e))throw Nm(new Ym);return e}function RZ(n,t){return 10!=h0(t)&&o8(h7(t),t.Sm,t.__elementTypeId$,h0(t),n),n}function KZ(n,t,e,i){eq(),i=i||XGn,Dln(n.slice(t,e),n,t,e,-t,i)}function FZ(n,t,e,i,r){return t<0?qbn(n,e,i):YR(e,69).wk().yk(n,n.hi(),t,i,r)}function _Z(){_Z=E,pqn=d7((BZ(),o8(sM(mqn,1),bPn,304,0,[lqn,bqn,wqn,dqn])))}function BZ(){BZ=E,lqn=new lS("All",0),bqn=new kA,wqn=new ZA,dqn=new vA}function HZ(){HZ=E,SXn=new PS(UIn,0),EXn=new PS(_In,1),PXn=new PS(GIn,2)}function UZ(){UZ=E,cMn(),cdt=mCn,rdt=vCn,odt=new aw(mCn),adt=new aw(vCn)}function GZ(){GZ=E,wzn=d7((I5(),o8(sM(vzn,1),bPn,417,0,[lzn,szn,hzn,fzn])))}function qZ(){qZ=E,Lzn=d7((rcn(),o8(sM($zn,1),bPn,406,0,[Czn,Pzn,Izn,Ozn])))}function XZ(){XZ=E,kzn=d7((ccn(),o8(sM(yzn,1),bPn,332,0,[gzn,dzn,pzn,mzn])))}function zZ(){zZ=E,YWn=d7((Zin(),o8(sM(tQn,1),bPn,389,0,[QWn,VWn,zWn,WWn])))}function VZ(){VZ=E,FWn=d7((h8(),o8(sM(JWn,1),bPn,416,0,[$Wn,RWn,DWn,xWn])))}function WZ(){WZ=E,oYn=d7((s8(),o8(sM(bYn,1),bPn,421,0,[eYn,iYn,rYn,cYn])))}function QZ(){QZ=E,GJn=d7((u8(),o8(sM(tYn,1),bPn,371,0,[HJn,_Jn,BJn,FJn])))}function JZ(){JZ=E,b8n=d7((Ecn(),o8(sM(v8n,1),bPn,203,0,[h8n,f8n,s8n,u8n])))}function YZ(){YZ=E,K8n=d7((Din(),o8(sM(B8n,1),bPn,284,0,[$8n,N8n,D8n,x8n])))}function ZZ(){ZZ=E,CZn=new mP(BAn,0),PZn=new mP("IMPROVE_STRAIGHTNESS",1)}function n1(n,t){var e,i;return i=t/n.c.Rd().gc()|0,e=t%n.c.Rd().gc(),sY(n,i,e)}function t1(n){var t;if(n.nl())for(t=n.i-1;t>=0;--t)g2(n,t);return KW(n)}function e1(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function i1(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[1];)e=t;return e}function r1(n,t){if(t.a)throw Nm(new Yk(bIn));$B(n.a,t),t.a=n,!n.j&&(n.j=t)}function c1(n,t){lO.call(this,t.zd(),-16449&t.yd()),jU(n),this.a=n,this.c=t}function a1(){a1=E,Jet=d7((Ean(),o8(sM(tit,1),bPn,354,0,[Wet,zet,Vet,Xet])))}function o1(){o1=E,Ntt=d7((c7(),o8(sM(xtt,1),bPn,353,0,[Att,Itt,Ott,Ctt])))}function u1(){u1=E,z7n=d7((yon(),o8(sM(V7n,1),bPn,405,0,[H7n,U7n,G7n,q7n])))}function s1(){s1=E,sst=d7((Rtn(),o8(sM(gst,1),bPn,223,0,[ost,cst,rst,ast])))}function h1(){h1=E,Dst=d7((Mon(),o8(sM(qst,1),bPn,291,0,[Nst,Ost,Ast,Lst])))}function f1(){f1=E,Wht=d7((fin(),o8(sM(cft,1),bPn,386,0,[Xht,zht,qht,Ght])))}function l1(){l1=E,yft=d7((Ten(),o8(sM(Mft,1),bPn,320,0,[vft,gft,mft,pft])))}function b1(){b1=E,Cft=d7((E9(),o8(sM(Aft,1),bPn,415,0,[jft,Eft,Tft,Sft])))}function w1(){w1=E,yrt=new MC(lxn,0),Trt=new MC(gDn,1),Mrt=new MC(BAn,2)}function d1(n,t,e,i,r){return jU(n),jU(t),jU(e),jU(i),jU(r),new HB(n,t,i)}function g1(n,t){var e;return(e=YR(XJ(n.e,t),400))?(HK(e),e.e):null}function p1(n,t){var e;return-1!=(e=y1(n,t,0))&&(HJ(n,e),!0)}function m1(n,t,e){var i;return mU(n),(i=new un).a=t,n.a.Nb(new yS(i,e)),i.a}function v1(n){var t;if(!h4(n))throw Nm(new av);return n.e=1,t=n.d,n.d=null,t}function k1(n){var t;return HO(n)&&(t=0-n,!isNaN(t))?t:o5(C8(n))}function y1(n,t,e){for(;e=0?gcn(n,e,!0,!0):qbn(n,t,!0)}function G1(n){var t;return null==(t=i3(h5(n,32)))&&(Xin(n),t=i3(h5(n,32))),t}function q1(n){var t;return n.Oh()||(t=xH(n.Dh())-n.ji(),n.$h().Mk(t)),n.zh()}function X1(n,t){jzn=new et,Azn=t,YR((Tzn=n).b,68),aZ(Tzn,jzn,null),ZMn(Tzn)}function z1(){z1=E,fWn=new xS("XY",0),hWn=new xS("X",1),lWn=new xS("Y",2)}function V1(){V1=E,$Xn=new CS("TOP",0),NXn=new CS(_In,1),LXn=new CS(XIn,2)}function W1(){W1=E,f1n=new TP(BAn,0),l1n=new TP("TOP",1),h1n=new TP(XIn,2)}function Q1(){Q1=E,F8n=new LP("INPUT_ORDER",0),_8n=new LP("PORT_DEGREE",1)}function J1(){J1=E,XUn=zA(oCn,oCn,524287),zUn=zA(0,0,sCn),VUn=OJ(1),OJ(2),WUn=OJ(0)}function Y1(n){var t;return n.d!=n.r&&(t=Von(n),n.e=!!t&&t.lk()==rBn,n.d=t),n.e}function Z1(n,t,e){var i;return i=n.g[t],NL(n,t,n.Zi(t,e)),n.Ri(t,e,i),n.Ni(),i}function n0(n,t){var e;return(e=n.dd(t))>=0&&(n.gd(e),!0)}function t0(n,t){var e;for(CH(n),CH(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function e0(n,t){var e;return(e=YR(KH(n.e,t),400))?(ML(n,e),e.e):null}function i0(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function r0(n,t){var e=n.a[t],i=(F8(),GUn)[typeof e];return i?i(e):I7(typeof e)}function c0(n,t){return ktn(n),new CF(n,new xx(new WJ(t,n.a)))}function a0(n){var t;return null!=(t=0==n.b.c.length?null:wF(n.b,0))&&C4(n,0),t}function o0(n,t){var e;for(++n.d,++n.c[t],e=t+1;e=0;)++t[0]}function h0(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function f0(n,t){return t==(tR(),tR(),iqn)?n.toLocaleLowerCase():n.toLowerCase()}function l0(n){if(!n.e)throw Nm(new av);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function b0(n){if(!n.c)throw Nm(new av);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function w0(n){var t;for(++n.a,t=n.c.a.length;n.an.a[i]&&(i=e);return i}function g0(n){var t;return!!(t=YR(phn(n,(XEn(),y1n)),313))&&t.a==n}function p0(n){var t;return!!(t=YR(phn(n,(XEn(),y1n)),313))&&t.i==n}function m0(){m0=E,jWn=d7((mhn(),o8(sM(PWn,1),bPn,367,0,[mWn,vWn,kWn,yWn,MWn])))}function v0(){v0=E,wYn=d7((osn(),o8(sM(MYn,1),bPn,375,0,[sYn,fYn,lYn,hYn,uYn])))}function k0(){k0=E,sZn=d7(($in(),o8(sM(lZn,1),bPn,348,0,[rZn,iZn,aZn,oZn,cZn])))}function y0(){y0=E,k8n=d7((icn(),o8(sM(A8n,1),bPn,323,0,[m8n,d8n,g8n,w8n,p8n])))}function M0(){M0=E,I0n=d7((Men(),o8(sM(t8n,1),bPn,171,0,[P0n,T0n,j0n,E0n,S0n])))}function T0(){T0=E,Ztt=d7((Osn(),o8(sM(eet,1),bPn,368,0,[Qtt,ztt,Jtt,Vtt,Wtt])))}function j0(){j0=E,Rrt=d7((Mgn(),o8(sM(Brt,1),bPn,373,0,[Lrt,Art,$rt,Nrt,Drt])))}function E0(){E0=E,cct=d7((gfn(),o8(sM(Bct,1),bPn,324,0,[Zrt,nct,ict,tct,ect])))}function S0(){S0=E,Yut=d7((znn(),o8(sM(est,1),bPn,88,0,[Wut,Vut,zut,Xut,Qut])))}function P0(){P0=E,sat=d7(($rn(),o8(sM(mat,1),bPn,170,0,[aat,cat,iat,oat,rat])))}function C0(){C0=E,Zst=d7((_rn(),o8(sM(aht,1),bPn,256,0,[Wst,Jst,zst,Vst,Qst])))}function I0(){I0=E,Kht=d7((Djn(),o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht])))}function O0(){O0=E,zqn=new jS("BY_SIZE",0),Vqn=new jS("BY_SIZE_AND_SHAPE",1)}function A0(){A0=E,fVn=new DS("EADES",0),lVn=new DS("FRUCHTERMAN_REINGOLD",1)}function L0(){L0=E,hZn=new dP("READING_DIRECTION",0),fZn=new dP("ROTATION",1)}function N0(){N0=E,HWn=new Pt,UWn=new At,_Wn=new Lt,BWn=new Ot,GWn=new Nt}function $0(n){this.b=new Tm,this.a=new Tm,this.c=new Tm,this.d=new Tm,this.e=n}function D0(n){this.g=n,this.f=new Tm,this.a=e.Math.min(this.g.c.c,this.g.d.c)}function x0(n,t,e){ox.call(this),m2(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function R0(n,t,e){var i;for(i=new mw(e);i.a=0&&t0?dSn:q7(n,kPn)<0?kPn:M_(n)}function G0(n){return n<3?(L3(n,sPn),n+1):n=-.01&&n.a<=WIn&&(n.a=0),n.b>=-.01&&n.b<=WIn&&(n.b=0),n}function Y0(n){var t,e;for(Ypn(),e=_Dn,t=0;te&&(e=n[t]);return e}function Z0(n,t){var e;if(!(e=Bgn(n.Dh(),t)))throw Nm(new Iy(_Kn+t+UKn));return e}function n2(n,t){var e;for(e=n;BX(e);)if((e=BX(e))==t)return!0;return!1}function t2(n,t){var e,i,r,c;for(jU(t),r=0,c=(i=n.c).length;r>16!=6?null:YR(Awn(n),241)}(n))&&!t.Vh()&&(n.w=t),t)}function l2(n,t){var e,i;i=n.a,e=function(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new uB(n,1,5,r,n.a),e?hsn(e,i):e=i),e}(n,t,null),i!=t&&!n.e&&(e=tjn(n,t,e)),e&&e.oj()}function b2(n,t,e){var i,r;i=t;do{r=vy(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function w2(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function d2(n){var t;return null==n?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(a=eZ(Wdt,IPn,28,2*t,15,1),i=0,r=0;i>4&15,c=15&n[i],a[r++]=zft[e],a[r++]=zft[c];return Lin(a,0,a.length)}(t=YR(n,195),t.length)}function g2(n,t){if(null==n.g||t>=n.i)throw Nm(new EO(t,n.i));return n.Wi(t,n.g[t])}function p2(n){return ktn(n),sK(!0,"n may not be negative"),new CF(n,new V3(n.a))}function m2(n){n.b=(HZ(),EXn),n.f=(V1(),NXn),n.d=(L3(2,lPn),new gY(2)),n.e=new VM}function v2(n){this.b=(CH(n),new Wx(n)),this.a=new Tm,this.d=new Tm,this.e=new VM}function k2(){k2=E,vXn=new SS("BEGIN",0),kXn=new SS(_In,1),yXn=new SS("END",2)}function y2(){y2=E,Zut=new HC(_In,0),nst=new HC("HEAD",1),tst=new HC("TAIL",2)}function M2(){M2=E,Ftt=Gin(Gin(Gin(KE(new AU,(yon(),U7n)),(Nvn(),ant)),Z7n),int)}function T2(){T2=E,Btt=Gin(Gin(Gin(KE(new AU,(yon(),q7n)),(Nvn(),tnt)),Q7n),nnt)}function j2(){j2=E,HYn=d7((rln(),o8(sM(qYn,1),bPn,232,0,[RYn,FYn,xYn,KYn,_Yn,DYn])))}function E2(){E2=E,SZn=d7((ifn(),o8(sM(IZn,1),bPn,283,0,[kZn,vZn,MZn,yZn,jZn,TZn])))}function S2(){S2=E,KZn=d7((Lun(),o8(sM(qZn,1),bPn,281,0,[$Zn,NZn,xZn,LZn,DZn,AZn])))}function P2(){P2=E,XZn=d7((Xhn(),o8(sM(i1n,1),bPn,282,0,[UZn,_Zn,GZn,HZn,BZn,FZn])))}function C2(){C2=E,bQn=d7((Zhn(),o8(sM(wQn,1),bPn,273,0,[hQn,sQn,oQn,fQn,uQn,aQn])))}function I2(){I2=E,Aat=d7((Pcn(),o8(sM(Qat,1),bPn,255,0,[jat,Pat,Cat,Iat,Eat,Sat])))}function O2(){O2=E,Jat=d7((Zun(),o8(sM(Jut,1),bPn,298,0,[Wat,Vat,zat,qat,Gat,Xat])))}function A2(){A2=E,pst=d7((ehn(),o8(sM(Cst,1),bPn,321,0,[wst,lst,dst,hst,bst,fst])))}function L2(){L2=E,oht=d7((ysn(),o8(sM(wht,1),bPn,101,0,[cht,rht,iht,nht,eht,tht])))}function N2(){N2=E,dht=d7((bbn(),o8(sM(Rht,1),bPn,279,0,[lht,hht,fht,sht,uht,bht])))}function $2(){$2=E,IXn=(k2(),o8(sM(jXn,1),bPn,237,0,[vXn,kXn,yXn])).length,CXn=IXn}function D2(n,t){return function(n){return n?n.i:null}(c6(n,t,M_(Ntn(aPn,UU(M_(Ntn(null==t?0:_4(t),oPn)),15)))))}function x2(n,t){return NA(),M3(vPn),e.Math.abs(n-t)<=vPn||n==t||isNaN(n)&&isNaN(t)}function R2(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,1,e,n.b))}function K2(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,3,e,n.b))}function F2(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,3,e,n.f))}function _2(n,t){var e;e=n.g,n.g=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,4,e,n.g))}function B2(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,5,e,n.i))}function H2(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,6,e,n.j))}function U2(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,1,e,n.j))}function G2(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,4,e,n.c))}function q2(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,2,e,n.k))}function X2(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&r5(n,new lQ(n,0,e,n.a))}function z2(n,t){var e;e=n.s,n.s=t,4&n.Db&&!(1&n.Db)&&r5(n,new bQ(n,4,e,n.s))}function V2(n,t){var e;e=n.t,n.t=t,4&n.Db&&!(1&n.Db)&&r5(n,new bQ(n,5,e,n.t))}function W2(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&r5(n,new bQ(n,2,e,n.d))}function Q2(n,t){var e;e=n.F,n.F=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,5,e,t))}function J2(n,t){var e;return(e=YR(KH((qE(),xlt),n),57))?e.gk(t):eZ(hUn,ySn,1,t,5,1)}function Y2(n,t){var e,i;return ZM(),i=new cs,!!t&&xgn(i,t),e4(e=i,n),e}function Z2(n,t){var e;return t in n.a&&(e=CX(n,t).re())?e.a:null}function n3(n,t,e){if(v9(n,e),!n.kl()&&null!=e&&!n.fk(e))throw Nm(new Ym);return e}function t3(n,t){return n.n=t,n.n?(n.f=new Tm,n.e=new Tm):(n.f=null,n.e=null),n}function e3(n,t){if(n){t.n=n;var e=function(n){if(n.Ae())return null;var t=n.n;return cSn[t]}(t);e?e.Rm=t:cSn[n]=[t]}}function i3(n){var t;return oF(null==n||Array.isArray(n)&&!((t=h0(n))>=14&&t<=16)),n}function r3(n,t){var e;return jU(t),uK(!!(e=n[":"+t]),"Enum constant undefined: "+t),e}function c3(n,t,e,i,r,c){var a;return e3(e,a=PH(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function a3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function o3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function u3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function s3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function h3(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function f3(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0))throw Nm(new Iy("tolerance ("+n+") must be >= 0"));return n}function T3(n,t){var e;return hL(t,44)?n.c.Mc(t):(e=Hen(n,t),Fin(n,t),e)}function j3(n,t,e){return y7(n,t),U4(n,e),z2(n,0),V2(n,1),$nn(n,!0),Ann(n,!0),n}function E3(n,t){var e;if(e=n.gc(),t<0||t>e)throw Nm(new Ex(t,e));return new $x(n,t)}function S3(n,t){n.b=e.Math.max(n.b,t.d),n.e+=t.r+(0==n.a.c.length?0:n.c),LL(n.a,t)}function P3(n){Z$(n.c>=0),function(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,nD(e<(n.c-n.b&i)),e>=r?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,_H(n.a,t,n.a[i]),t=i;_H(n.a,n.c,null)}(n,t),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,_H(n.a,t,n.a[i]),t=i;_H(n.a,n.b,null),n.b=n.b+1&e}(n,t),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function C3(n){var t;for(t=n.c.Cc().Kc();t.Ob();)YR(t.Pb(),16).$b();n.c.$b(),n.d=0}function I3(n,t){var e,i,r;for(i=0,r=(e=t).length;i0&&n.c0&&0!=n.g&&W3(n.i,t/n.r*n.i.d))}function Q3(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,1,e,n.c))}function J3(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,4,e,n.c))}function Y3(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,2,e,n.k))}function Z3(n,t){var e;e=n.D,n.D=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,2,e,n.D))}function n4(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,8,e,n.f))}function t4(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,7,e,n.i))}function e4(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,8,e,n.a))}function i4(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,0,e,n.b))}function r4(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,0,e,n.b))}function c4(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,1,e,n.c))}function a4(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,1,e,n.d))}function o4(n,t){return Spn(n.e,t)?(WE(),Y1(t)?new nF(t,n):new FI(t,n)):new xI(t,n)}function u4(n,t){var e,i;return e=n.c,(i=t.e[n.p])>0?YR(wF(e.a,i-1),10):null}function s4(n){var t;return(n=e.Math.max(n,2))>(t=I8(n))?(t<<=1)>0?t:fPn:t}function h4(n){switch(YL(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function f4(n,t){var e;return!!hL(t,8)&&(e=YR(t,8),n.a==e.a&&n.b==e.b)}function l4(n,t){var e,i;for(i=t.vc().Kc();i.Ob();)kun(n,(e=YR(i.Pb(),44)).ld(),e.md())}function b4(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,11,e,n.d))}function w4(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,13,e,n.j))}function d4(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,21,e,n.b))}function g4(n,t){t.Ug("Hierarchical port constraint processing",1),function(n){var t;Nx(YR(phn(n,(NEn(),X6n)),101))&&(Qbn((Rz(0,(t=n.b).c.length),YR(t.c[0],30))),Qbn(YR(wF(t,t.c.length-1),30)))}(n),function(n){var t,e,i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P;if((M=YR(phn(n,(NEn(),X6n)),101))!=(ysn(),rht)&&M!=cht){for(s=new gY((L3((b=(w=n.b).c.length)+2,dPn),U0(Ltn(Ltn(5,b+2),(b+2)/10|0)))),d=new gY((L3(b+2,dPn),U0(Ltn(Ltn(5,b+2),(b+2)/10|0)))),LL(s,new Mm),LL(s,new Mm),LL(d,new Tm),LL(d,new Tm),y=new Tm,t=0;t>5,i=31&t,Uz(x_(n.n[e][r],M_($_(i,1))),3)}function P4(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?1:0:(!n.c&&(n.c=Mz(m5(n.f))),n.c).e}function Z4(n,t){t?null==n.B&&(n.B=n.D,n.D=null):null!=n.B&&(n.D=n.B,n.B=null)}function n6(n,t){return NA(),M3(WIn),e.Math.abs(0-t)<=WIn||0==t||isNaN(0)&&isNaN(t)?0:n/t}function t6(n,t){return vy(V$(ON(Tnn(sG(new CF(null,new Fz(n.c.b,16)),new hg(n)),t))))}function e6(n,t){return vy(V$(ON(Tnn(sG(new CF(null,new Fz(n.c.b,16)),new sg(n)),t))))}function i6(n,t){t.Ug("General Compactor",1),function(n){switch(n.g){case 1:return new jo;case 2:return new v$;default:throw Nm(new Iy(gxn+(null!=n.f?n.f:""+n.g)))}}(YR(ldn(n,(kfn(),Cet)),393)).Cg(n)}function r6(n,t,e){var i,r;for(r=Drn(n,0);r.b!=r.d.c;)(i=YR(yW(r),8)).a+=t,i.b+=e;return n}function c6(n,t,e){var i;for(i=n.b[e&n.f];i;i=i.b)if(e==i.a&&lU(t,i.g))return i;return null}function a6(n,t,e){var i;for(i=n.c[e&n.f];i;i=i.d)if(e==i.f&&lU(t,i.i))return i;return null}function o6(n,t,e,i,r,c){var a;this.c=n,gan(n,a=new Tm,t,n.b,e,i,r,c),this.a=new $V(a,0)}function u6(){this.c=new IT(0),this.b=new IT(DDn),this.d=new IT($Dn),this.a=new IT(xOn)}function s6(n,t,e,i,r,c,a){vj.call(this,n,t),this.d=e,this.e=i,this.c=r,this.b=c,this.a=FJ(a)}function h6(n,t,e,i,r,c,a,o,u,s,h,f,l){return Nln(n,t,e,i,r,c,a,o,u,s,h,f,l),Ptn(n,!1),n}function f6(n){return n.b.c.i.k==(Zhn(),oQn)?YR(phn(n.b.c.i,(XEn(),Z1n)),12):n.b.c}function l6(n){return n.b.d.i.k==(Zhn(),oQn)?YR(phn(n.b.d.i,(XEn(),Z1n)),12):n.b.d}function b6(n){var t;return VI((t=nW(n)).a,0)?(Wj(),Wj(),aqn):(Wj(),new h$(t.b))}function w6(n){var t;return VI((t=YV(n)).a,0)?(Vj(),Vj(),cqn):(Vj(),new s$(t.b))}function d6(n){var t;return VI((t=YV(n)).a,0)?(Vj(),Vj(),cqn):(Vj(),new s$(t.c))}function g6(n){switch(n.g){case 2:return Djn(),xht;case 4:return Djn(),ght;default:return n}}function p6(n){switch(n.g){case 1:return Djn(),$ht;case 3:return Djn(),pht;default:return n}}function m6(n){switch(n.g){case 0:return new Wo;case 1:return new Qo;default:return null}}function v6(){v6=E,RJn=new $D("edgelabelcenterednessanalysis.includelabel",(GN(),QUn))}function k6(){k6=E,$9n=Gin(jO(iF(iF(new AU,(mhn(),kWn),(VEn(),dJn)),yWn,cJn),MWn),wJn)}function y6(){y6=E,B9n=Gin(jO(iF(iF(new AU,(mhn(),kWn),(VEn(),dJn)),yWn,cJn),MWn),wJn)}function M6(){M6=E,Gbt=new hk,Xbt=o8(sM(ibt,1),dBn,179,0,[]),qbt=o8(sM(bbt,1),gBn,62,0,[])}function T6(){T6=E,EQn=new HS("TO_INTERNAL_LTR",0),jQn=new HS("TO_INPUT_DIRECTION",1)}function j6(){j6=E,mQn=new Bt,gQn=new Ht,pQn=new Ut,dQn=new Gt,vQn=new qt,kQn=new Xt}function E6(n,t,e){e.Ug("DFS Treeifying phase",1),function(n,t){var e,i,r;for(r=t.b.b,n.a=new qj,n.b=eZ(Qdt,qPn,28,r,15,1),e=0,i=Drn(t.b,0);i.b!=i.d.c;)YR(yW(i),40).g=e++}(n,t),function(n,t){var e,i,r,c,a;for(a=YR(phn(t,(fyn(),ptt)),433),c=Drn(t.b,0);c.b!=c.d.c;)if(r=YR(yW(c),40),0==n.b[r.g]){switch(a.g){case 0:Gcn(n,r);break;case 1:tdn(n,r)}n.b[r.g]=2}for(i=Drn(n.a,0);i.b!=i.d.c;)jen((e=YR(yW(i),65)).b.d,e,!0),jen(e.c.b,e,!0);L8(t,(Ajn(),Dnt),n.a)}(n,t),n.a=null,n.b=null,e.Vg()}function S6(n,t){return GN(),qI(n)?UJ(n,W$(t)):zI(n)?K_(n,V$(t)):XI(n)?R_(n,z$(t)):n.Fd(t)}function P6(n,t){var e,i;for(jU(t),i=t.vc().Kc();i.Ob();)e=YR(i.Pb(),44),n.zc(e.ld(),e.md())}function C6(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function I6(n){if(jU(n),0==n.length)throw Nm(new iM("Zero length BigInteger"));!function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(u=b=t.length,Kz(0,t.length),45==t.charCodeAt(0)?(f=-1,l=1,--b):(f=1,l=0),r=b/(c=(pMn(),KGn)[10])|0,0!=(g=b%c)&&++r,o=eZ(Qdt,qPn,28,r,15,1),e=RGn[8],a=0,w=l+(0==g?c:g),d=l;d0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function A6(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new Tm,function(n){var t,e,i,r;for(r=gnn(n.d,n.e).Kc();r.Ob();)for(i=YR(r.Pb(),12),e=new mw(n.e==(Djn(),xht)?i.e:i.g);e.ar&&t.ac&&t.b(r=n.a.length)?e=r:Kz(t,e+1),n.a=qq(n.a,0,t)+""+i+BH(n.a,e)}function i5(n,t){n.a=Ltn(n.a,1),n.c=e.Math.min(n.c,t),n.b=e.Math.max(n.b,t),n.d=Ltn(n.d,t)}function r5(n,t){var e,i,r;if(null!=(e=n.th())&&n.wh())for(i=0,r=e.length;i0||h.j==xht&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new mw(h.g);r.a1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw Nm(new av)}function g5(n){switch(n.a.g){case 1:return new YP;case 3:return new Yan;default:return new gl}}function p5(n,t){switch(t){case 1:return!!n.n&&0!=n.n.i;case 2:return null!=n.k}return SV(n,t)}function m5(n){return bCn=0x8000000000000000?(J1(),XUn):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=fCn&&(n-=(e=bX(n/fCn))*fCn),t=0,n>=hCn&&(n-=(t=bX(n/hCn))*hCn),r=zA(bX(n),t,e),i&&r9(r),r)}(n))}function v5(n){var t;return n<128?(yF(),!(t=rGn[n])&&(t=rGn[n]=new cw(n)),t):new cw(n)}function k5(n){var t,e,i;return e=0,(i=n)<0&&(i+=fCn,e=uCn),t=bX(i/hCn),zA(bX(i-t*hCn),t,e)}function y5(n){var t,e,i;for(i=0,e=new Gj(n.a);e.a>22),r=n.h-t.h+(i>>22),zA(e&oCn,i&oCn,r&uCn)}function z5(n){var t;return hL(n,82)?n:((t=n&&n.__java$exception)||zm(t=new S7(n)),t)}function V5(n){if(hL(n,193))return YR(n,123);if(n)return null;throw Nm(new Ly(RFn))}function W5(n){return!!n.a.Ob()||n.a==n.e&&(n.a=new fZ(n.f.f),n.a.Ob())}function Q5(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(Snn(t,R7(n)))return!0;return!1}function J5(n,t){return!(!n||!t||n==t)&&jin(n.d.c,t.d.c+t.d.b)&&jin(t.d.c,n.d.c+n.d.b)}function Y5(n,t){var e;return 0!=(e=t.Pc()).length&&(cK(n.c,n.c.length,e),!0)}function Z5(n){var t,e;for(t=new qj,e=Drn(n.d,0);e.b!=e.d.c;)UK(t,YR(yW(e),65).c);return t}function n8(n,t){var e;for(e=new mw(n.b);e.a(i=n.gc()))throw Nm(new Ex(t,i));return n.Si()&&(e=RX(n,e)),n.Ei(t,e)}function P8(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)pan(n,c,a)||evn(n,c,a,!0,!1)}function C8(n){var t,e;return zA(t=1+~n.l&oCn,e=~n.m+(0==t?1:0)&oCn,~n.h+(0==t&&0==e?1:0)&uCn)}function I8(n){var t;if(n<0)return kPn;if(0==n)return 0;for(t=fPn;!(t&n);t>>=1);return t}function O8(n,t,e){return!(n>=128)&&QI(n<64?Uz($_(1,n),e):Uz($_(1,n-64),t),0)}function A8(n,t,e){return null==e?(!n.q&&(n.q=new Mm),XJ(n.q,t)):(!n.q&&(n.q=new Mm),xU(n.q,t,e)),n}function L8(n,t,e){return null==e?(!n.q&&(n.q=new Mm),XJ(n.q,t)):(!n.q&&(n.q=new Mm),xU(n.q,t,e)),n}function N8(n){var t,i;return M5(i=new ZJ,n),L8(i,(v4(),GVn),n),function(n,t,i){var r,c,a,o,u;for(r=0,a=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));a.e!=a.i.gc();)o="",0==(!(c=YR(Grn(a),27)).n&&(c.n=new oB(ult,c,1,7)),c.n).i||(o=YR(g2((!c.n&&(c.n=new oB(ult,c,1,7)),c.n),0),135).a),M5(u=new JA(o),c),L8(u,(v4(),GVn),c),u.a=r++,u.d.a=c.i+c.g/2,u.d.b=c.j+c.f/2,u.e.a=e.Math.max(c.g,1),u.e.b=e.Math.max(c.f,1),LL(t.e,u),Cln(i.f,c,u),YR(ldn(c,(Akn(),PVn)),101),ysn()}(n,i,t=new Mm),function(n,t,i){var r,c,a,o,u,s,f,l;for(s=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new __(dN(Ydn(u=YR(Grn(s),27)).a.Kc(),new h));Hwn(c);){if(!(r=YR(TJ(c),74)).b&&(r.b=new Mx(tlt,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new Mx(tlt,r,5,8)),r.c.i<=1)))throw Nm(new Dy("Graph must not contain hyperedges."));if(!Cwn(r)&&u!=Hsn(YR(g2((!r.c&&(r.c=new Mx(tlt,r,5,8)),r.c),0),84)))for(M5(f=new ZD,r),L8(f,(v4(),GVn),r),Ob(f,YR(UI(QF(i.f,u)),153)),Ab(f,YR(KH(i,Hsn(YR(g2((!r.c&&(r.c=new Mx(tlt,r,5,8)),r.c),0),84))),153)),LL(t.c,f),o=new zL((!r.n&&(r.n=new oB(ult,r,1,7)),r.n));o.e!=o.i.gc();)M5(l=new zW(f,(a=YR(Grn(o),135)).a),a),L8(l,GVn,a),l.e.a=e.Math.max(a.g,1),l.e.b=e.Math.max(a.f,1),eMn(l),LL(t.d,l)}}(n,i,t),i}function $8(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function D8(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r=0,"Negative initial capacity"),uK(t>=0,"Non-positive load factor"),IB(this)}function q8(n,t){var e,i,r,c,a;for(iq(),a=!1,r=0,c=(i=t).length;r1||t>=0&&n.b<3)}function r9(n){var t,e,i;t=1+~n.l&oCn,e=~n.m+(0==t?1:0)&oCn,i=~n.h+(0==t&&0==e?1:0)&uCn,n.l=t,n.m=e,n.h=i}function c9(n){var t,e,i;for(iq(),i=1,e=n.Kc();e.Ob();)i=31*i+(null!=(t=e.Pb())?_4(t):0),i|=0;return i}function a9(n,t,e,i,r){var c;return c=zwn(n,t),e&&r9(c),r&&(n=function(n,t){var e,i,r;return t<=22?(e=n.l&(1<=n.b.c.length||(x9(n,2*t+1),(e=2*t+2)=0&&n[i]===t[i];i--);return i<0?0:tS(Uz(n[i],CCn),Uz(t[i],CCn))?-1:1}function K9(n,t,e){var i,r;this.g=n,this.c=t,this.a=this,this.d=this,r=s4(e),i=eZ(IUn,uPn,227,r,0,1),this.b=i}function F9(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(pan(n,c,a))return!0;return!1}function _9(n,t,e){var i,r,c,a;for(jU(e),a=!1,c=n.fd(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function B9(n,t){var e,i;return i=YR(h5(n.a,4),129),e=eZ(Llt,K_n,424,t,0,1),null!=i&&oyn(i,0,e,0,i.length),e}function H9(n,t){var e;return e=new Imn(!!(256&n.f),n.i,n.a,n.d,!!(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function U9(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=YR(r.Pb(),44),n.Be(t,i.md()))return!0;return!1}function G9(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){if(n.e)switch(n.b){case 1:!function(n,t,e){n.i=0,n.e=0,t!=e&&o9(n,t,e)}(n.c,t,e);break;case 0:!function(n,t,e){n.i=0,n.e=0,t!=e&&u9(n,t,e)}(n.c,t,e)}else GW(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function q9(n,t){return!(!n||n==t||!w$(t,(XEn(),H1n)))&&YR(phn(t,(XEn(),H1n)),10)!=n}function X9(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function z9(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function V9(n){XX.call(this,"The given string does not match the expected format for individual spacings.",n)}function W9(n,t,e){var i,r;for(i=new qj,r=Drn(e,0);r.b!=r.d.c;)UK(i,new YO(YR(yW(r),8)));_9(n,t,i)}function Q9(n,t){var e;return e=Ltn(n,t),tS(qz(n,t),0)|WI(qz(n,e),0)?e:Ltn(VSn,qz(x_(e,63),1))}function J9(n){var t;if((t=n.a.c.length)>0)return V_(t-1,n.a.c.length),HJ(n.a,t-1);throw Nm(new cv)}function Y9(n,t,e){if(n>t)throw Nm(new Iy(iIn+n+rIn+t));if(n<0||t>e)throw Nm(new eM(iIn+n+cIn+t+XCn+e))}function Z9(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),Z3(n,null==t?null:(jU(t),t)),n.C&&n.hl(null)}function n7(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;eNDn?n-i>NDn:i-n>NDn)}function A7(n,t){var e;for(e=0;er&&(Xun(t.q,r),i=e!=t.q.d)),i}function N7(n,t){var i,r,c,a,o;return a=t.i,o=t.j,r=a-(i=n.f).i,c=o-i.j,e.Math.sqrt(r*r+c*c)}function $7(n,t){var e;return(e=Win(n))||(!Wft&&(Wft=new Ps),FMn(),wZ((e=new gm(kdn(t))).El(),n)),e}function D7(n,t){var e,i;return(e=YR(n.c.Bc(t),16))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function x7(n,t,e,i){var r,c;n.a=t,c=i?0:1,n.f=(r=new Afn(n.c,n.a,e,c),new Lmn(e,n.a,r,n.e,n.b,n.c==(p3(),x9n)))}function R7(n){var t;return Y$(n.a!=n.b),t=n.d.a[n.a],nD(n.b==n.d.c&&null!=t),n.c=n.a,n.a=n.a+1&n.d.a.length-1,t}function K7(n){var t;if(0!=n.c)return n.c;for(t=0;t=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function z7(n,t){var e,i,r,c;return(c=Kln((i=t,(r=n?Win(n):null)&&r.Gl(),i)))==t&&(e=Win(n))&&e.Gl(),c}function V7(n,t,e){var i,r;return r=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&(i=new uB(n,1,0,r,t),e?e.nj(i):e=i),e}function W7(n,t,e){var i,r;return r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&(i=new uB(n,1,3,r,t),e?e.nj(i):e=i),e}function Q7(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new uB(n,1,1,r,t),e?e.nj(i):e=i),e}function J7(n){var t,e,i,r;if(null!=n)for(e=0;e-129&&n<128?(IK(),!(e=uGn[t=n+128])&&(e=uGn[t]=new Yb(n)),e):new Yb(n)}function unn(n){var t,e;return n>-129&&n<128?(vF(),!(e=pGn[t=n+128])&&(e=pGn[t]=new nw(n)),e):new nw(n)}function snn(n,t){n.a.c.length>0&&L9(YR(wF(n.a,n.a.c.length-1),579),t)||LL(n.a,new aJ(t))}function hnn(n){var t;return(t=new Zy).a+="VerticalSegment ",rO(t,n.e),t.a+=" ",cO(t,QL(new Xy,new mw(n.k))),t.a}function fnn(n,t){var e,i;for(e=0,i=Dtn(n,t).Kc();i.Ob();)e+=null!=phn(YR(i.Pb(),12),(XEn(),o0n))?1:0;return e}function lnn(n,t,e){var i,r,c;for(i=0,c=Drn(n,0);c.b!=c.d.c&&!((r=vy(V$(yW(c))))>e);)r>=t&&++i;return i}function bnn(n,t){CH(n);try{return n._b(t)}catch(n){if(hL(n=z5(n),212)||hL(n,169))return!1;throw Nm(n)}}function wnn(n,t){CH(n);try{return n.Hc(t)}catch(n){if(hL(n=z5(n),212)||hL(n,169))return!1;throw Nm(n)}}function dnn(n,t){CH(n);try{return n.xc(t)}catch(n){if(hL(n=z5(n),212)||hL(n,169))return null;throw Nm(n)}}function gnn(n,t){switch(t.g){case 2:case 1:return Dtn(n,t);case 3:case 4:return fen(Dtn(n,t))}return iq(),iq(),HGn}function pnn(n){var t;return 64&n.Db?Cdn(n):((t=new kN(Cdn(n))).a+=" (name: ",eO(t,n.zb),t.a+=")",t.a)}function mnn(n){var t;return(t=YR(e0(n.c.c,""),233))||(t=new Sz(OM(IM(new du,""),"Other")),Orn(n.c.c,"",t)),t}function vnn(n,t,e){var i,r;return r=n.sb,n.sb=t,4&n.Db&&!(1&n.Db)&&(i=new uB(n,1,4,r,t),e?e.nj(i):e=i),e}function knn(n,t,e){var i,r;return r=n.r,n.r=t,4&n.Db&&!(1&n.Db)&&(i=new uB(n,1,8,r,n.r),e?e.nj(i):e=i),e}function ynn(n,t){var e,i;return!(i=(e=YR(t,691)).el())&&e.fl(i=hL(t,90)?new RI(n,YR(t,29)):new yV(n,YR(t,156))),i}function Mnn(n,t,e){var i;n._i(n.i+1),i=n.Zi(t,e),t!=n.i&&oyn(n.g,t,n.g,t+1,n.i-t),_H(n.g,t,i),++n.i,n.Mi(t,e),n.Ni()}function Tnn(n,t){var e;return e=new un,n.a.Bd(e)?(tN(),new ay(jU(m1(n,e.a,t)))):(mU(n),tN(),tN(),rqn)}function jnn(n,t){var e;0!=n.c.length&&(zO(e=YR(jrn(n,eZ(lQn,YAn,10,n.c.length,0,1)),199),new Oe),Ubn(e,t))}function Enn(n,t){var e;0!=n.c.length&&(zO(e=YR(jrn(n,eZ(lQn,YAn,10,n.c.length,0,1)),199),new Ae),Ubn(e,t))}function Snn(n,t){return qI(n)?Ix(n,t):zI(n)?Cx(n,t):XI(n)?(jU(n),GI(n)===GI(t)):L_(n)?n.Fb(t):zF(n)?LO(n,t):Hz(n,t)}function Pnn(n,t,e){if(t<0)abn(n,e);else{if(!e.rk())throw Nm(new Iy(_Kn+e.xe()+BKn));YR(e,69).wk().Ek(n,n.hi(),t)}}function Cnn(n,t,e){if(n<0||t>e)throw Nm(new Ey(iIn+n+cIn+t+", size: "+e));if(n>t)throw Nm(new Iy(iIn+n+rIn+t))}function Inn(n){var t;return 64&n.Db?Cdn(n):((t=new kN(Cdn(n))).a+=" (source: ",eO(t,n.d),t.a+=")",t.a)}function Onn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function Ann(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,2,e,t))}function Lnn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,8,e,t))}function Nnn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,8,e,t))}function $nn(n,t){var e;e=!!(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,3,e,t))}function Dnn(n,t){var e;e=!!(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,9,e,t))}function xnn(n,t){var e;return-1==n.b&&n.a&&(e=n.a.pk(),n.b=e?n.c.Hh(n.a.Lj(),e):Cen(n.c.Dh(),n.a)),n.c.yh(n.b,t)}function Rnn(n,t){var e,i;for(i=new zL(n);i.e!=i.i.gc();)if(e=YR(Grn(i),29),GI(t)===GI(e))return!0;return!1}function Knn(n){var t;return n.k==(Zhn(),oQn)&&((t=YR(phn(n,(XEn(),$1n)),64))==(Djn(),pht)||t==$ht)}function Fnn(n){var t;return VI((t=YV(n)).a,0)?(Vj(),Vj(),cqn):(Vj(),new s$(nS(t.a,0)?GJ(t)/VV(t.a):0))}function _nn(n,t){this.e=t,this.a=F5(n),this.a<54?this.f=VV(n):this.c=(wvn(),q7(n,0)>=0?ein(n):ZB(ein(k1(n))))}function Bnn(n,t,e,i,r,c){this.e=new Tm,this.f=(k3(),q8n),LL(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function Hnn(n){return n=((n=((n-=n>>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function Unn(n,t){var e,i;for(i=new zL(n);i.e!=i.i.gc();)if(e=YR(Grn(i),142),GI(t)===GI(e))return!0;return!1}function Gnn(n,t,e){var i,r;return(r=Ldn(n.b,t))&&(i=YR(RMn(O1(n,r),""),29))?Mdn(n,i,t,e):null}function qnn(n,t){var e;if(hL(e=Bgn(n,t),331))return YR(e,35);throw Nm(new Iy(_Kn+t+"' is not a valid attribute"))}function Xnn(n,t,e){var i;if(t>(i=n.gc()))throw Nm(new Ex(t,i));if(n.Si()&&n.Hc(e))throw Nm(new Iy(BFn));n.Gi(t,e)}function znn(){znn=E,Wut=new BC(VIn,0),Vut=new BC(GIn,1),zut=new BC(UIn,2),Xut=new BC(tOn,3),Qut=new BC("UP",4)}function Vnn(){Vnn=E,Krt=new EC("P1_STRUCTURE",0),Frt=new EC("P2_PROCESSING_ORDER",1),_rt=new EC("P3_EXECUTION",2)}function Wnn(){Wnn=E,_tt=Gin(Gin(KE(Gin(Gin(KE(iF(new AU,(yon(),U7n),(Nvn(),ant)),G7n),ent),rnt),q7n),Y7n),cnt)}function Qnn(n){switch(YR(phn(n,(XEn(),B1n)),311).g){case 1:L8(n,B1n,(W1(),h1n));break;case 2:L8(n,B1n,(W1(),l1n))}}function Jnn(n){switch(n.g){case 2:return Vut;case 1:return zut;case 4:return Xut;case 3:return Qut;default:return Wut}}function Ynn(n,t){switch(n.b.g){case 0:case 1:return t;case 2:case 3:return new yG(t.d,0,t.a,t.b);default:return null}}function Znn(n){switch(n.g){case 1:return xht;case 2:return pht;case 3:return ght;case 4:return $ht;default:return Dht}}function ntn(n){switch(n.g){case 1:return $ht;case 2:return xht;case 3:return pht;case 4:return ght;default:return Dht}}function ttn(n){switch(n.g){case 1:return ght;case 2:return $ht;case 3:return xht;case 4:return pht;default:return Dht}}function etn(n,t,e,i){switch(t){case 1:return!n.n&&(n.n=new oB(ult,n,1,7)),n.n;case 2:return n.k}return oon(n,t,e,i)}function itn(n,t,e){var i,r;return n.Pj()?(r=n.Qj(),i=Rbn(n,t,e),n.Jj(n.Ij(7,onn(e),i,t,r)),i):Rbn(n,t,e)}function rtn(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.ld(),function(n,t,e){++n.e,--n.f,YR(n.d[t].gd(e),136).md()}(n,i=((e=t.Bi())&dSn)%n.d.length,Adn(n,i,e,r)))}function ctn(n,t){var e;e=!!(n.Bb&hPn),t?n.Bb|=hPn:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,10,e,t))}function atn(n,t){var e;e=!!(n.Bb&kCn),t?n.Bb|=kCn:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,12,e,t))}function otn(n,t){var e;e=!!(n.Bb&cBn),t?n.Bb|=cBn:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,15,e,t))}function utn(n,t){var e;e=!!(n.Bb&aBn),t?n.Bb|=aBn:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,11,e,t))}function stn(n){var t;n.g&&(Cpn((t=n.c.kg()?n.f:n.a).a,n.o,!0),Cpn(t.a,n.o,!1),L8(n.o,(NEn(),X6n),(ysn(),nht)))}function htn(n){var t;if(!n.a)throw Nm(new Oy("Cannot offset an unassigned cut."));t=n.c-n.b,n.b+=t,YG(n,t),JG(n,t)}function ftn(n){var t,e;for(e=Tdn(f2(n)).Kc();e.Ob();)if(kkn(n,t=W$(e.Pb())))return yQ((UE(),nbt),t);return null}function ltn(n){var t,e;for(e=n.p.a.ec().Kc();e.Ob();)if((t=YR(e.Pb(),218)).f&&n.b[t.c]<-1e-10)return t;return null}function btn(n){var t,e,i;for(t=new Tm,i=new mw(n.b);i.at?1:n==t?0==n?dtn(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function gtn(n,t,e){var i;if(n.c)lhn(n.c,t,e);else for(i=new mw(n.b);i.a=1?Vut:Xut:t}function ktn(n){if(n.c)ktn(n.c);else if(n.d)throw Nm(new Oy("Stream already terminated, can't be modified or used"))}function ytn(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,++n.b.g):++n.d,i}function Mtn(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=YR(r.Pb(),10),q5(e,YR(wF(t,i.p),16)))return i;return null}function Ttn(n,t,e){var i;return i=0,t&&(oA(n.a)?i+=t.f.a/2:i+=t.f.b/2),e&&(oA(n.a)?i+=e.f.a/2:i+=e.f.b/2),i}function jtn(n,t,i){var r;!(r=i)&&(r=vK(new Ek,0)),r.Ug($An,2),Tcn(n.b,t,r.eh(1)),function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;for(JQ(u=function(n){var t,e,i,r,c;for(t=new qL,e=new qL,TW(t,n),TW(e,n);e.b!=e.c;)for(c=new mw(YR(AB(e),36).a);c.aJOn,S=e.Math.abs(b.b-d.b)>JOn,(!i&&E&&S||i&&(E||S))&&UK(p.a,y)),V4(p.a,r),0==r.b?b=y:(Y$(0!=r.b),b=YR(r.c.b.c,8)),R5(w,l,g),l6(c)==j&&(gU(j.i)!=c.a&&eln(g=new VM,gU(j.i),v),L8(p,y0n,g)),hfn(w,p,v),f.a.zc(w,f);uz(p,M),fz(p,j)}for(h=f.a.ec().Kc();h.Ob();)uz(s=YR(h.Pb(),18),null),fz(s,null);t.Vg()}(t,r.eh(1)),r.Vg()}function Etn(n,t,e){var i;return ZM(),X2(i=new ns,t),R2(i,e),n&&wZ((!n.a&&(n.a=new $L(Yft,n,5)),n.a),i),i}function Stn(n){var t;return 64&n.Db?Cdn(n):((t=new kN(Cdn(n))).a+=" (identifier: ",eO(t,n.k),t.a+=")",t.a)}function Ptn(n,t){var e;e=!!(n.Bb&XKn),t?n.Bb|=XKn:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,18,e,t))}function Ctn(n,t){var e;e=!!(n.Bb&XKn),t?n.Bb|=XKn:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,18,e,t))}function Itn(n,t){var e;e=!!(n.Bb&GSn),t?n.Bb|=GSn:n.Bb&=-16385,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,16,e,t))}function Otn(n,t){var e;e=!!(n.Bb&TCn),t?n.Bb|=TCn:n.Bb&=-65537,4&n.Db&&!(1&n.Db)&&r5(n,new dJ(n,1,20,e,t))}function Atn(n){var t;return t=eZ(Wdt,IPn,28,2,15,1),n-=TCn,t[0]=(n>>10)+jCn&APn,t[1]=56320+(1023&n)&APn,Lin(t,0,t.length)}function Ltn(n,t){var e;return HO(n)&&HO(t)&&bCn<(e=n+t)&&e>22),r=n.h+t.h+(i>>22),zA(e&oCn,i&oCn,r&uCn)}(HO(n)?k5(n):n,HO(t)?k5(t):t))}function Ntn(n,t){var e;return HO(n)&&HO(t)&&bCn<(e=n*t)&&e>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(o=8191&t.l),p=r*o,m=c*o,v=a*o,0!=(u=t.l>>13|(15&t.m)<<9)&&(g+=e*u,p+=i*u,m+=r*u,v+=c*u),0!=(s=t.m>>4&8191)&&(p+=e*s,m+=i*s,v+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(m+=e*h,v+=i*h),0!=(f=(1048320&t.h)>>8)&&(v+=e*f),b=((d=e*o)>>22)+(g>>9)+((262143&p)<<4)+((31&m)<<17),w=(p>>18)+(m>>5)+((4095&v)<<8),w+=(b+=(l=(d&oCn)+((511&g)<<13))>>22)>>22,zA(l&=oCn,b&=oCn,w&=uCn)}(HO(n)?k5(n):n,HO(t)?k5(t):t))}function $tn(n,t){var e;return HO(n)&&HO(t)&&bCn<(e=n-t)&&et?1:_O(isNaN(n),isNaN(t))}function Rtn(){Rtn=E,ost=new UC(VIn,0),cst=new UC("POLYLINE",1),rst=new UC("ORTHOGONAL",2),ast=new UC("SPLINES",3)}function Ktn(){Ktn=E,Eit=new kC("ASPECT_RATIO_DRIVEN",0),Sit=new kC("MAX_SCALE_DRIVEN",1),jit=new kC("AREA_DRIVEN",2)}function Ftn(n){var t,e;for(t=new Tm,e=new mw(n.j);e.at){_V(e);break}}nH(e,t)}function Vtn(n,t,e){e.Ug("Straight Line Edge Routing",1),e.dh(t,uxn),CMn(n,YR(ldn(t,(eD(),Htt)),27)),e.dh(t,hxn)}function Wtn(n,t){0==n.n.c.length&&LL(n.n,new pX(n.s,n.t,n.i)),LL(n.b,t),lan(YR(wF(n.n,n.n.c.length-1),209),t),wyn(n,t)}function Qtn(n){var t;this.a=new Qx(t=YR(n.e&&n.e(),9),YR(XD(t,t.length),9),0),this.b=eZ(hUn,ySn,1,this.a.a.length,5,1)}function Jtn(n){return Array.isArray(n)&&n.Tm===j?hT(h7(n))+"@"+(_4(n)>>>0).toString(16):n.toString()}function Ytn(n,t){switch(t.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function Ztn(n,t,e,i){switch(t){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return etn(n,t,e,i)}function nen(n,t){if(t==n.d)return n.e;if(t==n.e)return n.d;throw Nm(new Iy("Node "+t+" not part of edge "+n))}function ten(n,t,e,i){if(t<0)ign(n,e,i);else{if(!e.rk())throw Nm(new Iy(_Kn+e.xe()+BKn));YR(e,69).wk().Ck(n,n.hi(),t,i)}}function een(n){var t;if(n.b){if(een(n.b),n.b.d!=n.c)throw Nm(new rv)}else n.d.dc()&&(t=YR(n.f.c.xc(n.e),16))&&(n.d=t)}function ien(n){var t,e,i;for(this.a=new XO,i=new mw(n);i.a=c)return t.c+i;return t.c+t.b.gc()}function cen(n,t,e){var i,r;for(i=0,r=n.length;i0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function sen(n){var t,e,i;for((i=new Jy).a+="[",t=0,e=n.gc();t=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function ben(n){switch(Djn(),n.g){case 4:return pht;case 1:return ght;case 3:return $ht;case 2:return xht;default:return Dht}}function wen(n){var t,e;for(e=vy(V$(n.a.of((zEn(),Cut)))),t=new mw(n.a.Sf());t.a=0;r--)if(Ix(n[r].d,t)||Ix(n[r].d,i)){n.length>=r+1&&n.splice(0,r+1);break}return n}(DUn.me(n)))),t=0,i=n.j.length;tu.d&&(f=u.d+u.a+h));i.c.d=f,t.a.zc(i,t),s=e.Math.max(s,i.c.d+i.c.a)}return s}(n),Zj(new CF(null,new Fz(n.d,16)),new ed(n)),t}function Aen(n){Den(),this.c=FJ(o8(sM(nat,1),ySn,845,0,[U5n])),this.b=new Mm,this.a=n,xU(this.b,G5n,1),t2(q5n,new gp(this))}function Len(n,t,e){$2(),qv.call(this),this.a=gF(MXn,[USn,HIn],[603,217],0,[IXn,CXn],2),this.c=new tA,this.g=n,this.f=t,this.d=e}function Nen(n,t){this.n=gF(Ydt,[USn,yCn],[376,28],14,[t,bX(e.Math.ceil(n/32))],2),this.o=n,this.p=t,this.j=n-1>>1,this.k=t-1>>1}function $en(n){var t,e;t=n.d==(rln(),xYn),e=asn(n),L8(n.a,(NEn(),u4n),t&&!e||!t&&e?(Pcn(),Cat):(Pcn(),Pat))}function Den(){Den=E,EE(),NEn(),G5n=k5n,q5n=FJ(o8(sM(uat,1),wDn,149,0,[s5n,h5n,l5n,b5n,g5n,p5n,m5n,v5n,M5n,j5n,f5n,w5n,y5n]))}function xen(n,t){var e,i;if((i=new Ow(n.a.ad(t,!0))).a.gc()<=1)throw Nm(new ev);return(e=i.a.ec().Kc()).Pb(),YR(e.Pb(),40)}function Ren(n,t){return n.i>0&&(t.lengthn.i&&_H(t,n.i,null),t}function Ken(n){var t;return 64&n.Db?pnn(n):((t=new kN(pnn(n))).a+=" (instanceClassName: ",eO(t,n.D),t.a+=")",t.a)}function Fen(n){var t,e,i,r;for(r=0,e=0,i=n.length;e0&&(n._j(),-1!=Adn(n,((e=null==t?0:_4(t))&dSn)%n.d.length,e,t))}function Uen(n,t){var i,r;n.a=Ltn(n.a,1),n.c=e.Math.min(n.c,t),n.b=e.Math.max(n.b,t),n.d+=t,i=t-n.f,r=n.e+i,n.f=r-n.e-i,n.e=r}function Gen(n,t){switch(t){case 3:return void F2(n,0);case 4:return void _2(n,0);case 5:return void B2(n,0);case 6:return void H2(n,0)}enn(n,t)}function qen(n,t){switch(t.g){case 1:return XR(n.j,(j6(),gQn));case 2:return XR(n.j,(j6(),mQn));default:return iq(),iq(),HGn}}function Xen(n){var t;switch(LH(),(t=n.Pc()).length){case 0:return vUn;case 1:return new fF(CH(t[0]));default:return new Hq(function(n){var t,e;for(t=0,e=n.length;t0&&(n._j(),e=Xbn(n,((i=null==t?0:_4(t))&dSn)%n.d.length,i,t))?e.md():null}function nin(n,t,e){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),Mnn(n,i,t),r=n.Ij(3,null,t,i,c),e?e.nj(r):e=r):Mnn(n,n.i,t),e}function tin(n){var t;return kD(),t=new YO(YR(n.e.of((zEn(),Fot)),8)),n.B.Hc((Zvn(),Yht))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function ein(n){var t,e;return wvn(),e=M_(n),0!=(t=M_(x_(n,32)))?new Wz(e,t):e>10||e<0?new hQ(1,e):LGn[e]}function iin(n,t){var e;return HO(n)&&HO(t)&&bCn<(e=n%t)&&e=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function din(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function gin(n,t,e,i){var r,c,a;return r=!1,function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;return l=n.c[t],b=n.c[e],!((w=YR(phn(l,(XEn(),U1n)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(Zhn(),sQn)&&b.k!=sQn,m=(g=YR(phn(l,H1n),10))!=(p=YR(phn(b,H1n),10)),v=!!g&&g!=l||!!p&&p!=b,k=han(l,(Djn(),pht)),y=han(b,$ht),v|=han(l,$ht)||han(b,pht),d&&(v&&m||k||y))||l.k==(Zhn(),fQn)&&b.k==hQn||b.k==(Zhn(),fQn)&&l.k==hQn)&&(h=n.c[t],c=n.c[e],r=pun(n.e,h,c,(Djn(),xht)),u=pun(n.i,h,c,ght),function(n,t,e){n.d=0,n.b=0,t.k==(Zhn(),fQn)&&e.k==fQn&&YR(phn(t,(XEn(),Z1n)),10)==YR(phn(e,Z1n),10)&&(M1(t).j==(Djn(),pht)?Kdn(n,t,e):Kdn(n,e,t)),t.k==fQn&&e.k==sQn?M1(t).j==(Djn(),pht)?n.d=1:n.b=1:e.k==fQn&&t.k==sQn&&(M1(e).j==(Djn(),pht)?n.b=1:n.d=1),function(n,t,e){t.k==(Zhn(),hQn)&&e.k==sQn&&(n.d=fnn(t,(Djn(),$ht)),n.b=fnn(t,pht)),e.k==hQn&&t.k==sQn&&(n.d=fnn(e,(Djn(),pht)),n.b=fnn(e,$ht))}(n,t,e)}(n.f,h,c),s=G9(n.b,h,c)+YR(r.a,17).a+YR(u.a,17).a+n.f.d,o=G9(n.b,c,h)+YR(r.b,17).a+YR(u.b,17).a+n.f.b,n.a&&(f=YR(phn(h,Z1n),12),a=YR(phn(c,Z1n),12),s+=YR((i=von(n.g,f,a)).a,17).a,o+=YR(i.b,17).a),s>o)}(n.f,e,i)&&(function(n,t,e){var i,r;fhn(n.e,t,e,(Djn(),xht)),fhn(n.i,t,e,ght),n.a&&(r=YR(phn(t,(XEn(),Z1n)),12),i=YR(phn(e,Z1n),12),cV(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function pin(n,t,e){var i,r,c;for(r=YR(KH(n.b,e),183),i=0,c=new mw(t.j);c.a>5,t&=31,r=n.d+e+(0==t?0:1),function(n,t,e,i){var r,c,a;if(0==i)oyn(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<t?1:_O(isNaN(n),isNaN(t)))>0}function Tin(n,t){return NA(),NA(),M3(vPn),(e.Math.abs(n-t)<=vPn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:_O(isNaN(n),isNaN(t)))<0}function jin(n,t){return NA(),NA(),M3(vPn),(e.Math.abs(n-t)<=vPn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:_O(isNaN(n),isNaN(t)))<=0}function Ein(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];e0&&this.b>0&&(this.g=OF(this.c,this.b,this.a))}function Rin(n){if(!(jFn in n.a))throw Nm(new xy("Every element must have an id."));return vbn(CX(n,jFn))}function Kin(n){var t,e;for(e=Ffn(n),t=null;2==n.c;)$En(n),t||(QEn(),QEn(),QMn(t=new AA(2),e),e=t),e.Jm(Ffn(n));return e}function Fin(n,t){var e,i;return n._j(),(e=Xbn(n,((i=null==t?0:_4(t))&dSn)%n.d.length,i,t))?(T3(n,e),e.md()):null}function _in(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+e.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function Hin(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw Nm(new Iy("Input edge is not connected to the input port."))}function Uin(n){switch(typeof n){case bSn:return k9(n);case lSn:return xO(n);case fSn:return mD(n);default:return null==n?0:_N(n)}}function Gin(n,t){if(n.a<0)throw Nm(new Oy("Did not call before(...) or after(...) before calling add(...)."));return a$(n,n.a,t),n}function qin(n){return YX(),hL(n,162)?YR(KH(Plt,YGn),295).Rg(n):TB(Plt,h7(n))?YR(KH(Plt,h7(n)),295).Rg(n):null}function Xin(n){var t;return 32&n.Db||0!=(t=xH(YR(h5(n,16),29)||n.ii())-xH(n.ii()))&&zin(n,32,eZ(hUn,ySn,1,t,5,1)),n}function zin(n,t,e){var i;n.Db&t?null==e?function(n,t){var e,i,r,c,a,o,u;if(1==(i=Hnn(254&n.Db)))n.Eb=null;else if(c=i3(n.Eb),2==i)r=Nan(n,t),n.Eb=c[0==r?1:0];else{for(a=eZ(hUn,ySn,1,i-1,5,1),e=2,o=0,u=0;e<=128;e<<=1)e==t?++o:n.Db&e&&(a[u++]=c[o++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Nan(n,t))?n.Eb=e:_H(i3(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,o,u;if(0==(r=Hnn(254&n.Db)))n.Eb=e;else{if(1==r)a=eZ(hUn,ySn,1,2,5,1),0==Nan(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=eZ(hUn,ySn,1,r+1,5,1),c=i3(n.Eb),i=2,o=0,u=0;i<=128;i<<=1)i==t?a[u++]=e:n.Db&i&&(a[u++]=c[o++]);n.Eb=a}n.Db|=t}(n,t,e)}function Vin(n,t,e,i){var r;0!=t.c.length&&(r=function(n,t){var e,i,r,c,a;for(e=new Tm,r=c0(new CF(null,new Fz(n,16)),new wa),c=c0(new CF(null,new Fz(n,16)),new da),a=function(n){var t;return mU(n),t=eZ(ngt,ECn,28,0,15,1),xT(n.a,new Bw(t)),t}(function(n){return ktn(n),new cD(n,new eK(n,n.a.e,4|n.a.d))}(hG(function(n){var t,e,i,r,c,a,o,u;for(t=336,e=0,r=new ux(n.length),o=0,u=(a=n).length;o=2*t&&LL(e,new ER(a[i-1]+t,a[i]-t));return e}(e,i),Zj(W0(new CF(null,new Fz(function(n){var t,e,i,r,c,a,o;for(c=new XO,e=new mw(n);e.a2&&o.e.b+o.j.b<=2&&(r=o,i=a),c.a.zc(r,c),r.q=i);return c}(t),1)),new ba),new MG(n,e,r,i)))}function Win(n){var t,e,i;if(!(i=n.Jh()))for(t=0,e=n.Ph();e;e=e.Ph()){if(++t>SCn)return e.Qh();if((i=e.Jh())||e==n)break}return i}function Qin(n,t){var e;return GI(t)===GI(n)||!!hL(t,21)&&(e=YR(t,21)).gc()==n.gc()&&n.Ic(e)}function Jin(n,t){return jU(n),null!=t&&(!!Ix(n,t)||n.length==t.length&&Ix(n.toLowerCase(),t.toLowerCase()))}function Yin(n){var t,e;return q7(n,-129)>0&&q7(n,128)<0?(mF(),t=M_(n)+128,!(e=fGn[t])&&(e=fGn[t]=new Zb(n)),e):new Zb(n)}function Zin(){Zin=E,QWn=new _S(BAn,0),VWn=new _S("INSIDE_PORT_SIDE_GROUPS",1),zWn=new _S("GROUP_MODEL_ORDER",2),WWn=new _S(HAn,3)}function nrn(n,t){var e,i;for(Kz(t,n.length),e=n.charCodeAt(t),i=t+1;iT&&(d.c=T-d.b),LL(o.d,new u_(d,Ynn(o,d))),v=t==pht?e.Math.max(v,g.b+h.b.Mf().b):e.Math.min(v,g.b));for(v+=t==pht?n.t:-n.t,(k=Oen((o.e=v,o)))>0&&(YR(zU(n.b,t),127).a.b=k),f=b.Kc();f.Ob();)!(h=YR(f.Pb(),117)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else Pjn(n,t)}(n,t):Pjn(n,t):n.u.Hc(lht)&&(i?function(n,t){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m;if((f=YR(YR(KJ(n.r,t),21),87)).gc()<=2||t==(Djn(),ght)||t==(Djn(),xht))nEn(n,t);else{for(g=n.u.Hc((bbn(),bht)),i=t==(Djn(),pht)?(I5(),lzn):(I5(),szn),m=t==pht?(V1(),LXn):(V1(),$Xn),r=mM(mR(i),n.s),p=t==pht?mCn:vCn,h=f.Kc();h.Ob();)!(u=YR(h.Pb(),117)).c||u.c.d.c.length<=0||(d=u.b.Mf(),w=u.e,(b=(l=u.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(o=l.n,l.e.b+o.d+o.a),g?(b.c=w.a-(c=l.n,l.e.a+c.b+c.c)-n.s,g=!1):b.c=w.a+d.a+n.s,_q(m,qIn),l.f=m,dZ(l,(HZ(),PXn)),LL(r.d,new u_(b,Ynn(r,b))),p=t==pht?e.Math.min(p,w.b):e.Math.max(p,w.b+u.b.Mf().b));for(p+=t==pht?-n.t:n.t,Oen((r.e=p,r)),s=f.Kc();s.Ob();)!(u=YR(s.Pb(),117)).c||u.c.d.c.length<=0||((b=u.c.i).c-=u.e.a,b.d-=u.e.b)}}(n,t):nEn(n,t))}function grn(n){var t;GI(ldn(n,(zEn(),yot)))===GI((tnn(),Sst))&&(BX(n)?(t=YR(ldn(BX(n),yot),346),ucn(n,yot,t)):ucn(n,yot,Pst))}function prn(n,t,i){return new yG(e.Math.min(n.a,t.a)-i/2,e.Math.min(n.b,t.b)-i/2,e.Math.abs(n.a-t.a)+i,e.Math.abs(n.b-t.b)+i)}function mrn(n){var t;this.d=new Tm,this.j=new VM,this.g=new VM,t=n.g.b,this.f=YR(phn(gU(t),(NEn(),x4n)),88),this.e=vy(V$(zrn(t,g5n)))}function vrn(n){this.d=new Tm,this.e=new vQ,this.c=eZ(Qdt,qPn,28,(Djn(),o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht])).length,15,1),this.b=n}function krn(n,t,e){var i;switch(i=e[n.g][t],n.g){case 1:case 3:return new xC(0,i);case 2:case 4:return new xC(i,0);default:return null}}function yrn(n,t,e){var i;i=YR(Wq(t.f),205);try{i.rf(n,e),MU(t.f,i)}catch(n){throw hL(n=z5(n),103),Nm(n)}}function Mrn(n,t,e){var i,r,c,a;return i=null,(c=OTn(y3(),t))&&(r=null,null!=(a=mTn(c,e))&&(r=n.qf(c,a)),i=r),i}function Trn(n,t,e,i){var r;if(t>=(r=n.length))return r;for(t=t>0?t:0;ti&&_H(t,i,null),t}function Ern(n,t){var e,i;for(i=n.a.length,t.lengthi&&_H(t,i,null),t}function Srn(n,t){var e,i;++n.j,null!=t&&function(n,t){var e,i,r;if(GI(n)===GI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e>24}return e}(kMn(n,!0))))throw Nm(new Ry("Invalid hexBinary value: '"+n+"'"));return t}function Crn(n,t,e){var i;t.a.length>0&&(LL(n.b,new nK(t.a,e)),0<(i=t.a.length)?t.a=qq(t.a,0,0):0>i&&(t.a+=vL(eZ(Wdt,IPn,28,-i,15,1))))}function Irn(n,t,e){var i;if(!e[t.d])for(e[t.d]=!0,i=new mw(f7(t));i.a=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e=0?n.Wh(r):Nbn(n,i):e<0?Nbn(n,i):YR(i,69).wk().Bk(n,n.hi(),e)}function Hrn(n){var t,e;for(!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),t=(e=n.o).c.Kc();t.e!=t.i.gc();)YR(t.Yj(),44).md();return nZ(e)}function Urn(n){var t;if(hL(n.a,4)){if(null==(t=qin(n.a)))throw Nm(new Oy(RRn+n.b+"'. "+NRn+(Q$(Olt),Olt.k)+$Rn));return t}return n.a}function Grn(n){var t;try{return t=n.i.Xb(n.e),n.Xj(),n.g=n.e++,t}catch(t){throw hL(t=z5(t),77)?(n.Xj(),Nm(new av)):Nm(t)}}function qrn(n){var t;try{return t=n.c.Vi(n.e),n.Xj(),n.g=n.e++,t}catch(t){throw hL(t=z5(t),77)?(n.Xj(),Nm(new av)):Nm(t)}}function Xrn(n){var t,e,i,r;for(r=0,e=0,i=n.length;e=64&&t<128&&(r=Gz(r,$_(1,t-64)));return r}function zrn(n,t){var e,i;return i=null,w$(n,(zEn(),Sut))&&(e=YR(phn(n,Sut),96)).pf(t)&&(i=e.of(t)),null==i&&gU(n)&&(i=phn(gU(n),t)),i}function Vrn(n,t){var e;return e=YR(phn(n,(NEn(),u6n)),75),fL(t,nQn)?e?GG(e):(e=new ik,L8(n,u6n,e)):e&&L8(n,u6n,null),e}function Wrn(){Wrn=E,zEn(),Yzn=Mut,Xzn=mot,Bzn=tot,zzn=qot,nun(),Qzn=nXn,Wzn=Yqn,Jzn=eXn,Vzn=Jqn,r7(),Uzn=Rzn,Hzn=xzn,Gzn=Fzn,qzn=_zn}function Qrn(n){switch(pE(),this.c=new Tm,this.d=n,n.g){case 0:case 2:this.a=RU(qWn),this.b=mCn;break;case 3:case 1:this.a=qWn,this.b=vCn}}function Jrn(n,t,e){var i;if(n.c)B2(n.c,n.c.i+t),H2(n.c,n.c.j+e);else for(i=new mw(n.b);i.a>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return JT(a=c[h++])&&JT(o=c[h++])?(t=fdt[a],e=fdt[o],u=c[h++],s=c[h++],-1==fdt[u]||-1==fdt[s]?61==u&&61==s?15&e?null:(oyn(f,0,g=eZ(Zdt,nFn,28,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=u&&61==s?3&(i=fdt[u])?null:(oyn(f,0,g=eZ(Zdt,nFn,28,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=fdt[u],r=fdt[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}(kMn(n,!0))))throw Nm(new Ry("Invalid base64Binary value: '"+n+"'"));return t}function Zrn(n,t){var e;e=n.fd(t);try{return e.Pb()}catch(n){throw hL(n=z5(n),112)?Nm(new Ey("Can't get element "+t)):Nm(n)}}function ncn(n,t){var e,i,r;for(e=n.o,r=YR(YR(KJ(n.r,t),21),87).Kc();r.Ob();)(i=YR(r.Pb(),117)).e.a=ton(i,e.a),i.e.b=e.b*vy(V$(i.b.of(uzn)))}function tcn(n){var t;return(t=new Zy).a+="n",n.k!=(Zhn(),hQn)&&cO(cO((t.a+="(",t),g$(n.k).toLowerCase()),")"),cO((t.a+="_",t),eon(n)),t.a}function ecn(n,t){var e;switch(e=YR(zU(n.b,t),127).n,t.g){case 1:n.t>=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function icn(){icn=E,m8n=new IP(gDn,0),d8n=new IP(ALn,1),g8n=new IP("LINEAR_SEGMENTS",2),w8n=new IP("BRANDES_KOEPF",3),p8n=new IP(dDn,4)}function rcn(){rcn=E,Czn=new NS(iOn,0),Pzn=new NS(rOn,1),Izn=new NS(cOn,2),Ozn=new NS(aOn,3),Czn.a=!1,Pzn.a=!0,Izn.a=!1,Ozn.a=!0}function ccn(){ccn=E,gzn=new AS(iOn,0),dzn=new AS(rOn,1),pzn=new AS(cOn,2),mzn=new AS(aOn,3),gzn.a=!1,dzn.a=!0,pzn.a=!1,mzn.a=!0}function acn(n,t,e,i){var r;return e>=0?n.Sh(t,e,i):(n.Ph()&&(i=(r=n.Fh())>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i)),n.Ch(t,e,i))}function ocn(n,t){switch(t){case 7:return!n.e&&(n.e=new Mx(elt,n,7,4)),void nTn(n.e);case 8:return!n.d&&(n.d=new Mx(elt,n,8,5)),void nTn(n.d)}Gen(n,t)}function ucn(n,t,e){return null==e?(!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),Fin(n.o,t)):(!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),kun(n.o,t,e)),n}function scn(n,t){var e,i,r,c;for(iq(),e=n,c=t,hL(n,21)&&!hL(t,21)&&(e=t,c=n),r=e.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function hcn(n,t,e,i){if(t.ae.b)return!0}return!1}function fcn(n,t){return qI(n)?!!sSn[t]:n.Sm?!!n.Sm[t]:zI(n)?!!uSn[t]:!!XI(n)&&!!oSn[t]}function lcn(n,t){var i,r,c;for(c=n,r=new __(dN(_tn(t).a.Kc(),new h));Hwn(r);)(i=YR(TJ(r),18)).c.i.c&&(c=e.Math.max(c,i.c.i.c.p));return c}function bcn(n){var t,e,i;if(e=0,0==(i=Fpn(n)).c.length)return 1;for(t=new mw(i);t.a=0?n.Lh(a,e,!0):qbn(n,c,e):YR(c,69).wk().yk(n,n.hi(),r,e,i)}function pcn(n){var t,e;if(null==n)return null;for(e=eZ(lQn,USn,199,n.length,0,2),t=0;t=0)return i;if(n.ol())for(e=0;e=(r=n.gc()))throw Nm(new Ex(t,r));if(n.Si()&&(i=n.dd(e))>=0&&i!=t)throw Nm(new Iy(BFn));return n.Xi(t,e)}function ycn(n,t){if(this.a=YR(CH(n),253),this.b=YR(CH(t),253),n.Ed(t)>0||n==(Ak(),pUn)||t==(Lk(),mUn))throw Nm(new Iy("Invalid range: "+WW(n,t)))}function Mcn(n){var t,e;for(this.b=new Tm,this.c=n,this.a=!1,e=new mw(n.a);e.a0)for(i=new Wx(YR(KJ(n.a,c),21)),iq(),BA(i,new wd(t)),r=new $V(c.b,0);r.b0),(t&-t)==t)return bX(t*tgn(n,31)*4.656612873077393e-10);do{i=(e=tgn(n,31))%t}while(e-i+(t-1)<0);return bX(i)}function Acn(n,t,e,i){var r,c;for(r=t;r1&&(r=function(n,t){var e,i,r;for(e=NN(new Tv,n),r=new mw(t);r.a(u=null==n.d?0:n.d.length)){for(h=n.d,n.d=eZ(Elt,__n,66,2*u+4,0,1),c=0;c102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Zcn(n,t){if(null==n)throw Nm(new Ly("null key in entry: null="+t));if(null==t)throw Nm(new Ly("null value in entry: "+n+"=null"))}function nan(n,t){var i;return i=o8(sM(ngt,1),ECn,28,15,[g7(n.a[0],t),g7(n.a[1],t),g7(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function tan(n,t){var i;return i=o8(sM(ngt,1),ECn,28,15,[p7(n.a[0],t),p7(n.a[1],t),p7(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function ean(n,t,e){Nx(YR(phn(t,(NEn(),X6n)),101))||(tJ(n,t,pfn(t,e)),tJ(n,t,pfn(t,(Djn(),$ht))),tJ(n,t,pfn(t,pht)),iq(),BA(t.j,new wg(n)))}function ian(n){var t,i;for(n.c||function(n){var t,i,r,c,a,o;if(c=new $V(n.e,0),r=new $V(n.a,0),n.d)for(i=0;iODn;){for(a=t,o=0;e.Math.abs(t-a)0),c.a.Xb(c.c=--c.b),syn(n,n.b-o,a,r,c),Y$(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(i=0;i=0){for(u=null,o=new $V(h.a,s+1);o.b0&&s[r]&&(d=WA(n.b,s[r],c)),g=e.Math.max(g,c.c.c.b+d);for(a=new mw(f.e);a.ay)?(s=2,o=dSn):0==s?(s=1,o=T):(s=0,o=T):(b=T>=o||o-T0?(f=YR(wF(l.c.a,a-1),10),j=WA(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+j)):g=l.n.b-l.d.d,s=e.Math.min(g,s),ac&&_H(t,c,null),t}function Man(n,t){var e,i,r;return e=t.ld(),r=t.md(),i=n.xc(e),!(!(GI(r)===GI(i)||null!=r&&Snn(r,i))||null==i&&!n._b(e))}function Tan(n,t,e,i){var r,c;this.a=t,this.c=i,function(n,t){n.b=t}(this,new xC(-(r=n.a).c,-r.d)),fx(this.b,e),c=i/2,t.a?S$(this.b,0,c):S$(this.b,c,0),LL(n.c,this)}function jan(n,t,e,i){var r;this.c=n,this.d=t,kQ(r=new qj,e,r.c.b,r.c),this.a=r,this.b=YR(phn(i,(fyn(),ntt)),88),this.e=vy(V$(phn(i,vtt))),UEn(this)}function Ean(){Ean=E,Wet=new gC(BAn,0),zet=new gC($Ln,1),Vet=new gC("EDGE_LENGTH_BY_POSITION",2),Xet=new gC("CROSSING_MINIMIZATION_BY_POSITION",3)}function San(n,t){var e,i;if(e=YR(D2(n.g,t),27))return e;if(i=YR(D2(n.j,t),123))return i;throw Nm(new xy("Referenced shape does not exist: "+t))}function Pan(n,t){var e;if(hL(t,253)){e=YR(t,253);try{return 0==n.Ed(e)}catch(n){if(hL(n=z5(n),212))return!1;throw Nm(n)}}return!1}function Can(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw Nm(new Iy("Node 'one' must be either source or target of edge 'edge'."))}function Ian(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw Nm(new Iy("Node "+t+" is neither source nor target of edge "+n))}function Oan(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b0&&(u+=r),s[h]=a,a+=o*(u+i)}function Lan(n){var t,e,i;for(i=n.f,n.n=eZ(ngt,ECn,28,i,15,1),n.d=eZ(ngt,ECn,28,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function _an(n,t){var i;return i=o8(sM(ngt,1),ECn,28,15,[Icn(n,(k2(),vXn),t),Icn(n,kXn,t),Icn(n,yXn,t)]),n.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function Ban(n,t,e){try{evn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw hL(n=z5(n),77)?Nm(new Ey(n.g+lOn+t+vSn+e+").")):Nm(n)}}function Han(n,t,e){try{evn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw hL(n=z5(n),77)?Nm(new Ey(n.g+lOn+t+vSn+e+").")):Nm(n)}}function Uan(n){var t;w$(n,(NEn(),M6n))&&((t=YR(phn(n,M6n),21)).Hc((bdn(),Rst))?(t.Mc(Rst),t.Fc(Fst)):t.Hc(Fst)&&(t.Mc(Fst),t.Fc(Rst)))}function Gan(n){var t;w$(n,(NEn(),M6n))&&((t=YR(phn(n,M6n),21)).Hc((bdn(),Gst))?(t.Mc(Gst),t.Fc(Hst)):t.Hc(Hst)&&(t.Mc(Hst),t.Fc(Gst)))}function qan(n,t,e,i){var r,c,a;return null==n.a&&function(n,t){var e,i,r,c;for(c=t.b.j,n.a=eZ(Qdt,qPn,28,c.c.length,15,1),r=0,i=0;i0&&(c.b+=t),c}function Wan(n,t){var i,r,c;for(c=new VM,r=n.Kc();r.Ob();)hvn(i=YR(r.Pb(),36),0,c.b),c.b+=i.f.b+t,c.a=e.Math.max(c.a,i.f.a);return c.a>0&&(c.a+=t),c}function Qan(n){var t,i,r;for(r=dSn,i=new mw(n.a);i.a>16==6?n.Cb.Th(n,5,olt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function non(n){var t,i,r;n.b==n.c&&(r=n.a.length,i=I8(e.Math.max(8,r))<<1,0!=n.b?(P4(n,t=XD(n.a,i),r),n.a=t,n.b=0):fv(n.a,i),n.c=r)}function ton(n,t){var e;return(e=n.b).pf((zEn(),rut))?e.ag()==(Djn(),xht)?-e.Mf().a-vy(V$(e.of(rut))):t+vy(V$(e.of(rut))):e.ag()==(Djn(),xht)?-e.Mf().a:t}function eon(n){var t;return 0!=n.b.c.length&&YR(wF(n.b,0),72).a?YR(wF(n.b,0),72).a:null!=(t=dG(n))?t:""+(n.c?y1(n.c.a,n,0):-1)}function ion(n){var t;return 0!=n.f.c.length&&YR(wF(n.f,0),72).a?YR(wF(n.f,0),72).a:null!=(t=dG(n))?t:""+(n.i?y1(n.i.j,n,0):-1)}function ron(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e0?n.c:0),c=e.Math.max(c,t.d),++r;n.e=a,n.b=c}function oon(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),n.o):(!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),nZ(n.o)):gcn(n,t,e,i)}function uon(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&oCn,n.m=i&oCn,n.h=r&uCn,0)))}function fon(n,t,e,i,r,c,a){var o,u;return!(t.Te()&&(u=n.a.Ne(e,i),u<0||!r&&0==u)||t.Ue()&&(o=n.a.Ne(e,c),o>0||!a&&0==o))}function lon(n,t,e){var i,r;return y7(r=new wk,t),U4(r,e),wZ((!n.c&&(n.c=new oB(wbt,n,12,10)),n.c),r),z2(i=r,0),V2(i,1),$nn(i,!0),Ann(i,!0),i}function bon(n,t){var e,i;if(t>=n.i)throw Nm(new EO(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&oyn(n.g,t+1,n.g,t,i),_H(n.g,--n.i,null),n.Qi(t,e),n.Ni(),e}function won(n,t){var e;return n.Db>>16==17?n.Cb.Th(n,21,abt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function don(n){var t,e,i,r,c;for(r=dSn,c=null,i=new mw(n.d);i.ae.a.c.length))throw Nm(new Iy("index must be >= 0 and <= layer node count"));n.c&&p1(n.c.a,n),n.c=e,e&&n_(e.a,t,n)}function Eon(n,t){var e,i,r;for(i=new __(dN(Ftn(n).a.Kc(),new h));Hwn(i);)return e=YR(TJ(i),18),new Bl(CH((r=YR(t.Kb(e),10)).n.b+r.o.b/2));return Ok(),Ok(),sUn}function Son(n,t){this.c=new Mm,this.a=n,this.b=t,this.d=YR(phn(n,(XEn(),d0n)),312),GI(phn(n,(NEn(),T6n)))===GI((ZZ(),PZn))?this.e=new Bv:this.e=new _v}function Pon(n,t){var e,i;return i=null,n.pf((zEn(),Sut))&&(e=YR(n.of(Sut),96)).pf(t)&&(i=e.of(t)),null==i&&n.Tf()&&(i=n.Tf().of(t)),null==i&&(i=Urn(t)),i}function Con(n,t){var e,i;e=n.fd(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw hL(n=z5(n),112)?Nm(new Ey("Can't remove element "+t)):Nm(n)}}function Ion(n,t){var e,i,r;for(jU(t),J$(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),LL(n.b,jU(e));return r!=n.b.c.length&&(x9(n,0),!0)}function Oon(){Oon=E,zEn(),eWn=Sot,new SA(bot,(GN(),!0)),cWn=xot,aWn=Fot,oWn=Bot,rWn=$ot,uWn=Got,sWn=sut,gon(),tWn=QVn,ZVn=zVn,nWn=WVn,iWn=JVn,YVn=XVn}function Aon(n,t,e,i){var r,c,a;for(sz(t,YR(i.Xb(0),30)),a=i.kd(1,i.gc()),c=YR(e.Kb(t),20).Kc();c.Ob();)Aon(n,(r=YR(c.Pb(),18)).c.i==t?r.d.i:r.c.i,e,a)}function Lon(n){var t;return t=new Mm,w$(n,(XEn(),k0n))?YR(phn(n,k0n),85):(Zj(uG(new CF(null,new Fz(n.j,16)),new tr),new qd(t)),L8(n,k0n,t),t)}function Non(n,t){var i,r,c,a,o;for(r=0,c=0,i=0,o=new mw(n);o.a0?t:0),++i;return new xC(r,c)}function $on(n,t){var e;return n.Db>>16==6?n.Cb.Th(n,6,elt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(pEn(),Rft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Don(n,t){var e;return n.Db>>16==7?n.Cb.Th(n,1,Zft,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(pEn(),Fft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function xon(n,t){var e;return n.Db>>16==9?n.Cb.Th(n,9,slt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(pEn(),Bft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Ron(n,t){var e;return n.Db>>16==5?n.Cb.Th(n,9,hbt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(YEn(),Sbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Kon(n,t){var e;return n.Db>>16==7?n.Cb.Th(n,6,olt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(YEn(),Dbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Fon(n,t){var e;return n.Db>>16==3?n.Cb.Th(n,0,rlt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(YEn(),vbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function _on(){this.a=new ss,this.g=new Bcn,this.j=new Bcn,this.b=new Mm,this.d=new Bcn,this.i=new Bcn,this.k=new Mm,this.c=new Mm,this.e=new Mm,this.f=new Mm}function Bon(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;rSCn)return Hon(n,i);if(i==n)return!0}}return!1}function Uon(n,t){var i,r,c;for(p1(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=sxn,r=new mw(n.a);r.a>16==3?n.Cb.Th(n,12,slt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(pEn(),xft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function qon(n,t){var e;return n.Db>>16==11?n.Cb.Th(n,10,slt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(pEn(),_ft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Xon(n,t){var e;return n.Db>>16==10?n.Cb.Th(n,11,abt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(YEn(),Nbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function zon(n,t){var e;return n.Db>>16==10?n.Cb.Th(n,12,bbt,t):(e=Kcn(YR(_0(YR(h5(n,16),29)||(YEn(),xbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Von(n){var t;return 1&n.Bb||!n.r||!n.r.Vh()||(t=YR(n.r,54),n.r=YR(z7(n,t),142),n.r!=t&&4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,9,8,t,n.r))),n.r}function Won(n,t,i){var r;return r=o8(sM(ngt,1),ECn,28,15,[rhn(n,(k2(),vXn),t,i),rhn(n,kXn,t,i),rhn(n,yXn,t,i)]),n.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function Qon(n,t){var e,i,r;if(0!=(r=function(n,t){var e,i,r;for(r=new gY(t.gc()),i=t.Kc();i.Ob();)(e=YR(i.Pb(),293)).c==e.f?Bfn(n,e,e.c):Dfn(n,e)||Fm(r.c,e);return r}(n,t)).c.length)for(BA(r,new ti),e=r.c.length,i=0;i>19)!=(o=t.h>>19)?o-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function nun(){nun=E,Emn(),eXn=new SO(OIn,iXn=hXn),O0(),nXn=new SO(AIn,tXn=Vqn),xrn(),Yqn=new SO(LIn,Zqn=Gqn),Jqn=new SO(NIn,(GN(),!0))}function tun(n,t,e){var i,r;i=t*e,hL(n.g,154)?(r=OW(n)).f.d?r.f.a||(n.d.a+=i+WIn):(n.d.d-=i+WIn,n.d.a+=i+WIn):hL(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function eun(n,t,i){var r,c,a,o,u;for(c=n[i.g],u=new mw(t.d);u.a0?n.b:0),++i;t.b=r,t.e=c}function run(n){var t,e,i;if(i=n.b,Fj(n.i,i.length)){for(e=2*i.length,n.b=eZ(TUn,uPn,303,e,0,1),n.c=eZ(TUn,uPn,303,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)ebn(n,t,t);++n.g}}function cun(n,t){return n.b.a=e.Math.min(n.b.a,t.c),n.b.b=e.Math.min(n.b.b,t.d),n.a.a=e.Math.max(n.a.a,t.c),n.a.b=e.Math.max(n.a.b,t.d),Fm(n.c,t),!0}function aun(n,t,e){var i;(i=t.c.i).k==(Zhn(),sQn)?(L8(n,(XEn(),V1n),YR(phn(i,V1n),12)),L8(n,W1n,YR(phn(i,W1n),12))):(L8(n,(XEn(),V1n),t.c),L8(n,W1n,e.d))}function oun(n,t,i){var r,c,a,o,u,s;return Ypn(),o=t/2,a=i/2,u=1,s=1,(r=e.Math.abs(n.a))>o&&(u=o/r),(c=e.Math.abs(n.b))>a&&(s=a/c),AL(n,e.Math.min(u,s)),n}function uun(){Ij.call(this),this.e=-1,this.a=!1,this.p=kPn,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=kPn}function sun(){sun=E,dWn=v_(iF(iF(iF(new AU,(mhn(),yWn),(VEn(),eJn)),yWn,aJn),MWn,bJn),MWn,GQn),pWn=iF(iF(new AU,yWn,$Qn),yWn,qQn),gWn=v_(new AU,MWn,zQn)}function hun(n,t){var e,i,r,c;for(c=new Mm,t.e=null,t.f=null,i=new mw(t.i);i.a0)try{i=akn(t,kPn,dSn)}catch(n){throw hL(n=z5(n),130)?Nm(new E1(n)):Nm(n)}return!n.a&&(n.a=new dm(n)),i<(e=n.a).i&&i>=0?YR(g2(e,i),58):null}(n,0==(r=t.c.length)?"":(Rz(0,t.c.length),W$(t.c[0]))),i=1;i0&&(r=Xbn(n,(c&dSn)%n.d.length,c,t))?r.nd(e):(i=n.ck(c,t,e),n.c.Fc(i),null)}function yun(n,t){var e,i,r,c;switch(ynn(n,t).Kl()){case 3:case 2:for(r=0,c=(e=lMn(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/X7(2.718281828459045,n))}function Tun(n,t){var e;if(n.Yi()&&null!=t){for(e=0;e0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=e.Math.min(r,c))}function Iun(n){var t;t=YR(phn(YR(Zrn(n.b,0),40),(fyn(),ltt)),107),L8(n,(Ajn(),dnt),new xC(0,0)),Qvn(new lY,n,t.b+t.c-vy(V$(phn(n,Mnt))),t.d+t.a-vy(V$(phn(n,jnt))))}function Oun(n,t){var e;if(e=!1,qI(t)&&(e=!0,zH(n,new IH(W$(t)))),e||hL(t,242)&&(e=!0,zH(n,new Eb(Xx(YR(t,242))))),!e)throw Nm(new Py(TFn))}function Aun(n){var t,e;switch(YR(phn(gU(n),(NEn(),o6n)),429).g){case 0:return t=n.n,e=n.o,new xC(t.a+e.a/2,t.b+e.b/2);case 1:return new YO(n.n);default:return null}}function Lun(){Lun=E,$Zn=new vP(BAn,0),NZn=new vP("LEFTUP",1),xZn=new vP("RIGHTUP",2),LZn=new vP("LEFTDOWN",3),DZn=new vP("RIGHTDOWN",4),AZn=new vP("BALANCED",5)}function Nun(n,t,e){switch(t){case 1:return!n.n&&(n.n=new oB(ult,n,1,7)),nTn(n.n),!n.n&&(n.n=new oB(ult,n,1,7)),void uH(n.n,YR(e,16));case 2:return void Y3(n,W$(e))}g9(n,t,e)}function $un(n,t,e){switch(t){case 3:return void F2(n,vy(V$(e)));case 4:return void _2(n,vy(V$(e)));case 5:return void B2(n,vy(V$(e)));case 6:return void H2(n,vy(V$(e)))}Nun(n,t,e)}function Dun(n,t,e){var i,r;(i=Jsn(r=new wk,t,null))&&i.oj(),U4(r,e),wZ((!n.c&&(n.c=new oB(wbt,n,12,10)),n.c),r),z2(r,0),V2(r,1),$nn(r,!0),Ann(r,!0)}function xun(n,t){var e,i;return hL(e=oS(n.i,t),241)?((i=YR(e,241)).zi(),i.wi()):hL(e,507)?i=YR(e,2037).b:null}function Run(n,t,e,i){var r,c;return CH(t),CH(e),D1(!!(c=YR(qx(n.d,t),17)),"Row %s not in %s",t,n.e),D1(!!(r=YR(qx(n.b,e),17)),"Column %s not in %s",e,n.c),a8(n,c.a,r.a,i)}function Kun(n,t,e,i,r,c,a){var o,u,s,h,f;if(f=xan(o=(s=c==a-1)?i:0,h=r[c]),10!=i&&o8(sM(n,a-c),t[c],e[c],o,f),!s)for(++c,u=0;u1||-1==o?(c=YR(u,15),r.Wb(function(n,t){var e,i,r;for(i=new gY(t.gc()),e=t.Kc();e.Ob();)(r=nkn(n,YR(e.Pb(),58)))&&Fm(i.c,r);return i}(n,c))):r.Wb(nkn(n,YR(u,58))))}function Qun(n,t){var e,i,r;for(r=new ow(new tw(n.b).a.vc().Kc());r.a.Ob();)if(e=YR(r.a.Pb(),44),i=YR(e.ld(),34),KO(t,YR(i,17))<0)return!1;return!0}function Jun(n,t){var e,i,r;for(r=new ow(new tw(n.b).a.vc().Kc());r.a.Ob();)if(e=YR(r.a.Pb(),44),i=YR(e.ld(),34),KO(t,YR(i,17))>0)return!1;return!0}function Yun(n){switch(YR(phn(n.b,(NEn(),X4n)),387).g){case 1:Zj(sG(c0(new CF(null,new Fz(n.d,16)),new Vr),new Wr),new Qr);break;case 2:!function(n){var t,e,i,r,c,a,o;for(i=0,o=0,a=new mw(n.d);a.a=n.f)break;Fm(c.c,e)}return c}function ssn(n,t){var e,i,r;for(i=new mw(t.a);i.a0&&pon(this,this.c-1,(Djn(),ght)),this.c0&&n[0].length>0&&(this.c=my(z$(phn(gU(n[0][0]),(XEn(),G1n))))),this.a=eZ(L9n,USn,2117,n.length,0,2),this.b=eZ(K9n,USn,2118,n.length,0,2),this.d=new C7}function vsn(n){return 0!=n.c.length&&((Rz(0,n.c.length),YR(n.c[0],18)).c.i.k==(Zhn(),sQn)||sJ(sG(new CF(null,new Fz(n,16)),new xc),new Rc))}function ksn(n,t){var i,r,c,a,o,u;for(o=Fpn(t),c=t.f,u=t.g,a=e.Math.sqrt(c*c+u*u),r=0,i=new mw(o);i.a=0?(e=jun(n,lCn),i=iin(n,lCn)):(e=jun(t=x_(n,1),5e8),i=Ltn($_(i=iin(t,5e8),1),Uz(n,1))),Gz($_(i,32),Uz(e,CCn))}function Nsn(n,t,e){var i;switch(Y$(0!=t.b),i=YR(a2(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return nH(Drn(t,0),i),t}function $sn(n,t,e,i){var r,c,a,o,u;switch(u=n.b,o=krn(a=(c=t.d).j,u.d[a.g],e),r=fx(aL(c.n),c.a),c.j.g){case 1:case 3:o.a+=r.a;break;case 2:case 4:o.b+=r.b}kQ(i,o,i.c.b,i.c)}function Dsn(n,t,e){var i,r,c,a;for(a=y1(n.e,t,0),(c=new Rv).b=e,i=new $V(n.e,a);i.b=0;t--)sqn[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)uqn[n]=e,e*=.5}function Rsn(n){var t,e;if(my(z$(ldn(n,(NEn(),r6n)))))for(e=new __(dN(Ydn(n).a.Kc(),new h));Hwn(e);)if(xbn(t=YR(TJ(e),74))&&my(z$(ldn(t,c6n))))return!0;return!1}function Ksn(n,t){var e,i,r;$B(n.f,t)&&(t.b=n,i=t.c,-1!=y1(n.j,i,0)||LL(n.j,i),r=t.d,-1!=y1(n.j,r,0)||LL(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new mrn(n)),function(n,t){var e,i;for(i=new mw(t);i.a0&&oyn(n.g,t,n.g,t+i,o),a=e.Kc(),n.i+=i,r=0;r=TCn?(t=jCn+(n-TCn>>10&1023)&APn,e=56320+(n-TCn&1023)&APn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&APn)}function thn(n,t,e,i,r){var c,a,o;for(c=Bpn(n,t,e,i,r),o=!1;!c;)Edn(n,r,!0),o=!0,c=Bpn(n,t,e,i,r);o&&Edn(n,r,!1),0!=(a=d8(r)).c.length&&(n.d&&n.d.Gg(a),thn(n,r,e,i,a))}function ehn(){ehn=E,wst=new GC(BAn,0),lst=new GC("DIRECTED",1),dst=new GC("UNDIRECTED",2),hst=new GC("ASSOCIATION",3),bst=new GC("GENERALIZATION",4),fst=new GC("DEPENDENCY",5)}function ihn(n,t){var e,i;for(jU(t),i=n.b.c.length,LL(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.Ne(wF(n.b,i),t)<=0)return nJ(n.b,e,t),!0;nJ(n.b,e,wF(n.b,i))}return nJ(n.b,i,t),!0}function rhn(n,t,i,r){var c,a;if(c=0,i)c=p7(n.a[i.g][t.g],r);else for(a=0;a=a)}function ahn(n){switch(n.g){case 0:return new Uo;case 1:return new qo;default:throw Nm(new Iy("No implementation is available for the width approximator "+(null!=n.f?n.f:""+n.g)))}}function ohn(n,t,e,i){var r;if(r=!1,qI(i)&&(r=!0,xK(t,e,W$(i))),r||XI(i)&&(r=!0,ohn(n,t,e,i)),r||hL(i,242)&&(r=!0,fq(t,e,YR(i,242))),!r)throw Nm(new Py(TFn))}function uhn(n,t){var e,i,r,c;if(jU(t),(c=n.a.gc())=OPn?"error":"warn",n.a),n.b&&Hgn(t,e,n.b,"Exception: ",!0))}function phn(n,t){var e,i;return!n.q&&(n.q=new Mm),null!=(i=KH(n.q,t))?i:(hL(e=t.Sg(),4)&&(null==e?(!n.q&&(n.q=new Mm),XJ(n.q,t)):(!n.q&&(n.q=new Mm),xU(n.q,t,e))),e)}function mhn(){mhn=E,mWn=new RS("P1_CYCLE_BREAKING",0),vWn=new RS("P2_LAYERING",1),kWn=new RS("P3_NODE_ORDERING",2),yWn=new RS("P4_NODE_PLACEMENT",3),MWn=new RS("P5_EDGE_ROUTING",4)}function vhn(n,t){var e;if(N0(),n.c==t.c){if(n.b==t.b||function(n,t){return h8(),n==$Wn&&t==RWn||n==RWn&&t==$Wn||n==xWn&&t==DWn||n==DWn&&t==xWn}(n.b,t.b)){if(e=function(n){return n==$Wn||n==RWn}(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return qA(n.b.g,t.b.g)}return dtn(n.c,t.c)}function khn(n,t){var e,i;if(Ohn(n,t))return!0;for(i=new mw(t);i.a=(r=n.Ej())||t<0)throw Nm(new Ey(HFn+t+UFn+r));if(e>=r||e<0)throw Nm(new Ey(GFn+e+UFn+r));return t!=e?(c=n.Cj(e),n.qj(t,c),i=c):i=n.xj(e),i}function Chn(n){var t,e,i;if(i=n,n)for(t=0,e=n.Eh();e;e=e.Eh()){if(++t>SCn)return Chn(e);if(i=e,e==n)throw Nm(new Oy("There is a cycle in the containment hierarchy of "+n))}return i}function Ihn(n){var t,e,i;for(i=new E5(vSn,"[","]"),e=n.Kc();e.Ob();)qJ(i,GI(t=e.Pb())===GI(n)?"(this Collection)":null==t?ESn:Jtn(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Ohn(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;e1&&(n.j.b+=n.e)):(n.j.a+=i.a,n.j.b=e.Math.max(n.j.b,i.b),n.d.c.length>1&&(n.j.a+=n.e))}function $hn(){$hn=E,gYn=o8(sM(Vht,1),UAn,64,0,[(Djn(),pht),ght,$ht]),dYn=o8(sM(Vht,1),UAn,64,0,[ght,$ht,xht]),pYn=o8(sM(Vht,1),UAn,64,0,[$ht,xht,pht]),mYn=o8(sM(Vht,1),UAn,64,0,[xht,pht,ght])}function Dhn(n,t,e,i){var r,c,a,o,u;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(u=n.b,r=c.j,o=null;r!=a.j;)o=0==t?ttn(r):Znn(r),UK(i,fx(krn(r,u.d[r.g],e),krn(o,u.d[o.g],e))),r=o}function xhn(n,t,e,i){var r,c,a,o,u;return o=YR((a=von(n.a,t,e)).a,17).a,c=YR(a.b,17).a,i&&(u=YR(phn(t,(XEn(),o0n)),10),r=YR(phn(e,o0n),10),u&&r&&(GW(n.b,u,r),o+=n.b.i,c+=n.b.e)),o>c}function Rhn(n){var t,e,i,r,c,a,o,u;for(this.a=pcn(n),this.b=new Tm,i=0,r=(e=n).length;i0&&(n.a[U.p]=Y++)}for(rn=0,$=0,R=(A=i).length;$0;){for(Y$(z.b>0),X=0,u=new mw((U=YR(z.a.Xb(z.c=--z.b),12)).e);u.a0&&(U.j==(Djn(),pht)?(n.a[U.p]=rn,++rn):(n.a[U.p]=rn+K+_,++_))}rn+=_}for(q=new Mm,d=new XO,L=0,D=(I=t).length;Lh.b&&(h.b=V)):U.i.c==J&&(Vh.c&&(h.c=V));for(KZ(g,0,g.length,null),en=eZ(Qdt,qPn,28,g.length,15,1),r=eZ(Qdt,qPn,28,rn+1,15,1),m=0;m0;)j%2>0&&(c+=on[j+1]),++on[j=(j-1)/2|0];for(S=eZ(V9n,ySn,374,2*g.length,0,1),y=0;ygD(n.d).c?(n.i+=n.g.c,ain(n.d)):gD(n.d).c>gD(n.g).c?(n.e+=n.d.c,ain(n.g)):(n.i+=$F(n.g),n.e+=$F(n.d),ain(n.g),ain(n.d))}function Hhn(n,t,i,r){n.a.d=e.Math.min(t,i),n.a.a=e.Math.max(t,r)-n.a.d,tu&&(s=u/r),(c=e.Math.abs(t.b-n.b))>a&&(h=a/c),o=e.Math.min(s,h),n.a+=o*(t.a-n.a),n.b+=o*(t.b-n.b)}function Vhn(n,t,e,i,r){var c,a;for(a=!1,c=YR(wF(e.b,0),27);$yn(n,t,c,i,r)&&(a=!0,qun(e,c),0!=e.b.c.length);)c=YR(wF(e.b,0),27);return 0==e.b.c.length&&Uon(e.j,e),a&&Fan(t.q),a}function Whn(n,t){var e,i,r,c;if(Ypn(),t.b<2)return!1;for(i=e=YR(yW(c=Drn(t,0)),8);c.b!=c.d.c;){if(jgn(n,i,r=YR(yW(c),8)))return!0;i=r}return!!jgn(n,i,e)}function Qhn(n,t,e,i){return 0==e?(!n.o&&(n.o=new jZ((pEn(),Hft),ylt,n,0)),Hx(n.o,t,i)):YR(_0(YR(h5(n,16),29)||n.ii(),e),69).wk().Ak(n,Xin(n),e-xH(n.ii()),t,i)}function Jhn(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=YR(n.sb,54).Th(n,1,clt,e)),t&&(e=YR(t,54).Rh(n,1,clt,e)),(e=vnn(n,t,e))&&e.oj()):4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,4,t,t))}function Yhn(n,t){var e,i;i=YR(phn(t,(NEn(),X6n)),101),L8(t,(XEn(),r0n),i),(e=t.e)&&(Zj(new CF(null,new Fz(e.a,16)),new ld(n)),Zj(c0(new CF(null,new Fz(e.b,16)),new dt),new bd(n)))}function Zhn(){Zhn=E,hQn=new BS("NORMAL",0),sQn=new BS("LONG_EDGE",1),oQn=new BS("EXTERNAL_PORT",2),fQn=new BS("NORTH_SOUTH_PORT",3),uQn=new BS("LABEL",4),aQn=new BS("BREAKING_POINT",5)}function nfn(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<n)throw Nm(new Iy("k must be smaller than n"));return 0==t||t==n?1:0==n?0:Mun(n)/(Mun(t)*Mun(n-t))}function cfn(n,t){var e,i,r,c;for(e=new mA(n);null!=e.g||e.c?null==e.g||0!=e.i&&YR(e.g[e.i-1],51).Ob():xX(e);)if(hL(c=YR(Xdn(e),58),167))for(i=YR(c,167),r=0;r0&&mvn(n,e,t),r):function(n,t,e){var i,r,c;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?((c=K_(i.a,r.a))<0?mvn(n,t,e):c>0&&mvn(n,e,t),c):null!=i.a?(mvn(n,t,e),-1):null!=r.a?(mvn(n,e,t),1):0}(n,t,e)}function kfn(){kfn=E,zEn(),Ret=wut,Get=Aut,Oet=xot,Aet=Fot,Let=Bot,Iet=$ot,Net=Got,xet=sut,Ovn(),Pet=het,Cet=fet,Fet=met,Het=yet,_et=vet,Bet=ket,$et=wet,Det=get,Ket=pet,Uet=Met,qet=jet,Set=set}function yfn(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(function(n,t,e){var i;return(i=hMn(n,t,!1)).b<=t&&i.a<=e}(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=i.a,n.e.b=e.Math.max(n.e.b,i.b),n.d.c.length>1&&(n.e.a+=n.a))}function Pfn(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function Cfn(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function Ifn(n){if(hL(n,143))return function(n){var t,e,i,r,c;return c=Gsn(n),null!=n.a&&xK(c,"category",n.a),!QT(new tw(n.d))&&(K0(c,"knownOptions",i=new Pb),t=new Xp(i),JQ(new tw(n.d),t)),!QT(n.g)&&(K0(c,"supportedFeatures",r=new Pb),e=new zp(r),JQ(n.g,e)),c}(YR(n,143));if(hL(n,233))return function(n){var t,e,i;return i=Gsn(n),!QT(n.c)&&(K0(i,"knownLayouters",e=new Pb),t=new Vp(e),JQ(n.c,t)),i}(YR(n,233));if(hL(n,23))return function(n){var t,e,i;return i=Gsn(n),null!=n.e&&xK(i,DFn,n.e),!!n.k&&xK(i,"type",g$(n.k)),!QT(n.j)&&(e=new Pb,K0(i,dFn,e),t=new Wp(e),JQ(n.j,t)),i}(YR(n,23));throw Nm(new Iy(SFn+Ihn(new Fy(o8(sM(hUn,1),ySn,1,5,[n])))))}function Ofn(n,t,e,i){var r,c;if(t.k==(Zhn(),sQn))for(c=new __(dN(_tn(t).a.Kc(),new h));Hwn(c);)if((r=YR(TJ(c),18)).c.i.k==sQn&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function Afn(n,t,e,i){var r;this.b=i,this.e=n==(p3(),x9n),r=t[e],this.d=gF(Jdt,[USn,RIn],[183,28],16,[r.length,r.length],2),this.a=gF(Qdt,[USn,qPn],[53,28],15,[r.length,r.length],2),this.c=new psn(t,e)}function Lfn(n){var t,e,i;for(n.k=new Iz((Djn(),o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht])).length,n.j.c.length),i=new mw(n.j);i.a=e)return Bfn(n,t,i.p),!0;return!1}function xfn(n,t,e,i){var r,c,a,o,u,s;for(a=e.length,c=0,r=-1,s=f0((Kz(t,n.length+1),n.substr(t)),(tR(),eqn)),o=0;oc&&EB(s,f0(e[o],eqn))&&(r=o,c=u);return r>=0&&(i[0]=t+c),r}function Rfn(n){var t;return 64&n.Db?afn(n):(t=new yN(DKn),!n.a||cO(cO((t.a+=' "',t),n.a),'"'),cO(wT(cO(wT(cO(wT(cO(wT((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function Kfn(n,t,e){var i,r,c,a,o;for(o=rpn(n.e.Dh(),t),r=YR(n.g,124),i=0,a=0;a0&&Ufn(n,c,e));t.p=0}function Gfn(n){var t;this.c=new qj,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new Qx(t=YR(cT(mat),9),YR(XD(t,t.length),9),0),this.g=n.f}function qfn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i=0?n.ki(r):abn(n,i)}else Pnn(n,e,i)}function Wfn(n){var t,e;if(e=null,t=!1,hL(n,211)&&(t=!0,e=YR(n,211).a),t||hL(n,263)&&(t=!0,e=""+YR(n,263).a),t||hL(n,493)&&(t=!0,e=""+YR(n,493).a),!t)throw Nm(new Py(TFn));return e}function Qfn(n,t,e){var i,r,c,a,o,u;for(u=rpn(n.e.Dh(),t),i=0,o=n.i,r=YR(n.g,124),a=0;a=n.d.b.c.length&&((t=new qH(n.d)).p=i.p-1,LL(n.d.b,t),(e=new qH(n.d)).p=i.p,LL(n.d.b,e)),sz(i,YR(wF(n.d.b,i.p),30))}function aln(n,t,e){var i,r,c;if(!n.b[t.g]){for(n.b[t.g]=!0,!(i=e)&&(i=new lY),UK(i.b,t),c=n.a[t.g].Kc();c.Ob();)(r=YR(c.Pb(),65)).b!=t&&aln(n,r.b,i),r.c!=t&&aln(n,r.c,i),UK(i.a,r);return i}return null}function oln(n,t){var e;return 0!=n.c.length&&(e=Qen((Rz(0,n.c.length),YR(n.c[0],18)).c.i),iz(),e==(Ecn(),s8n)||e==u8n||sJ(sG(new CF(null,new Fz(n,16)),new Kc),new Lg(t)))}function uln(n,t){if(hL(t,207))return function(n,t){return N3(MH(n.g),t)}(n,YR(t,27));if(hL(t,193))return function(n,t){return N3(MH(n.j),t)}(n,YR(t,123));if(hL(t,452))return function(n,t){return N3(MH(n.d),t)}(n,YR(t,166));throw Nm(new Iy(SFn+Ihn(new Fy(o8(sM(hUn,1),ySn,1,5,[t])))))}function sln(n,t,e){var i,r;if(this.f=n,BJ(e,r=(i=YR(KH(n.b,t),260))?i.a:0),e>=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)b0(this);this.b=t,this.a=null}function hln(n,t){var e,i;t.a?function(n,t){var e;if(!DB(n.b,t.b))throw Nm(new Oy("Invalid hitboxes for scanline constraint calculation."));(J5(t.b,YR(function(n,t){return n.a.Yc(t)}(n.b,t.b),60))||J5(t.b,YR(function(n,t){return n.a.Xc(t)}(n.b,t.b),60)))&&(Xj(),String.fromCharCode(10)),n.a[t.b.f]=YR(tE(n.b,t.b),60),(e=YR(nE(n.b,t.b),60))&&(n.a[e.f]=t.b)}(n,t):(!!(e=YR(tE(n.b,t.b),60))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=YR(nE(n.b,t.b),60))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),CL(n.b,t.b))}function fln(n,t){var e,i;if(e=YR(zU(n.b,t),127),YR(YR(KJ(n.r,t),21),87).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((fin(),zht))&&Umn(n,t),i=function(n,t){var e,i,r;for(r=0,i=YR(YR(KJ(n.r,t),21),87).Kc();i.Ob();)r+=(e=YR(i.Pb(),117)).d.b+e.b.Mf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),amn(n,t)==(_rn(),Wst)&&(i+=2*n.w),e.a.a=i}function lln(n,t){var e,i;if(e=YR(zU(n.b,t),127),YR(YR(KJ(n.r,t),21),87).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((fin(),zht))&&Gmn(n,t),i=function(n,t){var e,i,r;for(r=0,i=YR(YR(KJ(n.r,t),21),87).Kc();i.Ob();)r+=(e=YR(i.Pb(),117)).d.d+e.b.Mf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),amn(n,t)==(_rn(),Wst)&&(i+=2*n.w),e.a.b=i}function bln(n,t){var e,i,r,c;for(c=new Tm,i=new mw(t);i.ai&&(Kz(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||te.a&&(i.Hc((Zun(),Gat))?r=(t.a-e.a)/2:i.Hc(Xat)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((Zun(),Vat))?c=(t.b-e.b)/2:i.Hc(zat)&&(c=t.b-e.b)),lhn(n,r,c)}function Nln(n,t,e,i,r,c,a,o,u,s,h,f,l){hL(n.Cb,90)&&qln(lJ(YR(n.Cb,90)),4),U4(n,e),n.f=a,atn(n,o),utn(n,u),ctn(n,s),otn(n,h),$nn(n,f),Itn(n,l),Ann(n,!0),z2(n,r),n.Zk(c),y7(n,t),null!=i&&(n.i=null,w4(n,i))}function $ln(n,t,e){if(n<0)return Wmn(kSn,o8(sM(hUn,1),ySn,1,5,[e,onn(n)]));if(t<0)throw Nm(new Iy(MSn+t));return Wmn("%s (%s) must not be greater than size (%s)",o8(sM(hUn,1),ySn,1,5,[e,onn(n),onn(t)]))}function Dln(n,t,e,i,r,c){var a,o,u;if(i-e<7)!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.Ne(n[c-1],n[c])>0;--c)a=n[c],_H(n,c,n[c-1]),_H(n,c-1,a)}(t,e,i,c);else if(Dln(t,n,o=e+r,u=o+((a=i+r)-o>>1),-r,c),Dln(t,n,u,a,-r,c),c.Ne(n[u-1],n[u])<=0)for(;e=i||t=0?n.bi(c,e):ign(n,r,e)}else ten(n,i,r,e)}function Rln(n){var t,e;if(n.f){for(;n.n>0;){if(hL(e=(t=YR(n.k.Xb(n.n-1),76)).Lk(),102)&&YR(e,19).Bb&XKn&&(!n.e||e.pk()!=Jft||0!=e.Lj())&&null!=t.md())return!0;--n.n}return!1}return n.n>0}function Kln(n){var t,e,i,r,c;if(e=YR(n,54)._h())try{if(i=null,(t=Ldn((GE(),ubt),wkn(null==(c=e).e?c:(!c.c&&(c.c=new Imn(!!(256&c.f),c.i,c.a,c.d,!!(16&c.f),c.j,c.g,null)),c.c))))&&(r=t.ai())&&(i=r.Fl(function(n){return jU(n),n}(e.e))),i&&i!=n)return Kln(i)}catch(c){if(!hL(c=z5(c),63))throw Nm(c)}return n}function Fln(n,t,e){var i,r;e.Ug("Remove overlaps",1),e.dh(t,uxn),i=YR(ldn(t,(eD(),Htt)),27),n.f=i,n.a=Lcn(YR(ldn(t,(kfn(),Uet)),300)),Ub(n,(jU(r=V$(ldn(t,(zEn(),Aut)))),r)),ujn(n,t,Fpn(i),e),e.dh(t,hxn)}function _ln(n){if(!n)return ty(),UUn;var t=n.valueOf?n.valueOf():n;if(t!==n){var i=GUn[typeof t];return i?i(t):I7(typeof t)}return n instanceof Array||n instanceof e.Array?new Tb(n):new Sb(n)}function Bln(n,t,i){var r,c,a;switch(a=n.o,(c=(r=YR(zU(n.p,i),252)).i).b=Mbn(r),c.a=ybn(r),c.b=e.Math.max(c.b,a.a),c.b>a.a&&!t&&(c.b=a.a),c.c=-(c.b-a.a)/2,i.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}lyn(r),pyn(r)}function Hln(n,t,i){var r,c,a;switch(a=n.o,(c=(r=YR(zU(n.p,i),252)).i).b=Mbn(r),c.a=ybn(r),c.a=e.Math.max(c.a,a.b),c.a>a.b&&!t&&(c.a=a.b),c.d=-(c.a-a.b)/2,i.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}lyn(r),pyn(r)}function Uln(n,t){var e,i,r,c;if(Ypn(),t.b<2)return!1;for(i=e=YR(yW(c=Drn(t,0)),8);c.b!=c.d.c;){if(r=YR(yW(c),8),!N6(n,i)||!N6(n,r))return!1;i=r}return!(!N6(n,i)||!N6(n,e))}function Gln(n,t){var e,i,r,c,a;return e=Z2(a=n,"x"),function(n,t){B2(n,null==t||zx((jU(t),t))||isNaN((jU(t),t))?0:(jU(t),t))}(new Np(t).a,e),i=Z2(a,"y"),function(n,t){H2(n,null==t||zx((jU(t),t))||isNaN((jU(t),t))?0:(jU(t),t))}(new $p(t).a,i),r=Z2(a,sFn),function(n,t){_2(n,null==t||zx((jU(t),t))||isNaN((jU(t),t))?0:(jU(t),t))}(new Dp(t).a,r),c=Z2(a,uFn),function(n,t){F2(n,null==t||zx((jU(t),t))||isNaN((jU(t),t))?0:(jU(t),t))}(new xp(t).a,c),c}function qln(n,t){_mn(n,t),1&n.b&&(n.a.a=null),2&n.b&&(n.a.f=null),4&n.b&&(n.a.g=null,n.a.i=null),16&n.b&&(n.a.d=null,n.a.e=null),8&n.b&&(n.a.b=null),32&n.b&&(n.a.j=null,n.a.c=null)}function Xln(n){var t,e,i,r,c;if(null==n)return ESn;for(c=new E5(vSn,"[","]"),i=0,r=(e=n).length;i(Rz(c+1,t.c.length),YR(t.c[c+1],17)).a-i&&++o,LL(r,(Rz(c+o,t.c.length),YR(t.c[c+o],17))),a+=(Rz(c+o,t.c.length),YR(t.c[c+o],17)).a-i,++e;e=0?n.Lh(e,!0,!0):qbn(n,r,!0),160),YR(i,220).Zl(t)}function obn(n){var t,i;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),i=bX(e.Math.floor(e.Math.log(n)/.6931471805599453)),(!t||n!=e.Math.pow(2,i))&&++i,i):F5(m5(n))}function ubn(n,t,e){e.Ug("Eades radial",1),e.dh(t,hxn),n.d=YR(ldn(t,(eD(),Htt)),27),n.c=vy(V$(ldn(t,(kfn(),Ket)))),n.e=Lcn(YR(ldn(t,Uet),300)),n.a=function(n){switch(n.g){case 0:return new Lo;case 1:return new No;default:throw Nm(new Iy(gxn+(null!=n.f?n.f:""+n.g)))}}(YR(ldn(t,qet),434)),n.b=function(n){switch(n.g){case 1:return new So;case 2:return new Po;case 3:return new Eo;case 0:return null;default:throw Nm(new Iy(gxn+(null!=n.f?n.f:""+n.g)))}}(YR(ldn(t,$et),354)),function(n){var t,e,i,r,c;if(i=0,r=ROn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,zvn(n,n.d,0,0,oxn,e),(c=n.b.Dg(n.d))=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=fM(w6(hG(uG(xB(n.a),new jn),new En)));return a>0?a+n.n.d+n.n.a:0}function Mbn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=fM(w6(hG(uG(xB(n.a),new Mn),new Tn)));else{for(t=0,r=0,c=(i=tan(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function Tbn(n){var t,e;if(2!=n.c.length)throw Nm(new Oy("Order only allowed for two paths."));Rz(0,n.c.length),t=YR(n.c[0],18),Rz(1,n.c.length),e=YR(n.c[1],18),t.d.i!=e.c.i&&(n.c.length=0,Fm(n.c,e),Fm(n.c,t))}function jbn(n,t,e){var i;for(bA(e,t.g,t.f),wA(e,t.i,t.j),i=0;i<(!t.a&&(t.a=new oB(slt,t,10,11)),t.a).i;i++)jbn(n,YR(g2((!t.a&&(t.a=new oB(slt,t,10,11)),t.a),i),27),YR(g2((!e.a&&(e.a=new oB(slt,e,10,11)),e.a),i),27))}function Ebn(n){var t,e;return(e=new Zy).a+="e_",null!=(t=function(n){return 0!=n.b.c.length&&YR(wF(n.b,0),72).a?YR(wF(n.b,0),72).a:dG(n)}(n))&&(e.a+=""+t),n.c&&n.d&&(cO((e.a+=" ",e),ion(n.c)),cO(rO((e.a+="[",e),n.c.i),"]"),cO((e.a+=VAn,e),ion(n.d)),cO(rO((e.a+="[",e),n.d.i),"]")),e.a}function Sbn(n){switch(n.g){case 0:return new yl;case 1:return new Ml;case 2:return new vl;case 3:return new ml;default:throw Nm(new Iy("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function Pbn(n,t,i,r,c){var a;switch(a=0,c.g){case 1:a=e.Math.max(0,t.b+n.b-(i.b+r));break;case 3:a=e.Math.max(0,-n.b-r);break;case 2:a=e.Math.max(0,-n.a-r);break;case 4:a=e.Math.max(0,t.a+n.a-(i.a+r))}return a}function Cbn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=Von(n))&&(WE(),t.lk()==rBn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function Ibn(n,t){var e,i,r,c;if($En(n),0!=n.c||123!=n.a)throw Nm(new Ky(eSn((xA(),u_n))));if(c=112==t,i=n.d,(e=i$(n.i,125,i))<0)throw Nm(new Ky(eSn((xA(),s_n))));return r=qq(n.i,i,e),n.d=e+1,gZ(r,c,!(512&~n.e))}function Obn(n){var t,e,i,r,c,a,o;if((i=n.a.c.length)>0)for(a=n.c.d,r=AL(lx(new xC((o=n.d.d).a,o.b),a),1/(i+1)),c=new xC(a.a,a.b),e=new mw(n.a);e.a=0&&i=0?n.Lh(e,!0,!0):qbn(n,r,!0),160),YR(i,220).Wl(t);throw Nm(new Iy(_Kn+t.xe()+UKn))}function $bn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(Kz(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)Kz(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function Dbn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=(n9(o8(sM(Tat,1),USn,8,0,[c.i.n,c.n,c.a])).b+n9(o8(sM(Tat,1),USn,8,0,[a.i.n,a.n,a.a])).b)/2,i=c.j==(Djn(),ght)?new xC(t+c.i.c.c.a+e,r):new xC(t-e,r),c$(n.a,0,i)}function xbn(n){var t,e,i;for(t=null,e=SB(l3(o8(sM(wUn,1),ySn,20,0,[(!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b),(!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c)])));Hwn(e);)if(i=Hsn(YR(TJ(e),84)),t){if(t!=i)return!1}else t=i;return!0}function Rbn(n,t,e){var i;if(++n.j,t>=n.i)throw Nm(new Ey(HFn+t+UFn+n.i));if(e>=n.i)throw Nm(new Ey(GFn+e+UFn+n.i));return i=n.g[e],t!=e&&(t>16)>>16&16),e+=t=(n>>=t)-256>>16&8,e+=t=(n<<=t)-kCn>>16&4,(e+=t=(n<<=t)-GSn>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function _bn(n){var t,e,i,r;for(cq(),tVn=new Tm,nVn=new Mm,Zzn=new Tm,!n.a&&(n.a=new oB(slt,n,10,11)),function(n){var t,e,i,r,c,a,o,u,s,f;for(t=new Mm,a=new zL(n);a.e!=a.i.gc();){for(c=YR(Grn(a),27),e=new gv,xU(nVn,c,e),f=new at,i=YR(TQ(new CF(null,new lH(new __(dN(Jdn(c).a.Kc(),new h)))),YF(f,TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)])))),85),g3(e,YR(i.xc((GN(),!0)),16),new ot),r=YR(TQ(uG(YR(i.xc(!1),15).Lc(),new ut),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn]))),15).Kc();r.Ob();)(s=jhn(YR(r.Pb(),74)))&&((o=YR(UI(QF(t.f,s)),21))||(o=Epn(s),Cln(t.f,s,o)),V4(e,o));for(i=YR(TQ(new CF(null,new lH(new __(dN(Ydn(c).a.Kc(),new h)))),YF(f,TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn])))),85),g3(e,YR(i.xc(!0),16),new st),u=YR(TQ(uG(YR(i.xc(!1),15).Lc(),new ht),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn]))),15).Kc();u.Ob();)(s=Ehn(YR(u.Pb(),74)))&&((o=YR(UI(QF(t.f,s)),21))||(o=Epn(s),Cln(t.f,s,o)),V4(e,o))}}(t=n.a),r=new zL(t);r.e!=r.i.gc();)i=YR(Grn(r),27),-1==y1(tVn,i,0)&&(e=new Tm,LL(Zzn,e),lrn(i,e));return Zzn}function Bbn(n,t){var e,i,r;for(r=new Tm,i=Drn(t.a,0);i.b!=i.d.c;)(e=YR(yW(i),65)).c.g==n.g&&GI(phn(e.b,(fyn(),Stt)))!==GI(phn(e.c,Stt))&&!sJ(new CF(null,new Fz(r,16)),new Gg(e))&&Fm(r.c,e);return BA(r,new ja),r}function Hbn(n,t,e){var i,r,c,a;return hL(t,153)&&hL(e,153)?(c=YR(t,153),a=YR(e,153),n.a[c.a][a.a]+n.a[a.a][c.a]):hL(t,250)&&hL(e,250)&&(i=YR(t,250),r=YR(e,250),i.a==r.a)?YR(phn(r.a,(Akn(),IVn)),17).a:0}function Ubn(n,t){var i,r,c,a,o,u,s,h;for(h=vy(V$(phn(t,(NEn(),j5n)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,u=1;u0?1:_O(isNaN(r),isNaN(0)))>=0^(M3(EDn),(e.Math.abs(u)<=EDn||0==u||isNaN(u)&&isNaN(0)?0:u<0?-1:u>0?1:_O(isNaN(u),isNaN(0)))>=0)?e.Math.max(u,r):(M3(EDn),(e.Math.abs(r)<=EDn||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:_O(isNaN(r),isNaN(0)))>0?e.Math.sqrt(u*u+r*r):-e.Math.sqrt(u*u+r*r))}(a=r.b,o=c.b))>=0?i:(u=sU(lx(new xC(o.c+o.b/2,o.d+o.a/2),new xC(a.c+a.b/2,a.d+a.a/2))),-(Lkn(a,o)-1)*u)}function qbn(n,t,e){var i,r,c;if(c=bTn((tln(),gwt),n.Dh(),t))return WE(),YR(c,69).xk()||(c=Zz(A1(gwt,c))),r=YR((i=n.Ih(c))>=0?n.Lh(i,!0,!0):qbn(n,c,!0),160),YR(r,220).Sl(t,e);throw Nm(new Iy(_Kn+t.xe()+UKn))}function Xbn(n,t,e,i){var r,c,a,o,u;if(r=n.d[t])if(c=r.g,u=r.i,null!=i){for(o=0;o>5),15,1))[e]=1<1;t>>=1)1&t&&(i=HW(i,e)),e=1==e.d?HW(e,e):new arn(gkn(e.a,e.d,eZ(Qdt,qPn,28,e.d<<1,15,1)));return HW(i,e)}(n,t)}function Vbn(n){var t,e,i;for(gE(),this.b=OWn,this.c=(znn(),Wut),this.f=(dE(),SWn),this.a=n,vM(this,new Tt),Lgn(this),i=new mw(n.b);i.a=null.Um()?(Xdn(n),Ybn(n)):t.Ob()}function Zbn(n){if(this.a=n,n.c.i.k==(Zhn(),oQn))this.c=n.c,this.d=YR(phn(n.c.i,(XEn(),$1n)),64);else{if(n.d.i.k!=oQn)throw Nm(new Iy("Edge "+n+" is not an external edge."));this.c=n.d,this.d=YR(phn(n.d.i,(XEn(),$1n)),64)}}function nwn(n,t){var e,i,r;r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,3,r,n.b)),t?t!=n&&(U4(n,t.zb),W2(n,t.d),J3(n,null==(e=null==(i=t.c)?t.zb:i)||Ix(e,t.zb)?null:e)):(U4(n,null),W2(n,0),J3(n,null))}function twn(n,t){var e;this.e=(LH(),CH(n),LH(),Xen(n)),this.c=(CH(t),Xen(t)),JL(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Gtn(this.e),this.b=Gtn(this.c),e=gF(hUn,[USn,ySn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=e,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i0?ben(e):ntn(ben(e)),ucn(t,J6n,r)}function hwn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&BA(a,new Yr),r=a.c.length/2|0,i=0;i=0;)i=e[c],a.am(i.Lk())&&wZ(r,i);!iEn(n,r)&&rA(n.e)&&bv(n,t.Jk()?xq(n,6,t,(iq(),HGn),null,-1,!1):xq(n,t.tk()?2:1,t,null,null,-1,!1))}function wwn(n,t){var e,i,r,c;return n.a==(Xhn(),UZn)||(r=t.a.c,e=t.a.c+t.a.b,!(t.j&&(c=(i=t.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>c)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function dwn(n){var t,e,i,r,c,a;for(cz(),e=new vQ,i=new mw(n.e.b);i.a1?n.e*=vy(n.a):n.f/=vy(n.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new Hdn(YR(t.Pb(),567),n.e,n.f),LL(n.g,e)}(n),trn(n),function(n){var t,i,r,c,a,o,u,s,h,f;for(i=function(n){var t,i,r,c,a,o,u,s,h,f;for(i=n.o,t=n.p,o=dSn,c=kPn,u=dSn,a=kPn,h=0;h=0?n.Ah(null):n.Ph().Th(n,-1-t,null,null),n.Bh(YR(r,54),e),i&&i.oj(),n.vh()&&n.wh()&&e>-1&&r5(n,new uB(n,9,e,c,r)),r):c}function Lwn(n,t){var e,i,r,c,a;for(c=n.b.Ce(t),i=null==(e=n.a.get(c))?eZ(hUn,ySn,1,0,5,1):e,a=0;a>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=C6(n)))return!1;e=i==r?-e:~e}return!!(e&t)}function _wn(n,t){var e,i,r,c,a,o,u;if(c=t.e)for(e=Awn(c),i=YR(n.g,689),a=0;a>16)),15).dd(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?uCn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?uCn:0,c=i?oCn:0,r=e>>t-44),zA(r&oCn,c&oCn,a&uCn)}function Vwn(n){var t,i,r,c,a,o;for(this.c=new Tm,this.d=n,r=mCn,c=mCn,t=vCn,i=vCn,o=Drn(n,0);o.b!=o.d.c;)a=YR(yW(o),8),r=e.Math.min(r,a.a),c=e.Math.min(c,a.b),t=e.Math.max(t,a.a),i=e.Math.max(i,a.b);this.a=new yG(r,c,t-r,i-c)}function Wwn(n,t){var e,i,r,c;for(i=new mw(n.b);i.a0&&hL(t,44)&&(n.a._j(),c=null==(u=(s=YR(t,44)).ld())?0:_4(u),a=ID(n.a,c),e=n.a.d[a]))for(i=YR(e.g,379),h=e.i,o=0;o=2)for(t=V$((i=c.Kc()).Pb());i.Ob();)a=t,t=V$(i.Pb()),r=e.Math.min(r,(jU(t),t-(jU(a),a)));return r}function cdn(n,t){var e,i,r;for(r=new Tm,i=Drn(t.a,0);i.b!=i.d.c;)(e=YR(yW(i),65)).b.g==n.g&&!Ix(e.b.c,KDn)&&GI(phn(e.b,(fyn(),Stt)))!==GI(phn(e.c,Stt))&&!sJ(new CF(null,new Fz(r,16)),new qg(e))&&Fm(r.c,e);return BA(r,new Ca),r}function adn(n,t){var e,i,r;if(GI(t)===GI(CH(n)))return!0;if(!hL(t,15))return!1;if(i=YR(t,15),(r=n.gc())!=i.gc())return!1;if(hL(i,59)){for(e=0;et.a&&(i.Hc((Zun(),Gat))?n.c.a+=(e.a-t.a)/2:i.Hc(Xat)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((Zun(),Vat))?n.c.b+=(e.b-t.b)/2:i.Hc(zat)&&(n.c.b+=e.b-t.b)),YR(phn(n,(XEn(),R1n)),21).Hc((Vpn(),QZn))&&(e.a>t.a||e.b>t.b))for(o=new mw(n.a);o.a0&&(r=e),a=new mw(n.f.e);a.a0&&c0):c<0&&-c0)}function mdn(n,t,e,i){var r,c,a,o,u,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new mw(n.c);s.a=0&&Ix(n.substr(o,2),"//")?(oZ(o+=2,u=Trn(n,o,Qlt,Jlt),n.length),i=n.substr(o,u-o),o=u):null==f||o!=n.length&&(Kz(o,n.length),47==n.charCodeAt(o))||(a=!1,-1==(u=pN(n,nhn(35),o))&&(u=n.length),oZ(o,u,n.length),i=n.substr(o,u-o),o=u);if(!e&&o0&&58==cG(h,h.length-1)&&(r=h,o=u)),o0&&(Kz(0,e.length),47!=e.charCodeAt(0))))throw Nm(new Iy("invalid opaquePart: "+e));if(n&&(null==t||!Lj(Flt,t.toLowerCase()))&&null!=e&&cen(e,Qlt,Jlt))throw Nm(new Iy(U_n+e));if(n&&null!=t&&Lj(Flt,t.toLowerCase())&&!function(n){if(null!=n&&n.length>0&&33==cG(n,n.length-1))try{return null==kdn(qq(n,0,n.length-1)).e}catch(n){if(!hL(n=z5(n),33))throw Nm(n)}return!1}(e))throw Nm(new Iy(U_n+e));if(!function(n){var t;return null==n||(t=n.length)>0&&(Kz(t-1,n.length),58==n.charCodeAt(t-1))&&!cen(n,Qlt,Jlt)}(i))throw Nm(new Iy("invalid device: "+i));if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;t=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function Pdn(n,t){var e,i,r,c,a,o,u,s,h;for(s=-1,h=0,o=0,u=(a=n).length;o0&&++h;++s}return h}function Cdn(n){var t;return(t=new yN(hT(n.Rm))).a+="@",cO(t,(_4(n)>>>0).toString(16)),n.Vh()?(t.a+=" (eProxyURI: ",rO(t,n._h()),n.Kh()&&(t.a+=" eClass: ",rO(t,n.Kh())),t.a+=")"):n.Kh()&&(t.a+=" (eClass: ",rO(t,n.Kh()),t.a+=")"),t.a}function Idn(n){var t,e,i;if(n.e)throw Nm(new Oy((Q$(qqn),dIn+qqn.k+gIn)));for(n.d==(znn(),Wut)&&fjn(n,zut),e=new mw(n.a.a);e.a=0)return r;for(c=1,a=new mw(t.j);a.a=0)return r;for(c=1,a=new mw(t.j);a.a0&&t.Ne((Rz(r-1,n.c.length),YR(n.c[r-1],10)),c)>0;)nJ(n,r,(Rz(r-1,n.c.length),YR(n.c[r-1],10))),--r;Rz(r,n.c.length),n.c[r]=c}e.a=new Mm,e.b=new Mm}function xdn(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==(Djn(),pht)||t==ght?(V0(YR(z8(n),15),(Mon(),Ost)),V0(YR(z8(n),15),Ast)):(V0(YR(z8(n),15),(Mon(),Ast)),V0(YR(z8(n),15),Ost));else for(i=new iG(n);i.a!=i.b;)V0(YR(R7(i),15),e)}function Rdn(n,t){var e,i,r,c,a,o;for(a=new $V(i=WR(new Jp(n)),i.c.length),o=new $V(r=WR(new Jp(t)),r.c.length),c=null;a.b>0&&o.b>0&&(Y$(a.b>0),e=YR(a.a.Xb(a.c=--a.b),27),Y$(o.b>0),e==YR(o.a.Xb(o.c=--o.b),27));)c=e;return c}function Kdn(n,t,e){var i,r,c,a;rV(n,t)>rV(n,e)?(i=Dtn(e,(Djn(),ght)),n.d=i.dc()?0:zK(YR(i.Xb(0),12)),a=Dtn(t,xht),n.b=a.dc()?0:zK(YR(a.Xb(0),12))):(r=Dtn(e,(Djn(),xht)),n.d=r.dc()?0:zK(YR(r.Xb(0),12)),c=Dtn(t,ght),n.b=c.dc()?0:zK(YR(c.Xb(0),12)))}function Fdn(n,t){var e,i,r,c;for(e=n.o.a,c=YR(YR(KJ(n.r,t),21),87).Kc();c.Ob();)(r=YR(c.Pb(),117)).e.a=e*vy(V$(r.b.of(uzn))),r.e.b=(i=r.b).pf((zEn(),rut))?i.ag()==(Djn(),pht)?-i.Mf().b-vy(V$(i.of(rut))):vy(V$(i.of(rut))):i.ag()==(Djn(),pht)?-i.Mf().b:0}function _dn(n){var t,e,i,r,c,a,o,u;t=!0,r=null,c=null;n:for(u=new mw(n.a);u.a>1,n.k=i-1>>1}(this,this.d,this.c),function(n){var t,e,i,r,c,a,o;for(e=EA(n.e),c=AL(S$(aL(jA(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,o=0;o0&&lTn(this,c)}function Udn(n,t,e,i,r,c){var a,o,u;if(!r[t.a]){for(r[t.a]=!0,!(a=i)&&(a=new ZJ),LL(a.e,t),u=c[t.a].Kc();u.Ob();)(o=YR(u.Pb(),290)).d!=e&&o.c!=e&&(o.c!=t&&Udn(n,o.c,t,a,r,c),o.d!=t&&Udn(n,o.d,t,a,r,c),LL(a.c,o),Y5(a.d,o.b));return a}return null}function Gdn(n){var t,e,i;for(t=0,e=new mw(n.e);e.a=2}function qdn(n,t,e){var i,r,c;for(c=new mw(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&UK(t,i.b));for(r=new mw(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&UK(e,i.a))}function Xdn(n){var t,e,i;if(null==n.g&&(n.d=n.bj(n.f),wZ(n,n.d),n.c))return n.f;if(i=(t=YR(n.g[n.i-1],51)).Pb(),n.e=t,(e=n.bj(i)).Ob())n.d=e,wZ(n,e);else for(n.d=null;!t.Ob()&&(_H(n.g,--n.i,null),0!=n.i);)t=YR(n.g[n.i-1],51);return i}function zdn(n,t,i,r){var c,a,o;for(Lb(c=new Hcn(n),(Zhn(),uQn)),L8(c,(XEn(),Z1n),t),L8(c,f0n,r),L8(c,(NEn(),X6n),(ysn(),tht)),L8(c,V1n,t.c),L8(c,W1n,t.d),$pn(t,c),o=e.Math.floor(i/2),a=new mw(c.j);a.a=2147483648&&(r-=4294967296),r)}function egn(n,t,e){var i,r,c,a,o,u,s;for(c=new Tm,function(n,t,e,i){var r,c,a,o,u,s,h;for(o=-1,h=new mw(n);h.a0&&w.a<=0){u.c.length=0,Fm(u.c,w);break}(b=w.i-w.d)>=o&&(b>o&&(u.c.length=0,o=b),Fm(u.c,w))}0!=u.c.length&&(a=YR(wF(u,Ocn(r,u.c.length)),118),v.a.Bc(a),a.g=h++,ayn(a,t,e,i),u.c.length=0)}for(g=n.c.length+1,l=new mw(n);l.ai.b.g&&Fm(c.c,i);return c}function ign(n,t,e){var i,r,c;if(!(c=bTn((tln(),gwt),n.Dh(),t)))throw Nm(new Iy(_Kn+t.xe()+BKn));if(WE(),!YR(c,69).xk()&&!(c=Zz(A1(gwt,c))))throw Nm(new Iy(_Kn+t.xe()+BKn));r=YR((i=n.Ih(c))>=0?n.Lh(i,!0,!0):qbn(n,c,!0),160),YR(r,220).Xl(t,e)}function rgn(n,t){var e,i,r,c;if(t){for(c=!(r=hL(n.Cb,90)||hL(n.Cb,102))&&hL(n.Cb,331),e=new zL((!t.a&&(t.a=new HF(t,lbt,t)),t.a));e.e!=e.i.gc();)if(i=qkn(YR(Grn(e),89)),r?hL(i,90):c?hL(i,156):i)return i;return r?(YEn(),Lbt):(YEn(),Ibt)}return null}function cgn(n,t){var i,r,c;for(t.Ug("Resize child graph to fit parent.",1),r=new mw(n.b);r.at.a&&(i.Hc((Zun(),Gat))?n.c.a+=(e.a-t.a)/2:i.Hc(Xat)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((Zun(),Vat))?n.c.b+=(e.b-t.b)/2:i.Hc(zat)&&(n.c.b+=e.b-t.b)),YR(phn(n,(XEn(),R1n)),21).Hc((Vpn(),QZn))&&(e.a>t.a||e.b>t.b))for(a=new mw(n.a);a.a0),c.a.Xb(c.c=--c.b),HD(c,r),Y$(c.b0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(Hon(n,t))throw Nm(new Iy(QKn+gwn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?$on(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=acn(t,n,6,i)),(i=ED(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,6,t,t))}function bgn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Hon(n,t))throw Nm(new Iy(QKn+jMn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Gon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=acn(t,n,12,i)),(i=SD(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,3,t,t))}function wgn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(Hon(n,t))throw Nm(new Iy(QKn+cvn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?xon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=acn(t,n,9,i)),(i=PD(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,9,t,t))}function dgn(n){var t,e,i,r,c;if(i=Von(n),null==(c=n.j)&&i)return n.Jk()?null:i.ik();if(hL(i,156)){if((e=i.jk())&&(r=e.wi())!=n.i){if((t=YR(i,156)).nk())try{n.g=r.ti(t,c)}catch(t){if(!hL(t=z5(t),82))throw Nm(t);n.g=null}n.i=r}return n.g}return null}function ggn(n){var t;return LL(t=new Tm,new kS(new xC(n.c,n.d),new xC(n.c+n.b,n.d))),LL(t,new kS(new xC(n.c,n.d),new xC(n.c,n.d+n.a))),LL(t,new kS(new xC(n.c+n.b,n.d+n.a),new xC(n.c+n.b,n.d))),LL(t,new kS(new xC(n.c+n.b,n.d+n.a),new xC(n.c,n.d+n.a))),t}function pgn(n){var t,e;if(null==n)return ESn;try{return Jtn(n)}catch(i){if(hL(i=z5(i),103))return t=i,e=hT(h7(n))+"@"+(Xj(),(Uin(n)>>>0).toString(16)),wrn(_5(),(Qj(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+hT(t.Rm)+">";throw Nm(i)}}function mgn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=YR(r.Pb(),74),!YR(KH(n.b,i),272)&&(BX(Thn(i))==BX(Shn(i))?cpn(n,i,e):Thn(i)==BX(Shn(i))?null==KH(n.c,i)&&null!=KH(n.b,Shn(i))&&WTn(n,i,e,!1):null==KH(n.d,i)&&null!=KH(n.b,Thn(i))&&WTn(n,i,e,!0))}function vgn(n,t){var e,i,r,c,a,o,u;for(r=n.Kc();r.Ob();)for(i=YR(r.Pb(),10),hz(o=new lfn,i),Zln(o,(Djn(),ght)),L8(o,(XEn(),a0n),(GN(),!0)),a=t.Kc();a.Ob();)c=YR(a.Pb(),10),hz(u=new lfn,c),Zln(u,xht),L8(u,a0n,!0),L8(e=new Aq,a0n,!0),uz(e,o),fz(e,u)}function kgn(n,t,e,i){var r,c,a,o;r=pin(n,t,e),c=pin(n,e,t),a=YR(KH(n.c,t),118),o=YR(KH(n.c,e),118),r>16!=11&&t){if(Hon(n,t))throw Nm(new Iy(QKn+rvn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?qon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=acn(t,n,10,i)),(i=bx(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,11,t,t))}function jgn(n,t,e){return Ypn(),(!N6(n,t)||!N6(n,e))&&(sjn(new xC(n.c,n.d),new xC(n.c+n.b,n.d),t,e)||sjn(new xC(n.c+n.b,n.d),new xC(n.c+n.b,n.d+n.a),t,e)||sjn(new xC(n.c+n.b,n.d+n.a),new xC(n.c,n.d+n.a),t,e)||sjn(new xC(n.c,n.d+n.a),new xC(n.c,n.d),t,e))}function Egn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e>16!=7&&t){if(Hon(n,t))throw Nm(new Iy(QKn+Rfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Don(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=YR(t,54).Rh(n,1,Zft,i)),(i=k_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,7,t,t))}function Rgn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Hon(n,t))throw Nm(new Iy(QKn+Inn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Fon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=YR(t,54).Rh(n,0,rlt,i)),(i=y_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,3,t,t))}function Kgn(n,t){var e,i,r,c,a,o,u,s,h;return Zpn(),t.d>n.d&&(o=n,n=t,t=o),t.d<63?function(n,t){var e,i,r,c,a,o,u,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=M_(u=Ntn(Uz(n.a[0],CCn),Uz(t.a[0],CCn))),0==(s=M_(x_(u,32)))?new hQ(a,h):new BB(a,2,o8(sM(Qdt,1),qPn,28,15,[h,s]))):(Y7(n.a,e,t.a,i,r=eZ(Qdt,qPn,28,c,15,1)),FV(o=new BB(a,c,r)),o)}(n,t):(s=jJ(n,a=(-2&n.d)<<4),h=jJ(t,a),i=mMn(n,EJ(s,a)),r=mMn(t,EJ(h,a)),u=Kgn(s,h),e=Kgn(i,r),c=EJ(c=hTn(hTn(c=Kgn(mMn(s,i),mMn(r,h)),u),e),a),hTn(hTn(u=EJ(u,a<<1),c),e))}function Fgn(){Fgn=E,Z5n=new SP(dDn,0),Q5n=new SP("LONGEST_PATH",1),J5n=new SP("LONGEST_PATH_SOURCE",2),z5n=new SP("COFFMAN_GRAHAM",3),W5n=new SP(ALn,4),n8n=new SP("STRETCH_WIDTH",5),Y5n=new SP("MIN_WIDTH",6),X5n=new SP("BF_MODEL_ORDER",7),V5n=new SP("DF_MODEL_ORDER",8)}function _gn(n,t,e){var i,r,c,a,o;for(a=gnn(n,e),o=eZ(lQn,YAn,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)my(z$(phn(r=YR(c.Pb(),12),(XEn(),_1n))))&&(o[i++]=YR(phn(r,o0n),10));if(i=0;r+=e?1:-1)c|=t.c.lg(o,r,e,i&&!my(z$(phn(t.j,(XEn(),x1n))))&&!my(z$(phn(t.j,(XEn(),b0n))))),c|=t.q.ug(o,r,e),c|=Bmn(n,o[r],e,i);return $B(n.c,t),c}function Ggn(n,t,e){var i,r,c,a,o,u,s,h;for(s=0,h=(u=cW(n.j)).length;s1&&(n.a=!0),o_(YR(e.b,68),fx(aL(YR(t.b,68).c),AL(lx(aL(YR(e.b,68).a),YR(t.b,68).a),r))),wz(n,t),zgn(n,e)}function Vgn(n){var t,e,i,r,c,a;for(r=new mw(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}iq(),BA(n.j,new bi)}function Qgn(n,t){var e,i,r,c,a,o,u,s,h;for(o=t.j,a=t.g,u=YR(wF(o,o.c.length-1),113),Rz(0,o.c.length),s=qan(n,a,u,h=YR(o.c[0],113)),c=1;cs&&(u=e,h=r,s=i);t.a=h,t.c=u}function Jgn(n){if(!n.a.d||!n.a.e)throw Nm(new Oy((Q$(pXn),pXn.k+" must have a source and target "+(Q$(mXn),mXn.k+" specified."))));if(n.a.d==n.a.e)throw Nm(new Oy("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return DN(n.a.d.g,n.a),DN(n.a.e.b,n.a),n.a}function Ygn(n,t,e){var i,r,c,a,o,u;if(i=0,0!=t.b&&0!=e.b){c=Drn(t,0),a=Drn(e,0),o=vy(V$(yW(c))),u=vy(V$(yW(a))),r=!0;do{if(o>u-n.b&&ou-n.a&&o0&&(c+=(a=YR(wF(this.b,0),176)).o,r+=a.p),c*=2,r*=2,t>1?c=bX(e.Math.ceil(c*t)):r=bX(e.Math.ceil(r/t)),this.a=new Nen(c,r)}function mpn(n,t,i,r,c,a){var o,u,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=YR(KH(n.f,t.A),60)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,i.q&&i.o?(s=(b=YR(KH(n.f,i.C),60)).d.c,++f):s=i.a.c,w=d+(u=(s-d)/e.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(o=t[a],u=i==(Djn(),ght)?r?Dtn(o,i):fen(Dtn(o,i)):r?fen(Dtn(o,i)):Dtn(o,i),c&&(n.c[o.p]=u.gc()),f=u.Kc();f.Ob();)h=YR(f.Pb(),12),n.d[h.p]=s++;Y5(e,u)}}function ypn(n,t,e){var i,r,c,a,o,u,s,h;for(c=vy(V$(n.b.Kc().Pb())),s=vy(V$(function(n){var t;if(n){if((t=n).dc())throw Nm(new av);return t.Xb(t.gc()-1)}return vz(n.Kc())}(t.b))),i=AL(aL(n.a),s-e),r=AL(aL(t.a),e-c),AL(h=fx(i,r),1/(s-c)),this.a=h,this.b=new Tm,o=!0,(a=n.b.Kc()).Pb();a.Ob();)u=vy(V$(a.Pb())),o&&u-e>ODn&&(this.b.Fc(e),o=!1),this.b.Fc(u);o&&this.b.Fc(e)}function Mpn(n){var t,i,r,c;if(function(n,t){var i,r,c,a,o,u,s;for(c=eZ(Qdt,qPn,28,n.e.a.c.length,15,1),o=new mw(n.e.a);o.a0){for(By(n.c);Uwn(n,YR(zz(new mw(n.e.a)),125))>5,t&=31,i>=n.d)return n.e<0?(wvn(),OGn):(wvn(),DGn);if(c=n.d-i,function(n,t,e,i,r){var c,a,o;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}}(r=eZ(Qdt,qPn,28,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t){for(e=0;e=0)&&(!(e=bTn((tln(),gwt),r,t))||((i=e.Ik())>1||-1==i)&&3!=SU(A1(gwt,e))))}function Ppn(n,t,e,i){var r,c,a,o,u;return o=Hsn(YR(g2((!t.b&&(t.b=new Mx(tlt,t,4,7)),t.b),0),84)),u=Hsn(YR(g2((!t.c&&(t.c=new Mx(tlt,t,5,8)),t.c),0),84)),BX(o)==BX(u)||n2(u,o)?null:(a=vX(t))==e?i:(c=YR(KH(n.a,a),10))&&(r=c.e)?r:null}function Cpn(n,t,e){var i,r,c,a,o;if((c=n[function(n,t){return n?t-1:0}(e,n.length)])[r=yM(e,c.length)].k==(Zhn(),oQn))for(o=t.j,i=0;i>24}(n));break;case 2:n.g=v5(function(n){if(2!=n.p)throw Nm(new tv);return M_(n.f)&APn}(n));break;case 3:n.g=function(n){if(3!=n.p)throw Nm(new tv);return n.e}(n);break;case 4:n.g=new aw(function(n){if(4!=n.p)throw Nm(new tv);return n.e}(n));break;case 6:n.g=Yin(function(n){if(6!=n.p)throw Nm(new tv);return n.f}(n));break;case 5:n.g=onn(function(n){if(5!=n.p)throw Nm(new tv);return M_(n.f)}(n));break;case 7:n.g=unn(function(n){if(7!=n.p)throw Nm(new tv);return M_(n.f)<<16>>16}(n))}return n.g}function Apn(n){if(null==n.n)switch(n.p){case 0:n.n=function(n){if(0!=n.p)throw Nm(new tv);return QI(n.k,0)}(n)?(GN(),JUn):(GN(),QUn);break;case 1:n.n=F1(function(n){if(1!=n.p)throw Nm(new tv);return M_(n.k)<<24>>24}(n));break;case 2:n.n=v5(function(n){if(2!=n.p)throw Nm(new tv);return M_(n.k)&APn}(n));break;case 3:n.n=function(n){if(3!=n.p)throw Nm(new tv);return n.j}(n);break;case 4:n.n=new aw(function(n){if(4!=n.p)throw Nm(new tv);return n.j}(n));break;case 6:n.n=Yin(function(n){if(6!=n.p)throw Nm(new tv);return n.k}(n));break;case 5:n.n=onn(function(n){if(5!=n.p)throw Nm(new tv);return M_(n.k)}(n));break;case 7:n.n=unn(function(n){if(7!=n.p)throw Nm(new tv);return M_(n.k)<<16>>16}(n))}return n.n}function Lpn(n,t,e,i){var r,c,a,o,u;if(WE(),o=YR(t,69).xk(),Spn(n.e,t)){if(t.Si()&&myn(n,t,i,hL(t,102)&&!!(YR(t,19).Bb&TCn)))throw Nm(new Iy(BFn))}else for(u=rpn(n.e.Dh(),t),r=YR(n.g,124),a=0;a0&&(i[0]+=n.d,o-=i[0]),i[2]>0&&(i[2]+=n.d,o-=i[2]),a=e.Math.max(0,o),i[1]=e.Math.max(i[1],o),xJ(n,kXn,c.c+r.b+i[0]-(i[1]-o)/2,i),t==kXn&&(n.c.b=a,n.c.c=c.c+r.b+(a-o)/2)}function Rpn(){this.c=eZ(ngt,ECn,28,(Djn(),o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht])).length,15,1),this.b=eZ(ngt,ECn,28,o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht]).length,15,1),this.a=eZ(ngt,ECn,28,o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht]).length,15,1),cS(this.c,mCn),cS(this.b,vCn),cS(this.a,vCn)}function Kpn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=eZ(Qdt,qPn,28,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=eZ(Qdt,qPn,28,i+2,15,1),oyn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||Sdn(n)}}function Fpn(n){var t,e,i,r,c;for(r=new Tm,t=new jF((!n.a&&(n.a=new oB(slt,n,10,11)),n.a)),i=new __(dN(Ydn(n).a.Kc(),new h));Hwn(i);)hL(g2((!(e=YR(TJ(i),74)).b&&(e.b=new Mx(tlt,e,4,7)),e.b),0),193)||(c=Hsn(YR(g2((!e.c&&(e.c=new Mx(tlt,e,5,8)),e.c),0),84)),t.a._b(c)||Fm(r.c,c));return r}function _pn(n,t){var i,r,c,a,o,u,s;for(i=vCn,Zhn(),u=hQn,c=new mw(t.a);c.a1;)zpn(r,r.i-1);return i}function Gpn(n,t){var e,i,r,c,a,o;for(e=new qL,r=new mw(n.b);r.an.d[a.p]&&(e+=ZQ(n.b,c),TW(n.a,onn(c)));for(;!Hy(n.a);)o0(n.b,YR(AB(n.a),17).a)}return e}function Xpn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new oB(slt,t,10,11)),t.a).i,r=new zL((!t.a&&(t.a=new oB(slt,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=YR(Grn(r),27)).a&&(i.a=new oB(slt,i,10,11)),i.a).i||(c+=Xpn(n,i,!1));if(e)for(a=BX(t);a;)c+=(!a.a&&(a.a=new oB(slt,a,10,11)),a.a).i,a=BX(a);return c}function zpn(n,t){var e,i,r,c;return n.Pj()?(i=null,r=n.Qj(),n.Tj()&&(i=n.Vj(n.$i(t),null)),e=n.Ij(4,c=bon(n,t),null,t,r),n.Mj()&&null!=c?(i=n.Oj(c,i))?(i.nj(e),i.oj()):n.Jj(e):i?(i.nj(e),i.oj()):n.Jj(e),c):(c=bon(n,t),n.Mj()&&null!=c&&(i=n.Oj(c,null))&&i.oj(),c)}function Vpn(){Vpn=E,VZn=new yP("COMMENTS",0),QZn=new yP("EXTERNAL_PORTS",1),JZn=new yP("HYPEREDGES",2),YZn=new yP("HYPERNODES",3),ZZn=new yP("NON_FREE_PORTS",4),n1n=new yP("NORTH_SOUTH_PORTS",5),e1n=new yP(DLn,6),zZn=new yP("CENTER_LABELS",7),WZn=new yP("END_LABELS",8),t1n=new yP("PARTITIONS",9)}function Wpn(n,t){var i,r,c;BX(n)&&(c=YR(phn(t,(NEn(),O6n)),181),GI(ldn(n,X6n))===GI((ysn(),cht))&&ucn(n,X6n,rht),BE(),r=kjn(new uy(BX(n)),new VN(BX(n)?new uy(BX(n)):null,n),!1,!0),T4(c,(fin(),Ght)),(i=YR(phn(t,L6n),8)).a=e.Math.max(r.a,i.a),i.b=e.Math.max(r.b,i.b))}function Qpn(){Qpn=E,EYn=new SG(iOn,0,(Djn(),pht),pht),CYn=new SG(cOn,1,$ht,$ht),jYn=new SG(rOn,2,ght,ght),AYn=new SG(aOn,3,xht,xht),PYn=new SG("NORTH_WEST_CORNER",4,xht,pht),SYn=new SG("NORTH_EAST_CORNER",5,pht,ght),OYn=new SG("SOUTH_WEST_CORNER",6,$ht,xht),IYn=new SG("SOUTH_EAST_CORNER",7,ght,$ht)}function Jpn(n){var t,e,i,r,c;for(r=new gv,t=new jF((!n.a&&(n.a=new oB(slt,n,10,11)),n.a)),i=new __(dN(Ydn(n).a.Kc(),new h));Hwn(i);)hL(g2((!(e=YR(TJ(i),74)).b&&(e.b=new Mx(tlt,e,4,7)),e.b),0),193)||(c=Hsn(YR(g2((!e.c&&(e.c=new Mx(tlt,e,5,8)),e.c),0),84)),t.a._b(c)||r.a.zc(c,r));return r}function Ypn(){Ypn=E,yat=o8(sM(Ydt,1),yCn,28,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),e.Math.pow(2,-65)}function Zpn(){var n,t;for(Zpn=E,FGn=eZ(BGn,USn,92,32,0,1),_Gn=eZ(BGn,USn,92,32,0,1),n=1,t=0;t<=18;t++)FGn[t]=(wvn(),q7(n,0)>=0?ein(n):ZB(ein(k1(n)))),_Gn[t]=WI($_(n,t),0)?ein($_(n,t)):ZB(ein(k1($_(n,t)))),n=Ntn(n,5);for(;t<_Gn.length;t++)FGn[t]=HW(FGn[t-1],FGn[1]),_Gn[t]=HW(_Gn[t-1],(wvn(),NGn))}function nmn(n,t){var e,i,r,c,a;if(0==n.c.length)return new sI(onn(0),onn(0));for(e=(Rz(0,n.c.length),YR(n.c[0],12)).j,a=0,c=t.g,i=t.g+1;a=h&&(s=r);s&&(f=e.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function cmn(n,t,e){var i,r,c,a,o;if(!vW(t)){for((o=e.eh((hL(t,16)?YR(t,16).gc():YW(t.Kc()))/n.a|0)).Ug(GDn,1),a=new za,c=null,r=t.Kc();r.Ob();)i=YR(r.Pb(),40),a=l3(o8(sM(wUn,1),ySn,20,0,[a,new Xg(i)])),c&&(L8(c,(Ajn(),xnt),i),L8(i,Snt,c),cY(i)==cY(c)&&(L8(c,Rnt,i),L8(i,Pnt,c))),c=i;o.Vg(),cmn(n,a,e)}}function amn(n,t){var e;switch(e=null,t.g){case 1:n.e.pf((zEn(),nut))&&(e=YR(n.e.of(nut),256));break;case 3:n.e.pf((zEn(),tut))&&(e=YR(n.e.of(tut),256));break;case 2:n.e.pf((zEn(),Zot))&&(e=YR(n.e.of(Zot),256));break;case 4:n.e.pf((zEn(),eut))&&(e=YR(n.e.of(eut),256))}return!e&&(e=YR(n.e.of((zEn(),Jot)),256)),e}function omn(n,t,i){var r,c,a,o,u,s;for(c=i,a=0,u=new mw(t);u.aDxn?BA(s,n.b):r<=Dxn&&r>xxn?BA(s,n.d):r<=xxn&&r>Rxn?BA(s,n.c):r<=Rxn&&BA(s,n.a),a=omn(n,s,a);return c}function umn(n,t,e,i){var r,c,a,o,u;for(r=(i.c+i.a)/2,GG(t.j),UK(t.j,r),GG(e.e),UK(e.e,r),u=new WM,a=new mw(n.f);a.a1&&(i=new xC(r,e.b),UK(t.a,i)),I3(t.a,o8(sM(Tat,1),USn,8,0,[f,h]))}function wmn(n,t,e){var i,r;for(t=48;e--)bdt[e]=e-48<<24>>24;for(i=70;i>=65;i--)bdt[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)bdt[r]=r-97+10<<24>>24;for(c=0;c<10;c++)wdt[c]=48+c&APn;for(n=10;n<=15;n++)wdt[n]=65+n-10&APn}function pmn(n){var t,e,i,r,c;if(!n.c){if(c=new ks,null==(t=Gbt).a.zc(n,t)){for(i=new zL(aQ(n));i.e!=i.i.gc();)hL(r=qkn(e=YR(Grn(i),89)),90)&&uH(c,pmn(YR(r,29))),wZ(c,e);t.a.Bc(n),t.a.gc()}(function(n){var t,e,i,r;for(e=YR(n.g,689),i=n.i-1;i>=0;--i)for(t=e[i],r=0;r>19)return"-"+vmn(C8(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=sTn(e,OJ(lCn),!0),t=""+aT(qUn),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function kmn(n,t,i,r){var c,a,o,u;if(YW((vR(),new __(dN(Ftn(t).a.Kc(),new h))))>=n.a)return-1;if(!Esn(t,i))return-1;if(vW(YR(r.Kb(t),20)))return 1;for(c=0,o=YR(r.Kb(t),20).Kc();o.Ob();){if(-1==(u=kmn(n,(a=YR(o.Pb(),18)).c.i==t?a.d.i:a.c.i,i,r)))return-1;if((c=e.Math.max(c,u))>n.c-1)return-1}return c+1}function ymn(n,t){var e,i,r,c,a,o;if(GI(t)===GI(n))return!0;if(!hL(t,15))return!1;if(i=YR(t,15),o=n.gc(),i.gc()!=o)return!1;if(a=i.Kc(),n.Yi()){for(e=0;e0)if(n._j(),null!=t){for(c=0;c0&&(n.a=o+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=BTn(new bH(1,r),t,b,w,t.f.b+o-t.c.b))>0&&(t.f.b+=o+(l-1)*r)}(n,t,r),function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j;for(v=new Tm,f=new mw(n.b);f.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw Nm(new iM("Invalid hexadecimal"))}}function Emn(){Emn=E,lXn=new ES("SPIRAL",0),oXn=new ES("LINE_BY_LINE",1),uXn=new ES("MANHATTAN",2),aXn=new ES("JITTER",3),hXn=new ES("QUADRANTS_LINE_BY_LINE",4),fXn=new ES("QUADRANTS_MANHATTAN",5),sXn=new ES("QUADRANTS_JITTER",6),cXn=new ES("COMBINE_LINE_BY_LINE_MANHATTAN",7),rXn=new ES("COMBINE_JITTER_MANHATTAN",8)}function Smn(n,t,e,i){var r,c,a,o,u,s;for(u=Sun(n,e),s=Sun(t,e),r=!1;u&&s&&(i||con(u,s,e));)a=Sun(u,e),o=Sun(s,e),P1(t),P1(n),c=u.c,pTn(u,!1),pTn(s,!1),e?(jon(t,s.p,c),t.p=s.p,jon(n,u.p+1,c),n.p=u.p):(jon(n,u.p,c),n.p=u.p,jon(t,s.p+1,c),t.p=s.p),sz(u,null),sz(s,null),u=a,s=o,r=!0;return r}function Pmn(n){switch(n.g){case 0:return new al;case 1:return new rl;case 3:return new IE;case 4:return new Sc;case 5:return new ex;case 6:return new cl;case 2:return new il;case 7:return new Jf;case 8:return new Zf;default:throw Nm(new Iy("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function Cmn(n,t,e,i){var r,c,a,o,u;for(r=!1,c=!1,o=new mw(i.j);o.a=t.length)throw Nm(new Ey("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new Kx(i),A4(this.e,this.c,(Djn(),xht)),this.i=new Kx(i),A4(this.i,this.c,ght),this.f=new SF(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Zhn(),oQn),this.a&&function(n,t,e){var i,r,c,a,o,u,s;o=(c=n.d.p).e,u=c.r,n.g=new Kx(u),i=(a=n.d.o.c.p)>0?o[a-1]:eZ(lQn,YAn,10,0,0,1),r=o[a],s=ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=YR(KH(n.f,a.d.i),60),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(o=new __(dN(_tn(b).a.Kc(),new h));Hwn(o);)0!=(a=YR(TJ(o),18)).a.b&&(t=YR(l$(a.a),8),a.d.j==(Djn(),pht)&&((g=new Wyn(t,new xC(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,Fm(d.c,g)),a.d.j==$ht&&((g=new Wyn(t,new xC(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,Fm(d.c,g)))}return d}(n);break;case 3:r=new Tm,Zj(uG(sG(c0(c0(new CF(null,new Fz(n.d.b,16)),new Or),new Ar),new Lr),new pr),new ig(r)),i=r;break;default:throw Nm(new Oy("Compaction not supported for "+t+" edges."))}(function(n,t){var i,r,c,a,o,u,s;if(0!=t.c.length){for(iq(),ZF(t.c,t.c.length,null),r=YR(zz(c=new mw(t)),154);c.a0&&t0?c.a?e>(o=c.b.Mf().a)&&(r=(e-o)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:eB(n.u)&&((i=Vsn(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}(n,t),c=null,s=null,u){for(s=c=YR((a=o.Kc()).Pb(),117);a.Ob();)s=YR(a.Pb(),117);c.d.b=0,s.d.c=0,f&&!c.a&&(c.d.c=0)}l&&(function(n){var t,i,r,c,a;for(t=0,i=0,a=n.Kc();a.Ob();)r=YR(a.Pb(),117),t=e.Math.max(t,r.d.b),i=e.Math.max(i,r.d.c);for(c=n.Kc();c.Ob();)(r=YR(c.Pb(),117)).d.b=t,r.d.c=i}(o),u&&(c.d.b=0,s.d.c=0))}function Gmn(n,t){var i,r,c,a,o,u,s,h,f,l;if(o=YR(YR(KJ(n.r,t),21),87),u=n.u.Hc((bbn(),lht)),i=n.u.Hc(sht),r=n.u.Hc(uht),s=n.u.Hc(bht),l=n.B.Hc((Zvn(),rft)),h=!i&&!r&&(s||2==o.gc()),function(n,t){var i,r,c,a,o,u,s;for(u=YR(YR(KJ(n.r,t),21),87).Kc();u.Ob();)(r=(o=YR(u.Pb(),117)).c?_K(o.c):0)>0?o.a?r>(s=o.b.Mf().b)&&(n.v||1==o.c.d.c.length?(a=(r-s)/2,o.d.d=a,o.d.a=a):(i=(YR(wF(o.c.d,0),187).Mf().b-s)/2,o.d.d=e.Math.max(0,i),o.d.a=r-i-s)):o.d.a=n.t+r:eB(n.u)&&((c=Vsn(o.b)).d<0&&(o.d.d=-c.d),c.d+c.a>o.b.Mf().b&&(o.d.a=c.d+c.a-o.b.Mf().b))}(n,t),f=null,c=null,u){for(c=f=YR((a=o.Kc()).Pb(),117);a.Ob();)c=YR(a.Pb(),117);f.d.d=0,c.d.a=0,h&&!f.a&&(f.d.a=0)}l&&(function(n){var t,i,r,c,a;for(i=0,t=0,a=n.Kc();a.Ob();)r=YR(a.Pb(),117),i=e.Math.max(i,r.d.d),t=e.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=YR(c.Pb(),117)).d.d=i,r.d.a=t}(o),u&&(f.d.d=0,c.d.a=0))}function qmn(n,t,e){var i,r,c,a,o;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,LL(e.e,t),i==(Zhn(),sQn)||i==fQn)for(r=new mw(t.j);r.an.d[o.p]&&(e+=ZQ(n.b,c),TW(n.a,onn(c))):++a;for(e+=n.b.d*a;!Hy(n.a);)o0(n.b,YR(AB(n.a),17).a)}return e}function Jmn(n){var t,e,i,r,c,a;return c=0,(t=Von(n)).kk()&&(c|=4),n.Bb&cBn&&(c|=2),hL(n,102)?(r=Kcn(e=YR(n,19)),e.Bb&XKn&&(c|=32),r&&(xH(HX(r)),c|=8,((a=r.t)>1||-1==a)&&(c|=16),r.Bb&XKn&&(c|=64)),e.Bb&TCn&&(c|=aBn),c|=hPn):hL(t,469)?c|=512:(i=t.kk())&&1&i.i&&(c|=256),512&n.Bb&&(c|=128),c}function Ymn(n){var t,e,i,r,c,a,o,u,s,h,f,l;for(f=-1,l=0,s=0,h=(u=n).length;s0&&++l;++f}return l}function Zmn(n){var t,e,i,r,c,a,o;for(o=new Mm,i=new mw(n.a.b);i.a=n.o)throw Nm(new Uv);a=t>>5,c=$_(1,M_($_(31&t,1))),n.n[e][a]=r?Gz(n.n[e][a],c):Uz(n.n[e][a],lK(c)),c=$_(c,1),n.n[e][a]=i?Gz(n.n[e][a],c):Uz(n.n[e][a],lK(c))}catch(i){throw hL(i=z5(i),333)?Nm(new Ey(sOn+n.o+"*"+n.p+hOn+t+vSn+e+fOn)):Nm(i)}}function ivn(n,t,i,r){var c,a;t&&(c=vy(V$(phn(t,(Ajn(),$nt))))+r,a=i+vy(V$(phn(t,Cnt)))/2,L8(t,Fnt,onn(M_(m5(e.Math.round(c))))),L8(t,_nt,onn(M_(m5(e.Math.round(a))))),0==t.d.b||ivn(n,YR(lL(new zg(Drn(new Xg(t).a.d,0))),40),i+vy(V$(phn(t,Cnt)))+n.b,r+vy(V$(phn(t,Ant)))),null!=phn(t,Rnt)&&ivn(n,YR(phn(t,Rnt),40),i,r))}function rvn(n){var t,e,i;return 64&n.Db?afn(n):(t=new yN(xKn),(e=n.k)?cO(cO((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new oB(ult,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new oB(ult,n,1,7)),YR(g2(n.n,0),135)).a)||cO(cO((t.a+=' "',t),i),'"'))),cO(wT(cO(wT(cO(wT(cO(wT((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function cvn(n){var t,e,i;return 64&n.Db?afn(n):(t=new yN(RKn),(e=n.k)?cO(cO((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new oB(ult,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new oB(ult,n,1,7)),YR(g2(n.n,0),135)).a)||cO(cO((t.a+=' "',t),i),'"'))),cO(wT(cO(wT(cO(wT(cO(wT((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function avn(n,t){var e,i,r,c,a,o;if(null==t||0==t.length)return null;if(!(r=YR(cX(n.a,t),143))){for(i=new sw(new uw(n.b).a.vc().Kc());i.a.Ob();)if(c=YR(i.a.Pb(),44),a=(e=YR(c.md(),143)).c,o=t.length,Ix(a.substr(a.length-o,o),t)&&(t.length==a.length||46==cG(a,a.length-t.length-1))){if(r)return null;r=e}r&&oz(n.a,t,r)}return r}function ovn(n){var t,e,i;w$(n,(NEn(),M6n))&&((i=YR(phn(n,M6n),21)).dc()||(e=new Qx(t=YR(cT(Yst),9),YR(XD(t,t.length),9),0),i.Hc((bdn(),_st))?T4(e,_st):T4(e,Bst),i.Hc(Kst)||T4(e,Kst),i.Hc(Rst)?T4(e,Gst):i.Hc(xst)?T4(e,Ust):i.Hc(Fst)&&T4(e,Hst),i.Hc(Gst)?T4(e,Rst):i.Hc(Ust)?T4(e,xst):i.Hc(Hst)&&T4(e,Fst),L8(n,M6n,e)))}function uvn(n){var t,e,i,r,c,a,o;for(r=YR(phn(n,(XEn(),H1n)),10),Rz(0,(i=n.j).c.length),e=YR(i.c[0],12),a=new mw(r.j);a.ar.p?(Zln(c,$ht),c.d&&(o=c.o.b,t=c.a.b,c.a.b=o-t)):c.j==$ht&&r.p>n.p&&(Zln(c,pht),c.d&&(o=c.o.b,t=c.a.b,c.a.b=-(o-t)));break}return r}function svn(n,t,e,i,r){var c,a,o,u,s,h,f;if(!(hL(t,207)||hL(t,366)||hL(t,193)))throw Nm(new Iy("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,u=t.i+i-a,h=t.j+r-a,s=u+t.g+n.a,f=h+t.f+n.a,UK(c=new ik,new xC(u,h)),UK(c,new xC(u,f)),UK(c,new xC(s,f)),UK(c,new xC(s,h)),M5(o=new Vwn(c),t),e&&xU(n.b,t,o),o}function hvn(n,t,e){var i,r,c,a,o,u,s,h;for(c=new xC(t,e),s=new mw(n.a);s.a1)for(o=P+1;ou.b.e.b*(1-g)+u.c.e.b*g));b++);if(y.gc()>0){if(C=0==u.a.b?aL(u.b.e):YR(l$(u.a),8),m=fx(aL(YR(y.Xb(y.gc()-1),40).e),YR(y.Xb(y.gc()-1),40).f),f=fx(aL(YR(y.Xb(0),40).e),YR(y.Xb(0),40).f),b>=y.gc()-1&&C.b>m.b&&u.c.e.b>m.b)continue;if(b<=0&&C.bu.b.e.a*(1-g)+u.c.e.a*g));b++);if(y.gc()>0){if(C=0==u.a.b?aL(u.b.e):YR(l$(u.a),8),m=fx(aL(YR(y.Xb(y.gc()-1),40).e),YR(y.Xb(y.gc()-1),40).f),f=fx(aL(YR(y.Xb(0),40).e),YR(y.Xb(0),40).f),b>=y.gc()-1&&C.a>m.a&&u.c.e.a>m.a)continue;if(b<=0&&C.a=vy(V$(phn(n,(Ajn(),Tnt))))&&++E):(l.f&&l.d.e.a<=vy(V$(phn(n,(Ajn(),Mnt))))&&++j,l.g&&l.c.e.a+l.c.f.a>=vy(V$(phn(n,(Ajn(),ynt))))&&++E)}else 0==v?mbn(u):v<0&&(++T[P],++d[I],j=YR((S=FEn(u,t,n,new sI(onn(j),onn(E)),e,i,new sI(onn(d[I]),onn(T[P])))).a,17).a,E=YR(S.b,17).a)}(n,u,a,o),function(n,t,i,r){var c,a,o,u,s,h,f,l,b,w,d;for(l=Drn(n.b,0);l.b!=l.d.c;)if(!Ix((f=YR(yW(l),40)).c,KDn))for(a=YR(TQ(new CF(null,new Fz(Bbn(f,n),16)),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)]))),15),t==(znn(),zut)||t==Vut?a.jd(new oo):a.jd(new uo),d=a.gc(),c=0;c0&&(u=YR(l$(YR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=YR(l$(YR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&e.Math.abs(s-w)/(e.Math.abs(u-b)/40)>50&&bO(YR(a.Xb(c),65).a,new xC(f.e.a+f.f.a+r/5.3,w>s?f.e.b+f.f.b*o-r/2:f.e.b+f.f.b*o+r/2))),bO(YR(a.Xb(c),65).a,new xC(f.e.a+f.f.a,f.e.b+f.f.b*o))):t==Vut?(h=vy(V$(phn(f,(Ajn(),Ont)))),f.e.a-r>h?bO(YR(a.Xb(c),65).a,new xC(h-i,f.e.b+f.f.b*o)):YR(a.Xb(c),65).a.b>0&&(u=YR(l$(YR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=YR(l$(YR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&e.Math.abs(s-w)/(e.Math.abs(u-b)/40)>50&&bO(YR(a.Xb(c),65).a,new xC(f.e.a-r/5.3,w>s?f.e.b+f.f.b*o-r/2:f.e.b+f.f.b*o+r/2))),bO(YR(a.Xb(c),65).a,new xC(f.e.a,f.e.b+f.f.b*o))):t==Qut?(h=vy(V$(phn(f,(Ajn(),Int)))),f.e.b+f.f.b+r0&&(u=YR(l$(YR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=YR(l$(YR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&e.Math.abs(u-b)/(e.Math.abs(s-w)/40)>50&&bO(YR(a.Xb(c),65).a,new xC(b>u?f.e.a+f.f.a*o-r/2:f.e.a+f.f.a*o+r/2,f.e.b+r/5.3+f.f.b))),bO(YR(a.Xb(c),65).a,new xC(f.e.a+f.f.a*o,f.e.b+f.f.b))):(h=vy(V$(phn(f,(Ajn(),Ont)))),l9(YR(a.Xb(c),65),n)?bO(YR(a.Xb(c),65).a,new xC(f.e.a+f.f.a*o,YR(l$(YR(a.Xb(c),65).a),8).b)):f.e.b-r>h?bO(YR(a.Xb(c),65).a,new xC(f.e.a+f.f.a*o,h-i)):YR(a.Xb(c),65).a.b>0&&(u=YR(l$(YR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=YR(l$(YR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&e.Math.abs(u-b)/(e.Math.abs(s-w)/40)>50&&bO(YR(a.Xb(c),65).a,new xC(b>u?f.e.a+f.f.a*o-r/2:f.e.a+f.f.a*o+r/2,f.e.b-r/5.3))),bO(YR(a.Xb(c),65).a,new xC(f.e.a+f.f.a*o,f.e.b)))}(n,u,a,o),r=Drn(n.a,0);r.b!=r.d.c;)(i=YR(yW(r),65)).a.b<2&&mbn(i);t.Vg()}function Tvn(n){switch(n.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return YR(Apn(n),17).a==n.o;case 1:case 2:if(-2==n.o)return!1;switch(n.p){case 0:case 1:case 2:case 6:case 5:case 7:return VI(n.k,n.f);case 3:case 4:return n.j==n.e;default:return null==n.n?null==n.g:Snn(n.n,n.g)}default:return!1}}function jvn(n,t){var i,r,c;switch(t.Ug("Breaking Point Insertion",1),r=new Xwn(n),YR(phn(n,(NEn(),x5n)),351).g){case 2:c=new kc;break;case 0:c=new hc;break;default:c=new yc}if(i=c.og(n,r),my(z$(phn(n,K5n)))&&(i=function(n,t){var i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y;for(b=new Tm,c=new Tm,g=null,o=t.Kc();o.Ob();)a=new mg(YR(o.Pb(),17).a),Fm(c.c,a),g&&(a.d=g,g.e=a),g=a;for(k=function(n){var t,e,i,r,c,a,o,u,s;for(s=eZ(Qdt,qPn,28,n.b.c.length+1,15,1),u=new gv,i=0,c=new mw(n.b);c.a1&&(i=new xC(r,e.b),UK(t.a,i)),I3(t.a,o8(sM(Tat,1),USn,8,0,[f,h]))}function Ivn(){Ivn=E,I8n=new OP(BAn,0),j8n=new OP("NIKOLOV",1),P8n=new OP("NIKOLOV_PIXEL",2),E8n=new OP("NIKOLOV_IMPROVED",3),S8n=new OP("NIKOLOV_IMPROVED_PIXEL",4),y8n=new OP("DUMMYNODE_PERCENTAGE",5),C8n=new OP("NODECOUNT_PERCENTAGE",6),O8n=new OP("NO_BOUNDARY",7),M8n=new OP("MODEL_ORDER_LEFT_TO_RIGHT",8),T8n=new OP("MODEL_ORDER_RIGHT_TO_LEFT",9)}function Ovn(){Ovn=E,set=new SO(mxn,(GN(),!1)),get=new SO(vxn,onn(0)),pet=new SO(kxn,0),met=new SO(yxn,!1),a7(),fet=new SO(Mxn,bet=ret),onn(0),het=new SO(Txn,onn(1)),B6(),Met=new SO(jxn,Tet=Zet),NZ(),jet=new SO(Exn,Eet=tet),Ean(),wet=new SO(Sxn,det=Wet),yet=new SO(Pxn,0),vet=new SO(Cxn,!1),ket=new SO(Ixn,!1)}function Avn(n,t,e){var i,r,c,a,o,u;if(t){if(e<=-1){if(hL(i=_0(t.Dh(),-1-e),102))return YR(i,19);for(o=0,u=(a=YR(t.Mh(i),160)).gc();o=40)&&function(n){var t,e,i,r,c,a,o;for(n.o=new qL,i=new qj,a=new mw(n.e.a);a.a0,o=nen(t,c),xN(e?o.b:o.g,t),1==f7(o).c.length&&kQ(i,o,i.c.b,i.c),r=new sI(c,t),TW(n.o,r),p1(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,o,u,s,h;for(s=n.e.a.c.length,c=new mw(n.e.a);c.a0&&UK(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&UK(n.e,c))))}function Qvn(n,t,e,i){var r,c,a,o,u,s,h;for(lx(u=new xC(e,i),YR(phn(t,(Ajn(),dnt)),8)),h=Drn(t.b,0);h.b!=h.d.c;)fx((s=YR(yW(h),40)).e,u),UK(n.b,s);for(o=YR(TQ(GX(new CF(null,new Fz(t.a,16))),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)]))),15).Kc();o.Ob();){for(c=Drn((a=YR(o.Pb(),65)).a,0);c.b!=c.d.c;)(r=YR(yW(c),8)).a+=u.a,r.b+=u.b;UK(n.a,a)}}function Jvn(n,t){var e,i,r,c;if(0<(hL(n,16)?YR(n,16).gc():YW(n.Kc()))){if(1<(r=t)){for(--r,c=new Ea,i=n.Kc();i.Ob();)e=YR(i.Pb(),40),c=l3(o8(sM(wUn,1),ySn,20,0,[c,new Xg(e)]));return Jvn(c,r)}if(r<0){for(c=new Sa,i=n.Kc();i.Ob();)e=YR(i.Pb(),40),c=l3(o8(sM(wUn,1),ySn,20,0,[c,new Xg(e)]));if(0<(hL(c,16)?YR(c,16).gc():YW(c.Kc())))return Jvn(c,r)}}return YR(lL(n.Kc()),40)}function Yvn(n,t,e){var i,r,c,a;for(e.Ug("Processor order nodes",2),n.b=vy(V$(phn(t,(fyn(),ktt)))),n.a=YR(phn(t,ntt),88),n.a==(znn(),Wut)&&(n.a=Xut,L8(t,ntt,n.a)),r=new qj,a=Drn(t.b,0);a.b!=a.d.c;)my(z$(phn(c=YR(yW(a),40),(Ajn(),Knt))))&&kQ(r,c,r.c.b,r.c);Y$(0!=r.b),BMn(n,i=YR(r.a.a.c,40)),e.fh(1),ivn(n,i,0-vy(V$(phn(i,(Ajn(),Cnt))))/2,0),e.fh(1),e.Vg()}function Zvn(){Zvn=E,Yht=new ZC("DEFAULT_MINIMUM_SIZE",0),nft=new ZC("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),Jht=new ZC("COMPUTE_PADDING",2),tft=new ZC("OUTSIDE_NODE_LABELS_OVERHANG",3),eft=new ZC("PORTS_OVERHANG",4),rft=new ZC("UNIFORM_PORT_SPACING",5),ift=new ZC("SPACE_EFFICIENT_PORT_LABELS",6),Zht=new ZC("FORCE_TABULAR_NODE_LABELS",7),Qht=new ZC("ASYMMETRICAL",8)}function nkn(n,t){var e,i,r,c,a,o,u,s;if(t){if(e=(c=t.Dh())?f2(c).wi().si(c):null){for(Orn(n,t,e),u=0,s=(null==(r=t.Dh()).i&&gyn(r),r.i).length;u=0&&u0&&(Kz(0,n.length),45==n.charCodeAt(0)||(Kz(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw Nm(new iM(pCn+n+'"'));return a}function okn(n){switch(n){case 100:return nSn(GHn,!0);case 68:return nSn(GHn,!1);case 119:return nSn(qHn,!0);case 87:return nSn(qHn,!1);case 115:return nSn(XHn,!0);case 83:return nSn(XHn,!1);case 99:return nSn(zHn,!0);case 67:return nSn(zHn,!1);case 105:return nSn(VHn,!0);case 73:return nSn(VHn,!1);default:throw Nm(new Yk(UHn+n.toString(16)))}}function ukn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&YR(n.a[n.b],10).k==(Zhn(),uQn)?Qyn(YR(n.a[n.b],10),(Mon(),Ost)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&YR(n.a[n.c-1&n.a.length-1],10).k==(Zhn(),uQn)?Qyn(YR(n.a[n.c-1&n.a.length-1],10),(Mon(),Ast)):2==(n.c-n.b&n.a.length-1)?(Qyn(YR(z8(n),10),(Mon(),Ost)),Qyn(YR(z8(n),10),Ast)):function(n,t){var e,i,r,c,a,o,u,s,h;for(u=t$(n.c-n.b&n.a.length-1),s=null,h=null,c=new iG(n);c.a!=c.b;)r=YR(R7(c),10),e=(o=YR(phn(r,(XEn(),V1n)),12))?o.i:null,i=(a=YR(phn(r,W1n),12))?a.i:null,s==e&&h==i||(Twn(u,t),s=e,h=i),Fm(u.c,r);Twn(u,t)}(n,r),rQ(n)}function skn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(cG(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=$bn(n,t))&&t[0]==c)return!1;if(t[0]1)for(i=new mw(r);i.a0&&(t.Cd(e),e.i&&stn(e))}(r=spn(n,t),(a=YR(Zrn(r,0),219)).c.kg()?a.c.eg()?new yg(n):new Mg(n):new kg(n)),function(n){var t,e,i;for(i=new mw(n.b);i.a=0&&o!=e&&(c=new uB(n,1,o,a,null),i?i.nj(c):i=c),e>=0&&(c=new uB(n,1,e,o==e?a:null,t),i?i.nj(c):i=c)),i}function wkn(n){var t,e,i;if(null==n.b){if(i=new Jy,null!=n.i&&(eO(i,n.i),i.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(function(n){return null!=n&&Lj(Flt,n.toLowerCase())}(n.i)||(i.a+="//"),eO(i,n.a)),null!=n.d&&(i.a+="/",eO(i,n.d)),16&n.f&&(i.a+="/"),t=0,e=n.j.length;t>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;rs)&&(u+o+hMn(i,s,!1).a<=t.b&&(PZ(e,c-e.s),e.c=!0,PZ(i,c-e.s),Ncn(i,e.s,e.t+e.d+o),i.k=!0,L6(e.q,i),h=!0,r&&(S3(t,i),i.j=t,n.c.length>a&&(Uon((Rz(a,n.c.length),YR(n.c[a],186)),i),0==(Rz(a,n.c.length),YR(n.c[a],186)).a.c.length&&HJ(n,a)))),h)}function vkn(n,t,e){var i,r,c,a,o;if(0==t.p){for(t.p=1,(r=e)||(r=new sI(new Tm,new Qx(i=YR(cT(Vht),9),YR(XD(i,i.length),9),0))),YR(r.a,15).Fc(t),t.k==(Zhn(),oQn)&&YR(r.b,21).Fc(YR(phn(t,(XEn(),$1n)),64)),a=new mw(t.j);a.a0)if(r=YR(n.Ab.g,2033),null==t){for(c=0;ci.s&&u=0&&s>=0&&ua)return Djn(),ght;break;case 4:case 3:if(h<0)return Djn(),pht;if(h+e>c)return Djn(),$ht}return(u=(s+o/2)/a)+(i=(h+e/2)/c)<=1&&u-i<=0?(Djn(),xht):u+i>=1&&u-i>=0?(Djn(),ght):i<.5?(Djn(),pht):(Djn(),$ht)}function Ikn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b;for(e=!1,u=vy(V$(phn(t,(NEn(),k5n)))),l=vPn*u,r=new mw(t.b);r.aa.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function Okn(n,t,e,i,r,c,a){var o,u,s,h,f;for(f=new tA,u=t.Kc();u.Ob();)for(h=new mw(YR(u.Pb(),853).Rf());h.an.b/2+t.b/2||(c=e.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2?1:0==i&&0==c?0:0==i?a/c+1:0==c?r/i+1:e.Math.min(r/i,a/c)+1}function Nkn(n,t){var e,i,r,c,a,o,u;for(c=0,o=0,u=0,r=new mw(n.f.e);r.a0&&n.d!=(z1(),lWn)&&(o+=a*(i.d.a+n.a[t.a][i.a]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(z1(),hWn)&&(u+=a*(i.d.b+n.a[t.a][i.a]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new xC(o/c,t.d.b);case 2:return new xC(t.d.a,u/c);default:return new xC(o/c,u/c)}}function $kn(n){var t,e,i,r,c;for(LL(c=new gY((!n.a&&(n.a=new $L(Yft,n,5)),n.a).i+2),new xC(n.j,n.k)),Zj(new CF(null,(!n.a&&(n.a=new $L(Yft,n,5)),new Fz(n.a,16))),new mp(c)),LL(c,new xC(n.b,n.c)),t=1;t0&&(j8(u,!1,(znn(),zut)),j8(u,!0,Vut)),t2(t.g,new rP(n,e)),xU(n.g,t,e)}function Rkn(){var n;for(Rkn=E,lGn=o8(sM(Qdt,1),qPn,28,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]),bGn=eZ(Qdt,qPn,28,37,15,1),wGn=o8(sM(Qdt,1),qPn,28,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]),dGn=eZ(Ydt,yCn,28,37,14,1),n=2;n<=36;n++)bGn[n]=bX(e.Math.pow(n,lGn[n])),dGn[n]=jun(VSn,bGn[n])}function Kkn(n){var t;if(1!=(!n.a&&(n.a=new oB(ilt,n,6,6)),n.a).i)throw Nm(new Iy(TKn+(!n.a&&(n.a=new oB(ilt,n,6,6)),n.a).i));return t=new ik,V5(YR(g2((!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b),0),84))&&V4(t,CEn(n,V5(YR(g2((!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b),0),84)),!1)),V5(YR(g2((!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c),0),84))&&V4(t,CEn(n,V5(YR(g2((!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c),0),84)),!0)),t}function Fkn(n,t){var e,i,r;for(r=!1,i=new __(dN((t.d?n.a.c==(TX(),a7n)?_tn(t.b):Btn(t.b):n.a.c==(TX(),c7n)?_tn(t.b):Btn(t.b)).a.Kc(),new h));Hwn(i);)if(e=YR(TJ(i),18),(my(n.a.f[n.a.g[t.b.p].p])||hJ(e)||e.c.i.c!=e.d.i.c)&&!my(n.a.n[n.a.g[t.b.p].p])&&!my(n.a.n[n.a.g[t.b.p].p])&&(r=!0,Kj(n.b,n.a.g[Ian(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function _kn(n,t,e){var i,r,c,a,o,u,s;if(0==(i=e.gc()))return!1;if(n.Pj())if(u=n.Qj(),Pen(n,t,e),a=1==i?n.Ij(3,null,e.Kc().Pb(),t,u):n.Ij(5,null,e,t,u),n.Mj()){for(o=i<100?null:new GM(i),c=t+i,r=t;r0){for(o=0;o>16==-15&&n.Cb.Yh()&&S1(new EZ(n.Cb,9,13,e,n.c,vcn(I1(YR(n.Cb,62)),n))):hL(n.Cb,90)&&n.Db>>16==-23&&n.Cb.Yh()&&(hL(t=n.c,90)||(YEn(),t=Lbt),hL(e,90)||(YEn(),e=Lbt),S1(new EZ(n.Cb,9,10,e,t,vcn(aQ(YR(n.Cb,29)),n)))))),n.c}function Xkn(n,t,e){var i,r,c,a,o,u,s,h;for(e.Ug("Hyperedge merging",1),function(n,t){var e,i,r,c;for((c=YR(TQ(c0(c0(new CF(null,new Fz(t.b,16)),new Re),new Ke),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)]))),15)).Jc(new Fe),e=0,r=c.Kc();r.Ob();)-1==(i=YR(r.Pb(),12)).p&&idn(n,i,e++)}(n,t),o=new $V(t.b,0);o.b0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}((BX(n)&&(BE(),new uy(BX(n))),BE(),new VN(BX(n)?new uy(BX(n)):null,n)),Vut),a=YR(phn(r,D6n),107),PX(i=r.d,a),PX(i,c),r}function Jkn(n,t){var i,r,c,a;return r=e.Math.abs(PB(n.b).a-PB(t.b).a),a=e.Math.abs(PB(n.b).b-PB(t.b).b),i=1,c=1,r>n.b.b/2+t.b.b/2&&(i=1-e.Math.min(e.Math.abs(n.b.c-(t.b.c+t.b.b)),e.Math.abs(n.b.c+n.b.b-t.b.c))/r),a>n.b.a/2+t.b.a/2&&(c=1-e.Math.min(e.Math.abs(n.b.d-(t.b.d+t.b.a)),e.Math.abs(n.b.d+n.b.a-t.b.d))/a),(1-e.Math.min(i,c))*e.Math.sqrt(r*r+a*a)}function Ykn(n){var t,i,r;for(Mjn(n,n.e,n.f,(MX(),K7n),!0,n.c,n.i),Mjn(n,n.e,n.f,K7n,!1,n.c,n.i),Mjn(n,n.e,n.f,F7n,!0,n.c,n.i),Mjn(n,n.e,n.f,F7n,!1,n.c,n.i),function(n,t,e,i,r){var c,a,o,u,s,h,f;for(a=new mw(t);a.a=w&&(m>w&&(b.c.length=0,w=m),Fm(b.c,a));0!=b.c.length&&(l=YR(wF(b,Ocn(t,b.c.length)),131),P.a.Bc(l),l.s=d++,qdn(l,E,M),b.c.length=0)}for(k=n.c.length+1,o=new mw(n);o.aS.s&&(uU(e),p1(S.i,i),i.c>0&&(i.a=S,LL(S.t,i),i.b=T,LL(T.i,i)))})(n.i,YR(phn(n.d,(XEn(),h0n)),234)),function(n){var t,i,r,c,a,o,u,s,h;for(s=new qj,o=new qj,c=new mw(n);c.a-1){for(r=Drn(o,0);r.b!=r.d.c;)(i=YR(yW(r),131)).v=a;for(;0!=o.b;)for(t=new mw((i=YR(Con(o,0),131)).i);t.a=65;e--)fdt[e]=e-65<<24>>24;for(i=122;i>=97;i--)fdt[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)fdt[r]=r-48+52<<24>>24;for(fdt[43]=62,fdt[47]=63,c=0;c<=25;c++)ldt[c]=65+c&APn;for(a=26,u=0;a<=51;++a,u++)ldt[a]=97+u&APn;for(n=52,o=0;n<=61;++n,o++)ldt[n]=48+o&APn;ldt[62]=43,ldt[63]=47}function tyn(n,t){var i,r,c,a,o,u;return(c=Y4(n))==(u=Y4(t))?n.e==t.e&&n.a<54&&t.a<54?n.ft.f?1:0:(r=n.e-t.e,(i=(n.d>0?n.d:e.Math.floor((n.a-1)*PCn)+1)-(t.d>0?t.d:e.Math.floor((t.a-1)*PCn)+1))>r+1?c:i0&&(o=HW(o,zyn(r))),_in(a,o))):cc)return Djn(),ght;break;case 4:case 3:if(u<0)return Djn(),pht;if(u+n.f>r)return Djn(),$ht}return(a=(o+n.g/2)/c)+(e=(u+n.f/2)/r)<=1&&a-e<=0?(Djn(),xht):a+e>=1&&a-e>=0?(Djn(),ght):e<.5?(Djn(),pht):(Djn(),$ht)}function ryn(n){var t,e,i,r,c,a;if(QEn(),4!=n.e&&5!=n.e)throw Nm(new Iy("Token#complementRanges(): must be RANGE: "+n.e));for(Sdn(c=n),qMn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==HHn&&(i-=2),(r=new Jz(4)).b=eZ(Qdt,qPn,28,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(Fb(u,u.d-r.d),r.c==(vY(),I7n)&&Rb(u,u.a-r.d),u.d<=0&&u.i>0&&kQ(t,u,t.c.b,t.c));for(c=new mw(n.f);c.a0&&(_b(o,o.i-r.d),r.c==(vY(),I7n)&&Kb(o,o.b-r.d),o.i<=0&&o.d>0&&kQ(e,o,e.c.b,e.c))}function oyn(n,t,e,i,r){var c,a,o,u,s,h,f;if(Xj(),JB(n,"src"),JB(e,"dest"),f=h7(n),u=h7(e),hK(!!(4&f.i),"srcType is not an array"),hK(!!(4&u.i),"destType is not an array"),h=f.c,a=u.c,hK(1&h.i?h==a:!(1&a.i),"Array types don't match"),function(n,t,e,i,r){var c,a;if(a=n.length,c=e.length,t<0||i<0||r<0||t+r>a||i+r>c)throw Nm(new Jm)}(n,t,e,i,r),1&h.i||f==u)iwn(n,t,e,i,r,!0);else if(s=i3(n),c=i3(e),GI(n)===GI(e)&&ti;)_H(c,o,s[--t]);else for(o=i+r;iw&&(a&&(bO(M,b),bO(j,onn(h.b-1))),I=i.b,O+=b+t,b=0,f=e.Math.max(f,i.b+i.c+C)),B2(u,I),H2(u,O),f=e.Math.max(f,I+C+i.c),b=e.Math.max(b,l),I+=C+t;if(f=e.Math.max(f,r),(P=O+b+i.a)2*c?(h=new v2(f),s=xF(a)/DF(a),u=sEn(h,t,new Wv,e,i,r,s),fx(TO(h.e),u),f.c.length=0,c=0,Fm(f.c,h),Fm(f.c,a),c=xF(h)*DF(h)+xF(a)*DF(a)):(Fm(f.c,a),c+=xF(a)*DF(a));return f}(o,t,f.a,f.b,(s=r,jU(c),s));break;case 1:w=function(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(iq(),BA(n,new Bu),a=JR(n),b=new Tm,l=new Tm,o=null,u=0;0!=a.b;)c=YR(0==a.b?null:(Y$(0!=a.b),a2(a,a.a.a)),163),!o||xF(o)*DF(o)/21&&(u>xF(o)*DF(o)/2||0==a.b)&&(f=new v2(l),h=xF(o)/DF(o),s=sEn(f,t,new Wv,e,i,r,h),fx(TO(f.e),s),o=f,Fm(b.c,f),u=0,l.c.length=0));return Y5(b,l),b}(o,t,f.a,f.b,(h=r,jU(c),h));break;default:w=function(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(o=eZ(ngt,ECn,28,n.c.length,15,1),Ion(l=new F_(new Hu),n),s=0,b=new Tm;0!=l.b.c.length;)if(a=YR(0==l.b.c.length?null:wF(l.b,0),163),s>1&&xF(a)*DF(a)/2>o[0]){for(c=0;co[c];)++c;f=new v2(new Ez(b,0,c+1)),h=xF(a)/DF(a),u=sEn(f,t,new Wv,e,i,r,h),fx(TO(f.e),u),sK(ihn(l,f),ACn),Ion(l,new Ez(b,c+1,b.c.length)),b.c.length=0,s=0,i_(o,o.length,0)}else null!=(0==l.b.c.length?null:wF(l.b,0))&&C4(l,0),s>0&&(o[s]=o[s-1]),o[s]+=xF(a)*DF(a),++s,Fm(b.c,a);return b}(o,t,f.a,f.b,(u=r,jU(c),u))}_jn(n,(b=sEn(new v2(w),t,i,f.a,f.b,r,(jU(c),c))).a,b.b,!1,!0)}(n,c,a,i),t.Vg()}function syn(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(f=function(n,t){var e,i,r;for(r=new $V(n.e,0),e=0;r.bODn)return e;i>-1e-6&&++e}return e}(n,e),o=0;o0),i.a.Xb(i.c=--i.b),h>f+o&&uU(i);for(c=new mw(l);c.a0),i.a.Xb(i.c=--i.b)}}function hyn(n,t){var e,i,r,c,a,o,u,s;for(e=new RegExp(t,"g"),u=eZ(IGn,USn,2,0,6,1),i=0,s=n,c=null;;){if(null==(o=e.exec(s))||""==s){u[i]=s;break}a=o.index,u[i]=(oZ(0,a,s.length),s.substr(0,a)),s=qq(s,a+o[0].length,s.length),e.lastIndex=0,c==s&&(u[i]=(oZ(0,1,s.length),s.substr(0,1)),Kz(1,s.length+1),s=s.substr(1)),c=s,++i}if(n.length>0){for(r=u.length;r>0&&""==u[r-1];)--r;r0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=e.Math.max(r[1],l),t_(n.a[1],i.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(u=0,h=(a=n.a).length;ua&&(a=r,s.c.length=0),r==a&&LL(s,new sI(e.c.i,e)));iq(),BA(s,n.c),n_(n.b,o.p,s)}}(l,n),l.f=t$(l.d),function(n,t){var e,i,r,c,a,o,u,s;for(c=new mw(t.b);c.aa&&(a=r,s.c.length=0),r==a&&LL(s,new sI(e.d.i,e)));iq(),BA(s,n.c),n_(n.f,o.p,s)}}(l,n),l}function wyn(n,t){var i,r,c;for(c=YR(wF(n.n,n.n.c.length-1),209).d,n.p=e.Math.min(n.p,t.g),n.r=e.Math.max(n.r,c),n.g=e.Math.max(n.g,t.g+(1==n.b.c.length?0:n.i)),n.o=e.Math.min(n.o,t.f),n.e+=t.f+(1==n.b.c.length?0:n.i),n.f=e.Math.max(n.f,t.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,i=new mw(n.n);i.a1)for(i=Drn(r,0);i.b!=i.d.c;)for(c=0,o=new mw((e=YR(yW(i),235)).e);o.a0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=e.Math.max(t[1],l),e_(n.a[1],r.d+i.d+t[0]-(t[1]-l)/2,t[1]);else for(w=r.d+i.d,b=r.a-i.d-i.a,s=0,f=(o=n.a).length;s0||0==xtn(c.b.d,n.b.d+n.b.a)&&r.b<0||0==xtn(c.b.d+c.b.a,n.b.d)&&r.b>0){u=0;break}}else u=e.Math.min(u,Yln(n,c,r));u=e.Math.min(u,vyn(n,a,u,r))}return u}function kyn(n,t){var e,i,r,c,a,o;if(n.b<2)throw Nm(new Iy("The vector chain must contain at least a source and a target point."));for(Y$(0!=n.b),gA(t,(i=YR(n.a.a.c,8)).a,i.b),o=new YN((!t.a&&(t.a=new $L(Yft,t,5)),t.a)),c=Drn(n,1);c.a=0&&c!=e)throw Nm(new Iy(BFn));for(r=0,u=0;uvy(SL(a.g,a.d[0]).a)?(Y$(u.b>0),u.a.Xb(u.c=--u.b),HD(u,a),r=!0):o.e&&o.e.gc()>0&&(c=(!o.e&&(o.e=new Tm),o.e).Mc(t),s=(!o.e&&(o.e=new Tm),o.e).Mc(e),(c||s)&&((!o.e&&(o.e=new Tm),o.e).Fc(a),++a.c));r||Fm(i.c,a)}function jyn(n,t,e){var i,r,c,a,o,u,s,h,f,l;return h=n.a.i+n.a.g/2,f=n.a.i+n.a.g/2,a=new xC(t.i+t.g/2,t.j+t.f/2),(u=YR(ldn(t,(zEn(),wut)),8)).a=u.a+h,u.b=u.b+f,r=(a.b-u.b)/(a.a-u.a),i=a.b-r*a.a,o=new xC(e.i+e.g/2,e.j+e.f/2),(s=YR(ldn(e,wut),8)).a=s.a+h,s.b=s.b+f,c=(o.b-s.b)/(o.a-s.a),l=(i-(o.b-c*o.a))/(c-r),!(u.a>>0).toString(16),t.length-2,t.length):n>=TCn?"\\v"+qq(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&APn)}return e}function Ayn(n){var t,e,i;if(cA(YR(phn(n,(NEn(),X6n)),101)))for(e=new mw(n.j);e.a=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=YR(wF(t.n,t.n.c.length-1),209)).e+c.d+e.g+r<=i&&(YR(wF(t.n,t.n.c.length-1),209).f-n.f+e.f<=n.b||1==n.a.c.length))return Wtn(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return LL(t.b,e),a=YR(wF(t.n,t.n.c.length-1),209),LL(t.n,new pX(t.s,a.f+a.a+t.i,t.i)),lan(YR(wF(t.n,t.n.c.length-1),209),e),wyn(t,e),!0}return!1}function Dyn(n,t,e){var i,r,c,a;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,a=Z1(n,t,e),e,t,c),n.Mj()&&!(n.Yi()&&null!=a?Snn(a,e):GI(a)===GI(e))?(null!=a&&(r=n.Oj(a,r)),r=n.Nj(e,r),n.Tj()&&(r=n.Wj(a,e,r)),r?(r.nj(i),r.oj()):n.Jj(i)):(n.Tj()&&(r=n.Wj(a,e,r)),r?(r.nj(i),r.oj()):n.Jj(i)),a):(a=Z1(n,t,e),n.Mj()&&!(n.Yi()&&null!=a?Snn(a,e):GI(a)===GI(e))&&(r=null,null!=a&&(r=n.Oj(a,null)),(r=n.Nj(e,r))&&r.oj()),a)}function xyn(n,t){var e,i,r,c;if(t.Ug("Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new Xwn(n)).i&&(r.i=e6(r,new pc)),e=vy(r.i)*r.f/(null==r.i&&(r.i=e6(r,new pc)),vy(r.i)),r.b>e)t.Vg();else{switch(YR(phn(n,(NEn(),x5n)),351).g){case 2:c=new kc;break;case 0:c=new hc;break;default:c=new yc}if(i=c.og(n,r),!c.pg())switch(YR(phn(n,H5n),352).g){case 2:i=nbn(r,i);break;case 1:i=usn(r,i)}(function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=YR((i=e.Kc()).Pb(),17).a;a0&&(u=o/60|0,s=o%60,r=n.q.getDate(),n.q.getHours()+u>=24&&++r,c=new e.Date(n.q.getFullYear(),n.q.getMonth(),r,t+u,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=t&&n.q.setTime(a)}function Kyn(n,t){var e,i,r,c;if(function(n,t){OL(n,M_(Uz(D_(t,24),qCn)),M_(Uz(t,qCn)))}(n.d,n.e),n.c.a.$b(),0!=vy(V$(phn(t.j,(NEn(),g4n))))||0!=vy(V$(phn(t.j,g4n))))for(e=ROn,GI(phn(t.j,y4n))!==GI((Din(),$8n))&&L8(t.j,(XEn(),x1n),(GN(),!0)),c=YR(phn(t.j,E5n),17).a,r=0;r=g&&n.e[s.p]>w*n.b||v>=i*g)&&(Fm(l.c,u),u=new Tm,V4(o,a),a.a.$b(),h-=f,b=e.Math.max(b,h*n.b+d),h+=v,m=v,v=0,f=0,d=0);return new sI(b,l)}function Byn(n){var t,e,i,r,c;if(!n.d){if(c=new js,null==(t=Gbt).a.zc(n,t)){for(e=new zL(Bq(n));e.e!=e.i.gc();)uH(c,Byn(YR(Grn(e),29)));t.a.Bc(n),t.a.gc()}for(r=c.i,!n.q&&(n.q=new oB(bbt,n,11,10)),i=new zL(n.q);i.e!=i.i.gc();++r)YR(Grn(i),411);uH(c,(!n.q&&(n.q=new oB(bbt,n,11,10)),n.q)),t7(c),n.d=new PO((YR(g2(sq(($H(),mbt).o),9),19),c.i),c.g),n.e=YR(c.g,688),null==n.e&&(n.e=qbt),lJ(n).b&=-17}return n.d}function Hyn(n,t,e,i){var r,c,a,o,u,s;if(s=rpn(n.e.Dh(),t),u=0,r=YR(n.g,124),WE(),YR(t,69).xk()){for(a=0;a1||-1==w)if(f=YR(d,71),l=YR(h,71),f.dc())l.$b();else for(a=!!Kcn(t),c=0,o=n.a?f.Kc():f.Ii();o.Ob();)s=YR(o.Pb(),58),(r=YR(e0(n,s),58))?(a?-1==(u=l.dd(r))?l.Gi(c,r):c!=u&&l.Ui(c,r):l.Gi(c,r),++c):n.b&&!a&&(l.Gi(c,s),++c);else null==d?h.Wb(null):null==(r=e0(n,d))?n.b&&!Kcn(t)&&h.Wb(d):h.Wb(r)}function Gyn(n,t){var i,r,c,a,o,u,s,f;for(i=new Ne,c=new __(dN(_tn(t).a.Kc(),new h));Hwn(c);)if(!hJ(r=YR(TJ(c),18))&&Esn(u=r.c.i,IQn)){if(-1==(f=kmn(n,u,IQn,CQn)))continue;i.b=e.Math.max(i.b,f),!i.a&&(i.a=new Tm),LL(i.a,u)}for(o=new __(dN(Btn(t).a.Kc(),new h));Hwn(o);)if(!hJ(a=YR(TJ(o),18))&&Esn(s=a.d.i,CQn)){if(-1==(f=kmn(n,s,CQn,IQn)))continue;i.d=e.Math.max(i.d,f),!i.c&&(i.c=new Tm),LL(i.c,s)}return i}function qyn(n,t,e,i){var r,c,a,o,u,s,h;if(e.d.i!=t.i){for(Lb(r=new Hcn(n),(Zhn(),sQn)),L8(r,(XEn(),Z1n),e),L8(r,(NEn(),X6n),(ysn(),tht)),Fm(i.c,r),hz(a=new lfn,r),Zln(a,(Djn(),xht)),hz(o=new lfn,r),Zln(o,ght),h=e.d,fz(e,a),M5(c=new Aq,e),L8(c,u6n,null),uz(c,o),fz(c,h),s=new $V(e.b,0);s.b1e6)throw Nm(new jy("power of ten too big"));if(n<=dSn)return EJ(zbn(FGn[1],t),t);for(r=i=zbn(FGn[1],dSn),e=m5(n-dSn),t=bX(n%dSn);q7(e,dSn)>0;)r=HW(r,i),e=$tn(e,dSn);for(r=EJ(r=HW(r,zbn(FGn[1],t)),dSn),e=m5(n-dSn);q7(e,dSn)>0;)r=EJ(r,dSn),e=$tn(e,dSn);return EJ(r,t)}function Vyn(n){var t,e,i,r,c,a,o,u;for(a=new mw(n.a);a.as&&i>s)){r=!1,e._g()&&e.bh("bk node placement breaks on "+o+" which should have been after "+h);break}h=o,s=vy(t.p[o.p])+vy(t.d[o.p])+o.o.b+o.d.a}if(!r)break}return e._g()&&e.bh(t+" is feasible: "+r),r}function Yyn(n,t,e,i){var r,c,a,o,u,s,h;if(Lb(c=new Hcn(n),(Zhn(),fQn)),L8(c,(NEn(),X6n),(ysn(),tht)),r=0,t){for(L8(a=new lfn,(XEn(),Z1n),t),L8(c,Z1n,t.i),Zln(a,(Djn(),xht)),hz(a,c),s=0,h=(u=RV(t.e)).length;s=0&&!pan(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!pan(n,o,w);)--o;c[w]=o}for(u=0;ut[l]&&li[u]&&evn(n,u,l,!1,!0)}function eMn(n){var t,e,i,r,c,a,o,u;e=my(z$(phn(n,(Akn(),gVn)))),c=n.a.c.d,o=n.a.d.d,e?(a=AL(lx(new xC(o.a,o.b),c),.5),u=AL(aL(n.e),.5),t=lx(fx(new xC(c.a,c.b),a),u),j$(n.d,t)):(r=vy(V$(phn(n.a,$Vn))),i=n.d,c.a>=o.a?c.b>=o.b?(i.a=o.a+(c.a-o.a)/2+r,i.b=o.b+(c.b-o.b)/2-r-n.e.b):(i.a=o.a+(c.a-o.a)/2+r,i.b=c.b+(o.b-c.b)/2+r):c.b>=o.b?(i.a=c.a+(o.a-c.a)/2+r,i.b=o.b+(c.b-o.b)/2+r):(i.a=c.a+(o.a-c.a)/2+r,i.b=c.b+(o.b-c.b)/2-r-n.e.b))}function iMn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Ms,c=new Ms,null==(t=Gbt).a.zc(n,t)){for(r=new zL(Bq(n));r.e!=r.i.gc();)uH(a,iMn(YR(Grn(r),29)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new oB(ibt,n,21,17)),i=new zL(n.s);i.e!=i.i.gc();)hL(e=YR(Grn(i),179),102)&&wZ(c,YR(e,19));t7(c),n.r=new $K(n,(YR(g2(sq(($H(),mbt).o),6),19),c.i),c.g),uH(a,n.r),t7(a),n.f=new PO((YR(g2(sq(mbt.o),5),19),a.i),a.g),lJ(n).b&=-3}return n.f}function rMn(n){xE(n,new _sn(SM(MM(EM(jM(new bu,OOn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ct))),UV(n,OOn,AOn,Urn(Yzn)),UV(n,OOn,LOn,Urn(Xzn)),UV(n,OOn,NOn,Urn(Bzn)),UV(n,OOn,$On,Urn(zzn)),UV(n,OOn,AIn,Urn(Qzn)),UV(n,OOn,LIn,Urn(Wzn)),UV(n,OOn,OIn,Urn(Jzn)),UV(n,OOn,NIn,Urn(Vzn)),UV(n,OOn,EOn,Urn(Uzn)),UV(n,OOn,SOn,Urn(Hzn)),UV(n,OOn,POn,Urn(Gzn)),UV(n,OOn,COn,Urn(qzn))}function cMn(){cMn=E,zft=o8(sM(Wdt,1),IPn,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Vft=new RegExp("[ \t\n\r\f]+");try{Xft=o8(sM(Zbt,1),ySn,2114,0,[new um((MO(),Wen("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",FD((cy(),cy(),RUn))))),new um(Wen("yyyy-MM-dd'T'HH:mm:ss'.'SSS",FD(RUn))),new um(Wen("yyyy-MM-dd'T'HH:mm:ss",FD(RUn))),new um(Wen("yyyy-MM-dd'T'HH:mm",FD(RUn))),new um(Wen("yyyy-MM-dd",FD(RUn)))])}catch(n){if(!hL(n=z5(n),82))throw Nm(n)}}function aMn(n,t){var e,i,r;if(i=0!=tgn(n.d,1),0==bvn(n,t)&&my(z$(phn(t.j,(XEn(),x1n)))))return 0;!my(z$(phn(t.j,(XEn(),x1n))))&&!my(z$(phn(t.j,b0n)))||GI(phn(t.j,(NEn(),y4n)))===GI((Din(),$8n))?t.c.mg(t.e,i):i=my(z$(phn(t.j,x1n))),Ugn(n,t,i,!0),my(z$(phn(t.j,b0n)))&&L8(t.j,b0n,(GN(),!1)),my(z$(phn(t.j,x1n)))&&(L8(t.j,x1n,(GN(),!1)),L8(t.j,b0n,!0)),e=bvn(n,t);do{if(H4(n),0==e)return 0;r=e,Ugn(n,t,i=!i,!1),e=bvn(n,t)}while(r>e);return r}function oMn(n,t){var e,i,r;if(i=0!=tgn(n.d,1),0==jln(n,t)&&my(z$(phn(t.j,(XEn(),x1n)))))return 0;!my(z$(phn(t.j,(XEn(),x1n))))&&!my(z$(phn(t.j,b0n)))||GI(phn(t.j,(NEn(),y4n)))===GI((Din(),$8n))?t.c.mg(t.e,i):i=my(z$(phn(t.j,x1n))),Ugn(n,t,i,!0),my(z$(phn(t.j,b0n)))&&L8(t.j,b0n,(GN(),!1)),my(z$(phn(t.j,x1n)))&&(L8(t.j,x1n,(GN(),!1)),L8(t.j,b0n,!0)),e=jln(n,t);do{if(H4(n),0==e)return 0;r=e,Ugn(n,t,i=!i,!1),e=jln(n,t)}while(r>e);return r}function uMn(n,t,i,r){var c,a,o,u,s,h,f,l,b;return h=(s=lx(new xC(i.a,i.b),n)).a*t.b-s.b*t.a,f=t.a*r.b-t.b*r.a,l=(s.a*r.b-s.b*r.a)/f,b=h/f,0==f?0==h?(a=vZ(n,c=fx(new xC(i.a,i.b),AL(new xC(r.a,r.b),.5))),o=vZ(fx(new xC(n.a,n.b),t),c),u=.5*e.Math.sqrt(r.a*r.a+r.b*r.b),a=0&&l<=1&&b>=0&&b<=1?fx(new xC(n.a,n.b),AL(new xC(t.a,t.b),l)):null}function sMn(n){var t,i,r,c,a,o,u,s,h,f;for(s=new ow(new tw(dwn(n)).a.vc().Kc());s.a.Ob();){for(r=YR(s.a.Pb(),44),h=0,f=0,h=(u=YR(r.ld(),10)).d.d,f=u.o.b+u.d.a,n.d[u.p]=0,t=u;(c=n.a[t.p])!=u;)i=hrn(t,c),0,o=n.c==(TX(),c7n)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,a=vy(n.d[t.p])+o,n.d[c.p]=a,h=e.Math.max(h,c.d.d-a),f=e.Math.max(f,a+c.o.b+c.d.a),t=c;t=u;do{n.d[t.p]=vy(n.d[t.p])+h,t=n.a[t.p]}while(t!=u);n.b[u.p]=h+f}}function hMn(n,t,i){var r,c,a,o,u,s,h,f,l,b;for(a=0,o=n.t,c=0,r=0,s=0,b=0,l=0,i&&(n.n.c.length=0,LL(n.n,new pX(n.s,n.t,n.i))),u=0,f=new mw(n.b);f.a0?n.i:0)>t&&s>0&&(a=0,o+=s+n.i,c=e.Math.max(c,b),r+=s+n.i,s=0,b=0,i&&(++l,LL(n.n,new pX(n.s,o,n.i))),u=0),b+=h.g+(u>0?n.i:0),s=e.Math.max(s,h.f),i&&lan(YR(wF(n.n,l),209),h),a+=h.g+(u>0?n.i:0),++u;return c=e.Math.max(c,b),r+=s,i&&(n.r=c,n.d=r,aon(n.j)),new yG(n.s,n.t,c,r)}function fMn(n){var t,i,r,c,a,o,u,s,h,f,l;for(n.b=!1,f=mCn,u=vCn,l=mCn,s=vCn,i=n.e.a.ec().Kc();i.Ob();)for(r=(t=YR(i.Pb(),272)).a,f=e.Math.min(f,r.c),u=e.Math.max(u,r.c+r.b),l=e.Math.min(l,r.d),s=e.Math.max(s,r.d+r.a),a=new mw(t.c);a.ao?1:-1:R9(n.a,t.a,c)))f=-u,h=a==u?_J(t.a,o,n.a,c):tZ(t.a,o,n.a,c);else if(f=a,a==u){if(0==r)return wvn(),DGn;h=_J(n.a,c,t.a,o)}else h=tZ(n.a,c,t.a,o);return FV(s=new BB(f,h.length,h)),s}function vMn(n,t){var e,i,r;if(r=Qkn(t),!t.c&&(t.c=new oB(hlt,t,9,9)),Zj(new CF(null,(!t.c&&(t.c=new oB(hlt,t,9,9)),new Fz(t.c,16))),new yd(r)),function(n,t){var e,i,r,c,a,o,u,s,h,f,l;for(a=my(z$(ldn(n,(NEn(),r6n)))),l=YR(ldn(n,W6n),21),u=!1,s=!1,f=new zL((!n.c&&(n.c=new oB(hlt,n,9,9)),n.c));!(f.e==f.i.gc()||u&&s);){for(c=YR(Grn(f),123),o=0,r=SB(l3(o8(sM(wUn,1),ySn,20,0,[(!c.d&&(c.d=new Mx(elt,c,8,5)),c.d),(!c.e&&(c.e=new Mx(elt,c,7,4)),c.e)])));Hwn(r)&&(i=YR(TJ(r),74),h=a&&xbn(i)&&my(z$(ldn(i,c6n))),e=iTn((!i.b&&(i.b=new Mx(tlt,i,4,7)),i.b),c)?n==BX(Hsn(YR(g2((!i.c&&(i.c=new Mx(tlt,i,5,8)),i.c),0),84))):n==BX(Hsn(YR(g2((!i.b&&(i.b=new Mx(tlt,i,4,7)),i.b),0),84))),!((h||e)&&++o>1)););(o>0||l.Hc((bbn(),hht))&&(!c.n&&(c.n=new oB(ult,c,1,7)),c.n).i>0)&&(u=!0),o>1&&(s=!0)}u&&t.Fc((Vpn(),QZn)),s&&t.Fc((Vpn(),JZn))}(t,i=YR(phn(r,(XEn(),R1n)),21)),i.Hc((Vpn(),QZn)))for(e=new zL((!t.c&&(t.c=new oB(hlt,t,9,9)),t.c));e.e!=e.i.gc();)jjn(n,t,r,YR(Grn(e),123));return 0!=YR(ldn(t,(NEn(),O6n)),181).gc()&&Wpn(t,r),my(z$(phn(r,R6n)))&&i.Fc(t1n),w$(r,a5n)&&gy(new Aen(vy(V$(phn(r,a5n)))),r),GI(ldn(t,Z4n))===GI((tnn(),Est))?function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E;for(a=new qj,v=YR(phn(e,(NEn(),x4n)),88),d=0,V4(a,(!t.a&&(t.a=new oB(slt,t,10,11)),t.a));0!=a.b;)(GI(ldn(s=BX(h=YR(0==a.b?null:(Y$(0!=a.b),a2(a,a.a.a)),27)),y4n))!==GI((Din(),$8n))||GI(ldn(s,$4n))===GI(($in(),oZn))||GI(ldn(s,$4n))===GI(($in(),cZn))||my(z$(ldn(s,T4n)))||GI(ldn(s,d4n))!==GI((Zin(),QWn))||GI(ldn(s,g6n))===GI((Ivn(),M8n))||GI(ldn(s,g6n))===GI((Ivn(),T8n))||GI(ldn(s,p6n))===GI((Fgn(),X5n))||GI(ldn(s,p6n))===GI((Fgn(),V5n)))&&!my(z$(ldn(h,v4n)))&&ucn(h,(XEn(),Y1n),onn(d++)),!my(z$(ldn(h,$6n)))&&(l=0!=(!h.a&&(h.a=new oB(slt,h,10,11)),h.a).i,w=Rsn(h),b=GI(ldn(h,Z4n))===GI((tnn(),Est)),p=null,(E=!YY(h,(zEn(),Yat))||MJ(W$(ldn(h,Yat))))&&b&&(l||w)&&(L8(p=Qkn(h),x4n,v),w$(p,a5n)&&gy(new Aen(vy(V$(phn(p,a5n)))),p),0!=YR(ldn(h,O6n),181).gc()&&(f=p,Zj(new CF(null,(!h.c&&(h.c=new oB(hlt,h,9,9)),new Fz(h.c,16))),new Md(f)),Wpn(h,p))),k=e,(y=YR(KH(n.a,BX(h)),10))&&(k=y.e),g=uEn(n,h,k),p&&(g.e=p,p.e=g,V4(a,(!h.a&&(h.a=new oB(slt,h,10,11)),h.a))));for(d=0,kQ(a,t,a.c.b,a.c);0!=a.b;){for(u=new zL((!(c=YR(0==a.b?null:(Y$(0!=a.b),a2(a,a.a.a)),27)).b&&(c.b=new oB(elt,c,12,3)),c.b));u.e!=u.i.gc();)lvn(o=YR(Grn(u),74)),(GI(ldn(t,y4n))!==GI((Din(),$8n))||GI(ldn(t,$4n))===GI(($in(),oZn))||GI(ldn(t,$4n))===GI(($in(),cZn))||my(z$(ldn(t,T4n)))||GI(ldn(t,d4n))!==GI((Zin(),QWn))||GI(ldn(t,g6n))===GI((Ivn(),M8n))||GI(ldn(t,g6n))===GI((Ivn(),T8n))||GI(ldn(t,p6n))===GI((Fgn(),X5n))||GI(ldn(t,p6n))===GI((Fgn(),V5n)))&&ucn(o,(XEn(),Y1n),onn(d++)),T=Hsn(YR(g2((!o.b&&(o.b=new Mx(tlt,o,4,7)),o.b),0),84)),j=Hsn(YR(g2((!o.c&&(o.c=new Mx(tlt,o,5,8)),o.c),0),84)),my(z$(ldn(o,$6n)))||my(z$(ldn(T,$6n)))||my(z$(ldn(j,$6n)))||(m=c,xbn(o)&&my(z$(ldn(T,r6n)))&&my(z$(ldn(o,c6n)))||n2(j,T)?m=T:n2(T,j)&&(m=j),k=e,(y=YR(KH(n.a,m),10))&&(k=y.e),L8(qEn(n,o,m,k),(XEn(),j1n),Ppn(n,o,t,e)));if(b=GI(ldn(c,Z4n))===GI((tnn(),Est)))for(r=new zL((!c.a&&(c.a=new oB(slt,c,10,11)),c.a));r.e!=r.i.gc();)E=!YY(i=YR(Grn(r),27),(zEn(),Yat))||MJ(W$(ldn(i,Yat))),M=GI(ldn(i,Z4n))===GI(Est),E&&M&&kQ(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(l=0,r=new zL((!t.a&&(t.a=new oB(slt,t,10,11)),t.a));r.e!=r.i.gc();)my(z$(ldn(i=YR(Grn(r),27),(NEn(),$6n))))||(GI(ldn(h=BX(i),y4n))===GI((Din(),$8n))&&GI(ldn(h,$4n))!==GI(($in(),oZn))&&GI(ldn(h,$4n))!==GI(($in(),cZn))&&!my(z$(ldn(h,T4n)))&&GI(ldn(h,d4n))===GI((Zin(),QWn))&&GI(ldn(h,g6n))!==GI((Ivn(),M8n))&&GI(ldn(h,g6n))!==GI((Ivn(),T8n))&&GI(ldn(h,p6n))!==GI((Fgn(),X5n))&&GI(ldn(h,p6n))!==GI((Fgn(),V5n))||my(z$(ldn(i,v4n)))||(ucn(i,(XEn(),Y1n),onn(l)),++l),uEn(n,i,e));for(l=0,s=new zL((!t.b&&(t.b=new oB(elt,t,12,3)),t.b));s.e!=s.i.gc();)o=YR(Grn(s),74),(GI(ldn(t,(NEn(),y4n)))!==GI((Din(),$8n))||GI(ldn(t,$4n))===GI(($in(),oZn))||GI(ldn(t,$4n))===GI(($in(),cZn))||my(z$(ldn(t,T4n)))||GI(ldn(t,d4n))!==GI((Zin(),QWn))||GI(ldn(t,g6n))===GI((Ivn(),M8n))||GI(ldn(t,g6n))===GI((Ivn(),T8n))||GI(ldn(t,p6n))===GI((Fgn(),X5n))||GI(ldn(t,p6n))===GI((Fgn(),V5n)))&&(ucn(o,(XEn(),Y1n),onn(l)),++l),d=Thn(o),g=Shn(o),f=my(z$(ldn(d,r6n))),w=!my(z$(ldn(o,$6n))),b=f&&xbn(o)&&my(z$(ldn(o,c6n))),c=BX(d)==t&&BX(d)==BX(g),a=(BX(d)==t&&g==t)^(BX(g)==t&&d==t),w&&!b&&(a||c)&&qEn(n,o,t,e);if(BX(t))for(u=new zL(FG(BX(t)));u.e!=u.i.gc();)(d=Thn(o=YR(Grn(u),74)))==t&&xbn(o)&&(b=my(z$(ldn(d,(NEn(),r6n))))&&my(z$(ldn(o,c6n))))&&qEn(n,o,t,e)}(n,t,r),r}function kMn(n,t){var e,i,r,c,a,o,u;if(null==n)return null;if(0==(c=n.length))return"";for(u=eZ(Wdt,IPn,28,c,15,1),oZ(0,c,n.length),oZ(0,c,u.length),rH(n,0,c,u,0),e=null,o=t,r=0,a=0;r0?qq(e.a,0,c-1):"":(oZ(0,c-1,n.length),n.substr(0,c-1)):e?e.a:n}function yMn(n,t){var e,i,r,c,a;if(a=YR(t,138),Sdn(n),Sdn(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=eZ(Qdt,qPn,28,a.b.length,15,1),void oyn(a.b,0,n.b,0,a.b.length);for(c=eZ(Qdt,qPn,28,n.b.length+a.b.length,15,1),e=0,i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0?n.i:0)),++t;for(ptn(n.n,s),n.d=i,n.r=r,n.g=0,n.f=0,n.e=0,n.o=mCn,n.p=mCn,a=new mw(n.b);a.a0&&(!(r=(!n.n&&(n.n=new oB(ult,n,1,7)),YR(g2(n.n,0),135)).a)||cO(cO((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new Mx(tlt,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new Mx(tlt,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",cO(t,QL(new Xy,new zL(n.b))),e&&(t.a+="]"),t.a+=VAn,e&&(t.a+="["),cO(t,QL(new Xy,new zL(n.c))),e&&(t.a+="]"),t.a)}function EMn(n,t,i){var r,c,a,o,u,s,h;return e.Math.abs(t.s-t.c)h?new Cz((vY(),O7n),i,t,s-h):s>0&&h>0&&(new Cz((vY(),O7n),t,i,0),new Cz(O7n,i,t,0))),a)}function SMn(n,t,e,i){var r,c,a,o,u,s;if(c=vtn(i),!my(z$(phn(i,(NEn(),v6n))))&&!my(z$(phn(n,i6n)))||cA(YR(phn(n,X6n),101)))switch(hz(o=new lfn,n),t?((s=o.n).a=t.a-n.n.a,s.b=t.b-n.n.b,Cfn(s,0,0,n.o.a,n.o.b),Zln(o,Ckn(o,c))):(r=ben(c),Zln(o,e==(k3(),G8n)?r:ntn(r))),a=YR(phn(i,(XEn(),R1n)),21),u=o.j,c.g){case 2:case 1:(u==(Djn(),pht)||u==$ht)&&a.Fc((Vpn(),n1n));break;case 4:case 3:(u==(Djn(),ght)||u==xht)&&a.Fc((Vpn(),n1n))}else r=ben(c),o=Mkn(n,e,e==(k3(),G8n)?r:ntn(r));return o}function PMn(n,t){var i,r,c,a,o;for(o=new Y6(new ew(n.f.b).a);o.b;){if(c=YR((a=k4(o)).ld(),602),1==t){if(c.Af()!=(znn(),Qut)&&c.Af()!=Xut)continue}else if(c.Af()!=(znn(),zut)&&c.Af()!=Vut)continue;switch(r=YR(YR(a.md(),42).b,86),i=YR(YR(a.md(),42).a,194).c,c.Af().g){case 2:r.g.c=n.e.a,r.g.b=e.Math.max(1,r.g.b+i);break;case 1:r.g.c=r.g.c+i,r.g.b=e.Math.max(1,r.g.b-i);break;case 4:r.g.d=n.e.b,r.g.a=e.Math.max(1,r.g.a+i);break;case 3:r.g.d=r.g.d+i,r.g.a=e.Math.max(1,r.g.a-i)}}}function CMn(n,t){var e,i,r,c,a,o,u,s,f,l,b;for(i=new __(dN(Ydn(t).a.Kc(),new h));Hwn(i);)hL(g2((!(e=YR(TJ(i),74)).b&&(e.b=new Mx(tlt,e,4,7)),e.b),0),193)||(u=Hsn(YR(g2((!e.c&&(e.c=new Mx(tlt,e,5,8)),e.c),0),84)),Cwn(e)||(a=t.i+t.g/2,o=t.j+t.f/2,f=u.i+u.g/2,l=u.j+u.f/2,(b=new VM).a=f-a,b.b=l-o,oun(c=new xC(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,o=l-b.b,oun(s=new xC(b.a,b.b),u.g,u.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=o+b.b,U2(r=Upn(e,!0,!0),a),q2(r,o),K2(r,f),G2(r,l),CMn(n,u)))}function IMn(n){xE(n,new _sn(SM(MM(EM(jM(new bu,fRn),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Yo))),UV(n,fRn,lRn,Urn(pct)),UV(n,fRn,bRn,Urn(wct)),UV(n,fRn,wRn,Urn(bct)),UV(n,fRn,dRn,Urn(fct)),UV(n,fRn,gRn,Urn(lct)),UV(n,fRn,$On,hct),UV(n,fRn,iAn,8),UV(n,fRn,pRn,Urn(gct)),UV(n,fRn,mRn,Urn(act)),UV(n,fRn,vRn,Urn(oct)),UV(n,fRn,B$n,(GN(),!1))}function OMn(n,t,e){var i,r,c,a,o,u,s,h;return i=n.a.o==(jX(),h7n)?mCn:vCn,!(o=Fkn(n,new nC(t,e))).a&&o.c?(UK(n.d,o),i):o.a?(r=o.a.c,u=o.a.d,e?(s=n.a.c==(TX(),a7n)?u:r,c=n.a.c==a7n?r:u,a=n.a.g[c.i.p],h=vy(n.a.p[a.p])+vy(n.a.d[c.i.p])+c.n.b+c.a.b-vy(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(TX(),c7n)?u:r,c=n.a.c==c7n?r:u,h=vy(n.a.p[n.a.g[c.i.p].p])+vy(n.a.d[c.i.p])+c.n.b+c.a.b-vy(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(GN(),!0),n.a.n[n.a.g[u.i.p].p]=!0,h):i}function AMn(n,t,e){var i,r,c,a,o,u,s;if(Spn(n.e,t))WE(),bwn((o=YR(t,69).xk()?new nF(t,n):new FI(t,n)).c,o.b),sL(o,YR(e,16));else{for(s=rpn(n.e.Dh(),t),i=YR(n.g,124),c=0;c"}null!=u&&(t.a+=""+u)}else n.e?null!=(o=n.e.zb)&&(t.a+=""+o):(t.a+="?",n.b?(t.a+=" super ",DMn(n.b,t)):n.f&&(t.a+=" extends ",DMn(n.f,t)))}function xMn(n){var t,e,i,r,c;if(n.k!=(Zhn(),hQn))return!1;if(n.j.c.length<=1)return!1;if(YR(phn(n,(NEn(),X6n)),101)==(ysn(),tht))return!1;if(Ecn(),(i=(n.q?n.q:(iq(),iq(),UGn))._b(P6n)?YR(phn(n,P6n),203):YR(phn(gU(n),C6n),203))==h8n)return!1;if(i!=s8n&&i!=u8n){if(r=vy(V$(Jen(n,j5n))),!(t=YR(phn(n,T5n),140))&&(t=new WD(r,r,r,r)),c=Dtn(n,(Djn(),xht)),t.d+t.a+(c.gc()-1)*r>n.o.b)return!1;if(e=Dtn(n,ght),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function RMn(n,t){var e,i,r,c,a,o,u,s,h,f;if(h=null,n.d&&(h=YR(cX(n.d,t),142)),!h){if(f=(c=n.a.vi()).i,!n.d||_j(n.d)!=f){for(u=new Mm,n.d&&P6(u,n.d),o=s=u.f.c+u.i.c;ot||my(z$(ldn(o,(hmn(),Qit)))))&&(r=0,c+=s.b+e,Fm(h.c,s),S3(s=new oV(c,e),i=new m9(0,s.f,s,e)),r=0),0==i.b.c.length||!my(z$(ldn(BX(o),(hmn(),rrt))))&&(o.f>=i.o&&o.f<=i.f||.5*i.a<=o.f&&1.5*i.a>=o.f)?Wtn(i,o):(S3(s,a=new m9(i.s+i.r+e,s.f,s,e)),Wtn(a,o)),r=o.i+o.g;return Fm(h.c,s),h}function qMn(n){var t,e,i,r;if(!(null==n.b||n.b.length<=2||n.a)){for(t=0,r=0;r=n.b[r+1])r+=2;else{if(!(e0&&q7(r,-6)>=0){if(q7(r,0)>=0){for(c=e+M_(r),o=h-1;o>=c;o--)f[o+1]=f[o];return f[++c]=46,u&&(f[--e]=45),Lin(f,e,h-e+1)}for(a=2;tS(a,Ltn(k1(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,u&&(f[--e]=45),Lin(f,e,h-e)}return w=e+1,i=h,l=new nM,u&&(l.a+="-"),i-w>=1?(nU(l,f[e]),l.a+=".",l.a+=Lin(f,e+1,h-e-1)):l.a+=Lin(f,e,h-e),l.a+="E",q7(r,0)>0&&(l.a+="+"),l.a+=""+rB(r),l.a}(m5(n.f),bX(n.e)),n.g):(r=SEn((!n.c&&(n.c=Mz(m5(n.f))),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=Mz(m5(n.f))),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new Zy).a+=""+r,n.e>0&&i>=-6?i>=0?$N(c,e-bX(n.e),String.fromCharCode(46)):(e5(c,t-1,t-1,"0."),$N(c,t+1,Lin(MGn,0,-bX(i)-1))):(e-t>=1&&($N(c,t,String.fromCharCode(46)),++e),$N(c,e,String.fromCharCode(69)),i>0&&$N(c,++e,String.fromCharCode(43)),$N(c,++e,""+rB(m5(i)))),n.g=c.a,n.g))}function WMn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w;for(w=new Mm,c=n.a.ec().Kc();c.Ob();)xU(w,i=YR(c.Pb(),177),e.af(i));for(CH(n),BA(a=n?new Wx(n):WR(n.a.ec().Kc()),new Jw(w)),o=SQ(a),u=new nL(t),Cln((b=new Mm).f,t,u);0!=o.a.gc();){for(s=null,h=null,f=null,r=o.a.ec().Kc();r.Ob();)if(i=YR(r.Pb(),177),vy(V$(UI(QF(w.f,i))))<=mCn){if(TB(b,i.a)&&!TB(b,i.b)){h=i.b,f=i.a,s=i;break}if(TB(b,i.b)&&!TB(b,i.a)){h=i.a,f=i.b,s=i;break}}if(!s)break;l=new nL(h),LL(YR(UI(QF(b.f,f)),225).a,l),Cln(b.f,h,l),o.a.Bc(s)}return u}function QMn(n,t){var e,i,r,c,a;if(t)if(!n.a&&(n.a=new vv),2!=n.e)if(1!=t.e)0!=(a=n.a.a.c.length)?0!=(c=YR(fU(n.a,a-1),122)).e&&10!=c.e||0!=t.e&&10!=t.e?lv(n.a,t):(0==t.e||t.Mm().length,0==c.e?(e=new Yy,(i=c.Km())>=TCn?eO(e,Atn(i)):ZH(e,i&APn),c=new tX(10,null,0),function(n,t,e){V_(e,n.a.c.length),nJ(n.a,e,t)}(n.a,c,a-1)):(c.Mm().length,eO(e=new Yy,c.Mm())),0==t.e?(i=t.Km())>=TCn?eO(e,Atn(i)):ZH(e,i&APn):eO(e,t.Mm()),YR(c,530).b=e.a):lv(n.a,t);else for(r=0;r0&&j8(u,!0,(znn(),Vut)),a.k==(Zhn(),oQn)&&kU(u),xU(n.f,a,t)):((s=(i=YR(hq(Ftn(a)),18)).c.i)==a&&(s=i.d.i),f=new sI(s,lx(aL(a.n),s.n)),xU(n.b,a,f))}(a),$mn(a),a.a)),n.b),1===YR(phn(t,b4n),431).g?bM(r,new K4(n.a)):bM(r,(rq(),_qn)),c.g){case 1:Idn(r);break;case 2:Idn(fjn(r,(znn(),Vut)));break;case 3:Idn(wM(fjn(Idn(r),(znn(),Vut)),new gr));break;case 4:Idn(wM(fjn(Idn(r),(znn(),Vut)),new Qd(a)));break;case 5:Idn(function(n,t){return n.b=t,n}(r,YJn))}fjn(r,(znn(),zut)),r.e=!0,function(n){var t,i,r,c;for(Zj(uG(new CF(null,new Fz(n.a.b,16)),new kr),new yr),function(n){var t,e,i,r,c;for(i=new Y6(new ew(n.b).a);i.b;)t=YR((e=k4(i)).ld(),10),c=YR(YR(e.md(),42).a,10),r=YR(YR(e.md(),42).b,8),fx(TO(t.n),fx(aL(c.n),r))}(n),Zj(uG(new CF(null,new Fz(n.a.b,16)),new Mr),new Tr),n.c==(Rtn(),ast)&&(Zj(uG(c0(new CF(null,new Fz(new tw(n.f),1)),new jr),new Er),new ng(n)),Zj(uG(sG(c0(c0(new CF(null,new Fz(n.d.b,16)),new Sr),new Pr),new Cr),new Ir),new eg(n))),c=new xC(mCn,mCn),t=new xC(vCn,vCn),r=new mw(n.a.b);r.a1&&(s=h.Hg(s,n.a,u));return 1==s.c.length?YR(wF(s,s.c.length-1),238):2==s.c.length?function(n,t,i,r){var c,a,o,u,s,h,f,l,b,w,d,g,p;return a=n.f,f=t.f,o=a==(Mgn(),Art)||a==Nrt,u=a==Lrt||a==Art,l=f==Lrt||f==Art,!o||f!=Art&&f!=Nrt?a!=Lrt&&a!=$rt||f!=Lrt&&f!=$rt?u&&l?(a==Lrt?(h=n,s=t):(h=t,s=n),b=i.j+i.f,w=h.e+r.f,d=e.Math.max(b,w)-e.Math.min(i.j,h.e),c=(h.d+r.g-i.i)*d,g=i.i+i.g,p=s.d+r.g,c<=(e.Math.max(g,p)-e.Math.min(i.i,s.d))*(s.e+r.f-i.j)?n.f==Lrt?n:t:n.f==Art?n:t):n:n.f==$rt?n:t:n.f==Nrt?n:t}((Rz(0,s.c.length),YR(s.c[0],238)),(Rz(1,s.c.length),YR(s.c[1],238)),o,a):null}function ZMn(n){var t,i,r,c,a,o;for(t2(n.a,new Zn),i=new mw(n.a);i.a=e.Math.abs(r.b)?(r.b=0,a.d+a.a>o.d&&a.do.c&&a.c0){if(t=new _I(n.i,n.g),c=(e=n.i)<100?null:new GM(e),n.Tj())for(i=0;i0){for(o=n.g,s=n.i,$J(n),c=s<100?null:new GM(s),i=0;i4){if(!n.fk(t))return!1;if(n.al()){if(o=(e=(i=YR(t,54)).Eh())==n.e&&(n.ml()?i.yh(i.Fh(),n.il())==n.jl():-1-i.Fh()==n.Lj()),n.nl()&&!o&&!e&&i.Jh())for(r=0;r0)if(t=new O6(n.pj()),c=(e=h)<100?null:new GM(e),MD(n,e,t.g),r=1==e?n.Ij(4,g2(t,0),null,0,u):n.Ij(6,t,null,-1,u),n.Mj()){for(i=new zL(t);i.e!=i.i.gc();)c=n.Oj(Grn(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r);else MD(n,n.Ej(),n.Fj()),n.Jj(n.Ij(6,(iq(),HGn),null,-1,u));else if(n.Mj())if((h=n.Ej())>0){for(o=n.Fj(),s=h,MD(n,h,o),c=s<100?null:new GM(s),i=0;i.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=o.d.b)&&(p=r),d=o.d.c,p>g.a-d-h&&(p=g.a-d-h),o.n.a=t+p}}function uTn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w;if(n.e&&n.c.c>19&&(t=C8(t),u=!u),a=function(n){var t,e,i;return(e=n.l)&e-1||(i=n.m)&i-1||(t=n.h)&t-1||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?A3(e):0==t&&0!=i&&0==e?A3(i)+22:0!=t&&0==i&&0==e?A3(t)+44:-1}(t),c=!1,r=!1,i=!1,n.h==sCn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return o=zwn(n,a),u&&r9(o),e&&(qUn=zA(0,0,0)),o;n=RO((J1(),XUn)),i=!0,u=!u}else n.h>>19&&(c=!0,n=C8(n),i=!0,u=!u);return-1!=a?a9(n,a,u,c,e):Zon(n,t)<0?(e&&(qUn=c?C8(n):zA(n.l,n.m,n.h)),zA(0,0,0)):function(n,t,e,i,r,c){var a,o,u,s,h,f;for(a=nfn(t,u=V8(t)-V8(n)),o=zA(0,0,0);u>=0&&(!hon(n,a)||(u<22?o.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--u;return e&&r9(o),c&&(i?(qUn=C8(n),r&&(qUn=X5(qUn,(J1(),VUn)))):qUn=zA(n.l,n.m,n.h)),o}(i?n:zA(n.l,n.m,n.h),t,u,c,r,e)}function hTn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w;if(a=n.e,u=t.e,0==a)return t;if(0==u)return n;if((c=n.d)+(o=t.d)==2)return e=Uz(n.a[0],CCn),i=Uz(t.a[0],CCn),a==u?(w=M_(h=Ltn(e,i)),0==(b=M_(x_(h,32)))?new hQ(a,w):new BB(a,2,o8(sM(Qdt,1),qPn,28,15,[w,b]))):(wvn(),WI(a<0?$tn(i,e):$tn(e,i),0)?ein(a<0?$tn(i,e):$tn(e,i)):ZB(ein(k1(a<0?$tn(i,e):$tn(e,i)))));if(a==u)l=a,f=c>=o?tZ(n.a,c,t.a,o):tZ(t.a,o,n.a,c);else{if(0==(r=c!=o?c>o?1:-1:R9(n.a,t.a,c)))return wvn(),DGn;1==r?(l=a,f=_J(n.a,c,t.a,o)):(l=u,f=_J(t.a,o,n.a,c))}return FV(s=new BB(l,f.length,f)),s}function fTn(n,t){var e,i,r,c,a,o,u;if(!(n.g>t.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=YR(a.Pb(),12),O7(n9(o8(sM(Tat,1),USn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(o=n.r.a.ec().Kc();o.Ob();)r=YR(o.Pb(),12),O7(n9(o8(sM(Tat,1),USn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(u=t.w.a.ec().Kc();u.Ob();)r=YR(u.Pb(),12),O7(n9(o8(sM(Tat,1),USn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=YR(c.Pb(),12),O7(n9(o8(sM(Tat,1),USn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return e;switch(SU(A1(n,e))){case 2:if(Ix("",ynn(n,e.qk()).xe())){if(u=ydn(n,t,o=ZU(A1(n,e)),YU(A1(n,e))))return u;for(a=0,s=(r=$vn(n,t)).gc();a1,h=new YJ(b.b);HA(h.a)||HA(h.b);)l=(s=YR(HA(h.a)?zz(h.a):zz(h.b),18)).c==b?s.d:s.c,e.Math.abs(n9(o8(sM(Tat,1),USn,8,0,[l.i.n,l.n,l.a])).b-o.b)>1&&wpn(n,s,o,a,b)}}function dTn(){dTn=E,$wt=(rT(),Nwt).b,Rwt=YR(g2(sq(Nwt.b),0),35),Dwt=YR(g2(sq(Nwt.b),1),35),xwt=YR(g2(sq(Nwt.b),2),35),zwt=Nwt.bb,YR(g2(sq(Nwt.bb),0),35),YR(g2(sq(Nwt.bb),1),35),Wwt=Nwt.fb,Qwt=YR(g2(sq(Nwt.fb),0),35),YR(g2(sq(Nwt.fb),1),35),YR(g2(sq(Nwt.fb),2),19),Ywt=Nwt.qb,tdt=YR(g2(sq(Nwt.qb),0),35),YR(g2(sq(Nwt.qb),1),19),YR(g2(sq(Nwt.qb),2),19),Zwt=YR(g2(sq(Nwt.qb),3),35),ndt=YR(g2(sq(Nwt.qb),4),35),idt=YR(g2(sq(Nwt.qb),6),35),edt=YR(g2(sq(Nwt.qb),5),19),Kwt=Nwt.j,Fwt=Nwt.k,_wt=Nwt.q,Bwt=Nwt.w,Hwt=Nwt.B,Uwt=Nwt.A,Gwt=Nwt.C,qwt=Nwt.D,Xwt=Nwt._,Vwt=Nwt.cb,Jwt=Nwt.hb}function gTn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;for(f=vy(V$(phn(n,(NEn(),b5n)))),r=vy(V$(phn(n,L5n))),L8(b=new Qu,b5n,f+r),m=(h=t).d,g=h.c.i,v=h.d.i,p=GO(g.c),k=GO(v.c),c=new Tm,l=p;l<=k;l++)Lb(u=new Hcn(n),(Zhn(),sQn)),L8(u,(XEn(),Z1n),h),L8(u,X6n,(ysn(),tht)),L8(u,d5n,b),w=YR(wF(n.b,l),30),l==p?jon(u,w.a.c.length-i,w):sz(u,w),(y=vy(V$(phn(h,Q4n))))<0&&L8(h,Q4n,y=0),u.o.b=y,d=e.Math.floor(y/2),Zln(o=new lfn,(Djn(),xht)),hz(o,u),o.n.b=d,Zln(s=new lfn,ght),hz(s,u),s.n.b=d,fz(h,o),M5(a=new Aq,h),L8(a,u6n,null),uz(a,s),fz(a,m),aun(u,h,a),Fm(c.c,a),h=a;return c}function pTn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(o=YR(pfn(n,(Djn(),xht)).Kc().Pb(),12).e,f=YR(pfn(n,ght).Kc().Pb(),12).g,a=o.c.length,g=Lz(YR(wF(n.j,0),12));a-- >0;){for(Rz(0,o.c.length),b=YR(o.c[0],18),Rz(0,f.c.length),r=y1((i=YR(f.c[0],18)).d.e,i,0),uW(b,i.d,r),uz(i,null),fz(i,null),l=b.a,t&&UK(l,new YO(g)),e=Drn(i.a,0);e.b!=e.d.c;)UK(l,new YO(YR(yW(e),8)));for(d=b.b,h=new mw(i.b);h.a-2;default:return!1}switch(t=n.Rj(),n.p){case 0:return null!=t&&my(z$(t))!=QI(n.k,0);case 1:return null!=t&&YR(t,222).a!=M_(n.k)<<24>>24;case 2:return null!=t&&YR(t,180).a!=(M_(n.k)&APn);case 6:return null!=t&&QI(YR(t,168).a,n.k);case 5:return null!=t&&YR(t,17).a!=M_(n.k);case 7:return null!=t&&YR(t,191).a!=M_(n.k)<<16>>16;case 3:return null!=t&&vy(V$(t))!=n.j;case 4:return null!=t&&YR(t,161).a!=n.j;default:return null==t?null!=n.n:!Snn(t,n.n)}}function kTn(n,t,e){var i,r,c,a;return n.ol()&&n.nl()&&GI(a=jB(n,YR(e,58)))!==GI(e)?(n.xj(t),n.Dj(t,xZ(n,0,a)),n.al()&&(r=YR(e,54),c=n.ml()?n.kl()?r.Th(n.b,Kcn(YR(_0(Uq(n.b),n.Lj()),19)).n,YR(_0(Uq(n.b),n.Lj()).Hk(),29).kk(),null):r.Th(n.b,Cen(r.Dh(),Kcn(YR(_0(Uq(n.b),n.Lj()),19))),null,null):r.Th(n.b,-1-n.Lj(),null,null),!YR(a,54).Ph()&&(i=YR(a,54),c=n.ml()?n.kl()?i.Rh(n.b,Kcn(YR(_0(Uq(n.b),n.Lj()),19)).n,YR(_0(Uq(n.b),n.Lj()).Hk(),29).kk(),c):i.Rh(n.b,Cen(i.Dh(),Kcn(YR(_0(Uq(n.b),n.Lj()),19))),null,c):i.Rh(n.b,-1-n.Lj(),null,c)),c&&c.oj()),rA(n.b)&&n.Jj(n.Ij(9,e,a,t,!1)),a):e}function yTn(n){var t,e,i,r,c,a,o,u,s,h;for(i=new Tm,a=new mw(n.e.a);a.a0&&(o=e.Math.max(o,n6(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(w=b+n.C.c,h&&(w+=f.d.c),o=e.Math.max(o,(NA(),M3(WIn),e.Math.abs(l-1)<=WIn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),i.n.b=0,i.a.a=o}function TTn(n,t){var i,r,c,a,o,u,s,h,f,l,b,w;if(i=YR(zU(n.b,t),127),(s=YR(YR(KJ(n.r,t),21),87)).dc())return i.n.d=0,void(i.n.a=0);for(h=n.u.Hc((bbn(),hht)),o=0,n.A.Hc((fin(),zht))&&Gmn(n,t),u=s.Kc(),f=null,b=0,l=0;u.Ob();)a=vy(V$((r=YR(u.Pb(),117)).b.of((UN(),uzn)))),c=r.b.Mf().b,f?(w=l+f.d.a+n.w+r.d.d,o=e.Math.max(o,(NA(),M3(WIn),e.Math.abs(b-a)<=WIn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(o=e.Math.max(o,n6(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(w=l+n.C.a,h&&(w+=f.d.a),o=e.Math.max(o,(NA(),M3(WIn),e.Math.abs(b-1)<=WIn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),i.n.d=0,i.a.b=o}function jTn(n,t,e,i,r,c,a,o){var u,s,h,f,l,b,w,d;if(b=!1,u=Ign(e.q,t.f+t.b-e.q.f),l=i.f>t.b&&o,h=hMn(i,d=r-(e.q.e+u-a),!1).a,l&&h>i.f)return!1;if(l){for(f=0,w=new mw(t.d);w.a=(Rz(c,n.c.length),YR(n.c[c],186)).e,!(!l&&h>t.b&&!s)&&((s||l||h<=t.b)&&(s&&h>t.b?(e.d=h,PZ(e,yfn(e,h))):(Xun(e.q,u),e.c=!0),PZ(i,r-(e.s+e.r)),Ncn(i,e.q.e+e.q.d,t.f),S3(t,i),n.c.length>c&&(Uon((Rz(c,n.c.length),YR(n.c[c],186)),i),0==(Rz(c,n.c.length),YR(n.c[c],186)).a.c.length&&HJ(n,c)),b=!0),b))}function ETn(n,t,e){var i,r,c,a,o,u;for(this.g=n,o=t.d.length,u=e.d.length,this.d=eZ(lQn,YAn,10,o+u,0,1),a=0;a0?s2(this,this.f/this.a):null!=SL(t.g,t.d[0]).a&&null!=SL(e.g,e.d[0]).a?s2(this,(vy(SL(t.g,t.d[0]).a)+vy(SL(e.g,e.d[0]).a))/2):null!=SL(t.g,t.d[0]).a?s2(this,SL(t.g,t.d[0]).a):null!=SL(e.g,e.d[0]).a&&s2(this,SL(e.g,e.d[0]).a)}function STn(n,t){var e,i,r,c,a,o,u,s,h;for(n.a=new XH(function(n){var t,e;return e=(t=YR(n.e&&n.e(),9)).slice(),new Qx(t,YR(RZ(e,t),9),t.length)}(est)),i=new mw(t.a);i.a=1&&(g-a>0&&f>=0?(u.n.a+=d,u.n.b+=c*a):g-a<0&&h>=0&&(u.n.a+=d*g,u.n.b+=c));n.o.a=t.a,n.o.b=t.b,L8(n,(NEn(),O6n),(fin(),new Qx(i=YR(cT(cft),9),YR(XD(i,i.length),9),0)))}function ITn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p;if(i.Ug("Network simplex layering",1),n.b=t,p=4*YR(phn(t,(NEn(),E5n)),17).a,(g=n.b.a).c.length<1)i.Vg();else{for(d=null,c=Drn(a=function(n,t){var e,i,r,c,a;for(null==n.c||n.c.length1)for(d=eZ(Qdt,qPn,28,n.b.b.c.length,15,1),f=0,h=new mw(n.b.b);h.a=e}(this.k)}function LTn(n){var t,i,r,c,a,o,u;for(t=0,a=new mw(n.b.a);a.avCn||t.o==s7n&&h=o&&r<=u)o<=r&&c<=u?(e[h++]=r,e[h++]=c,i+=2):o<=r?(e[h++]=r,e[h++]=u,n.b[i]=u+1,a+=2):c<=u?(e[h++]=o,e[h++]=c,i+=2):(e[h++]=o,e[h++]=u,n.b[i]=u+1);else{if(!(uvPn)&&u<10);vM(n.c,new yt),LTn(n),function(n){ljn(n,(znn(),zut)),n.d=!0}(n.c),function(n){var t,i,r,c,a,o,u,s;for(a=new mw(n.a.b);a.a=2){for(a=YR(yW(u=Drn(e,0)),8),o=YR(yW(u),8);o.a=n.j?(++n.j,LL(n.b,onn(1)),LL(n.c,s)):(i=n.d[t.p][1],nJ(n.b,u,onn(YR(wF(n.b,u),17).a+1-i)),nJ(n.c,u,vy(V$(wF(n.c,u)))+s-i*n.f)),(n.r==(Ivn(),j8n)&&(YR(wF(n.b,u),17).a>n.k||YR(wF(n.b,u-1),17).a>n.k)||n.r==P8n&&(vy(V$(wF(n.c,u)))>n.n||vy(V$(wF(n.c,u-1)))>n.n))&&(o=!1),c=new __(dN(_tn(t).a.Kc(),new h));Hwn(c);)a=YR(TJ(c),18).c.i,n.g[a.p]==u&&(r+=YR((f=FTn(n,a)).a,17).a,o=o&&my(z$(f.b)));return n.g[t.p]=u,new sI(onn(r+=n.d[t.p][0]),(GN(),!!o))}function _Tn(n,t){var e,i;vy(V$(phn(t,(NEn(),h5n))))<2&&L8(t,h5n,2),YR(phn(t,x4n),88)==(znn(),Wut)&&L8(t,x4n,vtn(t)),0==(e=YR(phn(t,r5n),17)).a?L8(t,(XEn(),h0n),new yen):L8(t,(XEn(),h0n),new PQ(e.a)),null==z$(phn(t,E6n))&&L8(t,E6n,(GN(),GI(phn(t,U4n))===GI((Rtn(),rst)))),Zj(new CF(null,new Fz(t.a,16)),new ld(n)),Zj(c0(new CF(null,new Fz(t.b,16)),new dt),new bd(n)),i=new PTn(t),L8(t,(XEn(),d0n),i),JU(n.a),GB(n.a,(mhn(),mWn),YR(phn(t,$4n),188)),GB(n.a,vWn,YR(phn(t,p6n),188)),GB(n.a,kWn,YR(phn(t,N4n),188)),GB(n.a,yWn,YR(phn(t,I6n),188)),GB(n.a,MWn,function(n){var t;return DA(),eS(w7n,n)||((t=new ca).a=n,qD(w7n,n,t)),YR(zU(w7n,n),645)}(YR(phn(t,U4n),223))),WO(n.a,function(n){var t,e,i;switch(e=YR(phn(n,(XEn(),R1n)),21),t=eA(dWn),YR(phn(n,(NEn(),Z4n)),346)==(tnn(),Est)&&t5(t,gWn),my(z$(phn(n,J4n)))?iF(t,(mhn(),mWn),(VEn(),jJn)):iF(t,(mhn(),kWn),(VEn(),jJn)),null!=phn(n,(pY(),kat))&&t5(t,pWn),(my(z$(phn(n,a6n)))||my(z$(phn(n,Y4n))))&&v_(t,(mhn(),MWn),(VEn(),KQn)),YR(phn(n,x4n),88).g){case 2:case 3:case 4:v_(iF(t,(mhn(),mWn),(VEn(),_Qn)),MWn,FQn)}switch(e.Hc((Vpn(),VZn))&&v_(iF(iF(t,(mhn(),mWn),(VEn(),RQn)),yWn,DQn),MWn,xQn),GI(phn(n,g6n))!==GI((Ivn(),I8n))&&iF(t,(mhn(),kWn),(VEn(),gJn)),e.Hc(t1n)&&(iF(t,(mhn(),mWn),(VEn(),MJn)),iF(t,vWn,kJn),iF(t,kWn,yJn)),GI(phn(n,w4n))!==GI((Xhn(),UZn))&&GI(phn(n,U4n))!==GI((Rtn(),cst))&&v_(t,(mhn(),MWn),(VEn(),ZQn)),my(z$(phn(n,t6n)))&&iF(t,(mhn(),kWn),(VEn(),YQn)),my(z$(phn(n,L4n)))&&iF(t,(mhn(),kWn),(VEn(),OJn)),function(n){var t,e,i,r;return GI(phn(n,(NEn(),Z4n)))===GI((tnn(),Est))?!n.e&&GI(phn(n,E4n))!==GI((O5(),c1n)):(i=YR(phn(n,S4n),299),r=my(z$(phn(n,L4n)))||GI(phn(n,N4n))===GI((D3(),zYn)),t=YR(phn(n,j4n),17).a,e=n.a.c.length,!r&&i!=(O5(),c1n)&&(0==t||t>e))}(n)&&(i=(GI(phn(n,Z4n))===GI(Est)?YR(phn(n,E4n),299):YR(phn(n,S4n),299))==(O5(),a1n)?(VEn(),vJn):(VEn(),NJn),iF(t,(mhn(),yWn),i)),YR(phn(n,_5n),388).g){case 1:iF(t,(mhn(),yWn),(VEn(),AJn));break;case 2:v_(iF(iF(t,(mhn(),kWn),(VEn(),AQn)),yWn,LQn),MWn,NQn)}return GI(phn(n,y4n))!==GI((Din(),$8n))&&iF(t,(mhn(),kWn),(VEn(),LJn)),t}(t)),L8(t,s0n,uTn(n.a,t))}function BTn(n,t,i,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m;for(l=new Mm,o=new Tm,Eln(n,i,n.d.Ag(),o,l),Eln(n,r,n.d.Bg(),o,l),n.b=.2*(g=rdn(c0(new CF(null,new Fz(o,16)),new pa)),p=rdn(c0(new CF(null,new Fz(o,16)),new ma)),e.Math.min(g,p)),a=0,u=0;u=2&&(m=egn(o,!0,b),!n.e&&(n.e=new Bg(n)),Vin(n.e,m,o,n.b)),Ssn(o,b),function(n){var t,i,r,c,a,o,u,s,h;for(s=new Tm,o=new Tm,a=new mw(n);a.a-1){for(c=new mw(o);c.a0||(Bb(u,e.Math.min(u.o,r.o-1)),_b(u,u.i-1),0==u.i&&Fm(o.c,u))}}(o),w=-1,f=new mw(o);f.a0&&0==e.c&&(!t&&(t=new Tm),Fm(t.c,e));if(t)for(;0!=t.c.length;){if((e=YR(HJ(t,0),239)).b&&e.b.c.length>0)for(!e.b&&(e.b=new Tm),c=new mw(e.b);c.ay1(n,e,0))return new sI(r,e)}else if(vy(SL(r.g,r.d[0]).a)>vy(SL(e.g,e.d[0]).a))return new sI(r,e);for(o=(!e.e&&(e.e=new Tm),e.e).Kc();o.Ob();)!(a=YR(o.Pb(),239)).b&&(a.b=new Tm),xz(0,(u=a.b).c.length),KS(u.c,0,e),a.c==u.c.length&&Fm(t.c,a)}return null}function VTn(n,t){var e,i,r,c,a,o,u,s,h;if(5!=t.e){if(null!=(s=t).b&&null!=n.b){for(Sdn(n),qMn(n),Sdn(s),qMn(s),e=eZ(Qdt,qPn,28,n.b.length+s.b.length,15,1),h=0,i=0,a=0;i=o&&r<=u)o<=r&&c<=u?i+=2:o<=r?(n.b[i]=u+1,a+=2):c<=u?(e[h++]=r,e[h++]=o-1,i+=2):(e[h++]=r,e[h++]=o-1,n.b[i]=u+1,a+=2);else{if(!(u2?(Y5(s=new Tm,new Ez(w,1,w.b)),M5(d=new Vwn(OEn(s,g+n.a)),t),Fm(i.c,d)):d=YR(KH(n.b,r?Thn(t):Shn(t)),272),o=Thn(t),r&&(o=Shn(t)),a=function(n,t){var i,r,c;return c=ROn,rcn(),r=Czn,c=e.Math.abs(n.b),(i=e.Math.abs(t.f-n.b))0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.Ne(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,u,a,h=new sZ(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=u.a[1],n.b&&(n.b.b=!1),e.b}function JTn(n,t,i){var r,c,a,o,u,s,h,f,l,b;if(i)for(r=-1,f=new $V(t,0);f.b=14&&o<=16?hL(i,183)?qJ(e,Wln(YR(i,183))):hL(i,195)?qJ(e,Msn(YR(i,195))):hL(i,201)?qJ(e,ufn(YR(i,201))):hL(i,2111)?qJ(e,Tsn(YR(i,2111))):hL(i,53)?qJ(e,Vln(YR(i,53))):hL(i,376)?qJ(e,dbn(YR(i,376))):hL(i,846)?qJ(e,zln(YR(i,846))):hL(i,109)&&qJ(e,Xln(YR(i,109))):t.a._b(i)?(e.a?cO(e.a,e.b):e.a=new yN(e.d),iO(e.a,"[...]")):qJ(e,YTn(i3(i),new jF(t))):qJ(e,null==i?ESn:Jtn(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function ZTn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,Z9(n,null)):(n.F=(jU(t),t),-1!=(i=FO(t,nhn(60)))?(oZ(0,i,t.length),r=t.substr(0,i),-1==FO(t,nhn(46))&&!Ix(r,fSn)&&!Ix(r,oBn)&&!Ix(r,uBn)&&!Ix(r,sBn)&&!Ix(r,hBn)&&!Ix(r,fBn)&&!Ix(r,lBn)&&!Ix(r,bBn)&&(r=wBn),-1!=(e=mN(t,nhn(62)))&&(r+=""+(Kz(e+1,t.length+1),t.substr(e+1))),Z9(n,r)):(r=t,-1==FO(t,nhn(46))&&(-1!=(i=FO(t,nhn(91)))&&(oZ(0,i,t.length),r=t.substr(0,i)),Ix(r,fSn)||Ix(r,oBn)||Ix(r,uBn)||Ix(r,sBn)||Ix(r,hBn)||Ix(r,fBn)||Ix(r,lBn)||Ix(r,bBn)?r=t:(r=wBn,-1!=i&&(r+=""+(Kz(i,t.length+1),t.substr(i))))),Z9(n,r),r==t&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&r5(n,new uB(n,1,5,c,t))}function njn(n,t){var e,i,r,c,a,o,u,s;if(Kz(o=t.length-1,t.length),93==(a=t.charCodeAt(o))){if((c=FO(t,nhn(91)))>=0)return r=function(n,t){var e;if(hL(e=Bgn(n.Dh(),t),102))return YR(e,19);throw Nm(new Iy(_Kn+t+"' is not a valid reference"))}(n,(oZ(1,c,t.length),t.substr(1,c-1))),oZ(c+1,o,t.length),function(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(u=new Tm,f=t.length,a=W8(e),s=0;s=0?n.Lh(s,!1,!0):qbn(n,e,!1),61).Kc();c.Ob();){for(r=YR(c.Pb(),58),h=0;h=0){i=YR(LJ(n,Z0(n,(oZ(1,e,t.length),t.substr(1,e-1))),!1),61),u=0;try{u=akn((Kz(e+1,t.length+1),t.substr(e+1)),kPn,dSn)}catch(n){throw hL(n=z5(n),130)?Nm(new E1(n)):Nm(n)}if(u>16==-10?e=YR(n.Cb,292).Yk(t,e):n.Db>>16==-15&&(!t&&(YEn(),t=Ibt),!o&&(YEn(),o=Ibt),n.Cb.Yh()&&(a=new x1(n.Cb,1,13,o,t,vcn(I1(YR(n.Cb,62)),n),!1),e?e.nj(a):e=a));else if(hL(n.Cb,90))n.Db>>16==-23&&(hL(t,90)||(YEn(),t=Lbt),hL(o,90)||(YEn(),o=Lbt),n.Cb.Yh()&&(a=new x1(n.Cb,1,10,o,t,vcn(aQ(YR(n.Cb,29)),n),!1),e?e.nj(a):e=a));else if(hL(n.Cb,457))for(!(c=YR(n.Cb,850)).b&&(c.b=new bm(new dk)),r=new wm(new Y6(new ew(c.b.a).a));r.a.b;)e=tjn(i=YR(k4(r.a).ld(),89),rgn(i,c),e);return e}function ejn(n){var t,i,r,c,a,o,u,s,h,f,l,b;if((b=YR(ldn(n,(zEn(),xot)),21)).dc())return null;if(u=0,o=0,b.Hc((fin(),Xht))){for(f=YR(ldn(n,cut),101),r=2,i=2,c=2,a=2,t=BX(n)?YR(ldn(BX(n),fot),88):YR(ldn(n,fot),88),h=new zL((!n.c&&(n.c=new oB(hlt,n,9,9)),n.c));h.e!=h.i.gc();)if(s=YR(Grn(h),123),(l=YR(ldn(s,lut),64))==(Djn(),Dht)&&(l=iyn(s,t),ucn(s,lut,l)),f==(ysn(),tht))switch(l.g){case 1:r=e.Math.max(r,s.i+s.g);break;case 2:i=e.Math.max(i,s.j+s.f);break;case 3:c=e.Math.max(c,s.i+s.g);break;case 4:a=e.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:i+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}u=e.Math.max(r,c),o=e.Math.max(i,a)}return _jn(n,u,o,!0,!0)}function ijn(n,t,i,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;for(v=YR(TQ(W0(uG(new CF(null,new Fz(t.d,16)),new og(i)),new ug(i)),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)]))),15),l=dSn,f=kPn,s=new mw(t.b.j);s.a0)?s&&(h=d.p,a?++h:--h,f=!(jgn(i=k8(YR(wF(d.c.a,h),10)),k,e[0])||tB(i,k,e[0]))):f=!0),l=!1,(v=t.D.i)&&v.c&&o.e&&(a&&v.p>0||!a&&v.pa?1:_O(isNaN(0),isNaN(a)))<0&&(M3(EDn),(e.Math.abs(a-1)<=EDn||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:_O(isNaN(a),isNaN(1)))<0)&&(M3(EDn),(e.Math.abs(0-o)<=EDn||0==o||isNaN(0)&&isNaN(o)?0:0o?1:_O(isNaN(0),isNaN(o)))<0)&&(M3(EDn),(e.Math.abs(o-1)<=EDn||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:_O(isNaN(o),isNaN(1)))<0))}function hjn(n,t,i){var r;if(i.Ug("StretchWidth layering",1),0!=t.a.c.length){for(n.c=t,n.t=0,n.u=0,n.i=mCn,n.g=vCn,n.d=vy(V$(phn(t,(NEn(),h5n)))),function(n){var t,e,i;for(i=n.c.a,n.p=(CH(i),new Wx(i)),e=new mw(i);e.a0&&(t.a+=vSn),bjn(YR(Grn(a),167),t);for(t.a+=VAn,o=new YN((!i.c&&(i.c=new Mx(tlt,i,5,8)),i.c));o.e!=o.i.gc();)o.e>0&&(t.a+=vSn),bjn(YR(Grn(o),167),t);t.a+=")"}}}function wjn(n,t,i){var r,c,a,o,u,s,f,l;switch(i.Ug("Node promotion heuristic",1),n.i=t,n.r=YR(phn(t,(NEn(),g6n)),243),n.r!=(Ivn(),M8n)&&n.r!=T8n?function(n){var t,i,r,c,a,o,u,s,f,l,b,w,d,g,p;for(n.o=vy(V$(phn(n.i,(NEn(),k5n)))),n.f=vy(V$(phn(n.i,w5n))),n.j=n.i.b.c.length,u=n.j-1,w=0,n.k=0,n.n=0,n.b=FJ(eZ(hGn,USn,17,n.j,0,1)),n.c=FJ(eZ(aGn,USn,345,n.j,7,1)),o=new mw(n.i.b);o.a0&&LL(n.q,l),LL(n.p,l);d=s+(t-=r),f+=t*n.f,nJ(n.b,u,onn(d)),nJ(n.c,u,f),n.k=e.Math.max(n.k,d),n.n=e.Math.max(n.n,f),n.e+=t,t+=p}}(n):function(n){var t,e,i,r,c,a,o;for(n.a=new tx,o=0,r=0,i=new mw(n.i.b);i.an.k&&(n.r=j8n,_Mn(n,a));break;case 4:for(n.r=O8n,_Mn(n,a),f=0,c=new mw(n.c);c.an.n&&(n.r=P8n,_Mn(n,a));break;case 6:_Mn(n,new Hd(bX(e.Math.ceil(n.g.length*l/100))));break;case 5:_Mn(n,new Ud(bX(e.Math.ceil(n.e*l/100))));break;case 8:KEn(n,!0);break;case 9:KEn(n,!1)}n.r!=M8n&&n.r!=T8n?function(n,t){var e,i,r,c,a,o;for(r=new Tm,e=0;e<=n.j;e++)(i=new qH(t)).p=n.j-e,Fm(r.c,i);for(o=new mw(n.p);o.a0&&(n.c[t.c.p][t.p].d+=tgn(n.i,24)*UCn*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function mjn(n,t){var e,i,r,c,a,o,u,s,h;return s="",0==t.length?n.ne(CPn,SPn,-1,-1):(Ix((h=yln(t)).substr(0,3),"at ")&&(Kz(3,h.length+1),h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=yln((Kz(a+1,h.length+1),h.substr(a+1))),h=yln((oZ(0,a,h.length),h.substr(0,a)))):(oZ(a+1,e=h.indexOf(")",a),h.length),s=h.substr(a+1,e-(a+1)),h=yln((oZ(0,a,h.length),h.substr(0,a)))),-1!=(a=FO(h,nhn(46)))&&(Kz(a+1,h.length+1),h=h.substr(a+1)),(0==h.length||Ix(h,"Anonymous function"))&&(h=SPn),o=mN(s,nhn(58)),r=Ax(s,nhn(58),o-1),u=-1,i=-1,c=CPn,-1!=o&&-1!=r&&(oZ(0,r,s.length),c=s.substr(0,r),u=e$((oZ(r+1,o,s.length),s.substr(r+1,o-(r+1)))),i=e$((Kz(o+1,s.length+1),s.substr(o+1)))),n.ne(c,h,u,i))}function vjn(n,t,i,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T;for(T=0,w=0,l=new mw(t.e);l.a=h&&M>=p&&(b+=d.n.b+g.n.b+g.a.b-y,++u));if(i)for(o=new mw(v.e);o.a=h&&M>=p&&(b+=d.n.b+g.n.b+g.a.b-y,++u))}u>0&&(T+=b/u,++w)}w>0?(t.a=c*T/w,t.g=w):(t.a=0,t.g=0)}function kjn(n,t,i,r){var c,a,o,u,s;return function(n,t){var e,i,r,c;for(e=!t||!n.u.Hc((bbn(),hht)),c=0,r=new mw(n.e.Xf());r.ar.d,r.d=e.Math.max(r.d,t),u&&i&&(r.d=e.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:i=t>r.a,r.a=e.Math.max(r.a,t),u&&i&&(r.a=e.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:i=t>r.c,r.c=e.Math.max(r.c,t),u&&i&&(r.c=e.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:i=t>r.b,r.b=e.Math.max(r.b,t),u&&i&&(r.b=e.Math.max(r.b,r.c),r.c=r.b+c)}}}(u),function(n){switch(n.q.g){case 5:dun(n,(Djn(),pht)),dun(n,$ht);break;case 4:MTn(n,(Djn(),pht)),MTn(n,$ht);break;default:fln(n,(Djn(),pht)),fln(n,$ht)}}(u),function(n){switch(n.q.g){case 5:gun(n,(Djn(),ght)),gun(n,xht);break;case 4:TTn(n,(Djn(),ght)),TTn(n,xht);break;default:lln(n,(Djn(),ght)),lln(n,xht)}}(u),function(n){var t,e,i,r,c,a,o;if(!n.A.dc()){if(n.A.Hc((fin(),Xht))&&(YR(zU(n.b,(Djn(),pht)),127).k=!0,YR(zU(n.b,$ht),127).k=!0,t=n.q!=(ysn(),eht)&&n.q!=tht,Ib(YR(zU(n.b,ght),127),t),Ib(YR(zU(n.b,xht),127),t),Ib(n.g,t),n.A.Hc(zht)&&(YR(zU(n.b,pht),127).j=!0,YR(zU(n.b,$ht),127).j=!0,YR(zU(n.b,ght),127).k=!0,YR(zU(n.b,xht),127).k=!0,n.g.k=!0)),n.A.Hc(qht))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,o=n.B.Hc((Zvn(),tft)),c=0,a=(r=Arn()).length;c1)for(JQ(v,new tC(n,b=new tTn(w,v,r))),Fm(o.c,b),f=v.a.ec().Kc();f.Ob();)p1(a,YR(f.Pb(),42).b);if(u.a.gc()>1)for(JQ(u,new eC(n,b=new tTn(w,u,r))),Fm(o.c,b),f=u.a.ec().Kc();f.Ob();)p1(a,YR(f.Pb(),42).b)}}function Tjn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m;if(g=n.n,p=n.o,b=n.d,l=vy(V$(Jen(n,(NEn(),o5n)))),t){for(f=l*(t.gc()-1),w=0,s=t.Kc();s.Ob();)f+=(o=YR(s.Pb(),10)).o.a,w=e.Math.max(w,o.o.b);for(m=g.a-(f-p.a)/2,a=g.b-b.d+w,c=r=p.a/(t.gc()+1),u=t.Kc();u.Ob();)(o=YR(u.Pb(),10)).n.a=m,o.n.b=a-o.o.b,m+=o.o.a+l,(h=sgn(o)).n.a=o.o.a/2-h.a.a,h.n.b=o.o.b,(d=YR(phn(o,(XEn(),M1n)),12)).e.c.length+d.g.c.length==1&&(d.n.a=c-d.a.a,d.n.b=0,hz(d,n)),c+=r}if(i){for(f=l*(i.gc()-1),w=0,s=i.Kc();s.Ob();)f+=(o=YR(s.Pb(),10)).o.a,w=e.Math.max(w,o.o.b);for(m=g.a-(f-p.a)/2,a=g.b+p.b+b.a-w,c=r=p.a/(i.gc()+1),u=i.Kc();u.Ob();)(o=YR(u.Pb(),10)).n.a=m,o.n.b=a,m+=o.o.a+l,(h=sgn(o)).n.a=o.o.a/2-h.a.a,h.n.b=0,(d=YR(phn(o,(XEn(),M1n)),12)).e.c.length+d.g.c.length==1&&(d.n.a=c-d.a.a,d.n.b=p.b,hz(d,n)),c+=r}}function jjn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w,d;for(u=new xC(i.i+i.g/2,i.j+i.f/2),l=XMn(i),b=YR(ldn(t,(NEn(),X6n)),101),d=YR(ldn(i,J6n),64),CI(Hrn(i),q6n)||(w=0==i.i&&0==i.j?0:function(n,t){var e;if(!kX(n))throw Nm(new Oy(MKn));switch(e=kX(n),t.g){case 1:return-(n.j+n.f);case 2:return n.i-e.g;case 3:return n.j-e.f;case 4:return-(n.i+n.g)}return 0}(i,d),ucn(i,q6n,w)),L8(r=oEn(i,b,d,l,new xC(t.g,t.f),u,new xC(i.g,i.f),YR(phn(e,x4n),88),e),(XEn(),Z1n),i),function(n,t){n.c=t}(c=YR(wF(r.j,0),12),function(n){var t,e,i,r,c;for(c=kX(n),r=new zL((!n.e&&(n.e=new Mx(elt,n,7,4)),n.e));r.e!=r.i.gc();)if(i=YR(Grn(r),74),!n2(Hsn(YR(g2((!i.c&&(i.c=new Mx(tlt,i,5,8)),i.c),0),84)),c))return!0;for(e=new zL((!n.d&&(n.d=new Mx(elt,n,8,5)),n.d));e.e!=e.i.gc();)if(t=YR(Grn(e),74),!n2(Hsn(YR(g2((!t.b&&(t.b=new Mx(tlt,t,4,7)),t.b),0),84)),c))return!0;return!1}(i)),L8(r,W6n,(bbn(),mtn(lht))),h=YR(ldn(t,W6n),181).Hc(hht),o=new zL((!i.n&&(i.n=new oB(ult,i,1,7)),i.n));o.e!=o.i.gc();)if(!my(z$(ldn(a=YR(Grn(o),135),$6n)))&&a.a&&(f=F7(a),LL(c.f,f),!h))switch(s=0,eB(YR(ldn(t,W6n),21))&&(s=Pbn(new xC(a.i,a.j),new xC(a.g,a.f),new xC(i.g,i.f),0,d)),d.g){case 2:case 4:f.o.a=s;break;case 1:case 3:f.o.b=s}L8(r,m5n,V$(ldn(BX(t),m5n))),L8(r,v5n,V$(ldn(BX(t),v5n))),L8(r,g5n,V$(ldn(BX(t),g5n))),LL(e.a,r),xU(n.a,i,r)}function Ejn(n,t,e,i,r,c){var a,o,u,s,h,f;for(M5(s=new lfn,t),Zln(s,YR(ldn(t,(NEn(),J6n)),64)),L8(s,(XEn(),Z1n),t),hz(s,e),(f=s.o).a=t.g,f.b=t.f,(h=s.n).a=t.i,h.b=t.j,xU(n.a,t,s),(a=sJ(sG(c0(new CF(null,(!t.e&&(t.e=new Mx(elt,t,7,4)),new Fz(t.e,16))),new Wt),new zt),new Td(t)))||(a=sJ(sG(c0(new CF(null,(!t.d&&(t.d=new Mx(elt,t,8,5)),new Fz(t.d,16))),new Qt),new Vt),new jd(t))),a||(a=sJ(new CF(null,(!t.e&&(t.e=new Mx(elt,t,7,4)),new Fz(t.e,16))),new Jt)),L8(s,_1n,(GN(),!!a)),function(n,t,e,i){var r,c,a,o,u,s;if((o=n.j)==(Djn(),Dht)&&t!=(ysn(),rht)&&t!=(ysn(),cht)&&(Zln(n,o=Ckn(n,e)),!(n.q?n.q:(iq(),iq(),UGn))._b((NEn(),q6n))&&o!=Dht&&(0!=n.n.a||0!=n.n.b)&&L8(n,q6n,function(n,t){var e;switch(e=n.i,t.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-e.o.a;case 3:return n.n.b-e.o.b;case 4:return-(n.n.a+n.o.a)}return 0}(n,o))),t==(ysn(),eht)){switch(s=0,o.g){case 1:case 3:(c=n.i.o.a)>0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}L8(n,(XEn(),u0n),s)}if(u=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=rht&&t!=cht&&o!=Dht)switch(o.g){case 1:a.a=u.a/2;break;case 2:a.a=u.a,a.b=u.b/2;break;case 3:a.a=u.a/2,a.b=u.b;break;case 4:a.b=u.b/2}else a.a=u.a/2,a.b=u.b/2}(s,c,r,YR(ldn(t,G6n),8)),u=new zL((!t.n&&(t.n=new oB(ult,t,1,7)),t.n));u.e!=u.i.gc();)!my(z$(ldn(o=YR(Grn(u),135),$6n)))&&o.a&&LL(s.f,F7(o));switch(r.g){case 2:case 1:(s.j==(Djn(),pht)||s.j==$ht)&&i.Fc((Vpn(),n1n));break;case 4:case 3:(s.j==(Djn(),ght)||s.j==xht)&&i.Fc((Vpn(),n1n))}return s}function Sjn(n,t){var e,i,r,c,a,o,u;if(PK(),this.a=new wL(this),this.b=n,this.c=t,this.f=qB(A1((tln(),gwt),t)),this.f.dc())if((o=yun(gwt,n))==t)for(this.e=!0,this.d=new Tm,this.f=new us,this.f.Fc(oHn),YR(RMn(O1(gwt,f2(n)),""),29)==n&&this.f.Fc(I_(gwt,f2(n))),r=Dvn(gwt,n).Kc();r.Ob();)switch(i=YR(r.Pb(),179),SU(A1(gwt,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(qB(A1(gwt,i)))}else if(WE(),YR(t,69).xk())for(this.e=!0,this.f=null,this.d=new Tm,a=0,u=(null==n.i&&gyn(n),n.i).length;a=0&&a0&&(YR(zU(n.b,t),127).a.b=i)}function Cjn(n){var t;if(this.r=function(n,t){return new wq(YR(CH(n),50),YR(CH(t),50))}(new Sn,new Pn),this.b=new Qtn(YR(CH(Vht),297)),this.p=new Qtn(YR(CH(Vht),297)),this.i=new Qtn(YR(CH(bzn),297)),this.e=n,this.o=new YO(n.Mf()),this.D=my(z$(n.of((zEn(),Kut)))),this.F=n.Yf()||my(z$(n.of(jot))),this.A=YR(n.of(xot),21),this.B=YR(n.of(Bot),21),this.q=YR(n.of(cut),101),this.u=YR(n.of(sut),21),!function(n){return bbn(),!(y5(uX(r_(hht,o8(sM(Rht,1),bPn,279,0,[lht])),n))>1||y5(uX(r_(sht,o8(sM(Rht,1),bPn,279,0,[uht,bht])),n))>1)}(this.u))throw Nm(new $y("Invalid port label placement: "+this.u));if(this.v=my(z$(n.of(fut))),this.j=YR(n.of($ot),21),!function(n){return bdn(),!(y5(uX(r_(_st,o8(sM(Yst,1),bPn,95,0,[Bst])),n))>1||y5(uX(r_(Rst,o8(sM(Yst,1),bPn,95,0,[xst,Fst])),n))>1||y5(uX(r_(Gst,o8(sM(Yst,1),bPn,95,0,[Ust,Hst])),n))>1)}(this.j))throw Nm(new $y("Invalid node label placement: "+this.j));this.n=YR(Pon(n,Lot),107),this.k=vy(V$(Pon(n,Cut))),this.d=vy(V$(Pon(n,Put))),this.w=vy(V$(Pon(n,Dut))),this.s=vy(V$(Pon(n,Iut))),this.t=vy(V$(Pon(n,Out))),this.C=YR(Pon(n,Nut),140),this.c=2*this.d,t=!this.B.Hc((Zvn(),Qht)),this.f=new orn(0,t,0),this.g=new orn(1,t,0),by(this.f,(k2(),kXn),this.g)}function Ijn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w;switch(h=new ik,n.a.g){case 3:l=YR(phn(t.e,(XEn(),m0n)),15),b=YR(phn(t.j,m0n),15),w=YR(phn(t.f,m0n),15),e=YR(phn(t.e,g0n),15),i=YR(phn(t.j,g0n),15),r=YR(phn(t.f,g0n),15),Y5(a=new Tm,l),b.Jc(new gc),Y5(a,fen(b)),Y5(a,w),Y5(c=new Tm,e),Y5(c,fen(i)),Y5(c,r),L8(t.f,m0n,a),L8(t.f,g0n,c),L8(t.f,v0n,t.f),L8(t.e,m0n,null),L8(t.e,g0n,null),L8(t.j,m0n,null),L8(t.j,g0n,null);break;case 1:V4(h,t.e.a),UK(h,t.i.n),V4(h,fen(t.j.a)),UK(h,t.a.n),V4(h,t.f.a);break;default:V4(h,t.e.a),V4(h,fen(t.j.a)),V4(h,t.f.a)}GG(t.f.a),V4(t.f.a,h),uz(t.f,t.e.c),o=YR(phn(t.e,(NEn(),u6n)),75),s=YR(phn(t.j,u6n),75),u=YR(phn(t.f,u6n),75),(o||s||u)&&(YB(f=new ik,u),YB(f,s),YB(f,o),L8(t.f,u6n,f)),uz(t.j,null),fz(t.j,null),uz(t.e,null),fz(t.e,null),sz(t.a,null),sz(t.i,null),t.g&&Ijn(n,t.g)}function Ojn(){var n,t,e;for(Ojn=E,new _nn(1,0),new _nn(10,0),new _nn(0,0),yGn=eZ(xGn,USn,247,11,0,1),MGn=eZ(Wdt,IPn,28,100,15,1),TGn=o8(sM(ngt,1),ECn,28,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),jGn=eZ(Qdt,qPn,28,TGn.length,15,1),EGn=o8(sM(ngt,1),ECn,28,15,[1,10,100,OPn,1e4,SCn,1e6,1e7,1e8,lCn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),SGn=eZ(Qdt,qPn,28,EGn.length,15,1),PGn=eZ(xGn,USn,247,11,0,1),n=0;n0&&(Kz(0,t.length),64!=(o=t.charCodeAt(0)))){if(37==o&&(u=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(Kz(h+1,t.length),u=46==t.charCodeAt(h+1))))){if(oZ(1,h,t.length),m=Ix("%",a=t.substr(1,h-1))?null:Ujn(a),i=0,u)try{i=akn((Kz(h+2,t.length+1),t.substr(h+2)),kPn,dSn)}catch(n){throw hL(n=z5(n),130)?Nm(new E1(n)):Nm(n)}for(d=y4(n.Gh());d.Ob();)if(hL(b=d5(d),519)&&(p=(r=YR(b,598)).d,(null==m?null==p:Ix(m,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:(oZ(0,s,t.length),t.substr(0,s)),e=0,-1!=s)try{e=akn((Kz(s+1,t.length+1),t.substr(s+1)),kPn,dSn)}catch(n){if(!hL(n=z5(n),130))throw Nm(n);l=t}for(l=Ix("%",l)?null:Ujn(l),w=y4(n.Gh());w.Ob();)if(hL(b=d5(w),197)&&(g=(c=YR(b,197)).xe(),(null==l?null==g:Ix(l,g))&&0==e--))return c;return null}return njn(n,t)}function _jn(n,t,i,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T;if(p=new xC(n.g,n.f),(g=vln(n)).a=e.Math.max(g.a,t),g.b=e.Math.max(g.b,i),T=g.a/p.a,f=g.b/p.b,y=g.a-p.a,s=g.b-p.b,r)for(o=BX(n)?YR(ldn(BX(n),(zEn(),fot)),88):YR(ldn(n,(zEn(),fot)),88),u=GI(ldn(n,(zEn(),cut)))===GI((ysn(),tht)),v=new zL((!n.c&&(n.c=new oB(hlt,n,9,9)),n.c));v.e!=v.i.gc();)switch(m=YR(Grn(v),123),(k=YR(ldn(m,lut),64))==(Djn(),Dht)&&(k=iyn(m,o),ucn(m,lut,k)),k.g){case 1:u||B2(m,m.i*T);break;case 2:B2(m,m.i+y),u||H2(m,m.j*f);break;case 3:u||B2(m,m.i*T),H2(m,m.j+s);break;case 4:u||H2(m,m.j*f)}if(bA(n,g.a,g.b),c)for(b=new zL((!n.n&&(n.n=new oB(ult,n,1,7)),n.n));b.e!=b.i.gc();)w=(l=YR(Grn(b),135)).i+l.g/2,d=l.j+l.f/2,(M=w/p.a)+(h=d/p.b)>=1&&(M-h>0&&d>=0?(B2(l,l.i+y),H2(l,l.j+s*h)):M-h<0&&w>=0&&(B2(l,l.i+y*M),H2(l,l.j+s)));return ucn(n,(zEn(),xot),(fin(),new Qx(a=YR(cT(cft),9),YR(XD(a,a.length),9),0))),new xC(T,f)}function Bjn(n){xE(n,new _sn(TM(SM(MM(EM(jM(new bu,Lxn),"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 Oo),Lxn))),UV(n,Lxn,sDn,Urn(Ret)),UV(n,Lxn,iAn,Urn(Get)),UV(n,Lxn,bAn,Urn(Oet)),UV(n,Lxn,LAn,Urn(Aet)),UV(n,Lxn,lAn,Urn(Let)),UV(n,Lxn,wAn,Urn(Iet)),UV(n,Lxn,hAn,Urn(Net)),UV(n,Lxn,dAn,Urn(xet)),UV(n,Lxn,Txn,Urn(Pet)),UV(n,Lxn,Mxn,Urn(Cet)),UV(n,Lxn,yxn,Urn(Fet)),UV(n,Lxn,Pxn,Urn(Het)),UV(n,Lxn,Cxn,Urn(_et)),UV(n,Lxn,Ixn,Urn(Bet)),UV(n,Lxn,Sxn,Urn($et)),UV(n,Lxn,vxn,Urn(Det)),UV(n,Lxn,kxn,Urn(Ket)),UV(n,Lxn,jxn,Urn(Uet)),UV(n,Lxn,Exn,Urn(qet)),UV(n,Lxn,mxn,Urn(Set))}function Hjn(n){var t,e,i,r,c,a,o,u,s,h,f;if(null==n)throw Nm(new iM(ESn));if(s=n,u=!1,(c=n.length)>0&&(Kz(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(Kz(1,n.length+1),n=n.substr(1),--c,u=45==t)),0==c)throw Nm(new iM(pCn+s+'"'));for(;n.length>0&&(Kz(0,n.length),48==n.charCodeAt(0));)Kz(1,n.length+1),n=n.substr(1),--c;if(c>(Rkn(),wGn)[10])throw Nm(new iM(pCn+s+'"'));for(r=0;r0&&(f=-parseInt((oZ(0,i,n.length),n.substr(0,i)),10),Kz(i,n.length+1),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt((oZ(0,a,n.length),n.substr(0,a)),10),Kz(a,n.length+1),n=n.substr(a),c-=a,e)e=!1;else{if(q7(f,o)<0)throw Nm(new iM(pCn+s+'"'));f=Ntn(f,h)}f=$tn(f,i)}if(q7(f,0)>0)throw Nm(new iM(pCn+s+'"'));if(!u&&q7(f=k1(f),0)<0)throw Nm(new iM(pCn+s+'"'));return f}function Ujn(n){var t,e,i,r,c,a,o,u;if(FMn(),null==n)return null;if((r=FO(n,nhn(37)))<0)return n;for(u=new yN((oZ(0,r,n.length),n.substr(0,r))),t=eZ(Zdt,nFn,28,4,15,1),o=0,i=0,a=n.length;rr+2&&O8((Kz(r+1,n.length),n.charCodeAt(r+1)),Xlt,zlt)&&O8((Kz(r+2,n.length),n.charCodeAt(r+2)),Xlt,zlt))if(e=dK((Kz(r+1,n.length),n.charCodeAt(r+1)),(Kz(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[o++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[o++]=e<<24>>24,i=2):224==(240&e)?(t[o++]=e<<24>>24,i=3):240==(248&e)&&(t[o++]=e<<24>>24,i=4)),i>0){if(o==i){switch(o){case 2:nU(u,((31&t[0])<<6|63&t[1])&APn);break;case 3:nU(u,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&APn)}o=0,i=0}}else{for(c=0;c=2){if(0==(!n.a&&(n.a=new oB(ilt,n,6,6)),n.a).i)ZM(),i=new is,wZ((!n.a&&(n.a=new oB(ilt,n,6,6)),n.a),i);else if((!n.a&&(n.a=new oB(ilt,n,6,6)),n.a).i>1)for(l=new YN((!n.a&&(n.a=new oB(ilt,n,6,6)),n.a));l.e!=l.i.gc();)Fun(l);kyn(t,YR(g2((!n.a&&(n.a=new oB(ilt,n,6,6)),n.a),0),166))}if(f)for(r=new zL((!n.a&&(n.a=new oB(ilt,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new zL((!(i=YR(Grn(r),166)).a&&(i.a=new $L(Yft,i,5)),i.a));s.e!=s.i.gc();)u=YR(Grn(s),377),o.a=e.Math.max(o.a,u.a),o.b=e.Math.max(o.b,u.b);for(a=new zL((!n.n&&(n.n=new oB(ult,n,1,7)),n.n));a.e!=a.i.gc();)c=YR(Grn(a),135),(h=YR(ldn(c,jst),8))&&wA(c,h.a,h.b),f&&(o.a=e.Math.max(o.a,c.i+c.g),o.b=e.Math.max(o.b,c.j+c.f));return o}function qjn(n,t,e,i,r){var c,a,o;if(s0(n,t),a=t[0],c=cG(e.c,0),o=-1,i9(e))if(i>0){if(a+i>n.length)return!1;o=$bn((oZ(0,a+i,n.length),n.substr(0,a+i)),t)}else o=$bn(n,t);switch(c){case 71:return o=xfn(n,a,o8(sM(IGn,1),USn,2,6,[XPn,zPn]),t),r.e=o,!0;case 77:case 76:return function(n,t,e,i,r){return i<0?((i=xfn(n,r,o8(sM(IGn,1),USn,2,6,[LPn,NPn,$Pn,DPn,xPn,RPn,KPn,FPn,_Pn,BPn,HPn,UPn]),t))<0&&(i=xfn(n,r,o8(sM(IGn,1),USn,2,6,["Jan","Feb","Mar","Apr",xPn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}(n,t,r,o,a);case 69:case 99:return function(n,t,e,i){var r;return(r=xfn(n,e,o8(sM(IGn,1),USn,2,6,[VPn,WPn,QPn,JPn,YPn,ZPn,nCn]),t))<0&&(r=xfn(n,e,o8(sM(IGn,1),USn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}(n,t,a,r);case 97:return o=xfn(n,a,o8(sM(IGn,1),USn,2,6,["AM","PM"]),t),r.b=o,!0;case 121:return function(n,t,e,i,r,c){var a,o,u;if(o=32,i<0){if(t[0]>=n.length)return!1;if(43!=(o=cG(n,t[0]))&&45!=o)return!1;if(++t[0],(i=$bn(n,t))<0)return!1;45==o&&(i=-i)}return 32==o&&t[0]-e==2&&2==r.b&&(a=(u=(new Ij).q.getFullYear()-GPn+GPn-80)%100,c.a=i==a,i+=100*(u/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(o,a,t[0],r);case 104:12==o&&(o=0);case 75:case 72:return!(o<0||(r.f=o,r.g=!1,0));case 107:return!(o<0||(r.f=o,r.g=!0,0));case 109:return!(o<0||(r.j=o,0));case 115:return!(o<0||(r.n=o,0));case 90:if(a=0&&Ix(n.substr(t,3),"GMT")||t>=0&&Ix(n.substr(t,3),"UTC")?(e[0]=t+3,skn(n,e,i)):skn(n,e,i)}(n,a,t,r);default:return!1}}function Xjn(n,t,e){var i,r,c,a,o;switch(i=t.i,c=n.i.o,r=n.i.d,o=n.n,a=n9(o8(sM(Tat,1),USn,8,0,[o,n.a])),n.j.g){case 1:CD(t,(V1(),LXn)),i.d=-r.d-e-i.a,YR(YR(wF(t.d,0),187).of((XEn(),q1n)),291)==(Mon(),Ost)?(dZ(t,(HZ(),PXn)),i.c=a.a-vy(V$(phn(n,J1n)))-e-i.b):(dZ(t,(HZ(),SXn)),i.c=a.a+vy(V$(phn(n,J1n)))+e);break;case 2:dZ(t,(HZ(),SXn)),i.c=c.a+r.c+e,YR(YR(wF(t.d,0),187).of((XEn(),q1n)),291)==(Mon(),Ost)?(CD(t,(V1(),LXn)),i.d=a.b-vy(V$(phn(n,J1n)))-e-i.a):(CD(t,(V1(),$Xn)),i.d=a.b+vy(V$(phn(n,J1n)))+e);break;case 3:CD(t,(V1(),$Xn)),i.d=c.b+r.a+e,YR(YR(wF(t.d,0),187).of((XEn(),q1n)),291)==(Mon(),Ost)?(dZ(t,(HZ(),PXn)),i.c=a.a-vy(V$(phn(n,J1n)))-e-i.b):(dZ(t,(HZ(),SXn)),i.c=a.a+vy(V$(phn(n,J1n)))+e);break;case 4:dZ(t,(HZ(),PXn)),i.c=-r.b-e-i.b,YR(YR(wF(t.d,0),187).of((XEn(),q1n)),291)==(Mon(),Ost)?(CD(t,(V1(),LXn)),i.d=a.b-vy(V$(phn(n,J1n)))-e-i.a):(CD(t,(V1(),$Xn)),i.d=a.b+vy(V$(phn(n,J1n)))+e)}}function zjn(n){var t,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;if(1==n.gc())return YR(n.Xb(0),235);if(n.gc()<=0)return new ZJ;for(c=n.Kc();c.Ob();){for(i=YR(c.Pb(),235),d=0,f=dSn,l=dSn,s=kPn,h=kPn,w=new mw(i.e);w.au&&(k=0,y+=o+m,o=0),Vvn(g,i,k,y),t=e.Math.max(t,k+p.a),o=e.Math.max(o,p.b),k+=p.a+m;return g}function Vjn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;for(o=new mw(n.a.b);o.a0)if(r=f.gc(),s=bX(e.Math.floor((r+1)/2))-1,c=bX(e.Math.ceil((r+1)/2))-1,t.o==h7n)for(h=c;h>=s;h--)t.a[k.p]==k&&(d=YR(f.Xb(h),42),w=YR(d.a,10),!Kj(i,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=k,t.g[k.p]=t.g[w.p],t.a[k.p]=t.g[k.p],t.f[t.g[k.p].p]=(GN(),!!(my(t.f[t.g[k.p].p])&k.k==(Zhn(),sQn))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[k.p]==k&&(p=YR(f.Xb(h),42),g=YR(p.a,10),!Kj(i,p.b)&&b0&&(c=YR(wF(p.c.a,T-1),10),o=n.i[c.p],E=e.Math.ceil(WA(n.n,c,p)),a=M.a.e-p.d.d-(o.a.e+c.o.b+c.d.a)-E),h=mCn,T0&&j.a.e.e-j.a.a-(j.b.e.e-j.b.a)<0,d=k.a.e.e-k.a.a-(k.b.e.e-k.b.a)<0&&j.a.e.e-j.a.a-(j.b.e.e-j.b.a)>0,w=k.a.e.e+k.b.aj.b.e.e+j.a.a,y=0,!g&&!d&&(b?a+l>0?y=l:h-r>0&&(y=r):w&&(a+u>0?y=u:h-v>0&&(y=v))),M.a.e+=y,M.b&&(M.d.e+=y),1)))}function Qjn(n,t,i){var r,c,a,o,u,s,h,f,l,b;if(r=new yG(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),c=new tA,n.c)for(o=new mw(t.Rf());o.as&&(i.a+=vL(eZ(Wdt,IPn,28,-s,15,1))),i.a+="Is",FO(u,nhn(32))>=0)for(r=0;r=2&&(i=YR(r.Kc().Pb(),117),e=n.u.Hc((bbn(),sht)),c=n.u.Hc(bht),!i.a&&!e&&(2==r.gc()||c))}(n,t),e=n.u.Hc((bbn(),uht)),u=s.Kc();u.Ob();)if((o=YR(u.Pb(),117)).c&&!(o.c.d.c.length<=0)){switch(l=o.b.Mf(),(f=(h=o.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:o.a?(f.c=(l.a-f.b)/2,dZ(h,(HZ(),EXn))):a||e?(f.c=-f.b-n.s,dZ(h,(HZ(),PXn))):(f.c=l.a+n.s,dZ(h,(HZ(),SXn))),f.d=-f.a-n.t,CD(h,(V1(),LXn));break;case 3:o.a?(f.c=(l.a-f.b)/2,dZ(h,(HZ(),EXn))):a||e?(f.c=-f.b-n.s,dZ(h,(HZ(),PXn))):(f.c=l.a+n.s,dZ(h,(HZ(),SXn))),f.d=l.b+n.t,CD(h,(V1(),$Xn));break;case 2:o.a?(i=n.v?f.a:YR(wF(h.d,0),187).Mf().b,f.d=(l.b-i)/2,CD(h,(V1(),NXn))):a||e?(f.d=-f.a-n.t,CD(h,(V1(),LXn))):(f.d=l.b+n.t,CD(h,(V1(),$Xn))),f.c=l.a+n.s,dZ(h,(HZ(),SXn));break;case 4:o.a?(i=n.v?f.a:YR(wF(h.d,0),187).Mf().b,f.d=(l.b-i)/2,CD(h,(V1(),NXn))):a||e?(f.d=-f.a-n.t,CD(h,(V1(),LXn))):(f.d=l.b+n.t,CD(h,(V1(),$Xn))),f.c=-f.b-n.s,dZ(h,(HZ(),PXn))}a=!1}}function tEn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p;if(l=!1,f=!1,cA(YR(phn(i,(NEn(),X6n)),101))){a=!1,o=!1;n:for(w=new mw(i.j);w.a=i.o.b/2}p?(g=YR(phn(i,(XEn(),M0n)),15))?l?c=g:(r=YR(phn(i,k1n),15))?c=g.gc()<=r.gc()?g:r:(c=new Tm,L8(i,k1n,c)):(c=new Tm,L8(i,M0n,c)):(r=YR(phn(i,(XEn(),k1n)),15))?f?c=r:(g=YR(phn(i,M0n),15))?c=r.gc()<=g.gc()?r:g:(c=new Tm,L8(i,M0n,c)):(c=new Tm,L8(i,k1n,c)),c.Fc(n),L8(n,(XEn(),M1n),e),t.d==e?(fz(t,null),e.e.c.length+e.g.c.length==0&&hz(e,null),function(n){var t,e;(t=YR(phn(n,(XEn(),o0n)),10))&&(p1((e=t.c).a,t),0==e.a.c.length&&p1(gU(t).b,e))}(e)):(uz(t,null),e.e.c.length+e.g.c.length==0&&hz(e,null)),GG(t.a)}function eEn(n,t,i){var r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C,I,O,A,L;for(i.Ug("MinWidth layering",1),d=t.b,E=t.a,L=YR(phn(t,(NEn(),b6n)),17).a,u=YR(phn(t,w6n),17).a,n.b=vy(V$(phn(t,h5n))),n.d=mCn,M=new mw(E);M.a0){for(l=h<100?null:new GM(h),w=new O6(t).g,g=eZ(Qdt,qPn,28,h,15,1),i=0,v=new o2(h),r=0;r=0;)if(null!=b?Snn(b,w[u]):GI(b)===GI(w[u])){g.length<=i&&oyn(g,0,g=eZ(Qdt,qPn,28,2*g.length,15,1),0,i),g[i++]=r,wZ(v,w[u]);break n}if(GI(b)===GI(o))break}}if(s=v,w=v.g,h=i,i>g.length&&oyn(g,0,g=eZ(Qdt,qPn,28,i,15,1),0,i),i>0){for(m=!0,c=0;c=0;)bon(n,g[a]);if(i!=h){for(r=h;--r>=i;)bon(s,r);oyn(g,0,g=eZ(Qdt,qPn,28,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return tD(),tD(),$lt;for(e=new AD(n,t.gc()),r=new zL(n);r.e!=r.i.gc();)i=Grn(r),t.Hc(i)&&wZ(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(bon(n,r),m=!0);if(m){if(null!=g){for(f=1==(e=t.gc())?az(n,4,t.Kc().Pb(),null,g[0],d):az(n,6,t,g,g[0],d),l=e<100?null:new GM(e),r=t.Kc();r.Ob();)l=Ux(n,YR(b=r.Pb(),76),l);l?(l.nj(f),l.oj()):r5(n.e,f)}else{for(l=function(n){return n<100?null:new GM(n)}(t.gc()),r=t.Kc();r.Ob();)l=Ux(n,YR(b=r.Pb(),76),l);l&&l.oj()}return!0}return!1}function rEn(n,t){var i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k;for((i=new Mcn(t)).a||function(n){var t,i,r,c,a;switch(c=YR(wF(n.a,0),10),t=new Hcn(n),LL(n.a,t),t.o.a=e.Math.max(1,c.o.a),t.o.b=e.Math.max(1,c.o.b),t.n.a=c.n.a,t.n.b=c.n.b,YR(phn(c,(XEn(),$1n)),64).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}hz(r=new lfn,t),uz(i=new Aq,a=YR(wF(c.j,0),12)),fz(i,r),fx(TO(r.n),a.n),fx(TO(r.a),a.a)}(t),f=function(n){var t,e,i,r,c,a,o;for(o=new oJ,a=new mw(n.a);a.a=o.b.c)&&(o.b=t),(!o.c||t.c<=o.c.c)&&(o.d=o.c,o.c=t),(!o.e||t.d>=o.e.d)&&(o.e=t),(!o.f||t.d<=o.f.d)&&(o.f=t);return i=new Qrn((h8(),$Wn)),AV(n,UWn,new Fy(o8(sM(NWn,1),ySn,382,0,[i]))),a=new Qrn(RWn),AV(n,HWn,new Fy(o8(sM(NWn,1),ySn,382,0,[a]))),r=new Qrn(DWn),AV(n,BWn,new Fy(o8(sM(NWn,1),ySn,382,0,[r]))),c=new Qrn(xWn),AV(n,_Wn,new Fy(o8(sM(NWn,1),ySn,382,0,[c]))),ugn(i.c,$Wn),ugn(r.c,DWn),ugn(c.c,xWn),ugn(a.c,RWn),o.a.c.length=0,Y5(o.a,i.c),Y5(o.a,fen(r.c)),Y5(o.a,c.c),Y5(o.a,fen(a.c)),o}(f)),i}function cEn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d;if(null==i.p[t.p]){u=!0,i.p[t.p]=0,o=t,d=i.o==(jX(),s7n)?vCn:mCn;do{c=n.b.e[o.p],a=o.c.a.c.length,i.o==s7n&&c>0||i.o==h7n&&c1&&(o=e.Math.min(o,e.Math.abs(YR(Zrn(u.a,1),8).b-f.b)))));else for(d=new mw(t.j);d.ac&&(a=b.a-c,o=dSn,r.c.length=0,c=b.a),b.a>=c&&(Fm(r.c,u),u.a.b>1&&(o=e.Math.min(o,e.Math.abs(YR(Zrn(u.a,u.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&o>t.o.b/2){for(hz(w=new lfn,t),Zln(w,(Djn(),pht)),w.n.a=t.o.a/2,hz(g=new lfn,t),Zln(g,$ht),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new mw(r);s.a=h.b?uz(u,g):uz(u,w)):(h=YR(VR(u.a),8),(0==u.a.b?Lz(u.c):YR(l$(u.a),8)).b>=h.b?fz(u,g):fz(u,w)),(l=YR(phn(u,(NEn(),u6n)),75))&&jen(l,h,!0);t.n.a=c-t.o.a/2}}function oEn(n,t,e,i,r,c,a,o,u){var s,h,f,l,b,w,d;switch(b=e,Lb(h=new Hcn(u),(Zhn(),oQn)),L8(h,(XEn(),D1n),a),L8(h,(NEn(),X6n),(ysn(),tht)),d=vy(V$(n.of(q6n))),L8(h,q6n,d),hz(f=new lfn,h),t!=rht&&t!=cht||(b=i>=0?ben(o):ntn(ben(o)),n.qf(J6n,b)),s=new VM,l=!1,n.pf(G6n)?(j$(s,YR(n.of(G6n),8)),l=!0):function(n,t,e){n.a=t,n.b=e}(s,a.a/2,a.b/2),b.g){case 4:L8(h,f6n,(Men(),j0n)),L8(h,C1n,(K8(),gZn)),h.o.b=a.b,d<0&&(h.o.a=-d),Zln(f,(Djn(),ght)),l||(s.a=a.a),s.a-=a.a;break;case 2:L8(h,f6n,(Men(),S0n)),L8(h,C1n,(K8(),wZn)),h.o.b=a.b,d<0&&(h.o.a=-d),Zln(f,(Djn(),xht)),l||(s.a=0);break;case 1:L8(h,B1n,(W1(),l1n)),h.o.a=a.a,d<0&&(h.o.b=-d),Zln(f,(Djn(),$ht)),l||(s.b=a.b),s.b-=a.b;break;case 3:L8(h,B1n,(W1(),h1n)),h.o.a=a.a,d<0&&(h.o.b=-d),Zln(f,(Djn(),pht)),l||(s.b=0)}if(j$(f.n,s),L8(h,G6n,s),t==nht||t==eht||t==tht){if(w=0,t==nht&&n.pf(z6n))switch(b.g){case 1:case 2:w=YR(n.of(z6n),17).a;break;case 3:case 4:w=-YR(n.of(z6n),17).a}else switch(b.g){case 4:case 2:w=c.b,t==eht&&(w/=r.b);break;case 1:case 3:w=c.a,t==eht&&(w/=r.a)}L8(h,u0n,w)}return L8(h,$1n,b),h}function uEn(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(M5(h=new Hcn(e),t),L8(h,(XEn(),Z1n),t),h.o.a=t.g,h.o.b=t.f,h.n.a=t.i,h.n.b=t.j,LL(e.a,h),xU(n.a,t,h),(0!=(!t.a&&(t.a=new oB(slt,t,10,11)),t.a).i||my(z$(ldn(t,(NEn(),r6n)))))&&L8(h,T1n,(GN(),!0)),s=YR(phn(e,R1n),21),(f=YR(phn(h,(NEn(),X6n)),101))==(ysn(),cht)?L8(h,X6n,rht):f!=rht&&s.Fc((Vpn(),ZZn)),l=0,i=YR(phn(e,x4n),88),u=new zL((!t.c&&(t.c=new oB(hlt,t,9,9)),t.c));u.e!=u.i.gc();)o=YR(Grn(u),123),(GI(ldn(r=BX(t),y4n))!==GI((Din(),$8n))||GI(ldn(r,$4n))===GI(($in(),oZn))||GI(ldn(r,$4n))===GI(($in(),cZn))||my(z$(ldn(r,T4n)))||GI(ldn(r,d4n))!==GI((Zin(),QWn))||GI(ldn(r,g6n))===GI((Ivn(),M8n))||GI(ldn(r,g6n))===GI((Ivn(),T8n))||GI(ldn(r,p6n))===GI((Fgn(),X5n))||GI(ldn(r,p6n))===GI((Fgn(),V5n)))&&!my(z$(ldn(t,v4n)))&&ucn(o,Y1n,onn(l++)),my(z$(ldn(o,$6n)))||Ejn(n,o,h,s,i,f);for(a=new zL((!t.n&&(t.n=new oB(ult,t,1,7)),t.n));a.e!=a.i.gc();)!my(z$(ldn(c=YR(Grn(a),135),$6n)))&&c.a&&LL(h.b,F7(c));return my(z$(phn(h,f4n)))&&s.Fc((Vpn(),VZn)),my(z$(phn(h,i6n)))&&(s.Fc((Vpn(),YZn)),s.Fc(JZn),L8(h,X6n,rht)),h}function sEn(n,t,i,r,c,a,o){var u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C,I,O,A;for(g=0,P=0,h=new mw(n.b);h.ag&&(a&&(bO(T,w),bO(E,onn(f.b-1)),LL(n.d,d),u.c.length=0),O=i.b,A+=w+t,w=0,l=e.Math.max(l,i.b+i.c+I)),Fm(u.c,s),Jrn(s,O,A),l=e.Math.max(l,O+I+i.c),w=e.Math.max(w,b),O+=I+t,d=s;if(Y5(n.a,u),LL(n.d,YR(wF(u,u.c.length-1),163)),l=e.Math.max(l,r),(C=A+w+i.a)0,g=v.g.c.length>0,s&&g?Fm(l.c,v):s?Fm(w.c,v):g&&Fm(m.c,v);for(b=new mw(w);b.av.nh()-h.b&&(b=v.nh()-h.b),w>v.oh()-h.d&&(w=v.oh()-h.d),f=s.c.c.length?tQ((Zhn(),hQn),sQn):tQ((Zhn(),sQn),sQn),h*=2,c=i.a.g,i.a.g=e.Math.max(c,c+(h-c)),a=i.b.g,i.b.g=e.Math.max(a,a+(h-a)),r=t}else Tbn(o),xMn((Rz(0,o.c.length),YR(o.c[0],18)).d.i)||LL(n.o,o)}(n),a.Vg()),$cn(n.f),c=YR(phn(t,E5n),17).a*n.f.a.c.length,Xvn(dM(gM(pR(n.f),c),!1),i.eh(1)),0!=n.d.a.gc()){for((a=i.eh(1)).Ug("Flexible Where Space Processing",1),o=YR(ON(Q_(sG(new CF(null,new Fz(n.f.a,16)),new Bc),new $c)),17).a,u=YR(ON(W_(sG(new CF(null,new Fz(n.f.a,16)),new Hc),new Dc)),17).a-o,s=NN(new Tv,n.f),f=NN(new Tv,n.f),Jgn(sE(uE(oE(hE(new Mv,2e4),u),s),f)),Zj(uG(uG(xB(n.i),new Uc),new Gc),new kG(o,s,u,f)),r=n.d.a.ec().Kc();r.Ob();)YR(r.Pb(),218).g=1;Xvn(dM(gM(pR(n.f),c),!1),a.eh(1)),a.Vg()}my(z$(phn(t,E6n)))&&((a=i.eh(1)).Ug("Straight Edges Post-Processing",1),function(n){var t,e,i;for(V4(e=new qj,n.o),i=new Gv;0!=e.b;)Wjn(n,t=YR(0==e.b?null:(Y$(0!=e.b),a2(e,e.a.a)),515),!0)&&LL(i.a,t);for(;0!=i.a.c.length;)Wjn(n,t=YR(J9(i),515),!1)}(n),a.Vg()),function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d;for(e=new mw(n.e.b);e.as&&(l=0,b+=u+t,u=0),hvn(a,l,b),i=e.Math.max(i,l+h.a),u=e.Math.max(u,h.b),l+=h.a+t;return new xC(i+t,b+u+t)}(RN(n,(Djn(),Mht)),t),d=Van(RN(n,Tht),t),y=Van(RN(n,Aht),t),E=Wan(RN(n,Nht),t),b=Wan(RN(n,mht),t),v=Van(RN(n,Oht),t),g=Van(RN(n,jht),t),T=Van(RN(n,Lht),t),M=Van(RN(n,vht),t),S=Wan(RN(n,yht),t),m=Van(RN(n,Cht),t),k=Van(RN(n,Pht),t),j=Van(RN(n,kht),t),P=Wan(RN(n,Iht),t),w=Wan(RN(n,Eht),t),p=Van(RN(n,Sht),t),i=Y0(o8(sM(ngt,1),ECn,28,15,[v.a,E.a,T.a,P.a])),r=Y0(o8(sM(ngt,1),ECn,28,15,[d.a,l.a,y.a,p.a])),c=m.a,a=Y0(o8(sM(ngt,1),ECn,28,15,[g.a,b.a,M.a,w.a])),h=Y0(o8(sM(ngt,1),ECn,28,15,[v.b,d.b,g.b,k.b])),s=Y0(o8(sM(ngt,1),ECn,28,15,[E.b,l.b,b.b,p.b])),f=S.b,u=Y0(o8(sM(ngt,1),ECn,28,15,[T.b,y.b,M.b,j.b])),yZ(RN(n,Mht),i+c,h+f),yZ(RN(n,Sht),i+c,h+f),yZ(RN(n,Tht),i+c,0),yZ(RN(n,Aht),i+c,h+f+s),yZ(RN(n,Nht),0,h+f),yZ(RN(n,mht),i+c+r,h+f),yZ(RN(n,jht),i+c+r,0),yZ(RN(n,Lht),0,h+f+s),yZ(RN(n,vht),i+c+r,h+f+s),yZ(RN(n,yht),0,h),yZ(RN(n,Cht),i,0),yZ(RN(n,kht),0,h+f+s),yZ(RN(n,Eht),i+c+r,0),(o=new VM).a=Y0(o8(sM(ngt,1),ECn,28,15,[i+r+c+a,S.a,k.a,j.a])),o.b=Y0(o8(sM(ngt,1),ECn,28,15,[h+s+f+u,m.b,P.b,w.b])),o}function gEn(n){var t,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T;for(d=new xC(mCn,mCn),t=new xC(vCn,vCn),y=new mw(n);y.a=48&&t<=57))throw Nm(new Ky(eSn((xA(),C_n))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw Nm(new Ky(eSn((xA(),L_n))));if(e=i,44==t){if(r>=n.j)throw Nm(new Ky(eSn((xA(),O_n))));if((t=cG(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw Nm(new Ky(eSn((xA(),L_n))));if(i>e)throw Nm(new Ky(eSn((xA(),A_n))))}else e=-1}if(125!=t)throw Nm(new Ky(eSn((xA(),I_n))));n.bm(r)?(QEn(),QEn(),c=new fQ(9,c),n.d=r+1):(QEn(),QEn(),c=new fQ(3,c),n.d=r),c.Om(i),c.Nm(e),$En(n)}}return c}function vEn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v;if(TB(n.a,t)){if(Kj(YR(KH(n.a,t),49),e))return 1}else xU(n.a,t,new gv);if(TB(n.a,e)){if(Kj(YR(KH(n.a,e),49),t))return-1}else xU(n.a,e,new gv);if(TB(n.e,t)){if(Kj(YR(KH(n.e,t),49),e))return-1}else xU(n.e,t,new gv);if(TB(n.e,e)){if(Kj(YR(KH(n.a,e),49),t))return 1}else xU(n.e,e,new gv);if(n.c==(Din(),D8n)||!w$(t,(XEn(),Y1n))||!w$(e,(XEn(),Y1n))){for(f=null,s=new mw(t.j);s.a(a=Gun(n,e))?pvn(n,t,e):pvn(n,e,t),ra?1:0}return(i=YR(phn(t,(XEn(),Y1n)),17).a)>(c=YR(phn(e,Y1n),17).a)?pvn(n,t,e):pvn(n,e,t),ic?1:0}function kEn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g;if(null==e)return null;if(n.a!=t.jk())throw Nm(new Iy(JKn+t.xe()+YKn));if(hL(t,469)){if(!(d=function(n,t){var e,i,r;if(null==t){for(!n.a&&(n.a=new oB(fbt,n,9,5)),i=new zL(n.a);i.e!=i.i.gc();)if(null==(null==(r=(e=YR(Grn(i),694)).c)?e.zb:r))return e}else for(!n.a&&(n.a=new oB(fbt,n,9,5)),i=new zL(n.a);i.e!=i.i.gc();)if(Ix(t,null==(r=(e=YR(Grn(i),694)).c)?e.zb:r))return e;return null}(YR(t,685),e)))throw Nm(new Iy(ZKn+e+"' is not a valid enumerator of '"+t.xe()+"'"));return d}switch(ynn((tln(),gwt),t).Nl()){case 2:e=kMn(e,!1);break;case 3:e=kMn(e,!0)}if(i=ynn(gwt,t).Jl())return i.jk().wi().ti(i,e);if(f=ynn(gwt,t).Ll()){for(d=new Tm,s=0,h=(u=D9(e)).length;s1)for(b=new YN((!n.a&&(n.a=new oB(ilt,n,6,6)),n.a));b.e!=b.i.gc();)Fun(b);for(d=C,C>k+v?d=k+v:Cy+w?g=y+w:Ik-v&&dy-w&&gC+P?T=C+P:kI+M?j=I+M:yC-P&&TI-M&&ji&&(f=i-1),(l=N+tgn(t,24)*UCn*h-h/2)<0?l=1:l>r&&(l=r-1),ZM(),X2(c=new ns,f),R2(c,l),wZ((!o.a&&(o.a=new $L(Yft,o,5)),o.a),c)}function EEn(n){xE(n,new _sn(SM(MM(EM(jM(new bu,eRn),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new _o))),UV(n,eRn,NOn,1.3),UV(n,eRn,fAn,(GN(),!1)),UV(n,eRn,$On,ort),UV(n,eRn,iAn,15),UV(n,eRn,nDn,Urn(qit)),UV(n,eRn,bAn,Urn(Yit)),UV(n,eRn,LAn,Urn(nrt)),UV(n,eRn,lAn,Urn(trt)),UV(n,eRn,wAn,Urn(Jit)),UV(n,eRn,hAn,Urn(ert)),UV(n,eRn,dAn,Urn(urt)),UV(n,eRn,zxn,Urn(brt)),UV(n,eRn,Vxn,Urn(lrt)),UV(n,eRn,Xxn,Urn(drt)),UV(n,eRn,qxn,Urn(wrt)),UV(n,eRn,Wxn,Urn(crt)),UV(n,eRn,Qxn,Urn(rrt)),UV(n,eRn,Jxn,Urn(irt)),UV(n,eRn,Yxn,Urn(frt)),UV(n,eRn,oAn,Urn(Vit)),UV(n,eRn,lDn,Urn(Wit)),UV(n,eRn,Uxn,Urn(zit)),UV(n,eRn,Hxn,Urn(Xit)),UV(n,eRn,Gxn,Urn(Qit)),UV(n,eRn,Bxn,Urn(hrt))}function SEn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C;if(pMn(),j=n.e,w=n.d,r=n.a,0==j)switch(t){case 0:return"0";case 1:return ICn;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(M=new Zy).a+=t<0?"0E+":"0E",M.a+=-t,M.a}if(k=eZ(Wdt,IPn,28,1+(v=10*w+1+7),15,1),e=v,1==w)if((o=r[0])<0){C=Uz(o,CCn);do{d=C,C=jun(C,10),k[--e]=48+M_($tn(d,Ntn(C,10)))&APn}while(0!=q7(C,0))}else{C=o;do{d=C,C=C/10|0,k[--e]=d-10*C+48&APn}while(0!=C)}else{oyn(r,0,S=eZ(Qdt,qPn,28,w,15,1),0,P=w);n:for(;;){for(T=0,s=P-1;s>=0;s--)p=Lsn(Ltn($_(T,32),Uz(S[s],CCn))),S[s]=M_(p),T=M_(D_(p,32));m=M_(T),g=e;do{k[--e]=48+m%10&APn}while(0!=(m=m/10|0)&&0!=e);for(i=9-g+e,u=0;u0;u++)k[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==k[e];)++e}if(b=j<0,a=v-e-t-1,0==t)return b&&(k[--e]=45),Lin(k,e,v-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=v-1;l>=h;l--)k[l+1]=k[l];return k[++h]=46,b&&(k[--e]=45),Lin(k,e,v-e+1)}for(f=2;f<1-a;f++)k[--e]=48;return k[--e]=46,k[--e]=48,b&&(k[--e]=45),Lin(k,e,v-e)}return E=e+1,c=v,y=new nM,b&&(y.a+="-"),c-E>=1?(nU(y,k[e]),y.a+=".",y.a+=Lin(k,e+1,v-e-1)):y.a+=Lin(k,e,v-e),y.a+="E",a>0&&(y.a+="+"),y.a+=""+a,y.a}function PEn(n,t){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;switch(n.c=t,n.g=new Mm,BE(),wen(new nd(new uy(n.c))),m=W$(ldn(n.c,(yhn(),fct))),o=YR(ldn(n.c,bct),324),k=YR(ldn(n.c,wct),437),c=YR(ldn(n.c,act),490),v=YR(ldn(n.c,lct),438),n.j=vy(V$(ldn(n.c,dct))),a=n.a,o.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw Nm(new Iy(uRn+(null!=o.f?o.f:""+o.g)))}if(n.d=new dX(a,k,c),L8(n.d,(U6(),Ezn),z$(ldn(n.c,uct))),n.d.c=my(z$(ldn(n.c,oct))),0==oq(n.c).i)return n.d;for(h=new zL(oq(n.c));h.e!=h.i.gc();){for(l=(s=YR(Grn(h),27)).g/2,f=s.f/2,y=new xC(s.i+l,s.j+f);TB(n.g,y);)M$(y,(e.Math.random()-.5)*JOn,(e.Math.random()-.5)*JOn);w=YR(ldn(s,(zEn(),Oot)),140),d=new zX(y,new yG(y.a-l-n.j/2-w.b,y.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),LL(n.d.i,d),xU(n.g,y,new sI(d,s))}switch(v.g){case 0:if(null==m)n.d.d=YR(wF(n.d.i,0),68);else for(p=new mw(n.d.i);p.a1&&kQ(f,m,f.c.b,f.c),Q0(c)));m=v}return f}function IEn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S;for(e.Ug(ixn,1),S=YR(TQ(uG(new CF(null,new Fz(t,16)),new wo),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)]))),15),h=YR(TQ(uG(new CF(null,new Fz(t,16)),new ep(t)),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn]))),15),w=YR(TQ(uG(new CF(null,new Fz(t,16)),new tp(t)),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn]))),15),d=eZ(ont,UDn,40,t.gc(),0,1),a=0;a=0&&E=0&&!d[b]){d[b]=r,h.gd(o),--o;break}if((b=E-l)=0&&!d[b]){d[b]=r,h.gd(o),--o;break}}for(w.jd(new go),u=d.length-1;u>=0;u--)d[u]||w.dc()||(d[u]=YR(w.Xb(0),40),w.gd(0));for(s=0;s=0;u--)UK(e,(Rz(u,a.c.length),YR(a.c[u],8)));return e}function AEn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k;for(v=vy(V$(ldn(t,(Fmn(),Tit)))),b=vy(V$(ldn(t,yit))),l=vy(V$(ldn(t,mit))),N4((!t.a&&(t.a=new oB(slt,t,10,11)),t.a)),p=GMn((!t.a&&(t.a=new oB(slt,t,10,11)),t.a),v,n.b),g=0;gl&&Uon((Rz(l,t.c.length),YR(t.c[l],186)),h),h=null;t.c.length>l&&0==(Rz(l,t.c.length),YR(t.c[l],186)).a.c.length;)p1(t,(Rz(l,t.c.length),t.c[l]));if(!h){--a;continue}if(!my(z$(YR(wF(h.b,0),27).of((hmn(),Qit))))&&mkn(t,w,c,h,g,e,l,i)){d=!0;continue}if(g){if(b=w.b,f=h.f,!my(z$(YR(wF(h.b,0),27).of(Qit)))&&jTn(t,w,c,h,e,l,i,r)){if(d=!0,b=n.j)return n.a=-1,void(n.c=1);if(t=cG(n.i,n.d++),n.a=t,1!=n.b){switch(t){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,n.d>=n.j)break;if(63!=cG(n.i,n.d))break;if(++n.d>=n.j)throw Nm(new Ky(eSn((xA(),YFn))));switch(t=cG(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw Nm(new Ky(eSn((xA(),YFn))));if(61==(t=cG(n.i,n.d++)))i=16;else{if(33!=t)throw Nm(new Ky(eSn((xA(),ZFn))));i=17}break;case 35:for(;n.d=n.j)throw Nm(new Ky(eSn((xA(),JFn))));n.a=cG(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw Nm(new Ky(eSn((xA(),JFn))));n.a=cG(n.i,n.d++);break;case 45:!(512&~n.e)&&n.dn.a.c.length-1;)LL(n.a,new sI(ROn,_Dn));i=YR(phn(r,Stt),17).a,e==(znn(),zut)||e==Vut?(r.e.avy(V$(YR(wF(n.a,i),42).b))&&Vb(YR(wF(n.a,i),42),r.e.a+r.f.a)):(r.e.bvy(V$(YR(wF(n.a,i),42).b))&&Vb(YR(wF(n.a,i),42),r.e.b+r.f.b))}}(n,t,r),function(n,t){var e,i,r,c,a,o,u,s,h,f,l;for(h=(r=YR(phn(n,(fyn(),ntt)),88))==(znn(),zut)||r==Vut?Xut:Vut,e=YR(TQ(uG(new CF(null,new Fz(n.b,16)),new $a),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[(u7(),jqn)]))),15),(u=YR(TQ(sG(e.Oc(),new Jg(t)),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn]))),15)).Gc(YR(TQ(sG(e.Oc(),new Yg(t)),TZ(new V,new z,new en,o8(sM(Lqn,1),bPn,108,0,[jqn]))),16)),u.jd(new Zg(h)),l=new TT(new np(r)),i=new Mm,o=u.Kc();o.Ob();)a=YR(o.Pb(),240),s=YR(a.a,40),my(z$(a.c))?(l.a.zc(s,(GN(),QUn)),new Ow(l.a.Zc(s,!1)).a.gc()>0&&xU(i,s,YR(new Ow(l.a.Zc(s,!1)).a.Vc(),40)),new Ow(l.a.ad(s,!0)).a.gc()>1&&xU(i,xen(l,s),s)):(new Ow(l.a.Zc(s,!1)).a.gc()>0&&GI(c=YR(new Ow(l.a.Zc(s,!1)).a.Vc(),40))===GI(UI(QF(i.f,s)))&&YR(phn(s,(Ajn(),gnt)),15).Fc(c),new Ow(l.a.ad(s,!0)).a.gc()>1&&(f=xen(l,s),GI(UI(QF(i.f,f)))===GI(s)&&YR(phn(f,(Ajn(),gnt)),15).Fc(s)),l.a.Bc(s))}(t,b/2/2),L4(w=t.b,new Vg(r)),s=Drn(w,0);s.b!=s.d.c;)if(!my(z$(phn(u=YR(yW(s),40),(Ajn(),Knt))))){if(i=Rmn(u,r),d=Cyn(u,t),f=0,l=0,i)switch(g=i.e,r.g){case 2:f=g.a-b-u.f.a,d.e.a-b-u.f.af&&(f=d.e.a+d.f.a+b),l=f+u.f.a;break;case 4:f=g.b-b-u.f.b,d.e.b-b-u.f.bf&&(f=d.e.b+d.f.b+b),l=f+u.f.b}else if(d)switch(r.g){case 2:l=(f=d.e.a-b-u.f.a)+u.f.a;break;case 1:l=(f=d.e.a+d.f.a+b)+u.f.a;break;case 4:l=(f=d.e.b-b-u.f.b)+u.f.b;break;case 3:l=(f=d.e.b+d.f.b+b)+u.f.b}GI(phn(t,itt))===GI((P9(),snt))?(c=f,a=l,null!=(o=d9(uG(new CF(null,new Fz(n.a,16)),new rC(c,a)))).a?r==(znn(),zut)||r==Vut?u.e.a=f:u.e.b=f:null!=(o=r==(znn(),zut)||r==Qut?d9(uG(p2(new CF(null,new Fz(n.a,16))),new Wg(c))):d9(uG(p2(new CF(null,new Fz(n.a,16))),new Qg(c)))).a&&(r==zut||r==Vut?u.e.a=vy(V$((Y$(null!=o.a),YR(o.a,42)).a)):u.e.b=vy(V$((Y$(null!=o.a),YR(o.a,42)).a))),null!=o.a&&(h=y1(n.a,(Y$(null!=o.a),o.a),0))>0&&h!=YR(phn(u,Stt),17).a&&(L8(u,pnt,(GN(),!0)),L8(u,Stt,onn(h)))):r==(znn(),zut)||r==Vut?u.e.a=f:u.e.b=f}e.Vg()}}function xEn(n){var t,e,i,r,c,a,o,u;for(n.b=1,$En(n),t=null,0==n.c&&94==n.a?($En(n),QEn(),QEn(),Kpn(t=new Jz(4),0,HHn),a=new Jz(4)):(QEn(),QEn(),a=new Jz(4)),r=!0;1!=(u=n.c);){if(0==u&&93==n.a&&!r){t&&(VTn(t,a),a=t);break}if(e=n.a,i=!1,10==u)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:yMn(a,okn(e)),i=!0;break;case 105:case 73:case 99:case 67:yMn(a,okn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(o=Ibn(n,e)))throw Nm(new Ky(eSn((xA(),f_n))));yMn(a,o),i=!0;break;default:e=mmn(n)}else if(24==u&&!r){if(t&&(VTn(t,a),a=t),VTn(a,xEn(n)),0!=n.c||93!=n.a)throw Nm(new Ky(eSn((xA(),d_n))));break}if($En(n),!i){if(0==u){if(91==e)throw Nm(new Ky(eSn((xA(),g_n))));if(93==e)throw Nm(new Ky(eSn((xA(),p_n))));if(45==e&&!r&&93!=n.a)throw Nm(new Ky(eSn((xA(),m_n))))}if(0!=n.c||45!=n.a||45==e&&r)Kpn(a,e,e);else{if($En(n),1==(u=n.c))throw Nm(new Ky(eSn((xA(),b_n))));if(0==u&&93==n.a)Kpn(a,e,e),Kpn(a,45,45);else{if(0==u&&93==n.a||24==u)throw Nm(new Ky(eSn((xA(),m_n))));if(c=n.a,0==u){if(91==c)throw Nm(new Ky(eSn((xA(),g_n))));if(93==c)throw Nm(new Ky(eSn((xA(),p_n))));if(45==c)throw Nm(new Ky(eSn((xA(),m_n))))}else 10==u&&(c=mmn(n));if($En(n),e>c)throw Nm(new Ky(eSn((xA(),y_n))));Kpn(a,e,c)}}}r=!1}if(1==n.c)throw Nm(new Ky(eSn((xA(),b_n))));return Sdn(a),qMn(a),n.b=0,$En(n),a}function REn(n,t,e){var i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M;if(e.Ug("Coffman-Graham Layering",1),0!=t.a.c.length){for(M=YR(phn(t,(NEn(),s6n)),17).a,u=0,a=0,b=new mw(t.a);b.a=M||!kin(m,i))&&(i=GU(t,f)),sz(m,i),c=new __(dN(_tn(m).a.Kc(),new h));Hwn(c);)r=YR(TJ(c),18),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&sK(ihn(w,g),ACn));for(s=f.c.length-1;s>=0;--s)LL(t.b,(Rz(s,f.c.length),YR(f.c[s],30)));t.a.c.length=0,e.Vg()}else e.Vg()}function KEn(n,t){var e,i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k;k=!1;do{for(k=!1,c=t?new tw(n.a.b).a.gc()-2:1;t?c>=0:cYR(phn(g,Y1n),17).a)&&(v=!1);if(v){for(o=t?c+1:c-1,a=!1,m=!0,i=!1,s=Drn(IW(n.a,onn(o)),0);s.b!=s.d.c;)w$(u=YR(yW(s),10),Y1n)?u.p!=f.p&&(a|=t?YR(phn(u,Y1n),17).aYR(phn(f,Y1n),17).a,m=!1):!a&&m&&u.k==(Zhn(),uQn)&&(i=!0,(l=t?YR(TJ(new __(dN(_tn(u).a.Kc(),new h))),18).c.i:YR(TJ(new __(dN(Btn(u).a.Kc(),new h))),18).d.i)==f&&(e=t?YR(TJ(new __(dN(Btn(u).a.Kc(),new h))),18).d.i:YR(TJ(new __(dN(_tn(u).a.Kc(),new h))),18).c.i,(t?YR(p$(n.a,e),17).a-YR(p$(n.a,l),17).a:YR(p$(n.a,l),17).a-YR(p$(n.a,e),17).a)<=2&&(m=!1)));if(i&&m&&(e=t?YR(TJ(new __(dN(Btn(f).a.Kc(),new h))),18).d.i:YR(TJ(new __(dN(_tn(f).a.Kc(),new h))),18).c.i,(t?YR(p$(n.a,e),17).a-YR(p$(n.a,f),17).a:YR(p$(n.a,f),17).a-YR(p$(n.a,e),17).a)<=2&&e.k==(Zhn(),hQn)&&(m=!1)),a||m){for(d=hgn(n,f,t);0!=d.a.gc();)w=YR(d.a.ec().Kc().Pb(),10),d.a.Bc(w),V4(d,hgn(n,w,t));--b,k=!0}}}}while(k)}function FEn(n,t,e,i,r,c,a){var o,u,s,h,f,l,b,w;return l=YR(i.a,17).a,b=YR(i.b,17).a,f=n.b,w=n.c,o=0,h=0,t==(znn(),zut)||t==Vut?(h=VP(Fnn(hG(sG(new CF(null,new Fz(e.b,16)),new mo),new Ya))),f.e.b+f.f.b/2>h?(s=++b,o=vy(V$(ON(W_(sG(new CF(null,new Fz(e.b,16)),new AC(r,s)),new Za))))):(u=++l,o=vy(V$(ON(Q_(sG(new CF(null,new Fz(e.b,16)),new LC(r,u)),new no)))))):(h=VP(Fnn(hG(sG(new CF(null,new Fz(e.b,16)),new ro),new Ja))),f.e.a+f.f.a/2>h?(s=++b,o=vy(V$(ON(W_(sG(new CF(null,new Fz(e.b,16)),new IC(r,s)),new to))))):(u=++l,o=vy(V$(ON(Q_(sG(new CF(null,new Fz(e.b,16)),new OC(r,u)),new eo)))))),t==zut?(bO(n.a,new xC(vy(V$(phn(f,(Ajn(),Ont))))-r,o)),bO(n.a,new xC(w.e.a+w.f.a+r+c,o)),bO(n.a,new xC(w.e.a+w.f.a+r+c,w.e.b+w.f.b/2)),bO(n.a,new xC(w.e.a+w.f.a,w.e.b+w.f.b/2))):t==Vut?(bO(n.a,new xC(vy(V$(phn(f,(Ajn(),Int))))+r,f.e.b+f.f.b/2)),bO(n.a,new xC(f.e.a+f.f.a+r,o)),bO(n.a,new xC(w.e.a-r-c,o)),bO(n.a,new xC(w.e.a-r-c,w.e.b+w.f.b/2)),bO(n.a,new xC(w.e.a,w.e.b+w.f.b/2))):t==Qut?(bO(n.a,new xC(o,vy(V$(phn(f,(Ajn(),Ont))))-r)),bO(n.a,new xC(o,w.e.b+w.f.b+r+c)),bO(n.a,new xC(w.e.a+w.f.a/2,w.e.b+w.f.b+r+c)),bO(n.a,new xC(w.e.a+w.f.a/2,w.e.b+w.f.b+r))):(0==n.a.b||(YR(l$(n.a),8).b=vy(V$(phn(f,(Ajn(),Int))))+r*YR(a.b,17).a),bO(n.a,new xC(o,vy(V$(phn(f,(Ajn(),Int))))+r*YR(a.b,17).a)),bO(n.a,new xC(o,w.e.b-r*YR(a.a,17).a-c))),new sI(onn(l),onn(b))}function _En(){_En=E,yEn(),Kbn(ZWn=new nX,(Djn(),Tht),Mht),Kbn(ZWn,Nht,Mht),Kbn(ZWn,jht,Mht),Kbn(ZWn,Oht,Mht),Kbn(ZWn,Iht,Mht),Kbn(ZWn,Pht,Mht),Kbn(ZWn,Oht,Tht),Kbn(ZWn,Mht,mht),Kbn(ZWn,Tht,mht),Kbn(ZWn,Nht,mht),Kbn(ZWn,jht,mht),Kbn(ZWn,Cht,mht),Kbn(ZWn,Oht,mht),Kbn(ZWn,Iht,mht),Kbn(ZWn,Pht,mht),Kbn(ZWn,yht,mht),Kbn(ZWn,Mht,Aht),Kbn(ZWn,Tht,Aht),Kbn(ZWn,mht,Aht),Kbn(ZWn,Nht,Aht),Kbn(ZWn,jht,Aht),Kbn(ZWn,Cht,Aht),Kbn(ZWn,Oht,Aht),Kbn(ZWn,yht,Aht),Kbn(ZWn,Lht,Aht),Kbn(ZWn,Iht,Aht),Kbn(ZWn,Eht,Aht),Kbn(ZWn,Pht,Aht),Kbn(ZWn,Tht,Nht),Kbn(ZWn,jht,Nht),Kbn(ZWn,Oht,Nht),Kbn(ZWn,Pht,Nht),Kbn(ZWn,Tht,jht),Kbn(ZWn,Nht,jht),Kbn(ZWn,Oht,jht),Kbn(ZWn,jht,jht),Kbn(ZWn,Iht,jht),Kbn(ZWn,Mht,vht),Kbn(ZWn,Tht,vht),Kbn(ZWn,mht,vht),Kbn(ZWn,Aht,vht),Kbn(ZWn,Nht,vht),Kbn(ZWn,jht,vht),Kbn(ZWn,Cht,vht),Kbn(ZWn,Oht,vht),Kbn(ZWn,Lht,vht),Kbn(ZWn,yht,vht),Kbn(ZWn,Pht,vht),Kbn(ZWn,Iht,vht),Kbn(ZWn,Sht,vht),Kbn(ZWn,Mht,Lht),Kbn(ZWn,Tht,Lht),Kbn(ZWn,mht,Lht),Kbn(ZWn,Nht,Lht),Kbn(ZWn,jht,Lht),Kbn(ZWn,Cht,Lht),Kbn(ZWn,Oht,Lht),Kbn(ZWn,yht,Lht),Kbn(ZWn,Pht,Lht),Kbn(ZWn,Eht,Lht),Kbn(ZWn,Sht,Lht),Kbn(ZWn,Tht,yht),Kbn(ZWn,Nht,yht),Kbn(ZWn,jht,yht),Kbn(ZWn,Oht,yht),Kbn(ZWn,Lht,yht),Kbn(ZWn,Pht,yht),Kbn(ZWn,Iht,yht),Kbn(ZWn,Mht,kht),Kbn(ZWn,Tht,kht),Kbn(ZWn,mht,kht),Kbn(ZWn,Nht,kht),Kbn(ZWn,jht,kht),Kbn(ZWn,Cht,kht),Kbn(ZWn,Oht,kht),Kbn(ZWn,yht,kht),Kbn(ZWn,Pht,kht),Kbn(ZWn,Tht,Iht),Kbn(ZWn,mht,Iht),Kbn(ZWn,Aht,Iht),Kbn(ZWn,jht,Iht),Kbn(ZWn,Mht,Eht),Kbn(ZWn,Tht,Eht),Kbn(ZWn,Aht,Eht),Kbn(ZWn,Nht,Eht),Kbn(ZWn,jht,Eht),Kbn(ZWn,Cht,Eht),Kbn(ZWn,Oht,Eht),Kbn(ZWn,Oht,Sht),Kbn(ZWn,jht,Sht),Kbn(ZWn,yht,Mht),Kbn(ZWn,yht,Nht),Kbn(ZWn,yht,mht),Kbn(ZWn,Cht,Mht),Kbn(ZWn,Cht,Tht),Kbn(ZWn,Cht,Aht)}function BEn(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M;switch(i.Ug("Brandes & Koepf node placement",1),n.a=t,n.c=byn(t),r=YR(phn(t,(NEn(),j6n)),281),w=my(z$(phn(t,E6n))),n.d=r==(Lun(),$Zn)&&!w||r==AZn,function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v;if(!((d=t.b.c.length)<3)){for(b=eZ(Qdt,qPn,28,d,15,1),f=0,h=new mw(t.b);h.aa)&&$B(n.b,YR(g.b,18));++o}c=a}}}(n,t),y=null,M=null,p=null,m=null,L3(4,lPn),g=new gY(4),YR(phn(t,j6n),281).g){case 3:p=new Uvn(t,n.c.d,(jX(),s7n),(TX(),c7n)),Fm(g.c,p);break;case 1:m=new Uvn(t,n.c.d,(jX(),h7n),(TX(),c7n)),Fm(g.c,m);break;case 4:y=new Uvn(t,n.c.d,(jX(),s7n),(TX(),a7n)),Fm(g.c,y);break;case 2:M=new Uvn(t,n.c.d,(jX(),h7n),(TX(),a7n)),Fm(g.c,M);break;default:p=new Uvn(t,n.c.d,(jX(),s7n),(TX(),c7n)),m=new Uvn(t,n.c.d,h7n,c7n),y=new Uvn(t,n.c.d,s7n,a7n),M=new Uvn(t,n.c.d,h7n,a7n),Fm(g.c,y),Fm(g.c,M),Fm(g.c,p),Fm(g.c,m)}for(c=new zP(t,n.c),u=new mw(g);u.aT[s]&&(d=s),f=new mw(n.a.b);f.avdn(a))&&(l=a);for(!l&&(Rz(0,g.c.length),l=YR(g.c[0],185)),d=new mw(t.b);d.a=-1900?1:0,cO(n,i>=4?o8(sM(IGn,1),USn,2,6,[XPn,zPn])[o]:o8(sM(IGn,1),USn,2,6,["BC","AD"])[o]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-GPn+GPn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:R1(n,i%100,2);break;default:R1(n,i,t)}}(n,i,r);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:cO(n,o8(sM(IGn,1),USn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:cO(n,o8(sM(IGn,1),USn,2,6,[LPn,NPn,$Pn,DPn,xPn,RPn,KPn,FPn,_Pn,BPn,HPn,UPn])[i]);break;case 3:cO(n,o8(sM(IGn,1),USn,2,6,["Jan","Feb","Mar","Apr",xPn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:R1(n,i+1,t)}}(n,i,r);break;case 107:R1(n,0==(u=c.q.getHours())?24:u,i);break;case 83:!function(n,t,i){var r,c;q7(r=m5(i.q.getTime()),0)<0?(c=OPn-M_(iin(k1(r),OPn)))==OPn&&(c=0):c=M_(iin(r,OPn)),1==t?nU(n,48+(c=e.Math.min((c+50)/100|0,9))&APn):2==t?R1(n,c=e.Math.min((c+5)/10|0,99),2):(R1(n,c,3),t>3&&R1(n,0,t-3))}(n,i,c);break;case 69:s=r.q.getDay(),cO(n,5==i?o8(sM(IGn,1),USn,2,6,["S","M","T","W","T","F","S"])[s]:4==i?o8(sM(IGn,1),USn,2,6,[VPn,WPn,QPn,JPn,YPn,ZPn,nCn])[s]:o8(sM(IGn,1),USn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[s]);break;case 97:c.q.getHours()>=12&&c.q.getHours()<24?cO(n,o8(sM(IGn,1),USn,2,6,["AM","PM"])[1]):cO(n,o8(sM(IGn,1),USn,2,6,["AM","PM"])[0]);break;case 104:R1(n,0==(h=c.q.getHours()%12)?12:h,i);break;case 75:R1(n,c.q.getHours()%12,i);break;case 72:R1(n,c.q.getHours(),i);break;case 99:f=r.q.getDay(),5==i?cO(n,o8(sM(IGn,1),USn,2,6,["S","M","T","W","T","F","S"])[f]):4==i?cO(n,o8(sM(IGn,1),USn,2,6,[VPn,WPn,QPn,JPn,YPn,ZPn,nCn])[f]):3==i?cO(n,o8(sM(IGn,1),USn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):R1(n,f,1);break;case 76:l=r.q.getMonth(),5==i?cO(n,o8(sM(IGn,1),USn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[l]):4==i?cO(n,o8(sM(IGn,1),USn,2,6,[LPn,NPn,$Pn,DPn,xPn,RPn,KPn,FPn,_Pn,BPn,HPn,UPn])[l]):3==i?cO(n,o8(sM(IGn,1),USn,2,6,["Jan","Feb","Mar","Apr",xPn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l]):R1(n,l+1,i);break;case 81:b=r.q.getMonth()/3|0,cO(n,i<4?o8(sM(IGn,1),USn,2,6,["Q1","Q2","Q3","Q4"])[b]:o8(sM(IGn,1),USn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[b]);break;case 100:R1(n,r.q.getDate(),i);break;case 109:R1(n,c.q.getMinutes(),i);break;case 115:R1(n,c.q.getSeconds(),i);break;case 122:cO(n,i<4?a.c[0]:a.c[1]);break;case 118:cO(n,a.b);break;case 90:cO(n,i<3?function(n){var t,e;return e=-n.a,t=o8(sM(Wdt,1),IPn,28,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&APn,t[2]=t[2]+(e/60|0)%10&APn,t[3]=t[3]+(e%60/10|0)&APn,t[4]=t[4]+e%10&APn,Lin(t,0,t.length)}(a):3==i?function(n){var t,e;return e=-n.a,t=o8(sM(Wdt,1),IPn,28,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&APn,t[2]=t[2]+(e/60|0)%10&APn,t[4]=t[4]+(e%60/10|0)&APn,t[5]=t[5]+e%10&APn,Lin(t,0,t.length)}(a):function(n){var t;return t=o8(sM(Wdt,1),IPn,28,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(t[3]=43,n=-n),t[4]=t[4]+((n/60|0)/10|0)&APn,t[5]=t[5]+(n/60|0)%10&APn,t[7]=t[7]+(n%60/10|0)&APn,t[8]=t[8]+n%10&APn,Lin(t,0,t.length)}(a.a));break;default:return!1}return!0}function qEn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C;if(lvn(t),u=YR(g2((!t.b&&(t.b=new Mx(tlt,t,4,7)),t.b),0),84),h=YR(g2((!t.c&&(t.c=new Mx(tlt,t,5,8)),t.c),0),84),o=Hsn(u),s=Hsn(h),a=0==(!t.a&&(t.a=new oB(ilt,t,6,6)),t.a).i?null:YR(g2((!t.a&&(t.a=new oB(ilt,t,6,6)),t.a),0),166),M=YR(KH(n.a,o),10),S=YR(KH(n.a,s),10),T=null,P=null,hL(u,193)&&(hL(y=YR(KH(n.a,u),305),12)?T=YR(y,12):hL(y,10)&&(M=YR(y,10),T=YR(wF(M.j,0),12))),hL(h,193)&&(hL(E=YR(KH(n.a,h),305),12)?P=YR(E,12):hL(E,10)&&(S=YR(E,10),P=YR(wF(S.j,0),12))),!M||!S)throw Nm(new Dy("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(M5(d=new Aq,t),L8(d,(XEn(),Z1n),t),L8(d,(NEn(),u6n),null),b=YR(phn(i,R1n),21),M==S&&b.Fc((Vpn(),e1n)),T||(k3(),k=G8n,j=null,a&&cA(YR(phn(M,X6n),101))&&(QW(j=new xC(a.j,a.k),vX(t)),YQ(j,e),n2(s,o)&&(k=U8n,fx(j,M.n))),T=SMn(M,j,k,i)),P||(k3(),k=U8n,C=null,a&&cA(YR(phn(S,X6n),101))&&(QW(C=new xC(a.b,a.c),vX(t)),YQ(C,e)),P=SMn(S,C,k,gU(S))),uz(d,T),fz(d,P),(T.e.c.length>1||T.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((Vpn(),JZn)),l=new zL((!t.n&&(t.n=new oB(ult,t,1,7)),t.n));l.e!=l.i.gc();)if(!my(z$(ldn(f=YR(Grn(l),135),$6n)))&&f.a)switch(g=F7(f),LL(d.b,g),YR(phn(g,B4n),278).g){case 1:case 2:b.Fc((Vpn(),WZn));break;case 0:b.Fc((Vpn(),zZn)),L8(g,B4n,(y2(),Zut))}if(c=YR(phn(i,N4n),322),p=YR(phn(i,I6n),323),r=c==(D3(),zYn)||p==(icn(),d8n),a&&0!=(!a.a&&(a.a=new $L(Yft,a,5)),a.a).i&&r){for(m=Tfn(a),w=new ik,v=Drn(m,0);v.b!=v.d.c;)UK(w,new YO(YR(yW(v),8)));L8(d,n0n,w)}return d}function XEn(){var n,t;XEn=E,Z1n=new Yp(yAn),j1n=new Yp("coordinateOrigin"),s0n=new Yp("processors"),T1n=new $D("compoundNode",(GN(),!1)),_1n=new $D("insideConnections",!1),n0n=new Yp("originalBendpoints"),t0n=new Yp("originalDummyNodePosition"),e0n=new Yp("originalLabelEdge"),f0n=new Yp("representedLabels"),I1n=new Yp("endLabels"),O1n=new Yp("endLabel.origin"),q1n=new $D("labelSide",(Mon(),Nst)),J1n=new $D("maxEdgeThickness",0),l0n=new $D("reversed",!1),h0n=new Yp(MAn),V1n=new $D("longEdgeSource",null),W1n=new $D("longEdgeTarget",null),z1n=new $D("longEdgeHasLabelDummies",!1),X1n=new $D("longEdgeBeforeLabelDummy",!1),C1n=new $D("edgeConstraint",(K8(),dZn)),H1n=new Yp("inLayerLayoutUnit"),B1n=new $D("inLayerConstraint",(W1(),f1n)),U1n=new $D("inLayerSuccessorConstraint",new Tm),G1n=new $D("inLayerSuccessorConstraintBetweenNonDummies",!1),o0n=new Yp("portDummy"),E1n=new $D("crossingHint",onn(0)),R1n=new $D("graphProperties",new Qx(t=YR(cT(u1n),9),YR(XD(t,t.length),9),0)),$1n=new $D("externalPortSide",(Djn(),Dht)),D1n=new $D("externalPortSize",new VM),L1n=new Yp("externalPortReplacedDummies"),N1n=new Yp("externalPortReplacedDummy"),A1n=new $D("externalPortConnections",new Qx(n=YR(cT(Vht),9),YR(XD(n,n.length),9),0)),u0n=new $D(ZIn,0),v1n=new Yp("barycenterAssociates"),M0n=new Yp("TopSideComments"),k1n=new Yp("BottomSideComments"),M1n=new Yp("CommentConnectionPort"),F1n=new $D("inputCollect",!1),c0n=new $D("outputCollect",!1),P1n=new $D("cyclic",!1),S1n=new Yp("crossHierarchyMap"),y0n=new Yp("targetOffset"),new $D("splineLabelSize",new VM),d0n=new Yp("spacings"),a0n=new $D("partitionConstraint",!1),y1n=new Yp("breakingPoint.info"),v0n=new Yp("splines.survivingEdge"),m0n=new Yp("splines.route.start"),g0n=new Yp("splines.edgeChain"),r0n=new Yp("originalPortConstraints"),w0n=new Yp("selfLoopHolder"),p0n=new Yp("splines.nsPortY"),Y1n=new Yp("modelOrder"),Q1n=new Yp("longEdgeTargetNode"),x1n=new $D(xLn,!1),b0n=new $D(xLn,!1),K1n=new Yp("layerConstraints.hiddenNodes"),i0n=new Yp("layerConstraints.opposidePort"),k0n=new Yp("targetNode.modelOrder")}function zEn(){var n,t;zEn=E,Yat=new Yp(GRn),put=new Yp(qRn),Pcn(),Zat=new SO(H$n,not=jat),new ym,tot=new SO(NOn,null),eot=new Yp(XRn),Zun(),sot=r_(Wat,o8(sM(Jut,1),bPn,298,0,[qat])),uot=new SO(nDn,sot),hot=new SO(B$n,(GN(),!1)),znn(),fot=new SO(q$n,lot=Wut),Rtn(),got=new SO(w$n,pot=ost),kot=new SO(HRn,!1),tnn(),yot=new SO(s$n,Mot=Sst),Xot=new MA(12),qot=new SO($On,Xot),Sot=new SO(oAn,!1),Pot=new SO(lDn,!1),Got=new SO(hAn,!1),ysn(),cut=new SO(uAn,aut=cht),wut=new Yp(sDn),dut=new Yp(eAn),gut=new Yp(cAn),vut=new Yp(aAn),Iot=new ik,Cot=new SO(tDn,Iot),oot=new SO(rDn,!1),Tot=new SO(cDn,!1),new Yp(zRn),Aot=new zv,Oot=new SO(hDn,Aot),Uot=new SO(F$n,!1),new ym,mut=new SO(VRn,1),aot=new Yp(WRn),cot=new Yp(QRn),Kut=new SO(gAn,!1),new SO(JRn,!0),onn(0),new SO(YRn,onn(100)),new SO(ZRn,!1),onn(0),new SO(nKn,onn(4e3)),onn(0),new SO(tKn,onn(400)),new SO(eKn,!1),new SO(iKn,!1),new SO(rKn,!0),new SO(cKn,!1),Ten(),iot=new SO(URn,rot=vft),kut=new SO(P$n,10),yut=new SO(C$n,10),Mut=new SO(AOn,20),Tut=new SO(I$n,10),jut=new SO(rAn,2),Eut=new SO(O$n,10),Put=new SO(A$n,0),Cut=new SO($$n,5),Iut=new SO(L$n,1),Out=new SO(N$n,1),Aut=new SO(iAn,20),Lut=new SO(D$n,10),Dut=new SO(x$n,10),Sut=new Yp(R$n),$ut=new qO,Nut=new SO(fDn,$ut),Wot=new Yp(uDn),zot=new SO(oDn,Vot=!1),Not=new MA(5),Lot=new SO(X$n,Not),bdn(),t=YR(cT(Yst),9),Dot=new Qx(t,YR(XD(t,t.length),9),0),$ot=new SO(wAn,Dot),_rn(),Jot=new SO(W$n,Yot=Wst),nut=new Yp(Q$n),tut=new Yp(J$n),eut=new Yp(Y$n),Zot=new Yp(Z$n),n=YR(cT(cft),9),Rot=new Qx(n,YR(XD(n,n.length),9),0),xot=new SO(bAn,Rot),Hot=mtn((Zvn(),Yht)),Bot=new SO(lAn,Hot),_ot=new xC(0,0),Fot=new SO(LAn,_ot),Kot=new SO(fAn,!1),y2(),wot=new SO(eDn,dot=Zut),bot=new SO(sAn,!1),new Yp(aKn),onn(1),new SO(oKn,null),iut=new Yp(aDn),out=new Yp(iDn),Djn(),lut=new SO(_$n,but=Dht),rut=new Yp(K$n),bbn(),hut=mtn(lht),sut=new SO(dAn,hut),uut=new SO(z$n,!1),fut=new SO(V$n,!0),new ym,Hut=new SO(pAn,1),Gut=new SO(uKn,null),Rut=new SO(mAn,150),xut=new SO(vAn,1.414),Fut=new SO(kAn,null),_ut=new SO(sKn,1),jot=new SO(U$n,!1),Eot=new SO(G$n,!1),mot=new SO(LOn,1),ehn(),new SO(hKn,vot=wst),Qot=!0,nnn(),Uut=oft,qut=oft,But=oft}function VEn(){VEn=E,_Qn=new US("DIRECTION_PREPROCESSOR",0),RQn=new US("COMMENT_PREPROCESSOR",1),BQn=new US("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),iJn=new US("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),MJn=new US("PARTITION_PREPROCESSOR",4),oJn=new US("LABEL_DUMMY_INSERTER",5),CJn=new US("SELF_LOOP_PREPROCESSOR",6),lJn=new US("LAYER_CONSTRAINT_PREPROCESSOR",7),kJn=new US("PARTITION_MIDPROCESSOR",8),YQn=new US("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),gJn=new US("NODE_PROMOTION",10),fJn=new US("LAYER_CONSTRAINT_POSTPROCESSOR",11),yJn=new US("PARTITION_POSTPROCESSOR",12),VQn=new US("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),OJn=new US("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),AQn=new US("BREAKING_POINT_INSERTER",15),dJn=new US("LONG_EDGE_SPLITTER",16),jJn=new US("PORT_SIDE_PROCESSOR",17),rJn=new US("INVERTED_PORT_PROCESSOR",18),TJn=new US("PORT_LIST_SORTER",19),LJn=new US("SORT_BY_INPUT_ORDER_OF_MODEL",20),mJn=new US("NORTH_SOUTH_PORT_PREPROCESSOR",21),LQn=new US("BREAKING_POINT_PROCESSOR",22),vJn=new US(bLn,23),NJn=new US(wLn,24),SJn=new US("SELF_LOOP_PORT_RESTORER",25),AJn=new US("SINGLE_EDGE_GRAPH_WRAPPER",26),cJn=new US("IN_LAYER_CONSTRAINT_PROCESSOR",27),qQn=new US("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),aJn=new US("LABEL_AND_NODE_SIZE_PROCESSOR",29),eJn=new US("INNERMOST_NODE_MARGIN_CALCULATOR",30),IJn=new US("SELF_LOOP_ROUTER",31),DQn=new US("COMMENT_NODE_MARGIN_CALCULATOR",32),UQn=new US("END_LABEL_PREPROCESSOR",33),sJn=new US("LABEL_DUMMY_SWITCHER",34),$Qn=new US("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),hJn=new US("LABEL_SIDE_SELECTOR",36),nJn=new US("HYPEREDGE_DUMMY_MERGER",37),WQn=new US("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),bJn=new US("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),JQn=new US("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),KQn=new US("CONSTRAINTS_POSTPROCESSOR",41),xQn=new US("COMMENT_POSTPROCESSOR",42),tJn=new US("HYPERNODE_PROCESSOR",43),QQn=new US("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),wJn=new US("LONG_EDGE_JOINER",45),PJn=new US("SELF_LOOP_POSTPROCESSOR",46),NQn=new US("BREAKING_POINT_REMOVER",47),pJn=new US("NORTH_SOUTH_PORT_POSTPROCESSOR",48),ZQn=new US("HORIZONTAL_COMPACTOR",49),uJn=new US("LABEL_DUMMY_REMOVER",50),XQn=new US("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),GQn=new US("END_LABEL_SORTER",52),EJn=new US("REVERSED_EDGE_RESTORER",53),HQn=new US("END_LABEL_POSTPROCESSOR",54),zQn=new US("HIERARCHICAL_NODE_RESIZER",55),FQn=new US("DIRECTION_POSTPROCESSOR",56)}function WEn(){WEn=E,L0(),b2n=new SO(RLn,w2n=hZn),A2n=new SO(KLn,(GN(),!1)),AW(),x2n=new SO(FLn,R2n=d1n),t3n=new SO(_Ln,!1),e3n=new SO(BLn,!0),O0n=new SO(HLn,!1),Q1(),y3n=new SO(ULn,M3n=F8n),onn(1),O3n=new SO(GLn,onn(7)),A3n=new SO(qLn,!1),L2n=new SO(XLn,!1),$in(),f2n=new SO(zLn,l2n=rZn),Fgn(),Z2n=new SO(VLn,n3n=Z5n),Men(),U2n=new SO(WLn,G2n=P0n),onn(-1),H2n=new SO(QLn,null),onn(-1),q2n=new SO(JLn,onn(-1)),onn(-1),X2n=new SO(YLn,onn(4)),onn(-1),V2n=new SO(ZLn,onn(2)),Ivn(),J2n=new SO(nNn,Y2n=I8n),onn(0),Q2n=new SO(tNn,onn(0)),_2n=new SO(eNn,onn(dSn)),D3(),s2n=new SO(iNn,h2n=VYn),X0n=new SO(rNn,!1),t2n=new SO(cNn,.1),o2n=new SO(aNn,!1),i2n=new SO(oNn,null),r2n=new SO(uNn,null),onn(-1),c2n=new SO(sNn,null),onn(-1),a2n=new SO(hNn,onn(-1)),onn(0),z0n=new SO(fNn,onn(40)),O5(),Y0n=new SO(lNn,Z0n=o1n),V0n=new SO(bNn,W0n=c1n),icn(),v3n=new SO(wNn,k3n=w8n),s3n=new Yp(dNn),ZZ(),i3n=new SO(gNn,r3n=PZn),Lun(),a3n=new SO(pNn,o3n=$Zn),new ym,l3n=new SO(mNn,.3),w3n=new Yp(vNn),Ecn(),d3n=new SO(kNn,g3n=h8n),H6(),y2n=new SO(yNn,M2n=W8n),S9(),T2n=new SO(MNn,j2n=t9n),o7(),E2n=new SO(TNn,S2n=a9n),C2n=new SO(jNn,.2),v2n=new SO(ENn,2),S3n=new SO(SNn,null),C3n=new SO(PNn,10),P3n=new SO(CNn,10),I3n=new SO(INn,20),onn(0),T3n=new SO(ONn,onn(0)),onn(0),j3n=new SO(ANn,onn(0)),onn(0),E3n=new SO(LNn,onn(0)),A0n=new SO(NNn,!1),Xhn(),$0n=new SO($Nn,D0n=UZn),yY(),L0n=new SO(DNn,N0n=GYn),$2n=new SO(xNn,!1),onn(0),N2n=new SO(RNn,onn(16)),onn(0),D2n=new SO(KNn,onn(5)),f8(),Z3n=new SO(FNn,n4n=d9n),L3n=new SO(_Nn,10),D3n=new SO(BNn,1),v3(),U3n=new SO(HNn,G3n=nZn),K3n=new Yp(UNn),B3n=onn(1),onn(0),_3n=new SO(GNn,B3n),m3(),r4n=new SO(qNn,c4n=s9n),t4n=new Yp(XNn),W3n=new SO(zNn,!0),z3n=new SO(VNn,2),J3n=new SO(WNn,!0),ifn(),p2n=new SO(QNn,m2n=TZn),rln(),d2n=new SO(JNn,g2n=RYn),Din(),G0n=new SO(YNn,q0n=$8n),U0n=new SO(ZNn,!1),H0n=new SO(n$n,!1),Zin(),x0n=new SO(t$n,R0n=QWn),Z7(),_0n=new SO(e$n,B0n=i8n),K0n=new SO(i$n,0),F0n=new SO(r$n,0),F2n=aZn,K2n=zYn,z2n=Y5n,W2n=Y5n,B2n=z5n,tnn(),e2n=Est,u2n=VYn,n2n=VYn,Q0n=VYn,J0n=Est,h3n=p8n,f3n=w8n,c3n=w8n,u3n=w8n,b3n=g8n,m3n=p8n,p3n=p8n,Rtn(),P2n=ast,I2n=ast,O2n=a9n,k2n=cst,N3n=g9n,$3n=w9n,x3n=g9n,R3n=w9n,q3n=g9n,X3n=w9n,F3n=ZYn,H3n=nZn,a4n=g9n,o4n=w9n,e4n=g9n,i4n=w9n,Q3n=w9n,V3n=w9n,Y3n=w9n}function QEn(){QEn=E,Sdt=new km(7),Pdt=new _F(8,94),new _F(8,64),Cdt=new _F(8,36),$dt=new _F(8,65),Ddt=new _F(8,122),xdt=new _F(8,90),Fdt=new _F(8,98),Ldt=new _F(8,66),Rdt=new _F(8,60),_dt=new _F(8,62),Edt=new km(11),Kpn(jdt=new Jz(4),48,57),Kpn(Kdt=new Jz(4),48,57),Kpn(Kdt,65,90),Kpn(Kdt,95,95),Kpn(Kdt,97,122),Kpn(Ndt=new Jz(4),9,9),Kpn(Ndt,10,10),Kpn(Ndt,12,12),Kpn(Ndt,13,13),Kpn(Ndt,32,32),Idt=ryn(jdt),Adt=ryn(Kdt),Odt=ryn(Ndt),kdt=new Mm,ydt=new Mm,Mdt=o8(sM(IGn,1),USn,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),vdt=o8(sM(IGn,1),USn,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",JHn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),Tdt=o8(sM(Qdt,1),qPn,28,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function JEn(){JEn=E,ezn=new s6("OUT_T_L",0,(HZ(),SXn),(V1(),LXn),(k2(),vXn),vXn,o8(sM(dUn,1),ySn,21,0,[r_((bdn(),Bst),o8(sM(Yst,1),bPn,95,0,[Gst,Rst]))])),tzn=new s6("OUT_T_C",1,EXn,LXn,vXn,kXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Gst,xst])),r_(Bst,o8(sM(Yst,1),bPn,95,0,[Gst,xst,Kst]))])),izn=new s6("OUT_T_R",2,PXn,LXn,vXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Gst,Fst]))])),zXn=new s6("OUT_B_L",3,SXn,$Xn,yXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Hst,Rst]))])),XXn=new s6("OUT_B_C",4,EXn,$Xn,yXn,kXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Hst,xst])),r_(Bst,o8(sM(Yst,1),bPn,95,0,[Hst,xst,Kst]))])),VXn=new s6("OUT_B_R",5,PXn,$Xn,yXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Hst,Fst]))])),JXn=new s6("OUT_L_T",6,PXn,$Xn,vXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Rst,Gst,Kst]))])),QXn=new s6("OUT_L_C",7,PXn,NXn,kXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Rst,Ust])),r_(Bst,o8(sM(Yst,1),bPn,95,0,[Rst,Ust,Kst]))])),WXn=new s6("OUT_L_B",8,PXn,LXn,yXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Rst,Hst,Kst]))])),nzn=new s6("OUT_R_T",9,SXn,$Xn,vXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Fst,Gst,Kst]))])),ZXn=new s6("OUT_R_C",10,SXn,NXn,kXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Fst,Ust])),r_(Bst,o8(sM(Yst,1),bPn,95,0,[Fst,Ust,Kst]))])),YXn=new s6("OUT_R_B",11,SXn,LXn,yXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(Bst,o8(sM(Yst,1),bPn,95,0,[Fst,Hst,Kst]))])),GXn=new s6("IN_T_L",12,SXn,$Xn,vXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Gst,Rst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Gst,Rst,Kst]))])),UXn=new s6("IN_T_C",13,EXn,$Xn,vXn,kXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Gst,xst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Gst,xst,Kst]))])),qXn=new s6("IN_T_R",14,PXn,$Xn,vXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Gst,Fst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Gst,Fst,Kst]))])),BXn=new s6("IN_C_L",15,SXn,NXn,kXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Ust,Rst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Ust,Rst,Kst]))])),_Xn=new s6("IN_C_C",16,EXn,NXn,kXn,kXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Ust,xst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Ust,xst,Kst]))])),HXn=new s6("IN_C_R",17,PXn,NXn,kXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Ust,Fst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Ust,Fst,Kst]))])),KXn=new s6("IN_B_L",18,SXn,LXn,yXn,vXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Hst,Rst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Hst,Rst,Kst]))])),RXn=new s6("IN_B_C",19,EXn,LXn,yXn,kXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Hst,xst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Hst,xst,Kst]))])),FXn=new s6("IN_B_R",20,PXn,LXn,yXn,yXn,o8(sM(dUn,1),ySn,21,0,[r_(_st,o8(sM(Yst,1),bPn,95,0,[Hst,Fst])),r_(_st,o8(sM(Yst,1),bPn,95,0,[Hst,Fst,Kst]))])),rzn=new s6(VIn,21,null,null,null,null,o8(sM(dUn,1),ySn,21,0,[]))}function YEn(){YEn=E,kbt=($H(),mbt).b,YR(g2(sq(mbt.b),0),35),YR(g2(sq(mbt.b),1),19),vbt=mbt.a,YR(g2(sq(mbt.a),0),35),YR(g2(sq(mbt.a),1),19),YR(g2(sq(mbt.a),2),19),YR(g2(sq(mbt.a),3),19),YR(g2(sq(mbt.a),4),19),ybt=mbt.o,YR(g2(sq(mbt.o),0),35),YR(g2(sq(mbt.o),1),35),Tbt=YR(g2(sq(mbt.o),2),19),YR(g2(sq(mbt.o),3),19),YR(g2(sq(mbt.o),4),19),YR(g2(sq(mbt.o),5),19),YR(g2(sq(mbt.o),6),19),YR(g2(sq(mbt.o),7),19),YR(g2(sq(mbt.o),8),19),YR(g2(sq(mbt.o),9),19),YR(g2(sq(mbt.o),10),19),YR(g2(sq(mbt.o),11),19),YR(g2(sq(mbt.o),12),19),YR(g2(sq(mbt.o),13),19),YR(g2(sq(mbt.o),14),19),YR(g2(sq(mbt.o),15),19),YR(g2(uq(mbt.o),0),62),YR(g2(uq(mbt.o),1),62),YR(g2(uq(mbt.o),2),62),YR(g2(uq(mbt.o),3),62),YR(g2(uq(mbt.o),4),62),YR(g2(uq(mbt.o),5),62),YR(g2(uq(mbt.o),6),62),YR(g2(uq(mbt.o),7),62),YR(g2(uq(mbt.o),8),62),YR(g2(uq(mbt.o),9),62),Mbt=mbt.p,YR(g2(sq(mbt.p),0),35),YR(g2(sq(mbt.p),1),35),YR(g2(sq(mbt.p),2),35),YR(g2(sq(mbt.p),3),35),YR(g2(sq(mbt.p),4),19),YR(g2(sq(mbt.p),5),19),YR(g2(uq(mbt.p),0),62),YR(g2(uq(mbt.p),1),62),jbt=mbt.q,YR(g2(sq(mbt.q),0),35),Ebt=mbt.v,YR(g2(sq(mbt.v),0),19),YR(g2(uq(mbt.v),0),62),YR(g2(uq(mbt.v),1),62),YR(g2(uq(mbt.v),2),62),Sbt=mbt.w,YR(g2(sq(mbt.w),0),35),YR(g2(sq(mbt.w),1),35),YR(g2(sq(mbt.w),2),35),YR(g2(sq(mbt.w),3),19),Pbt=mbt.B,YR(g2(sq(mbt.B),0),19),YR(g2(uq(mbt.B),0),62),YR(g2(uq(mbt.B),1),62),YR(g2(uq(mbt.B),2),62),Obt=mbt.Q,YR(g2(sq(mbt.Q),0),19),YR(g2(uq(mbt.Q),0),62),Abt=mbt.R,YR(g2(sq(mbt.R),0),35),Lbt=mbt.S,YR(g2(uq(mbt.S),0),62),YR(g2(uq(mbt.S),1),62),YR(g2(uq(mbt.S),2),62),YR(g2(uq(mbt.S),3),62),YR(g2(uq(mbt.S),4),62),YR(g2(uq(mbt.S),5),62),YR(g2(uq(mbt.S),6),62),YR(g2(uq(mbt.S),7),62),YR(g2(uq(mbt.S),8),62),YR(g2(uq(mbt.S),9),62),YR(g2(uq(mbt.S),10),62),YR(g2(uq(mbt.S),11),62),YR(g2(uq(mbt.S),12),62),YR(g2(uq(mbt.S),13),62),YR(g2(uq(mbt.S),14),62),Nbt=mbt.T,YR(g2(sq(mbt.T),0),19),YR(g2(sq(mbt.T),2),19),$bt=YR(g2(sq(mbt.T),3),19),YR(g2(sq(mbt.T),4),19),YR(g2(uq(mbt.T),0),62),YR(g2(uq(mbt.T),1),62),YR(g2(sq(mbt.T),1),19),Dbt=mbt.U,YR(g2(sq(mbt.U),0),35),YR(g2(sq(mbt.U),1),35),YR(g2(sq(mbt.U),2),19),YR(g2(sq(mbt.U),3),19),YR(g2(sq(mbt.U),4),19),YR(g2(sq(mbt.U),5),19),YR(g2(uq(mbt.U),0),62),xbt=mbt.V,YR(g2(sq(mbt.V),0),19),Rbt=mbt.W,YR(g2(sq(mbt.W),0),35),YR(g2(sq(mbt.W),1),35),YR(g2(sq(mbt.W),2),35),YR(g2(sq(mbt.W),3),19),YR(g2(sq(mbt.W),4),19),YR(g2(sq(mbt.W),5),19),Fbt=mbt.bb,YR(g2(sq(mbt.bb),0),35),YR(g2(sq(mbt.bb),1),35),YR(g2(sq(mbt.bb),2),35),YR(g2(sq(mbt.bb),3),35),YR(g2(sq(mbt.bb),4),35),YR(g2(sq(mbt.bb),5),35),YR(g2(sq(mbt.bb),6),35),YR(g2(sq(mbt.bb),7),19),YR(g2(uq(mbt.bb),0),62),YR(g2(uq(mbt.bb),1),62),_bt=mbt.eb,YR(g2(sq(mbt.eb),0),35),YR(g2(sq(mbt.eb),1),35),YR(g2(sq(mbt.eb),2),35),YR(g2(sq(mbt.eb),3),35),YR(g2(sq(mbt.eb),4),35),YR(g2(sq(mbt.eb),5),35),YR(g2(sq(mbt.eb),6),19),YR(g2(sq(mbt.eb),7),19),Kbt=mbt.ab,YR(g2(sq(mbt.ab),0),35),YR(g2(sq(mbt.ab),1),35),Cbt=mbt.H,YR(g2(sq(mbt.H),0),19),YR(g2(sq(mbt.H),1),19),YR(g2(sq(mbt.H),2),19),YR(g2(sq(mbt.H),3),19),YR(g2(sq(mbt.H),4),19),YR(g2(sq(mbt.H),5),19),YR(g2(uq(mbt.H),0),62),Bbt=mbt.db,YR(g2(sq(mbt.db),0),19),Ibt=mbt.M}function ZEn(n,t,i,r){var c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C,I,O,A,L,N,$,D,x,R,K,F,_,B,H,U,G,q,X,z;if(r.$g())return iq(),iq(),HGn;if(my(z$(ldn(t,(zEn(),Uot)))))return iq(),iq(),HGn;if(T=0!=(!t.a&&(t.a=new oB(slt,t,10,11)),t.a).i,j=!(E=function(n){var t,e,i;if(my(z$(ldn(n,(zEn(),jot))))){for(i=new Tm,e=new __(dN(Ydn(n).a.Kc(),new h));Hwn(e);)xbn(t=YR(TJ(e),74))&&my(z$(ldn(t,Eot)))&&Fm(i.c,t);return i}return iq(),iq(),HGn}(t)).dc(),T||j){if(!(c=YR(ldn(t,put),143)))throw Nm(new $y("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(G=PI(c,(Rwn(),plt)),grn(t),!T&&j&&!G)return iq(),iq(),HGn;if(v=new Tm,GI(ldn(t,yot))===GI((tnn(),Est))&&(PI(c,wlt)||PI(c,blt))){if(my(z$(ldn(t,Kut))))throw Nm(new $y("Topdown layout cannot be used together with hierarchy handling."));for($=Hmn(n,t),V4(D=new qj,(!t.a&&(t.a=new oB(slt,t,10,11)),t.a));0!=D.b;)grn(L=YR(0==D.b?null:(Y$(0!=D.b),a2(D,D.a.a)),27)),GI(ldn(L,yot))===GI(Pst)||YY(L,Yat)&&!fJ(c,ldn(L,put))?(Y5(v,ZEn(n,L,i,r)),ucn(L,yot,Pst),Bvn(L)):V4(D,(!L.a&&(L.a=new oB(slt,L,10,11)),L.a))}else{if($=(!t.a&&(t.a=new oB(slt,t,10,11)),t.a).i,my(z$(ldn(t,Kut)))){if((q=r.eh(1)).Ug(CRn,1),null==ldn(t,Fut))throw Nm(new $y(t.k+" has not been assigned a top-down node type."));if(YR(ldn(t,Fut),280)==(nnn(),oft)||YR(ldn(t,Fut),280)==sft)for(m=new zL((!t.a&&(t.a=new oB(slt,t,10,11)),t.a));m.e!=m.i.gc();)if(p=YR(Grn(m),27),A=YR(ldn(p,put),143),(!p.a&&(p.a=new oB(slt,p,10,11)),p.a).i>0&&(Wq(A.f),0)){if(YR(ldn(p,Fut),280)==oft)throw Nm(new $y("Topdown Layout Providers should only be used on parallel nodes."));nO(Wq(A.f)),null.Um(),bA(p,e.Math.max(p.g,null.Vm),e.Math.max(p.f,null.Vm))}else null!=ldn(p,Gut)&&(U=YR(ldn(p,Gut),347).Tg(p),bA(p,e.Math.max(p.g,U.a),e.Math.max(p.f,U.b)));if(x=YR(ldn(t,qot),107),w=t.g-(x.b+x.c),b=t.f-(x.d+x.a),q.bh("Available Child Area: ("+w+"|"+b+")"),ucn(t,tot,w/b),yrn(t,c,r.eh($)),YR(ldn(t,Fut),280)==sft&&(fEn(t),bA(t,x.b+vy(V$(ldn(t,aot)))+x.c,x.d+vy(V$(ldn(t,cot)))+x.a)),q.bh("Executed layout algorithm: "+W$(ldn(t,Yat))+" on node "+t.k),YR(ldn(t,Fut),280)==oft){if(w<0||b<0)throw Nm(new $y("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+t.k));for(YY(t,aot)||YY(t,cot)||fEn(t),g=vy(V$(ldn(t,aot))),d=vy(V$(ldn(t,cot))),q.bh("Desired Child Area: ("+g+"|"+d+")"),K=w/g,F=b/d,R=e.Math.min(K,e.Math.min(F,vy(V$(ldn(t,_ut))))),ucn(t,Hut,R),q.bh(t.k+" -- Local Scale Factor (X|Y): ("+K+"|"+F+")"),k=YR(ldn(t,uot),21),a=0,o=0,R'?":Ix(ZFn,n)?"'(?<' or '(? toIndex: ",cIn=", toIndex: ",aIn="Index: ",oIn=", Size: ",uIn="org.eclipse.elk.alg.common",sIn={50:1},hIn="org.eclipse.elk.alg.common.compaction",fIn="Scanline/EventHandler",lIn="org.eclipse.elk.alg.common.compaction.oned",bIn="CNode belongs to another CGroup.",wIn="ISpacingsHandler/1",dIn="The ",gIn=" instance has been finished already.",pIn="The direction ",mIn=" is not supported by the CGraph instance.",vIn="OneDimensionalCompactor",kIn="OneDimensionalCompactor/lambda$0$Type",yIn="Quadruplet",MIn="ScanlineConstraintCalculator",TIn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",jIn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",EIn="ScanlineConstraintCalculator/Timestamp",SIn="ScanlineConstraintCalculator/lambda$0$Type",PIn={178:1,46:1},CIn="org.eclipse.elk.alg.common.compaction.options",IIn="org.eclipse.elk.core.data",OIn="org.eclipse.elk.polyomino.traversalStrategy",AIn="org.eclipse.elk.polyomino.lowLevelSort",LIn="org.eclipse.elk.polyomino.highLevelSort",NIn="org.eclipse.elk.polyomino.fill",$In={134:1},DIn="polyomino",xIn="org.eclipse.elk.alg.common.networksimplex",RIn={183:1,3:1,4:1},KIn="org.eclipse.elk.alg.common.nodespacing",FIn="org.eclipse.elk.alg.common.nodespacing.cellsystem",_In="CENTER",BIn={217:1,336:1},HIn={3:1,4:1,5:1,603:1},UIn="LEFT",GIn="RIGHT",qIn="Vertical alignment cannot be null",XIn="BOTTOM",zIn="org.eclipse.elk.alg.common.nodespacing.internal",VIn="UNDEFINED",WIn=.01,QIn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",JIn="LabelPlacer/lambda$0$Type",YIn="LabelPlacer/lambda$1$Type",ZIn="portRatioOrPosition",nOn="org.eclipse.elk.alg.common.overlaps",tOn="DOWN",eOn="org.eclipse.elk.alg.common.polyomino",iOn="NORTH",rOn="EAST",cOn="SOUTH",aOn="WEST",oOn="org.eclipse.elk.alg.common.polyomino.structures",uOn="Direction",sOn="Grid is only of size ",hOn=". Requested point (",fOn=") is out of bounds.",lOn=" Given center based coordinates were (",bOn="org.eclipse.elk.graph.properties",wOn="IPropertyHolder",dOn={3:1,96:1,137:1},gOn="org.eclipse.elk.alg.common.spore",pOn="org.eclipse.elk.alg.common.utils",mOn={205:1},vOn="org.eclipse.elk.core",kOn="Connected Components Compaction",yOn="org.eclipse.elk.alg.disco",MOn="org.eclipse.elk.alg.disco.graph",TOn="org.eclipse.elk.alg.disco.options",jOn="CompactionStrategy",EOn="org.eclipse.elk.disco.componentCompaction.strategy",SOn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",POn="org.eclipse.elk.disco.debug.discoGraph",COn="org.eclipse.elk.disco.debug.discoPolys",IOn="componentCompaction",OOn="org.eclipse.elk.disco",AOn="org.eclipse.elk.spacing.componentComponent",LOn="org.eclipse.elk.edge.thickness",NOn="org.eclipse.elk.aspectRatio",$On="org.eclipse.elk.padding",DOn="org.eclipse.elk.alg.disco.transform",xOn=1.5707963267948966,ROn=17976931348623157e292,KOn={3:1,4:1,5:1,198:1},FOn={3:1,6:1,4:1,5:1,100:1,115:1},_On="org.eclipse.elk.alg.force",BOn="ComponentsProcessor",HOn="ComponentsProcessor/1",UOn="ElkGraphImporter/lambda$0$Type",GOn="org.eclipse.elk.alg.force.graph",qOn="Component Layout",XOn="org.eclipse.elk.alg.force.model",zOn="org.eclipse.elk.force.model",VOn="org.eclipse.elk.force.iterations",WOn="org.eclipse.elk.force.repulsivePower",QOn="org.eclipse.elk.force.temperature",JOn=.001,YOn="org.eclipse.elk.force.repulsion",ZOn="org.eclipse.elk.alg.force.options",nAn=1.600000023841858,tAn="org.eclipse.elk.force",eAn="org.eclipse.elk.priority",iAn="org.eclipse.elk.spacing.nodeNode",rAn="org.eclipse.elk.spacing.edgeLabel",cAn="org.eclipse.elk.randomSeed",aAn="org.eclipse.elk.separateConnectedComponents",oAn="org.eclipse.elk.interactive",uAn="org.eclipse.elk.portConstraints",sAn="org.eclipse.elk.edgeLabels.inline",hAn="org.eclipse.elk.omitNodeMicroLayout",fAn="org.eclipse.elk.nodeSize.fixedGraphSize",lAn="org.eclipse.elk.nodeSize.options",bAn="org.eclipse.elk.nodeSize.constraints",wAn="org.eclipse.elk.nodeLabels.placement",dAn="org.eclipse.elk.portLabels.placement",gAn="org.eclipse.elk.topdownLayout",pAn="org.eclipse.elk.topdown.scaleFactor",mAn="org.eclipse.elk.topdown.hierarchicalNodeWidth",vAn="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",kAn="org.eclipse.elk.topdown.nodeType",yAn="origin",MAn="random",TAn="boundingBox.upLeft",jAn="boundingBox.lowRight",EAn="org.eclipse.elk.stress.fixed",SAn="org.eclipse.elk.stress.desiredEdgeLength",PAn="org.eclipse.elk.stress.dimension",CAn="org.eclipse.elk.stress.epsilon",IAn="org.eclipse.elk.stress.iterationLimit",OAn="org.eclipse.elk.stress",AAn="ELK Stress",LAn="org.eclipse.elk.nodeSize.minimum",NAn="org.eclipse.elk.alg.force.stress",$An="Layered layout",DAn="org.eclipse.elk.alg.layered",xAn="org.eclipse.elk.alg.layered.compaction.components",RAn="org.eclipse.elk.alg.layered.compaction.oned",KAn="org.eclipse.elk.alg.layered.compaction.oned.algs",FAn="org.eclipse.elk.alg.layered.compaction.recthull",_An="org.eclipse.elk.alg.layered.components",BAn="NONE",HAn="MODEL_ORDER",UAn={3:1,6:1,4:1,9:1,5:1,126:1},GAn={3:1,6:1,4:1,5:1,150:1,100:1,115:1},qAn="org.eclipse.elk.alg.layered.compound",XAn={47:1},zAn="org.eclipse.elk.alg.layered.graph",VAn=" -> ",WAn="Not supported by LGraph",QAn="Port side is undefined",JAn={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},YAn={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},ZAn={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},nLn="([{\"' \t\r\n",tLn=")]}\"' \t\r\n",eLn="The given string contains parts that cannot be parsed as numbers.",iLn="org.eclipse.elk.core.math",rLn={3:1,4:1,140:1,214:1,423:1},cLn={3:1,4:1,107:1,214:1,423:1},aLn="org.eclipse.elk.alg.layered.graph.transform",oLn="ElkGraphImporter",uLn="ElkGraphImporter/lambda$1$Type",sLn="ElkGraphImporter/lambda$2$Type",hLn="ElkGraphImporter/lambda$4$Type",fLn="org.eclipse.elk.alg.layered.intermediate",lLn="Node margin calculation",bLn="ONE_SIDED_GREEDY_SWITCH",wLn="TWO_SIDED_GREEDY_SWITCH",dLn="No implementation is available for the layout processor ",gLn="IntermediateProcessorStrategy",pLn="Node '",mLn="FIRST_SEPARATE",vLn="LAST_SEPARATE",kLn="Odd port side processing",yLn="org.eclipse.elk.alg.layered.intermediate.compaction",MLn="org.eclipse.elk.alg.layered.intermediate.greedyswitch",TLn="org.eclipse.elk.alg.layered.p3order.counting",jLn={230:1},ELn="org.eclipse.elk.alg.layered.intermediate.loops",SLn="org.eclipse.elk.alg.layered.intermediate.loops.ordering",PLn="org.eclipse.elk.alg.layered.intermediate.loops.routing",CLn="org.eclipse.elk.alg.layered.intermediate.preserveorder",ILn="org.eclipse.elk.alg.layered.intermediate.wrapping",OLn="org.eclipse.elk.alg.layered.options",ALn="INTERACTIVE",LLn="GREEDY",NLn="DEPTH_FIRST",$Ln="EDGE_LENGTH",DLn="SELF_LOOPS",xLn="firstTryWithInitialOrder",RLn="org.eclipse.elk.layered.directionCongruency",KLn="org.eclipse.elk.layered.feedbackEdges",FLn="org.eclipse.elk.layered.interactiveReferencePoint",_Ln="org.eclipse.elk.layered.mergeEdges",BLn="org.eclipse.elk.layered.mergeHierarchyEdges",HLn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",ULn="org.eclipse.elk.layered.portSortingStrategy",GLn="org.eclipse.elk.layered.thoroughness",qLn="org.eclipse.elk.layered.unnecessaryBendpoints",XLn="org.eclipse.elk.layered.generatePositionAndLayerIds",zLn="org.eclipse.elk.layered.cycleBreaking.strategy",VLn="org.eclipse.elk.layered.layering.strategy",WLn="org.eclipse.elk.layered.layering.layerConstraint",QLn="org.eclipse.elk.layered.layering.layerChoiceConstraint",JLn="org.eclipse.elk.layered.layering.layerId",YLn="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",ZLn="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",nNn="org.eclipse.elk.layered.layering.nodePromotion.strategy",tNn="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",eNn="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",iNn="org.eclipse.elk.layered.crossingMinimization.strategy",rNn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",cNn="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",aNn="org.eclipse.elk.layered.crossingMinimization.semiInteractive",oNn="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",uNn="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",sNn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",hNn="org.eclipse.elk.layered.crossingMinimization.positionId",fNn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",lNn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",bNn="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",wNn="org.eclipse.elk.layered.nodePlacement.strategy",dNn="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",gNn="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",pNn="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",mNn="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",vNn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",kNn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",yNn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",MNn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",TNn="org.eclipse.elk.layered.edgeRouting.splines.mode",jNn="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",ENn="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",SNn="org.eclipse.elk.layered.spacing.baseValue",PNn="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",CNn="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",INn="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",ONn="org.eclipse.elk.layered.priority.direction",ANn="org.eclipse.elk.layered.priority.shortness",LNn="org.eclipse.elk.layered.priority.straightness",NNn="org.eclipse.elk.layered.compaction.connectedComponents",$Nn="org.eclipse.elk.layered.compaction.postCompaction.strategy",DNn="org.eclipse.elk.layered.compaction.postCompaction.constraints",xNn="org.eclipse.elk.layered.highDegreeNodes.treatment",RNn="org.eclipse.elk.layered.highDegreeNodes.threshold",KNn="org.eclipse.elk.layered.highDegreeNodes.treeHeight",FNn="org.eclipse.elk.layered.wrapping.strategy",_Nn="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",BNn="org.eclipse.elk.layered.wrapping.correctionFactor",HNn="org.eclipse.elk.layered.wrapping.cutting.strategy",UNn="org.eclipse.elk.layered.wrapping.cutting.cuts",GNn="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",qNn="org.eclipse.elk.layered.wrapping.validify.strategy",XNn="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",zNn="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",VNn="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",WNn="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",QNn="org.eclipse.elk.layered.edgeLabels.sideSelection",JNn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",YNn="org.eclipse.elk.layered.considerModelOrder.strategy",ZNn="org.eclipse.elk.layered.considerModelOrder.portModelOrder",n$n="org.eclipse.elk.layered.considerModelOrder.noModelOrder",t$n="org.eclipse.elk.layered.considerModelOrder.components",e$n="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",i$n="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",r$n="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",c$n="layering",a$n="layering.minWidth",o$n="layering.nodePromotion",u$n="crossingMinimization",s$n="org.eclipse.elk.hierarchyHandling",h$n="crossingMinimization.greedySwitch",f$n="nodePlacement",l$n="nodePlacement.bk",b$n="edgeRouting",w$n="org.eclipse.elk.edgeRouting",d$n="spacing",g$n="priority",p$n="compaction",m$n="compaction.postCompaction",v$n="Specifies whether and how post-process compaction is applied.",k$n="highDegreeNodes",y$n="wrapping",M$n="wrapping.cutting",T$n="wrapping.validify",j$n="wrapping.multiEdge",E$n="edgeLabels",S$n="considerModelOrder",P$n="org.eclipse.elk.spacing.commentComment",C$n="org.eclipse.elk.spacing.commentNode",I$n="org.eclipse.elk.spacing.edgeEdge",O$n="org.eclipse.elk.spacing.edgeNode",A$n="org.eclipse.elk.spacing.labelLabel",L$n="org.eclipse.elk.spacing.labelPortHorizontal",N$n="org.eclipse.elk.spacing.labelPortVertical",$$n="org.eclipse.elk.spacing.labelNode",D$n="org.eclipse.elk.spacing.nodeSelfLoop",x$n="org.eclipse.elk.spacing.portPort",R$n="org.eclipse.elk.spacing.individual",K$n="org.eclipse.elk.port.borderOffset",F$n="org.eclipse.elk.noLayout",_$n="org.eclipse.elk.port.side",B$n="org.eclipse.elk.debugMode",H$n="org.eclipse.elk.alignment",U$n="org.eclipse.elk.insideSelfLoops.activate",G$n="org.eclipse.elk.insideSelfLoops.yo",q$n="org.eclipse.elk.direction",X$n="org.eclipse.elk.nodeLabels.padding",z$n="org.eclipse.elk.portLabels.nextToPortIfPossible",V$n="org.eclipse.elk.portLabels.treatAsGroup",W$n="org.eclipse.elk.portAlignment.default",Q$n="org.eclipse.elk.portAlignment.north",J$n="org.eclipse.elk.portAlignment.south",Y$n="org.eclipse.elk.portAlignment.west",Z$n="org.eclipse.elk.portAlignment.east",nDn="org.eclipse.elk.contentAlignment",tDn="org.eclipse.elk.junctionPoints",eDn="org.eclipse.elk.edgeLabels.placement",iDn="org.eclipse.elk.port.index",rDn="org.eclipse.elk.commentBox",cDn="org.eclipse.elk.hypernode",aDn="org.eclipse.elk.port.anchor",oDn="org.eclipse.elk.partitioning.activate",uDn="org.eclipse.elk.partitioning.partition",sDn="org.eclipse.elk.position",hDn="org.eclipse.elk.margins",fDn="org.eclipse.elk.spacing.portsSurrounding",lDn="org.eclipse.elk.interactiveLayout",bDn="org.eclipse.elk.core.util",wDn={3:1,4:1,5:1,601:1},dDn="NETWORK_SIMPLEX",gDn="SIMPLE",pDn={106:1,47:1},mDn="org.eclipse.elk.alg.layered.p1cycles",vDn="org.eclipse.elk.alg.layered.p2layers",kDn={413:1,230:1},yDn={846:1,3:1,4:1},MDn="org.eclipse.elk.alg.layered.p3order",TDn="org.eclipse.elk.alg.layered.p4nodes",jDn={3:1,4:1,5:1,854:1},EDn=1e-5,SDn="org.eclipse.elk.alg.layered.p4nodes.bk",PDn="org.eclipse.elk.alg.layered.p5edges",CDn="org.eclipse.elk.alg.layered.p5edges.orthogonal",IDn="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",ODn=1e-6,ADn="org.eclipse.elk.alg.layered.p5edges.splines",LDn=.09999999999999998,NDn=1e-8,$Dn=4.71238898038469,DDn=3.141592653589793,xDn="org.eclipse.elk.alg.mrtree",RDn=.10000000149011612,KDn="SUPER_ROOT",FDn="org.eclipse.elk.alg.mrtree.graph",_Dn=-17976931348623157e292,BDn="org.eclipse.elk.alg.mrtree.intermediate",HDn="Processor compute fanout",UDn={3:1,6:1,4:1,5:1,534:1,100:1,115:1},GDn="Set neighbors in level",qDn="org.eclipse.elk.alg.mrtree.options",XDn="DESCENDANTS",zDn="org.eclipse.elk.mrtree.compaction",VDn="org.eclipse.elk.mrtree.edgeEndTextureLength",WDn="org.eclipse.elk.mrtree.treeLevel",QDn="org.eclipse.elk.mrtree.positionConstraint",JDn="org.eclipse.elk.mrtree.weighting",YDn="org.eclipse.elk.mrtree.edgeRoutingMode",ZDn="org.eclipse.elk.mrtree.searchOrder",nxn="Position Constraint",txn="org.eclipse.elk.mrtree",exn="org.eclipse.elk.tree",ixn="Processor arrange level",rxn="org.eclipse.elk.alg.mrtree.p2order",cxn="org.eclipse.elk.alg.mrtree.p4route",axn="org.eclipse.elk.alg.radial",oxn=6.283185307179586,uxn="Before",sxn=5e-324,hxn="After",fxn="org.eclipse.elk.alg.radial.intermediate",lxn="COMPACTION",bxn="org.eclipse.elk.alg.radial.intermediate.compaction",wxn={3:1,4:1,5:1,100:1},dxn="org.eclipse.elk.alg.radial.intermediate.optimization",gxn="No implementation is available for the layout option ",pxn="org.eclipse.elk.alg.radial.options",mxn="org.eclipse.elk.radial.centerOnRoot",vxn="org.eclipse.elk.radial.orderId",kxn="org.eclipse.elk.radial.radius",yxn="org.eclipse.elk.radial.rotate",Mxn="org.eclipse.elk.radial.compactor",Txn="org.eclipse.elk.radial.compactionStepSize",jxn="org.eclipse.elk.radial.sorter",Exn="org.eclipse.elk.radial.wedgeCriteria",Sxn="org.eclipse.elk.radial.optimizationCriteria",Pxn="org.eclipse.elk.radial.rotation.targetAngle",Cxn="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Ixn="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",Oxn="Compaction",Axn="rotation",Lxn="org.eclipse.elk.radial",Nxn="org.eclipse.elk.alg.radial.p1position.wedge",$xn="org.eclipse.elk.alg.radial.sorting",Dxn=5.497787143782138,xxn=3.9269908169872414,Rxn=2.356194490192345,Kxn="org.eclipse.elk.alg.rectpacking",Fxn="org.eclipse.elk.alg.rectpacking.intermediate",_xn="org.eclipse.elk.alg.rectpacking.options",Bxn="org.eclipse.elk.rectpacking.trybox",Hxn="org.eclipse.elk.rectpacking.currentPosition",Uxn="org.eclipse.elk.rectpacking.desiredPosition",Gxn="org.eclipse.elk.rectpacking.inNewRow",qxn="org.eclipse.elk.rectpacking.widthApproximation.strategy",Xxn="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",zxn="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Vxn="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Wxn="org.eclipse.elk.rectpacking.packing.strategy",Qxn="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Jxn="org.eclipse.elk.rectpacking.packing.compaction.iterations",Yxn="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",Zxn="widthApproximation",nRn="Compaction Strategy",tRn="packing.compaction",eRn="org.eclipse.elk.rectpacking",iRn="org.eclipse.elk.alg.rectpacking.p1widthapproximation",rRn="org.eclipse.elk.alg.rectpacking.p2packing",cRn="No Compaction",aRn="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",oRn="org.eclipse.elk.alg.rectpacking.util",uRn="No implementation available for ",sRn="org.eclipse.elk.alg.spore",hRn="org.eclipse.elk.alg.spore.options",fRn="org.eclipse.elk.sporeCompaction",lRn="org.eclipse.elk.underlyingLayoutAlgorithm",bRn="org.eclipse.elk.processingOrder.treeConstruction",wRn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",dRn="org.eclipse.elk.processingOrder.preferredRoot",gRn="org.eclipse.elk.processingOrder.rootSelection",pRn="org.eclipse.elk.structure.structureExtractionStrategy",mRn="org.eclipse.elk.compaction.compactionStrategy",vRn="org.eclipse.elk.compaction.orthogonal",kRn="org.eclipse.elk.overlapRemoval.maxIterations",yRn="org.eclipse.elk.overlapRemoval.runScanline",MRn="processingOrder",TRn="overlapRemoval",jRn="org.eclipse.elk.sporeOverlap",ERn="org.eclipse.elk.alg.spore.p1structure",SRn="org.eclipse.elk.alg.spore.p2processingorder",PRn="org.eclipse.elk.alg.spore.p3execution",CRn="Topdown Layout",IRn="Invalid index: ",ORn="org.eclipse.elk.core.alg",ARn={341:1},LRn={295:1},NRn="Make sure its type is registered with the ",$Rn=" utility class.",DRn="true",xRn="false",RRn="Couldn't clone property '",KRn=.05,FRn="org.eclipse.elk.core.options",_Rn=1.2999999523162842,BRn="org.eclipse.elk.box",HRn="org.eclipse.elk.expandNodes",URn="org.eclipse.elk.box.packingMode",GRn="org.eclipse.elk.algorithm",qRn="org.eclipse.elk.resolvedAlgorithm",XRn="org.eclipse.elk.bendPoints",zRn="org.eclipse.elk.labelManager",VRn="org.eclipse.elk.scaleFactor",WRn="org.eclipse.elk.childAreaWidth",QRn="org.eclipse.elk.childAreaHeight",JRn="org.eclipse.elk.animate",YRn="org.eclipse.elk.animTimeFactor",ZRn="org.eclipse.elk.layoutAncestors",nKn="org.eclipse.elk.maxAnimTime",tKn="org.eclipse.elk.minAnimTime",eKn="org.eclipse.elk.progressBar",iKn="org.eclipse.elk.validateGraph",rKn="org.eclipse.elk.validateOptions",cKn="org.eclipse.elk.zoomToFit",aKn="org.eclipse.elk.font.name",oKn="org.eclipse.elk.font.size",uKn="org.eclipse.elk.topdown.sizeApproximator",sKn="org.eclipse.elk.topdown.scaleCap",hKn="org.eclipse.elk.edge.type",fKn="partitioning",lKn="nodeLabels",bKn="portAlignment",wKn="nodeSize",dKn="port",gKn="portLabels",pKn="topdown",mKn="insideSelfLoops",vKn="org.eclipse.elk.fixed",kKn="org.eclipse.elk.random",yKn={3:1,34:1,22:1,347:1},MKn="port must have a parent node to calculate the port side",TKn="The edge needs to have exactly one edge section. Found: ",jKn="org.eclipse.elk.core.util.adapters",EKn="org.eclipse.emf.ecore",SKn="org.eclipse.elk.graph",PKn="EMapPropertyHolder",CKn="ElkBendPoint",IKn="ElkGraphElement",OKn="ElkConnectableShape",AKn="ElkEdge",LKn="ElkEdgeSection",NKn="EModelElement",$Kn="ENamedElement",DKn="ElkLabel",xKn="ElkNode",RKn="ElkPort",KKn={94:1,93:1},FKn="org.eclipse.emf.common.notify.impl",_Kn="The feature '",BKn="' is not a valid changeable feature",HKn="Expecting null",UKn="' is not a valid feature",GKn="The feature ID",qKn=" is not a valid feature ID",XKn=32768,zKn={110:1,94:1,93:1,58:1,54:1,99:1},VKn="org.eclipse.emf.ecore.impl",WKn="org.eclipse.elk.graph.impl",QKn="Recursive containment not allowed for ",JKn="The datatype '",YKn="' is not a valid classifier",ZKn="The value '",nFn={195:1,3:1,4:1},tFn="The class '",eFn="http://www.eclipse.org/elk/ElkGraph",iFn="property",rFn="value",cFn="source",aFn="properties",oFn="identifier",uFn="height",sFn="width",hFn="parent",fFn="text",lFn="children",bFn="hierarchical",wFn="sources",dFn="targets",gFn="sections",pFn="bendPoints",mFn="outgoingShape",vFn="incomingShape",kFn="outgoingSections",yFn="incomingSections",MFn="org.eclipse.emf.common.util",TFn="Severe implementation error in the Json to ElkGraph importer.",jFn="id",EFn="org.eclipse.elk.graph.json",SFn="Unhandled parameter types: ",PFn="startPoint",CFn="An edge must have at least one source and one target (edge id: '",IFn="').",OFn="Referenced edge section does not exist: ",AFn=" (edge id: '",LFn="target",NFn="sourcePoint",$Fn="targetPoint",DFn="group",xFn="name",RFn="connectableShape cannot be null",KFn="edge cannot be null",FFn="Passed edge is not 'simple'.",_Fn="org.eclipse.elk.graph.util",BFn="The 'no duplicates' constraint is violated",HFn="targetIndex=",UFn=", size=",GFn="sourceIndex=",qFn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},XFn={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},zFn="logging",VFn="measureExecutionTime",WFn="parser.parse.1",QFn="parser.parse.2",JFn="parser.next.1",YFn="parser.next.2",ZFn="parser.next.3",n_n="parser.next.4",t_n="parser.factor.1",e_n="parser.factor.2",i_n="parser.factor.3",r_n="parser.factor.4",c_n="parser.factor.5",a_n="parser.factor.6",o_n="parser.atom.1",u_n="parser.atom.2",s_n="parser.atom.3",h_n="parser.atom.4",f_n="parser.atom.5",l_n="parser.cc.1",b_n="parser.cc.2",w_n="parser.cc.3",d_n="parser.cc.5",g_n="parser.cc.6",p_n="parser.cc.7",m_n="parser.cc.8",v_n="parser.ope.1",k_n="parser.ope.2",y_n="parser.ope.3",M_n="parser.descape.1",T_n="parser.descape.2",j_n="parser.descape.3",E_n="parser.descape.4",S_n="parser.descape.5",P_n="parser.process.1",C_n="parser.quantifier.1",I_n="parser.quantifier.2",O_n="parser.quantifier.3",A_n="parser.quantifier.4",L_n="parser.quantifier.5",N_n="org.eclipse.emf.common.notify",$_n={424:1,686:1},D_n={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},x_n={378:1,152:1},R_n="index=",K_n={3:1,4:1,5:1,129:1},F_n={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},__n={3:1,6:1,4:1,5:1,198:1},B_n={3:1,4:1,5:1,173:1,379:1},H_n=";/?:@&=+$,",U_n="invalid authority: ",G_n="EAnnotation",q_n="ETypedElement",X_n="EStructuralFeature",z_n="EAttribute",V_n="EClassifier",W_n="EEnumLiteral",Q_n="EGenericType",J_n="EOperation",Y_n="EParameter",Z_n="EReference",nBn="ETypeParameter",tBn="org.eclipse.emf.ecore.util",eBn={79:1},iBn={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},rBn="org.eclipse.emf.ecore.util.FeatureMap$Entry",cBn=8192,aBn=2048,oBn="byte",uBn="char",sBn="double",hBn="float",fBn="int",lBn="long",bBn="short",wBn="java.lang.Object",dBn={3:1,4:1,5:1,254:1},gBn={3:1,4:1,5:1,688:1},pBn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},mBn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},vBn="mixed",kBn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",yBn="kind",MBn={3:1,4:1,5:1,689:1},TBn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},jBn={20:1,31:1,56:1,16:1,15:1,61:1,71:1},EBn={51:1,128:1,287:1},SBn={76:1,343:1},PBn="The value of type '",CBn="' must be of type '",IBn=1352,OBn="http://www.eclipse.org/emf/2002/Ecore",ABn=-32768,LBn="constraints",NBn="baseType",$Bn="getEStructuralFeature",DBn="getFeatureID",xBn="feature",RBn="getOperationID",KBn="operation",FBn="defaultValue",_Bn="eTypeParameters",BBn="isInstance",HBn="getEEnumLiteral",UBn="eContainingClass",GBn={57:1},qBn={3:1,4:1,5:1,124:1},XBn="org.eclipse.emf.ecore.resource",zBn={94:1,93:1,599:1,2034:1},VBn="org.eclipse.emf.ecore.resource.impl",WBn="unspecified",QBn="simple",JBn="attribute",YBn="attributeWildcard",ZBn="element",nHn="elementWildcard",tHn="collapse",eHn="itemType",iHn="namespace",rHn="##targetNamespace",cHn="whiteSpace",aHn="wildcards",oHn="http://www.eclipse.org/emf/2003/XMLType",uHn="##any",sHn="uninitialized",hHn="The multiplicity constraint is violated",fHn="org.eclipse.emf.ecore.xml.type",lHn="ProcessingInstruction",bHn="SimpleAnyType",wHn="XMLTypeDocumentRoot",dHn="org.eclipse.emf.ecore.xml.type.impl",gHn="INF",pHn="processing",mHn="ENTITIES_._base",vHn="minLength",kHn="ENTITY",yHn="NCName",MHn="IDREFS_._base",THn="integer",jHn="token",EHn="pattern",SHn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",PHn="\\i\\c*",CHn="[\\i-[:]][\\c-[:]]*",IHn="nonPositiveInteger",OHn="maxInclusive",AHn="NMTOKEN",LHn="NMTOKENS_._base",NHn="nonNegativeInteger",$Hn="minInclusive",DHn="normalizedString",xHn="unsignedByte",RHn="unsignedInt",KHn="18446744073709551615",FHn="unsignedShort",_Hn="processingInstruction",BHn="org.eclipse.emf.ecore.xml.type.internal",HHn=1114111,UHn="Internal Error: shorthands: \\u",GHn="xml:isDigit",qHn="xml:isWord",XHn="xml:isSpace",zHn="xml:isNameChar",VHn="xml:isInitialNameChar",WHn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",QHn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",JHn="Private Use",YHn="ASSIGNED",ZHn="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",nUn="UNASSIGNED",tUn={3:1,122:1},eUn="org.eclipse.emf.ecore.xml.type.util",iUn={3:1,4:1,5:1,381:1},rUn="org.eclipse.xtext.xbase.lib",cUn="Cannot add elements to a Range",aUn="Cannot set elements in a Range",oUn="Cannot remove elements from a Range",uUn="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,cSn={},Bwn(1,null,{},r),rSn.Fb=function(n){return LO(this,n)},rSn.Gb=function(){return this.Rm},rSn.Hb=function(){return _N(this)},rSn.Ib=function(){return hT(h7(this))+"@"+(_4(this)>>>0).toString(16)},rSn.equals=function(n){return this.Fb(n)},rSn.hashCode=function(){return this.Hb()},rSn.toString=function(){return this.Ib()},Bwn(297,1,{297:1,2124:1},_8),rSn.ve=function(n){var t;return(t=new _8).i=4,t.c=n>1?qX(this,n-1):this,t},rSn.we=function(){return Q$(this),this.b},rSn.xe=function(){return hT(this)},rSn.ye=function(){return Q$(this),this.k},rSn.ze=function(){return!!(4&this.i)},rSn.Ae=function(){return!!(1&this.i)},rSn.Ib=function(){return H0(this)},rSn.i=0;var sUn,hUn=SH(gSn,"Object",1),fUn=SH(gSn,"Class",297);Bwn(2096,1,pSn),SH(mSn,"Optional",2096),Bwn(1191,2096,pSn,c),rSn.Fb=function(n){return n===this},rSn.Hb=function(){return 2040732332},rSn.Ib=function(){return"Optional.absent()"},rSn.Jb=function(n){return CH(n),Ok(),sUn},SH(mSn,"Absent",1191),Bwn(636,1,{},Xy),SH(mSn,"Joiner",636);var lUn=tF(mSn,"Predicate");Bwn(589,1,{178:1,589:1,3:1,46:1},_l),rSn.Mb=function(n){return e9(this,n)},rSn.Lb=function(n){return e9(this,n)},rSn.Fb=function(n){var t;return!!hL(n,589)&&(t=YR(n,589),Ywn(this.a,t.a))},rSn.Hb=function(){return c9(this.a)+306654252},rSn.Ib=function(){return function(n){var t,e,i,r;for(t=nU(cO(new yN("Predicates."),"and"),40),e=!0,r=new kw(n);r.b0},rSn.Pb=function(){if(this.c>=this.d)throw Nm(new av);return this.Xb(this.c++)},rSn.Tb=function(){return this.c},rSn.Ub=function(){if(this.c<=0)throw Nm(new av);return this.Xb(--this.c)},rSn.Vb=function(){return this.c-1},rSn.c=0,rSn.d=0,SH(PSn,"AbstractIndexedListIterator",399),Bwn(713,204,SSn),rSn.Ob=function(){return h4(this)},rSn.Pb=function(){return v1(this)},rSn.e=1,SH(PSn,"AbstractIterator",713),Bwn(2084,1,{229:1}),rSn.Zb=function(){return this.f||(this.f=this.ac())},rSn.Fb=function(n){return A9(this,n)},rSn.Hb=function(){return _4(this.Zb())},rSn.dc=function(){return 0==this.gc()},rSn.ec=function(){return E_(this)},rSn.Ib=function(){return Jtn(this.Zb())},SH(PSn,"AbstractMultimap",2084),Bwn(742,2084,ISn),rSn.$b=function(){C3(this)},rSn._b=function(n){return oT(this,n)},rSn.ac=function(){return new sj(this,this.c)},rSn.ic=function(n){return this.hc()},rSn.bc=function(){return new WL(this,this.c)},rSn.jc=function(){return this.mc(this.hc())},rSn.kc=function(){return new xk(this)},rSn.lc=function(){return Ysn(this.c.vc().Nc(),new o,64,this.d)},rSn.cc=function(n){return KJ(this,n)},rSn.fc=function(n){return D7(this,n)},rSn.gc=function(){return this.d},rSn.mc=function(n){return iq(),new ww(n)},rSn.nc=function(){return new Dk(this)},rSn.oc=function(){return Ysn(this.c.Cc().Nc(),new a,64,this.d)},rSn.pc=function(n,t){return new fY(this,n,t,null)},rSn.d=0,SH(PSn,"AbstractMapBasedMultimap",742),Bwn(1696,742,ISn),rSn.hc=function(){return new gY(this.a)},rSn.jc=function(){return iq(),iq(),HGn},rSn.cc=function(n){return YR(KJ(this,n),15)},rSn.fc=function(n){return YR(D7(this,n),15)},rSn.Zb=function(){return WG(this)},rSn.Fb=function(n){return A9(this,n)},rSn.qc=function(n){return YR(KJ(this,n),15)},rSn.rc=function(n){return YR(D7(this,n),15)},rSn.mc=function(n){return pq(YR(n,15))},rSn.pc=function(n,t){return mW(this,n,YR(t,15),null)},SH(PSn,"AbstractListMultimap",1696),Bwn(748,1,OSn),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return this.c.Ob()||this.e.Ob()},rSn.Pb=function(){var n;return this.e.Ob()||(n=YR(this.c.Pb(),44),this.b=n.ld(),this.a=YR(n.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},rSn.Qb=function(){this.e.Qb(),YR(TU(this.a),16).dc()&&this.c.Qb(),--this.d.d},SH(PSn,"AbstractMapBasedMultimap/Itr",748),Bwn(1129,748,OSn,Dk),rSn.sc=function(n,t){return t},SH(PSn,"AbstractMapBasedMultimap/1",1129),Bwn(1130,1,{},a),rSn.Kb=function(n){return YR(n,16).Nc()},SH(PSn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),Bwn(1131,748,OSn,xk),rSn.sc=function(n,t){return new mj(n,t)},SH(PSn,"AbstractMapBasedMultimap/2",1131);var bUn=tF(ASn,"Map");Bwn(2065,1,LSn),rSn.wc=function(n){K6(this,n)},rSn.yc=function(n,t,e){return qtn(this,n,t,e)},rSn.$b=function(){this.vc().$b()},rSn.tc=function(n){return Man(this,n)},rSn._b=function(n){return!!lsn(this,n,!1)},rSn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=YR(t.Pb(),44).md(),GI(n)===GI(e)||null!=n&&Snn(n,e))return!0;return!1},rSn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!hL(n,85))return!1;if(i=YR(n,85),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=YR(e.Pb(),44),!this.tc(t))return!1;return!0},rSn.xc=function(n){return UI(lsn(this,n,!1))},rSn.Hb=function(){return m8(this.vc())},rSn.dc=function(){return 0==this.gc()},rSn.ec=function(){return new tw(this)},rSn.zc=function(n,t){throw Nm(new Ny("Put not supported on this map"))},rSn.Ac=function(n){P6(this,n)},rSn.Bc=function(n){return UI(lsn(this,n,!0))},rSn.gc=function(){return this.vc().gc()},rSn.Ib=function(){return jsn(this)},rSn.Cc=function(){return new uw(this)},SH(ASn,"AbstractMap",2065),Bwn(2085,2065,LSn),rSn.bc=function(){return new Pj(this)},rSn.vc=function(){return j_(this)},rSn.ec=function(){return this.g||(this.g=this.bc())},rSn.Cc=function(){return this.i||(this.i=new Sj(this))},SH(PSn,"Maps/ViewCachingAbstractMap",2085),Bwn(402,2085,LSn,sj),rSn.xc=function(n){return function(n,t){var e,i;return(e=YR(dnn(n.d,t),16))?(i=t,n.e.pc(i,e)):null}(this,n)},rSn.Bc=function(n){return function(n,t){var e,i;return(e=YR(n.d.Bc(t),16))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}(this,n)},rSn.$b=function(){this.d==this.e.c?this.e.$b():hF(new lF(this))},rSn._b=function(n){return bnn(this.d,n)},rSn.Ec=function(){return new Hl(this)},rSn.Dc=function(){return this.Ec()},rSn.Fb=function(n){return this===n||Snn(this.d,n)},rSn.Hb=function(){return _4(this.d)},rSn.ec=function(){return this.e.ec()},rSn.gc=function(){return this.d.gc()},rSn.Ib=function(){return Jtn(this.d)},SH(PSn,"AbstractMapBasedMultimap/AsMap",402);var wUn=tF(gSn,"Iterable");Bwn(31,1,NSn),rSn.Jc=function(n){JQ(this,n)},rSn.Lc=function(){return this.Oc()},rSn.Nc=function(){return new Fz(this,0)},rSn.Oc=function(){return new CF(null,this.Nc())},rSn.Fc=function(n){throw Nm(new Ny("Add not supported on this collection"))},rSn.Gc=function(n){return V4(this,n)},rSn.$b=function(){bG(this)},rSn.Hc=function(n){return jen(this,n,!1)},rSn.Ic=function(n){return q5(this,n)},rSn.dc=function(){return 0==this.gc()},rSn.Mc=function(n){return jen(this,n,!0)},rSn.Pc=function(){return O_(this)},rSn.Qc=function(n){return yan(this,n)},rSn.Ib=function(){return Ihn(this)},SH(ASn,"AbstractCollection",31);var dUn=tF(ASn,"Set");Bwn($Sn,31,DSn),rSn.Nc=function(){return new Fz(this,1)},rSn.Fb=function(n){return Qin(this,n)},rSn.Hb=function(){return m8(this)},SH(ASn,"AbstractSet",$Sn),Bwn(2068,$Sn,DSn),SH(PSn,"Sets/ImprovedAbstractSet",2068),Bwn(2069,2068,DSn),rSn.$b=function(){this.Rc().$b()},rSn.Hc=function(n){return Yen(this,n)},rSn.dc=function(){return this.Rc().dc()},rSn.Mc=function(n){var t;return!(!this.Hc(n)||!hL(n,44))&&(t=YR(n,44),this.Rc().ec().Mc(t.ld()))},rSn.gc=function(){return this.Rc().gc()},SH(PSn,"Maps/EntrySet",2069),Bwn(1127,2069,DSn,Hl),rSn.Hc=function(n){return wnn(this.a.d.vc(),n)},rSn.Kc=function(){return new lF(this.a)},rSn.Rc=function(){return this.a},rSn.Mc=function(n){var t;return!!wnn(this.a.d.vc(),n)&&(t=YR(TU(YR(n,44)),44),AJ(this.a.e,t.ld()),!0)},rSn.Nc=function(){return qR(this.a.d.vc().Nc(),new Ul(this.a))},SH(PSn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),Bwn(1128,1,{},Ul),rSn.Kb=function(n){return yJ(this.a,YR(n,44))},SH(PSn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),Bwn(746,1,OSn,lF),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){var n;return n=YR(this.b.Pb(),44),this.a=YR(n.md(),16),yJ(this.c,n)},rSn.Ob=function(){return this.b.Ob()},rSn.Qb=function(){oR(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},SH(PSn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),Bwn(542,2068,DSn,Pj),rSn.$b=function(){this.b.$b()},rSn.Hc=function(n){return this.b._b(n)},rSn.Jc=function(n){CH(n),this.b.wc(new bb(n))},rSn.dc=function(){return this.b.dc()},rSn.Kc=function(){return new zk(this.b.vc().Kc())},rSn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},rSn.gc=function(){return this.b.gc()},SH(PSn,"Maps/KeySet",542),Bwn(327,542,DSn,WL),rSn.$b=function(){hF(new hj(this,this.b.vc().Kc()))},rSn.Ic=function(n){return this.b.ec().Ic(n)},rSn.Fb=function(n){return this===n||Snn(this.b.ec(),n)},rSn.Hb=function(){return _4(this.b.ec())},rSn.Kc=function(){return new hj(this,this.b.vc().Kc())},rSn.Mc=function(n){var t,e;return e=0,(t=YR(this.b.Bc(n),16))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},rSn.Nc=function(){return this.b.ec().Nc()},SH(PSn,"AbstractMapBasedMultimap/KeySet",327),Bwn(747,1,OSn,hj),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return this.c.Ob()},rSn.Pb=function(){return this.a=YR(this.c.Pb(),44),this.a.ld()},rSn.Qb=function(){var n;oR(!!this.a),n=YR(this.a.md(),16),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},SH(PSn,"AbstractMapBasedMultimap/KeySet/1",747),Bwn(503,402,{85:1,133:1},sD),rSn.bc=function(){return this.Sc()},rSn.ec=function(){return this.Uc()},rSn.Sc=function(){return new nj(this.c,this.Wc())},rSn.Tc=function(){return this.Wc().Tc()},rSn.Uc=function(){return this.b||(this.b=this.Sc())},rSn.Vc=function(){return this.Wc().Vc()},rSn.Wc=function(){return YR(this.d,133)},SH(PSn,"AbstractMapBasedMultimap/SortedAsMap",503),Bwn(446,503,xSn,hD),rSn.bc=function(){return new tj(this.a,YR(YR(this.d,133),139))},rSn.Sc=function(){return new tj(this.a,YR(YR(this.d,133),139))},rSn.ec=function(){return YR(this.b||(this.b=new tj(this.a,YR(YR(this.d,133),139))),277)},rSn.Uc=function(){return YR(this.b||(this.b=new tj(this.a,YR(YR(this.d,133),139))),277)},rSn.Wc=function(){return YR(YR(this.d,133),139)},rSn.Xc=function(n){return YR(YR(this.d,133),139).Xc(n)},rSn.Yc=function(n){return YR(YR(this.d,133),139).Yc(n)},rSn.Zc=function(n,t){return new hD(this.a,YR(YR(this.d,133),139).Zc(n,t))},rSn.$c=function(n){return YR(YR(this.d,133),139).$c(n)},rSn._c=function(n){return YR(YR(this.d,133),139)._c(n)},rSn.ad=function(n,t){return new hD(this.a,YR(YR(this.d,133),139).ad(n,t))},SH(PSn,"AbstractMapBasedMultimap/NavigableAsMap",446),Bwn(502,327,RSn,nj),rSn.Nc=function(){return this.b.ec().Nc()},SH(PSn,"AbstractMapBasedMultimap/SortedKeySet",502),Bwn(401,502,KSn,tj),SH(PSn,"AbstractMapBasedMultimap/NavigableKeySet",401),Bwn(551,31,NSn,fY),rSn.Fc=function(n){var t,e;return een(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&UD(this)),t},rSn.Gc=function(n){var t,e,i;return!n.dc()&&(een(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&UD(this)),t)},rSn.$b=function(){var n;een(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,XF(this))},rSn.Hc=function(n){return een(this),this.d.Hc(n)},rSn.Ic=function(n){return een(this),this.d.Ic(n)},rSn.Fb=function(n){return n===this||(een(this),Snn(this.d,n))},rSn.Hb=function(){return een(this),_4(this.d)},rSn.Kc=function(){return een(this),new GR(this)},rSn.Mc=function(n){var t;return een(this),(t=this.d.Mc(n))&&(--this.f.d,XF(this)),t},rSn.gc=function(){return ZI(this)},rSn.Nc=function(){return een(this),this.d.Nc()},rSn.Ib=function(){return een(this),Jtn(this.d)},SH(PSn,"AbstractMapBasedMultimap/WrappedCollection",551);var gUn=tF(ASn,"List");Bwn(744,551,{20:1,31:1,16:1,15:1},X_),rSn.jd=function(n){L4(this,n)},rSn.Nc=function(){return een(this),this.d.Nc()},rSn.bd=function(n,t){var e;een(this),e=this.d.dc(),YR(this.d,15).bd(n,t),++this.a.d,e&&UD(this)},rSn.cd=function(n,t){var e,i,r;return!t.dc()&&(een(this),r=this.d.gc(),(e=YR(this.d,15).cd(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&UD(this)),e)},rSn.Xb=function(n){return een(this),YR(this.d,15).Xb(n)},rSn.dd=function(n){return een(this),YR(this.d,15).dd(n)},rSn.ed=function(){return een(this),new LA(this)},rSn.fd=function(n){return een(this),new XG(this,n)},rSn.gd=function(n){var t;return een(this),t=YR(this.d,15).gd(n),--this.a.d,XF(this),t},rSn.hd=function(n,t){return een(this),YR(this.d,15).hd(n,t)},rSn.kd=function(n,t){return een(this),mW(this.a,this.e,YR(this.d,15).kd(n,t),this.b?this.b:this)},SH(PSn,"AbstractMapBasedMultimap/WrappedList",744),Bwn(1126,744,{20:1,31:1,16:1,15:1,59:1},JN),SH(PSn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),Bwn(628,1,OSn,GR),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return HG(this),this.b.Ob()},rSn.Pb=function(){return HG(this),this.b.Pb()},rSn.Qb=function(){cN(this)},SH(PSn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),Bwn(745,628,FSn,LA,XG),rSn.Qb=function(){cN(this)},rSn.Rb=function(n){var t;t=0==ZI(this.a),(HG(this),YR(this.b,128)).Rb(n),++this.a.a.d,t&&UD(this.a)},rSn.Sb=function(){return(HG(this),YR(this.b,128)).Sb()},rSn.Tb=function(){return(HG(this),YR(this.b,128)).Tb()},rSn.Ub=function(){return(HG(this),YR(this.b,128)).Ub()},rSn.Vb=function(){return(HG(this),YR(this.b,128)).Vb()},rSn.Wb=function(n){(HG(this),YR(this.b,128)).Wb(n)},SH(PSn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),Bwn(743,551,RSn,oD),rSn.Nc=function(){return een(this),this.d.Nc()},SH(PSn,"AbstractMapBasedMultimap/WrappedSortedSet",743),Bwn(1125,743,KSn,pA),SH(PSn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),Bwn(1124,551,DSn,uD),rSn.Nc=function(){return een(this),this.d.Nc()},SH(PSn,"AbstractMapBasedMultimap/WrappedSet",1124),Bwn(1133,1,{},o),rSn.Kb=function(n){return function(n){var t;return t=n.ld(),qR(YR(n.md(),16).Nc(),new zl(t))}(YR(n,44))},SH(PSn,"AbstractMapBasedMultimap/lambda$1$Type",1133),Bwn(1132,1,{},zl),rSn.Kb=function(n){return new mj(this.a,n)},SH(PSn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var pUn,mUn,vUn,kUn,yUn=tF(ASn,"Map/Entry");Bwn(358,1,_Sn),rSn.Fb=function(n){var t;return!!hL(n,44)&&(t=YR(n,44),lU(this.ld(),t.ld())&&lU(this.md(),t.md()))},rSn.Hb=function(){var n,t;return n=this.ld(),t=this.md(),(null==n?0:_4(n))^(null==t?0:_4(t))},rSn.nd=function(n){throw Nm(new iv)},rSn.Ib=function(){return this.ld()+"="+this.md()},SH(PSn,BSn,358),Bwn(2086,31,NSn),rSn.$b=function(){this.od().$b()},rSn.Hc=function(n){var t;return!!hL(n,44)&&(t=YR(n,44),function(n,t,e){var i;return!!(i=YR(n.Zb().xc(t),16))&&i.Hc(e)}(this.od(),t.ld(),t.md()))},rSn.Mc=function(n){var t;return!!hL(n,44)&&(t=YR(n,44),PV(this.od(),t.ld(),t.md()))},rSn.gc=function(){return this.od().d},SH(PSn,"Multimaps/Entries",2086),Bwn(749,2086,NSn,Vl),rSn.Kc=function(){return this.a.kc()},rSn.od=function(){return this.a},rSn.Nc=function(){return this.a.lc()},SH(PSn,"AbstractMultimap/Entries",749),Bwn(750,749,DSn,Rk),rSn.Nc=function(){return this.a.lc()},rSn.Fb=function(n){return jfn(this,n)},rSn.Hb=function(){return W4(this)},SH(PSn,"AbstractMultimap/EntrySet",750),Bwn(751,31,NSn,Wl),rSn.$b=function(){this.a.$b()},rSn.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(YR(e.Pb(),16).Hc(t))return!0;return!1}(this.a,n)},rSn.Kc=function(){return this.a.nc()},rSn.gc=function(){return this.a.d},rSn.Nc=function(){return this.a.oc()},SH(PSn,"AbstractMultimap/Values",751),Bwn(2087,31,{849:1,20:1,31:1,16:1}),rSn.Jc=function(n){CH(n),wG(this).Jc(new vb(n))},rSn.Nc=function(){var n;return Ysn(n=wG(this).Nc(),new d,64|1296&n.yd(),this.a.d)},rSn.Fc=function(n){return Vy(),!0},rSn.Gc=function(n){return CH(this),CH(n),hL(n,552)?zV(YR(n,849)):!n.dc()&&t0(this,n.Kc())},rSn.Hc=function(n){var t;return((t=YR(dnn(WG(this.a),n),16))?t.gc():0)>0},rSn.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(hL(t,552)){if(r=YR(t,849),n.a.d!=r.a.d||wG(n).gc()!=wG(r).gc())return!1;for(i=wG(r).Kc();i.Ob();)if(Tz(n,(e=YR(i.Pb(),425)).a.ld())!=YR(e.a.md(),16).gc())return!1;return!0}return!1}(this,n)},rSn.Hb=function(){return _4(wG(this))},rSn.dc=function(){return wG(this).dc()},rSn.Mc=function(n){return kbn(this,n,1)>0},rSn.Ib=function(){return Jtn(wG(this))},SH(PSn,"AbstractMultiset",2087),Bwn(2089,2068,DSn),rSn.$b=function(){C3(this.a.a)},rSn.Hc=function(n){var t;return!(!hL(n,504)||(t=YR(n,425),YR(t.a.md(),16).gc()<=0||Tz(this.a,t.a.ld())!=YR(t.a.md(),16).gc()))},rSn.Mc=function(n){var t,e,i;return!(!hL(n,504)||(t=(e=YR(n,425)).a.ld(),0==(i=YR(e.a.md(),16).gc())))&&function(n,t,e){var i,r,c;return L3(e,"oldCount"),L3(0,"newCount"),((i=YR(dnn(WG(n.a),t),16))?i.gc():0)==e&&(L3(0,"count"),(c=-((r=YR(dnn(WG(n.a),t),16))?r.gc():0))>0?Vy():c<0&&kbn(n,t,-c),!0)}(this.a,t,i)},SH(PSn,"Multisets/EntrySet",2089),Bwn(1139,2089,DSn,Ql),rSn.Kc=function(){return new Wk(j_(WG(this.a.a)).Kc())},rSn.gc=function(){return WG(this.a.a).gc()},SH(PSn,"AbstractMultiset/EntrySet",1139),Bwn(627,742,ISn),rSn.hc=function(){return this.pd()},rSn.jc=function(){return this.qd()},rSn.cc=function(n){return this.rd(n)},rSn.fc=function(n){return this.sd(n)},rSn.Zb=function(){return this.f||(this.f=this.ac())},rSn.qd=function(){return iq(),iq(),GGn},rSn.Fb=function(n){return A9(this,n)},rSn.rd=function(n){return YR(KJ(this,n),21)},rSn.sd=function(n){return YR(D7(this,n),21)},rSn.mc=function(n){return iq(),new rM(YR(n,21))},rSn.pc=function(n,t){return new uD(this,n,YR(t,21))},SH(PSn,"AbstractSetMultimap",627),Bwn(1723,627,ISn),rSn.hc=function(){return new TT(this.b)},rSn.pd=function(){return new TT(this.b)},rSn.jc=function(){return pU(new TT(this.b))},rSn.qd=function(){return pU(new TT(this.b))},rSn.cc=function(n){return YR(YR(KJ(this,n),21),87)},rSn.rd=function(n){return YR(YR(KJ(this,n),21),87)},rSn.fc=function(n){return YR(YR(D7(this,n),21),87)},rSn.sd=function(n){return YR(YR(D7(this,n),21),87)},rSn.mc=function(n){return hL(n,277)?pU(YR(n,277)):(iq(),new PN(YR(n,87)))},rSn.Zb=function(){return this.f||(this.f=hL(this.c,139)?new hD(this,YR(this.c,139)):hL(this.c,133)?new sD(this,YR(this.c,133)):new sj(this,this.c))},rSn.pc=function(n,t){return hL(t,277)?new pA(this,n,YR(t,277)):new oD(this,n,YR(t,87))},SH(PSn,"AbstractSortedSetMultimap",1723),Bwn(1724,1723,ISn),rSn.Zb=function(){return YR(YR(this.f||(this.f=hL(this.c,139)?new hD(this,YR(this.c,139)):hL(this.c,133)?new sD(this,YR(this.c,133)):new sj(this,this.c)),133),139)},rSn.ec=function(){return YR(YR(this.i||(this.i=hL(this.c,139)?new tj(this,YR(this.c,139)):hL(this.c,133)?new nj(this,YR(this.c,133)):new WL(this,this.c)),87),277)},rSn.bc=function(){return hL(this.c,139)?new tj(this,YR(this.c,139)):hL(this.c,133)?new nj(this,YR(this.c,133)):new WL(this,this.c)},SH(PSn,"AbstractSortedKeySortedSetMultimap",1724),Bwn(2109,1,{2046:1}),rSn.Fb=function(n){return function(n,t){var e;return t===n||!!hL(t,678)&&(e=YR(t,2046),Qin(n.g||(n.g=new Yl(n)),e.g||(e.g=new Yl(e))))}(this,n)},rSn.Hb=function(){return m8(this.g||(this.g=new Yl(this)))},rSn.Ib=function(){return jsn(this.f||(this.f=new aN(this)))},SH(PSn,"AbstractTable",2109),Bwn(679,$Sn,DSn,Yl),rSn.$b=function(){Wy()},rSn.Hc=function(n){var t,e;return!!hL(n,479)&&(t=YR(n,697),!!(e=YR(dnn(kH(this.a),YI(t.c.e,t.b)),85))&&wnn(e.vc(),new mj(YI(t.c.c,t.a),sY(t.c,t.b,t.a))))},rSn.Kc=function(){return new oN(n=this.a,n.e.Rd().gc()*n.c.Rd().gc());var n},rSn.Mc=function(n){var t,e;return!!hL(n,479)&&(t=YR(n,697),!!(e=YR(dnn(kH(this.a),YI(t.c.e,t.b)),85))&&function(n,t){CH(n);try{return n.Mc(t)}catch(n){if(hL(n=z5(n),212)||hL(n,169))return!1;throw Nm(n)}}(e.vc(),new mj(YI(t.c.c,t.a),sY(t.c,t.b,t.a))))},rSn.gc=function(){return cF(this.a)},rSn.Nc=function(){return aF((n=this.a).e.Rd().gc()*n.c.Rd().gc(),273,new Gl(n));var n},SH(PSn,"AbstractTable/CellSet",679),Bwn(2025,31,NSn,Zl),rSn.$b=function(){Wy()},rSn.Hc=function(n){return function(n,t){var e,i,r,c,a,o,u;for(o=0,u=(a=n.a).length;o=0?"+":"")+(i/60|0),t=BO(e.Math.abs(i)%60),(dhn(),WGn)[this.q.getDay()]+" "+QGn[this.q.getMonth()]+" "+BO(this.q.getDate())+" "+BO(this.q.getHours())+":"+BO(this.q.getMinutes())+":"+BO(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var BUn,HUn,UUn,GUn,qUn,XUn,zUn,VUn,WUn,QUn,JUn,YUn=SH(ASn,"Date",206);Bwn(2015,206,cCn,uun),rSn.a=!1,rSn.b=0,rSn.c=0,rSn.d=0,rSn.e=0,rSn.f=0,rSn.g=!1,rSn.i=0,rSn.j=0,rSn.k=0,rSn.n=0,rSn.o=0,rSn.p=0,SH("com.google.gwt.i18n.shared.impl","DateRecord",2015),Bwn(2064,1,{}),rSn.pe=function(){return null},rSn.qe=function(){return null},rSn.re=function(){return null},rSn.se=function(){return null},rSn.te=function(){return null},SH(aCn,"JSONValue",2064),Bwn(221,2064,{221:1},Pb,Tb),rSn.Fb=function(n){return!!hL(n,221)&&Hz(this.a,YR(n,221).a)},rSn.oe=function(){return Am},rSn.Hb=function(){return vq(this.a)},rSn.pe=function(){return this},rSn.Ib=function(){var n,t,e;for(e=new yN("["),t=0,n=this.a.length;t0&&(e.a+=","),rO(e,r0(this,t));return e.a+="]",e.a},SH(aCn,"JSONArray",221),Bwn(493,2064,{493:1},jb),rSn.oe=function(){return Lm},rSn.qe=function(){return this},rSn.Ib=function(){return GN(),""+this.a},rSn.a=!1,SH(aCn,"JSONBoolean",493),Bwn(997,63,MPn,Zk),SH(aCn,"JSONException",997),Bwn(1036,2064,{},T),rSn.oe=function(){return $m},rSn.Ib=function(){return ESn},SH(aCn,"JSONNull",1036),Bwn(263,2064,{263:1},Eb),rSn.Fb=function(n){return!!hL(n,263)&&this.a==YR(n,263).a},rSn.oe=function(){return Im},rSn.Hb=function(){return xO(this.a)},rSn.re=function(){return this},rSn.Ib=function(){return this.a+""},rSn.a=0,SH(aCn,"JSONNumber",263),Bwn(190,2064,{190:1},ny,Sb),rSn.Fb=function(n){return!!hL(n,190)&&Hz(this.a,YR(n,190).a)},rSn.oe=function(){return Om},rSn.Hb=function(){return vq(this.a)},rSn.se=function(){return this},rSn.Ib=function(){var n,t,e,i,r,c;for(c=new yN("{"),n=!0,i=0,r=(e=Q4(this,eZ(IGn,USn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},rSn.c=0;var vGn=SH(gSn,"StackTraceElement",319);sSn={3:1,484:1,34:1,2:1};var kGn,yGn,MGn,TGn,jGn,EGn,SGn,PGn,CGn,IGn=SH(gSn,jPn,2);Bwn(111,427,{484:1},Jy,Yy,kN),SH(gSn,"StringBuffer",111),Bwn(104,427,{484:1},Zy,nM,yN),SH(gSn,"StringBuilder",104),Bwn(702,77,dCn,tM),SH(gSn,"StringIndexOutOfBoundsException",702),Bwn(2145,1,{}),Bwn(48,63,{3:1,103:1,63:1,82:1,48:1},iv,Ny),SH(gSn,"UnsupportedOperationException",48),Bwn(247,242,{3:1,34:1,242:1,247:1},_nn,OT),rSn.Fd=function(n){return tyn(this,YR(n,247))},rSn.ue=function(){return tfn(VMn(this))},rSn.Fb=function(n){var t;return this===n||!!hL(n,247)&&(t=YR(n,247),this.e==t.e&&0==tyn(this,t))},rSn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=m5(this.f),this.b=M_(Uz(n,-1)),this.b=33*this.b+M_(Uz(D_(n,32),-1)),this.b=17*this.b+bX(this.e),this.b):(this.b=17*K7(this.c)+bX(this.e),this.b)},rSn.Ib=function(){return VMn(this)},rSn.a=0,rSn.b=0,rSn.d=0,rSn.e=0,rSn.f=0;var OGn,AGn,LGn,NGn,$Gn,DGn,xGn=SH("java.math","BigDecimal",247);Bwn(92,242,{3:1,34:1,242:1,92:1},hQ,Wz,BB,arn,yA),rSn.Fd=function(n){return _in(this,YR(n,92))},rSn.ue=function(){return tfn(SEn(this,0))},rSn.Fb=function(n){return len(this,n)},rSn.Hb=function(){return K7(this)},rSn.Ib=function(){return SEn(this,0)},rSn.b=-2,rSn.c=0,rSn.d=0,rSn.e=0;var RGn,KGn,FGn,_Gn,BGn=SH("java.math","BigInteger",92);Bwn(498,2065,LSn),rSn.$b=function(){IB(this)},rSn._b=function(n){return TB(this,n)},rSn.uc=function(n){return U9(this,n,this.i)||U9(this,n,this.f)},rSn.vc=function(){return new ew(this)},rSn.xc=function(n){return KH(this,n)},rSn.zc=function(n,t){return xU(this,n,t)},rSn.Bc=function(n){return XJ(this,n)},rSn.gc=function(){return _j(this)},rSn.g=0,SH(ASn,"AbstractHashMap",498),Bwn(267,$Sn,DSn,ew),rSn.$b=function(){this.a.$b()},rSn.Hc=function(n){return WV(this,n)},rSn.Kc=function(){return new Y6(this.a)},rSn.Mc=function(n){var t;return!!WV(this,n)&&(t=YR(n,44).ld(),this.a.Bc(t),!0)},rSn.gc=function(){return this.a.gc()},SH(ASn,"AbstractHashMap/EntrySet",267),Bwn(268,1,OSn,Y6),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){return k4(this)},rSn.Ob=function(){return this.b},rSn.Qb=function(){C1(this)},rSn.b=!1,rSn.d=0,SH(ASn,"AbstractHashMap/EntrySetIterator",268),Bwn(426,1,OSn,kw),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return ZE(this)},rSn.Pb=function(){return UG(this)},rSn.Qb=function(){uU(this)},rSn.b=0,rSn.c=-1,SH(ASn,"AbstractList/IteratorImpl",426),Bwn(98,426,FSn,$V),rSn.Qb=function(){uU(this)},rSn.Rb=function(n){HD(this,n)},rSn.Sb=function(){return this.b>0},rSn.Tb=function(){return this.b},rSn.Ub=function(){return Y$(this.b>0),this.a.Xb(this.c=--this.b)},rSn.Vb=function(){return this.b-1},rSn.Wb=function(n){Z$(-1!=this.c),this.a.hd(this.c,n)},SH(ASn,"AbstractList/ListIteratorImpl",98),Bwn(244,56,wPn,Ez),rSn.bd=function(n,t){xz(n,this.b),this.c.bd(this.a+n,t),++this.b},rSn.Xb=function(n){return Rz(n,this.b),this.c.Xb(this.a+n)},rSn.gd=function(n){var t;return Rz(n,this.b),t=this.c.gd(this.a+n),--this.b,t},rSn.hd=function(n,t){return Rz(n,this.b),this.c.hd(this.a+n,t)},rSn.gc=function(){return this.b},rSn.a=0,rSn.b=0,SH(ASn,"AbstractList/SubList",244),Bwn(266,$Sn,DSn,tw),rSn.$b=function(){this.a.$b()},rSn.Hc=function(n){return this.a._b(n)},rSn.Kc=function(){return new ow(this.a.vc().Kc())},rSn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},rSn.gc=function(){return this.a.gc()},SH(ASn,"AbstractMap/1",266),Bwn(541,1,OSn,ow),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return this.a.Ob()},rSn.Pb=function(){return YR(this.a.Pb(),44).ld()},rSn.Qb=function(){this.a.Qb()},SH(ASn,"AbstractMap/1/1",541),Bwn(231,31,NSn,uw),rSn.$b=function(){this.a.$b()},rSn.Hc=function(n){return this.a.uc(n)},rSn.Kc=function(){return new sw(this.a.vc().Kc())},rSn.gc=function(){return this.a.gc()},SH(ASn,"AbstractMap/2",231),Bwn(301,1,OSn,sw),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return this.a.Ob()},rSn.Pb=function(){return YR(this.a.Pb(),44).md()},rSn.Qb=function(){this.a.Qb()},SH(ASn,"AbstractMap/2/1",301),Bwn(494,1,{494:1,44:1}),rSn.Fb=function(n){var t;return!!hL(n,44)&&(t=YR(n,44),XU(this.d,t.ld())&&XU(this.e,t.md()))},rSn.ld=function(){return this.d},rSn.md=function(){return this.e},rSn.Hb=function(){return OA(this.d)^OA(this.e)},rSn.nd=function(n){return _D(this,n)},rSn.Ib=function(){return this.d+"="+this.e},SH(ASn,"AbstractMap/AbstractEntry",494),Bwn(397,494,{494:1,397:1,44:1},dS),SH(ASn,"AbstractMap/SimpleEntry",397),Bwn(2082,1,OCn),rSn.Fb=function(n){var t;return!!hL(n,44)&&(t=YR(n,44),XU(this.ld(),t.ld())&&XU(this.md(),t.md()))},rSn.Hb=function(){return OA(this.ld())^OA(this.md())},rSn.Ib=function(){return this.ld()+"="+this.md()},SH(ASn,BSn,2082),Bwn(2090,2065,xSn),rSn.Xc=function(n){return sT(this.Ee(n))},rSn.tc=function(n){return kJ(this,n)},rSn._b=function(n){return BD(this,n)},rSn.vc=function(){return new lw(this)},rSn.Tc=function(){return OB(this.Ge())},rSn.Yc=function(n){return sT(this.He(n))},rSn.xc=function(n){var t;return t=n,UI(this.Fe(t))},rSn.$c=function(n){return sT(this.Ie(n))},rSn.ec=function(){return new hw(this)},rSn.Vc=function(){return OB(this.Je())},rSn._c=function(n){return sT(this.Ke(n))},SH(ASn,"AbstractNavigableMap",2090),Bwn(629,$Sn,DSn,lw),rSn.Hc=function(n){return hL(n,44)&&kJ(this.b,YR(n,44))},rSn.Kc=function(){return this.b.De()},rSn.Mc=function(n){var t;return!!hL(n,44)&&(t=YR(n,44),this.b.Le(t))},rSn.gc=function(){return this.b.gc()},SH(ASn,"AbstractNavigableMap/EntrySet",629),Bwn(1146,$Sn,KSn,hw),rSn.Nc=function(){return new fS(this)},rSn.$b=function(){this.a.$b()},rSn.Hc=function(n){return BD(this.a,n)},rSn.Kc=function(){return new fw(this.a.vc().b.De())},rSn.Mc=function(n){return!!BD(this.a,n)&&(this.a.Bc(n),!0)},rSn.gc=function(){return this.a.gc()},SH(ASn,"AbstractNavigableMap/NavigableKeySet",1146),Bwn(1147,1,OSn,fw),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return ZE(this.a.a)},rSn.Pb=function(){return d$(this.a).ld()},rSn.Qb=function(){nR(this.a)},SH(ASn,"AbstractNavigableMap/NavigableKeySet/1",1147),Bwn(2103,31,NSn),rSn.Fc=function(n){return sK(ihn(this,n),ACn),!0},rSn.Gc=function(n){return jU(n),uK(n!=this,"Can't add a queue to itself"),V4(this,n)},rSn.$b=function(){for(;null!=a0(this););},SH(ASn,"AbstractQueue",2103),Bwn(310,31,{4:1,20:1,31:1,16:1},qL,DV),rSn.Fc=function(n){return MW(this,n),!0},rSn.$b=function(){rQ(this)},rSn.Hc=function(n){return Q5(new iG(this),n)},rSn.dc=function(){return Hy(this)},rSn.Kc=function(){return new iG(this)},rSn.Mc=function(n){return function(n,t){return!!Q5(n,t)&&(P3(n),!0)}(new iG(this),n)},rSn.gc=function(){return this.c-this.b&this.a.length-1},rSn.Nc=function(){return new Fz(this,272)},rSn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&_H(n,t,null),n},rSn.b=0,rSn.c=0,SH(ASn,"ArrayDeque",310),Bwn(459,1,OSn,iG),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return this.a!=this.b},rSn.Pb=function(){return R7(this)},rSn.Qb=function(){P3(this)},rSn.a=0,rSn.b=0,rSn.c=-1,SH(ASn,"ArrayDeque/IteratorImpl",459),Bwn(13,56,LCn,Tm,gY,Wx),rSn.bd=function(n,t){n_(this,n,t)},rSn.Fc=function(n){return LL(this,n)},rSn.cd=function(n,t){return l7(this,n,t)},rSn.Gc=function(n){return Y5(this,n)},rSn.$b=function(){fv(this.c,0)},rSn.Hc=function(n){return-1!=y1(this,n,0)},rSn.Jc=function(n){t2(this,n)},rSn.Xb=function(n){return wF(this,n)},rSn.dd=function(n){return y1(this,n,0)},rSn.dc=function(){return 0==this.c.length},rSn.Kc=function(){return new mw(this)},rSn.gd=function(n){return HJ(this,n)},rSn.Mc=function(n){return p1(this,n)},rSn.ce=function(n,t){jz(this,n,t)},rSn.hd=function(n,t){return nJ(this,n,t)},rSn.gc=function(){return this.c.length},rSn.jd=function(n){BA(this,n)},rSn.Pc=function(){return KK(this.c)},rSn.Qc=function(n){return jrn(this,n)};var HGn,UGn,GGn,qGn,XGn,zGn,VGn,WGn,QGn,JGn=SH(ASn,"ArrayList",13);Bwn(7,1,OSn,mw),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return HA(this)},rSn.Pb=function(){return zz(this)},rSn.Qb=function(){zB(this)},rSn.a=0,rSn.b=-1,SH(ASn,"ArrayList/1",7),Bwn(2112,e.Function,{},P),rSn.Me=function(n,t){return dtn(n,t)},Bwn(151,56,NCn,Fy),rSn.Hc=function(n){return-1!=O3(this,n)},rSn.Jc=function(n){var t,e,i,r;for(jU(n),i=0,r=(e=this.a).length;i0)throw Nm(new Iy(VCn+n+" greater than "+this.e));return this.f.Te()?aX(this.c,this.b,this.a,n,t):Oz(this.c,n,t)},rSn.zc=function(n,t){if(!fon(this.c,this.f,n,this.b,this.a,this.e,this.d))throw Nm(new Iy(n+" outside the range "+this.b+" to "+this.e));return X8(this.c,n,t)},rSn.Bc=function(n){var t;return t=n,fon(this.c,this.f,t,this.b,this.a,this.e,this.d)?sX(this.c,t):null},rSn.Le=function(n){return hU(this,n.ld())&&rZ(this.c,n)},rSn.gc=function(){var n,t,e;if(!((t=this.f.Te()?this.a?win(this.c,this.b,!0):win(this.c,this.b,!1):e1(this.c))&&hU(this,t.d)&&t))return 0;for(n=0,e=new o6(this.c,this.f,this.b,this.a,this.e,this.d);ZE(e.a);e.b=YR(UG(e.a),44))++n;return n},rSn.ad=function(n,t){if(this.f.Te()&&this.c.a.Ne(n,this.b)<0)throw Nm(new Iy(VCn+n+WCn+this.b));return this.f.Ue()?aX(this.c,n,t,this.e,this.d):Az(this.c,n,t)},rSn.a=!1,rSn.d=!1,SH(ASn,"TreeMap/SubMap",631),Bwn(304,22,QCn,lS),rSn.Te=function(){return!1},rSn.Ue=function(){return!1};var pqn,mqn=c3(ASn,"TreeMap/SubMapType",304,EUn,(function(){return BZ(),o8(sM(mqn,1),bPn,304,0,[lqn,bqn,wqn,dqn])}),(function(n){return BZ(),r3((_Z(),pqn),n)}));Bwn(1143,304,QCn,kA),rSn.Ue=function(){return!0},c3(ASn,"TreeMap/SubMapType/1",1143,mqn,null,null),Bwn(1144,304,QCn,ZA),rSn.Te=function(){return!0},rSn.Ue=function(){return!0},c3(ASn,"TreeMap/SubMapType/2",1144,mqn,null,null),Bwn(1145,304,QCn,vA),rSn.Te=function(){return!0},c3(ASn,"TreeMap/SubMapType/3",1145,mqn,null,null),Bwn(157,$Sn,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},mv,TT,Ow),rSn.Nc=function(){return new fS(this)},rSn.Fc=function(n){return DB(this,n)},rSn.$b=function(){this.a.$b()},rSn.Hc=function(n){return this.a._b(n)},rSn.Kc=function(){return this.a.ec().Kc()},rSn.Mc=function(n){return CL(this,n)},rSn.gc=function(){return this.a.gc()};var vqn=SH(ASn,"TreeSet",157);Bwn(1082,1,{},Aw),rSn.Ve=function(n,t){return function(n,t,e){return n.Ne(t,e)<=0?e:t}(this.a,n,t)},SH(JCn,"BinaryOperator/lambda$0$Type",1082),Bwn(1083,1,{},Lw),rSn.Ve=function(n,t){return function(n,t,e){return n.Ne(t,e)<=0?t:e}(this.a,n,t)},SH(JCn,"BinaryOperator/lambda$1$Type",1083),Bwn(952,1,{},H),rSn.Kb=function(n){return n},SH(JCn,"Function/lambda$0$Type",952),Bwn(395,1,pPn,Nw),rSn.Mb=function(n){return!this.a.Mb(n)},SH(JCn,"Predicate/lambda$2$Type",395),Bwn(581,1,{581:1});var kqn,yqn,Mqn=SH(YCn,"Handler",581);Bwn(2107,1,pSn),rSn.xe=function(){return"DUMMY"},rSn.Ib=function(){return this.xe()},SH(YCn,"Level",2107),Bwn(1706,2107,pSn,U),rSn.xe=function(){return"INFO"},SH(YCn,"Level/LevelInfo",1706),Bwn(1843,1,{},pv),SH(YCn,"LogManager",1843),Bwn(1896,1,pSn,Zx),rSn.b=null,SH(YCn,"LogRecord",1896),Bwn(525,1,{525:1},rJ),rSn.e=!1;var Tqn,jqn,Eqn,Sqn=!1,Pqn=!1,Cqn=!1,Iqn=!1,Oqn=!1;SH(YCn,"Logger",525),Bwn(835,581,{581:1},G),SH(YCn,"SimpleConsoleLogHandler",835),Bwn(108,22,{3:1,34:1,22:1,108:1},bS);var Aqn,Lqn=c3(tIn,"Collector/Characteristics",108,EUn,(function(){return u7(),o8(sM(Lqn,1),bPn,108,0,[Tqn,jqn,Eqn])}),(function(n){return u7(),r3((XY(),Aqn),n)}));Bwn(758,1,{},HB),SH(tIn,"CollectorImpl",758),Bwn(1074,1,{},q),rSn.Ve=function(n,t){return function(n,t){var e;return t.a&&(e=t.a.a.length,n.a?cO(n.a,n.b):n.a=new yN(n.d),NV(n.a,t.a,t.d.length,e)),n}(YR(n,213),YR(t,213))},SH(tIn,"Collectors/10methodref$merge$Type",1074),Bwn(1075,1,{},X),rSn.Kb=function(n){return KV(YR(n,213))},SH(tIn,"Collectors/11methodref$toString$Type",1075),Bwn(1076,1,{},$w),rSn.Kb=function(n){return GN(),!!DO(n)},SH(tIn,"Collectors/12methodref$test$Type",1076),Bwn(144,1,{},z),rSn.Yd=function(n,t){YR(n,16).Fc(t)},SH(tIn,"Collectors/20methodref$add$Type",144),Bwn(146,1,{},V),rSn.Xe=function(){return new Tm},SH(tIn,"Collectors/21methodref$ctor$Type",146),Bwn(359,1,{},W),rSn.Xe=function(){return new gv},SH(tIn,"Collectors/23methodref$ctor$Type",359),Bwn(360,1,{},Q),rSn.Yd=function(n,t){$B(YR(n,49),t)},SH(tIn,"Collectors/24methodref$add$Type",360),Bwn(1069,1,{},J),rSn.Ve=function(n,t){return eE(YR(n,15),YR(t,16))},SH(tIn,"Collectors/4methodref$addAll$Type",1069),Bwn(1073,1,{},Y),rSn.Yd=function(n,t){qJ(YR(n,213),YR(t,484))},SH(tIn,"Collectors/9methodref$add$Type",1073),Bwn(1072,1,{},tK),rSn.Xe=function(){return new E5(this.a,this.b,this.c)},SH(tIn,"Collectors/lambda$15$Type",1072),Bwn(1077,1,{},Z),rSn.Xe=function(){var n;return Orn(n=new vQ,(GN(),!1),new Tm),Orn(n,!0,new Tm),n},SH(tIn,"Collectors/lambda$22$Type",1077),Bwn(1078,1,{},Dw),rSn.Xe=function(){return o8(sM(hUn,1),ySn,1,5,[this.a])},SH(tIn,"Collectors/lambda$25$Type",1078),Bwn(1079,1,{},xw),rSn.Yd=function(n,t){!function(n,t){_H(t,0,pF(t[0],Yin(1)))}(this.a,i3(n))},SH(tIn,"Collectors/lambda$26$Type",1079),Bwn(1080,1,{},Rw),rSn.Ve=function(n,t){return function(n,t,e){return _H(t,0,pF(t[0],e[0])),t}(this.a,i3(n),i3(t))},SH(tIn,"Collectors/lambda$27$Type",1080),Bwn(1081,1,{},nn),rSn.Kb=function(n){return i3(n)[0]},SH(tIn,"Collectors/lambda$28$Type",1081),Bwn(728,1,{},tn),rSn.Ve=function(n,t){return pF(n,t)},SH(tIn,"Collectors/lambda$4$Type",728),Bwn(145,1,{},en),rSn.Ve=function(n,t){return function(n,t){return n.Gc(t),n}(YR(n,16),YR(t,16))},SH(tIn,"Collectors/lambda$42$Type",145),Bwn(361,1,{},rn),rSn.Ve=function(n,t){return function(n,t){return V4(n,t),n}(YR(n,49),YR(t,49))},SH(tIn,"Collectors/lambda$50$Type",361),Bwn(362,1,{},cn),rSn.Kb=function(n){return YR(n,49)},SH(tIn,"Collectors/lambda$51$Type",362),Bwn(1068,1,{},Kw),rSn.Yd=function(n,t){!function(n,t,e){var i,r;GN(),i=!!DO(e),(r=YR(t.xc(i),15))||(r=new Tm,t.zc(i,r)),r.Fc(e)}(this.a,YR(n,85),t)},SH(tIn,"Collectors/lambda$7$Type",1068),Bwn(1070,1,{},an),rSn.Ve=function(n,t){return function(n,t,e){var i,r;for(r=t.vc().Kc();r.Ob();)i=YR(r.Pb(),44),n.yc(i.ld(),i.md(),e);return n}(YR(n,85),YR(t,85),new J)},SH(tIn,"Collectors/lambda$8$Type",1070),Bwn(1071,1,{},Fw),rSn.Kb=function(n){return function(n,t){var e,i,r;for(r=new Mm,i=t.vc().Kc();i.Ob();)xU(r,(e=YR(i.Pb(),44)).ld(),c5(n,YR(e.md(),15)));return r}(this.a,YR(n,85))},SH(tIn,"Collectors/lambda$9$Type",1071),Bwn(550,1,{}),rSn.$e=function(){vU(this)},rSn.d=!1,SH(tIn,"TerminatableStream",550),Bwn(827,550,eIn,cD),rSn.$e=function(){vU(this)},SH(tIn,"DoubleStreamImpl",827),Bwn(1847,736,qSn,eK),rSn.Re=function(n){return function(n,t){var e;return n.a||(e=eZ(ngt,ECn,28,0,15,1),xT(n.b.a,new _w(e)),_m(e,w2(P.prototype.Me,P,[])),n.a=new _x(e,n.d)),dY(n.a,t)}(this,YR(n,189))},rSn.a=null,SH(tIn,"DoubleStreamImpl/2",1847),Bwn(1848,1,xCn,_w),rSn.Pe=function(n){!function(n,t){n[n.length]=t}(this.a,n)},SH(tIn,"DoubleStreamImpl/2/lambda$0$Type",1848),Bwn(1845,1,xCn,Bw),rSn.Pe=function(n){!function(n,t){n[n.length]=t}(this.a,n)},SH(tIn,"DoubleStreamImpl/lambda$0$Type",1845),Bwn(1846,1,xCn,Hw),rSn.Pe=function(n){Uen(this.a,n)},SH(tIn,"DoubleStreamImpl/lambda$2$Type",1846),Bwn(1397,735,qSn,cJ),rSn.Re=function(n){return function(n,t){return n.a<=n.b&&(t.Dd(n.a++),!0)}(this,YR(n,202))},rSn.a=0,rSn.b=0,rSn.c=0,SH(tIn,"IntStream/5",1397),Bwn(806,550,eIn,aD),rSn.$e=function(){vU(this)},rSn._e=function(){return mU(this),this.a},SH(tIn,"IntStreamImpl",806),Bwn(807,550,eIn,Jj),rSn.$e=function(){vU(this)},rSn._e=function(){return mU(this),ZL(),hqn},SH(tIn,"IntStreamImpl/Empty",807),Bwn(1687,1,zSn,Uw),rSn.Dd=function(n){i5(this.a,n)},SH(tIn,"IntStreamImpl/lambda$4$Type",1687);var Nqn,$qn=tF(tIn,"Stream");Bwn(26,550,{533:1,687:1,848:1},CF),rSn.$e=function(){vU(this)},SH(tIn,"StreamImpl",26),Bwn(1102,500,qSn,xx),rSn.Bd=function(n){for(;OZ(this);){if(this.a.Bd(n))return!0;vU(this.b),this.b=null,this.a=null}return!1},SH(tIn,"StreamImpl/1",1102),Bwn(1103,1,XSn,Gw),rSn.Cd=function(n){!function(n,t){t&&(n.b=t,n.a=(mU(t),t.a))}(this.a,YR(n,848))},SH(tIn,"StreamImpl/1/lambda$0$Type",1103),Bwn(1104,1,pPn,qw),rSn.Mb=function(n){return $B(this.a,n)},SH(tIn,"StreamImpl/1methodref$add$Type",1104),Bwn(1105,500,qSn,VG),rSn.Bd=function(n){var t;return this.a||(t=new Tm,this.b.a.Nb(new Xw(t)),iq(),BA(t,this.c),this.a=new Fz(t,16)),q0(this.a,n)},rSn.a=null,SH(tIn,"StreamImpl/5",1105),Bwn(1106,1,XSn,Xw),rSn.Cd=function(n){LL(this.a,n)},SH(tIn,"StreamImpl/5/2methodref$add$Type",1106),Bwn(737,500,qSn,c1),rSn.Bd=function(n){for(this.b=!1;!this.b&&this.c.Bd(new gS(this,n)););return this.b},rSn.b=!1,SH(tIn,"StreamImpl/FilterSpliterator",737),Bwn(1096,1,XSn,gS),rSn.Cd=function(n){!function(n,t,e){n.a.Mb(e)&&(n.b=!0,t.Cd(e))}(this.a,this.b,n)},SH(tIn,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),Bwn(1091,736,qSn,zJ),rSn.Re=function(n){return function(n,t){return n.b.Bd(new pS(n,t))}(this,YR(n,189))},SH(tIn,"StreamImpl/MapToDoubleSpliterator",1091),Bwn(1095,1,XSn,pS),rSn.Cd=function(n){!function(n,t,e){t.Pe(n.a.Ye(e))}(this.a,this.b,n)},SH(tIn,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),Bwn(1090,735,qSn,VJ),rSn.Re=function(n){return function(n,t){return n.b.Bd(new mS(n,t))}(this,YR(n,202))},SH(tIn,"StreamImpl/MapToIntSpliterator",1090),Bwn(1094,1,XSn,mS),rSn.Cd=function(n){!function(n,t,e){t.Dd(n.a.Ze(e))}(this.a,this.b,n)},SH(tIn,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),Bwn(734,500,qSn,WJ),rSn.Bd=function(n){return Ox(this,n)},SH(tIn,"StreamImpl/MapToObjSpliterator",734),Bwn(1093,1,XSn,vS),rSn.Cd=function(n){!function(n,t,e){t.Cd(n.a.Kb(e))}(this.a,this.b,n)},SH(tIn,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),Bwn(1092,500,qSn,V3),rSn.Bd=function(n){for(;nS(this.b,0);){if(!this.a.Bd(new on))return!1;this.b=$tn(this.b,1)}return this.a.Bd(n)},rSn.b=0,SH(tIn,"StreamImpl/SkipSpliterator",1092),Bwn(1097,1,XSn,on),rSn.Cd=function(n){},SH(tIn,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),Bwn(626,1,XSn,un),rSn.Cd=function(n){Cb(this,n)},SH(tIn,"StreamImpl/ValueConsumer",626),Bwn(1098,1,XSn,sn),rSn.Cd=function(n){Yj()},SH(tIn,"StreamImpl/lambda$0$Type",1098),Bwn(1099,1,XSn,hn),rSn.Cd=function(n){Yj()},SH(tIn,"StreamImpl/lambda$1$Type",1099),Bwn(1100,1,{},zw),rSn.Ve=function(n,t){return function(n,t,e){return Yj(),n.a.Yd(t,e),t}(this.a,n,t)},SH(tIn,"StreamImpl/lambda$4$Type",1100),Bwn(1101,1,XSn,yS),rSn.Cd=function(n){!function(n,t,e){Yj(),Cb(n,t.Ve(n.a,e))}(this.b,this.a,n)},SH(tIn,"StreamImpl/lambda$5$Type",1101),Bwn(1107,1,XSn,Vw),rSn.Cd=function(n){!function(n,t){var e;try{t.de()}catch(t){if(!hL(t=z5(t),82))throw Nm(t);e=t,Fm(n.c,e)}}(this.a,YR(n,380))},SH(tIn,"TerminatableStream/lambda$0$Type",1107),Bwn(2142,1,{}),Bwn(2014,1,{},fn),SH("javaemul.internal","ConsoleLogger",2014);var Dqn=0;Bwn(2134,1,{}),Bwn(1830,1,XSn,ln),rSn.Cd=function(n){YR(n,317)},SH(uIn,"BowyerWatsonTriangulation/lambda$0$Type",1830),Bwn(1831,1,XSn,Qw),rSn.Cd=function(n){V4(this.a,YR(n,317).e)},SH(uIn,"BowyerWatsonTriangulation/lambda$1$Type",1831),Bwn(1832,1,XSn,bn),rSn.Cd=function(n){YR(n,177)},SH(uIn,"BowyerWatsonTriangulation/lambda$2$Type",1832),Bwn(1827,1,sIn,Jw),rSn.Ne=function(n,t){return function(n,t,e){return K_(V$(UI(QF(n.f,t))),V$(UI(QF(n.f,e))))}(this.a,YR(n,177),YR(t,177))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(uIn,"NaiveMinST/lambda$0$Type",1827),Bwn(449,1,{},Ww),SH(uIn,"NodeMicroLayout",449),Bwn(177,1,{177:1},kS),rSn.Fb=function(n){var t;return!!hL(n,177)&&(t=YR(n,177),XU(this.a,t.a)&&XU(this.b,t.b)||XU(this.a,t.b)&&XU(this.b,t.a))},rSn.Hb=function(){return OA(this.a)+OA(this.b)};var xqn=SH(uIn,"TEdge",177);Bwn(317,1,{317:1},Syn),rSn.Fb=function(n){var t;return!!hL(n,317)&&N1(this,(t=YR(n,317)).a)&&N1(this,t.b)&&N1(this,t.c)},rSn.Hb=function(){return OA(this.a)+OA(this.b)+OA(this.c)},SH(uIn,"TTriangle",317),Bwn(225,1,{225:1},nL),SH(uIn,"Tree",225),Bwn(1218,1,{},VX),SH(hIn,"Scanline",1218);var Rqn=tF(hIn,fIn);Bwn(1758,1,{},$0),SH(lIn,"CGraph",1758),Bwn(316,1,{316:1},JX),rSn.b=0,rSn.c=0,rSn.d=0,rSn.g=0,rSn.i=0,rSn.k=vCn,SH(lIn,"CGroup",316),Bwn(830,1,{},Ev),SH(lIn,"CGroup/CGroupBuilder",830),Bwn(60,1,{60:1},YD),rSn.Ib=function(){return this.j?W$(this.j.Kb(this)):(Q$(Hqn),Hqn.o+"@"+(_N(this)>>>0).toString(16))},rSn.f=0,rSn.i=vCn;var Kqn,Fqn,_qn,Bqn,Hqn=SH(lIn,"CNode",60);Bwn(829,1,{},Sv),SH(lIn,"CNode/CNodeBuilder",829),Bwn(1590,1,{},wn),rSn.ff=function(n,t){return 0},rSn.gf=function(n,t){return 0},SH(lIn,wIn,1590),Bwn(1853,1,{},dn),rSn.cf=function(n){var t,i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(h=mCn,r=new mw(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},rSn.kf=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=uen(this,Won(this,null,!0));else for(k2(),i=0,r=(t=o8(sM(jXn,1),bPn,237,0,[vXn,kXn,yXn])).length;i0?c+this.n.b+this.n.c:0},rSn.lf=function(){var n,t,e,i,r;if(this.g)for(n=Won(this,null,!1),k2(),i=0,r=(e=o8(sM(jXn,1),bPn,237,0,[vXn,kXn,yXn])).length;i0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=e.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=e.Math.max(r[1],i),RJ(this,kXn,t.d+n.d+r[0]-(r[1]-i)/2,r)},rSn.b=null,rSn.d=0,rSn.e=!1,rSn.f=!1,rSn.g=!1;var EXn,SXn,PXn,CXn=0,IXn=0;SH(FIn,"GridContainerCell",1538),Bwn(471,22,{3:1,34:1,22:1,471:1},PS);var OXn,AXn=c3(FIn,"HorizontalLabelAlignment",471,EUn,(function(){return HZ(),o8(sM(AXn,1),bPn,471,0,[SXn,EXn,PXn])}),(function(n){return HZ(),r3((UY(),OXn),n)}));Bwn(314,217,{217:1,314:1},mX,x0,Xq),rSn.jf=function(){return _K(this)},rSn.kf=function(){return BK(this)},rSn.a=0,rSn.c=!1;var LXn,NXn,$Xn,DXn=SH(FIn,"LabelCell",314);Bwn(252,336,{217:1,336:1,252:1},orn),rSn.jf=function(){return ybn(this)},rSn.kf=function(){return Mbn(this)},rSn.lf=function(){lyn(this)},rSn.mf=function(){pyn(this)},rSn.b=0,rSn.c=0,rSn.d=!1,SH(FIn,"StripContainerCell",252),Bwn(1691,1,pPn,Mn),rSn.Mb=function(n){return function(n){return!!n&&n.k}(YR(n,217))},SH(FIn,"StripContainerCell/lambda$0$Type",1691),Bwn(1692,1,{},Tn),rSn.Ye=function(n){return YR(n,217).kf()},SH(FIn,"StripContainerCell/lambda$1$Type",1692),Bwn(1693,1,pPn,jn),rSn.Mb=function(n){return function(n){return!!n&&n.j}(YR(n,217))},SH(FIn,"StripContainerCell/lambda$2$Type",1693),Bwn(1694,1,{},En),rSn.Ye=function(n){return YR(n,217).jf()},SH(FIn,"StripContainerCell/lambda$3$Type",1694),Bwn(472,22,{3:1,34:1,22:1,472:1},CS);var xXn,RXn,KXn,FXn,_Xn,BXn,HXn,UXn,GXn,qXn,XXn,zXn,VXn,WXn,QXn,JXn,YXn,ZXn,nzn,tzn,ezn,izn,rzn,czn=c3(FIn,"VerticalLabelAlignment",472,EUn,(function(){return V1(),o8(sM(czn,1),bPn,472,0,[$Xn,NXn,LXn])}),(function(n){return V1(),r3((qY(),xXn),n)}));Bwn(800,1,{},Cjn),rSn.c=0,rSn.d=0,rSn.k=0,rSn.s=0,rSn.t=0,rSn.v=!1,rSn.w=0,rSn.D=!1,rSn.F=!1,SH(zIn,"NodeContext",800),Bwn(1536,1,sIn,Sn),rSn.Ne=function(n,t){return UO(YR(n,64),YR(t,64))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(zIn,"NodeContext/0methodref$comparePortSides$Type",1536),Bwn(1537,1,sIn,Pn),rSn.Ne=function(n,t){return function(n,t){var e;if(0!=(e=UO(n.b.ag(),t.b.ag())))return e;switch(n.b.ag().g){case 1:case 2:return qA(n.b.Nf(),t.b.Nf());case 3:case 4:return qA(t.b.Nf(),n.b.Nf())}return 0}(YR(n,117),YR(t,117))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(zIn,"NodeContext/1methodref$comparePortContexts$Type",1537),Bwn(164,22,{3:1,34:1,22:1,164:1},s6);var azn,ozn,uzn,szn,hzn,fzn,lzn,bzn=c3(zIn,"NodeLabelLocation",164,EUn,Arn,(function(n){return JEn(),r3((vO(),azn),n)}));Bwn(117,1,{117:1},own),rSn.a=!1,SH(zIn,"PortContext",117),Bwn(1541,1,XSn,Cn),rSn.Cd=function(n){RT(YR(n,314))},SH(QIn,JIn,1541),Bwn(1542,1,pPn,In),rSn.Mb=function(n){return!!YR(n,117).c},SH(QIn,YIn,1542),Bwn(1543,1,XSn,On),rSn.Cd=function(n){RT(YR(n,117).c)},SH(QIn,"LabelPlacer/lambda$2$Type",1543),Bwn(1540,1,XSn,An),rSn.Cd=function(n){kD(),function(n){n.b.Of(n.e)}(YR(n,117))},SH(QIn,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),Bwn(801,1,XSn,bR),rSn.Cd=function(n){LE(this.b,this.c,this.a,YR(n,187))},rSn.a=!1,rSn.c=!1,SH(QIn,"NodeLabelCellCreator/lambda$0$Type",801),Bwn(1539,1,XSn,td),rSn.Cd=function(n){!function(n,t){Sfn(n.c,t)}(this.a,YR(n,187))},SH(QIn,"PortContextCreator/lambda$0$Type",1539),Bwn(1902,1,{},Ln),SH(nOn,"GreedyRectangleStripOverlapRemover",1902),Bwn(1903,1,sIn,Nn),rSn.Ne=function(n,t){return function(n,t){return dtn(n.c.d,t.c.d)}(YR(n,226),YR(t,226))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(nOn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),Bwn(1849,1,{},Av),rSn.a=5,rSn.e=0,SH(nOn,"RectangleStripOverlapRemover",1849),Bwn(1850,1,sIn,$n),rSn.Ne=function(n,t){return function(n,t){return dtn(n.c.c,t.c.c)}(YR(n,226),YR(t,226))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(nOn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),Bwn(1852,1,sIn,Dn),rSn.Ne=function(n,t){return function(n,t){return dtn(n.c.c+n.c.b,t.c.c+t.c.b)}(YR(n,226),YR(t,226))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(nOn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),Bwn(417,22,{3:1,34:1,22:1,417:1},IS);var wzn,dzn,gzn,pzn,mzn,vzn=c3(nOn,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,EUn,(function(){return I5(),o8(sM(vzn,1),bPn,417,0,[lzn,szn,hzn,fzn])}),(function(n){return I5(),r3((GZ(),wzn),n)}));Bwn(226,1,{226:1},u_),SH(nOn,"RectangleStripOverlapRemover/RectangleNode",226),Bwn(1851,1,XSn,ed),rSn.Cd=function(n){!function(n,t){var e,i;switch(i=t.c,e=t.a,n.b.g){case 0:e.d=n.e-i.a-i.d;break;case 1:e.d+=n.e;break;case 2:e.c=n.e-i.a-i.d;break;case 3:e.c=n.e+i.d}}(this.a,YR(n,226))},SH(nOn,"RectangleStripOverlapRemover/lambda$1$Type",1851),Bwn(1323,1,sIn,xn),rSn.Ne=function(n,t){return function(n,t){var e,i,r,c;return e=new Rn,1==(r=2==(r=(i=YR(TQ(sG(new CF(null,new Fz(n.f,16)),e),d1(new W,new Q,new rn,new cn,o8(sM(Lqn,1),bPn,108,0,[(u7(),Eqn),jqn]))),21)).gc())?1:0)&&VI(iin(YR(TQ(uG(i.Lc(),new Kn),_6(Yin(0),new tn)),168).a,2),0)&&(r=0),1==(c=2==(c=(i=YR(TQ(sG(new CF(null,new Fz(t.f,16)),e),d1(new W,new Q,new rn,new cn,o8(sM(Lqn,1),bPn,108,0,[Eqn,jqn]))),21)).gc())?1:0)&&VI(iin(YR(TQ(uG(i.Lc(),new Fn),_6(Yin(0),new tn)),168).a,2),0)&&(c=0),r0?RB(n.a,t,e):RB(n.b,t,e)}(this,YR(n,42),YR(t,176))},SH(eOn,"SuccessorCombination",782),Bwn(649,1,{},zn),rSn.Ve=function(n,t){var i;return function(n){var t,i,r,c,a;return i=c=YR(n.a,17).a,r=a=YR(n.b,17).a,t=e.Math.max(e.Math.abs(c),e.Math.abs(a)),c<=0&&c==a?(i=0,r=a-1):c==-t&&a!=t?(i=a,r=c,a>=0&&++i):(i=-a,r=c),new sI(onn(i),onn(r))}((i=YR(n,42),YR(t,176),i))},SH(eOn,"SuccessorJitter",649),Bwn(648,1,{},Vn),rSn.Ve=function(n,t){var i;return function(n){var t,i;if(t=YR(n.a,17).a,i=YR(n.b,17).a,t>=0){if(t==i)return new sI(onn(-t-1),onn(-t-1));if(t==-i)return new sI(onn(-t),onn(i+1))}return e.Math.abs(t)>e.Math.abs(i)?new sI(onn(-t),onn(t<0?i:i+1)):new sI(onn(t+1),onn(i))}((i=YR(n,42),YR(t,176),i))},SH(eOn,"SuccessorLineByLine",648),Bwn(573,1,{},Wn),rSn.Ve=function(n,t){var e;return function(n){var t,e,i,r;return t=i=YR(n.a,17).a,e=r=YR(n.b,17).a,0==i&&0==r?e-=1:-1==i&&r<=0?(t=0,e-=2):i<=0&&r>0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new sI(onn(t),onn(e))}((e=YR(n,42),YR(t,176),e))},SH(eOn,"SuccessorManhattan",573),Bwn(1344,1,{},Qn),rSn.Ve=function(n,t){var i;return function(n){var t,i,r;return i=YR(n.a,17).a,r=YR(n.b,17).a,i<(t=e.Math.max(e.Math.abs(i),e.Math.abs(r)))&&r==-t?new sI(onn(i+1),onn(r)):i==t&&r=-t&&r==t?new sI(onn(i-1),onn(r)):new sI(onn(i),onn(r-1))}((i=YR(n,42),YR(t,176),i))},SH(eOn,"SuccessorMaxNormWindingInMathPosSense",1344),Bwn(409,1,{},rd),rSn.Ve=function(n,t){return RB(this,n,t)},rSn.c=!1,rSn.d=!1,rSn.e=!1,rSn.f=!1,SH(eOn,"SuccessorQuadrantsGeneric",409),Bwn(1345,1,{},Jn),rSn.Kb=function(n){return YR(n,334).a},SH(eOn,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),Bwn(332,22,{3:1,34:1,22:1,332:1},AS),rSn.a=!1;var kzn,yzn=c3(oOn,uOn,332,EUn,(function(){return ccn(),o8(sM(yzn,1),bPn,332,0,[gzn,dzn,pzn,mzn])}),(function(n){return ccn(),r3((XZ(),kzn),n)}));Bwn(1317,1,{}),rSn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=onn(0),r=0;r0&&B2(p,k*M),y>0&&H2(p,y*T);for(K6(n.b,new ft),t=new Tm,o=new Y6(new ew(n.c).a);o.b;)i=YR((a=k4(o)).ld(),74),e=YR(a.md(),407).a,r=Upn(i,!1,!1),kyn(f=Nsn(Thn(i),Tfn(r),e),r),(v=jhn(i))&&-1==y1(t,v,0)&&(Fm(t.c,v),lG(v,(Y$(0!=f.b),YR(f.a.a.c,8)),e));for(g=new Y6(new ew(n.d).a);g.b;)i=YR((d=k4(g)).ld(),74),e=YR(d.md(),407).a,r=Upn(i,!1,!1),f=Nsn(Shn(i),w9(Tfn(r)),e),kyn(f=w9(f),r),(v=Ehn(i))&&-1==y1(t,v,0)&&(Fm(t.c,v),lG(v,(Y$(0!=f.b),YR(f.c.b.c,8)),e))}(r),ucn(n,Gzn,this.b),t.Vg()},rSn.a=0,SH(yOn,"DisCoLayoutProvider",1114),Bwn(1208,1,{},rt),rSn.c=!1,rSn.e=0,rSn.f=0,SH(yOn,"DisCoPolyominoCompactor",1208),Bwn(567,1,{567:1},PF),rSn.b=!0,SH(MOn,"DCComponent",567),Bwn(406,22,{3:1,34:1,22:1,406:1},NS),rSn.a=!1;var Lzn,Nzn,$zn=c3(MOn,"DCDirection",406,EUn,(function(){return rcn(),o8(sM($zn,1),bPn,406,0,[Czn,Pzn,Izn,Ozn])}),(function(n){return rcn(),r3((qZ(),Lzn),n)}));Bwn(272,137,{3:1,272:1,96:1,137:1},Vwn),SH(MOn,"DCElement",272),Bwn(407,1,{407:1},Tan),rSn.c=0,SH(MOn,"DCExtension",407),Bwn(762,137,dOn,BM),SH(MOn,"DCGraph",762),Bwn(489,22,{3:1,34:1,22:1,489:1},I$);var Dzn,xzn,Rzn,Kzn,Fzn,_zn,Bzn,Hzn,Uzn,Gzn,qzn,Xzn,zzn,Vzn,Wzn,Qzn,Jzn,Yzn,Zzn,nVn,tVn,eVn=c3(TOn,jOn,489,EUn,(function(){return bE(),o8(sM(eVn,1),bPn,489,0,[Nzn])}),(function(n){return bE(),r3((eW(),Dzn),n)}));Bwn(865,1,$In,_f),rSn.hf=function(n){Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,EOn),IOn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Kzn),(Jfn(),lat)),eVn),mtn(($rn(),aat))))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,SOn),IOn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),gat),IGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,POn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),dat),hUn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,COn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),dat),hUn),mtn(aat)))),rMn((new Bf,n))},SH(TOn,"DisCoMetaDataProvider",865),Bwn(1010,1,$In,Bf),rSn.hf=function(n){rMn(n)},SH(TOn,"DisCoOptions",1010),Bwn(1011,1,{},ct),rSn.sf=function(){return new it},rSn.tf=function(n){},SH(TOn,"DisCoOptions/DiscoFactory",1011),Bwn(568,176,{330:1,176:1,568:1},Hdn),rSn.a=0,rSn.b=0,rSn.c=0,rSn.d=0,SH("org.eclipse.elk.alg.disco.structures","DCPolyomino",568),Bwn(1286,1,pPn,at),rSn.Mb=function(n){return DO(n)},SH(DOn,"ElkGraphComponentsProcessor/lambda$0$Type",1286),Bwn(1287,1,{},ot),rSn.Kb=function(n){return cq(),Thn(YR(n,74))},SH(DOn,"ElkGraphComponentsProcessor/lambda$1$Type",1287),Bwn(1288,1,pPn,ut),rSn.Mb=function(n){return function(n){return cq(),Thn(n)==BX(Shn(n))}(YR(n,74))},SH(DOn,"ElkGraphComponentsProcessor/lambda$2$Type",1288),Bwn(1289,1,{},st),rSn.Kb=function(n){return cq(),Shn(YR(n,74))},SH(DOn,"ElkGraphComponentsProcessor/lambda$3$Type",1289),Bwn(1290,1,pPn,ht),rSn.Mb=function(n){return function(n){return cq(),Shn(n)==BX(Thn(n))}(YR(n,74))},SH(DOn,"ElkGraphComponentsProcessor/lambda$4$Type",1290),Bwn(1291,1,pPn,ad),rSn.Mb=function(n){return function(n,t){return cq(),n==BX(Thn(t))||n==BX(Shn(t))}(this.a,YR(n,74))},SH(DOn,"ElkGraphComponentsProcessor/lambda$5$Type",1291),Bwn(1292,1,{},od),rSn.Kb=function(n){return function(n,t){return cq(),n==Thn(t)?Shn(t):Thn(t)}(this.a,YR(n,74))},SH(DOn,"ElkGraphComponentsProcessor/lambda$6$Type",1292),Bwn(1205,1,{},VW),rSn.a=0,SH(DOn,"ElkGraphTransformer",1205),Bwn(1206,1,{},ft),rSn.Yd=function(n,t){!function(n,t,e){var i,r,c,a;n.a=e.b.d,hL(t,326)?(JQ(c=Tfn(r=Upn(YR(t,74),!1,!1)),i=new ud(n)),kyn(c,r),null!=t.of((zEn(),Cot))&&JQ(YR(t.of(Cot),75),i)):((a=YR(t,422)).rh(a.nh()+n.a.a),a.sh(a.oh()+n.a.b))}(this,YR(n,167),YR(t,272))},SH(DOn,"ElkGraphTransformer/OffsetApplier",1206),Bwn(1207,1,XSn,ud),rSn.Cd=function(n){!function(n,t){M$(t,n.a.a.a,n.a.a.b)}(this,YR(n,8))},SH(DOn,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1207),Bwn(760,1,{},lt),SH(_On,BOn,760),Bwn(1195,1,sIn,bt),rSn.Ne=function(n,t){return function(n,t){var e,i,r;return 0==(e=YR(phn(t,(Akn(),IVn)),17).a-YR(phn(n,IVn),17).a)?(i=lx(aL(YR(phn(n,(v4(),HVn)),8)),YR(phn(n,UVn),8)),r=lx(aL(YR(phn(t,HVn),8)),YR(phn(t,UVn),8)),dtn(i.a*i.b,r.a*r.b)):e}(YR(n,235),YR(t,235))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(_On,HOn,1195),Bwn(1196,1,XSn,$S),rSn.Cd=function(n){!function(n,t,e){var i;fx(i=new YO(e.d),n),Etn(t,i.a,i.b)}(this.b,this.a,YR(n,250))},SH(_On,UOn,1196),Bwn(738,205,mOn,jv),rSn.rf=function(n,t){Wdn(this,n,t)},SH(_On,"ForceLayoutProvider",738),Bwn(309,137,{3:1,309:1,96:1,137:1}),SH(GOn,"FParticle",309),Bwn(250,309,{3:1,250:1,309:1,96:1,137:1},wH),rSn.Ib=function(){var n;return this.a?(n=y1(this.a.a,this,0))>=0?"b"+n+"["+QQ(this.a)+"]":"b["+QQ(this.a)+"]":"b_"+_N(this)},SH(GOn,"FBendpoint",250),Bwn(290,137,{3:1,290:1,96:1,137:1},ZD),rSn.Ib=function(){return QQ(this)},SH(GOn,"FEdge",290),Bwn(235,137,{3:1,235:1,96:1,137:1},ZJ);var iVn,rVn,cVn,aVn,oVn,uVn,sVn,hVn,fVn,lVn,bVn=SH(GOn,"FGraph",235);Bwn(454,309,{3:1,454:1,309:1,96:1,137:1},zW),rSn.Ib=function(){return null==this.b||0==this.b.length?"l["+QQ(this.a)+"]":"l_"+this.b},SH(GOn,"FLabel",454),Bwn(153,309,{3:1,153:1,309:1,96:1,137:1},JA),rSn.Ib=function(){return tV(this)},rSn.a=0,SH(GOn,"FNode",153),Bwn(2100,1,{}),rSn.vf=function(n){Hkn(this,n)},rSn.wf=function(){Kan(this)},rSn.d=0,SH(XOn,"AbstractForceModel",2100),Bwn(641,2100,{641:1},J6),rSn.uf=function(n,t){var i,r,c,a;return aTn(this.f,n,t),c=lx(aL(t.d),n.d),a=e.Math.sqrt(c.a*c.a+c.b*c.b),r=e.Math.max(0,a-sU(n.e)/2-sU(t.e)/2),AL(c,((i=Hbn(this.e,n,t))>0?-function(n,t){return n>0?e.Math.log(n/t):-100}(r,this.c)*i:function(n,t){return n>0?t/(n*n):100*t}(r,this.b)*YR(phn(n,(Akn(),IVn)),17).a)/a),c},rSn.vf=function(n){Hkn(this,n),this.a=YR(phn(n,(Akn(),mVn)),17).a,this.c=vy(V$(phn(n,DVn))),this.b=vy(V$(phn(n,AVn)))},rSn.xf=function(n){return n0?t*t/n:t*t*100}(r=e.Math.max(0,o-sU(n.e)/2-sU(t.e)/2),this.a)*YR(phn(n,(Akn(),IVn)),17).a,(i=Hbn(this.e,n,t))>0&&(a-=function(n,t){return n*n/t}(r,this.a)*i),AL(c,a*this.b/o),c},rSn.vf=function(n){var t,i,r,c,a,o,u;for(Hkn(this,n),this.b=vy(V$(phn(n,(Akn(),xVn)))),this.c=this.b/YR(phn(n,mVn),17).a,r=n.e.c.length,a=0,c=0,u=new mw(n.e);u.a0},rSn.a=0,rSn.b=0,rSn.c=0,SH(XOn,"FruchtermanReingoldModel",642),Bwn(860,1,$In,Hf),rSn.hf=function(n){Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,zOn),""),"Force Model"),"Determines the model for force calculation."),cVn),(Jfn(),lat)),bWn),mtn(($rn(),aat))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,VOn),""),"Iterations"),"The number of iterations on the force model."),onn(300)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,WOn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),onn(0)),wat),hGn),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,QOn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),JOn),fat),aGn),mtn(aat)))),HV(n,QOn,zOn,hVn),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,YOn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),fat),aGn),mtn(aat)))),HV(n,YOn,zOn,oVn),Jjn((new Uf,n))},SH(ZOn,"ForceMetaDataProvider",860),Bwn(432,22,{3:1,34:1,22:1,432:1},DS);var wVn,dVn,gVn,pVn,mVn,vVn,kVn,yVn,MVn,TVn,jVn,EVn,SVn,PVn,CVn,IVn,OVn,AVn,LVn,NVn,$Vn,DVn,xVn,RVn,KVn,FVn,_Vn,BVn,HVn,UVn,GVn,qVn,XVn,zVn,VVn,WVn,QVn,JVn,YVn,ZVn,nWn,tWn,eWn,iWn,rWn,cWn,aWn,oWn,uWn,sWn,hWn,fWn,lWn,bWn=c3(ZOn,"ForceModelStrategy",432,EUn,(function(){return A0(),o8(sM(bWn,1),bPn,432,0,[fVn,lVn])}),(function(n){return A0(),r3((OQ(),wVn),n)}));Bwn(OPn,1,$In,Uf),rSn.hf=function(n){Jjn(n)},SH(ZOn,"ForceOptions",OPn),Bwn(1001,1,{},mt),rSn.sf=function(){return new jv},rSn.tf=function(n){},SH(ZOn,"ForceOptions/ForceFactory",1001),Bwn(861,1,$In,Gf),rSn.hf=function(n){Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,EAn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(GN(),!1)),(Jfn(),hat)),nGn),mtn(($rn(),cat))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,SAn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),fat),aGn),r_(aat,o8(sM(mat,1),bPn,170,0,[iat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,PAn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),VVn),lat),TWn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,CAn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),JOn),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,IAn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),onn(dSn)),wat),hGn),mtn(aat)))),XTn((new qf,n))},SH(ZOn,"StressMetaDataProvider",861),Bwn(1004,1,$In,qf),rSn.hf=function(n){XTn(n)},SH(ZOn,"StressOptions",1004),Bwn(1005,1,{},gt),rSn.sf=function(){return new nx},rSn.tf=function(n){},SH(ZOn,"StressOptions/StressFactory",1005),Bwn(1110,205,mOn,nx),rSn.rf=function(n,t){var e,i,r,c;for(t.Ug(AAn,1),my(z$(ldn(n,(Oon(),eWn))))?my(z$(ldn(n,uWn)))||lX(new Ww((BE(),new uy(n)))):Wdn(new jv,n,t.eh(1)),i=N8(n),c=(e=dyn(this.a,i)).Kc();c.Ob();)(r=YR(c.Pb(),235)).e.c.length<=1||(HMn(this.b,r),ddn(this.b),t2(r.d,new pt));wEn(i=zjn(e)),t.Vg()},SH(NAn,"StressLayoutProvider",1110),Bwn(1111,1,XSn,pt),rSn.Cd=function(n){eMn(YR(n,454))},SH(NAn,"StressLayoutProvider/lambda$0$Type",1111),Bwn(1002,1,{},hv),rSn.c=0,rSn.e=0,rSn.g=0,SH(NAn,"StressMajorization",1002),Bwn(391,22,{3:1,34:1,22:1,391:1},xS);var wWn,dWn,gWn,pWn,mWn,vWn,kWn,yWn,MWn,TWn=c3(NAn,"StressMajorization/Dimension",391,EUn,(function(){return z1(),o8(sM(TWn,1),bPn,391,0,[fWn,hWn,lWn])}),(function(n){return z1(),r3((zY(),wWn),n)}));Bwn(1003,1,sIn,sd),rSn.Ne=function(n,t){return function(n,t,e){return dtn(n[t.a],n[e.a])}(this.a,YR(n,153),YR(t,153))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(NAn,"StressMajorization/lambda$0$Type",1003),Bwn(1192,1,{},uV),SH(DAn,"ElkLayered",1192),Bwn(1193,1,XSn,hd),rSn.Cd=function(n){!function(n,t){var e;if((e=YR(phn(t,(NEn(),N4n)),322))!=n)throw Nm(new Dy("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}(this.a,YR(n,36))},SH(DAn,"ElkLayered/lambda$0$Type",1193),Bwn(1194,1,XSn,fd),rSn.Cd=function(n){!function(n,t){L8(t,(NEn(),E4n),n)}(this.a,YR(n,36))},SH(DAn,"ElkLayered/lambda$1$Type",1194),Bwn(1281,1,{},mL),SH(DAn,"GraphConfigurator",1281),Bwn(770,1,XSn,ld),rSn.Cd=function(n){Yhn(this.a,YR(n,10))},SH(DAn,"GraphConfigurator/lambda$0$Type",770),Bwn(771,1,{},dt),rSn.Kb=function(n){return sun(),new CF(null,new Fz(YR(n,30).a,16))},SH(DAn,"GraphConfigurator/lambda$1$Type",771),Bwn(772,1,XSn,bd),rSn.Cd=function(n){Yhn(this.a,YR(n,10))},SH(DAn,"GraphConfigurator/lambda$2$Type",772),Bwn(1109,205,mOn,Lv),rSn.rf=function(n,t){var e;e=vMn(new $v,n),GI(ldn(n,(NEn(),Z4n)))===GI((tnn(),Est))?jtn(this.a,e,t):udn(this.a,e,t),t.$g()||Ljn(new Xf,e)},SH(DAn,"LayeredLayoutProvider",1109),Bwn(367,22,{3:1,34:1,22:1,367:1},RS);var jWn,EWn,SWn,PWn=c3(DAn,"LayeredPhases",367,EUn,(function(){return mhn(),o8(sM(PWn,1),bPn,367,0,[mWn,vWn,kWn,yWn,MWn])}),(function(n){return mhn(),r3((m0(),jWn),n)}));Bwn(1717,1,{},U3),rSn.i=0,SH(xAn,"ComponentsToCGraphTransformer",1717),Bwn(1718,1,{},wt),rSn.yf=function(n,t){return e.Math.min(null!=n.a?vy(n.a):n.c.i,null!=t.a?vy(t.a):t.c.i)},rSn.zf=function(n,t){return e.Math.min(null!=n.a?vy(n.a):n.c.i,null!=t.a?vy(t.a):t.c.i)},SH(xAn,"ComponentsToCGraphTransformer/1",1718),Bwn(86,1,{86:1}),rSn.i=0,rSn.k=!0,rSn.o=vCn;var CWn,IWn,OWn,AWn=SH(RAn,"CNode",86);Bwn(470,86,{470:1,86:1},QN,rrn),rSn.Ib=function(){return""},SH(xAn,"ComponentsToCGraphTransformer/CRectNode",470),Bwn(1688,1,{},vt),SH(xAn,"OneDimensionalComponentsCompaction",1688),Bwn(1689,1,{},kt),rSn.Kb=function(n){return function(n){return s7(),GN(),0!=YR(n.a,86).d.e}(YR(n,42))},rSn.Fb=function(n){return this===n},SH(xAn,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),Bwn(1690,1,{},yt),rSn.Kb=function(n){return function(n){return s7(),GN(),!!(Ytn(YR(n.a,86).j,YR(n.b,88))||0!=YR(n.a,86).d.e&&Ytn(YR(n.a,86).j,YR(n.b,88)))}(YR(n,42))},rSn.Fb=function(n){return this===n},SH(xAn,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),Bwn(1720,1,{},XH),SH(RAn,"CGraph",1720),Bwn(194,1,{194:1},crn),rSn.b=0,rSn.c=0,rSn.e=0,rSn.g=!0,rSn.i=vCn,SH(RAn,"CGroup",194),Bwn(1719,1,{},Mt),rSn.yf=function(n,t){return e.Math.max(null!=n.a?vy(n.a):n.c.i,null!=t.a?vy(t.a):t.c.i)},rSn.zf=function(n,t){return e.Math.max(null!=n.a?vy(n.a):n.c.i,null!=t.a?vy(t.a):t.c.i)},SH(RAn,wIn,1719),Bwn(1721,1,{},Vbn),rSn.d=!1;var LWn=SH(RAn,vIn,1721);Bwn(1722,1,{},Tt),rSn.Kb=function(n){return gE(),GN(),0!=YR(YR(n,42).a,86).d.e},rSn.Fb=function(n){return this===n},SH(RAn,kIn,1722),Bwn(833,1,{},MF),rSn.a=!1,rSn.b=!1,rSn.c=!1,rSn.d=!1,SH(RAn,yIn,833),Bwn(1898,1,{},s_),SH(KAn,MIn,1898);var NWn=tF(FAn,fIn);Bwn(1899,1,{382:1},Pq),rSn.bf=function(n){!function(n,t){var e,i,r;t.a?(DB(n.b,t.b),n.a[t.b.i]=YR(tE(n.b,t.b),86),(e=YR(nE(n.b,t.b),86))&&(n.a[e.i]=t.b)):(!!(i=YR(tE(n.b,t.b),86))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=YR(nE(n.b,t.b),86))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),CL(n.b,t.b))}(this,YR(n,476))},SH(KAn,TIn,1899),Bwn(GPn,1,sIn,jt),rSn.Ne=function(n,t){return function(n,t){return dtn(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}(YR(n,86),YR(t,86))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(KAn,jIn,GPn),Bwn(476,1,{476:1},ZS),rSn.a=!1,SH(KAn,EIn,476),Bwn(1901,1,sIn,Et),rSn.Ne=function(n,t){return function(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=dtn(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}(YR(n,476),YR(t,476))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(KAn,SIn,1901),Bwn(148,1,{148:1},nP,rK),rSn.Fb=function(n){var t;return null!=n&&KWn==h7(n)&&(t=YR(n,148),XU(this.c,t.c)&&XU(this.d,t.d))},rSn.Hb=function(){return w7(o8(sM(hUn,1),ySn,1,5,[this.c,this.d]))},rSn.Ib=function(){return"("+this.c+vSn+this.d+(this.a?"cx":"")+this.b+")"},rSn.a=!0,rSn.c=0,rSn.d=0;var $Wn,DWn,xWn,RWn,KWn=SH(FAn,"Point",148);Bwn(416,22,{3:1,34:1,22:1,416:1},FS);var FWn,_Wn,BWn,HWn,UWn,GWn,qWn,XWn,zWn,VWn,WWn,QWn,JWn=c3(FAn,"Point/Quadrant",416,EUn,(function(){return h8(),o8(sM(JWn,1),bPn,416,0,[$Wn,RWn,DWn,xWn])}),(function(n){return h8(),r3((VZ(),FWn),n)}));Bwn(1708,1,{},Iv),rSn.b=null,rSn.c=null,rSn.d=null,rSn.e=null,rSn.f=null,SH(FAn,"RectilinearConvexHull",1708),Bwn(583,1,{382:1},Qrn),rSn.bf=function(n){!function(n,t){n.a.Ne(t.d,n.b)>0&&(LL(n.c,new rK(t.c,t.d,n.d)),n.b=t.d)}(this,YR(n,148))},rSn.b=0,SH(FAn,"RectilinearConvexHull/MaximalElementsEventHandler",583),Bwn(1710,1,sIn,St),rSn.Ne=function(n,t){return function(n,t){return pE(),dtn((jU(n),n),(jU(t),t))}(V$(n),V$(t))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(FAn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),Bwn(1709,1,{382:1},D0),rSn.bf=function(n){$gn(this,YR(n,148))},rSn.a=0,rSn.b=null,rSn.c=null,rSn.d=null,rSn.e=null,SH(FAn,"RectilinearConvexHull/RectangleEventHandler",1709),Bwn(1711,1,sIn,Pt),rSn.Ne=function(n,t){return function(n,t){return N0(),n.c==t.c?dtn(t.d,n.d):dtn(n.c,t.c)}(YR(n,148),YR(t,148))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(FAn,"RectilinearConvexHull/lambda$0$Type",1711),Bwn(1712,1,sIn,At),rSn.Ne=function(n,t){return function(n,t){return N0(),n.c==t.c?dtn(n.d,t.d):dtn(n.c,t.c)}(YR(n,148),YR(t,148))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(FAn,"RectilinearConvexHull/lambda$1$Type",1712),Bwn(1713,1,sIn,Lt),rSn.Ne=function(n,t){return function(n,t){return N0(),n.c==t.c?dtn(t.d,n.d):dtn(t.c,n.c)}(YR(n,148),YR(t,148))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(FAn,"RectilinearConvexHull/lambda$2$Type",1713),Bwn(1714,1,sIn,Ot),rSn.Ne=function(n,t){return function(n,t){return N0(),n.c==t.c?dtn(n.d,t.d):dtn(t.c,n.c)}(YR(n,148),YR(t,148))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(FAn,"RectilinearConvexHull/lambda$3$Type",1714),Bwn(1715,1,sIn,Nt),rSn.Ne=function(n,t){return vhn(YR(n,148),YR(t,148))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(FAn,"RectilinearConvexHull/lambda$4$Type",1715),Bwn(1716,1,{},WX),SH(FAn,"Scanline",1716),Bwn(2104,1,{}),SH(_An,"AbstractGraphPlacer",2104),Bwn(335,1,{335:1},y$),rSn.Ff=function(n){return!!this.Gf(n)&&(Kbn(this.b,YR(phn(n,(XEn(),A1n)),21),n),!0)},rSn.Gf=function(n){var t,e,i;for(t=YR(phn(n,(XEn(),A1n)),21),i=YR(KJ(XWn,t),21).Kc();i.Ob();)if(e=YR(i.Pb(),21),!YR(KJ(this.b,e),15).dc())return!1;return!0},SH(_An,"ComponentGroup",335),Bwn(779,2104,{},Ov),rSn.Hf=function(n){var t;for(t=new mw(this.a);t.ai?1:0}(YR(n,36),YR(t,36))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(_An,"ComponentsProcessor/lambda$0$Type",1283),Bwn(579,335,{335:1,579:1},aJ),rSn.Ff=function(n){return L9(this,n)},rSn.Gf=function(n){return Cgn(this,n)},SH(_An,"ModelOrderComponentGroup",579),Bwn(1310,2104,{},Dt),rSn.Ef=function(n,t){var i,r,c,a,o,u,s,h,f;if(1!=n.gc()){if(n.dc())return t.a.c.length=0,t.f.a=0,void(t.f.b=0);for(this.Jf(n,t),c=YR(n.Xb(0),36),t.a.c.length=0,M5(t,c),u=0,f=0,a=n.Kc();a.Ob();)s=YR(a.Pb(),36).f,u=e.Math.max(u,s.a),f+=s.a*s.b;if(u=e.Math.max(u,e.Math.sqrt(f)*vy(V$(phn(t,(NEn(),h4n))))),r=vy(V$(phn(t,s5n))),this.If(n,t,u,r),my(z$(phn(c,l4n)))){for(MEn(i=new It,n,r),o=n.Kc();o.Ob();)fx(TO(YR(o.Pb(),36).c),i.e);fx(TO(t.f),i.a)}kZ(t,n)}else(h=YR(n.Xb(0),36))!=t&&(t.a.c.length=0,Kvn(t,h,0,0),M5(t,h),zG(t.d,h.d),t.f.a=h.f.a,t.f.b=h.f.b)},rSn.If=function(n,t,i,r){var c,a,o,u,s,h,f,l;for(f=0,l=0,u=0,c=r,o=n.Kc();o.Ob();)f+(h=(a=YR(o.Pb(),36)).f).a>i&&(f=0,l+=u+r,u=0),hvn(a,f+(s=a.c).a,l+s.b),TO(s),c=e.Math.max(c,f+h.a),u=e.Math.max(u,h.b),f+=h.a+r;t.f.a=c,t.f.b=l+u},rSn.Jf=function(n,t){var e,i,r,c,a;if(GI(phn(t,(NEn(),d4n)))===GI((Zin(),QWn))){for(i=n.Kc();i.Ob();){for(a=0,c=new mw((e=YR(i.Pb(),36)).a);c.ai&&!YR(phn(a,(XEn(),A1n)),21).Hc((Djn(),pht))||s&&YR(phn(s,(XEn(),A1n)),21).Hc((Djn(),ght))||YR(phn(a,(XEn(),A1n)),21).Hc((Djn(),xht)))&&(b=l,w+=u+r,u=0),h=a.c,YR(phn(a,(XEn(),A1n)),21).Hc((Djn(),pht))&&(b=c+r),hvn(a,b+h.a,w+h.b),c=e.Math.max(c,b+f.a),YR(phn(a,A1n),21).Hc($ht)&&(l=e.Math.max(l,b+f.a+r)),TO(h),u=e.Math.max(u,f.b),b+=f.a+r,s=a;t.f.a=c,t.f.b=w+u},rSn.Jf=function(n,t){},SH(_An,"ModelOrderRowGraphPlacer",1313),Bwn(1311,1,sIn,xt),rSn.Ne=function(n,t){return function(n,t){var e;return 0==(e=t.p-n.p)?dtn(n.f.a*n.f.b,t.f.a*t.f.b):e}(YR(n,36),YR(t,36))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(_An,"SimpleRowGraphPlacer/1",1311),Bwn(1280,1,PIn,Rt),rSn.Lb=function(n){var t;return!!(t=YR(phn(YR(n,249).b,(NEn(),u6n)),75))&&0!=t.b},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){var t;return!!(t=YR(phn(YR(n,249).b,(NEn(),u6n)),75))&&0!=t.b},SH(qAn,"CompoundGraphPostprocessor/1",1280),Bwn(1279,1,XAn,Dv),rSn.Kf=function(n,t){Tcn(this,YR(n,36),t)},SH(qAn,"CompoundGraphPreprocessor",1279),Bwn(453,1,{453:1},Bnn),rSn.c=!1,SH(qAn,"CompoundGraphPreprocessor/ExternalPort",453),Bwn(249,1,{249:1},lR),rSn.Ib=function(){return g$(this.c)+":"+Ebn(this.b)},SH(qAn,"CrossHierarchyEdge",249),Bwn(777,1,sIn,wd),rSn.Ne=function(n,t){return function(n,t,e){var i,r;return t.c==(k3(),G8n)&&e.c==U8n?-1:t.c==U8n&&e.c==G8n?1:(i=M7(t.a,n.a),r=M7(e.a,n.a),t.c==G8n?r-i:i-r)}(this,YR(n,249),YR(t,249))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(qAn,"CrossHierarchyEdgeComparator",777),Bwn(305,137,{3:1,305:1,96:1,137:1}),rSn.p=0,SH(zAn,"LGraphElement",305),Bwn(18,305,{3:1,18:1,305:1,96:1,137:1},Aq),rSn.Ib=function(){return Ebn(this)};var eQn=SH(zAn,"LEdge",18);Bwn(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},G3),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return new mw(this.b)},rSn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Ihn(this.a):0==this.a.c.length?"G-layered"+Ihn(this.b):"G[layerless"+Ihn(this.a)+", layers"+Ihn(this.b)+"]"};var iQn,rQn=SH(zAn,"LGraph",36);Bwn(666,1,{}),rSn.Lf=function(){return this.e.n},rSn.of=function(n){return phn(this.e,n)},rSn.Mf=function(){return this.e.o},rSn.Nf=function(){return this.e.p},rSn.pf=function(n){return w$(this.e,n)},rSn.Of=function(n){this.e.n.a=n.a,this.e.n.b=n.b},rSn.Pf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},rSn.Qf=function(n){this.e.p=n},SH(zAn,"LGraphAdapters/AbstractLShapeAdapter",666),Bwn(474,1,{853:1},dd),rSn.Rf=function(){var n,t;if(!this.b)for(this.b=t$(this.a.b.c.length),t=new mw(this.a.b);t.a0&&T7((Kz(t-1,n.length),n.charCodeAt(t-1)),tLn);)--t;if(r> ",n),ion(e)),cO(rO((n.a+="[",n),e.i),"]")),n.a},rSn.c=!0,rSn.d=!1;var MQn,TQn,jQn,EQn,SQn=SH(zAn,"LPort",12);Bwn(408,1,JSn,pd),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return new md(new mw(this.a.e))},SH(zAn,"LPort/1",408),Bwn(1309,1,OSn,md),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){return YR(zz(this.a),18).c},rSn.Ob=function(){return HA(this.a)},rSn.Qb=function(){zB(this.a)},SH(zAn,"LPort/1/1",1309),Bwn(369,1,JSn,vd),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return new kd(new mw(this.a.g))},SH(zAn,"LPort/2",369),Bwn(776,1,OSn,kd),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){return YR(zz(this.a),18).d},rSn.Ob=function(){return HA(this.a)},rSn.Qb=function(){zB(this.a)},SH(zAn,"LPort/2/1",776),Bwn(1302,1,JSn,zS),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return new YJ(this)},SH(zAn,"LPort/CombineIter",1302),Bwn(208,1,OSn,YJ),rSn.Nb=function(n){MB(this,n)},rSn.Qb=function(){pT()},rSn.Ob=function(){return FN(this)},rSn.Pb=function(){return HA(this.a)?zz(this.a):zz(this.b)},SH(zAn,"LPort/CombineIter/1",208),Bwn(1303,1,PIn,Bt),rSn.Lb=function(n){return Y_(n)},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return j6(),0!=YR(n,12).g.c.length},SH(zAn,"LPort/lambda$0$Type",1303),Bwn(1304,1,PIn,Ht),rSn.Lb=function(n){return Z_(n)},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return j6(),0!=YR(n,12).e.c.length},SH(zAn,"LPort/lambda$1$Type",1304),Bwn(1305,1,PIn,Ut),rSn.Lb=function(n){return j6(),YR(n,12).j==(Djn(),pht)},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return j6(),YR(n,12).j==(Djn(),pht)},SH(zAn,"LPort/lambda$2$Type",1305),Bwn(1306,1,PIn,Gt),rSn.Lb=function(n){return j6(),YR(n,12).j==(Djn(),ght)},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return j6(),YR(n,12).j==(Djn(),ght)},SH(zAn,"LPort/lambda$3$Type",1306),Bwn(1307,1,PIn,qt),rSn.Lb=function(n){return j6(),YR(n,12).j==(Djn(),$ht)},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return j6(),YR(n,12).j==(Djn(),$ht)},SH(zAn,"LPort/lambda$4$Type",1307),Bwn(1308,1,PIn,Xt),rSn.Lb=function(n){return j6(),YR(n,12).j==(Djn(),xht)},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return j6(),YR(n,12).j==(Djn(),xht)},SH(zAn,"LPort/lambda$5$Type",1308),Bwn(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},qH),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return new mw(this.a)},rSn.Ib=function(){return"L_"+y1(this.b.b,this,0)+Ihn(this.a)},SH(zAn,"Layer",30),Bwn(1330,1,{},$v),SH(aLn,oLn,1330),Bwn(1334,1,{},zt),rSn.Kb=function(n){return Hsn(YR(n,84))},SH(aLn,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),Bwn(1337,1,{},Vt),rSn.Kb=function(n){return Hsn(YR(n,84))},SH(aLn,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),Bwn(1331,1,XSn,yd),rSn.Cd=function(n){swn(this.a,YR(n,123))},SH(aLn,UOn,1331),Bwn(1332,1,XSn,Md),rSn.Cd=function(n){swn(this.a,YR(n,123))},SH(aLn,uLn,1332),Bwn(1333,1,{},Wt),rSn.Kb=function(n){return new CF(null,new Fz(QU(YR(n,74)),16))},SH(aLn,sLn,1333),Bwn(1335,1,pPn,Td),rSn.Mb=function(n){return function(n,t){return n2(t,kX(n))}(this.a,YR(n,27))},SH(aLn,hLn,1335),Bwn(1336,1,{},Qt),rSn.Kb=function(n){return new CF(null,new Fz(function(n){return!n.b&&(n.b=new Mx(tlt,n,4,7)),n.b}(YR(n,74)),16))},SH(aLn,"ElkGraphImporter/lambda$5$Type",1336),Bwn(1338,1,pPn,jd),rSn.Mb=function(n){return function(n,t){return n2(t,kX(n))}(this.a,YR(n,27))},SH(aLn,"ElkGraphImporter/lambda$7$Type",1338),Bwn(1339,1,pPn,Jt),rSn.Mb=function(n){return function(n){return xbn(n)&&my(z$(ldn(n,(NEn(),c6n))))}(YR(n,74))},SH(aLn,"ElkGraphImporter/lambda$8$Type",1339),Bwn(1297,1,{},Xf),SH(aLn,"ElkGraphLayoutTransferrer",1297),Bwn(1298,1,pPn,Ed),rSn.Mb=function(n){return function(n,t){return yE(),!a5(t.d.i,n)}(this.a,YR(n,18))},SH(aLn,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),Bwn(1299,1,XSn,Sd),rSn.Cd=function(n){yE(),LL(this.a,YR(n,18))},SH(aLn,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),Bwn(1300,1,pPn,Pd),rSn.Mb=function(n){return function(n,t){return yE(),a5(t.d.i,n)}(this.a,YR(n,18))},SH(aLn,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),Bwn(1301,1,XSn,Cd),rSn.Cd=function(n){yE(),LL(this.a,YR(n,18))},SH(aLn,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),Bwn(819,1,{},tx),SH(fLn,"BiLinkedHashMultiMap",819),Bwn(1550,1,XAn,Yt),rSn.Kf=function(n,t){!function(n,t){t.Ug(lLn,1),Zj(c0(new CF(null,new Fz(n.b,16)),new Zt),new ne),t.Vg()}(YR(n,36),t)},SH(fLn,"CommentNodeMarginCalculator",1550),Bwn(1551,1,{},Zt),rSn.Kb=function(n){return new CF(null,new Fz(YR(n,30).a,16))},SH(fLn,"CommentNodeMarginCalculator/lambda$0$Type",1551),Bwn(1552,1,XSn,ne),rSn.Cd=function(n){!function(n){var t,i,r,c,a,o,u,s,h,f,l,b;if(u=n.d,l=YR(phn(n,(XEn(),M0n)),15),t=YR(phn(n,k1n),15),l||t){if(a=vy(V$(Jen(n,(NEn(),o5n)))),o=vy(V$(Jen(n,u5n))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=YR(c.Pb(),10),h=e.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),u.d+=h+o}if(i=0,t){for(h=0,c=t.Kc();c.Ob();)r=YR(c.Pb(),10),h=e.Math.max(h,r.o.b),i+=r.o.a;i+=a*(t.gc()-1),u.a+=h+o}(s=e.Math.max(b,i))>n.o.a&&(f=(s-n.o.a)/2,u.b=e.Math.max(u.b,f),u.c=e.Math.max(u.c,f))}}(YR(n,10))},SH(fLn,"CommentNodeMarginCalculator/lambda$1$Type",1552),Bwn(1553,1,XAn,te),rSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a,o,u;for(t.Ug("Comment post-processing",1),c=new mw(n.b);c.a0&&ikn((Rz(0,e.c.length),YR(e.c[0],30)),n),e.c.length>1&&ikn(YR(wF(e,e.c.length-1),30),n),t.Vg()}(YR(n,36),t)},SH(fLn,"HierarchicalPortPositionProcessor",1582),Bwn(1583,1,XAn,zf),rSn.Kf=function(n,t){!function(n,t){var i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E;for(n.b=t,n.a=YR(phn(t,(NEn(),n6n)),17).a,n.c=YR(phn(t,e6n),17).a,0==n.c&&(n.c=dSn),g=new $V(t.b,0);g.b=n.a&&(r=Gyn(n,m),l=e.Math.max(l,r.b),k=e.Math.max(k,r.d),LL(u,new sI(m,r)));for(T=new Tm,f=0;f0),g.a.Xb(g.c=--g.b),HD(g,j=new qH(n.b)),Y$(g.b=2){for(b=!0,e=YR(zz(h=new mw(r.j)),12),f=null;h.a0)}(YR(n,18))},SH(fLn,"PartitionPreprocessor/lambda$2$Type",1643),Bwn(1644,1,XSn,yi),rSn.Cd=function(n){!function(n){var t;Pyn(n,!0),t=OPn,w$(n,(NEn(),t5n))&&(t+=YR(phn(n,t5n),17).a),L8(n,t5n,onn(t))}(YR(n,18))},SH(fLn,"PartitionPreprocessor/lambda$3$Type",1644),Bwn(1645,1,XAn,el),rSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a,o;for(t.Ug("Port order processing",1),o=YR(phn(n,(NEn(),Y6n)),430),e=new mw(n.b);e.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;Jgn(sE(uE(hE(oE(new Mv,1),100),b),g))}}}(this),function(n){var t,e,i,r,c,a,o;for(c=new qj,r=new mw(n.d.a);r.a1)for(t=NN((e=new Tv,++n.b,e),n.d),o=Drn(c,0);o.b!=o.d.c;)a=YR(yW(o),125),Jgn(sE(uE(hE(oE(new Mv,1),0),t),a))}(this),Xvn(pR(this.d),new Ek),c=new mw(this.a.a.b);c.a=g&&(LL(a,onn(f)),v=e.Math.max(v,k[f-1]-l),u+=d,p+=k[f-1]-p,l=k[f-1],d=s[f]),d=e.Math.max(d,s[f]),++f;u+=d}(w=e.Math.min(1/v,1/t.b/u))>r&&(r=w,i=a)}return i},rSn.pg=function(){return!1},SH(ILn,"MSDCutIndexHeuristic",816),Bwn(1683,1,XAn,Mc),rSn.Kf=function(n,t){xyn(YR(n,36),t)},SH(ILn,"SingleEdgeGraphWrapper",1683),Bwn(232,22,{3:1,34:1,22:1,232:1},fP);var HYn,UYn,GYn,qYn=c3(OLn,"CenterEdgeLabelPlacementStrategy",232,EUn,(function(){return rln(),o8(sM(qYn,1),bPn,232,0,[RYn,FYn,xYn,KYn,_Yn,DYn])}),(function(n){return rln(),r3((j2(),HYn),n)}));Bwn(431,22,{3:1,34:1,22:1,431:1},hP);var XYn,zYn,VYn,WYn,QYn=c3(OLn,"ConstraintCalculationStrategy",431,EUn,(function(){return yY(),o8(sM(QYn,1),bPn,431,0,[UYn,GYn])}),(function(n){return yY(),r3((RQ(),XYn),n)}));Bwn(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},lP),rSn.dg=function(){return hbn(this)},rSn.qg=function(){return hbn(this)};var JYn,YYn,ZYn,nZn,tZn=c3(OLn,"CrossingMinimizationStrategy",322,EUn,(function(){return D3(),o8(sM(tZn,1),bPn,322,0,[VYn,zYn,WYn])}),(function(n){return D3(),r3((MY(),JYn),n)}));Bwn(351,22,{3:1,34:1,22:1,351:1},bP);var eZn,iZn,rZn,cZn,aZn,oZn,uZn=c3(OLn,"CuttingStrategy",351,EUn,(function(){return v3(),o8(sM(uZn,1),bPn,351,0,[YYn,nZn,ZYn])}),(function(n){return v3(),r3((TY(),eZn),n)}));Bwn(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},wP),rSn.dg=function(){return ndn(this)},rSn.qg=function(){return ndn(this)};var sZn,hZn,fZn,lZn=c3(OLn,"CycleBreakingStrategy",348,EUn,(function(){return $in(),o8(sM(lZn,1),bPn,348,0,[rZn,iZn,aZn,oZn,cZn])}),(function(n){return $in(),r3((k0(),sZn),n)}));Bwn(428,22,{3:1,34:1,22:1,428:1},dP);var bZn,wZn,dZn,gZn,pZn=c3(OLn,"DirectionCongruency",428,EUn,(function(){return L0(),o8(sM(pZn,1),bPn,428,0,[hZn,fZn])}),(function(n){return L0(),r3((NQ(),bZn),n)}));Bwn(460,22,{3:1,34:1,22:1,460:1},gP);var mZn,vZn,kZn,yZn,MZn,TZn,jZn,EZn=c3(OLn,"EdgeConstraint",460,EUn,(function(){return K8(),o8(sM(EZn,1),bPn,460,0,[dZn,wZn,gZn])}),(function(n){return K8(),r3((EY(),mZn),n)}));Bwn(283,22,{3:1,34:1,22:1,283:1},pP);var SZn,PZn,CZn,IZn=c3(OLn,"EdgeLabelSideSelection",283,EUn,(function(){return ifn(),o8(sM(IZn,1),bPn,283,0,[kZn,vZn,MZn,yZn,jZn,TZn])}),(function(n){return ifn(),r3((E2(),SZn),n)}));Bwn(488,22,{3:1,34:1,22:1,488:1},mP);var OZn,AZn,LZn,NZn,$Zn,DZn,xZn,RZn=c3(OLn,"EdgeStraighteningStrategy",488,EUn,(function(){return ZZ(),o8(sM(RZn,1),bPn,488,0,[CZn,PZn])}),(function(n){return ZZ(),r3(($Q(),OZn),n)}));Bwn(281,22,{3:1,34:1,22:1,281:1},vP);var KZn,FZn,_Zn,BZn,HZn,UZn,GZn,qZn=c3(OLn,"FixedAlignment",281,EUn,(function(){return Lun(),o8(sM(qZn,1),bPn,281,0,[$Zn,NZn,xZn,LZn,DZn,AZn])}),(function(n){return Lun(),r3((S2(),KZn),n)}));Bwn(282,22,{3:1,34:1,22:1,282:1},kP);var XZn,zZn,VZn,WZn,QZn,JZn,YZn,ZZn,n1n,t1n,e1n,i1n=c3(OLn,"GraphCompactionStrategy",282,EUn,(function(){return Xhn(),o8(sM(i1n,1),bPn,282,0,[UZn,_Zn,GZn,HZn,BZn,FZn])}),(function(n){return Xhn(),r3((P2(),XZn),n)}));Bwn(259,22,{3:1,34:1,22:1,259:1},yP);var r1n,c1n,a1n,o1n,u1n=c3(OLn,"GraphProperties",259,EUn,(function(){return Vpn(),o8(sM(u1n,1),bPn,259,0,[VZn,QZn,JZn,YZn,ZZn,n1n,e1n,zZn,WZn,t1n])}),(function(n){return Vpn(),r3((x8(),r1n),n)}));Bwn(299,22,{3:1,34:1,22:1,299:1},MP);var s1n,h1n,f1n,l1n,b1n=c3(OLn,"GreedySwitchType",299,EUn,(function(){return O5(),o8(sM(b1n,1),bPn,299,0,[a1n,o1n,c1n])}),(function(n){return O5(),r3((SY(),s1n),n)}));Bwn(311,22,{3:1,34:1,22:1,311:1},TP);var w1n,d1n,g1n,p1n=c3(OLn,"InLayerConstraint",311,EUn,(function(){return W1(),o8(sM(p1n,1),bPn,311,0,[f1n,l1n,h1n])}),(function(n){return W1(),r3((PY(),w1n),n)}));Bwn(429,22,{3:1,34:1,22:1,429:1},jP);var m1n,v1n,k1n,y1n,M1n,T1n,j1n,E1n,S1n,P1n,C1n,I1n,O1n,A1n,L1n,N1n,$1n,D1n,x1n,R1n,K1n,F1n,_1n,B1n,H1n,U1n,G1n,q1n,X1n,z1n,V1n,W1n,Q1n,J1n,Y1n,Z1n,n0n,t0n,e0n,i0n,r0n,c0n,a0n,o0n,u0n,s0n,h0n,f0n,l0n,b0n,w0n,d0n,g0n,p0n,m0n,v0n,k0n,y0n,M0n,T0n,j0n,E0n,S0n,P0n,C0n=c3(OLn,"InteractiveReferencePoint",429,EUn,(function(){return AW(),o8(sM(C0n,1),bPn,429,0,[d1n,g1n])}),(function(n){return AW(),r3((LQ(),m1n),n)}));Bwn(171,22,{3:1,34:1,22:1,171:1},EP);var I0n,O0n,A0n,L0n,N0n,$0n,D0n,x0n,R0n,K0n,F0n,_0n,B0n,H0n,U0n,G0n,q0n,X0n,z0n,V0n,W0n,Q0n,J0n,Y0n,Z0n,n2n,t2n,e2n,i2n,r2n,c2n,a2n,o2n,u2n,s2n,h2n,f2n,l2n,b2n,w2n,d2n,g2n,p2n,m2n,v2n,k2n,y2n,M2n,T2n,j2n,E2n,S2n,P2n,C2n,I2n,O2n,A2n,L2n,N2n,$2n,D2n,x2n,R2n,K2n,F2n,_2n,B2n,H2n,U2n,G2n,q2n,X2n,z2n,V2n,W2n,Q2n,J2n,Y2n,Z2n,n3n,t3n,e3n,i3n,r3n,c3n,a3n,o3n,u3n,s3n,h3n,f3n,l3n,b3n,w3n,d3n,g3n,p3n,m3n,v3n,k3n,y3n,M3n,T3n,j3n,E3n,S3n,P3n,C3n,I3n,O3n,A3n,L3n,N3n,$3n,D3n,x3n,R3n,K3n,F3n,_3n,B3n,H3n,U3n,G3n,q3n,X3n,z3n,V3n,W3n,Q3n,J3n,Y3n,Z3n,n4n,t4n,e4n,i4n,r4n,c4n,a4n,o4n,u4n,s4n,h4n,f4n,l4n,b4n,w4n,d4n,g4n,p4n,m4n,v4n,k4n,y4n,M4n,T4n,j4n,E4n,S4n,P4n,C4n,I4n,O4n,A4n,L4n,N4n,$4n,D4n,x4n,R4n,K4n,F4n,_4n,B4n,H4n,U4n,G4n,q4n,X4n,z4n,V4n,W4n,Q4n,J4n,Y4n,Z4n,n6n,t6n,e6n,i6n,r6n,c6n,a6n,o6n,u6n,s6n,h6n,f6n,l6n,b6n,w6n,d6n,g6n,p6n,m6n,v6n,k6n,y6n,M6n,T6n,j6n,E6n,S6n,P6n,C6n,I6n,O6n,A6n,L6n,N6n,$6n,D6n,x6n,R6n,K6n,F6n,_6n,B6n,H6n,U6n,G6n,q6n,X6n,z6n,V6n,W6n,Q6n,J6n,Y6n,Z6n,n5n,t5n,e5n,i5n,r5n,c5n,a5n,o5n,u5n,s5n,h5n,f5n,l5n,b5n,w5n,d5n,g5n,p5n,m5n,v5n,k5n,y5n,M5n,T5n,j5n,E5n,S5n,P5n,C5n,I5n,O5n,A5n,L5n,N5n,$5n,D5n,x5n,R5n,K5n,F5n,_5n,B5n,H5n,U5n,G5n,q5n,X5n,z5n,V5n,W5n,Q5n,J5n,Y5n,Z5n,n8n,t8n=c3(OLn,"LayerConstraint",171,EUn,(function(){return Men(),o8(sM(t8n,1),bPn,171,0,[P0n,T0n,j0n,E0n,S0n])}),(function(n){return Men(),r3((M0(),I0n),n)}));Bwn(859,1,$In,sl),rSn.hf=function(n){Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,RLn),""),"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."),w2n),(Jfn(),lat)),pZn),mtn(($rn(),aat))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,KLn),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(GN(),!1)),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,FLn),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),R2n),lat),C0n),mtn(aat)))),HV(n,FLn,zLn,F2n),HV(n,FLn,iNn,K2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,_Ln),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,BLn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(function(n,t){return n.f=t,n}(RM(xM(KM(LM(AM(DM(NM($M(new xu,HLn),""),"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),hat),nGn),mtn(oat)),o8(sM(IGn,1),USn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ULn),""),"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."),M3n),lat),X8n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,GLn),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),onn(7)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,qLn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,XLn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,zLn),"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)."),l2n),lat),lZn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,VLn),c$n),"Node Layering Strategy"),"Strategy for node layering."),n3n),lat),a8n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,WLn),c$n),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),G2n),lat),t8n),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,QLn),c$n),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),wat),hGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,JLn),c$n),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),onn(-1)),wat),hGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,YLn),a$n),"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."),onn(4)),wat),hGn),mtn(aat)))),HV(n,YLn,VLn,z2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ZLn),a$n),"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."),onn(2)),wat),hGn),mtn(aat)))),HV(n,ZLn,VLn,W2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,nNn),o$n),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),Y2n),lat),R8n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,tNn),o$n),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),onn(0)),wat),hGn),mtn(aat)))),HV(n,tNn,nNn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,eNn),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),onn(dSn)),wat),hGn),mtn(aat)))),HV(n,eNn,VLn,B2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,iNn),u$n),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),h2n),lat),tZn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,rNn),u$n),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,cNn),u$n),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),fat),aGn),mtn(aat)))),HV(n,cNn,s$n,e2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,aNn),u$n),"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),hat),nGn),mtn(aat)))),HV(n,aNn,iNn,u2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,oNn),u$n),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),gat),IGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,uNn),u$n),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),gat),IGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,sNn),u$n),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),wat),hGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,hNn),u$n),"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."),onn(-1)),wat),hGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,fNn),h$n),"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."),onn(40)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,lNn),h$n),"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."),Z0n),lat),b1n),mtn(aat)))),HV(n,lNn,iNn,n2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,bNn),"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."),W0n),lat),b1n),mtn(aat)))),HV(n,bNn,iNn,Q0n),HV(n,bNn,s$n,J0n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,wNn),f$n),"Node Placement Strategy"),"Strategy for node placement."),k3n),lat),A8n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,dNn),f$n),"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."),hat),nGn),mtn(aat)))),HV(n,dNn,wNn,h3n),HV(n,dNn,wNn,f3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,gNn),l$n),"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."),r3n),lat),RZn),mtn(aat)))),HV(n,gNn,wNn,c3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,pNn),l$n),"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."),o3n),lat),qZn),mtn(aat)))),HV(n,pNn,wNn,u3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,mNn),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),fat),aGn),mtn(aat)))),HV(n,mNn,wNn,b3n),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,vNn),"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."),lat),v8n),mtn(cat)))),HV(n,vNn,wNn,m3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,kNn),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),g3n),lat),v8n),mtn(aat)))),HV(n,kNn,wNn,p3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,yNn),b$n),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),M2n),lat),e9n),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,MNn),b$n),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),j2n),lat),o9n),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,TNn),"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."),S2n),lat),l9n),mtn(aat)))),HV(n,TNn,w$n,P2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,jNn),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),fat),aGn),mtn(aat)))),HV(n,jNn,w$n,I2n),HV(n,jNn,TNn,O2n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ENn),"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),fat),aGn),mtn(aat)))),HV(n,ENn,w$n,k2n),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,SNn),d$n),"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."),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,PNn),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,CNn),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,INn),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ONn),g$n),"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."),onn(0)),wat),hGn),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ANn),g$n),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),onn(0)),wat),hGn),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,LNn),g$n),"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."),onn(0)),wat),hGn),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,NNn),p$n),kOn),"Tries to further compact components (disconnected sub-graphs)."),!1),hat),nGn),mtn(aat)))),HV(n,NNn,aAn,!0),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,$Nn),m$n),"Post Compaction Strategy"),v$n),D0n),lat),i1n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,DNn),m$n),"Post Compaction Constraint Calculation"),v$n),N0n),lat),QYn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,xNn),k$n),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,RNn),k$n),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),onn(16)),wat),hGn),mtn(aat)))),HV(n,RNn,xNn,!0),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,KNn),k$n),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),onn(5)),wat),hGn),mtn(aat)))),HV(n,KNn,xNn,!0),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,FNn),y$n),"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'."),n4n),lat),A9n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,_Nn),y$n),"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),fat),aGn),mtn(aat)))),HV(n,_Nn,FNn,N3n),HV(n,_Nn,FNn,$3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,BNn),y$n),"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),fat),aGn),mtn(aat)))),HV(n,BNn,FNn,x3n),HV(n,BNn,FNn,R3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,HNn),M$n),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),G3n),lat),uZn),mtn(aat)))),HV(n,HNn,FNn,q3n),HV(n,HNn,FNn,X3n),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,UNn),M$n),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),dat),gUn),mtn(aat)))),HV(n,UNn,HNn,F3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,GNn),"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."),B3n),wat),hGn),mtn(aat)))),HV(n,GNn,HNn,H3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,qNn),T$n),"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."),c4n),lat),p9n),mtn(aat)))),HV(n,qNn,FNn,a4n),HV(n,qNn,FNn,o4n),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,XNn),T$n),"Valid Indices for Wrapping"),null),dat),gUn),mtn(aat)))),HV(n,XNn,FNn,e4n),HV(n,XNn,FNn,i4n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,zNn),j$n),"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),hat),nGn),mtn(aat)))),HV(n,zNn,FNn,Q3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,VNn),j$n),"Distance Penalty When Improving Cuts"),null),2),fat),aGn),mtn(aat)))),HV(n,VNn,FNn,V3n),HV(n,VNn,zNn,!0),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,WNn),j$n),"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),hat),nGn),mtn(aat)))),HV(n,WNn,FNn,Y3n),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,QNn),E$n),"Edge Label Side Selection"),"Method to decide on edge label sides."),m2n),lat),IZn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,JNn),E$n),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),g2n),lat),qYn),r_(aat,o8(sM(mat,1),bPn,170,0,[rat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,YNn),S$n),"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."),q0n),lat),B8n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ZNn),S$n),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,n$n),S$n),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,t$n),S$n),"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."),R0n),lat),tQn),mtn(aat)))),HV(n,t$n,aAn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,e$n),S$n),"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."),B0n),lat),l8n),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,i$n),S$n),"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),fat),aGn),mtn(aat)))),HV(n,i$n,YNn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,r$n),S$n),"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),fat),aGn),mtn(aat)))),HV(n,r$n,YNn,null),tSn((new hl,n))},SH(OLn,"LayeredMetaDataProvider",859),Bwn(998,1,$In,hl),rSn.hf=function(n){tSn(n)},SH(OLn,"LayeredOptions",998),Bwn(999,1,{},Tc),rSn.sf=function(){return new Lv},rSn.tf=function(n){},SH(OLn,"LayeredOptions/LayeredFactory",999),Bwn(1391,1,{}),rSn.a=0,SH(bDn,"ElkSpacings/AbstractSpacingsBuilder",1391),Bwn(792,1391,{},Aen),SH(OLn,"LayeredSpacings/LayeredSpacingsBuilder",792),Bwn(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},SP),rSn.dg=function(){return Pmn(this)},rSn.qg=function(){return Pmn(this)};var e8n,i8n,r8n,c8n,a8n=c3(OLn,"LayeringStrategy",265,EUn,(function(){return Fgn(),o8(sM(a8n,1),bPn,265,0,[Z5n,Q5n,J5n,z5n,W5n,n8n,Y5n,X5n,V5n])}),(function(n){return Fgn(),r3((L5(),e8n),n)}));Bwn(390,22,{3:1,34:1,22:1,390:1},PP);var o8n,u8n,s8n,h8n,f8n,l8n=c3(OLn,"LongEdgeOrderingStrategy",390,EUn,(function(){return Z7(),o8(sM(l8n,1),bPn,390,0,[i8n,r8n,c8n])}),(function(n){return Z7(),r3((CY(),o8n),n)}));Bwn(203,22,{3:1,34:1,22:1,203:1},CP);var b8n,w8n,d8n,g8n,p8n,m8n,v8n=c3(OLn,"NodeFlexibility",203,EUn,(function(){return Ecn(),o8(sM(v8n,1),bPn,203,0,[h8n,f8n,s8n,u8n])}),(function(n){return Ecn(),r3((JZ(),b8n),n)}));Bwn(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},IP),rSn.dg=function(){return Zwn(this)},rSn.qg=function(){return Zwn(this)};var k8n,y8n,M8n,T8n,j8n,E8n,S8n,P8n,C8n,I8n,O8n,A8n=c3(OLn,"NodePlacementStrategy",323,EUn,(function(){return icn(),o8(sM(A8n,1),bPn,323,0,[m8n,d8n,g8n,w8n,p8n])}),(function(n){return icn(),r3((y0(),k8n),n)}));Bwn(243,22,{3:1,34:1,22:1,243:1},OP);var L8n,N8n,$8n,D8n,x8n,R8n=c3(OLn,"NodePromotionStrategy",243,EUn,(function(){return Ivn(),o8(sM(R8n,1),bPn,243,0,[I8n,j8n,P8n,E8n,S8n,y8n,C8n,O8n,M8n,T8n])}),(function(n){return Ivn(),r3((R8(),L8n),n)}));Bwn(284,22,{3:1,34:1,22:1,284:1},AP);var K8n,F8n,_8n,B8n=c3(OLn,"OrderingStrategy",284,EUn,(function(){return Din(),o8(sM(B8n,1),bPn,284,0,[$8n,N8n,D8n,x8n])}),(function(n){return Din(),r3((YZ(),K8n),n)}));Bwn(430,22,{3:1,34:1,22:1,430:1},LP);var H8n,U8n,G8n,q8n,X8n=c3(OLn,"PortSortingStrategy",430,EUn,(function(){return Q1(),o8(sM(X8n,1),bPn,430,0,[F8n,_8n])}),(function(n){return Q1(),r3((DQ(),H8n),n)}));Bwn(463,22,{3:1,34:1,22:1,463:1},NP);var z8n,V8n,W8n,Q8n,J8n=c3(OLn,"PortType",463,EUn,(function(){return k3(),o8(sM(J8n,1),bPn,463,0,[q8n,U8n,G8n])}),(function(n){return k3(),r3((AY(),z8n),n)}));Bwn(387,22,{3:1,34:1,22:1,387:1},$P);var Y8n,Z8n,n9n,t9n,e9n=c3(OLn,"SelfLoopDistributionStrategy",387,EUn,(function(){return H6(),o8(sM(e9n,1),bPn,387,0,[V8n,W8n,Q8n])}),(function(n){return H6(),r3((IY(),Y8n),n)}));Bwn(349,22,{3:1,34:1,22:1,349:1},DP);var i9n,r9n,c9n,a9n,o9n=c3(OLn,"SelfLoopOrderingStrategy",349,EUn,(function(){return S9(),o8(sM(o9n,1),bPn,349,0,[t9n,Z8n,n9n])}),(function(n){return S9(),r3((OY(),i9n),n)}));Bwn(312,1,{312:1},PTn),SH(OLn,"Spacings",312),Bwn(350,22,{3:1,34:1,22:1,350:1},xP);var u9n,s9n,h9n,f9n,l9n=c3(OLn,"SplineRoutingMode",350,EUn,(function(){return o7(),o8(sM(l9n,1),bPn,350,0,[r9n,c9n,a9n])}),(function(n){return o7(),r3((LY(),u9n),n)}));Bwn(352,22,{3:1,34:1,22:1,352:1},RP);var b9n,w9n,d9n,g9n,p9n=c3(OLn,"ValidifyStrategy",352,EUn,(function(){return m3(),o8(sM(p9n,1),bPn,352,0,[f9n,s9n,h9n])}),(function(n){return m3(),r3((NY(),b9n),n)}));Bwn(388,22,{3:1,34:1,22:1,388:1},KP);var m9n,v9n,k9n,y9n,M9n,T9n,j9n,E9n,S9n,P9n,C9n,I9n,O9n,A9n=c3(OLn,"WrappingStrategy",388,EUn,(function(){return f8(),o8(sM(A9n,1),bPn,388,0,[d9n,g9n,w9n])}),(function(n){return f8(),r3(($Y(),m9n),n)}));Bwn(1398,1,pDn,tl),rSn.rg=function(n){return YR(n,36),v9n},rSn.Kf=function(n,t){!function(n,t,e){var i,r,c,a,o,u,s,h;for(e.Ug("Depth-first cycle removal",1),u=(s=t.a).c.length,n.c=new Tm,n.d=eZ(Jdt,RIn,28,u,16,1),n.a=eZ(Jdt,RIn,28,u,16,1),n.b=new Tm,c=0,o=new mw(s);o.a0?S+1:1);for(a=new mw(y.g);a.a0?S+1:1)}0==n.c[s]?UK(n.e,d):0==n.a[s]&&UK(n.f,d),++s}for(w=-1,b=1,f=new Tm,n.d=YR(phn(t,(XEn(),h0n)),234);A>0;){for(;0!=n.e.b;)C=YR(zR(n.e),10),n.b[C.p]=w--,Wvn(n,C),--A;for(;0!=n.f.b;)I=YR(zR(n.f),10),n.b[I.p]=b++,Wvn(n,I),--A;if(A>0){for(l=kPn,m=new mw(v);m.a=l&&(k>l&&(f.c.length=0,l=k),Fm(f.c,d));h=n.sg(f),n.b[h.p]=b++,Wvn(n,h),--A}}for(P=v.c.length+1,s=0;sn.b[O]&&(Pyn(i,!0),L8(t,P1n,(GN(),!0)));n.a=null,n.c=null,n.b=null,GG(n.f),GG(n.e),e.Vg()}(this,YR(n,36),t)},rSn.sg=function(n){return YR(wF(n,Ocn(this.d,n.c.length)),10)},SH(mDn,"GreedyCycleBreaker",793),Bwn(1401,793,pDn,sO),rSn.sg=function(n){var t,e,i,r;for(r=null,t=dSn,i=new mw(n);i.a0&&Ufn(n,o,h);for(r=new mw(h);r.a0){for(k=Drn(n.f,0);k.b!=k.d.c;)YR(yW(k),10).p+=w-n.e;cln(n),GG(n.f),wmn(n,r,d)}else{for(UK(n.f,d),d.p=r,n.e=e.Math.max(n.e,r),a=new __(dN(_tn(d).a.Kc(),new h));Hwn(a);)(c=YR(TJ(a),18)).c.i.c||c.c.i.k!=(Zhn(),uQn)||(UK(n.f,c.c.i),c.c.i.p=r-1);n.c=r}else cln(n),GG(n.f),r=0,Hwn(new __(dN(_tn(d).a.Kc(),new h)))?wmn(n,r=(w=lcn(w=0,d))+2,d):(UK(n.f,d),d.p=0,n.e=e.Math.max(n.e,0),n.b=YR(wF(n.d.b,0),30),n.c=0);for(0==n.f.b||cln(n),n.d.a.c.length=0,v=new Tm,f=new mw(n.d.b);f.a=u){Y$(v.b>0),v.a.Xb(v.c=--v.b);break}p.a>s&&(r?(Y5(r.b,p.b),r.a=e.Math.max(r.a,p.a),uU(v)):(LL(p.b,f),p.c=e.Math.min(p.c,s),p.a=e.Math.max(p.a,u),r=p))}r||((r=new xv).c=s,r.a=u,HD(v,r),LL(r.b,f))}for(o=n.b,h=0,m=new mw(i);m.at.p?-1:0}(YR(n,10),YR(t,10))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(vDn,"StretchWidthLayerer/1",1409),Bwn(413,1,kDn),rSn.gg=function(n,t,e,i,r,c){},rSn.ug=function(n,t,e){return ekn(this,n,t,e)},rSn.fg=function(){this.g=eZ(tgt,yDn,28,this.d,15,1),this.f=eZ(tgt,yDn,28,this.d,15,1)},rSn.hg=function(n,t){this.e[n]=eZ(Qdt,qPn,28,t[n].length,15,1)},rSn.ig=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},rSn.jg=function(n,t,e,i){YR(wF(i[n][t].j,e),12).p=this.d++},rSn.b=0,rSn.c=0,rSn.d=0,SH(MDn,"AbstractBarycenterPortDistributor",413),Bwn(1698,1,sIn,wg),rSn.Ne=function(n,t){return function(n,t,e){var i,r,c,a;return(c=t.j)!=(a=e.j)?c.g-a.g:(i=n.f[t.p],r=n.f[e.p],0==i&&0==r?0:0==i?-1:0==r?1:dtn(i,r))}(this.a,YR(n,12),YR(t,12))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(MDn,"AbstractBarycenterPortDistributor/lambda$0$Type",1698),Bwn(832,1,jLn,wW),rSn.gg=function(n,t,e,i,r,c){},rSn.ig=function(n,t,e){},rSn.jg=function(n,t,e,i){},rSn.eg=function(){return!1},rSn.fg=function(){this.c=this.e.a,this.g=this.f.g},rSn.hg=function(n,t){t[n][0].c.p=n},rSn.kg=function(){return!1},rSn.vg=function(n,t,e,i){e?wun(this,n):(Pun(this,n,i),JTn(this,n,t)),n.c.length>1&&(my(z$(phn(gU((Rz(0,n.c.length),YR(n.c[0],10))),(NEn(),T4n))))?Ddn(n,this.d,YR(this,669)):(iq(),BA(n,this.d)),w5(this.e,n))},rSn.lg=function(n,t,e,i){var r,c,a,o,u,s,h;for(t!=AF(e,n.length)&&(c=n[t-(e?1:-1)],iY(this.f,c,e?(k3(),G8n):(k3(),U8n))),r=n[t][0],h=!i||r.k==(Zhn(),oQn),s=FJ(n[t]),this.vg(s,h,!1,e),a=0,u=new mw(s);u.a"),n0?NX(this.a,n[t-1],n[t]):!e&&t0&&(e+=u.n.a+u.o.a/2,++f),b=new mw(u.j);b.a0&&(e/=f),g=eZ(ngt,ECn,28,i.a.c.length,15,1),o=0,s=new mw(i.a);s.a1&&(my(z$(phn(gU((Rz(0,n.c.length),YR(n.c[0],10))),(NEn(),T4n))))?Ddn(n,this.d,this):(iq(),BA(n,this.d)),my(z$(phn(gU((Rz(0,n.c.length),YR(n.c[0],10))),T4n)))||w5(this.e,n))},SH(MDn,"ModelOrderBarycenterHeuristic",669),Bwn(1866,1,sIn,Tg),rSn.Ne=function(n,t){return vfn(this.a,YR(n,10),YR(t,10))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(MDn,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),Bwn(1423,1,pDn,ll),rSn.rg=function(n){var t;return YR(n,36),iF(t=eA(B9n),(mhn(),kWn),(VEn(),TJn)),t},rSn.Kf=function(n,t){!function(n){n.Ug("No crossing minimization",1),n.Vg()}((YR(n,36),t))},SH(MDn,"NoCrossingMinimizer",1423),Bwn(809,413,kDn,UM),rSn.tg=function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new mw(n.j);h.a1&&(r.j==(Djn(),ght)?this.b[n]=!0:r.j==xht&&n>0&&(this.b[n-1]=!0))},rSn.f=0,SH(TLn,"AllCrossingsCounter",1861),Bwn(595,1,{},D4),rSn.b=0,rSn.d=0,SH(TLn,"BinaryIndexedTree",595),Bwn(532,1,{},Kx),SH(TLn,"CrossingsCounter",532),Bwn(1950,1,sIn,jg),rSn.Ne=function(n,t){return function(n,t,e){return qA(n.d[t.p],n.d[e.p])}(this.a,YR(n,12),YR(t,12))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(TLn,"CrossingsCounter/lambda$0$Type",1950),Bwn(1951,1,sIn,Eg),rSn.Ne=function(n,t){return function(n,t,e){return qA(n.d[t.p],n.d[e.p])}(this.a,YR(n,12),YR(t,12))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(TLn,"CrossingsCounter/lambda$1$Type",1951),Bwn(1952,1,sIn,Sg),rSn.Ne=function(n,t){return function(n,t,e){return qA(n.d[t.p],n.d[e.p])}(this.a,YR(n,12),YR(t,12))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(TLn,"CrossingsCounter/lambda$2$Type",1952),Bwn(1953,1,sIn,Pg),rSn.Ne=function(n,t){return function(n,t,e){return qA(n.d[t.p],n.d[e.p])}(this.a,YR(n,12),YR(t,12))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(TLn,"CrossingsCounter/lambda$3$Type",1953),Bwn(1954,1,XSn,Cg),rSn.Cd=function(n){!function(n,t){MR(),LL(n,new sI(t,onn(t.e.c.length+t.g.c.length)))}(this.a,YR(n,12))},SH(TLn,"CrossingsCounter/lambda$4$Type",1954),Bwn(1955,1,pPn,Ig),rSn.Mb=function(n){return function(n,t){return MR(),t!=n}(this.a,YR(n,12))},SH(TLn,"CrossingsCounter/lambda$5$Type",1955),Bwn(1956,1,XSn,Og),rSn.Cd=function(n){AI(this,n)},SH(TLn,"CrossingsCounter/lambda$6$Type",1956),Bwn(1957,1,XSn,_P),rSn.Cd=function(n){var t;MR(),TW(this.b,(t=this.a,YR(n,12),t))},SH(TLn,"CrossingsCounter/lambda$7$Type",1957),Bwn(839,1,PIn,Nc),rSn.Lb=function(n){return MR(),w$(YR(n,12),(XEn(),o0n))},rSn.Fb=function(n){return this===n},rSn.Mb=function(n){return MR(),w$(YR(n,12),(XEn(),o0n))},SH(TLn,"CrossingsCounter/lambda$8$Type",839),Bwn(1949,1,{},Ag),SH(TLn,"HyperedgeCrossingsCounter",1949),Bwn(478,1,{34:1,478:1},ax),rSn.Fd=function(n){return function(n,t){return n.et.e?1:n.ft.f?1:_4(n)-_4(t)}(this,YR(n,478))},rSn.b=0,rSn.c=0,rSn.e=0,rSn.f=0;var q9n=SH(TLn,"HyperedgeCrossingsCounter/Hyperedge",478);Bwn(374,1,{34:1,374:1},mG),rSn.Fd=function(n){return function(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?_4(n.a)-_4(t.a):n.d==(LW(),z9n)&&t.d==X9n?-1:n.d==X9n&&t.d==z9n?1:0}(this,YR(n,374))},rSn.b=0,rSn.c=0;var X9n,z9n,V9n=SH(TLn,"HyperedgeCrossingsCounter/HyperedgeCorner",374);Bwn(531,22,{3:1,34:1,22:1,531:1},BP);var W9n,Q9n,J9n,Y9n,Z9n,n7n=c3(TLn,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,EUn,(function(){return LW(),o8(sM(n7n,1),bPn,531,0,[z9n,X9n])}),(function(n){return LW(),r3((xQ(),W9n),n)}));Bwn(1425,1,pDn,bl),rSn.rg=function(n){return YR(phn(YR(n,36),(XEn(),R1n)),21).Hc((Vpn(),QZn))?Q9n:null},rSn.Kf=function(n,t){!function(n,t,e){var i;for(e.Ug("Interactive node placement",1),n.a=YR(phn(t,(XEn(),d0n)),312),i=new mw(t.b);i.a1},SH(TDn,"NetworkSimplexPlacer/lambda$18$Type",1451),Bwn(1452,1,XSn,kG),rSn.Cd=function(n){!function(n,t,e,i,r){iz(),Jgn(sE(uE(oE(hE(new Mv,0),r.d.e-n),t),r.d)),Jgn(sE(uE(oE(hE(new Mv,0),e-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,YR(n,412))},rSn.c=0,rSn.d=0,SH(TDn,"NetworkSimplexPlacer/lambda$19$Type",1452),Bwn(1435,1,{},qc),rSn.Kb=function(n){return iz(),new CF(null,new Fz(YR(n,30).a,16))},SH(TDn,"NetworkSimplexPlacer/lambda$2$Type",1435),Bwn(1453,1,XSn,Dg),rSn.Cd=function(n){!function(n,t){iz(),t.n.b+=n}(this.a,YR(n,12))},rSn.a=0,SH(TDn,"NetworkSimplexPlacer/lambda$20$Type",1453),Bwn(1454,1,{},Xc),rSn.Kb=function(n){return iz(),new CF(null,new Fz(YR(n,30).a,16))},SH(TDn,"NetworkSimplexPlacer/lambda$21$Type",1454),Bwn(1455,1,XSn,xg),rSn.Cd=function(n){PL(this.a,YR(n,10))},SH(TDn,"NetworkSimplexPlacer/lambda$22$Type",1455),Bwn(1456,1,pPn,zc),rSn.Mb=function(n){return vD(n)},SH(TDn,"NetworkSimplexPlacer/lambda$23$Type",1456),Bwn(1457,1,{},Vc),rSn.Kb=function(n){return iz(),new CF(null,new Fz(YR(n,30).a,16))},SH(TDn,"NetworkSimplexPlacer/lambda$24$Type",1457),Bwn(1458,1,pPn,Rg),rSn.Mb=function(n){return function(n,t){return 2==n.j[t.p]}(this.a,YR(n,10))},SH(TDn,"NetworkSimplexPlacer/lambda$25$Type",1458),Bwn(1459,1,XSn,GP),rSn.Cd=function(n){!function(n,t,e){var i,r,c;for(r=new __(dN(Ftn(e).a.Kc(),new h));Hwn(r);)hJ(i=YR(TJ(r),18))||!hJ(i)&&i.c.i.c==i.d.i.c||(c=ngn(n,i,e,new Hv)).c.length>1&&Fm(t.c,c)}(this.a,this.b,YR(n,10))},SH(TDn,"NetworkSimplexPlacer/lambda$26$Type",1459),Bwn(1460,1,pPn,Wc),rSn.Mb=function(n){return iz(),!hJ(YR(n,18))},SH(TDn,"NetworkSimplexPlacer/lambda$27$Type",1460),Bwn(1461,1,pPn,Qc),rSn.Mb=function(n){return iz(),!hJ(YR(n,18))},SH(TDn,"NetworkSimplexPlacer/lambda$28$Type",1461),Bwn(1462,1,{},Kg),rSn.Ve=function(n,t){return QA(this.a,YR(n,30),YR(t,30))},SH(TDn,"NetworkSimplexPlacer/lambda$29$Type",1462),Bwn(1436,1,{},Jc),rSn.Kb=function(n){return iz(),new CF(null,new lH(new __(dN(Btn(YR(n,10)).a.Kc(),new h))))},SH(TDn,"NetworkSimplexPlacer/lambda$3$Type",1436),Bwn(1437,1,pPn,Yc),rSn.Mb=function(n){return iz(),function(n){return iz(),!(hJ(n)||!hJ(n)&&n.c.i.c==n.d.i.c)}(YR(n,18))},SH(TDn,"NetworkSimplexPlacer/lambda$4$Type",1437),Bwn(1438,1,XSn,Fg),rSn.Cd=function(n){!function(n,t){var i,r,c,a,o,u,s,h,f,l,b;i=NN(new Tv,n.f),u=n.i[t.c.i.p],l=n.i[t.d.i.p],o=t.c,f=t.d,a=o.a.b,h=f.a.b,u.b||(a+=o.n.b),l.b||(h+=f.n.b),s=bX(e.Math.max(0,a-h)),c=bX(e.Math.max(0,h-a)),b=e.Math.max(1,YR(phn(t,(NEn(),i5n)),17).a)*tQ(t.c.i.k,t.d.i.k),r=new HP(Jgn(sE(uE(oE(hE(new Mv,b),c),i),YR(KH(n.k,t.c),125))),Jgn(sE(uE(oE(hE(new Mv,b),s),i),YR(KH(n.k,t.d),125)))),n.c[t.p]=r}(this.a,YR(n,18))},SH(TDn,"NetworkSimplexPlacer/lambda$5$Type",1438),Bwn(1439,1,{},Zc),rSn.Kb=function(n){return iz(),new CF(null,new Fz(YR(n,30).a,16))},SH(TDn,"NetworkSimplexPlacer/lambda$6$Type",1439),Bwn(1440,1,pPn,na),rSn.Mb=function(n){return iz(),YR(n,10).k==(Zhn(),hQn)},SH(TDn,"NetworkSimplexPlacer/lambda$7$Type",1440),Bwn(1441,1,{},ta),rSn.Kb=function(n){return iz(),new CF(null,new lH(new __(dN(Ftn(YR(n,10)).a.Kc(),new h))))},SH(TDn,"NetworkSimplexPlacer/lambda$8$Type",1441),Bwn(1442,1,pPn,ea),rSn.Mb=function(n){return iz(),function(n){return!hJ(n)&&n.c.i.c==n.d.i.c}(YR(n,18))},SH(TDn,"NetworkSimplexPlacer/lambda$9$Type",1442),Bwn(1424,1,pDn,dl),rSn.rg=function(n){return YR(phn(YR(n,36),(XEn(),R1n)),21).Hc((Vpn(),QZn))?r7n:null},rSn.Kf=function(n,t){!function(n,t){var i,r,c,a,o,u,s,h,f,l;for(t.Ug("Simple node placement",1),l=YR(phn(n,(XEn(),d0n)),312),u=0,a=new mw(n.b);a.a0?(b=(w-1)*e,o&&(b+=i),h&&(b+=i),b0&&(y-=d),oTn(o,y),l=0,w=new mw(o.a);w.a0),u.a.Xb(u.c=--u.b)),s=.4*r*l,!a&&u.b"+this.b+" ("+((null!=(n=this.c).f?n.f:""+n.g)+")");var n},rSn.d=0,SH(CDn,"HyperEdgeSegmentDependency",132),Bwn(528,22,{3:1,34:1,22:1,528:1},cC);var L7n,N7n,$7n,D7n,x7n,R7n,K7n,F7n,_7n=c3(CDn,"HyperEdgeSegmentDependency/DependencyType",528,EUn,(function(){return vY(),o8(sM(_7n,1),bPn,528,0,[O7n,I7n])}),(function(n){return vY(),r3((HQ(),L7n),n)}));Bwn(1878,1,{},Bg),SH(CDn,"HyperEdgeSegmentSplitter",1878),Bwn(1879,1,{},WM),rSn.a=0,rSn.b=0,SH(CDn,"HyperEdgeSegmentSplitter/AreaRating",1879),Bwn(339,1,{339:1},ER),rSn.a=0,rSn.b=0,rSn.c=0,SH(CDn,"HyperEdgeSegmentSplitter/FreeArea",339),Bwn(1880,1,sIn,ba),rSn.Ne=function(n,t){return function(n,t){return dtn(n.c-n.s,t.c-t.s)}(YR(n,118),YR(t,118))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(CDn,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),Bwn(1881,1,XSn,MG),rSn.Cd=function(n){qW(this.a,this.d,this.c,this.b,YR(n,118))},rSn.b=0,SH(CDn,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),Bwn(1882,1,{},wa),rSn.Kb=function(n){return new CF(null,new Fz(YR(n,118).e,16))},SH(CDn,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),Bwn(1883,1,{},da),rSn.Kb=function(n){return new CF(null,new Fz(YR(n,118).j,16))},SH(CDn,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),Bwn(1884,1,{},ga),rSn.Ye=function(n){return vy(V$(n))},SH(CDn,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),Bwn(664,1,{},bH),rSn.a=0,rSn.b=0,rSn.c=0,SH(CDn,"OrthogonalRoutingGenerator",664),Bwn(1703,1,{},pa),rSn.Kb=function(n){return new CF(null,new Fz(YR(n,118).e,16))},SH(CDn,"OrthogonalRoutingGenerator/lambda$0$Type",1703),Bwn(1704,1,{},ma),rSn.Kb=function(n){return new CF(null,new Fz(YR(n,118).j,16))},SH(CDn,"OrthogonalRoutingGenerator/lambda$1$Type",1704),Bwn(670,1,{}),SH(IDn,"BaseRoutingDirectionStrategy",670),Bwn(1870,670,{},Jv),rSn.yg=function(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new mw(n.n);h.aJOn&&(c=n,r=new xC(l,a=f),UK(o.a,r),jkn(this,o,c,r,!1),(b=n.r)&&(r=new xC(w=vy(V$(Zrn(b.e,0))),a),UK(o.a,r),jkn(this,o,c,r,!1),c=b,r=new xC(w,a=t+b.o*i),UK(o.a,r),jkn(this,o,c,r,!1)),r=new xC(g,a),UK(o.a,r),jkn(this,o,c,r,!1)))},rSn.zg=function(n){return n.i.n.a+n.n.a+n.a.a},rSn.Ag=function(){return Djn(),$ht},rSn.Bg=function(){return Djn(),pht},SH(IDn,"NorthToSouthRoutingStrategy",1870),Bwn(1871,670,{},Yv),rSn.yg=function(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*i,h=new mw(n.n);h.aJOn&&(c=n,r=new xC(l,a=f),UK(o.a,r),jkn(this,o,c,r,!1),(b=n.r)&&(r=new xC(w=vy(V$(Zrn(b.e,0))),a),UK(o.a,r),jkn(this,o,c,r,!1),c=b,r=new xC(w,a=t-b.o*i),UK(o.a,r),jkn(this,o,c,r,!1)),r=new xC(g,a),UK(o.a,r),jkn(this,o,c,r,!1)))},rSn.zg=function(n){return n.i.n.a+n.n.a+n.a.a},rSn.Ag=function(){return Djn(),pht},rSn.Bg=function(){return Djn(),$ht},SH(IDn,"SouthToNorthRoutingStrategy",1871),Bwn(1869,670,{},Zv),rSn.yg=function(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new mw(n.n);h.aJOn&&(c=n,r=new xC(a=f,l),UK(o.a,r),jkn(this,o,c,r,!0),(b=n.r)&&(r=new xC(a,w=vy(V$(Zrn(b.e,0)))),UK(o.a,r),jkn(this,o,c,r,!0),c=b,r=new xC(a=t+b.o*i,w),UK(o.a,r),jkn(this,o,c,r,!0)),r=new xC(a,g),UK(o.a,r),jkn(this,o,c,r,!0)))},rSn.zg=function(n){return n.i.n.b+n.n.b+n.a.b},rSn.Ag=function(){return Djn(),ght},rSn.Bg=function(){return Djn(),xht},SH(IDn,"WestToEastRoutingStrategy",1869),Bwn(828,1,{},Lyn),rSn.Ib=function(){return Ihn(this.a)},rSn.b=0,rSn.c=!1,rSn.d=!1,rSn.f=0,SH(ADn,"NubSpline",828),Bwn(418,1,{418:1},ypn,Zq),SH(ADn,"NubSpline/PolarCP",418),Bwn(1480,1,pDn,Yan),rSn.rg=function(n){return function(n){var t,e;return t5(t=new AU,N7n),(e=YR(phn(n,(XEn(),R1n)),21)).Hc((Vpn(),e1n))&&t5(t,R7n),e.Hc(zZn)&&t5(t,$7n),e.Hc(n1n)&&t5(t,x7n),e.Hc(WZn)&&t5(t,D7n),t}(YR(n,36))},rSn.Kf=function(n,t){!function(n,t,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C;if(i.Ug("Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void i.Vg();m=vy(V$(phn(t,(NEn(),y5n)))),u=vy(V$(phn(t,w5n))),o=vy(V$(phn(t,f5n))),j=YR(phn(t,V4n),350)==(o7(),a9n),T=vy(V$(phn(t,W4n))),n.d=t,n.j.c.length=0,n.a.c.length=0,IB(n.k),f=JI((s=YR(wF(t.b,0),30)).a,(lpn(),P7n)),l=JI((d=YR(wF(t.b,t.b.c.length-1),30)).a,P7n),g=new mw(t.b),p=null,C=0;do{for(Kjn(n,p,v=g.a0?(h=0,p&&(h+=u),h+=(E-1)*o,v&&(h+=u),j&&v&&(h=e.Math.max(h,tpn(v,o,m,T))),h("+this.c+") "+this.b},rSn.c=0,SH(ADn,"SplineEdgeRouter/Dependency",274),Bwn(465,22,{3:1,34:1,22:1,465:1},aC);var B7n,H7n,U7n,G7n,q7n,X7n=c3(ADn,"SplineEdgeRouter/SideToProcess",465,EUn,(function(){return MX(),o8(sM(X7n,1),bPn,465,0,[K7n,F7n])}),(function(n){return MX(),r3((UQ(),B7n),n)}));Bwn(1481,1,pPn,va),rSn.Mb=function(n){return bpn(),!YR(n,131).o},SH(ADn,"SplineEdgeRouter/lambda$0$Type",1481),Bwn(1482,1,{},ka),rSn.Ze=function(n){return bpn(),YR(n,131).v+1},SH(ADn,"SplineEdgeRouter/lambda$1$Type",1482),Bwn(1483,1,XSn,tC),rSn.Cd=function(n){!function(n,t,e){xU(n.b,YR(e.b,18),t)}(this.a,this.b,YR(n,42))},SH(ADn,"SplineEdgeRouter/lambda$2$Type",1483),Bwn(1484,1,XSn,eC),rSn.Cd=function(n){!function(n,t,e){xU(n.b,YR(e.b,18),t)}(this.a,this.b,YR(n,42))},SH(ADn,"SplineEdgeRouter/lambda$3$Type",1484),Bwn(131,1,{34:1,131:1},Sln,tTn),rSn.Fd=function(n){return function(n,t){return n.s-t.s}(this,YR(n,131))},rSn.b=0,rSn.e=!1,rSn.f=0,rSn.g=0,rSn.j=!1,rSn.k=!1,rSn.n=0,rSn.o=!1,rSn.p=!1,rSn.q=!1,rSn.s=0,rSn.u=0,rSn.v=0,rSn.F=0,SH(ADn,"SplineSegment",131),Bwn(468,1,{468:1},ya),rSn.a=0,rSn.b=!1,rSn.c=!1,rSn.d=!1,rSn.e=!1,rSn.f=0,SH(ADn,"SplineSegment/EdgeInformation",468),Bwn(1198,1,{},Ma),SH(xDn,BOn,1198),Bwn(1199,1,sIn,Ta),rSn.Ne=function(n,t){return function(n,t){var e,i,r;return 0==(e=YR(phn(t,(fyn(),gtt)),17).a-YR(phn(n,gtt),17).a)?(i=lx(aL(YR(phn(n,(Ajn(),wnt)),8)),YR(phn(n,dnt),8)),r=lx(aL(YR(phn(t,wnt),8)),YR(phn(t,dnt),8)),dtn(i.a*i.b,r.a*r.b)):e}(YR(n,121),YR(t,121))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(xDn,HOn,1199),Bwn(1197,1,{},ET),SH(xDn,"MrTree",1197),Bwn(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},oC),rSn.dg=function(){return Sbn(this)},rSn.qg=function(){return Sbn(this)};var z7n,V7n=c3(xDn,"TreeLayoutPhases",405,EUn,(function(){return yon(),o8(sM(V7n,1),bPn,405,0,[H7n,U7n,G7n,q7n])}),(function(n){return yon(),r3((u1(),z7n),n)}));Bwn(1112,205,mOn,rx),rSn.rf=function(n,t){var i,r,c,a,o,u,s;for(my(z$(ldn(n,(fyn(),ftt))))||lX(new Ww((BE(),new uy(n)))),(a=t.eh(RDn)).Ug("build tGraph",1),M5(u=new lY,n),L8(u,(Ajn(),Lnt),n),function(n,t,i){var r,c,a,o,u;for(a=0,c=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));c.e!=c.i.gc();)o="",0==(!(r=YR(Grn(c),27)).n&&(r.n=new oB(ult,r,1,7)),r.n).i||(o=YR(g2((!r.n&&(r.n=new oB(ult,r,1,7)),r.n),0),135).a),M5(u=new p9(a++,t,o),r),L8(u,(Ajn(),Lnt),r),u.e.b=r.j+r.f/2,u.f.a=e.Math.max(r.g,1),u.e.a=r.i+r.g/2,u.f.b=e.Math.max(r.f,1),UK(t.b,u),Cln(i.f,r,u)}(n,u,s=new Mm),function(n,t,e){var i,r,c,a,o,u,s;for(a=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new __(dN(Ydn(c=YR(Grn(a),27)).a.Kc(),new h));Hwn(r);)Cwn(i=YR(TJ(r),74))||Cwn(i)||xbn(i)||(u=YR(UI(QF(e.f,c)),40),s=YR(KH(e,Hsn(YR(g2((!i.c&&(i.c=new Mx(tlt,i,5,8)),i.c),0),84))),40),u&&s&&(L8(o=new tq(u,s),(Ajn(),Lnt),i),M5(o,i),UK(u.d,o),UK(s.b,o),UK(t.a,o)))}(n,u,s),o=u,a.Vg(),(a=t.eh(RDn)).Ug("Split graph",1),c=fkn(this.a,o),a.Vg(),r=new mw(c);r.al&&(P=0,C+=f+T,f=0),Qvn(y,o,P,C),t=e.Math.max(t,P+M.a),f=e.Math.max(f,M.b),P+=M.a+T;for(k=new Mm,i=new Mm,E=new mw(n);E.a"+eV(t.c):"e_"+_4(t),n.b&&n.c?eV(n.b)+"->"+eV(n.c):"e_"+_4(n))}(this.a,YR(n,65))},SH(xDn,"TreeUtil/lambda$3$Type",1886),Bwn(1887,1,sIn,ja),rSn.Ne=function(n,t){return function(n,t){return dtn(n.b.e.a,t.b.e.a)}(YR(n,65),YR(t,65))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(xDn,"TreeUtil/lambda$4$Type",1887),Bwn(1888,1,pPn,qg),rSn.Mb=function(n){return function(n,t){return Ix(t.b&&t.c?eV(t.b)+"->"+eV(t.c):"e_"+_4(t),n.b&&n.c?eV(n.b)+"->"+eV(n.c):"e_"+_4(n))}(this.a,YR(n,65))},SH(xDn,"TreeUtil/lambda$7$Type",1888),Bwn(1889,1,sIn,Ca),rSn.Ne=function(n,t){return function(n,t){return dtn(n.c.e.a,t.c.e.a)}(YR(n,65),YR(t,65))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(xDn,"TreeUtil/lambda$8$Type",1889),Bwn(1890,1,{},Ia),rSn.Kb=function(n){return YR(n,65).b},SH(xDn,"TreeUtil/lambda$9$Type",1890),Bwn(508,137,{3:1,508:1,96:1,137:1}),rSn.g=0,SH(FDn,"TGraphElement",508),Bwn(65,508,{3:1,65:1,508:1,96:1,137:1},tq),rSn.Ib=function(){return this.b&&this.c?eV(this.b)+"->"+eV(this.c):"e_"+_4(this)},SH(FDn,"TEdge",65),Bwn(121,137,{3:1,121:1,96:1,137:1},lY),rSn.Ib=function(){var n,t,e,i,r;for(r=null,i=Drn(this.b,0);i.b!=i.d.c;)r+=(null==(e=YR(yW(i),40)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=Drn(this.a,0);t.b!=t.d.c;)r+=((n=YR(yW(t),65)).b&&n.c?eV(n.b)+"->"+eV(n.c):"e_"+_4(n))+"\n";return r};var W7n=SH(FDn,"TGraph",121);Bwn(643,508,{3:1,508:1,643:1,96:1,137:1}),SH(FDn,"TShape",643),Bwn(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},p9),rSn.Ib=function(){return eV(this)};var Q7n,J7n,Y7n,Z7n,nnt,tnt,ent,int,rnt,cnt,ant,ont=SH(FDn,"TNode",40);Bwn(236,1,JSn,Xg),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return new zg(Drn(this.a.d,0))},SH(FDn,"TNode/2",236),Bwn(329,1,OSn,zg),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){return YR(yW(this.a),65).c},rSn.Ob=function(){return LT(this.a)},rSn.Qb=function(){Q0(this.a)},SH(FDn,"TNode/2/1",329),Bwn(1923,1,XAn,Oa),rSn.Kf=function(n,t){DEn(this,YR(n,121),t)},SH(BDn,"CompactionProcessor",1923),Bwn(1924,1,sIn,Vg),rSn.Ne=function(n,t){return function(n,t,e){return dtn(IL(Lrn(n),new xC(t.e.a,t.e.b)),IL(Lrn(n),new xC(e.e.a,e.e.b)))}(this.a,YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$0$Type",1924),Bwn(1925,1,pPn,rC),rSn.Mb=function(n){return function(n,t,e){return vy(V$(e.a))<=n&&vy(V$(e.b))>=t}(this.b,this.a,YR(n,42))},rSn.a=0,rSn.b=0,SH(BDn,"CompactionProcessor/lambda$1$Type",1925),Bwn(1934,1,sIn,Aa),rSn.Ne=function(n,t){return function(n,t){return dtn(n.e.a+n.f.a,t.e.a+t.f.a)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$10$Type",1934),Bwn(1935,1,sIn,La),rSn.Ne=function(n,t){return function(n,t){return dtn(n.e.b,t.e.b)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$11$Type",1935),Bwn(1936,1,sIn,Na),rSn.Ne=function(n,t){return function(n,t){return dtn(n.e.b+n.f.b,t.e.b+t.f.b)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$12$Type",1936),Bwn(1926,1,pPn,Wg),rSn.Mb=function(n){return function(n,t){return vy(V$(t.a))<=n}(this.a,YR(n,42))},rSn.a=0,SH(BDn,"CompactionProcessor/lambda$2$Type",1926),Bwn(1927,1,pPn,Qg),rSn.Mb=function(n){return function(n,t){return vy(V$(t.a))>=n}(this.a,YR(n,42))},rSn.a=0,SH(BDn,"CompactionProcessor/lambda$3$Type",1927),Bwn(1928,1,pPn,$a),rSn.Mb=function(n){return-1==YR(n,40).c.indexOf(KDn)},SH(BDn,"CompactionProcessor/lambda$4$Type",1928),Bwn(1929,1,{},Jg),rSn.Kb=function(n){return function(n,t){return new PR(t,S$(aL(t.e),n,n),(GN(),!0))}(this.a,YR(n,40))},rSn.a=0,SH(BDn,"CompactionProcessor/lambda$5$Type",1929),Bwn(1930,1,{},Yg),rSn.Kb=function(n){return function(n,t){return new PR(t,M$(aL(t.e),t.f.a+n,t.f.b+n),(GN(),!1))}(this.a,YR(n,40))},rSn.a=0,SH(BDn,"CompactionProcessor/lambda$6$Type",1930),Bwn(1931,1,sIn,Zg),rSn.Ne=function(n,t){return function(n,t,e){return dtn(IL(Lrn(n),aL(t.b)),IL(Lrn(n),aL(e.b)))}(this.a,YR(n,240),YR(t,240))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$7$Type",1931),Bwn(1932,1,sIn,np),rSn.Ne=function(n,t){return function(n,t,e){return dtn(IL(Lrn(n),aL(t.e)),IL(Lrn(n),aL(e.e)))}(this.a,YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$8$Type",1932),Bwn(1933,1,sIn,Da),rSn.Ne=function(n,t){return function(n,t){return dtn(n.e.a,t.e.a)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(BDn,"CompactionProcessor/lambda$9$Type",1933),Bwn(1921,1,XAn,xa),rSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a,o,u;if(t.Ug("Process directions",1),(e=YR(phn(n,(fyn(),ntt)),88))!=(znn(),Xut))for(r=Drn(n.b,0);r.b!=r.d.c;){switch(i=YR(yW(r),40),o=YR(phn(i,(Ajn(),Fnt)),17).a,u=YR(phn(i,_nt),17).a,e.g){case 4:u*=-1;break;case 1:c=o,o=u,u=c;break;case 2:a=o,o=-u,u=a}L8(i,Fnt,onn(o)),L8(i,_nt,onn(u))}t.Vg()}(YR(n,121),t)},SH(BDn,"DirectionProcessor",1921),Bwn(1913,1,XAn,ix),rSn.Kf=function(n,t){Skn(this,YR(n,121),t)},SH(BDn,"FanProcessor",1913),Bwn(1937,1,XAn,Ra),rSn.Kf=function(n,t){!function(n,t){t.Ug("Process graph bounds",1),L8(n,(Ajn(),Mnt),VP(d6(hG(new CF(null,new Fz(n.b,16)),new Ka)))),L8(n,jnt,VP(d6(hG(new CF(null,new Fz(n.b,16)),new Fa)))),L8(n,ynt,VP(w6(hG(new CF(null,new Fz(n.b,16)),new _a)))),L8(n,Tnt,VP(w6(hG(new CF(null,new Fz(n.b,16)),new Ba)))),t.Vg()}(YR(n,121),t)},SH(BDn,"GraphBoundsProcessor",1937),Bwn(1938,1,{},Ka),rSn.Ye=function(n){return YR(n,40).e.a},SH(BDn,"GraphBoundsProcessor/lambda$0$Type",1938),Bwn(1939,1,{},Fa),rSn.Ye=function(n){return YR(n,40).e.b},SH(BDn,"GraphBoundsProcessor/lambda$1$Type",1939),Bwn(1940,1,{},_a),rSn.Ye=function(n){return function(n){return n.e.a+n.f.a}(YR(n,40))},SH(BDn,"GraphBoundsProcessor/lambda$2$Type",1940),Bwn(1941,1,{},Ba),rSn.Ye=function(n){return function(n){return n.e.b+n.f.b}(YR(n,40))},SH(BDn,"GraphBoundsProcessor/lambda$3$Type",1941),Bwn(262,22,{3:1,34:1,22:1,262:1,196:1},uC),rSn.dg=function(){switch(this.g){case 0:return new Tk;case 1:return new ix;case 2:return new Mk;case 3:return new Xa;case 4:return new Ua;case 8:return new Ha;case 5:return new xa;case 6:return new Va;case 7:return new Oa;case 9:return new Ra;case 10:return new Wa;default:throw Nm(new Iy(dLn+(null!=this.f?this.f:""+this.g)))}};var unt,snt,hnt,fnt,lnt=c3(BDn,gLn,262,EUn,z6,(function(n){return Nvn(),r3((yO(),unt),n)}));Bwn(1920,1,XAn,Ha),rSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a;for(t.Ug("Processor determine the coords for each level",1),i=new Tm,a=Drn(n.b,0);a.b!=a.d.c;){for(r=YR(yW(a),40);YR(phn(r,(fyn(),Stt)),17).a>i.c.length-1;)LL(i,new sI(ROn,_Dn));e=YR(phn(r,Stt),17).a,aA(YR(phn(n,ntt),88))?(r.e.avy(V$((Rz(e,i.c.length),YR(i.c[e],42)).b))&&Vb((Rz(e,i.c.length),YR(i.c[e],42)),r.e.a+r.f.a)):(r.e.bvy(V$((Rz(e,i.c.length),YR(i.c[e],42)).b))&&Vb((Rz(e,i.c.length),YR(i.c[e],42)),r.e.b+r.f.b))}for(c=Drn(n.b,0);c.b!=c.d.c;)r=YR(yW(c),40),e=YR(phn(r,(fyn(),Stt)),17).a,L8(r,(Ajn(),Ont),V$((Rz(e,i.c.length),YR(i.c[e],42)).a)),L8(r,Int,V$((Rz(e,i.c.length),YR(i.c[e],42)).b));t.Vg()}(YR(n,121),t)},SH(BDn,"LevelCoordinatesProcessor",1920),Bwn(1918,1,XAn,Ua),rSn.Kf=function(n,t){Sgn(this,YR(n,121),t)},rSn.a=0,SH(BDn,"LevelHeightProcessor",1918),Bwn(1919,1,JSn,Ga),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return iq(),zj(),qGn},SH(BDn,"LevelHeightProcessor/1",1919),Bwn(1914,1,XAn,Mk),rSn.Kf=function(n,t){emn(this,YR(n,121),t)},SH(BDn,"LevelProcessor",1914),Bwn(1915,1,pPn,qa),rSn.Mb=function(n){return my(z$(phn(YR(n,40),(Ajn(),Knt))))},SH(BDn,"LevelProcessor/lambda$0$Type",1915),Bwn(1916,1,XAn,Xa),rSn.Kf=function(n,t){mln(this,YR(n,121),t)},rSn.a=0,SH(BDn,"NeighborsProcessor",1916),Bwn(1917,1,JSn,za),rSn.Jc=function(n){JQ(this,n)},rSn.Kc=function(){return iq(),zj(),qGn},SH(BDn,"NeighborsProcessor/1",1917),Bwn(1922,1,XAn,Va),rSn.Kf=function(n,t){!function(n,t,e){var i,r,c,a,o,u,s,h,f;for(e.Ug("Processor set coordinates",1),n.a=0==t.b.b?1:t.b.b,s=null,i=Drn(t.b,0);!s&&i.b!=i.d.c;)my(z$(phn(f=YR(yW(i),40),(Ajn(),Knt))))&&(s=f,(u=f.e).a=YR(phn(f,Fnt),17).a,u.b=YR(phn(f,_nt),17).a);o=Z5(s),h=1;do{h=(o=Uhn((r=o,e.eh(h),r))).b/n.a|0}while(0!=o.b);for(a=Drn(t.b,0);a.b!=a.d.c;)lx((c=YR(yW(a),40)).e,new xC(c.f.a/2,c.f.b/2));e.Vg()}(this,YR(n,121),t)},rSn.a=0,SH(BDn,"NodePositionProcessor",1922),Bwn(1912,1,XAn,Tk),rSn.Kf=function(n,t){!function(n,t,e){var i,r,c,a,o,u,s;for(e.Ug("Find roots",1),n.a.c.length=0,r=Drn(t.b,0);r.b!=r.d.c;)0==(i=YR(yW(r),40)).b.b&&(L8(i,(Ajn(),Knt),(GN(),!0)),LL(n.a,i));switch(n.a.c.length){case 0:L8(c=new p9(0,t,"DUMMY_ROOT"),(Ajn(),Knt),(GN(),!0)),L8(c,vnt,!0),UK(t.b,c);break;case 1:break;default:for(a=new p9(0,t,KDn),u=new mw(n.a);u.a=0}(this.a,YR(n,40))},SH(rxn,"NodeOrderer/lambda$2$Type",1490),Bwn(1491,1,pPn,tp),rSn.Mb=function(n){return function(n,t){return M2(),YR(phn(t,(fyn(),dtt)),17).a>=n.gc()}(this.a,YR(n,40))},SH(rxn,"NodeOrderer/lambda$3$Type",1491),Bwn(1492,1,sIn,go),rSn.Ne=function(n,t){return function(n,t){return M2(),-qA(YR(phn(n,(fyn(),dtt)),17).a,YR(phn(t,dtt),17).a)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(rxn,"NodeOrderer/lambda$4$Type",1492),Bwn(1493,1,pPn,po),rSn.Mb=function(n){return M2(),0!=YR(phn(YR(n,40),(Ajn(),knt)),17).a},SH(rxn,"NodeOrderer/lambda$5$Type",1493),Bwn(1495,1,pDn,vl),rSn.rg=function(n){return YR(n,121),_tt},rSn.Kf=function(n,t){Yvn(this,YR(n,121),t)},rSn.b=0,SH("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),Bwn(1496,1,pDn,ml),rSn.rg=function(n){return YR(n,121),Btt},rSn.Kf=function(n,t){Mvn(YR(n,121),t)},SH(cxn,"EdgeRouter",1496),Bwn(1498,1,sIn,fo),rSn.Ne=function(n,t){return qA(YR(n,17).a,YR(t,17).a)},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/0methodref$compare$Type",1498),Bwn(1503,1,{},Ya),rSn.Ye=function(n){return vy(V$(n))},SH(cxn,"EdgeRouter/1methodref$doubleValue$Type",1503),Bwn(1505,1,sIn,Za),rSn.Ne=function(n,t){return dtn(vy(V$(n)),vy(V$(t)))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/2methodref$compare$Type",1505),Bwn(1507,1,sIn,no),rSn.Ne=function(n,t){return dtn(vy(V$(n)),vy(V$(t)))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/3methodref$compare$Type",1507),Bwn(1509,1,{},Ja),rSn.Ye=function(n){return vy(V$(n))},SH(cxn,"EdgeRouter/4methodref$doubleValue$Type",1509),Bwn(1511,1,sIn,to),rSn.Ne=function(n,t){return dtn(vy(V$(n)),vy(V$(t)))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/5methodref$compare$Type",1511),Bwn(1513,1,sIn,eo),rSn.Ne=function(n,t){return dtn(vy(V$(n)),vy(V$(t)))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/6methodref$compare$Type",1513),Bwn(1497,1,{},io),rSn.Kb=function(n){return T2(),YR(phn(YR(n,40),(fyn(),Stt)),17)},SH(cxn,"EdgeRouter/lambda$0$Type",1497),Bwn(1508,1,{},ro),rSn.Kb=function(n){return function(n){return T2(),n.e.a+n.f.a/2}(YR(n,40))},SH(cxn,"EdgeRouter/lambda$11$Type",1508),Bwn(1510,1,{},IC),rSn.Kb=function(n){return function(n,t,e){return T2(),e.e.a+e.f.a+n*t}(this.b,this.a,YR(n,40))},rSn.a=0,rSn.b=0,SH(cxn,"EdgeRouter/lambda$13$Type",1510),Bwn(1512,1,{},OC),rSn.Kb=function(n){return function(n,t,e){return T2(),e.e.a-n*t}(this.b,this.a,YR(n,40))},rSn.a=0,rSn.b=0,SH(cxn,"EdgeRouter/lambda$15$Type",1512),Bwn(1514,1,sIn,co),rSn.Ne=function(n,t){return function(n,t){return T2(),dtn((0==n.a.b?new xC(n.c.e.a,n.c.e.b):YR(f$(n.a),8)).b,(0==t.a.b?new xC(t.c.e.a,t.c.e.b):YR(f$(t.a),8)).b)}(YR(n,65),YR(t,65))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/lambda$17$Type",1514),Bwn(1515,1,sIn,ao),rSn.Ne=function(n,t){return function(n,t){return T2(),dtn((0==n.a.b?new xC(n.c.e.a,n.c.e.b):YR(f$(n.a),8)).a,(0==t.a.b?new xC(t.c.e.a,t.c.e.b):YR(f$(t.a),8)).a)}(YR(n,65),YR(t,65))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/lambda$18$Type",1515),Bwn(1516,1,sIn,oo),rSn.Ne=function(n,t){return function(n,t){return T2(),dtn((0==n.a.b?new xC(n.b.e.a,n.b.e.b):YR(l$(n.a),8)).b,(0==t.a.b?new xC(t.b.e.a,t.b.e.b):YR(l$(t.a),8)).b)}(YR(n,65),YR(t,65))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/lambda$19$Type",1516),Bwn(1499,1,pPn,ip),rSn.Mb=function(n){return function(n,t){return T2(),YR(phn(t,(fyn(),Stt)),17).a==n}(this.a,YR(n,40))},rSn.a=0,SH(cxn,"EdgeRouter/lambda$2$Type",1499),Bwn(1517,1,sIn,uo),rSn.Ne=function(n,t){return function(n,t){return T2(),dtn((0==n.a.b?new xC(n.b.e.a,n.b.e.b):YR(l$(n.a),8)).a,(0==t.a.b?new xC(t.b.e.a,t.b.e.b):YR(l$(t.a),8)).a)}(YR(n,65),YR(t,65))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/lambda$20$Type",1517),Bwn(1500,1,sIn,so),rSn.Ne=function(n,t){return function(n,t){return T2(),dtn(n.e.b,t.e.b)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/lambda$3$Type",1500),Bwn(1501,1,sIn,ho),rSn.Ne=function(n,t){return function(n,t){return T2(),dtn(n.e.a,t.e.a)}(YR(n,40),YR(t,40))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"EdgeRouter/lambda$4$Type",1501),Bwn(1502,1,{},mo),rSn.Kb=function(n){return function(n){return T2(),n.e.b+n.f.b/2}(YR(n,40))},SH(cxn,"EdgeRouter/lambda$5$Type",1502),Bwn(1504,1,{},AC),rSn.Kb=function(n){return function(n,t,e){return T2(),e.e.b+e.f.b+n*t}(this.b,this.a,YR(n,40))},rSn.a=0,rSn.b=0,SH(cxn,"EdgeRouter/lambda$7$Type",1504),Bwn(1506,1,{},LC),rSn.Kb=function(n){return function(n,t,e){return T2(),e.e.b-n*t}(this.b,this.a,YR(n,40))},rSn.a=0,rSn.b=0,SH(cxn,"EdgeRouter/lambda$9$Type",1506),Bwn(675,1,{675:1},jan),rSn.e=0,rSn.f=!1,rSn.g=!1,SH(cxn,"MultiLevelEdgeNodeNodeGap",675),Bwn(1943,1,sIn,vo),rSn.Ne=function(n,t){return function(n,t){return dtn(YR(n.c,65).c.e.b,YR(t.c,65).c.e.b)}(YR(n,240),YR(t,240))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),Bwn(1944,1,sIn,ko),rSn.Ne=function(n,t){return function(n,t){return dtn(YR(n.c,65).c.e.a,YR(t.c,65).c.e.a)}(YR(n,240),YR(t,240))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(cxn,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944),Bwn(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},lC),rSn.dg=function(){return ven(this)},rSn.qg=function(){return ven(this)};var Xtt,ztt,Vtt,Wtt,Qtt,Jtt,Ytt=c3(axn,"RadialLayoutPhases",501,EUn,(function(){return m4(),o8(sM(Ytt,1),bPn,501,0,[Utt,Gtt])}),(function(n){return m4(),r3((FQ(),Xtt),n)}));Bwn(1113,205,mOn,jT),rSn.rf=function(n,t){var e,i,r,c;if(e=Zgn(this,n),t.Ug("Radial layout",e.c.length),my(z$(ldn(n,(kfn(),Net))))||lX(new Ww((BE(),new uy(n)))),c=function(n){var t,e;for(e=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));e.e!=e.i.gc();)if(!Hwn(new __(dN(Jdn(t=YR(Grn(e),27)).a.Kc(),new h))))return t;return null}(n),ucn(n,(eD(),Htt),c),!c)throw Nm(new Iy("The given graph is not a tree!"));for(0==(i=vy(V$(ldn(n,Ket))))&&(i=lbn(n)),ucn(n,Ket,i),r=new mw(Zgn(this,n));r.aoxn&&(c-=oxn),h=(u=YR(ldn(r,wut),8)).a,l=u.b+n,(a=e.Math.atan2(l,h))<0&&(a+=oxn),(a+=t)>oxn&&(a-=oxn),NA(),M3(1e-10),e.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:_O(isNaN(c),isNaN(a))}(this.a,this.b,YR(n,27),YR(t,27))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},rSn.a=0,rSn.b=0,SH(axn,"RadialUtil/lambda$0$Type",556),Bwn(1395,1,XAn,yo),rSn.Kf=function(n,t){!function(n,t){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S;for(t.Ug("Calculate Graph Size",1),t.dh(n,uxn),l=ROn,b=ROn,h=sxn,f=sxn,g=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));g.e!=g.i.gc();)v=(w=YR(Grn(g),27)).i,k=w.j,S=w.g,u=w.f,s=YR(ldn(w,(zEn(),Oot)),140),l=e.Math.min(l,v-s.b),b=e.Math.min(b,k-s.d),h=e.Math.max(h,v+S+s.c),f=e.Math.max(f,k+u+s.a);for(p=new xC(l-(m=YR(ldn(n,(zEn(),qot)),107)).b,b-m.d),E=h-l+(m.b+m.c),o=f-b+(m.d+m.a),my(z$(ldn(n,(kfn(),Set))))&&(y=YR(ldn(n,(eD(),Htt)),27),M=YR(ldn(y,Oot),140),T=y.i+y.g/2+(M.b+M.c)/2-p.a,a=o-(j=y.j+y.f/2+(M.d+M.a)/2-p.b),(c=E-T)=3)for(v=YR(g2(p,0),27),k=YR(g2(p,1),27),r=0;r+2=v.f+k.f+u||k.f>=m.f+v.f+u){y=!0;break}++r}else y=!0;if(!y){for(h=p.i,c=new zL(p);c.e!=c.i.gc();)ucn(YR(Grn(c),27),(zEn(),dut),onn(h)),--h;return uyn(n,new Ek),void t.Vg()}for(JU(this.a),GB(this.a,(lin(),iit),YR(ldn(n,wrt),188)),GB(this.a,rit,YR(ldn(n,crt),188)),GB(this.a,cit,YR(ldn(n,frt),188)),WO(this.a,(iF(T=new AU,iit,(Scn(),hit)),iF(T,rit,sit),my(z$(ldn(n,Vit)))&&iF(T,iit,uit),T)),o=1/(i=uTn(this.a,n)).c.length,l=new mw(i);l.ai?1:0}(YR(n,27),YR(t,27))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(Fxn,"InteractiveNodeReorderer/lambda$0$Type",1519),Bwn(456,22,{3:1,34:1,22:1,456:1,196:1},vC),rSn.dg=function(){switch(this.g){case 0:return new xo;case 1:return new Fo;case 2:return new Ko}return null};var lit,bit,wit,dit,git,pit,mit,vit,kit,yit,Mit,Tit,jit,Eit,Sit,Pit=c3(Fxn,gLn,456,EUn,(function(){return Scn(),o8(sM(Pit,1),bPn,456,0,[uit,hit,sit])}),(function(n){return Scn(),r3((FY(),lit),n)}));Bwn(1521,1,XAn,Ko),rSn.Kf=function(n,t){!function(n,t){t.Ug("Min Size Postprocessing",1),ucn(n,(Fmn(),Tit),e.Math.max(vy(V$(ldn(n,Tit))),vy(V$(ldn(n,yit))))),t.Vg()}(YR(n,27),t)},SH(Fxn,"MinSizePostProcessor",1521),Bwn(1520,1,XAn,Fo),rSn.Kf=function(n,t){!function(n,t){var e;t.Ug("Min Size Preprocessing",1),e=vln(n),ucn(n,(Fmn(),yit),e.a),ucn(n,mit,e.b),t.Vg()}(YR(n,27),t)},SH(Fxn,"MinSizePreProcessor",1520),Bwn(394,22,{3:1,34:1,22:1,394:1},kC);var Cit,Iit,Oit,Ait,Lit,Nit,$it,Dit,xit,Rit,Kit,Fit,_it,Bit,Hit,Uit,Git,qit,Xit,zit,Vit,Wit,Qit,Jit,Yit,Zit,nrt,trt,ert,irt,rrt,crt,art,ort,urt,srt,hrt,frt,lrt,brt,wrt,drt,grt=c3(_xn,"OptimizationGoal",394,EUn,(function(){return Ktn(),o8(sM(grt,1),bPn,394,0,[Eit,Sit,jit])}),(function(n){return Ktn(),r3((_Y(),Cit),n)}));Bwn(867,1,$In,El),rSn.hf=function(n){Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Bxn),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(GN(),!1)),(Jfn(),hat)),nGn),mtn(($rn(),aat))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Hxn),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),onn(-1)),wat),hGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Uxn),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),onn(-1)),wat),hGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Gxn),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,qxn),Zxn),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),Hit),lat),jrt),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Xxn),Zxn),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,zxn),Zxn),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),_it),lat),grt),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Vxn),Zxn),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Wxn),"packing"),nRn),"Strategy for finding an initial placement on nodes."),Dit),lat),Crt),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Qxn),tRn),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,Jxn),tRn),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),onn(1)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,Yxn),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),lat),Ort),mtn(aat)))),EEn((new Sl,n))},SH(_xn,"RectPackingMetaDataProvider",867),Bwn(1016,1,$In,Sl),rSn.hf=function(n){EEn(n)},SH(_xn,"RectPackingOptions",1016),Bwn(1017,1,{},_o),rSn.sf=function(){return new ST},rSn.tf=function(n){},SH(_xn,"RectPackingOptions/RectpackingFactory",1017),Bwn(1705,1,{},SR),rSn.a=0,rSn.c=!1,SH(iRn,"AreaApproximation",1705);var prt,mrt,vrt=tF(iRn,"BestCandidateFilter");Bwn(673,1,{535:1},Bo),rSn.Hg=function(n,t,i){var r,c,a,o,u,s;for(s=new Tm,a=mCn,u=new mw(n);u.a1;){if(c=Pgn(t),l=a.g,d=YR(ldn(t,art),107),g=vy(V$(ldn(t,Git))),(!t.a&&(t.a=new oB(slt,t,10,11)),t.a).i>1&&vy(V$(ldn(t,(Fmn(),kit))))!=mCn&&(a.c+(d.b+d.c))/(a.b+(d.d+d.a))1&&vy(V$(ldn(t,(Fmn(),vit))))!=mCn&&(a.c+(d.b+d.c))/(a.b+(d.d+d.a))>g&&ucn(c,(Fmn(),Tit),e.Math.max(vy(V$(ldn(t,yit))),vy(V$(ldn(c,Tit)))-vy(V$(ldn(t,vit))))),(h=(s=AEn(w=new NC(r,f),c,b)).g)>=l&&h==h){for(o=0;o<(!c.a&&(c.a=new oB(slt,c,10,11)),c.a).i;o++)jbn(n,YR(g2((!c.a&&(c.a=new oB(slt,c,10,11)),c.a),o),27),YR(g2((!t.a&&(t.a=new oB(slt,t,10,11)),t.a),o),27));i2(t,w),Yq(a,s.c),Jq(a,s.b)}--u}ucn(t,(Fmn(),wit),a.b),ucn(t,dit,a.c),i.Vg()}(this,YR(n,27),t)},SH(rRn,"Compactor",1471),Bwn(1473,1,pDn,zo),rSn.rg=function(n){return YR(n,27),null},rSn.Kf=function(n,t){ipn(YR(n,27),t)},SH(rRn,"NoPlacement",1473),Bwn(439,22,{3:1,34:1,22:1,439:1,188:1,196:1},MC),rSn.dg=function(){return inn(this)},rSn.qg=function(){return inn(this)};var Ert,Srt,Prt,Crt=c3(rRn,"PackingStrategy",439,EUn,(function(){return w1(),o8(sM(Crt,1),bPn,439,0,[yrt,Trt,Mrt])}),(function(n){return w1(),r3((BY(),Ert),n)}));Bwn(810,1,{},NC),rSn.a=0,rSn.b=0,rSn.c=0,rSn.d=mCn,rSn.e=0,rSn.f=mCn,SH(rRn,"RowFillingAndCompaction",810),Bwn(1472,1,pDn,Vo),rSn.rg=function(n){return YR(n,27),null},rSn.Kf=function(n,t){!function(n,t){var i,r,c,a,o,u,s,h,f,l,b,w,d;for(t.Ug(cRn,1),w=vy(V$(ldn(n,(Fmn(),Tit)))),o=vy(V$(ldn(n,(hmn(),srt)))),u=YR(ldn(n,art),107),N4((!n.a&&(n.a=new oB(slt,n,10,11)),n.a)),f=GMn((!n.a&&(n.a=new oB(slt,n,10,11)),n.a),w,o),!n.a&&(n.a=new oB(slt,n,10,11)),h=new mw(f);h.a1)for(i=new mw(n.a);i.a>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28);var n,t},rSn.cg=function(n){var t,e,i;for(e=0;e0&&A7((Kz(t-1,n.length),n.charCodeAt(t-1)),tLn);)--t;if(e>=t)throw Nm(new Iy("The given string does not contain any numbers."));if(2!=(i=hyn((oZ(e,t,n.length),n.substr(e,t-e)),",|;|\r|\n")).length)throw Nm(new Iy("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=tfn(yln(i[0])),this.b=tfn(yln(i[1]))}catch(n){throw hL(n=z5(n),130)?Nm(new Iy(eLn+n)):Nm(n)}},rSn.Ib=function(){return"("+this.a+","+this.b+")"},rSn.a=0,rSn.b=0;var Tat=SH(iLn,"KVector",8);Bwn(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},ik,_M,P$),rSn.Pc=function(){return function(n){var t,e,i;for(t=0,i=eZ(Tat,USn,8,n.b,0,1),e=Drn(n,0);e.b!=e.d.c;)i[t++]=YR(yW(e),8);return i}(this)},rSn.cg=function(n){var t,e,i,r,c;e=hyn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),GG(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=tfn(e[t]):c=tfn(e[t]),r>0&&r%2!=0&&UK(this,new xC(i,c)),++r),++t}catch(n){throw hL(n=z5(n),130)?Nm(new Iy("The given string does not match the expected format for vectors."+n)):Nm(n)}},rSn.Ib=function(){var n,t,e;for(n=new yN("("),t=Drn(this,0);t.b!=t.d.c;)cO(n,(e=YR(yW(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var jat,Eat,Sat,Pat,Cat,Iat,Oat=SH(iLn,"KVectorChain",75);Bwn(255,22,{3:1,34:1,22:1,255:1},RC);var Aat,Lat,Nat,$at,Dat,xat,Rat,Kat,Fat,_at,Bat,Hat,Uat,Gat,qat,Xat,zat,Vat,Wat,Qat=c3(FRn,"Alignment",255,EUn,(function(){return Pcn(),o8(sM(Qat,1),bPn,255,0,[jat,Pat,Cat,Iat,Eat,Sat])}),(function(n){return Pcn(),r3((I2(),Aat),n)}));Bwn(991,1,$In,Ll),rSn.hf=function(n){Pkn(n)},SH(FRn,"BoxLayouterOptions",991),Bwn(992,1,{},Ru),rSn.sf=function(){return new _u},rSn.tf=function(n){},SH(FRn,"BoxLayouterOptions/BoxFactory",992),Bwn(298,22,{3:1,34:1,22:1,298:1},_C);var Jat,Yat,Zat,not,tot,eot,iot,rot,cot,aot,oot,uot,sot,hot,fot,lot,bot,wot,dot,got,pot,mot,vot,kot,yot,Mot,Tot,jot,Eot,Sot,Pot,Cot,Iot,Oot,Aot,Lot,Not,$ot,Dot,xot,Rot,Kot,Fot,_ot,Bot,Hot,Uot,Got,qot,Xot,zot,Vot,Wot,Qot,Jot,Yot,Zot,nut,tut,eut,iut,rut,cut,aut,out,uut,sut,hut,fut,lut,but,wut,dut,gut,put,mut,vut,kut,yut,Mut,Tut,jut,Eut,Sut,Put,Cut,Iut,Out,Aut,Lut,Nut,$ut,Dut,xut,Rut,Kut,Fut,_ut,But,Hut,Uut,Gut,qut,Xut,zut,Vut,Wut,Qut,Jut=c3(FRn,"ContentAlignment",298,EUn,(function(){return Zun(),o8(sM(Jut,1),bPn,298,0,[Wat,Vat,zat,qat,Gat,Xat])}),(function(n){return Zun(),r3((O2(),Jat),n)}));Bwn(699,1,$In,Nl),rSn.hf=function(n){Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,GRn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Jfn(),gat)),IGn),mtn(($rn(),aat))))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,qRn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),dat),eat),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,H$n),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),not),lat),Qat),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,NOn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,XRn),""),"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."),dat),Oat),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,nDn),""),"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."),sot),bat),Jut),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,B$n),""),"Debug Mode"),"Whether additional debug information shall be generated."),(GN(),!1)),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,q$n),""),uOn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),lot),lat),est),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,w$n),""),"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."),pot),lat),gst),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,HRn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,s$n),""),"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`."),Mot),lat),$st),r_(aat,o8(sM(mat,1),bPn,170,0,[cat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,$On),""),"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."),Xot),dat),yQn),r_(aat,o8(sM(mat,1),bPn,170,0,[cat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,oAn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,lDn),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,hAn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,uAn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),aut),lat),wht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,sDn),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),dat),Tat),r_(cat,o8(sM(mat,1),bPn,170,0,[oat,rat]))))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,eAn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),wat),hGn),r_(cat,o8(sM(mat,1),bPn,170,0,[iat]))))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,cAn),""),"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)."),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,aAn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,tDn),""),"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."),Iot),dat),Oat),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,rDn),""),"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),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,cDn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,zRn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),dat),igt),r_(aat,o8(sM(mat,1),bPn,170,0,[rat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,hDn),""),"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."),Aot),dat),cQn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,F$n),""),"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),hat),nGn),r_(cat,o8(sM(mat,1),bPn,170,0,[iat,oat,rat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,VRn),""),"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),fat),aGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,WRn),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,QRn),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,gAn),""),CRn),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),hat),nGn),mtn(aat)))),HV(n,gAn,kAn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,JRn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,YRn),""),"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'."),onn(100)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,ZRn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,nKn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),onn(4e3)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,tKn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),onn(400)),wat),hGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,eKn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,iKn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,rKn),""),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,cKn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,URn),"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."),rot),lat),Mft),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,P$n),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,C$n),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,AOn),d$n),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,I$n),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,rAn),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,O$n),d$n),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,A$n),d$n),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,$$n),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,L$n),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,N$n),d$n),"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),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,iAn),d$n),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,D$n),d$n),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),fat),aGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,x$n),d$n),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),fat),aGn),r_(aat,o8(sM(mat,1),bPn,170,0,[cat]))))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,R$n),d$n),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),dat),Pft),r_(cat,o8(sM(mat,1),bPn,170,0,[iat,oat,rat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,fDn),d$n),"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."),$ut),dat),cQn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,uDn),fKn),"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)."),wat),hGn),r_(aat,o8(sM(mat,1),bPn,170,0,[cat]))))),HV(n,uDn,oDn,Qot),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,oDn),fKn),"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."),Vot),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,X$n),lKn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Not),dat),yQn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,wAn),lKn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Dot),bat),Yst),r_(cat,o8(sM(mat,1),bPn,170,0,[rat]))))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,W$n),bKn),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Yot),lat),aht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,Q$n),bKn),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),lat),aht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,J$n),bKn),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),lat),aht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,Y$n),bKn),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),lat),aht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,Z$n),bKn),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),lat),aht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,bAn),wKn),"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."),Rot),bat),cft),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,lAn),wKn),"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."),Hot),bat),hft),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,LAn),wKn),"Node Size Minimum"),"The minimal size to which a node can be reduced."),_ot),dat),Tat),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,fAn),wKn),"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),hat),nGn),mtn(aat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,eDn),E$n),"Edge Label Placement"),"Gives a hint on where to put edge labels."),dot),lat),ust),mtn(rat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,sAn),E$n),"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),hat),nGn),mtn(rat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,aKn),"font"),"Font Name"),"Font name used for a label."),gat),IGn),mtn(rat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,oKn),"font"),"Font Size"),"Font size used for a label."),wat),hGn),mtn(rat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,aDn),dKn),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),dat),Tat),mtn(oat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,iDn),dKn),"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."),wat),hGn),mtn(oat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,_$n),dKn),"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."),but),lat),Vht),mtn(oat)))),Xtn(n,new Gfn(RM(xM(KM(AM(DM(NM($M(new xu,K$n),dKn),"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."),fat),aGn),mtn(oat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,dAn),gKn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),hut),bat),Rht),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,z$n),gKn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,V$n),gKn),"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),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,pAn),pKn),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),fat),aGn),mtn(aat)))),HV(n,pAn,kAn,Uut),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,uKn),pKn),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),lat),kft),mtn(cat)))),HV(n,uKn,kAn,qut),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,mAn),pKn),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),fat),aGn),r_(aat,o8(sM(mat,1),bPn,170,0,[cat]))))),HV(n,mAn,kAn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,vAn),pKn),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),fat),aGn),r_(aat,o8(sM(mat,1),bPn,170,0,[cat]))))),HV(n,vAn,kAn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,kAn),pKn),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),lat),wft),mtn(cat)))),HV(n,kAn,fAn,null),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,sKn),pKn),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),fat),aGn),mtn(aat)))),HV(n,sKn,kAn,But),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,U$n),mKn),"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),hat),nGn),mtn(cat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,G$n),mKn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),hat),nGn),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,LOn),"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),fat),aGn),mtn(iat)))),Xtn(n,new Gfn(RM(xM(KM(LM(AM(DM(NM($M(new xu,hKn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),vot),lat),Cst),mtn(iat)))),DE(n,new Sz(CM(OM(IM(new du,MCn),"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.'))),DE(n,new Sz(CM(OM(IM(new du,"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.'))),DE(n,new Sz(CM(OM(IM(new du,tAn),"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."))),DE(n,new Sz(CM(OM(IM(new du,"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."))),DE(n,new Sz(CM(OM(IM(new du,exn),"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."))),DE(n,new Sz(CM(OM(IM(new du,"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."))),DE(n,new Sz(CM(OM(IM(new du,Lxn),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Svn((new $l,n)),Pkn((new Ll,n)),dmn((new Dl,n))},SH(FRn,"CoreOptions",699),Bwn(88,22,{3:1,34:1,22:1,88:1},BC);var Yut,Zut,nst,tst,est=c3(FRn,uOn,88,EUn,(function(){return znn(),o8(sM(est,1),bPn,88,0,[Wut,Vut,zut,Xut,Qut])}),(function(n){return znn(),r3((S0(),Yut),n)}));Bwn(278,22,{3:1,34:1,22:1,278:1},HC);var ist,rst,cst,ast,ost,ust=c3(FRn,"EdgeLabelPlacement",278,EUn,(function(){return y2(),o8(sM(ust,1),bPn,278,0,[Zut,nst,tst])}),(function(n){return y2(),r3((QY(),ist),n)}));Bwn(223,22,{3:1,34:1,22:1,223:1},UC);var sst,hst,fst,lst,bst,wst,dst,gst=c3(FRn,"EdgeRouting",223,EUn,(function(){return Rtn(),o8(sM(gst,1),bPn,223,0,[ost,cst,rst,ast])}),(function(n){return Rtn(),r3((s1(),sst),n)}));Bwn(321,22,{3:1,34:1,22:1,321:1},GC);var pst,mst,vst,kst,yst,Mst,Tst,jst,Est,Sst,Pst,Cst=c3(FRn,"EdgeType",321,EUn,(function(){return ehn(),o8(sM(Cst,1),bPn,321,0,[wst,lst,dst,hst,bst,fst])}),(function(n){return ehn(),r3((A2(),pst),n)}));Bwn(989,1,$In,$l),rSn.hf=function(n){Svn(n)},SH(FRn,"FixedLayouterOptions",989),Bwn(990,1,{},Ku),rSn.sf=function(){return new Wu},rSn.tf=function(n){},SH(FRn,"FixedLayouterOptions/FixedFactory",990),Bwn(346,22,{3:1,34:1,22:1,346:1},qC);var Ist,Ost,Ast,Lst,Nst,$st=c3(FRn,"HierarchyHandling",346,EUn,(function(){return tnn(),o8(sM($st,1),bPn,346,0,[Sst,Est,Pst])}),(function(n){return tnn(),r3((VY(),Ist),n)}));Bwn(291,22,{3:1,34:1,22:1,291:1},XC);var Dst,xst,Rst,Kst,Fst,_st,Bst,Hst,Ust,Gst,qst=c3(FRn,"LabelSide",291,EUn,(function(){return Mon(),o8(sM(qst,1),bPn,291,0,[Nst,Ost,Ast,Lst])}),(function(n){return Mon(),r3((h1(),Dst),n)}));Bwn(95,22,{3:1,34:1,22:1,95:1},zC);var Xst,zst,Vst,Wst,Qst,Jst,Yst=c3(FRn,"NodeLabelPlacement",95,EUn,(function(){return bdn(),o8(sM(Yst,1),bPn,95,0,[Rst,xst,Fst,Gst,Ust,Hst,_st,Bst,Kst])}),(function(n){return bdn(),r3(($5(),Xst),n)}));Bwn(256,22,{3:1,34:1,22:1,256:1},VC);var Zst,nht,tht,eht,iht,rht,cht,aht=c3(FRn,"PortAlignment",256,EUn,(function(){return _rn(),o8(sM(aht,1),bPn,256,0,[Wst,Jst,zst,Vst,Qst])}),(function(n){return _rn(),r3((C0(),Zst),n)}));Bwn(101,22,{3:1,34:1,22:1,101:1},WC);var oht,uht,sht,hht,fht,lht,bht,wht=c3(FRn,"PortConstraints",101,EUn,(function(){return ysn(),o8(sM(wht,1),bPn,101,0,[cht,rht,iht,nht,eht,tht])}),(function(n){return ysn(),r3((L2(),oht),n)}));Bwn(279,22,{3:1,34:1,22:1,279:1},QC);var dht,ght,pht,mht,vht,kht,yht,Mht,Tht,jht,Eht,Sht,Pht,Cht,Iht,Oht,Aht,Lht,Nht,$ht,Dht,xht,Rht=c3(FRn,"PortLabelPlacement",279,EUn,(function(){return bbn(),o8(sM(Rht,1),bPn,279,0,[lht,hht,fht,sht,uht,bht])}),(function(n){return bbn(),r3((N2(),dht),n)}));Bwn(64,22,{3:1,34:1,22:1,64:1},JC);var Kht,Fht,_ht,Bht,Hht,Uht,Ght,qht,Xht,zht,Vht=c3(FRn,"PortSide",64,EUn,(function(){return Djn(),o8(sM(Vht,1),UAn,64,0,[Dht,pht,ght,$ht,xht])}),(function(n){return Djn(),r3((I0(),Kht),n)}));Bwn(993,1,$In,Dl),rSn.hf=function(n){dmn(n)},SH(FRn,"RandomLayouterOptions",993),Bwn(994,1,{},Fu),rSn.sf=function(){return new Xu},rSn.tf=function(n){},SH(FRn,"RandomLayouterOptions/RandomFactory",994),Bwn(386,22,{3:1,34:1,22:1,386:1},YC);var Wht,Qht,Jht,Yht,Zht,nft,tft,eft,ift,rft,cft=c3(FRn,"SizeConstraint",386,EUn,(function(){return fin(),o8(sM(cft,1),bPn,386,0,[Xht,zht,qht,Ght])}),(function(n){return fin(),r3((f1(),Wht),n)}));Bwn(264,22,{3:1,34:1,22:1,264:1},ZC);var aft,oft,uft,sft,hft=c3(FRn,"SizeOptions",264,EUn,(function(){return Zvn(),o8(sM(hft,1),bPn,264,0,[Yht,nft,Jht,tft,eft,rft,ift,Zht,Qht])}),(function(n){return Zvn(),r3((N5(),aft),n)}));Bwn(280,22,{3:1,34:1,22:1,280:1},nI);var fft,lft,bft,wft=c3(FRn,"TopdownNodeTypes",280,EUn,(function(){return nnn(),o8(sM(wft,1),bPn,280,0,[uft,oft,sft])}),(function(n){return nnn(),r3((JY(),fft),n)}));Bwn(347,22,yKn);var dft,gft,pft,mft,vft,kft=c3(FRn,"TopdownSizeApproximator",347,EUn,(function(){return TR(),o8(sM(kft,1),bPn,347,0,[lft,bft])}),(function(n){return TR(),r3((WQ(),dft),n)}));Bwn(987,347,yKn,ZK),rSn.Tg=function(n){return Dcn(n)},c3(FRn,"TopdownSizeApproximator/1",987,kft,null,null),Bwn(988,347,yKn,lB),rSn.Tg=function(n){var t,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k;for(t=YR(ldn(n,(zEn(),put)),143),ZM(),Ogn(p=new tk,n),m=new Mm,a=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));a.e!=a.i.gc();)r=YR(Grn(a),27),Tgn(b=new tk,p),Ogn(b,r),k=Dcn(r),bA(b,e.Math.max(r.g,k.a),e.Math.max(r.f,k.b)),Cln(m.f,r,b);for(c=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));c.e!=c.i.gc();)for(s=new zL((!(r=YR(Grn(c),27)).e&&(r.e=new Mx(elt,r,7,4)),r.e));s.e!=s.i.gc();)u=YR(Grn(s),74),d=YR(UI(QF(m.f,r)),27),g=YR(KH(m,g2((!u.c&&(u.c=new Mx(tlt,u,5,8)),u.c),0)),27),wZ((!(w=new es).b&&(w.b=new Mx(tlt,w,4,7)),w.b),d),wZ((!w.c&&(w.c=new Mx(tlt,w,5,8)),w.c),g),bgn(w,BX(d)),Ogn(w,u);h=YR(Wq(t.f),205);try{h.rf(p,new Zu),MU(t.f,h)}catch(n){throw hL(n=z5(n),103),Nm(n)}return YY(p,aot)||YY(p,cot)||fEn(p),o=vy(V$(ldn(p,aot)))/vy(V$(ldn(p,cot))),i=vy(V$(ldn(p,Rut)))*e.Math.sqrt((!p.a&&(p.a=new oB(slt,p,10,11)),p.a).i),l=(v=YR(ldn(p,qot),107)).b+v.c+1,f=v.d+v.a+1,new xC(e.Math.max(l,i),e.Math.max(f,i/o))},c3(FRn,"TopdownSizeApproximator/2",988,kft,null,null),Bwn(344,1,{871:1},Ek),rSn.Ug=function(n,t){return Usn(this,n,t)},rSn.Vg=function(){Mfn(this)},rSn.Wg=function(){return this.q},rSn.Xg=function(){return this.f?pq(this.f):null},rSn.Yg=function(){return pq(this.a)},rSn.Zg=function(){return this.p},rSn.$g=function(){return!1},rSn._g=function(){return this.n},rSn.ah=function(){return null!=this.p&&!this.b},rSn.bh=function(n){var t;this.n&&(t=n,LL(this.f,t))},rSn.dh=function(n,t){var e,i;this.n&&n&&function(n,t,e){var i;n.n&&t&&e&&(i=new Yu,LL(n.e,i))}(this,(i=nkn(e=new dH,n),function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M;for(f=new UH(new Iw(n));f.c!=f.d.a.d;)for(o=YR((h=_1(f)).d,58),t=YR(h.e,58),d=0,k=(null==(a=o.Dh()).i&&gyn(a),a.i).length;d=0&&d0?t-1:t,JM(function(n,t){return n.j=t,n}(t3(vK(new Ek,e),n.n),n.j),n.k)}(this,this.g),UK(this.a,t),t.i=this,this.d=n,t)},rSn.fh=function(n){n>0&&!this.b&&W3(this,n)},rSn.b=!1,rSn.c=0,rSn.d=-1,rSn.e=null,rSn.f=null,rSn.g=-1,rSn.j=!1,rSn.k=!1,rSn.n=!1,rSn.o=0,rSn.q=0,rSn.r=0,SH(bDn,"BasicProgressMonitor",344),Bwn(717,205,mOn,_u),rSn.rf=function(n,t){uyn(n,t)},SH(bDn,"BoxLayoutProvider",717),Bwn(983,1,sIn,dp),rSn.Ne=function(n,t){return function(n,t,e){var i,r,c;if(!(r=YR(ldn(t,(Mhn(),Hat)),17))&&(r=onn(0)),!(c=YR(ldn(e,Hat),17))&&(c=onn(0)),r.a>c.a)return-1;if(r.a0&&d.b>0&&_jn(g,d.a,d.b,!0,!0)),b=e.Math.max(b,g.i+g.g),w=e.Math.max(w,g.j+g.f),f=new zL((!g.n&&(g.n=new oB(ult,g,1,7)),g.n));f.e!=f.i.gc();)u=YR(Grn(f),135),(j=YR(ldn(u,jst),8))&&wA(u,j.a,j.b),b=e.Math.max(b,g.i+u.i+u.g),w=e.Math.max(w,g.j+u.j+u.f);for(y=new zL((!g.c&&(g.c=new oB(hlt,g,9,9)),g.c));y.e!=y.i.gc();)for(k=YR(Grn(y),123),(j=YR(ldn(k,jst),8))&&wA(k,j.a,j.b),M=g.i+k.i,T=g.j+k.j,b=e.Math.max(b,M+k.g),w=e.Math.max(w,T+k.f),s=new zL((!k.n&&(k.n=new oB(ult,k,1,7)),k.n));s.e!=s.i.gc();)u=YR(Grn(s),135),(j=YR(ldn(u,jst),8))&&wA(u,j.a,j.b),b=e.Math.max(b,M+u.i+u.g),w=e.Math.max(w,T+u.j+u.f);for(c=new __(dN(Ydn(g).a.Kc(),new h));Hwn(c);)l=Gjn(i=YR(TJ(c),74)),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b);for(r=new __(dN(Jdn(g).a.Kc(),new h));Hwn(r);)BX(Thn(i=YR(TJ(r),74)))!=n&&(l=Gjn(i),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b))}if(a==(Rtn(),rst))for(p=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new __(dN(Ydn(g=YR(Grn(p),27)).a.Kc(),new h));Hwn(r);)0==(o=Kkn(i=YR(TJ(r),74))).b?ucn(i,Cot,null):ucn(i,Cot,o);my(z$(ldn(n,(I9(),kst))))||_jn(n,b+(v=YR(ldn(n,Mst),107)).b+v.c,w+v.d+v.a,!0,!0),t.Vg()},SH(bDn,"FixedLayoutProvider",1119),Bwn(385,137,{3:1,423:1,385:1,96:1,137:1},Qu,B1),rSn.cg=function(n){var t,e,i,r,c,a,o;if(n)try{for(a=hyn(n,";,;"),r=0,c=(i=a).length;r>16&APn|n^(e&APn)<<16},rSn.Kc=function(){return new vp(this)},rSn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Jtn(this.b)+")":null==this.b?"pair("+Jtn(this.a)+",null)":"pair("+Jtn(this.a)+","+Jtn(this.b)+")"},SH(bDn,"Pair",42),Bwn(995,1,OSn,vp),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},rSn.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Nm(new av)},rSn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Nm(new tv)},rSn.b=!1,rSn.c=!1,SH(bDn,"Pair/1",995),Bwn(455,1,{455:1},jG),rSn.Fb=function(n){return XU(this.a,YR(n,455).a)&&XU(this.c,YR(n,455).c)&&XU(this.d,YR(n,455).d)&&XU(this.b,YR(n,455).b)},rSn.Hb=function(){return w7(o8(sM(hUn,1),ySn,1,5,[this.a,this.c,this.d,this.b]))},rSn.Ib=function(){return"("+this.a+vSn+this.c+vSn+this.d+vSn+this.b+")"},SH(bDn,"Quadruple",455),Bwn(1108,205,mOn,Xu),rSn.rf=function(n,t){var i;t.Ug("Random Layout",1),0!=(!n.a&&(n.a=new oB(slt,n,10,11)),n.a).i?(function(n,t,i,r,c){var a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S;for(k=0,g=0,d=0,w=1,v=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));v.e!=v.i.gc();)w+=YW(new __(dN(Ydn(p=YR(Grn(v),27)).a.Kc(),new h))),j=p.g,g=e.Math.max(g,j),b=p.f,d=e.Math.max(d,b),k+=j*b;for(o=k+2*r*r*w*(!n.a&&(n.a=new oB(slt,n,10,11)),n.a).i,a=e.Math.sqrt(o),s=e.Math.max(a*i,g),u=e.Math.max(a/i,d),m=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));m.e!=m.i.gc();)p=YR(Grn(m),27),E=c.b+(tgn(t,26)*_Cn+tgn(t,27)*BCn)*(s-p.g),S=c.b+(tgn(t,26)*_Cn+tgn(t,27)*BCn)*(u-p.f),B2(p,E),H2(p,S);for(T=s+(c.b+c.c),M=u+(c.d+c.a),y=new zL((!n.a&&(n.a=new oB(slt,n,10,11)),n.a));y.e!=y.i.gc();)for(l=new __(dN(Ydn(YR(Grn(y),27)).a.Kc(),new h));Hwn(l);)Cwn(f=YR(TJ(l),74))||jEn(f,t,T,M);_jn(n,T+=c.b+c.c,M+=c.d+c.a,!1,!0)}(n,(i=YR(ldn(n,(hin(),Hht)),17))&&0!=i.a?new PQ(i.a):new yen,ky(V$(ldn(n,Fht))),ky(V$(ldn(n,Uht))),YR(ldn(n,_ht),107)),t.Vg()):t.Vg()},SH(bDn,"RandomLayoutProvider",1108),Bwn(240,1,{240:1},PR),rSn.Fb=function(n){return XU(this.a,YR(n,240).a)&&XU(this.b,YR(n,240).b)&&XU(this.c,YR(n,240).c)},rSn.Hb=function(){return w7(o8(sM(hUn,1),ySn,1,5,[this.a,this.b,this.c]))},rSn.Ib=function(){return"("+this.a+vSn+this.b+vSn+this.c+")"},SH(bDn,"Triple",240),Bwn(562,1,{}),rSn.Lf=function(){return new xC(this.f.i,this.f.j)},rSn.of=function(n){return Kq(n,(zEn(),rut))?ldn(this.f,Oft):ldn(this.f,n)},rSn.Mf=function(){return new xC(this.f.g,this.f.f)},rSn.Nf=function(){return this.g},rSn.pf=function(n){return YY(this.f,n)},rSn.Of=function(n){B2(this.f,n.a),H2(this.f,n.b)},rSn.Pf=function(n){_2(this.f,n.a),F2(this.f,n.b)},rSn.Qf=function(n){this.g=n},rSn.g=0,SH(jKn,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),Bwn(563,1,{853:1},kp),rSn.Rf=function(){var n,t;if(!this.b)for(this.b=rW(VU(this.a).i),t=new zL(VU(this.a));t.e!=t.i.gc();)n=YR(Grn(t),135),LL(this.b,new sy(n));return this.b},rSn.b=null,SH(jKn,"ElkGraphAdapters/ElkEdgeAdapter",563),Bwn(289,562,{},uy),rSn.Sf=function(){return Xan(this)},rSn.a=null,SH(jKn,"ElkGraphAdapters/ElkGraphAdapter",289),Bwn(640,562,{187:1},sy),SH(jKn,"ElkGraphAdapters/ElkLabelAdapter",640),Bwn(639,562,{695:1},VN),rSn.Rf=function(){return function(n){var t,e;if(!n.b)for(n.b=rW(YR(n.f,27).kh().i),e=new zL(YR(n.f,27).kh());e.e!=e.i.gc();)t=YR(Grn(e),135),LL(n.b,new sy(t));return n.b}(this)},rSn.Vf=function(){var n;return!(n=YR(ldn(this.f,(zEn(),Oot)),140))&&(n=new zv),n},rSn.Xf=function(){return function(n){var t,e;if(!n.e)for(n.e=rW(WU(YR(n.f,27)).i),e=new zL(WU(YR(n.f,27)));e.e!=e.i.gc();)t=YR(Grn(e),123),LL(n.e,new yp(t));return n.e}(this)},rSn.Zf=function(n){var t;t=new HR(n),ucn(this.f,(zEn(),Oot),t)},rSn.$f=function(n){ucn(this.f,(zEn(),qot),new UR(n))},rSn.Tf=function(){return this.d},rSn.Uf=function(){var n,t;if(!this.a)for(this.a=new Tm,t=new __(dN(Jdn(YR(this.f,27)).a.Kc(),new h));Hwn(t);)n=YR(TJ(t),74),LL(this.a,new kp(n));return this.a},rSn.Wf=function(){var n,t;if(!this.c)for(this.c=new Tm,t=new __(dN(Ydn(YR(this.f,27)).a.Kc(),new h));Hwn(t);)n=YR(TJ(t),74),LL(this.c,new kp(n));return this.c},rSn.Yf=function(){return 0!=oq(YR(this.f,27)).i||my(z$(YR(this.f,27).of((zEn(),jot))))},rSn._f=function(){H1(this,(BE(),Ift))},rSn.a=null,rSn.b=null,rSn.c=null,rSn.d=null,rSn.e=null,SH(jKn,"ElkGraphAdapters/ElkNodeAdapter",639),Bwn(1284,562,{852:1},yp),rSn.Rf=function(){return function(n){var t,e;if(!n.b)for(n.b=rW(YR(n.f,123).kh().i),e=new zL(YR(n.f,123).kh());e.e!=e.i.gc();)t=YR(Grn(e),135),LL(n.b,new sy(t));return n.b}(this)},rSn.Uf=function(){var n,t;if(!this.a)for(this.a=t$(YR(this.f,123).hh().i),t=new zL(YR(this.f,123).hh());t.e!=t.i.gc();)n=YR(Grn(t),74),LL(this.a,new kp(n));return this.a},rSn.Wf=function(){var n,t;if(!this.c)for(this.c=t$(YR(this.f,123).ih().i),t=new zL(YR(this.f,123).ih());t.e!=t.i.gc();)n=YR(Grn(t),74),LL(this.c,new kp(n));return this.c},rSn.ag=function(){return YR(YR(this.f,123).of((zEn(),lut)),64)},rSn.bg=function(){var n,t,e,i,r,c,a;for(i=kX(YR(this.f,123)),e=new zL(YR(this.f,123).ih());e.e!=e.i.gc();)for(a=new zL((!(n=YR(Grn(e),74)).c&&(n.c=new Mx(tlt,n,5,8)),n.c));a.e!=a.i.gc();){if(n2(Hsn(c=YR(Grn(a),84)),i))return!0;if(Hsn(c)==i&&my(z$(ldn(n,(zEn(),Eot)))))return!0}for(t=new zL(YR(this.f,123).hh());t.e!=t.i.gc();)for(r=new zL((!(n=YR(Grn(t),74)).b&&(n.b=new Mx(tlt,n,4,7)),n.b));r.e!=r.i.gc();)if(n2(Hsn(YR(Grn(r),84)),i))return!0;return!1},rSn.a=null,rSn.b=null,rSn.c=null,SH(jKn,"ElkGraphAdapters/ElkPortAdapter",1284),Bwn(1285,1,sIn,qu),rSn.Ne=function(n,t){return function(n,t){var e,i,r,c;if(0!=(c=YR(ldn(n,(zEn(),lut)),64).g-YR(ldn(t,lut),64).g))return c;if(e=YR(ldn(n,out),17),i=YR(ldn(t,out),17),e&&i&&0!=(r=e.a-i.a))return r;switch(YR(ldn(n,lut),64).g){case 1:return dtn(n.i,t.i);case 2:return dtn(n.j,t.j);case 3:return dtn(t.i,n.i);case 4:return dtn(t.j,n.j);default:throw Nm(new Oy(QAn))}}(YR(n,123),YR(t,123))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(jKn,"ElkGraphAdapters/PortComparator",1285);var Lft,Nft,$ft,Dft,xft,Rft,Kft,Fft,_ft,Bft,Hft,Uft,Gft,qft,Xft,zft,Vft,Wft,Qft=tF(EKn,"EObject"),Jft=tF(SKn,PKn),Yft=tF(SKn,CKn),Zft=tF(SKn,IKn),nlt=tF(SKn,"ElkShape"),tlt=tF(SKn,OKn),elt=tF(SKn,AKn),ilt=tF(SKn,LKn),rlt=tF(EKn,NKn),clt=tF(EKn,"EFactory"),alt=tF(EKn,$Kn),olt=tF(EKn,"EPackage"),ult=tF(SKn,DKn),slt=tF(SKn,xKn),hlt=tF(SKn,RKn);Bwn(93,1,KKn),rSn.th=function(){return this.uh(),null},rSn.uh=function(){return null},rSn.vh=function(){return this.uh(),!1},rSn.wh=function(){return!1},rSn.xh=function(n){r5(this,n)},SH(FKn,"BasicNotifierImpl",93),Bwn(99,93,zKn),rSn.Yh=function(){return rA(this)},rSn.yh=function(n,t){return n},rSn.zh=function(){throw Nm(new iv)},rSn.Ah=function(n){var t;return t=Kcn(YR(_0(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,n)},rSn.Bh=function(n,t){throw Nm(new iv)},rSn.Ch=function(n,t,e){return bkn(this,n,t,e)},rSn.Dh=function(){var n;return this.zh()&&(n=this.zh().Nk())?n:this.ii()},rSn.Eh=function(){return Awn(this)},rSn.Fh=function(){throw Nm(new iv)},rSn.Gh=function(){var n,t;return!(t=this.$h().Ok())&&this.zh().Tk((XE(),t=null==(n=Qq(gyn(this.Dh())))?Jbt:new XN(this,n))),t},rSn.Hh=function(n,t){return n},rSn.Ih=function(n){return n.pk()?n.Lj():Cen(this.Dh(),n)},rSn.Jh=function(){var n;return(n=this.zh())?n.Qk():null},rSn.Kh=function(){return this.zh()?this.zh().Nk():null},rSn.Lh=function(n,t,e){return gcn(this,n,t,e)},rSn.Mh=function(n){return IZ(this,n)},rSn.Nh=function(n,t){return LJ(this,n,t)},rSn.Oh=function(){var n;return!!(n=this.zh())&&n.Rk()},rSn.Ph=function(){throw Nm(new iv)},rSn.Qh=function(){return Win(this)},rSn.Rh=function(n,t,e,i){return acn(this,n,t,i)},rSn.Sh=function(n,t,e){return YR(_0(this.Dh(),t),69).wk().zk(this,this.hi(),t-this.ji(),n,e)},rSn.Th=function(n,t,e,i){return Vq(this,n,t,i)},rSn.Uh=function(n,t,e){return YR(_0(this.Dh(),t),69).wk().Ak(this,this.hi(),t-this.ji(),n,e)},rSn.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},rSn.Wh=function(n){return Brn(this,n)},rSn.Xh=function(n){return AX(this,n)},rSn.Zh=function(n){return njn(this,n)},rSn.$h=function(){throw Nm(new iv)},rSn._h=function(){return this.zh()?this.zh().Pk():null},rSn.ai=function(){return Win(this)},rSn.bi=function(n,t){xln(this,n,t)},rSn.ci=function(n){this.$h().Sk(n)},rSn.di=function(n){this.$h().Vk(n)},rSn.ei=function(n){this.$h().Uk(n)},rSn.fi=function(n,t){var e,i,r,c;return(c=this.Jh())&&n&&(t=wcn(c.El(),this,t),c.Il(this)),(i=this.Ph())&&(Avn(this,this.Ph(),this.Fh()).Bb&TCn?(r=i.Qh())&&(n?!c&&r.Il(this):r.Hl(this)):(t=(e=this.Fh())>=0?this.Ah(t):this.Ph().Th(this,-1-e,null,t),t=this.Ch(null,-1,t))),this.di(n),t},rSn.gi=function(n){var t,e,i,r,c,a,o;if((c=Cen(e=this.Dh(),n))>=(t=this.ji()))return YR(n,69).wk().Dk(this,this.hi(),c-t);if(c<=-1){if(!(a=bTn((tln(),gwt),e,n)))throw Nm(new Iy(_Kn+n.xe()+UKn));if(WE(),YR(a,69).xk()||(a=Zz(A1(gwt,a))),r=YR((i=this.Ih(a))>=0?this.Lh(i,!0,!0):qbn(this,a,!0),160),(o=a.Ik())>1||-1==o)return YR(YR(r,220).Sl(n,!1),79)}else if(n.Jk())return YR((i=this.Ih(n))>=0?this.Lh(i,!1,!0):qbn(this,n,!1),79);return new NI(this,n)},rSn.hi=function(){return q1(this)},rSn.ii=function(){return($H(),mbt).S},rSn.ji=function(){return xH(this.ii())},rSn.ki=function(n){Vfn(this,n)},rSn.Ib=function(){return Cdn(this)},SH(VKn,"BasicEObjectImpl",99),Bwn(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),rSn.li=function(n){return G1(this)[n]},rSn.mi=function(n,t){_H(G1(this),n,t)},rSn.ni=function(n){_H(G1(this),n,null)},rSn.th=function(){return YR(h5(this,4),129)},rSn.uh=function(){throw Nm(new iv)},rSn.vh=function(){return!!(4&this.Db)},rSn.zh=function(){throw Nm(new iv)},rSn.oi=function(n){zin(this,2,n)},rSn.Bh=function(n,t){this.Db=t<<16|255&this.Db,this.oi(n)},rSn.Dh=function(){return Uq(this)},rSn.Fh=function(){return this.Db>>16},rSn.Gh=function(){var n;return XE(),null==(n=Qq(gyn(YR(h5(this,16),29)||this.ii())))?Jbt:new XN(this,n)},rSn.wh=function(){return!(1&this.Db)},rSn.Jh=function(){return YR(h5(this,128),2034)},rSn.Kh=function(){return YR(h5(this,16),29)},rSn.Oh=function(){return!!(32&this.Db)},rSn.Ph=function(){return YR(h5(this,2),54)},rSn.Vh=function(){return!!(64&this.Db)},rSn.$h=function(){throw Nm(new iv)},rSn._h=function(){return YR(h5(this,64),288)},rSn.ci=function(n){zin(this,16,n)},rSn.di=function(n){zin(this,128,n)},rSn.ei=function(n){zin(this,64,n)},rSn.hi=function(){return Xin(this)},rSn.Db=0,SH(VKn,"MinimalEObjectImpl",119),Bwn(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),rSn.oi=function(n){this.Cb=n},rSn.Ph=function(){return this.Cb},SH(VKn,"MinimalEObjectImpl/Container",120),Bwn(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),rSn.Lh=function(n,t,e){return oon(this,n,t,e)},rSn.Uh=function(n,t,e){return Qhn(this,n,t,e)},rSn.Wh=function(n){return SV(this,n)},rSn.bi=function(n,t){g9(this,n,t)},rSn.ii=function(){return pEn(),Gft},rSn.ki=function(n){E8(this,n)},rSn.nf=function(){return Hrn(this)},rSn.gh=function(){return!this.o&&(this.o=new jZ((pEn(),Hft),ylt,this,0)),this.o},rSn.of=function(n){return ldn(this,n)},rSn.pf=function(n){return YY(this,n)},rSn.qf=function(n,t){return ucn(this,n,t)},SH(WKn,"EMapPropertyHolderImpl",2083),Bwn(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ns),rSn.Lh=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return gcn(this,n,t,e)},rSn.Wh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return Brn(this,n)},rSn.bi=function(n,t){switch(n){case 0:return void X2(this,vy(V$(t)));case 1:return void R2(this,vy(V$(t)))}xln(this,n,t)},rSn.ii=function(){return pEn(),$ft},rSn.ki=function(n){switch(n){case 0:return void X2(this,0);case 1:return void R2(this,0)}Vfn(this,n)},rSn.Ib=function(){var n;return 64&this.Db?Cdn(this):((n=new kN(Cdn(this))).a+=" (x: ",fT(n,this.a),n.a+=", y: ",fT(n,this.b),n.a+=")",n.a)},rSn.a=0,rSn.b=0,SH(WKn,"ElkBendPointImpl",572),Bwn(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),rSn.Lh=function(n,t,e){return etn(this,n,t,e)},rSn.Sh=function(n,t,e){return Wsn(this,n,t,e)},rSn.Uh=function(n,t,e){return B5(this,n,t,e)},rSn.Wh=function(n){return p5(this,n)},rSn.bi=function(n,t){Nun(this,n,t)},rSn.ii=function(){return pEn(),Kft},rSn.ki=function(n){enn(this,n)},rSn.jh=function(){return this.k},rSn.kh=function(){return VU(this)},rSn.Ib=function(){return Stn(this)},rSn.k=null,SH(WKn,"ElkGraphElementImpl",739),Bwn(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),rSn.Lh=function(n,t,e){return Ztn(this,n,t,e)},rSn.Wh=function(n){return men(this,n)},rSn.bi=function(n,t){$un(this,n,t)},rSn.ii=function(){return pEn(),Uft},rSn.ki=function(n){Gen(this,n)},rSn.lh=function(){return this.f},rSn.mh=function(){return this.g},rSn.nh=function(){return this.i},rSn.oh=function(){return this.j},rSn.ph=function(n,t){bA(this,n,t)},rSn.qh=function(n,t){wA(this,n,t)},rSn.rh=function(n){B2(this,n)},rSn.sh=function(n){H2(this,n)},rSn.Ib=function(){return afn(this)},rSn.f=0,rSn.g=0,rSn.i=0,rSn.j=0,SH(WKn,"ElkShapeImpl",740),Bwn(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),rSn.Lh=function(n,t,e){return Qcn(this,n,t,e)},rSn.Sh=function(n,t,e){return mun(this,n,t,e)},rSn.Uh=function(n,t,e){return vun(this,n,t,e)},rSn.Wh=function(n){return s9(this,n)},rSn.bi=function(n,t){Jwn(this,n,t)},rSn.ii=function(){return pEn(),Dft},rSn.ki=function(n){ocn(this,n)},rSn.hh=function(){return!this.d&&(this.d=new Mx(elt,this,8,5)),this.d},rSn.ih=function(){return!this.e&&(this.e=new Mx(elt,this,7,4)),this.e},SH(WKn,"ElkConnectableShapeImpl",741),Bwn(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},es),rSn.Ah=function(n){return Gon(this,n)},rSn.Lh=function(n,t,e){switch(n){case 3:return vX(this);case 4:return!this.b&&(this.b=new Mx(tlt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Mx(tlt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new oB(ilt,this,6,6)),this.a;case 7:return GN(),!this.b&&(this.b=new Mx(tlt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Mx(tlt,this,5,8)),this.c.i<=1));case 8:return GN(),!!Cwn(this);case 9:return GN(),!!xbn(this);case 10:return GN(),!this.b&&(this.b=new Mx(tlt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new Mx(tlt,this,5,8)),0!=this.c.i)}return etn(this,n,t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Gon(this,e):this.Cb.Th(this,-1-i,null,e)),SD(this,YR(n,27),e);case 4:return!this.b&&(this.b=new Mx(tlt,this,4,7)),nin(this.b,n,e);case 5:return!this.c&&(this.c=new Mx(tlt,this,5,8)),nin(this.c,n,e);case 6:return!this.a&&(this.a=new oB(ilt,this,6,6)),nin(this.a,n,e)}return Wsn(this,n,t,e)},rSn.Uh=function(n,t,e){switch(t){case 3:return SD(this,null,e);case 4:return!this.b&&(this.b=new Mx(tlt,this,4,7)),wcn(this.b,n,e);case 5:return!this.c&&(this.c=new Mx(tlt,this,5,8)),wcn(this.c,n,e);case 6:return!this.a&&(this.a=new oB(ilt,this,6,6)),wcn(this.a,n,e)}return B5(this,n,t,e)},rSn.Wh=function(n){switch(n){case 3:return!!vX(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new Mx(tlt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Mx(tlt,this,5,8)),this.c.i<=1));case 8:return Cwn(this);case 9:return xbn(this);case 10:return!this.b&&(this.b=new Mx(tlt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new Mx(tlt,this,5,8)),0!=this.c.i)}return p5(this,n)},rSn.bi=function(n,t){switch(n){case 3:return void bgn(this,YR(t,27));case 4:return!this.b&&(this.b=new Mx(tlt,this,4,7)),nTn(this.b),!this.b&&(this.b=new Mx(tlt,this,4,7)),void uH(this.b,YR(t,16));case 5:return!this.c&&(this.c=new Mx(tlt,this,5,8)),nTn(this.c),!this.c&&(this.c=new Mx(tlt,this,5,8)),void uH(this.c,YR(t,16));case 6:return!this.a&&(this.a=new oB(ilt,this,6,6)),nTn(this.a),!this.a&&(this.a=new oB(ilt,this,6,6)),void uH(this.a,YR(t,16))}Nun(this,n,t)},rSn.ii=function(){return pEn(),xft},rSn.ki=function(n){switch(n){case 3:return void bgn(this,null);case 4:return!this.b&&(this.b=new Mx(tlt,this,4,7)),void nTn(this.b);case 5:return!this.c&&(this.c=new Mx(tlt,this,5,8)),void nTn(this.c);case 6:return!this.a&&(this.a=new oB(ilt,this,6,6)),void nTn(this.a)}enn(this,n)},rSn.Ib=function(){return jMn(this)},SH(WKn,"ElkEdgeImpl",326),Bwn(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},is),rSn.Ah=function(n){return $on(this,n)},rSn.Lh=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new $L(Yft,this,5)),this.a;case 6:return yX(this);case 7:return t?Rcn(this):this.i;case 8:return t?xcn(this):this.f;case 9:return!this.g&&(this.g=new Mx(ilt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Mx(ilt,this,10,9)),this.e;case 11:return this.d}return oon(this,n,t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?$on(this,e):this.Cb.Th(this,-1-i,null,e)),ED(this,YR(n,74),e);case 9:return!this.g&&(this.g=new Mx(ilt,this,9,10)),nin(this.g,n,e);case 10:return!this.e&&(this.e=new Mx(ilt,this,10,9)),nin(this.e,n,e)}return YR(_0(YR(h5(this,16),29)||(pEn(),Rft),t),69).wk().zk(this,Xin(this),t-xH((pEn(),Rft)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new $L(Yft,this,5)),wcn(this.a,n,e);case 6:return ED(this,null,e);case 9:return!this.g&&(this.g=new Mx(ilt,this,9,10)),wcn(this.g,n,e);case 10:return!this.e&&(this.e=new Mx(ilt,this,10,9)),wcn(this.e,n,e)}return Qhn(this,n,t,e)},rSn.Wh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!yX(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return SV(this,n)},rSn.bi=function(n,t){switch(n){case 1:return void U2(this,vy(V$(t)));case 2:return void q2(this,vy(V$(t)));case 3:return void K2(this,vy(V$(t)));case 4:return void G2(this,vy(V$(t)));case 5:return!this.a&&(this.a=new $L(Yft,this,5)),nTn(this.a),!this.a&&(this.a=new $L(Yft,this,5)),void uH(this.a,YR(t,16));case 6:return void lgn(this,YR(t,74));case 7:return void t4(this,YR(t,84));case 8:return void n4(this,YR(t,84));case 9:return!this.g&&(this.g=new Mx(ilt,this,9,10)),nTn(this.g),!this.g&&(this.g=new Mx(ilt,this,9,10)),void uH(this.g,YR(t,16));case 10:return!this.e&&(this.e=new Mx(ilt,this,10,9)),nTn(this.e),!this.e&&(this.e=new Mx(ilt,this,10,9)),void uH(this.e,YR(t,16));case 11:return void b4(this,W$(t))}g9(this,n,t)},rSn.ii=function(){return pEn(),Rft},rSn.ki=function(n){switch(n){case 1:return void U2(this,0);case 2:return void q2(this,0);case 3:return void K2(this,0);case 4:return void G2(this,0);case 5:return!this.a&&(this.a=new $L(Yft,this,5)),void nTn(this.a);case 6:return void lgn(this,null);case 7:return void t4(this,null);case 8:return void n4(this,null);case 9:return!this.g&&(this.g=new Mx(ilt,this,9,10)),void nTn(this.g);case 10:return!this.e&&(this.e=new Mx(ilt,this,10,9)),void nTn(this.e);case 11:return void b4(this,null)}E8(this,n)},rSn.Ib=function(){return gwn(this)},rSn.b=0,rSn.c=0,rSn.d=null,rSn.j=0,rSn.k=0,SH(WKn,"ElkEdgeSectionImpl",452),Bwn(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),rSn.Lh=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab):FZ(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t,e)},rSn.Sh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e)):YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().zk(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Uh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e)):YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().Ak(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Wh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:DW(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.Zh=function(n){return Fjn(this,n)},rSn.bi=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));ten(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t)},rSn.di=function(n){zin(this,128,n)},rSn.ii=function(){return YEn(),Obt},rSn.ki=function(n){if(0===n)return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);Pnn(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.pi=function(){this.Bb|=1},rSn.qi=function(n){return kkn(this,n)},rSn.Bb=0,SH(VKn,"EModelElementImpl",158),Bwn(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},Rl),rSn.ri=function(n,t){return GTn(this,n,t)},rSn.si=function(n){var t,e,i,r;if(this.a!=f2(n)||256&n.Bb)throw Nm(new Iy(tFn+n.zb+YKn));for(e=Bq(n);0!=aQ(e.a).i;){if(zan(t=YR(kTn(e,0,hL(r=YR(g2(aQ(e.a),0),89).c,90)?YR(r,29):(YEn(),Lbt)),29)))return YR(i=f2(t).wi().si(t),54).ci(n),i;e=Bq(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new JK(n):new jK(n)},rSn.ti=function(n,t){return kEn(this,n,t)},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.a}return FZ(this,n-xH((YEn(),Pbt)),_0(YR(h5(this,16),29)||Pbt,n),t,e)},rSn.Sh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 1:return this.a&&(e=YR(this.a,54).Th(this,4,olt,e)),Q7(this,YR(n,241),e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Pbt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),Pbt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 1:return Q7(this,null,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Pbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Pbt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return DW(this,n-xH((YEn(),Pbt)),_0(YR(h5(this,16),29)||Pbt,n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void Ahn(this,YR(t,241))}ten(this,n-xH((YEn(),Pbt)),_0(YR(h5(this,16),29)||Pbt,n),t)},rSn.ii=function(){return YEn(),Pbt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void Ahn(this,null)}Pnn(this,n-xH((YEn(),Pbt)),_0(YR(h5(this,16),29)||Pbt,n))},SH(VKn,"EFactoryImpl",720),Bwn(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},rs),rSn.ri=function(n,t){switch(n.hk()){case 12:return YR(t,149).Pg();case 13:return Jtn(t);default:throw Nm(new Iy(JKn+n.xe()+YKn))}},rSn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=f2(n))?vcn(t.vi(),n):-1),n.G){case 4:return new cs;case 6:return new tk;case 7:return new ek;case 8:return new es;case 9:return new ns;case 10:return new is;case 11:return new as;default:throw Nm(new Iy(tFn+n.zb+YKn))}},rSn.ti=function(n,t){switch(n.hk()){case 13:case 12:return null;default:throw Nm(new Iy(JKn+n.xe()+YKn))}},SH(WKn,"ElkGraphFactoryImpl",1037),Bwn(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),rSn.Gh=function(){var n;return null==(n=Qq(gyn(YR(h5(this,16),29)||this.ii())))?(XE(),XE(),Jbt):new A$(this,n)},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.xe()}return FZ(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return DW(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void this.ui(W$(t))}ten(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t)},rSn.ii=function(){return YEn(),Abt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void this.ui(null)}Pnn(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.xe=function(){return this.zb},rSn.ui=function(n){U4(this,n)},rSn.Ib=function(){return pnn(this)},rSn.zb=null,SH(VKn,"ENamedElementImpl",448),Bwn(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},ZG),rSn.Ah=function(n){return Kon(this,n)},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,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 dB(this,cbt,this)),this.rb;case 6:return!this.vb&&(this.vb=new wx(olt,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?YR(this.Cb,241):null:KX(this)}return FZ(this,n-xH((YEn(),Dbt)),_0(YR(h5(this,16),29)||Dbt,n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 4:return this.sb&&(e=YR(this.sb,54).Th(this,1,clt,e)),vnn(this,YR(n,480),e);case 5:return!this.rb&&(this.rb=new dB(this,cbt,this)),nin(this.rb,n,e);case 6:return!this.vb&&(this.vb=new wx(olt,this,6,7)),nin(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?Kon(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,7,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Dbt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),Dbt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 4:return vnn(this,null,e);case 5:return!this.rb&&(this.rb=new dB(this,cbt,this)),wcn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new wx(olt,this,6,7)),wcn(this.vb,n,e);case 7:return bkn(this,null,7,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Dbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Dbt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!KX(this)}return DW(this,n-xH((YEn(),Dbt)),_0(YR(h5(this,16),29)||Dbt,n))},rSn.Zh=function(n){return function(n,t){var e,i,r,c,a,o;if(!n.tb){for(!n.rb&&(n.rb=new dB(n,cbt,n)),o=new Hj((c=n.rb).i),r=new zL(c);r.e!=r.i.gc();)i=YR(Grn(r),142),(e=YR(null==(a=i.xe())?Cln(o.f,null,i):ytn(o.i,a,i),142))&&(null==a?Cln(o.f,null,e):ytn(o.i,a,e));n.tb=o}return YR(cX(n.tb,t),142)}(this,n)||Fjn(this,n)},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void U4(this,W$(t));case 2:return void q4(this,W$(t));case 3:return void G4(this,W$(t));case 4:return void Jhn(this,YR(t,480));case 5:return!this.rb&&(this.rb=new dB(this,cbt,this)),nTn(this.rb),!this.rb&&(this.rb=new dB(this,cbt,this)),void uH(this.rb,YR(t,16));case 6:return!this.vb&&(this.vb=new wx(olt,this,6,7)),nTn(this.vb),!this.vb&&(this.vb=new wx(olt,this,6,7)),void uH(this.vb,YR(t,16))}ten(this,n-xH((YEn(),Dbt)),_0(YR(h5(this,16),29)||Dbt,n),t)},rSn.ei=function(n){var t,e;if(n&&this.rb)for(e=new zL(this.rb);e.e!=e.i.gc();)hL(t=Grn(e),364)&&(YR(t,364).w=null);zin(this,64,n)},rSn.ii=function(){return YEn(),Dbt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void U4(this,null);case 2:return void q4(this,null);case 3:return void G4(this,null);case 4:return void Jhn(this,null);case 5:return!this.rb&&(this.rb=new dB(this,cbt,this)),void nTn(this.rb);case 6:return!this.vb&&(this.vb=new wx(olt,this,6,7)),void nTn(this.vb)}Pnn(this,n-xH((YEn(),Dbt)),_0(YR(h5(this,16),29)||Dbt,n))},rSn.pi=function(){uon(this)},rSn.vi=function(){return!this.rb&&(this.rb=new dB(this,cbt,this)),this.rb},rSn.wi=function(){return this.sb},rSn.xi=function(){return this.ub},rSn.yi=function(){return this.xb},rSn.zi=function(){return this.yb},rSn.Ai=function(n){this.ub=n},rSn.Ib=function(){var n;return 64&this.Db?pnn(this):((n=new kN(pnn(this))).a+=" (nsURI: ",eO(n,this.yb),n.a+=", nsPrefix: ",eO(n,this.xb),n.a+=")",n.a)},rSn.xb=null,rSn.yb=null,SH(VKn,"EPackageImpl",184),Bwn(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},xwn),rSn.q=!1,rSn.r=!1;var flt=!1;SH(WKn,"ElkGraphPackageImpl",569),Bwn(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},cs),rSn.Ah=function(n){return Don(this,n)},rSn.Lh=function(n,t,e){switch(n){case 7:return _X(this);case 8:return this.a}return Ztn(this,n,t,e)},rSn.Sh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Don(this,e):this.Cb.Th(this,-1-i,null,e)),k_(this,YR(n,167),e)):Wsn(this,n,t,e)},rSn.Uh=function(n,t,e){return 7==t?k_(this,null,e):B5(this,n,t,e)},rSn.Wh=function(n){switch(n){case 7:return!!_X(this);case 8:return!Ix("",this.a)}return men(this,n)},rSn.bi=function(n,t){switch(n){case 7:return void xgn(this,YR(t,167));case 8:return void e4(this,W$(t))}$un(this,n,t)},rSn.ii=function(){return pEn(),Fft},rSn.ki=function(n){switch(n){case 7:return void xgn(this,null);case 8:return void e4(this,"")}Gen(this,n)},rSn.Ib=function(){return Rfn(this)},rSn.a="",SH(WKn,"ElkLabelImpl",366),Bwn(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},tk),rSn.Ah=function(n){return qon(this,n)},rSn.Lh=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new oB(hlt,this,9,9)),this.c;case 10:return!this.a&&(this.a=new oB(slt,this,10,11)),this.a;case 11:return BX(this);case 12:return!this.b&&(this.b=new oB(elt,this,12,3)),this.b;case 13:return GN(),!this.a&&(this.a=new oB(slt,this,10,11)),this.a.i>0}return Qcn(this,n,t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new oB(hlt,this,9,9)),nin(this.c,n,e);case 10:return!this.a&&(this.a=new oB(slt,this,10,11)),nin(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?qon(this,e):this.Cb.Th(this,-1-i,null,e)),bx(this,YR(n,27),e);case 12:return!this.b&&(this.b=new oB(elt,this,12,3)),nin(this.b,n,e)}return mun(this,n,t,e)},rSn.Uh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new oB(hlt,this,9,9)),wcn(this.c,n,e);case 10:return!this.a&&(this.a=new oB(slt,this,10,11)),wcn(this.a,n,e);case 11:return bx(this,null,e);case 12:return!this.b&&(this.b=new oB(elt,this,12,3)),wcn(this.b,n,e)}return vun(this,n,t,e)},rSn.Wh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!BX(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new oB(slt,this,10,11)),this.a.i>0}return s9(this,n)},rSn.bi=function(n,t){switch(n){case 9:return!this.c&&(this.c=new oB(hlt,this,9,9)),nTn(this.c),!this.c&&(this.c=new oB(hlt,this,9,9)),void uH(this.c,YR(t,16));case 10:return!this.a&&(this.a=new oB(slt,this,10,11)),nTn(this.a),!this.a&&(this.a=new oB(slt,this,10,11)),void uH(this.a,YR(t,16));case 11:return void Tgn(this,YR(t,27));case 12:return!this.b&&(this.b=new oB(elt,this,12,3)),nTn(this.b),!this.b&&(this.b=new oB(elt,this,12,3)),void uH(this.b,YR(t,16))}Jwn(this,n,t)},rSn.ii=function(){return pEn(),_ft},rSn.ki=function(n){switch(n){case 9:return!this.c&&(this.c=new oB(hlt,this,9,9)),void nTn(this.c);case 10:return!this.a&&(this.a=new oB(slt,this,10,11)),void nTn(this.a);case 11:return void Tgn(this,null);case 12:return!this.b&&(this.b=new oB(elt,this,12,3)),void nTn(this.b)}ocn(this,n)},rSn.Ib=function(){return rvn(this)},SH(WKn,"ElkNodeImpl",207),Bwn(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ek),rSn.Ah=function(n){return xon(this,n)},rSn.Lh=function(n,t,e){return 9==n?kX(this):Qcn(this,n,t,e)},rSn.Sh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?xon(this,e):this.Cb.Th(this,-1-i,null,e)),PD(this,YR(n,27),e)):mun(this,n,t,e)},rSn.Uh=function(n,t,e){return 9==t?PD(this,null,e):vun(this,n,t,e)},rSn.Wh=function(n){return 9==n?!!kX(this):s9(this,n)},rSn.bi=function(n,t){9!==n?Jwn(this,n,t):wgn(this,YR(t,27))},rSn.ii=function(){return pEn(),Bft},rSn.ki=function(n){9!==n?ocn(this,n):wgn(this,null)},rSn.Ib=function(){return cvn(this)},SH(WKn,"ElkPortImpl",193);var llt=tF(MFn,"BasicEMap/Entry");Bwn(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},as),rSn.Fb=function(n){return this===n},rSn.ld=function(){return this.b},rSn.Hb=function(){return _N(this)},rSn.Di=function(n){i4(this,YR(n,149))},rSn.Lh=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return gcn(this,n,t,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return Brn(this,n)},rSn.bi=function(n,t){switch(n){case 0:return void i4(this,YR(t,149));case 1:return void Q3(this,t)}xln(this,n,t)},rSn.ii=function(){return pEn(),Hft},rSn.ki=function(n){switch(n){case 0:return void i4(this,null);case 1:return void Q3(this,null)}Vfn(this,n)},rSn.Bi=function(){var n;return-1==this.a&&(n=this.b,this.a=n?_4(n):0),this.a},rSn.md=function(){return this.c},rSn.Ci=function(n){this.a=n},rSn.nd=function(n){var t;return t=this.c,Q3(this,n),t},rSn.Ib=function(){var n;return 64&this.Db?Cdn(this):(cO(cO(cO(n=new Zy,this.b?this.b.Pg():ESn),VAn),vN(this.c)),n.a)},rSn.a=-1,rSn.c=null;var blt,wlt,dlt,glt,plt,mlt,vlt,klt,ylt=SH(WKn,"ElkPropertyToValueMapEntryImpl",1122);Bwn(996,1,{},ss),SH(EFn,"JsonAdapter",996),Bwn(216,63,MPn,xy),SH(EFn,"JsonImportException",216),Bwn(868,1,{},_on),SH(EFn,"JsonImporter",868),Bwn(903,1,{},hI),SH(EFn,"JsonImporter/lambda$0$Type",903),Bwn(904,1,{},fI),SH(EFn,"JsonImporter/lambda$1$Type",904),Bwn(912,1,{},Mp),SH(EFn,"JsonImporter/lambda$10$Type",912),Bwn(914,1,{},lI),SH(EFn,"JsonImporter/lambda$11$Type",914),Bwn(915,1,{},bI),SH(EFn,"JsonImporter/lambda$12$Type",915),Bwn(921,1,{},OG),SH(EFn,"JsonImporter/lambda$13$Type",921),Bwn(920,1,{},AG),SH(EFn,"JsonImporter/lambda$14$Type",920),Bwn(916,1,{},wI),SH(EFn,"JsonImporter/lambda$15$Type",916),Bwn(917,1,{},dI),SH(EFn,"JsonImporter/lambda$16$Type",917),Bwn(918,1,{},gI),SH(EFn,"JsonImporter/lambda$17$Type",918),Bwn(919,1,{},pI),SH(EFn,"JsonImporter/lambda$18$Type",919),Bwn(924,1,{},Tp),SH(EFn,"JsonImporter/lambda$19$Type",924),Bwn(905,1,{},jp),SH(EFn,"JsonImporter/lambda$2$Type",905),Bwn(922,1,{},Ep),SH(EFn,"JsonImporter/lambda$20$Type",922),Bwn(923,1,{},Sp),SH(EFn,"JsonImporter/lambda$21$Type",923),Bwn(927,1,{},Pp),SH(EFn,"JsonImporter/lambda$22$Type",927),Bwn(925,1,{},Cp),SH(EFn,"JsonImporter/lambda$23$Type",925),Bwn(926,1,{},Ip),SH(EFn,"JsonImporter/lambda$24$Type",926),Bwn(929,1,{},Op),SH(EFn,"JsonImporter/lambda$25$Type",929),Bwn(928,1,{},Ap),SH(EFn,"JsonImporter/lambda$26$Type",928),Bwn(930,1,XSn,mI),rSn.Cd=function(n){!function(n,t,e){var i,r;r=null,(i=CX(n,e))&&(r=Wfn(i)),Mrn(t,e,r)}(this.b,this.a,W$(n))},SH(EFn,"JsonImporter/lambda$27$Type",930),Bwn(931,1,XSn,vI),rSn.Cd=function(n){!function(n,t,e){var i,r;r=null,(i=CX(n,e))&&(r=Wfn(i)),Mrn(t,e,r)}(this.b,this.a,W$(n))},SH(EFn,"JsonImporter/lambda$28$Type",931),Bwn(932,1,{},kI),SH(EFn,"JsonImporter/lambda$29$Type",932),Bwn(908,1,{},Lp),SH(EFn,"JsonImporter/lambda$3$Type",908),Bwn(933,1,{},yI),SH(EFn,"JsonImporter/lambda$30$Type",933),Bwn(934,1,{},Np),SH(EFn,"JsonImporter/lambda$31$Type",934),Bwn(935,1,{},$p),SH(EFn,"JsonImporter/lambda$32$Type",935),Bwn(936,1,{},Dp),SH(EFn,"JsonImporter/lambda$33$Type",936),Bwn(937,1,{},xp),SH(EFn,"JsonImporter/lambda$34$Type",937),Bwn(870,1,{},Rp),SH(EFn,"JsonImporter/lambda$35$Type",870),Bwn(941,1,{},OR),SH(EFn,"JsonImporter/lambda$36$Type",941),Bwn(938,1,XSn,Kp),rSn.Cd=function(n){!function(n,t){var e;fq(e=new ny,"x",t.a),fq(e,"y",t.b),zH(n,e)}(this.a,YR(n,377))},SH(EFn,"JsonImporter/lambda$37$Type",938),Bwn(939,1,XSn,TI),rSn.Cd=function(n){!function(n,t,e){Oun(t,uln(n,e))}(this.a,this.b,YR(n,166))},SH(EFn,"JsonImporter/lambda$38$Type",939),Bwn(940,1,XSn,jI),rSn.Cd=function(n){!function(n,t,e){Oun(t,uln(n,e))}(this.a,this.b,YR(n,166))},SH(EFn,"JsonImporter/lambda$39$Type",940),Bwn(906,1,{},Fp),SH(EFn,"JsonImporter/lambda$4$Type",906),Bwn(942,1,XSn,_p),rSn.Cd=function(n){!function(n,t){var e;fq(e=new ny,"x",t.a),fq(e,"y",t.b),zH(n,e)}(this.a,YR(n,8))},SH(EFn,"JsonImporter/lambda$40$Type",942),Bwn(907,1,{},Bp),SH(EFn,"JsonImporter/lambda$5$Type",907),Bwn(911,1,{},Hp),SH(EFn,"JsonImporter/lambda$6$Type",911),Bwn(909,1,{},Up),SH(EFn,"JsonImporter/lambda$7$Type",909),Bwn(910,1,{},Gp),SH(EFn,"JsonImporter/lambda$8$Type",910),Bwn(913,1,{},qp),SH(EFn,"JsonImporter/lambda$9$Type",913),Bwn(961,1,XSn,Xp),rSn.Cd=function(n){zH(this.a,new IH(W$(n)))},SH(EFn,"JsonMetaDataConverter/lambda$0$Type",961),Bwn(962,1,XSn,zp),rSn.Cd=function(n){!function(n,t){zH(n,new IH(null!=t.f?t.f:""+t.g))}(this.a,YR(n,245))},SH(EFn,"JsonMetaDataConverter/lambda$1$Type",962),Bwn(963,1,XSn,Vp),rSn.Cd=function(n){!function(n,t){null!=t.c&&zH(n,new IH(t.c))}(this.a,YR(n,143))},SH(EFn,"JsonMetaDataConverter/lambda$2$Type",963),Bwn(964,1,XSn,Wp),rSn.Cd=function(n){!function(n,t){zH(n,new IH(null!=t.f?t.f:""+t.g))}(this.a,YR(n,170))},SH(EFn,"JsonMetaDataConverter/lambda$3$Type",964),Bwn(245,22,{3:1,34:1,22:1,245:1},EI);var Mlt,Tlt=c3(bOn,"GraphFeature",245,EUn,(function(){return Rwn(),o8(sM(Tlt,1),bPn,245,0,[klt,plt,mlt,glt,vlt,wlt,blt,dlt])}),(function(n){return Rwn(),r3((q6(),Mlt),n)}));Bwn(11,1,{34:1,149:1},Yp,$D,SO,SA),rSn.Fd=function(n){return function(n,t){return UJ(n.b,t.Pg())}(this,YR(n,149))},rSn.Fb=function(n){return Kq(this,n)},rSn.Sg=function(){return Urn(this)},rSn.Pg=function(){return this.b},rSn.Hb=function(){return k9(this.b)},rSn.Ib=function(){return this.b},SH(bOn,"Property",11),Bwn(671,1,sIn,Qp),rSn.Ne=function(n,t){return function(n,t,e){var i,r;return i=YR(t.of(n.a),34),r=YR(e.of(n.a),34),null!=i&&null!=r?S6(i,r):null!=i?-1:null!=r?1:0}(this,YR(n,96),YR(t,96))},rSn.Fb=function(n){return this===n},rSn.Oe=function(){return new Mw(this)},SH(bOn,"PropertyHolderComparator",671),Bwn(709,1,OSn,Jp),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){return function(n){var t;if(!n.a)throw Nm(new IG);return t=n.a,n.a=BX(n.a),t}(this)},rSn.Qb=function(){pT()},rSn.Ob=function(){return!!this.a},SH(_Fn,"ElkGraphUtil/AncestorIterator",709);var jlt=tF(MFn,"EList");Bwn(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),rSn.bd=function(n,t){Xnn(this,n,t)},rSn.Fc=function(n){return wZ(this,n)},rSn.cd=function(n,t){return S8(this,n,t)},rSn.Gc=function(n){return uH(this,n)},rSn.Ii=function(){return new ZN(this)},rSn.Ji=function(){return new n$(this)},rSn.Ki=function(n){return E3(this,n)},rSn.Li=function(){return!0},rSn.Mi=function(n,t){},rSn.Ni=function(){},rSn.Oi=function(n,t){iZ(this,n,t)},rSn.Pi=function(n,t,e){},rSn.Qi=function(n,t){},rSn.Ri=function(n,t,e){},rSn.Fb=function(n){return ymn(this,n)},rSn.Hb=function(){return c8(this)},rSn.Si=function(){return!1},rSn.Kc=function(){return new zL(this)},rSn.ed=function(){return new YN(this)},rSn.fd=function(n){var t;if(t=this.gc(),n<0||n>t)throw Nm(new Ex(n,t));return new UB(this,n)},rSn.Ui=function(n,t){this.Ti(n,this.dd(t))},rSn.Mc=function(n){return n0(this,n)},rSn.Wi=function(n,t){return t},rSn.hd=function(n,t){return kcn(this,n,t)},rSn.Ib=function(){return sen(this)},rSn.Yi=function(){return!0},rSn.Zi=function(n,t){return v9(this,t)},SH(MFn,"AbstractEList",70),Bwn(66,70,qFn,ls,o2,O6),rSn.Ei=function(n,t){return Qsn(this,n,t)},rSn.Fi=function(n){return dan(this,n)},rSn.Gi=function(n,t){Mnn(this,n,t)},rSn.Hi=function(n){NJ(this,n)},rSn.$i=function(n){return DZ(this,n)},rSn.$b=function(){$J(this)},rSn.Hc=function(n){return Tun(this,n)},rSn.Xb=function(n){return g2(this,n)},rSn._i=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.gd(t),!0)},rSn.Xi=function(n,t){return this.Dj(n,this.Zi(n,t))},rSn.gc=function(){return this.Ej()},rSn.Pc=function(){return this.Fj()},rSn.Qc=function(n){return this.Gj(n)},rSn.Ib=function(){return this.Hj()},SH(MFn,"DelegatingEList",2093),Bwn(2094,2093,D_n),rSn.Ei=function(n,t){return _kn(this,n,t)},rSn.Fi=function(n){return this.Ei(this.Ej(),n)},rSn.Gi=function(n,t){Kwn(this,n,t)},rSn.Hi=function(n){fwn(this,n)},rSn.Li=function(){return!this.Mj()},rSn.$b=function(){cTn(this)},rSn.Ij=function(n,t,e,i,r){return new Dq(this,n,t,e,i,r)},rSn.Jj=function(n){r5(this.jj(),n)},rSn.Kj=function(){return null},rSn.Lj=function(){return-1},rSn.jj=function(){return null},rSn.Mj=function(){return!1},rSn.Nj=function(n,t){return t},rSn.Oj=function(n,t){return t},rSn.Pj=function(){return!1},rSn.Qj=function(){return!this.Aj()},rSn.Ti=function(n,t){var e,i;return this.Pj()?(i=this.Qj(),e=Phn(this,n,t),this.Jj(this.Ij(7,onn(t),e,n,i)),e):Phn(this,n,t)},rSn.gd=function(n){var t,e,i,r;return this.Pj()?(e=null,i=this.Qj(),t=this.Ij(4,r=eF(this,n),null,n,i),this.Mj()&&r?(e=this.Oj(r,e))?(e.nj(t),e.oj()):this.Jj(t):e?(e.nj(t),e.oj()):this.Jj(t),r):(r=eF(this,n),this.Mj()&&r&&(e=this.Oj(r,null))&&e.oj(),r)},rSn.Xi=function(n,t){return Bkn(this,n,t)},SH(FKn,"DelegatingNotifyingListImpl",2094),Bwn(152,1,x_n),rSn.nj=function(n){return hsn(this,n)},rSn.oj=function(){S1(this)},rSn.gj=function(){return this.d},rSn.Kj=function(){return null},rSn.Rj=function(){return null},rSn.hj=function(n){return-1},rSn.ij=function(){return Opn(this)},rSn.jj=function(){return null},rSn.kj=function(){return Apn(this)},rSn.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},rSn.Sj=function(){return!1},rSn.mj=function(n){var t,e,i,r,c,a,o,u;switch(this.d){case 1:case 2:switch(n.gj()){case 1:case 2:if(GI(n.jj())===GI(this.jj())&&this.hj(null)==n.hj(null))return this.g=n.ij(),1==n.gj()&&(this.d=1),!0}case 4:if(4===n.gj()&&GI(n.jj())===GI(this.jj())&&this.hj(null)==n.hj(null))return a=vTn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.lj(),this.d=6,u=new o2(2),c<=i?(wZ(u,this.n),wZ(u,n.kj()),this.g=o8(sM(Qdt,1),qPn,28,15,[this.o=c,i+1])):(wZ(u,n.kj()),wZ(u,this.n),this.g=o8(sM(Qdt,1),qPn,28,15,[this.o=i,c])),this.n=u,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.gj()&&GI(n.jj())===GI(this.jj())&&this.hj(null)==n.hj(null)){for(a=vTn(this),i=n.lj(),o=YR(this.g,53),e=eZ(Qdt,qPn,28,o.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:lT(e,this.d)}if(Tvn(this)&&(e.a+=", touch: true"),e.a+=", position: ",lT(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",tO(e,this.jj()),e.a+=", feature: ",tO(e,this.Kj()),e.a+=", oldValue: ",tO(e,Apn(this)),e.a+=", newValue: ",6==this.d&&hL(this.g,53)){for(t=YR(this.g,53),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new jF(this),this.a=this.j),Kj(this.b,n)):Tun(this,n)},rSn.Yi=function(){return!0},rSn.a=0,SH(MFn,"AbstractEList/1",966),Bwn(302,77,dCn,Ex),SH(MFn,"AbstractEList/BasicIndexOutOfBoundsException",302),Bwn(37,1,OSn,zL),rSn.Nb=function(n){MB(this,n)},rSn.Xj=function(){if(this.i.j!=this.f)throw Nm(new rv)},rSn.Yj=function(){return Grn(this)},rSn.Ob=function(){return this.e!=this.i.gc()},rSn.Pb=function(){return this.Yj()},rSn.Qb=function(){Fun(this)},rSn.e=0,rSn.f=0,rSn.g=-1,SH(MFn,"AbstractEList/EIterator",37),Bwn(286,37,FSn,YN,UB),rSn.Qb=function(){Fun(this)},rSn.Rb=function(n){zen(this,n)},rSn.Zj=function(){var n;try{return n=this.d.Xb(--this.e),this.Xj(),this.g=this.e,n}catch(n){throw hL(n=z5(n),77)?(this.Xj(),Nm(new av)):Nm(n)}},rSn.$j=function(n){kan(this,n)},rSn.Sb=function(){return 0!=this.e},rSn.Tb=function(){return this.e},rSn.Ub=function(){return this.Zj()},rSn.Vb=function(){return this.e-1},rSn.Wb=function(n){this.$j(n)},SH(MFn,"AbstractEList/EListIterator",286),Bwn(355,37,OSn,ZN),rSn.Yj=function(){return qrn(this)},rSn.Qb=function(){throw Nm(new iv)},SH(MFn,"AbstractEList/NonResolvingEIterator",355),Bwn(398,286,FSn,n$,$x),rSn.Rb=function(n){throw Nm(new iv)},rSn.Yj=function(){var n;try{return n=this.c.Vi(this.e),this.Xj(),this.g=this.e++,n}catch(n){throw hL(n=z5(n),77)?(this.Xj(),Nm(new av)):Nm(n)}},rSn.Zj=function(){var n;try{return n=this.c.Vi(--this.e),this.Xj(),this.g=this.e,n}catch(n){throw hL(n=z5(n),77)?(this.Xj(),Nm(new av)):Nm(n)}},rSn.Qb=function(){throw Nm(new iv)},rSn.Wb=function(n){throw Nm(new iv)},SH(MFn,"AbstractEList/NonResolvingEListIterator",398),Bwn(2080,70,F_n),rSn.Ei=function(n,t){var e,i,r,c,a,o,u,s,h;if(0!=(i=t.gc())){for(e=B9(this,(s=null==(u=YR(h5(this.a,4),129))?0:u.length)+i),(h=s-n)>0&&oyn(u,n,e,n+i,h),o=t.Kc(),c=0;ce)throw Nm(new Ex(n,e));return new eG(this,n)},rSn.$b=function(){var n,t;++this.j,t=null==(n=YR(h5(this.a,4),129))?0:n.length,Srn(this,null),iZ(this,t,n)},rSn.Hc=function(n){var t,e,i,r;if(null!=(t=YR(h5(this.a,4),129)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=YR(h5(this.a,4),129))?0:t.length))throw Nm(new Ex(n,e));return t[n]},rSn.dd=function(n){var t,e,i;if(null!=(t=YR(h5(this.a,4),129)))if(null!=n){for(e=0,i=t.length;ee)throw Nm(new Ex(n,e));return new tG(this,n)},rSn.Ti=function(n,t){var e,i,r;if(n>=(r=null==(e=Sin(this))?0:e.length))throw Nm(new Ey(HFn+n+UFn+r));if(t>=r)throw Nm(new Ey(GFn+t+UFn+r));return i=e[t],n!=t&&(n=(a=null==(e=YR(h5(n.a,4),129))?0:e.length))throw Nm(new Ex(t,a));return r=e[t],1==a?i=null:(oyn(e,0,i=eZ(Llt,K_n,424,a-1,0,1),0,t),(c=a-t-1)>0&&oyn(e,t+1,i,t,c)),Srn(n,i),Pln(n,t,r),r}(this,n)},rSn.Xi=function(n,t){var e,i;return i=(e=Sin(this))[n],CA(e,n,v9(this,t)),Srn(this,e),i},rSn.gc=function(){var n;return null==(n=YR(h5(this.a,4),129))?0:n.length},rSn.Pc=function(){var n,t,e;return e=null==(n=YR(h5(this.a,4),129))?0:n.length,t=eZ(Llt,K_n,424,e,0,1),e>0&&oyn(n,0,t,0,e),t},rSn.Qc=function(n){var t,e;return(e=null==(t=YR(h5(this.a,4),129))?0:t.length)>0&&(n.lengthe&&_H(n,e,null),n},SH(MFn,"ArrayDelegatingEList",2080),Bwn(1051,37,OSn,bJ),rSn.Xj=function(){if(this.b.j!=this.f||GI(YR(h5(this.b.a,4),129))!==GI(this.a))throw Nm(new rv)},rSn.Qb=function(){Fun(this),this.a=YR(h5(this.b.a,4),129)},SH(MFn,"ArrayDelegatingEList/EIterator",1051),Bwn(722,286,FSn,bB,tG),rSn.Xj=function(){if(this.b.j!=this.f||GI(YR(h5(this.b.a,4),129))!==GI(this.a))throw Nm(new rv)},rSn.$j=function(n){kan(this,n),this.a=YR(h5(this.b.a,4),129)},rSn.Qb=function(){Fun(this),this.a=YR(h5(this.b.a,4),129)},SH(MFn,"ArrayDelegatingEList/EListIterator",722),Bwn(1052,355,OSn,wJ),rSn.Xj=function(){if(this.b.j!=this.f||GI(YR(h5(this.b.a,4),129))!==GI(this.a))throw Nm(new rv)},SH(MFn,"ArrayDelegatingEList/NonResolvingEIterator",1052),Bwn(723,398,FSn,wB,eG),rSn.Xj=function(){if(this.b.j!=this.f||GI(YR(h5(this.b.a,4),129))!==GI(this.a))throw Nm(new rv)},SH(MFn,"ArrayDelegatingEList/NonResolvingEListIterator",723),Bwn(615,302,dCn,EO),SH(MFn,"BasicEList/BasicIndexOutOfBoundsException",615),Bwn(710,66,qFn,_I),rSn.bd=function(n,t){throw Nm(new iv)},rSn.Fc=function(n){throw Nm(new iv)},rSn.cd=function(n,t){throw Nm(new iv)},rSn.Gc=function(n){throw Nm(new iv)},rSn.$b=function(){throw Nm(new iv)},rSn._i=function(n){throw Nm(new iv)},rSn.Kc=function(){return this.Ii()},rSn.ed=function(){return this.Ji()},rSn.fd=function(n){return this.Ki(n)},rSn.Ti=function(n,t){throw Nm(new iv)},rSn.Ui=function(n,t){throw Nm(new iv)},rSn.gd=function(n){throw Nm(new iv)},rSn.Mc=function(n){throw Nm(new iv)},rSn.hd=function(n,t){throw Nm(new iv)},SH(MFn,"BasicEList/UnmodifiableEList",710),Bwn(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),rSn.bd=function(n,t){!function(n,t,e){n.c.bd(t,YR(e,136))}(this,n,YR(t,44))},rSn.Fc=function(n){return function(n,t){return n.c.Fc(YR(t,136))}(this,YR(n,44))},rSn.Jc=function(n){JQ(this,n)},rSn.Xb=function(n){return YR(g2(this.c,n),136)},rSn.Ti=function(n,t){return YR(this.c.Ti(n,t),44)},rSn.Ui=function(n,t){!function(n,t,e){n.c.Ui(t,YR(e,136))}(this,n,YR(t,44))},rSn.Lc=function(){return new CF(null,new Fz(this,16))},rSn.gd=function(n){return YR(this.c.gd(n),44)},rSn.hd=function(n,t){return function(n,t,e){return YR(n.c.hd(t,YR(e,136)),44)}(this,n,YR(t,44))},rSn.jd=function(n){L4(this,n)},rSn.Nc=function(){return new Fz(this,16)},rSn.Oc=function(){return new CF(null,new Fz(this,16))},rSn.cd=function(n,t){return this.c.cd(n,t)},rSn.Gc=function(n){return this.c.Gc(n)},rSn.$b=function(){this.c.$b()},rSn.Hc=function(n){return this.c.Hc(n)},rSn.Ic=function(n){return q5(this.c,n)},rSn._j=function(){var n,t;if(null==this.d){for(this.d=eZ(Elt,__n,66,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)Fcn(this,YR(n.Yj(),136));this.e=t}},rSn.Fb=function(n){return Bx(this,n)},rSn.Hb=function(){return c8(this.c)},rSn.dd=function(n){return this.c.dd(n)},rSn.ak=function(){this.c=new Zp(this)},rSn.dc=function(){return 0==this.f},rSn.Kc=function(){return this.c.Kc()},rSn.ed=function(){return this.c.ed()},rSn.fd=function(n){return this.c.fd(n)},rSn.bk=function(){return nZ(this)},rSn.ck=function(n,t,e){return new AR(n,t,e)},rSn.dk=function(){return new ws},rSn.Mc=function(n){return T3(this,n)},rSn.gc=function(){return this.f},rSn.kd=function(n,t){return new Ez(this.c,n,t)},rSn.Pc=function(){return this.c.Pc()},rSn.Qc=function(n){return this.c.Qc(n)},rSn.Ib=function(){return sen(this.c)},rSn.e=0,rSn.f=0,SH(MFn,"BasicEMap",721),Bwn(1046,66,qFn,Zp),rSn.Mi=function(n,t){!function(n,t){Fcn(n.a,t)}(this,YR(t,136))},rSn.Pi=function(n,t,e){++(YR(t,136),this).a.e},rSn.Qi=function(n,t){!function(n,t){rtn(n.a,t)}(this,YR(t,136))},rSn.Ri=function(n,t,e){!function(n,t,e){rtn(n.a,e),Fcn(n.a,t)}(this,YR(t,136),YR(e,136))},rSn.Oi=function(n,t){s5(this.a)},SH(MFn,"BasicEMap/1",1046),Bwn(1047,66,qFn,ws),rSn.aj=function(n){return eZ(Dlt,B_n,621,n,0,1)},SH(MFn,"BasicEMap/2",1047),Bwn(1048,$Sn,DSn,nm),rSn.$b=function(){this.a.c.$b()},rSn.Hc=function(n){return Hen(this.a,n)},rSn.Kc=function(){return 0==this.a.f?(tD(),$lt.a):new qM(this.a)},rSn.Mc=function(n){var t;return t=this.a.f,Fin(this.a,n),this.a.f!=t},rSn.gc=function(){return this.a.f},SH(MFn,"BasicEMap/3",1048),Bwn(1049,31,NSn,tm),rSn.$b=function(){this.a.c.$b()},rSn.Hc=function(n){return Mmn(this.a,n)},rSn.Kc=function(){return 0==this.a.f?(tD(),$lt.a):new XM(this.a)},rSn.gc=function(){return this.a.f},SH(MFn,"BasicEMap/4",1049),Bwn(1050,$Sn,DSn,em),rSn.$b=function(){this.a.c.$b()},rSn.Hc=function(n){var t,e,i,r,c,a,o,u,s;if(this.a.f>0&&hL(n,44)&&(this.a._j(),r=null==(o=(u=YR(n,44)).ld())?0:_4(o),c=ID(this.a,r),t=this.a.d[c]))for(e=YR(t.g,379),s=t.i,a=0;a"+this.c},rSn.a=0;var $lt,Dlt=SH(MFn,"BasicEMap/EntryImpl",621);Bwn(546,1,{},ds),SH(MFn,"BasicEMap/View",546),Bwn(783,1,{}),rSn.Fb=function(n){return Ywn((iq(),HGn),n)},rSn.Hb=function(){return c9((iq(),HGn))},rSn.Ib=function(){return Ihn((iq(),HGn))},SH(MFn,"ECollections/BasicEmptyUnmodifiableEList",783),Bwn(1348,1,FSn,gs),rSn.Nb=function(n){MB(this,n)},rSn.Rb=function(n){throw Nm(new iv)},rSn.Ob=function(){return!1},rSn.Sb=function(){return!1},rSn.Pb=function(){throw Nm(new av)},rSn.Tb=function(){return 0},rSn.Ub=function(){throw Nm(new av)},rSn.Vb=function(){return-1},rSn.Qb=function(){throw Nm(new iv)},rSn.Wb=function(n){throw Nm(new iv)},SH(MFn,"ECollections/BasicEmptyUnmodifiableEList/1",1348),Bwn(1346,783,{20:1,16:1,15:1,61:1},rk),rSn.bd=function(n,t){KT()},rSn.Fc=function(n){return FT()},rSn.cd=function(n,t){return _T()},rSn.Gc=function(n){return BT()},rSn.$b=function(){HT()},rSn.Hc=function(n){return!1},rSn.Ic=function(n){return!1},rSn.Jc=function(n){JQ(this,n)},rSn.Xb=function(n){return dO((iq(),n)),null},rSn.dd=function(n){return-1},rSn.dc=function(){return!0},rSn.Kc=function(){return this.a},rSn.ed=function(){return this.a},rSn.fd=function(n){return this.a},rSn.Ti=function(n,t){return UT()},rSn.Ui=function(n,t){GT()},rSn.Lc=function(){return new CF(null,new Fz(this,16))},rSn.gd=function(n){return qT()},rSn.Mc=function(n){return XT()},rSn.hd=function(n,t){return zT()},rSn.gc=function(){return 0},rSn.jd=function(n){L4(this,n)},rSn.Nc=function(){return new Fz(this,16)},rSn.Oc=function(){return new CF(null,new Fz(this,16))},rSn.kd=function(n,t){return iq(),new Ez(HGn,n,t)},rSn.Pc=function(){return O_((iq(),HGn))},rSn.Qc=function(n){return iq(),yan(HGn,n)},SH(MFn,"ECollections/EmptyUnmodifiableEList",1346),Bwn(1347,783,{20:1,16:1,15:1,61:1,597:1},ck),rSn.bd=function(n,t){KT()},rSn.Fc=function(n){return FT()},rSn.cd=function(n,t){return _T()},rSn.Gc=function(n){return BT()},rSn.$b=function(){HT()},rSn.Hc=function(n){return!1},rSn.Ic=function(n){return!1},rSn.Jc=function(n){JQ(this,n)},rSn.Xb=function(n){return dO((iq(),n)),null},rSn.dd=function(n){return-1},rSn.dc=function(){return!0},rSn.Kc=function(){return this.a},rSn.ed=function(){return this.a},rSn.fd=function(n){return this.a},rSn.Ti=function(n,t){return UT()},rSn.Ui=function(n,t){GT()},rSn.Lc=function(){return new CF(null,new Fz(this,16))},rSn.gd=function(n){return qT()},rSn.Mc=function(n){return XT()},rSn.hd=function(n,t){return zT()},rSn.gc=function(){return 0},rSn.jd=function(n){L4(this,n)},rSn.Nc=function(){return new Fz(this,16)},rSn.Oc=function(){return new CF(null,new Fz(this,16))},rSn.kd=function(n,t){return iq(),new Ez(HGn,n,t)},rSn.Pc=function(){return O_((iq(),HGn))},rSn.Qc=function(n){return iq(),yan(HGn,n)},rSn.bk=function(){return iq(),iq(),UGn},SH(MFn,"ECollections/EmptyUnmodifiableEMap",1347);var xlt,Rlt=tF(MFn,"Enumerator");Bwn(288,1,{288:1},Imn),rSn.Fb=function(n){var t;return this===n||!!hL(n,288)&&(t=YR(n,288),this.f==t.f&&function(n,t){return null==n?null==t:Jin(n,t)}(this.i,t.i)&&LF(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&LF(this.d,t.d)&&LF(this.g,t.g)&&LF(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.ki(e):abn(n,t)},SH(VKn,"BasicEObjectImpl/4",1040),Bwn(2081,1,{114:1}),rSn.Mk=function(n){this.e=0==n?Hbt:eZ(hUn,ySn,1,n,5,1)},rSn.li=function(n){return this.e[n]},rSn.mi=function(n,t){this.e[n]=t},rSn.ni=function(n){this.e[n]=null},rSn.Nk=function(){return this.c},rSn.Ok=function(){throw Nm(new iv)},rSn.Pk=function(){throw Nm(new iv)},rSn.Qk=function(){return this.d},rSn.Rk=function(){return null!=this.e},rSn.Sk=function(n){this.c=n},rSn.Tk=function(n){throw Nm(new iv)},rSn.Uk=function(n){throw Nm(new iv)},rSn.Vk=function(n){this.d=n},SH(VKn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),Bwn(192,2081,{114:1},Ol),rSn.Ok=function(){return this.a},rSn.Pk=function(){return this.b},rSn.Tk=function(n){this.a=n},rSn.Uk=function(n){this.b=n},SH(VKn,"BasicEObjectImpl/EPropertiesHolderImpl",192),Bwn(516,99,zKn,ps),rSn.uh=function(){return this.f},rSn.zh=function(){return this.k},rSn.Bh=function(n,t){this.g=n,this.i=t},rSn.Dh=function(){return 2&this.j?this.$h().Nk():this.ii()},rSn.Fh=function(){return this.i},rSn.wh=function(){return!!(1&this.j)},rSn.Ph=function(){return this.g},rSn.Vh=function(){return!!(4&this.j)},rSn.$h=function(){return!this.k&&(this.k=new Ol),this.k},rSn.ci=function(n){this.$h().Sk(n),n?this.j|=2:this.j&=-3},rSn.ei=function(n){this.$h().Uk(n),n?this.j|=4:this.j&=-5},rSn.ii=function(){return($H(),mbt).S},rSn.i=0,rSn.j=1,SH(VKn,"EObjectImpl",516),Bwn(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},jK),rSn.li=function(n){return this.e[n]},rSn.mi=function(n,t){this.e[n]=t},rSn.ni=function(n){this.e[n]=null},rSn.Dh=function(){return this.d},rSn.Ih=function(n){return Cen(this.d,n)},rSn.Kh=function(){return this.d},rSn.Oh=function(){return null!=this.e},rSn.$h=function(){return!this.k&&(this.k=new ms),this.k},rSn.ci=function(n){this.d=n},rSn.hi=function(){var n;return null==this.e&&(n=xH(this.d),this.e=0==n?Ubt:eZ(hUn,ySn,1,n,5,1)),this},rSn.ji=function(){return 0},SH(VKn,"DynamicEObjectImpl",798),Bwn(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},JK),rSn.Fb=function(n){return this===n},rSn.Hb=function(){return _N(this)},rSn.ci=function(n){this.d=n,this.b=Bgn(n,"key"),this.c=Bgn(n,rFn)},rSn.Bi=function(){var n;return-1==this.a&&(n=U1(this,this.b),this.a=null==n?0:_4(n)),this.a},rSn.ld=function(){return U1(this,this.b)},rSn.md=function(){return U1(this,this.c)},rSn.Ci=function(n){this.a=n},rSn.Di=function(n){OX(this,this.b,n)},rSn.nd=function(n){var t;return t=U1(this,this.c),OX(this,this.c,n),t},rSn.a=0,SH(VKn,"DynamicEObjectImpl/BasicEMapEntry",1522),Bwn(1523,1,{114:1},ms),rSn.Mk=function(n){throw Nm(new iv)},rSn.li=function(n){throw Nm(new iv)},rSn.mi=function(n,t){throw Nm(new iv)},rSn.ni=function(n){throw Nm(new iv)},rSn.Nk=function(){throw Nm(new iv)},rSn.Ok=function(){return this.a},rSn.Pk=function(){return this.b},rSn.Qk=function(){return this.c},rSn.Rk=function(){throw Nm(new iv)},rSn.Sk=function(n){throw Nm(new iv)},rSn.Tk=function(n){this.a=n},rSn.Uk=function(n){this.b=n},rSn.Vk=function(n){this.c=n},SH(VKn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),Bwn(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},vs),rSn.Ah=function(n){return Fon(this,n)},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new O$((YEn(),Kbt),hwt,this)),this.b):(!this.b&&(this.b=new O$((YEn(),Kbt),hwt,this)),nZ(this.b));case 3:return UX(this);case 4:return!this.a&&(this.a=new $L(Qft,this,4)),this.a;case 5:return!this.c&&(this.c=new HL(Qft,this,5)),this.c}return FZ(this,n-xH((YEn(),vbt)),_0(YR(h5(this,16),29)||vbt,n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Fon(this,e):this.Cb.Th(this,-1-i,null,e)),y_(this,YR(n,155),e)}return YR(_0(YR(h5(this,16),29)||(YEn(),vbt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),vbt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 2:return!this.b&&(this.b=new O$((YEn(),Kbt),hwt,this)),Hx(this.b,n,e);case 3:return y_(this,null,e);case 4:return!this.a&&(this.a=new $L(Qft,this,4)),wcn(this.a,n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),vbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),vbt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!UX(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return DW(this,n-xH((YEn(),vbt)),_0(YR(h5(this,16),29)||vbt,n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void function(n,t){a4(n,null==t?null:(jU(t),t))}(this,W$(t));case 2:return!this.b&&(this.b=new O$((YEn(),Kbt),hwt,this)),void R6(this.b,t);case 3:return void Rgn(this,YR(t,155));case 4:return!this.a&&(this.a=new $L(Qft,this,4)),nTn(this.a),!this.a&&(this.a=new $L(Qft,this,4)),void uH(this.a,YR(t,16));case 5:return!this.c&&(this.c=new HL(Qft,this,5)),nTn(this.c),!this.c&&(this.c=new HL(Qft,this,5)),void uH(this.c,YR(t,16))}ten(this,n-xH((YEn(),vbt)),_0(YR(h5(this,16),29)||vbt,n),t)},rSn.ii=function(){return YEn(),vbt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void a4(this,null);case 2:return!this.b&&(this.b=new O$((YEn(),Kbt),hwt,this)),void this.b.c.$b();case 3:return void Rgn(this,null);case 4:return!this.a&&(this.a=new $L(Qft,this,4)),void nTn(this.a);case 5:return!this.c&&(this.c=new HL(Qft,this,5)),void nTn(this.c)}Pnn(this,n-xH((YEn(),vbt)),_0(YR(h5(this,16),29)||vbt,n))},rSn.Ib=function(){return Inn(this)},rSn.d=null,SH(VKn,"EAnnotationImpl",519),Bwn(141,721,iBn,jZ),rSn.Gi=function(n,t){!function(n,t,e){YR(n.c,71).Gi(t,e)}(this,n,YR(t,44))},rSn.Wk=function(n,t){return function(n,t,e){return YR(n.c,71).Wk(t,e)}(this,YR(n,44),t)},rSn.$i=function(n){return YR(YR(this.c,71).$i(n),136)},rSn.Ii=function(){return YR(this.c,71).Ii()},rSn.Ji=function(){return YR(this.c,71).Ji()},rSn.Ki=function(n){return YR(this.c,71).Ki(n)},rSn.Xk=function(n,t){return Hx(this,n,t)},rSn.Fk=function(n){return YR(this.c,79).Fk(n)},rSn.ak=function(){},rSn.Qj=function(){return YR(this.c,79).Qj()},rSn.ck=function(n,t,e){var i;return(i=YR(f2(this.b).wi().si(this.b),136)).Ci(n),i.Di(t),i.nd(e),i},rSn.dk=function(){return new mm(this)},rSn.Wb=function(n){R6(this,n)},rSn.Gk=function(){YR(this.c,79).Gk()},SH(tBn,"EcoreEMap",141),Bwn(165,141,iBn,O$),rSn._j=function(){var n,t,e,i,r;if(null==this.d){for(r=eZ(Elt,__n,66,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=YR(e.Yj(),136)).Bi()&dSn)%r.length])&&(n=r[i]=new mm(this)),n.Fc(t);this.d=r}},SH(VKn,"EAnnotationImpl/1",165),Bwn(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return GN(),!!(256&this.Bb);case 3:return GN(),!!(512&this.Bb);case 4:return onn(this.s);case 5:return onn(this.t);case 6:return GN(),!!this.Jk();case 7:return GN(),this.s>=1;case 8:return t?Von(this):this.r;case 9:return this.q}return FZ(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 9:return sH(this,e)}return YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().Ak(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==JH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==JH(this.q).i)}return DW(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void this.ui(W$(t));case 2:return void Ann(this,my(z$(t)));case 3:return void $nn(this,my(z$(t)));case 4:return void z2(this,YR(t,17).a);case 5:return void this.Zk(YR(t,17).a);case 8:return void y7(this,YR(t,142));case 9:return void((e=Jsn(this,YR(t,89),null))&&e.oj())}ten(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t)},rSn.ii=function(){return YEn(),_bt},rSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void this.ui(null);case 2:return void Ann(this,!0);case 3:return void $nn(this,!0);case 4:return void z2(this,0);case 5:return void this.Zk(1);case 8:return void y7(this,null);case 9:return void((t=Jsn(this,null,null))&&t.oj())}Pnn(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.pi=function(){Von(this),this.Bb|=1},rSn.Hk=function(){return Von(this)},rSn.Ik=function(){return this.t},rSn.Jk=function(){var n;return(n=this.t)>1||-1==n},rSn.Si=function(){return!!(512&this.Bb)},rSn.Yk=function(n,t){return knn(this,n,t)},rSn.Zk=function(n){V2(this,n)},rSn.Ib=function(){return pwn(this)},rSn.s=0,rSn.t=1,SH(VKn,"ETypedElementImpl",292),Bwn(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),rSn.Ah=function(n){return won(this,n)},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return GN(),!!(256&this.Bb);case 3:return GN(),!!(512&this.Bb);case 4:return onn(this.s);case 5:return onn(this.t);case 6:return GN(),!!this.Jk();case 7:return GN(),this.s>=1;case 8:return t?Von(this):this.r;case 9:return this.q;case 10:return GN(),!!(this.Bb&hPn);case 11:return GN(),!!(this.Bb&aBn);case 12:return GN(),!!(this.Bb&kCn);case 13:return this.j;case 14:return dgn(this);case 15:return GN(),!!(this.Bb&cBn);case 16:return GN(),!!(this.Bb&GSn);case 17:return HX(this)}return FZ(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?won(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,17,e)}return YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().zk(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 9:return sH(this,e);case 17:return bkn(this,null,17,e)}return YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().Ak(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==JH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==JH(this.q).i);case 10:return!(this.Bb&hPn);case 11:return!!(this.Bb&aBn);case 12:return!!(this.Bb&kCn);case 13:return null!=this.j;case 14:return null!=dgn(this);case 15:return!!(this.Bb&cBn);case 16:return!!(this.Bb&GSn);case 17:return!!HX(this)}return DW(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void gz(this,W$(t));case 2:return void Ann(this,my(z$(t)));case 3:return void $nn(this,my(z$(t)));case 4:return void z2(this,YR(t,17).a);case 5:return void this.Zk(YR(t,17).a);case 8:return void y7(this,YR(t,142));case 9:return void((e=Jsn(this,YR(t,89),null))&&e.oj());case 10:return void ctn(this,my(z$(t)));case 11:return void utn(this,my(z$(t)));case 12:return void atn(this,my(z$(t)));case 13:return void II(this,W$(t));case 15:return void otn(this,my(z$(t)));case 16:return void Itn(this,my(z$(t)))}ten(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t)},rSn.ii=function(){return YEn(),Fbt},rSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return hL(this.Cb,90)&&qln(lJ(YR(this.Cb,90)),4),void U4(this,null);case 2:return void Ann(this,!0);case 3:return void $nn(this,!0);case 4:return void z2(this,0);case 5:return void this.Zk(1);case 8:return void y7(this,null);case 9:return void((t=Jsn(this,null,null))&&t.oj());case 10:return void ctn(this,!0);case 11:return void utn(this,!1);case 12:return void atn(this,!1);case 13:return this.i=null,void w4(this,null);case 15:return void otn(this,!1);case 16:return void Itn(this,!1)}Pnn(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.pi=function(){YU(A1((tln(),gwt),this)),Von(this),this.Bb|=1},rSn.pk=function(){return this.f},rSn.ik=function(){return dgn(this)},rSn.qk=function(){return HX(this)},rSn.uk=function(){return null},rSn.$k=function(){return this.k},rSn.Lj=function(){return this.n},rSn.vk=function(){return Vun(this)},rSn.wk=function(){var n,t,e,i,r,c,a,o,u;return this.p||((null==(e=HX(this)).i&&gyn(e),e.i).length,(i=this.uk())&&xH(HX(i)),n=(a=(r=Von(this)).kk())?1&a.i?a==Jdt?nGn:a==Qdt?hGn:a==tgt?oGn:a==ngt?aGn:a==Ydt?gGn:a==egt?mGn:a==Zdt?iGn:cGn:a:null,t=dgn(this),o=r.ik(),Htn(this),this.Bb&GSn&&((c=yun((tln(),gwt),e))&&c!=this||(c=Zz(A1(gwt,this))))?this.p=new DI(this,c):this.Jk()?this.al()?i?this.Bb&cBn?n?this.bl()?this.p=new LG(47,n,this,i):this.p=new LG(5,n,this,i):this.bl()?this.p=new dQ(46,this,i):this.p=new dQ(4,this,i):n?this.bl()?this.p=new LG(49,n,this,i):this.p=new LG(7,n,this,i):this.bl()?this.p=new dQ(48,this,i):this.p=new dQ(6,this,i):this.Bb&cBn?n?n==yUn?this.p=new LR(50,llt,this):this.bl()?this.p=new LR(43,n,this):this.p=new LR(1,n,this):this.bl()?this.p=new Lq(42,this):this.p=new Lq(0,this):n?n==yUn?this.p=new LR(41,llt,this):this.bl()?this.p=new LR(45,n,this):this.p=new LR(3,n,this):this.bl()?this.p=new Lq(44,this):this.p=new Lq(2,this):hL(r,156)?n==Wbt?this.p=new Lq(40,this):512&this.Bb?this.Bb&cBn?this.p=n?new LR(9,n,this):new Lq(8,this):this.p=n?new LR(11,n,this):new Lq(10,this):this.Bb&cBn?this.p=n?new LR(13,n,this):new Lq(12,this):this.p=n?new LR(15,n,this):new Lq(14,this):i?(u=i.t)>1||-1==u?this.bl()?this.Bb&cBn?this.p=n?new LG(25,n,this,i):new dQ(24,this,i):this.p=n?new LG(27,n,this,i):new dQ(26,this,i):this.Bb&cBn?this.p=n?new LG(29,n,this,i):new dQ(28,this,i):this.p=n?new LG(31,n,this,i):new dQ(30,this,i):this.bl()?this.Bb&cBn?this.p=n?new LG(33,n,this,i):new dQ(32,this,i):this.p=n?new LG(35,n,this,i):new dQ(34,this,i):this.Bb&cBn?this.p=n?new LG(37,n,this,i):new dQ(36,this,i):this.p=n?new LG(39,n,this,i):new dQ(38,this,i):this.bl()?this.Bb&cBn?this.p=n?new LR(17,n,this):new Lq(16,this):this.p=n?new LR(19,n,this):new Lq(18,this):this.Bb&cBn?this.p=n?new LR(21,n,this):new Lq(20,this):this.p=n?new LR(23,n,this):new Lq(22,this):this._k()?this.bl()?this.p=new NR(YR(r,29),this,i):this.p=new eX(YR(r,29),this,i):hL(r,156)?n==Wbt?this.p=new Lq(40,this):this.Bb&cBn?this.p=n?new m_(t,o,this,(Ven(),a==Qdt?awt:a==Jdt?twt:a==Ydt?owt:a==tgt?cwt:a==ngt?rwt:a==egt?swt:a==Zdt?ewt:a==Wdt?iwt:uwt)):new DG(YR(r,156),t,o,this):this.p=n?new p_(t,o,this,(Ven(),a==Qdt?awt:a==Jdt?twt:a==Ydt?owt:a==tgt?cwt:a==ngt?rwt:a==egt?swt:a==Zdt?ewt:a==Wdt?iwt:uwt)):new $G(YR(r,156),t,o,this):this.al()?i?this.Bb&cBn?this.bl()?this.p=new FR(YR(r,29),this,i):this.p=new KR(YR(r,29),this,i):this.bl()?this.p=new RR(YR(r,29),this,i):this.p=new $R(YR(r,29),this,i):this.Bb&cBn?this.bl()?this.p=new _$(YR(r,29),this):this.p=new K$(YR(r,29),this):this.bl()?this.p=new R$(YR(r,29),this):this.p=new x$(YR(r,29),this):this.bl()?i?this.Bb&cBn?this.p=new _R(YR(r,29),this,i):this.p=new DR(YR(r,29),this,i):this.Bb&cBn?this.p=new B$(YR(r,29),this):this.p=new F$(YR(r,29),this):i?this.Bb&cBn?this.p=new BR(YR(r,29),this,i):this.p=new xR(YR(r,29),this,i):this.Bb&cBn?this.p=new H$(YR(r,29),this):this.p=new BF(YR(r,29),this)),this.p},rSn.rk=function(){return!!(this.Bb&hPn)},rSn._k=function(){return!1},rSn.al=function(){return!1},rSn.sk=function(){return!!(this.Bb&GSn)},rSn.xk=function(){return Y1(this)},rSn.bl=function(){return!1},rSn.tk=function(){return!!(this.Bb&cBn)},rSn.cl=function(n){this.k=n},rSn.ui=function(n){gz(this,n)},rSn.Ib=function(){return Xmn(this)},rSn.e=!1,rSn.n=0,SH(VKn,"EStructuralFeatureImpl",462),Bwn(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},sk),rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return GN(),!!(256&this.Bb);case 3:return GN(),!!(512&this.Bb);case 4:return onn(this.s);case 5:return onn(this.t);case 6:return GN(),!!Cbn(this);case 7:return GN(),this.s>=1;case 8:return t?Von(this):this.r;case 9:return this.q;case 10:return GN(),!!(this.Bb&hPn);case 11:return GN(),!!(this.Bb&aBn);case 12:return GN(),!!(this.Bb&kCn);case 13:return this.j;case 14:return dgn(this);case 15:return GN(),!!(this.Bb&cBn);case 16:return GN(),!!(this.Bb&GSn);case 17:return HX(this);case 18:return GN(),!!(this.Bb&XKn);case 19:return t?G5(this):oY(this)}return FZ(this,n-xH((YEn(),kbt)),_0(YR(h5(this,16),29)||kbt,n),t,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Cbn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==JH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==JH(this.q).i);case 10:return!(this.Bb&hPn);case 11:return!!(this.Bb&aBn);case 12:return!!(this.Bb&kCn);case 13:return null!=this.j;case 14:return null!=dgn(this);case 15:return!!(this.Bb&cBn);case 16:return!!(this.Bb&GSn);case 17:return!!HX(this);case 18:return!!(this.Bb&XKn);case 19:return!!oY(this)}return DW(this,n-xH((YEn(),kbt)),_0(YR(h5(this,16),29)||kbt,n))},rSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void gz(this,W$(t));case 2:return void Ann(this,my(z$(t)));case 3:return void $nn(this,my(z$(t)));case 4:return void z2(this,YR(t,17).a);case 5:return void QM(this,YR(t,17).a);case 8:return void y7(this,YR(t,142));case 9:return void((e=Jsn(this,YR(t,89),null))&&e.oj());case 10:return void ctn(this,my(z$(t)));case 11:return void utn(this,my(z$(t)));case 12:return void atn(this,my(z$(t)));case 13:return void II(this,W$(t));case 15:return void otn(this,my(z$(t)));case 16:return void Itn(this,my(z$(t)));case 18:return void Ptn(this,my(z$(t)))}ten(this,n-xH((YEn(),kbt)),_0(YR(h5(this,16),29)||kbt,n),t)},rSn.ii=function(){return YEn(),kbt},rSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return hL(this.Cb,90)&&qln(lJ(YR(this.Cb,90)),4),void U4(this,null);case 2:return void Ann(this,!0);case 3:return void $nn(this,!0);case 4:return void z2(this,0);case 5:return this.b=0,void V2(this,1);case 8:return void y7(this,null);case 9:return void((t=Jsn(this,null,null))&&t.oj());case 10:return void ctn(this,!0);case 11:return void utn(this,!1);case 12:return void atn(this,!1);case 13:return this.i=null,void w4(this,null);case 15:return void otn(this,!1);case 16:return void Itn(this,!1);case 18:return void Ptn(this,!1)}Pnn(this,n-xH((YEn(),kbt)),_0(YR(h5(this,16),29)||kbt,n))},rSn.pi=function(){G5(this),YU(A1((tln(),gwt),this)),Von(this),this.Bb|=1},rSn.Jk=function(){return Cbn(this)},rSn.Yk=function(n,t){return this.b=0,this.a=null,knn(this,n,t)},rSn.Zk=function(n){QM(this,n)},rSn.Ib=function(){var n;return 64&this.Db?Xmn(this):((n=new kN(Xmn(this))).a+=" (iD: ",bT(n,!!(this.Bb&XKn)),n.a+=")",n.a)},rSn.b=0,SH(VKn,"EAttributeImpl",331),Bwn(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),rSn.dl=function(n){return n.Dh()==this},rSn.Ah=function(n){return Zan(this,n)},rSn.Bh=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return zan(this);case 4:return this.ik();case 5:return this.F;case 6:return t?f2(this):FX(this);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),this.A}return FZ(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Zan(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,6,e)}return YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().zk(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 6:return bkn(this,null,6,e);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),wcn(this.A,n,e)}return YR(_0(YR(h5(this,16),29)||this.ii(),t),69).wk().Ak(this,Xin(this),t-xH(this.ii()),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!zan(this);case 4:return null!=this.ik();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!FX(this);case 7:return!!this.A&&0!=this.A.i}return DW(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void dz(this,W$(t));case 2:return void fA(this,W$(t));case 5:return void ZTn(this,W$(t));case 7:return!this.A&&(this.A=new FL(zbt,this,7)),nTn(this.A),!this.A&&(this.A=new FL(zbt,this,7)),void uH(this.A,YR(t,16))}ten(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n),t)},rSn.ii=function(){return YEn(),Mbt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return hL(this.Cb,184)&&(YR(this.Cb,184).tb=null),void U4(this,null);case 2:return Z9(this,null),void Q2(this,this.D);case 5:return void ZTn(this,null);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),void nTn(this.A)}Pnn(this,n-xH(this.ii()),_0(YR(h5(this,16),29)||this.ii(),n))},rSn.hk=function(){var n;return-1==this.G&&(this.G=(n=f2(this))?vcn(n.vi(),this):-1),this.G},rSn.ik=function(){return null},rSn.jk=function(){return f2(this)},rSn.el=function(){return this.v},rSn.kk=function(){return zan(this)},rSn.lk=function(){return null!=this.D?this.D:this.B},rSn.mk=function(){return this.F},rSn.fk=function(n){return Zkn(this,n)},rSn.fl=function(n){this.v=n},rSn.gl=function(n){Z4(this,n)},rSn.hl=function(n){this.C=n},rSn.ui=function(n){dz(this,n)},rSn.Ib=function(){return Ken(this)},rSn.C=null,rSn.D=null,rSn.G=-1,SH(VKn,"EClassifierImpl",364),Bwn(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},xl),rSn.dl=function(n){return function(n,t){return t==n||Tun(agn(t),n)}(this,n.Dh())},rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return zan(this);case 4:return null;case 5:return this.F;case 6:return t?f2(this):FX(this);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),this.A;case 8:return GN(),!!(256&this.Bb);case 9:return GN(),!!(512&this.Bb);case 10:return Bq(this);case 11:return!this.q&&(this.q=new oB(bbt,this,11,10)),this.q;case 12:return lMn(this);case 13:return iMn(this);case 14:return iMn(this),this.r;case 15:return lMn(this),this.k;case 16:return kln(this);case 17:return Byn(this);case 18:return gyn(this);case 19:return agn(this);case 20:return lMn(this),this.o;case 21:return!this.s&&(this.s=new oB(ibt,this,21,17)),this.s;case 22:return aQ(this);case 23:return pmn(this)}return FZ(this,n-xH((YEn(),ybt)),_0(YR(h5(this,16),29)||ybt,n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Zan(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,6,e);case 11:return!this.q&&(this.q=new oB(bbt,this,11,10)),nin(this.q,n,e);case 21:return!this.s&&(this.s=new oB(ibt,this,21,17)),nin(this.s,n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),ybt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),ybt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 6:return bkn(this,null,6,e);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),wcn(this.A,n,e);case 11:return!this.q&&(this.q=new oB(bbt,this,11,10)),wcn(this.q,n,e);case 21:return!this.s&&(this.s=new oB(ibt,this,21,17)),wcn(this.s,n,e);case 22:return wcn(aQ(this),n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),ybt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),ybt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!zan(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!FX(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!!(256&this.Bb);case 9:return!!(512&this.Bb);case 10:return!(!this.u||0==aQ(this.u.a).i||this.n&&Xcn(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=lMn(this).i;case 13:return 0!=iMn(this).i;case 14:return iMn(this),0!=this.r.i;case 15:return lMn(this),0!=this.k.i;case 16:return 0!=kln(this).i;case 17:return 0!=Byn(this).i;case 18:return 0!=gyn(this).i;case 19:return 0!=agn(this).i;case 20:return lMn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Xcn(this.n);case 23:return 0!=pmn(this).i}return DW(this,n-xH((YEn(),ybt)),_0(YR(h5(this,16),29)||ybt,n))},rSn.Zh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:Bgn(this,n))||Fjn(this,n)},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void dz(this,W$(t));case 2:return void fA(this,W$(t));case 5:return void ZTn(this,W$(t));case 7:return!this.A&&(this.A=new FL(zbt,this,7)),nTn(this.A),!this.A&&(this.A=new FL(zbt,this,7)),void uH(this.A,YR(t,16));case 8:return void Lnn(this,my(z$(t)));case 9:return void Dnn(this,my(z$(t)));case 10:return cTn(Bq(this)),void uH(Bq(this),YR(t,16));case 11:return!this.q&&(this.q=new oB(bbt,this,11,10)),nTn(this.q),!this.q&&(this.q=new oB(bbt,this,11,10)),void uH(this.q,YR(t,16));case 21:return!this.s&&(this.s=new oB(ibt,this,21,17)),nTn(this.s),!this.s&&(this.s=new oB(ibt,this,21,17)),void uH(this.s,YR(t,16));case 22:return nTn(aQ(this)),void uH(aQ(this),YR(t,16))}ten(this,n-xH((YEn(),ybt)),_0(YR(h5(this,16),29)||ybt,n),t)},rSn.ii=function(){return YEn(),ybt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return hL(this.Cb,184)&&(YR(this.Cb,184).tb=null),void U4(this,null);case 2:return Z9(this,null),void Q2(this,this.D);case 5:return void ZTn(this,null);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),void nTn(this.A);case 8:return void Lnn(this,!1);case 9:return void Dnn(this,!1);case 10:return void(this.u&&cTn(this.u));case 11:return!this.q&&(this.q=new oB(bbt,this,11,10)),void nTn(this.q);case 21:return!this.s&&(this.s=new oB(ibt,this,21,17)),void nTn(this.s);case 22:return void(this.n&&nTn(this.n))}Pnn(this,n-xH((YEn(),ybt)),_0(YR(h5(this,16),29)||ybt,n))},rSn.pi=function(){var n,t;if(lMn(this),iMn(this),kln(this),Byn(this),gyn(this),agn(this),pmn(this),$J(function(n){return!n.c&&(n.c=new Ks),n.c}(lJ(this))),this.s)for(n=0,t=this.s.i;n=0;--t)g2(this,t);return Ren(this,n)},rSn.Gk=function(){nTn(this)},rSn.Zi=function(n,t){return n3(this,0,t)},SH(tBn,"EcoreEList",632),Bwn(505,632,mBn,MK),rSn.Li=function(){return!1},rSn.Lj=function(){return this.c},rSn.Mj=function(){return!1},rSn.ol=function(){return!0},rSn.Si=function(){return!0},rSn.Wi=function(n,t){return t},rSn.Yi=function(){return!1},rSn.c=0,SH(tBn,"EObjectEList",505),Bwn(83,505,mBn,$L),rSn.Mj=function(){return!0},rSn.ml=function(){return!1},rSn.al=function(){return!0},SH(tBn,"EObjectContainmentEList",83),Bwn(555,83,mBn,DL),rSn.Ni=function(){this.b=!0},rSn.Qj=function(){return this.b},rSn.Gk=function(){var n;nTn(this),rA(this.e)?(n=this.b,this.b=!1,r5(this.e,new dJ(this.e,2,this.c,n,!1))):this.b=!1},rSn.b=!1,SH(tBn,"EObjectContainmentEList/Unsettable",555),Bwn(1161,555,mBn,d_),rSn.Ti=function(n,t){var e,i;return e=YR(itn(this,n,t),89),rA(this.e)&&bv(this,new SZ(this.a,7,(YEn(),Tbt),onn(t),hL(i=e.c,90)?YR(i,29):Lbt,n)),e},rSn.Uj=function(n,t){return function(n,t,e){var i,r;return i=new x1(n.e,3,10,null,hL(r=t.c,90)?YR(r,29):(YEn(),Lbt),vcn(n,t),!1),e?e.nj(i):e=i,e}(this,YR(n,89),t)},rSn.Vj=function(n,t){return function(n,t,e){var i,r;return i=new x1(n.e,4,10,hL(r=t.c,90)?YR(r,29):(YEn(),Lbt),null,vcn(n,t),!1),e?e.nj(i):e=i,e}(this,YR(n,89),t)},rSn.Wj=function(n,t,e){return function(n,t,e,i){var r,c,a;return r=new x1(n.e,1,10,hL(a=t.c,90)?YR(a,29):(YEn(),Lbt),hL(c=e.c,90)?YR(c,29):(YEn(),Lbt),vcn(n,t),!1),i?i.nj(r):i=r,i}(this,YR(n,89),YR(t,89),e)},rSn.Ij=function(n,t,e,i,r){switch(n){case 3:return az(this,n,t,e,i,this.i>1);case 5:return az(this,n,t,e,i,this.i-YR(e,15).gc()>0);default:return new x1(this.e,n,this.c,t,e,i,!0)}},rSn.Tj=function(){return!0},rSn.Qj=function(){return Xcn(this)},rSn.Gk=function(){nTn(this)},SH(VKn,"EClassImpl/1",1161),Bwn(1175,1174,$_n),rSn.dj=function(n){var t,e,i,r,c,a,o;if(8!=(e=n.gj())){if(0==(i=function(n){switch(n.hj(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(n)))switch(e){case 1:case 9:null!=(o=n.kj())&&(!(t=lJ(YR(o,482))).c&&(t.c=new Ks),n0(t.c,n.jj())),null!=(a=n.ij())&&(1&(r=YR(a,482)).Bb||(!(t=lJ(r)).c&&(t.c=new Ks),wZ(t.c,YR(n.jj(),29))));break;case 3:null!=(a=n.ij())&&(1&(r=YR(a,482)).Bb||(!(t=lJ(r)).c&&(t.c=new Ks),wZ(t.c,YR(n.jj(),29))));break;case 5:if(null!=(a=n.ij()))for(c=YR(a,16).Kc();c.Ob();)1&(r=YR(c.Pb(),482)).Bb||(!(t=lJ(r)).c&&(t.c=new Ks),wZ(t.c,YR(n.jj(),29)));break;case 4:null!=(o=n.kj())&&(1&(r=YR(o,482)).Bb||(!(t=lJ(r)).c&&(t.c=new Ks),n0(t.c,n.jj())));break;case 6:if(null!=(o=n.kj()))for(c=YR(o,16).Kc();c.Ob();)1&(r=YR(c.Pb(),482)).Bb||(!(t=lJ(r)).c&&(t.c=new Ks),n0(t.c,n.jj()))}this.ql(i)}},rSn.ql=function(n){_mn(this,n)},rSn.b=63,SH(VKn,"ESuperAdapter",1175),Bwn(1176,1175,$_n,rm),rSn.ql=function(n){qln(this,n)},SH(VKn,"EClassImpl/10",1176),Bwn(1165,710,mBn),rSn.Ei=function(n,t){return Qsn(this,n,t)},rSn.Fi=function(n){return dan(this,n)},rSn.Gi=function(n,t){Mnn(this,n,t)},rSn.Hi=function(n){NJ(this,n)},rSn.$i=function(n){return DZ(this,n)},rSn.Xi=function(n,t){return Z1(this,n,t)},rSn.Wk=function(n,t){throw Nm(new iv)},rSn.Ii=function(){return new ZN(this)},rSn.Ji=function(){return new n$(this)},rSn.Ki=function(n){return E3(this,n)},rSn.Xk=function(n,t){throw Nm(new iv)},rSn.Fk=function(n){return this},rSn.Qj=function(){return 0!=this.i},rSn.Wb=function(n){throw Nm(new iv)},rSn.Gk=function(){throw Nm(new iv)},SH(tBn,"EcoreEList/UnmodifiableEList",1165),Bwn(328,1165,mBn,PO),rSn.Yi=function(){return!1},SH(tBn,"EcoreEList/UnmodifiableEList/FastCompare",328),Bwn(1168,328,mBn,H8),rSn.dd=function(n){var t,e;if(hL(n,179)&&-1!=(t=YR(n,179).Lj()))for(e=this.i;t4){if(!this.fk(n))return!1;if(this.al()){if(a=(t=(e=YR(n,54)).Eh())==this.b&&(this.ml()?e.yh(e.Fh(),YR(_0(Uq(this.b),this.Lj()).Hk(),29).kk())==Kcn(YR(_0(Uq(this.b),this.Lj()),19)).n:-1-e.Fh()==this.Lj()),this.nl()&&!a&&!t&&e.Jh())for(i=0;i1||-1==e)},rSn.ml=function(){var n;return!!hL(n=_0(Uq(this.b),this.Lj()),102)&&!!Kcn(YR(n,19))},rSn.nl=function(){var n;return!!hL(n=_0(Uq(this.b),this.Lj()),102)&&!!(YR(n,19).Bb&TCn)},rSn.dd=function(n){var t,e,i;if((e=this.zj(n))>=0)return e;if(this.ol())for(t=0,i=this.Ej();t=0;--n)kTn(this,n,this.xj(n));return this.Fj()},rSn.Qc=function(n){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)kTn(this,t,this.xj(t));return this.Gj(n)},rSn.Gk=function(){cTn(this)},rSn.Zi=function(n,t){return xZ(this,0,t)},SH(tBn,"DelegatingEcoreEList",756),Bwn(1171,756,TBn,LD),rSn.qj=function(n,t){!function(n,t,e){Xnn(aQ(n.a),t,pz(e))}(this,n,YR(t,29))},rSn.rj=function(n){!function(n,t){wZ(aQ(n.a),pz(t))}(this,YR(n,29))},rSn.xj=function(n){var t;return hL(t=YR(g2(aQ(this.a),n),89).c,90)?YR(t,29):(YEn(),Lbt)},rSn.Cj=function(n){var t;return hL(t=YR(zpn(aQ(this.a),n),89).c,90)?YR(t,29):(YEn(),Lbt)},rSn.Dj=function(n,t){return function(n,t,e){var i,r,c;return(64&(c=hL(r=(i=YR(g2(aQ(n.a),t),89)).c,90)?YR(r,29):(YEn(),Lbt)).Db?z7(n.b,c):c)==e?qkn(i):l2(i,e),c}(this,n,YR(t,29))},rSn.Li=function(){return!1},rSn.Ij=function(n,t,e,i,r){return null},rSn.sj=function(){return new om(this)},rSn.tj=function(){nTn(aQ(this.a))},rSn.uj=function(n){return Rnn(this,n)},rSn.vj=function(n){var t;for(t=n.Kc();t.Ob();)if(!Rnn(this,t.Pb()))return!1;return!0},rSn.wj=function(n){var t,e,i;if(hL(n,15)&&(i=YR(n,15)).gc()==aQ(this.a).i){for(t=i.Kc(),e=new zL(this);t.Ob();)if(GI(t.Pb())!==GI(Grn(e)))return!1;return!0}return!1},rSn.yj=function(){var n,t,e,i;for(t=1,n=new zL(aQ(this.a));n.e!=n.i.gc();)t=31*t+((e=hL(i=YR(Grn(n),89).c,90)?YR(i,29):(YEn(),Lbt))?_N(e):0);return t},rSn.zj=function(n){var t,e,i,r;for(i=0,e=new zL(aQ(this.a));e.e!=e.i.gc();){if(t=YR(Grn(e),89),GI(n)===GI(hL(r=t.c,90)?YR(r,29):(YEn(),Lbt)))return i;++i}return-1},rSn.Aj=function(){return 0==aQ(this.a).i},rSn.Bj=function(){return null},rSn.Ej=function(){return aQ(this.a).i},rSn.Fj=function(){var n,t,e,i,r,c;for(c=aQ(this.a).i,r=eZ(hUn,ySn,1,c,5,1),e=0,t=new zL(aQ(this.a));t.e!=t.i.gc();)n=YR(Grn(t),89),r[e++]=hL(i=n.c,90)?YR(i,29):(YEn(),Lbt);return r},rSn.Gj=function(n){var t,e,i,r;for(r=aQ(this.a).i,n.lengthr&&_H(n,r,null),e=0,t=new zL(aQ(this.a));t.e!=t.i.gc();)_H(n,e++,hL(i=YR(Grn(t),89).c,90)?YR(i,29):(YEn(),Lbt));return n},rSn.Hj=function(){var n,t,e,i,r;for((r=new Jy).a+="[",n=aQ(this.a),t=0,i=aQ(this.a).i;t>16)>=0?Zan(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,6,e);case 9:return!this.a&&(this.a=new oB(fbt,this,9,5)),nin(this.a,n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Ebt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),Ebt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 6:return bkn(this,null,6,e);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),wcn(this.A,n,e);case 9:return!this.a&&(this.a=new oB(fbt,this,9,5)),wcn(this.a,n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Ebt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Ebt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!zan(this);case 4:return!!i7(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!FX(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return DW(this,n-xH((YEn(),Ebt)),_0(YR(h5(this,16),29)||Ebt,n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void dz(this,W$(t));case 2:return void fA(this,W$(t));case 5:return void ZTn(this,W$(t));case 7:return!this.A&&(this.A=new FL(zbt,this,7)),nTn(this.A),!this.A&&(this.A=new FL(zbt,this,7)),void uH(this.A,YR(t,16));case 8:return void Nnn(this,my(z$(t)));case 9:return!this.a&&(this.a=new oB(fbt,this,9,5)),nTn(this.a),!this.a&&(this.a=new oB(fbt,this,9,5)),void uH(this.a,YR(t,16))}ten(this,n-xH((YEn(),Ebt)),_0(YR(h5(this,16),29)||Ebt,n),t)},rSn.ii=function(){return YEn(),Ebt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return hL(this.Cb,184)&&(YR(this.Cb,184).tb=null),void U4(this,null);case 2:return Z9(this,null),void Q2(this,this.D);case 5:return void ZTn(this,null);case 7:return!this.A&&(this.A=new FL(zbt,this,7)),void nTn(this.A);case 8:return void Nnn(this,!0);case 9:return!this.a&&(this.a=new oB(fbt,this,9,5)),void nTn(this.a)}Pnn(this,n-xH((YEn(),Ebt)),_0(YR(h5(this,16),29)||Ebt,n))},rSn.pi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?YR(this.Cb,685):null}return FZ(this,n-xH((YEn(),Sbt)),_0(YR(h5(this,16),29)||Sbt,n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?Ron(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,5,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Sbt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),Sbt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 5:return bkn(this,null,5,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Sbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Sbt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!YR(this.Cb,685))}return DW(this,n-xH((YEn(),Sbt)),_0(YR(h5(this,16),29)||Sbt,n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void U4(this,W$(t));case 2:return void W2(this,YR(t,17).a);case 3:return void nwn(this,YR(t,2039));case 4:return void J3(this,W$(t))}ten(this,n-xH((YEn(),Sbt)),_0(YR(h5(this,16),29)||Sbt,n),t)},rSn.ii=function(){return YEn(),Sbt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void U4(this,null);case 2:return void W2(this,0);case 3:return void nwn(this,null);case 4:return void J3(this,null)}Pnn(this,n-xH((YEn(),Sbt)),_0(YR(h5(this,16),29)||Sbt,n))},rSn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},rSn.b=null,rSn.c=null,rSn.d=0,SH(VKn,"EEnumLiteralImpl",582);var Qbt,Jbt,Ybt,Zbt=tF(VKn,"EFactoryImpl/InternalEDateTimeFormat");Bwn(499,1,{2114:1},um),SH(VKn,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),Bwn(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},Sm),rSn.Ch=function(n,t,e){var i;return e=bkn(this,n,t,e),this.e&&hL(n,179)&&(i=rgn(this,this.e))!=this.c&&(e=tjn(this,i,e)),e},rSn.Lh=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new $L(lbt,this,1)),this.d;case 2:return t?qkn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?Jcn(this):this.a}return FZ(this,n-xH((YEn(),Cbt)),_0(YR(h5(this,16),29)||Cbt,n),t,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return V7(this,null,e);case 1:return!this.d&&(this.d=new $L(lbt,this,1)),wcn(this.d,n,e);case 3:return W7(this,null,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Cbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Cbt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return DW(this,n-xH((YEn(),Cbt)),_0(YR(h5(this,16),29)||Cbt,n))},rSn.bi=function(n,t){switch(n){case 0:return void esn(this,YR(t,89));case 1:return!this.d&&(this.d=new $L(lbt,this,1)),nTn(this.d),!this.d&&(this.d=new $L(lbt,this,1)),void uH(this.d,YR(t,16));case 3:return void tsn(this,YR(t,89));case 4:return void Lhn(this,YR(t,850));case 5:return void l2(this,YR(t,142))}ten(this,n-xH((YEn(),Cbt)),_0(YR(h5(this,16),29)||Cbt,n),t)},rSn.ii=function(){return YEn(),Cbt},rSn.ki=function(n){switch(n){case 0:return void esn(this,null);case 1:return!this.d&&(this.d=new $L(lbt,this,1)),void nTn(this.d);case 3:return void tsn(this,null);case 4:return void Lhn(this,null);case 5:return void l2(this,null)}Pnn(this,n-xH((YEn(),Cbt)),_0(YR(h5(this,16),29)||Cbt,n))},rSn.Ib=function(){var n;return(n=new yN(Cdn(this))).a+=" (expression: ",DMn(this,n),n.a+=")",n.a},SH(VKn,"EGenericTypeImpl",248),Bwn(2067,2062,jBn),rSn.Gi=function(n,t){jD(this,n,t)},rSn.Wk=function(n,t){return jD(this,this.gc(),n),t},rSn.$i=function(n){return Zrn(this.pj(),n)},rSn.Ii=function(){return this.Ji()},rSn.pj=function(){return new pm(this)},rSn.Ji=function(){return this.Ki(0)},rSn.Ki=function(n){return this.pj().fd(n)},rSn.Xk=function(n,t){return jen(this,n,!0),t},rSn.Ti=function(n,t){var e;return e=Con(this,t),this.fd(n).Rb(e),e},rSn.Ui=function(n,t){jen(this,t,!0),this.fd(n).Rb(t)},SH(tBn,"AbstractSequentialInternalEList",2067),Bwn(496,2067,jBn,XN),rSn.$i=function(n){return Zrn(this.pj(),n)},rSn.Ii=function(){return null==this.b?(zE(),zE(),Ybt):this.sl()},rSn.pj=function(){return new CO(this.a,this.b)},rSn.Ji=function(){return null==this.b?(zE(),zE(),Ybt):this.sl()},rSn.Ki=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw Nm(new Ey(R_n+n+", size=0"));return zE(),zE(),Ybt}for(e=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=Jft||0!=t.Lj())&&(!this.vl()||this.b.Xh(t)))if(c=this.b.Nh(t,this.ul()),this.f=(WE(),YR(t,69).xk()),this.f||t.Jk()){if(this.ul()?(i=YR(c,15),this.k=i):(i=YR(c,71),this.k=this.j=i),hL(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?nln(this,this.p):Rln(this))return r=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?((n=YR(r,76)).Lk(),e=n.md(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},rSn.Pb=function(){return d5(this)},rSn.Tb=function(){return this.a},rSn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw Nm(new av)},rSn.Vb=function(){return this.a-1},rSn.Qb=function(){throw Nm(new iv)},rSn.ul=function(){return!1},rSn.Wb=function(n){throw Nm(new iv)},rSn.vl=function(){return!0},rSn.a=0,rSn.d=0,rSn.f=!1,rSn.g=0,rSn.n=0,rSn.o=0,SH(tBn,"EContentsEList/FeatureIteratorImpl",287),Bwn(711,287,EBn,L$),rSn.ul=function(){return!0},SH(tBn,"EContentsEList/ResolvingFeatureIteratorImpl",711),Bwn(1178,711,EBn,N$),rSn.vl=function(){return!1},SH(VKn,"ENamedElementImpl/1/1",1178),Bwn(1179,287,EBn,$$),rSn.vl=function(){return!1},SH(VKn,"ENamedElementImpl/1/2",1179),Bwn(39,152,x_n,lQ,bQ,uB,EZ,x1,dJ,a3,lV,o3,bV,gJ,wV,h3,dV,pJ,gV,u3,pV,sB,SZ,lq,s3,mV,mJ,vV),rSn.Kj=function(){return bZ(this)},rSn.Rj=function(){var n;return(n=bZ(this))?n.ik():null},rSn.hj=function(n){return-1==this.b&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,n)},rSn.jj=function(){return this.c},rSn.Sj=function(){var n;return!!(n=bZ(this))&&n.tk()},rSn.b=-1,SH(VKn,"ENotificationImpl",39),Bwn(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},lk),rSn.Ah=function(n){return Xon(this,n)},rSn.Lh=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return GN(),!!(256&this.Bb);case 3:return GN(),!!(512&this.Bb);case 4:return onn(this.s);case 5:return onn(this.t);case 6:return GN(),(i=this.t)>1||-1==i;case 7:return GN(),this.s>=1;case 8:return t?Von(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?YR(this.Cb,29):null;case 11:return!this.d&&(this.d=new FL(zbt,this,11)),this.d;case 12:return!this.c&&(this.c=new oB(wbt,this,12,10)),this.c;case 13:return!this.a&&(this.a=new ND(this,this)),this.a;case 14:return I1(this)}return FZ(this,n-xH((YEn(),Nbt)),_0(YR(h5(this,16),29)||Nbt,n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Xon(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,10,e);case 12:return!this.c&&(this.c=new oB(wbt,this,12,10)),nin(this.c,n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Nbt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),Nbt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 9:return sH(this,e);case 10:return bkn(this,null,10,e);case 11:return!this.d&&(this.d=new FL(zbt,this,11)),wcn(this.d,n,e);case 12:return!this.c&&(this.c=new oB(wbt,this,12,10)),wcn(this.c,n,e);case 14:return wcn(I1(this),n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Nbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Nbt)),n,e)},rSn.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==JH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==JH(this.q).i);case 10:return!(this.Db>>16!=10||!YR(this.Cb,29));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==I1(this.a.a).i||this.b&&zcn(this.b));case 14:return!!this.b&&zcn(this.b)}return DW(this,n-xH((YEn(),Nbt)),_0(YR(h5(this,16),29)||Nbt,n))},rSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void U4(this,W$(t));case 2:return void Ann(this,my(z$(t)));case 3:return void $nn(this,my(z$(t)));case 4:return void z2(this,YR(t,17).a);case 5:return void V2(this,YR(t,17).a);case 8:return void y7(this,YR(t,142));case 9:return void((e=Jsn(this,YR(t,89),null))&&e.oj());case 11:return!this.d&&(this.d=new FL(zbt,this,11)),nTn(this.d),!this.d&&(this.d=new FL(zbt,this,11)),void uH(this.d,YR(t,16));case 12:return!this.c&&(this.c=new oB(wbt,this,12,10)),nTn(this.c),!this.c&&(this.c=new oB(wbt,this,12,10)),void uH(this.c,YR(t,16));case 13:return!this.a&&(this.a=new ND(this,this)),cTn(this.a),!this.a&&(this.a=new ND(this,this)),void uH(this.a,YR(t,16));case 14:return nTn(I1(this)),void uH(I1(this),YR(t,16))}ten(this,n-xH((YEn(),Nbt)),_0(YR(h5(this,16),29)||Nbt,n),t)},rSn.ii=function(){return YEn(),Nbt},rSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void U4(this,null);case 2:return void Ann(this,!0);case 3:return void $nn(this,!0);case 4:return void z2(this,0);case 5:return void V2(this,1);case 8:return void y7(this,null);case 9:return void((t=Jsn(this,null,null))&&t.oj());case 11:return!this.d&&(this.d=new FL(zbt,this,11)),void nTn(this.d);case 12:return!this.c&&(this.c=new oB(wbt,this,12,10)),void nTn(this.c);case 13:return void(this.a&&cTn(this.a));case 14:return void(this.b&&nTn(this.b))}Pnn(this,n-xH((YEn(),Nbt)),_0(YR(h5(this,16),29)||Nbt,n))},rSn.pi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&_H(n,i,null),e=0,t=new zL(I1(this.a));t.e!=t.i.gc();)_H(n,e++,YR(Grn(t),89).c||(YEn(),Ibt));return n},rSn.Hj=function(){var n,t,e,i;for((i=new Jy).a+="[",n=I1(this.a),t=0,e=I1(this.a).i;t1);case 5:return az(this,n,t,e,i,this.i-YR(e,15).gc()>0);default:return new x1(this.e,n,this.c,t,e,i,!0)}},rSn.Tj=function(){return!0},rSn.Qj=function(){return zcn(this)},rSn.Gk=function(){nTn(this)},SH(VKn,"EOperationImpl/2",1377),Bwn(507,1,{2037:1,507:1},$I),SH(VKn,"EPackageImpl/1",507),Bwn(14,83,mBn,oB),rSn.il=function(){return this.d},rSn.jl=function(){return this.b},rSn.ml=function(){return!0},rSn.b=0,SH(tBn,"EObjectContainmentWithInverseEList",14),Bwn(365,14,mBn,wx),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectContainmentWithInverseEList/Resolving",365),Bwn(308,365,mBn,dB),rSn.Ni=function(){this.a.tb=null},SH(VKn,"EPackageImpl/2",308),Bwn(1278,1,{},Ps),SH(VKn,"EPackageImpl/3",1278),Bwn(733,45,RCn,bk),rSn._b=function(n){return qI(n)?kq(this,n):!!QF(this.f,n)},SH(VKn,"EPackageRegistryImpl",733),Bwn(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},wk),rSn.Ah=function(n){return zon(this,n)},rSn.Lh=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return GN(),!!(256&this.Bb);case 3:return GN(),!!(512&this.Bb);case 4:return onn(this.s);case 5:return onn(this.t);case 6:return GN(),(i=this.t)>1||-1==i;case 7:return GN(),this.s>=1;case 8:return t?Von(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?YR(this.Cb,62):null}return FZ(this,n-xH((YEn(),xbt)),_0(YR(h5(this,16),29)||xbt,n),t,e)},rSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nin(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?zon(this,e):this.Cb.Th(this,-1-i,null,e)),bkn(this,n,10,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),xbt),t),69).wk().zk(this,Xin(this),t-xH((YEn(),xbt)),n,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 9:return sH(this,e);case 10:return bkn(this,null,10,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),xbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),xbt)),n,e)},rSn.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==JH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==JH(this.q).i);case 10:return!(this.Db>>16!=10||!YR(this.Cb,62))}return DW(this,n-xH((YEn(),xbt)),_0(YR(h5(this,16),29)||xbt,n))},rSn.ii=function(){return YEn(),xbt},SH(VKn,"EParameterImpl",518),Bwn(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},iD),rSn.Lh=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return GN(),!!(256&this.Bb);case 3:return GN(),!!(512&this.Bb);case 4:return onn(this.s);case 5:return onn(this.t);case 6:return GN(),(r=this.t)>1||-1==r;case 7:return GN(),this.s>=1;case 8:return t?Von(this):this.r;case 9:return this.q;case 10:return GN(),!!(this.Bb&hPn);case 11:return GN(),!!(this.Bb&aBn);case 12:return GN(),!!(this.Bb&kCn);case 13:return this.j;case 14:return dgn(this);case 15:return GN(),!!(this.Bb&cBn);case 16:return GN(),!!(this.Bb&GSn);case 17:return HX(this);case 18:return GN(),!!(this.Bb&XKn);case 19:return GN(),!!((i=Kcn(this))&&i.Bb&XKn);case 20:return GN(),!!(this.Bb&TCn);case 21:return t?Kcn(this):this.b;case 22:return t?W8(this):PJ(this);case 23:return!this.a&&(this.a=new HL(rbt,this,23)),this.a}return FZ(this,n-xH((YEn(),Rbt)),_0(YR(h5(this,16),29)||Rbt,n),t,e)},rSn.Wh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==JH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==JH(this.q).i);case 10:return!(this.Bb&hPn);case 11:return!!(this.Bb&aBn);case 12:return!!(this.Bb&kCn);case 13:return null!=this.j;case 14:return null!=dgn(this);case 15:return!!(this.Bb&cBn);case 16:return!!(this.Bb&GSn);case 17:return!!HX(this);case 18:return!!(this.Bb&XKn);case 19:return!!(t=Kcn(this))&&!!(t.Bb&XKn);case 20:return!(this.Bb&TCn);case 21:return!!this.b;case 22:return!!PJ(this);case 23:return!!this.a&&0!=this.a.i}return DW(this,n-xH((YEn(),Rbt)),_0(YR(h5(this,16),29)||Rbt,n))},rSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void gz(this,W$(t));case 2:return void Ann(this,my(z$(t)));case 3:return void $nn(this,my(z$(t)));case 4:return void z2(this,YR(t,17).a);case 5:return void V2(this,YR(t,17).a);case 8:return void y7(this,YR(t,142));case 9:return void((e=Jsn(this,YR(t,89),null))&&e.oj());case 10:return void ctn(this,my(z$(t)));case 11:return void utn(this,my(z$(t)));case 12:return void atn(this,my(z$(t)));case 13:return void II(this,W$(t));case 15:return void otn(this,my(z$(t)));case 16:return void Itn(this,my(z$(t)));case 18:return void function(n,t){Ctn(n,t),hL(n.Cb,90)&&qln(lJ(YR(n.Cb,90)),2)}(this,my(z$(t)));case 20:return void Otn(this,my(z$(t)));case 21:return void d4(this,YR(t,19));case 23:return!this.a&&(this.a=new HL(rbt,this,23)),nTn(this.a),!this.a&&(this.a=new HL(rbt,this,23)),void uH(this.a,YR(t,16))}ten(this,n-xH((YEn(),Rbt)),_0(YR(h5(this,16),29)||Rbt,n),t)},rSn.ii=function(){return YEn(),Rbt},rSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return hL(this.Cb,90)&&qln(lJ(YR(this.Cb,90)),4),void U4(this,null);case 2:return void Ann(this,!0);case 3:return void $nn(this,!0);case 4:return void z2(this,0);case 5:return void V2(this,1);case 8:return void y7(this,null);case 9:return void((t=Jsn(this,null,null))&&t.oj());case 10:return void ctn(this,!0);case 11:return void utn(this,!1);case 12:return void atn(this,!1);case 13:return this.i=null,void w4(this,null);case 15:return void otn(this,!1);case 16:return void Itn(this,!1);case 18:return Ctn(this,!1),void(hL(this.Cb,90)&&qln(lJ(YR(this.Cb,90)),2));case 20:return void Otn(this,!0);case 21:return void d4(this,null);case 23:return!this.a&&(this.a=new HL(rbt,this,23)),void nTn(this.a)}Pnn(this,n-xH((YEn(),Rbt)),_0(YR(h5(this,16),29)||Rbt,n))},rSn.pi=function(){W8(this),YU(A1((tln(),gwt),this)),Von(this),this.Bb|=1},rSn.uk=function(){return Kcn(this)},rSn._k=function(){var n;return!!(n=Kcn(this))&&!!(n.Bb&XKn)},rSn.al=function(){return!!(this.Bb&XKn)},rSn.bl=function(){return!!(this.Bb&TCn)},rSn.Yk=function(n,t){return this.c=null,knn(this,n,t)},rSn.Ib=function(){var n;return 64&this.Db?Xmn(this):((n=new kN(Xmn(this))).a+=" (containment: ",bT(n,!!(this.Bb&XKn)),n.a+=", resolveProxies: ",bT(n,!!(this.Bb&TCn)),n.a+=")",n.a)},SH(VKn,"EReferenceImpl",102),Bwn(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},Cs),rSn.Fb=function(n){return this===n},rSn.ld=function(){return this.b},rSn.md=function(){return this.c},rSn.Hb=function(){return _N(this)},rSn.Di=function(n){!function(n,t){r4(n,null==t?null:(jU(t),t))}(this,W$(n))},rSn.nd=function(n){return function(n,t){var e;return e=n.c,c4(n,t),e}(this,W$(n))},rSn.Lh=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return FZ(this,n-xH((YEn(),Kbt)),_0(YR(h5(this,16),29)||Kbt,n),t,e)},rSn.Wh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return DW(this,n-xH((YEn(),Kbt)),_0(YR(h5(this,16),29)||Kbt,n))},rSn.bi=function(n,t){switch(n){case 0:return void function(n,t){r4(n,null==t?null:(jU(t),t))}(this,W$(t));case 1:return void c4(this,W$(t))}ten(this,n-xH((YEn(),Kbt)),_0(YR(h5(this,16),29)||Kbt,n),t)},rSn.ii=function(){return YEn(),Kbt},rSn.ki=function(n){switch(n){case 0:return void r4(this,null);case 1:return void c4(this,null)}Pnn(this,n-xH((YEn(),Kbt)),_0(YR(h5(this,16),29)||Kbt,n))},rSn.Bi=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:k9(n)),this.a},rSn.Ci=function(n){this.a=n},rSn.Ib=function(){var n;return 64&this.Db?Cdn(this):((n=new kN(Cdn(this))).a+=" (key: ",eO(n,this.b),n.a+=", value: ",eO(n,this.c),n.a+=")",n.a)},rSn.a=-1,rSn.b=null,rSn.c=null;var nwt,twt,ewt,iwt,rwt,cwt,awt,owt,uwt,swt,hwt=SH(VKn,"EStringToStringMapEntryImpl",561),fwt=tF(tBn,"FeatureMap/Entry/Internal");Bwn(576,1,SBn),rSn.xl=function(n){return this.yl(YR(n,54))},rSn.yl=function(n){return this.xl(n)},rSn.Fb=function(n){var t,e;return this===n||!!hL(n,76)&&(t=YR(n,76)).Lk()==this.c&&(null==(e=this.md())?null==t.md():Snn(e,t.md()))},rSn.Lk=function(){return this.c},rSn.Hb=function(){var n;return n=this.md(),_4(this.c)^(null==n?0:_4(n))},rSn.Ib=function(){var n,t;return t=f2((n=this.c).qk()).yi(),n.xe(),(null!=t&&0!=t.length?t+":"+n.xe():n.xe())+"="+this.md()},SH(VKn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),Bwn(791,576,SBn,DD),rSn.yl=function(n){return new DD(this.c,n)},rSn.md=function(){return this.a},rSn.zl=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=Cen(t.Dh(),n.c),r=e.Rh(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},rSn.Al=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=Cen(t.Dh(),n.c),r=e.Th(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},SH(VKn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),Bwn(1350,1,{},DI),rSn.yk=function(n,t,e,i,r){return YR(IZ(n,this.b),220).Yl(this.a).Fk(i)},rSn.zk=function(n,t,e,i,r){return YR(IZ(n,this.b),220).Pl(this.a,i,r)},rSn.Ak=function(n,t,e,i,r){return YR(IZ(n,this.b),220).Ql(this.a,i,r)},rSn.Bk=function(n,t,e){return YR(IZ(n,this.b),220).Yl(this.a).Qj()},rSn.Ck=function(n,t,e,i){YR(IZ(n,this.b),220).Yl(this.a).Wb(i)},rSn.Dk=function(n,t,e){return YR(IZ(n,this.b),220).Yl(this.a)},rSn.Ek=function(n,t,e){YR(IZ(n,this.b),220).Yl(this.a).Gk()},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),Bwn(91,1,{},LR,LG,Lq,dQ),rSn.yk=function(n,t,e,i,r){var c;if(null==(c=t.li(e))&&t.mi(e,c=HEn(this,n)),!r)switch(this.e){case 50:case 41:return YR(c,597).bk();case 40:return YR(c,220).Vl()}return c},rSn.zk=function(n,t,e,i,r){var c;return null==(c=t.li(e))&&t.mi(e,c=HEn(this,n)),YR(c,71).Wk(i,r)},rSn.Ak=function(n,t,e,i,r){var c;return null!=(c=t.li(e))&&(r=YR(c,71).Xk(i,r)),r},rSn.Bk=function(n,t,e){var i;return null!=(i=t.li(e))&&YR(i,79).Qj()},rSn.Ck=function(n,t,e,i){var r;!(r=YR(t.li(e),79))&&t.mi(e,r=HEn(this,n)),r.Wb(i)},rSn.Dk=function(n,t,e){var i;return null==(i=t.li(e))&&t.mi(e,i=HEn(this,n)),hL(i,79)?YR(i,79):new hm(YR(t.li(e),15))},rSn.Ek=function(n,t,e){var i;!(i=YR(t.li(e),79))&&t.mi(e,i=HEn(this,n)),i.Gk()},rSn.b=0,rSn.e=0,SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),Bwn(512,1,{}),rSn.zk=function(n,t,e,i,r){throw Nm(new iv)},rSn.Ak=function(n,t,e,i,r){throw Nm(new iv)},rSn.Dk=function(n,t,e){return new NG(this,n,t,e)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),Bwn(1367,1,eBn,NG),rSn.Fk=function(n){return this.a.yk(this.c,this.d,this.b,n,!0)},rSn.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},rSn.Wb=function(n){this.a.Ck(this.c,this.d,this.b,n)},rSn.Gk=function(){this.a.Ek(this.c,this.d,this.b)},rSn.b=0,SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),Bwn(784,512,{},eX),rSn.yk=function(n,t,e,i,r){return Avn(n,n.Ph(),n.Fh())==this.b?this.bl()&&i?Awn(n):n.Ph():null},rSn.zk=function(n,t,e,i,r){var c,a;return n.Ph()&&(r=(c=n.Fh())>=0?n.Ah(r):n.Ph().Th(n,-1-c,null,r)),a=Cen(n.Dh(),this.e),n.Ch(i,a,r)},rSn.Ak=function(n,t,e,i,r){var c;return c=Cen(n.Dh(),this.e),n.Ch(null,c,r)},rSn.Bk=function(n,t,e){var i;return i=Cen(n.Dh(),this.e),!!n.Ph()&&n.Fh()==i},rSn.Ck=function(n,t,e,i){var r,c,a,o,u;if(null!=i&&!Zkn(this.a,i))throw Nm(new Cy(PBn+(hL(i,58)?nsn(YR(i,58).Dh()):H0(h7(i)))+CBn+this.a+"'"));if(r=n.Ph(),a=Cen(n.Dh(),this.e),GI(i)!==GI(r)||n.Fh()!=a&&null!=i){if(Hon(n,YR(i,58)))throw Nm(new Iy(QKn+n.Ib()));u=null,r&&(u=(c=n.Fh())>=0?n.Ah(u):n.Ph().Th(n,-1-c,null,u)),(o=YR(i,54))&&(u=o.Rh(n,Cen(o.Dh(),this.b),null,u)),(u=n.Ch(o,a,u))&&u.oj()}else n.vh()&&n.wh()&&r5(n,new uB(n,1,a,i,i))},rSn.Ek=function(n,t,e){var i,r,c;n.Ph()?(c=(i=n.Fh())>=0?n.Ah(null):n.Ph().Th(n,-1-i,null,null),r=Cen(n.Dh(),this.e),(c=n.Ch(null,r,c))&&c.oj()):n.vh()&&n.wh()&&r5(n,new sB(n,1,this.e,null,null))},rSn.bl=function(){return!1},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),Bwn(1351,784,{},NR),rSn.bl=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),Bwn(574,512,{}),rSn.yk=function(n,t,e,i,r){var c;return null==(c=t.li(e))?this.b:GI(c)===GI(nwt)?null:c},rSn.Bk=function(n,t,e){var i;return null!=(i=t.li(e))&&(GI(i)===GI(nwt)||!Snn(i,this.b))},rSn.Ck=function(n,t,e,i){var r,c;n.vh()&&n.wh()?(r=null==(c=t.li(e))?this.b:GI(c)===GI(nwt)?null:c,null==i?null!=this.c?(t.mi(e,null),i=this.b):null!=this.b?t.mi(e,nwt):t.mi(e,null):(this.Bl(i),t.mi(e,i)),r5(n,this.d.Cl(n,1,this.e,r,i))):null==i?null!=this.c?t.mi(e,null):null!=this.b?t.mi(e,nwt):t.mi(e,null):(this.Bl(i),t.mi(e,i))},rSn.Ek=function(n,t,e){var i,r;n.vh()&&n.wh()?(i=null==(r=t.li(e))?this.b:GI(r)===GI(nwt)?null:r,t.ni(e),r5(n,this.d.Cl(n,1,this.e,i,this.b))):t.ni(e)},rSn.Bl=function(n){throw Nm(new Zm)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),Bwn(IBn,1,{},Is),rSn.Cl=function(n,t,e,i,r){return new sB(n,t,e,i,r)},rSn.Dl=function(n,t,e,i,r,c){return new lq(n,t,e,i,r,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",IBn),Bwn(1368,IBn,{},Os),rSn.Cl=function(n,t,e,i,r){return new mJ(n,t,e,my(z$(i)),my(z$(r)))},rSn.Dl=function(n,t,e,i,r,c){return new vV(n,t,e,my(z$(i)),my(z$(r)),c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),Bwn(1369,IBn,{},As),rSn.Cl=function(n,t,e,i,r){return new a3(n,t,e,YR(i,222).a,YR(r,222).a)},rSn.Dl=function(n,t,e,i,r,c){return new lV(n,t,e,YR(i,222).a,YR(r,222).a,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),Bwn(1370,IBn,{},Ls),rSn.Cl=function(n,t,e,i,r){return new o3(n,t,e,YR(i,180).a,YR(r,180).a)},rSn.Dl=function(n,t,e,i,r,c){return new bV(n,t,e,YR(i,180).a,YR(r,180).a,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),Bwn(1371,IBn,{},Ns),rSn.Cl=function(n,t,e,i,r){return new gJ(n,t,e,vy(V$(i)),vy(V$(r)))},rSn.Dl=function(n,t,e,i,r,c){return new wV(n,t,e,vy(V$(i)),vy(V$(r)),c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),Bwn(1372,IBn,{},$s),rSn.Cl=function(n,t,e,i,r){return new h3(n,t,e,YR(i,161).a,YR(r,161).a)},rSn.Dl=function(n,t,e,i,r,c){return new dV(n,t,e,YR(i,161).a,YR(r,161).a,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),Bwn(1373,IBn,{},Ds),rSn.Cl=function(n,t,e,i,r){return new pJ(n,t,e,YR(i,17).a,YR(r,17).a)},rSn.Dl=function(n,t,e,i,r,c){return new gV(n,t,e,YR(i,17).a,YR(r,17).a,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),Bwn(1374,IBn,{},xs),rSn.Cl=function(n,t,e,i,r){return new u3(n,t,e,YR(i,168).a,YR(r,168).a)},rSn.Dl=function(n,t,e,i,r,c){return new pV(n,t,e,YR(i,168).a,YR(r,168).a,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),Bwn(1375,IBn,{},Rs),rSn.Cl=function(n,t,e,i,r){return new s3(n,t,e,YR(i,191).a,YR(r,191).a)},rSn.Dl=function(n,t,e,i,r,c){return new mV(n,t,e,YR(i,191).a,YR(r,191).a,c)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),Bwn(1353,574,{},$G),rSn.Bl=function(n){if(!this.a.fk(n))throw Nm(new Cy(PBn+h7(n)+CBn+this.a+"'"))},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),Bwn(1354,574,{},p_),rSn.Bl=function(n){},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),Bwn(785,574,{}),rSn.Bk=function(n,t,e){return null!=t.li(e)},rSn.Ck=function(n,t,e,i){var r,c;n.vh()&&n.wh()?(r=!0,null==(c=t.li(e))?(r=!1,c=this.b):GI(c)===GI(nwt)&&(c=null),null==i?null!=this.c?(t.mi(e,null),i=this.b):t.mi(e,nwt):(this.Bl(i),t.mi(e,i)),r5(n,this.d.Dl(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.mi(e,null):t.mi(e,nwt):(this.Bl(i),t.mi(e,i))},rSn.Ek=function(n,t,e){var i,r;n.vh()&&n.wh()?(i=!0,null==(r=t.li(e))?(i=!1,r=this.b):GI(r)===GI(nwt)&&(r=null),t.ni(e),r5(n,this.d.Dl(n,2,this.e,r,this.b,i))):t.ni(e)},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),Bwn(1355,785,{},DG),rSn.Bl=function(n){if(!this.a.fk(n))throw Nm(new Cy(PBn+h7(n)+CBn+this.a+"'"))},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),Bwn(1356,785,{},m_),rSn.Bl=function(n){},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),Bwn(410,512,{},BF),rSn.yk=function(n,t,e,i,r){var c,a,o,u,s;if(s=t.li(e),this.tk()&&GI(s)===GI(nwt))return null;if(this.bl()&&i&&null!=s){if((o=YR(s,54)).Vh()&&o!=(u=z7(n,o))){if(!Zkn(this.a,u))throw Nm(new Cy(PBn+h7(u)+CBn+this.a+"'"));t.mi(e,s=u),this.al()&&(c=YR(u,54),a=o.Th(n,this.b?Cen(o.Dh(),this.b):-1-Cen(n.Dh(),this.e),null,null),!c.Ph()&&(a=c.Rh(n,this.b?Cen(c.Dh(),this.b):-1-Cen(n.Dh(),this.e),null,a)),a&&a.oj()),n.vh()&&n.wh()&&r5(n,new sB(n,9,this.e,o,u))}return s}return s},rSn.zk=function(n,t,e,i,r){var c,a;return GI(a=t.li(e))===GI(nwt)&&(a=null),t.mi(e,i),this.Mj()?GI(a)!==GI(i)&&null!=a&&(r=(c=YR(a,54)).Th(n,Cen(c.Dh(),this.b),null,r)):this.al()&&null!=a&&(r=YR(a,54).Th(n,-1-Cen(n.Dh(),this.e),null,r)),n.vh()&&n.wh()&&(!r&&(r=new GM(4)),r.nj(new sB(n,1,this.e,a,i))),r},rSn.Ak=function(n,t,e,i,r){var c;return GI(c=t.li(e))===GI(nwt)&&(c=null),t.ni(e),n.vh()&&n.wh()&&(!r&&(r=new GM(4)),this.tk()?r.nj(new sB(n,2,this.e,c,null)):r.nj(new sB(n,1,this.e,c,null))),r},rSn.Bk=function(n,t,e){return null!=t.li(e)},rSn.Ck=function(n,t,e,i){var r,c,a,o,u;if(null!=i&&!Zkn(this.a,i))throw Nm(new Cy(PBn+(hL(i,58)?nsn(YR(i,58).Dh()):H0(h7(i)))+CBn+this.a+"'"));o=null!=(u=t.li(e)),this.tk()&&GI(u)===GI(nwt)&&(u=null),a=null,this.Mj()?GI(u)!==GI(i)&&(null!=u&&(a=(r=YR(u,54)).Th(n,Cen(r.Dh(),this.b),null,a)),null!=i&&(a=(r=YR(i,54)).Rh(n,Cen(r.Dh(),this.b),null,a))):this.al()&&GI(u)!==GI(i)&&(null!=u&&(a=YR(u,54).Th(n,-1-Cen(n.Dh(),this.e),null,a)),null!=i&&(a=YR(i,54).Rh(n,-1-Cen(n.Dh(),this.e),null,a))),null==i&&this.tk()?t.mi(e,nwt):t.mi(e,i),n.vh()&&n.wh()?(c=new lq(n,1,this.e,u,i,this.tk()&&!o),a?(a.nj(c),a.oj()):r5(n,c)):a&&a.oj()},rSn.Ek=function(n,t,e){var i,r,c,a,o;a=null!=(o=t.li(e)),this.tk()&&GI(o)===GI(nwt)&&(o=null),c=null,null!=o&&(this.Mj()?c=(i=YR(o,54)).Th(n,Cen(i.Dh(),this.b),null,c):this.al()&&(c=YR(o,54).Th(n,-1-Cen(n.Dh(),this.e),null,c))),t.ni(e),n.vh()&&n.wh()?(r=new lq(n,this.tk()?2:1,this.e,o,null,a),c?(c.nj(r),c.oj()):r5(n,r)):c&&c.oj()},rSn.Mj=function(){return!1},rSn.al=function(){return!1},rSn.bl=function(){return!1},rSn.tk=function(){return!1},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),Bwn(575,410,{},x$),rSn.al=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),Bwn(1359,575,{},R$),rSn.bl=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),Bwn(787,575,{},K$),rSn.tk=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),Bwn(1361,787,{},_$),rSn.bl=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),Bwn(650,575,{},$R),rSn.Mj=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),Bwn(1360,650,{},RR),rSn.bl=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),Bwn(788,650,{},KR),rSn.tk=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),Bwn(1362,788,{},FR),rSn.bl=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),Bwn(651,410,{},F$),rSn.bl=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),Bwn(1363,651,{},B$),rSn.tk=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),Bwn(789,651,{},DR),rSn.Mj=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),Bwn(1364,789,{},_R),rSn.tk=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),Bwn(1357,410,{},H$),rSn.tk=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),Bwn(786,410,{},xR),rSn.Mj=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),Bwn(1358,786,{},BR),rSn.tk=function(){return!0},SH(VKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),Bwn(790,576,SBn,tU),rSn.yl=function(n){return new tU(this.a,this.c,n)},rSn.md=function(){return this.b},rSn.zl=function(n,t,e){return function(n,t,e,i){return e&&(i=e.Rh(t,Cen(e.Dh(),n.c.uk()),null,i)),i}(this,n,this.b,e)},rSn.Al=function(n,t,e){return function(n,t,e,i){return e&&(i=e.Th(t,Cen(e.Dh(),n.c.uk()),null,i)),i}(this,n,this.b,e)},SH(VKn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),Bwn(1365,1,eBn,hm),rSn.Fk=function(n){return this.a},rSn.Qj=function(){return hL(this.a,97)?YR(this.a,97).Qj():!this.a.dc()},rSn.Wb=function(n){this.a.$b(),this.a.Gc(YR(n,15))},rSn.Gk=function(){hL(this.a,97)?YR(this.a,97).Gk():this.a.$b()},SH(VKn,"EStructuralFeatureImpl/SettingMany",1365),Bwn(1366,576,SBn,mQ),rSn.xl=function(n){return new xD((dTn(),idt),this.b.ri(this.a,n))},rSn.md=function(){return null},rSn.zl=function(n,t,e){return e},rSn.Al=function(n,t,e){return e},SH(VKn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),Bwn(652,576,SBn,xD),rSn.xl=function(n){return new xD(this.c,n)},rSn.md=function(){return this.a},rSn.zl=function(n,t,e){return e},rSn.Al=function(n,t,e){return e},SH(VKn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),Bwn(403,506,qFn,Ks),rSn.aj=function(n){return eZ(abt,ySn,29,n,0,1)},rSn.Yi=function(){return!1},SH(VKn,"ESuperAdapter/1",403),Bwn(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},Fs),rSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new HF(this,lbt,this)),this.a}return FZ(this,n-xH((YEn(),Bbt)),_0(YR(h5(this,16),29)||Bbt,n),t,e)},rSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),wcn(this.Ab,n,e);case 2:return!this.a&&(this.a=new HF(this,lbt,this)),wcn(this.a,n,e)}return YR(_0(YR(h5(this,16),29)||(YEn(),Bbt),t),69).wk().Ak(this,Xin(this),t-xH((YEn(),Bbt)),n,e)},rSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return DW(this,n-xH((YEn(),Bbt)),_0(YR(h5(this,16),29)||Bbt,n))},rSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),nTn(this.Ab),!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void uH(this.Ab,YR(t,16));case 1:return void U4(this,W$(t));case 2:return!this.a&&(this.a=new HF(this,lbt,this)),nTn(this.a),!this.a&&(this.a=new HF(this,lbt,this)),void uH(this.a,YR(t,16))}ten(this,n-xH((YEn(),Bbt)),_0(YR(h5(this,16),29)||Bbt,n),t)},rSn.ii=function(){return YEn(),Bbt},rSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new oB(tbt,this,0,3)),void nTn(this.Ab);case 1:return void U4(this,null);case 2:return!this.a&&(this.a=new HF(this,lbt,this)),void nTn(this.a)}Pnn(this,n-xH((YEn(),Bbt)),_0(YR(h5(this,16),29)||Bbt,n))},SH(VKn,"ETypeParameterImpl",457),Bwn(458,83,mBn,HF),rSn.Nj=function(n,t){return function(n,t,e){var i,r;for(e=acn(t,n.e,-1-n.c,e),r=new wm(new Y6(new ew(EU(n.a).a).a));r.a.b;)e=tjn(i=YR(k4(r.a).ld(),89),rgn(i,n.a),e);return e}(this,YR(n,89),t)},rSn.Oj=function(n,t){return function(n,t,e){var i,r;for(e=Vq(t,n.e,-1-n.c,e),r=new wm(new Y6(new ew(EU(n.a).a).a));r.a.b;)e=tjn(i=YR(k4(r.a).ld(),89),rgn(i,n.a),e);return e}(this,YR(n,89),t)},SH(VKn,"ETypeParameterImpl/1",458),Bwn(647,45,RCn,dk),rSn.ec=function(){return new bm(this)},SH(VKn,"ETypeParameterImpl/2",647),Bwn(570,$Sn,DSn,bm),rSn.Fc=function(n){return hx(this,YR(n,89))},rSn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=YR(e.Pb(),89),null==xU(this.a,t,"")&&(i=!0);return i},rSn.$b=function(){IB(this.a)},rSn.Hc=function(n){return TB(this.a,n)},rSn.Kc=function(){return new wm(new Y6(new ew(this.a).a))},rSn.Mc=function(n){return uY(this,n)},rSn.gc=function(){return _j(this.a)},SH(VKn,"ETypeParameterImpl/2/1",570),Bwn(571,1,OSn,wm),rSn.Nb=function(n){MB(this,n)},rSn.Pb=function(){return YR(k4(this.a).ld(),89)},rSn.Ob=function(){return this.a.b},rSn.Qb=function(){C1(this.a)},SH(VKn,"ETypeParameterImpl/2/1/1",571),Bwn(1329,45,RCn,gk),rSn._b=function(n){return qI(n)?kq(this,n):!!QF(this.f,n)},rSn.xc=function(n){var t;return hL(t=qI(n)?cX(this,n):UI(QF(this.f,n)),851)?(t=YR(t,851).Kk(),xU(this,YR(n,241),t),t):null!=t?t:null==n?(VE(),ywt):null},SH(VKn,"EValidatorRegistryImpl",1329),Bwn(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},_s),rSn.ri=function(n,t){switch(n.hk()){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 null==t?null:Jtn(t);case 25:return d2(t);case 27:case 28:return function(n){return hL(n,180)?""+YR(n,180).a:null==n?null:Jtn(n)}(t);case 29:return null==t?null:cL(Xft[0],YR(t,206));case 41:return null==t?"":hT(YR(t,297));case 42:return Jtn(t);case 50:return W$(t);default:throw Nm(new Iy(JKn+n.xe()+YKn))}},rSn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=f2(n))?vcn(t.vi(),n):-1),n.G){case 0:return new sk;case 1:return new vs;case 2:return new xl;case 4:return new sv;case 5:return new fk;case 6:return new uv;case 7:return new Rl;case 10:return new ps;case 11:return new lk;case 12:return new ZG;case 13:return new wk;case 14:return new iD;case 17:return new Cs;case 18:return new Sm;case 19:return new Fs;default:throw Nm(new Iy(tFn+n.zb+YKn))}},rSn.ti=function(n,t){switch(n.hk()){case 20:return null==t?null:new OT(t);case 21:return null==t?null:new yA(t);case 23:case 22:return null==t?null:function(n){if(Jin(DRn,n))return GN(),JUn;if(Jin(xRn,n))return GN(),QUn;throw Nm(new Iy("Expecting true or false"))}(t);case 26:case 24:return null==t?null:F1(akn(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,o;if(null==n)return null;for(o=n.length,a=eZ(Zdt,nFn,28,r=(o+1)/2|0,15,1),o%2!=0&&(a[--r]=jmn((Kz(o-1,n.length),n.charCodeAt(o-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=akn(n,kPn,dSn)&APn}catch(e){if(!hL(e=z5(e),130))throw Nm(e);t=K1(n)[0]}return v5(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=akn(n,kPn,dSn)&APn}catch(e){if(!hL(e=z5(e),130))throw Nm(e);t=K1(n)[0]}return v5(t)}(t);case 29:return function(n){var t,e;if(null==n)return null;for(t=null,e=0;e>16);case 50:return t;default:throw Nm(new Iy(JKn+n.xe()+YKn))}},SH(VKn,"EcoreFactoryImpl",1349),Bwn(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},LU),rSn.gb=!1,rSn.hb=!1;var lwt,bwt=!1;SH(VKn,"EcorePackageImpl",560),Bwn(1234,1,{851:1},Bs),rSn.Kk=function(){return nN(),Mwt},SH(VKn,"EcorePackageImpl/1",1234),Bwn(1243,1,GBn,Hs),rSn.fk=function(n){return hL(n,155)},rSn.gk=function(n){return eZ(rlt,ySn,155,n,0,1)},SH(VKn,"EcorePackageImpl/10",1243),Bwn(1244,1,GBn,Us),rSn.fk=function(n){return hL(n,197)},rSn.gk=function(n){return eZ(alt,ySn,197,n,0,1)},SH(VKn,"EcorePackageImpl/11",1244),Bwn(1245,1,GBn,Gs),rSn.fk=function(n){return hL(n,58)},rSn.gk=function(n){return eZ(Qft,ySn,58,n,0,1)},SH(VKn,"EcorePackageImpl/12",1245),Bwn(1246,1,GBn,qs),rSn.fk=function(n){return hL(n,411)},rSn.gk=function(n){return eZ(bbt,gBn,62,n,0,1)},SH(VKn,"EcorePackageImpl/13",1246),Bwn(1247,1,GBn,Xs),rSn.fk=function(n){return hL(n,241)},rSn.gk=function(n){return eZ(olt,ySn,241,n,0,1)},SH(VKn,"EcorePackageImpl/14",1247),Bwn(1248,1,GBn,zs),rSn.fk=function(n){return hL(n,518)},rSn.gk=function(n){return eZ(wbt,ySn,2116,n,0,1)},SH(VKn,"EcorePackageImpl/15",1248),Bwn(1249,1,GBn,Vs),rSn.fk=function(n){return hL(n,102)},rSn.gk=function(n){return eZ(dbt,dBn,19,n,0,1)},SH(VKn,"EcorePackageImpl/16",1249),Bwn(1250,1,GBn,Ws),rSn.fk=function(n){return hL(n,179)},rSn.gk=function(n){return eZ(ibt,dBn,179,n,0,1)},SH(VKn,"EcorePackageImpl/17",1250),Bwn(1251,1,GBn,Qs),rSn.fk=function(n){return hL(n,481)},rSn.gk=function(n){return eZ(ebt,ySn,481,n,0,1)},SH(VKn,"EcorePackageImpl/18",1251),Bwn(1252,1,GBn,Js),rSn.fk=function(n){return hL(n,561)},rSn.gk=function(n){return eZ(hwt,B_n,561,n,0,1)},SH(VKn,"EcorePackageImpl/19",1252),Bwn(1235,1,GBn,Ys),rSn.fk=function(n){return hL(n,331)},rSn.gk=function(n){return eZ(rbt,dBn,35,n,0,1)},SH(VKn,"EcorePackageImpl/2",1235),Bwn(1253,1,GBn,Zs),rSn.fk=function(n){return hL(n,248)},rSn.gk=function(n){return eZ(lbt,MBn,89,n,0,1)},SH(VKn,"EcorePackageImpl/20",1253),Bwn(1254,1,GBn,nh),rSn.fk=function(n){return hL(n,457)},rSn.gk=function(n){return eZ(zbt,ySn,850,n,0,1)},SH(VKn,"EcorePackageImpl/21",1254),Bwn(1255,1,GBn,th),rSn.fk=function(n){return XI(n)},rSn.gk=function(n){return eZ(nGn,USn,485,n,8,1)},SH(VKn,"EcorePackageImpl/22",1255),Bwn(1256,1,GBn,eh),rSn.fk=function(n){return hL(n,195)},rSn.gk=function(n){return eZ(Zdt,USn,195,n,0,2)},SH(VKn,"EcorePackageImpl/23",1256),Bwn(1257,1,GBn,ih),rSn.fk=function(n){return hL(n,222)},rSn.gk=function(n){return eZ(iGn,USn,222,n,0,1)},SH(VKn,"EcorePackageImpl/24",1257),Bwn(1258,1,GBn,rh),rSn.fk=function(n){return hL(n,180)},rSn.gk=function(n){return eZ(cGn,USn,180,n,0,1)},SH(VKn,"EcorePackageImpl/25",1258),Bwn(1259,1,GBn,ch),rSn.fk=function(n){return hL(n,206)},rSn.gk=function(n){return eZ(YUn,USn,206,n,0,1)},SH(VKn,"EcorePackageImpl/26",1259),Bwn(1260,1,GBn,ah),rSn.fk=function(n){return!1},rSn.gk=function(n){return eZ(rgt,ySn,2215,n,0,1)},SH(VKn,"EcorePackageImpl/27",1260),Bwn(1261,1,GBn,oh),rSn.fk=function(n){return zI(n)},rSn.gk=function(n){return eZ(aGn,USn,345,n,7,1)},SH(VKn,"EcorePackageImpl/28",1261),Bwn(1262,1,GBn,uh),rSn.fk=function(n){return hL(n,61)},rSn.gk=function(n){return eZ(jlt,KOn,61,n,0,1)},SH(VKn,"EcorePackageImpl/29",1262),Bwn(1236,1,GBn,sh),rSn.fk=function(n){return hL(n,519)},rSn.gk=function(n){return eZ(tbt,{3:1,4:1,5:1,2033:1},598,n,0,1)},SH(VKn,"EcorePackageImpl/3",1236),Bwn(1263,1,GBn,hh),rSn.fk=function(n){return hL(n,582)},rSn.gk=function(n){return eZ(Rlt,ySn,2039,n,0,1)},SH(VKn,"EcorePackageImpl/30",1263),Bwn(1264,1,GBn,fh),rSn.fk=function(n){return hL(n,160)},rSn.gk=function(n){return eZ(Ewt,KOn,160,n,0,1)},SH(VKn,"EcorePackageImpl/31",1264),Bwn(1265,1,GBn,lh),rSn.fk=function(n){return hL(n,76)},rSn.gk=function(n){return eZ(Wbt,qBn,76,n,0,1)},SH(VKn,"EcorePackageImpl/32",1265),Bwn(1266,1,GBn,bh),rSn.fk=function(n){return hL(n,161)},rSn.gk=function(n){return eZ(oGn,USn,161,n,0,1)},SH(VKn,"EcorePackageImpl/33",1266),Bwn(1267,1,GBn,wh),rSn.fk=function(n){return hL(n,17)},rSn.gk=function(n){return eZ(hGn,USn,17,n,0,1)},SH(VKn,"EcorePackageImpl/34",1267),Bwn(1268,1,GBn,dh),rSn.fk=function(n){return hL(n,297)},rSn.gk=function(n){return eZ(fUn,ySn,297,n,0,1)},SH(VKn,"EcorePackageImpl/35",1268),Bwn(1269,1,GBn,gh),rSn.fk=function(n){return hL(n,168)},rSn.gk=function(n){return eZ(gGn,USn,168,n,0,1)},SH(VKn,"EcorePackageImpl/36",1269),Bwn(1270,1,GBn,ph),rSn.fk=function(n){return hL(n,85)},rSn.gk=function(n){return eZ(bUn,ySn,85,n,0,1)},SH(VKn,"EcorePackageImpl/37",1270),Bwn(1271,1,GBn,mh),rSn.fk=function(n){return hL(n,599)},rSn.gk=function(n){return eZ(kwt,ySn,599,n,0,1)},SH(VKn,"EcorePackageImpl/38",1271),Bwn(1272,1,GBn,vh),rSn.fk=function(n){return!1},rSn.gk=function(n){return eZ(cgt,ySn,2216,n,0,1)},SH(VKn,"EcorePackageImpl/39",1272),Bwn(1237,1,GBn,kh),rSn.fk=function(n){return hL(n,90)},rSn.gk=function(n){return eZ(abt,ySn,29,n,0,1)},SH(VKn,"EcorePackageImpl/4",1237),Bwn(1273,1,GBn,yh),rSn.fk=function(n){return hL(n,191)},rSn.gk=function(n){return eZ(mGn,USn,191,n,0,1)},SH(VKn,"EcorePackageImpl/40",1273),Bwn(1274,1,GBn,Mh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(VKn,"EcorePackageImpl/41",1274),Bwn(1275,1,GBn,Th),rSn.fk=function(n){return hL(n,596)},rSn.gk=function(n){return eZ(Slt,ySn,596,n,0,1)},SH(VKn,"EcorePackageImpl/42",1275),Bwn(1276,1,GBn,jh),rSn.fk=function(n){return!1},rSn.gk=function(n){return eZ(agt,USn,2217,n,0,1)},SH(VKn,"EcorePackageImpl/43",1276),Bwn(1277,1,GBn,Eh),rSn.fk=function(n){return hL(n,44)},rSn.gk=function(n){return eZ(yUn,tPn,44,n,0,1)},SH(VKn,"EcorePackageImpl/44",1277),Bwn(1238,1,GBn,Sh),rSn.fk=function(n){return hL(n,142)},rSn.gk=function(n){return eZ(cbt,ySn,142,n,0,1)},SH(VKn,"EcorePackageImpl/5",1238),Bwn(1239,1,GBn,Ph),rSn.fk=function(n){return hL(n,156)},rSn.gk=function(n){return eZ(obt,ySn,156,n,0,1)},SH(VKn,"EcorePackageImpl/6",1239),Bwn(1240,1,GBn,Ch),rSn.fk=function(n){return hL(n,469)},rSn.gk=function(n){return eZ(hbt,ySn,685,n,0,1)},SH(VKn,"EcorePackageImpl/7",1240),Bwn(1241,1,GBn,Ih),rSn.fk=function(n){return hL(n,582)},rSn.gk=function(n){return eZ(fbt,ySn,694,n,0,1)},SH(VKn,"EcorePackageImpl/8",1241),Bwn(1242,1,GBn,Oh),rSn.fk=function(n){return hL(n,480)},rSn.gk=function(n){return eZ(clt,ySn,480,n,0,1)},SH(VKn,"EcorePackageImpl/9",1242),Bwn(1038,2080,F_n,hy),rSn.Mi=function(n,t){!function(n,t){var e,i,r;if(t.ej(n.a),null!=(r=YR(h5(n.a,8),2035)))for(e=0,i=r.length;e0){if(Kz(0,n.length),47==n.charCodeAt(0)){for(c=new gY(4),r=1,t=1;t0&&(oZ(0,e,n.length),n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,o;for(c=null,r=new fB((!n.a&&(n.a=new dm(n)),n.a));Ybn(r);)if(lMn(a=(e=YR(Xdn(r),58)).Dh()),null!=(i=(o=a.o)&&e.Xh(o)?Sx(G5(o),e.Mh(o)):null)&&Ix(i,t)){c=e;break}return c}(this,n)},rSn.Gl=function(){return this.c},rSn.Ib=function(){return hT(this.Rm)+"@"+(_4(this)>>>0).toString(16)+" uri='"+this.d+"'"},rSn.b=!1,SH(VBn,"ResourceImpl",799),Bwn(1525,799,zBn,gm),SH(VBn,"BinaryResourceImpl",1525),Bwn(1190,708,XFn),rSn.bj=function(n){return hL(n,58)?function(n,t){return n.a?t.Gh().Kc():YR(t.Gh(),71).Ii()}(this,YR(n,58)):hL(n,599)?new zL(YR(n,599).El()):GI(n)===GI(this.f)?YR(n,16).Kc():(tD(),$lt.a)},rSn.Ob=function(){return Ybn(this)},rSn.a=!1,SH(tBn,"EcoreUtil/ContentTreeIterator",1190),Bwn(1526,1190,XFn,fB),rSn.bj=function(n){return GI(n)===GI(this.f)?YR(n,15).Kc():new jW(YR(n,58))},SH(VBn,"ResourceImpl/5",1526),Bwn(658,2092,pBn,dm),rSn.Hc=function(n){return this.i<=4?Tun(this,n):hL(n,54)&&YR(n,54).Jh()==this.a},rSn.Mi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},rSn.Oi=function(n,t){0==n?this.a.b||(this.a.b=!0):iZ(this,n,t)},rSn.Qi=function(n,t){},rSn.Ri=function(n,t,e){},rSn.Lj=function(){return 2},rSn.jj=function(){return this.a},rSn.Mj=function(){return!0},rSn.Nj=function(n,t){return YR(n,54).fi(this.a,t)},rSn.Oj=function(n,t){return YR(n,54).fi(null,t)},rSn.Pj=function(){return!1},rSn.Si=function(){return!0},rSn.aj=function(n){return eZ(Qft,ySn,58,n,0,1)},rSn.Yi=function(){return!1},SH(VBn,"ResourceImpl/ContentsEList",658),Bwn(970,2062,wPn,pm),rSn.fd=function(n){return this.a.Ki(n)},rSn.gc=function(){return this.a.gc()},SH(tBn,"AbstractSequentialInternalEList/1",970),Bwn(634,1,{},EK),SH(tBn,"BasicExtendedMetaData",634),Bwn(1181,1,{},RI),rSn.Jl=function(){return null},rSn.Kl=function(){return-2==this.a&&(n=this,t=function(n,t){var e,i,r;if((e=t.qi(n.a))&&null!=(r=Zen((!e.b&&(e.b=new O$((YEn(),Kbt),hwt,e)),e.b),yBn)))for(i=1;i<(tln(),wwt).length;++i)if(Ix(wwt[i],r))return i;return 0}(this.d,this.b),n.a=t),this.a;var n,t},rSn.Ll=function(){return null},rSn.Ml=function(){return iq(),iq(),HGn},rSn.xe=function(){return this.c==sHn&&(n=this,t=frn(this.d,this.b),n.c=t),this.c;var n,t},rSn.Nl=function(){return 0},rSn.a=-2,rSn.c=sHn,SH(tBn,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),Bwn(1182,1,{},yV),rSn.Jl=function(){return this.a==(bY(),mwt)&&function(n,t){n.a=t}(this,(n=this.f,t=this.b,(i=t.qi(n.a))&&(!i.b&&(i.b=new O$((YEn(),Kbt),hwt,i)),null!=(e=W$(Zen(i.b,NBn)))&&hL(c=-1==(r=e.lastIndexOf("#"))?U$(n,t.jk(),e):0==r?CZ(n,null,(Kz(1,e.length+1),e.substr(1))):CZ(n,(oZ(0,r,e.length),e.substr(0,r)),(Kz(r+1,e.length+1),e.substr(r+1))),156))?YR(c,156):null)),this.a;var n,t,e,i,r,c},rSn.Kl=function(){return 0},rSn.Ll=function(){return this.c==(bY(),mwt)&&function(n,t){n.c=t}(this,(n=this.f,t=this.b,(e=t.qi(n.a))&&(!e.b&&(e.b=new O$((YEn(),Kbt),hwt,e)),null!=(r=W$(Zen(e.b,eHn)))&&hL(c=-1==(i=r.lastIndexOf("#"))?U$(n,t.jk(),r):0==i?CZ(n,null,(Kz(1,r.length+1),r.substr(1))):CZ(n,(oZ(0,i,r.length),r.substr(0,i)),(Kz(i+1,r.length+1),r.substr(i+1))),156))?YR(c,156):null)),this.c;var n,t,e,i,r,c},rSn.Ml=function(){return!this.d&&(n=this,t=function(n,t){var e,i,r,c,a,o,u,s,h;if((e=t.qi(n.a))&&null!=(u=W$(Zen((!e.b&&(e.b=new O$((YEn(),Kbt),hwt,e)),e.b),"memberTypes")))){for(s=new Tm,a=0,o=(c=hyn(u,"\\w")).length;ae?t:e;s<=f;++s)s==e?o=i++:(c=r[s],h=w.am(c.Lk()),s==t&&(u=s!=f||h?i:i-1),h&&++i);return l=YR(itn(n,t,e),76),o!=u&&bv(n,new SZ(n.e,7,a,onn(o),b.md(),u)),l}return YR(itn(n,t,e),76)}(this,n,t)},rSn.Wi=function(n,t){return function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g;if(hL(a=e.Lk(),102)&&YR(a,19).Bb&TCn&&(l=YR(e.md(),54),(d=z7(n.e,l))!=l)){if(NL(n,t,Asn(n,0,h=ZW(a,d))),f=null,rA(n.e)&&(i=bTn((tln(),gwt),n.e.Dh(),a))!=_0(n.e.Dh(),n.c)){for(g=rpn(n.e.Dh(),a),o=0,c=YR(n.g,124),u=0;u=0;)if(t=n[this.c],this.k.am(t.Lk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},SH(tBn,"BasicFeatureMap/FeatureEIterator",420),Bwn(676,420,FSn,IO),rSn.ul=function(){return!0},SH(tBn,"BasicFeatureMap/ResolvingFeatureEIterator",676),Bwn(968,496,jBn,dL),rSn.pj=function(){return this},SH(tBn,"EContentsEList/1",968),Bwn(969,496,jBn,CO),rSn.ul=function(){return!1},SH(tBn,"EContentsEList/2",969),Bwn(967,287,EBn,gL),rSn.wl=function(n){},rSn.Ob=function(){return!1},rSn.Sb=function(){return!1},SH(tBn,"EContentsEList/FeatureIteratorImpl/1",967),Bwn(840,593,mBn,xL),rSn.Ni=function(){this.a=!0},rSn.Qj=function(){return this.a},rSn.Gk=function(){var n;nTn(this),rA(this.e)?(n=this.a,this.a=!1,r5(this.e,new dJ(this.e,2,this.c,n,!1))):this.a=!1},rSn.a=!1,SH(tBn,"EDataTypeEList/Unsettable",840),Bwn(1958,593,mBn,RL),rSn.Si=function(){return!0},SH(tBn,"EDataTypeUniqueEList",1958),Bwn(1959,840,mBn,KL),rSn.Si=function(){return!0},SH(tBn,"EDataTypeUniqueEList/Unsettable",1959),Bwn(147,83,mBn,FL),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectContainmentEList/Resolving",147),Bwn(1184,555,mBn,_L),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectContainmentEList/Unsettable/Resolving",1184),Bwn(766,14,mBn,dx),rSn.Ni=function(){this.a=!0},rSn.Qj=function(){return this.a},rSn.Gk=function(){var n;nTn(this),rA(this.e)?(n=this.a,this.a=!1,r5(this.e,new dJ(this.e,2,this.c,n,!1))):this.a=!1},rSn.a=!1,SH(tBn,"EObjectContainmentWithInverseEList/Unsettable",766),Bwn(1222,766,mBn,gx),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),Bwn(757,505,mBn,BL),rSn.Ni=function(){this.a=!0},rSn.Qj=function(){return this.a},rSn.Gk=function(){var n;nTn(this),rA(this.e)?(n=this.a,this.a=!1,r5(this.e,new dJ(this.e,2,this.c,n,!1))):this.a=!1},rSn.a=!1,SH(tBn,"EObjectEList/Unsettable",757),Bwn(338,505,mBn,HL),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectResolvingEList",338),Bwn(1844,757,mBn,UL),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectResolvingEList/Unsettable",1844),Bwn(1527,1,{},Ah),SH(tBn,"EObjectValidator",1527),Bwn(559,505,mBn,hB),rSn.il=function(){return this.d},rSn.jl=function(){return this.b},rSn.Mj=function(){return!0},rSn.ml=function(){return!0},rSn.b=0,SH(tBn,"EObjectWithInverseEList",559),Bwn(1225,559,mBn,px),rSn.ll=function(){return!0},SH(tBn,"EObjectWithInverseEList/ManyInverse",1225),Bwn(635,559,mBn,mx),rSn.Ni=function(){this.a=!0},rSn.Qj=function(){return this.a},rSn.Gk=function(){var n;nTn(this),rA(this.e)?(n=this.a,this.a=!1,r5(this.e,new dJ(this.e,2,this.c,n,!1))):this.a=!1},rSn.a=!1,SH(tBn,"EObjectWithInverseEList/Unsettable",635),Bwn(1224,635,mBn,kx),rSn.ll=function(){return!0},SH(tBn,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),Bwn(767,559,mBn,vx),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectWithInverseResolvingEList",767),Bwn(32,767,mBn,Mx),rSn.ll=function(){return!0},SH(tBn,"EObjectWithInverseResolvingEList/ManyInverse",32),Bwn(768,635,mBn,yx),rSn.nl=function(){return!0},rSn.Wi=function(n,t){return Mwn(this,n,YR(t,58))},SH(tBn,"EObjectWithInverseResolvingEList/Unsettable",768),Bwn(1223,768,mBn,Tx),rSn.ll=function(){return!0},SH(tBn,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),Bwn(1185,632,mBn),rSn.Li=function(){return!(1792&this.b)},rSn.Ni=function(){this.b|=1},rSn.kl=function(){return!!(4&this.b)},rSn.Mj=function(){return!!(40&this.b)},rSn.ll=function(){return!!(16&this.b)},rSn.ml=function(){return!!(8&this.b)},rSn.nl=function(){return!!(this.b&aBn)},rSn.al=function(){return!!(32&this.b)},rSn.ol=function(){return!!(this.b&hPn)},rSn.fk=function(n){return this.d?BW(this.d,n):this.Lk().Hk().fk(n)},rSn.Qj=function(){return 2&this.b?!!(1&this.b):0!=this.i},rSn.Si=function(){return!!(128&this.b)},rSn.Gk=function(){var n;nTn(this),2&this.b&&(rA(this.e)?(n=!!(1&this.b),this.b&=-2,bv(this,new dJ(this.e,2,Cen(this.e.Dh(),this.Lk()),n,!1))):this.b&=-2)},rSn.Yi=function(){return!(1536&this.b)},rSn.b=0,SH(tBn,"EcoreEList/Generic",1185),Bwn(1186,1185,mBn,bq),rSn.Lk=function(){return this.a},SH(tBn,"EcoreEList/Dynamic",1186),Bwn(765,66,qFn,mm),rSn.aj=function(n){return J2(this.a.a,n)},SH(tBn,"EcoreEMap/1",765),Bwn(764,83,mBn,gB),rSn.Mi=function(n,t){Fcn(this.b,YR(t,136))},rSn.Oi=function(n,t){s5(this.b)},rSn.Pi=function(n,t,e){var i;++(i=this.b,YR(t,136),i).e},rSn.Qi=function(n,t){rtn(this.b,YR(t,136))},rSn.Ri=function(n,t,e){rtn(this.b,YR(e,136)),GI(e)===GI(t)&&YR(e,136).Ci(function(n){return null==n?0:_4(n)}(YR(t,136).ld())),Fcn(this.b,YR(t,136))},SH(tBn,"EcoreEMap/DelegateEObjectContainmentEList",764),Bwn(1220,141,iBn,q3),SH(tBn,"EcoreEMap/Unsettable",1220),Bwn(1221,764,mBn,jx),rSn.Ni=function(){this.a=!0},rSn.Qj=function(){return this.a},rSn.Gk=function(){var n;nTn(this),rA(this.e)?(n=this.a,this.a=!1,r5(this.e,new dJ(this.e,2,this.c,n,!1))):this.a=!1},rSn.a=!1,SH(tBn,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),Bwn(1189,215,RCn,dH),rSn.a=!1,rSn.b=!1,SH(tBn,"EcoreUtil/Copier",1189),Bwn(759,1,OSn,jW),rSn.Nb=function(n){MB(this,n)},rSn.Ob=function(){return bin(this)},rSn.Pb=function(){var n;return bin(this),n=this.b,this.b=null,n},rSn.Qb=function(){this.a.Qb()},SH(tBn,"EcoreUtil/ProperContentIterator",759),Bwn(1528,1527,{},Kl),SH(tBn,"EcoreValidator",1528),tF(tBn,"FeatureMapUtil/Validator"),Bwn(1295,1,{2041:1},Lh),rSn.am=function(n){return!0},SH(tBn,"FeatureMapUtil/1",1295),Bwn(773,1,{2041:1},Sjn),rSn.am=function(n){var t;return this.c==n||(null==(t=z$(KH(this.a,n)))?function(n,t){var e;return n.f==jwt?(e=SU(A1((tln(),gwt),t)),n.e?4==e&&t!=(awn(),Iwt)&&t!=(awn(),Swt)&&t!=(awn(),Pwt)&&t!=(awn(),Cwt):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(Zz(A1((tln(),gwt),t)))||n.d.Hc(bTn((tln(),gwt),n.b,t))))||!(!n.f||!Egn((tln(),n.f),ZU(A1(gwt,t))))&&(e=SU(A1(gwt,t)),n.e?4==e:2==e)}(this,n)?(DJ(this.a,n,(GN(),JUn)),!0):(DJ(this.a,n,(GN(),QUn)),!1):t==(GN(),JUn))},rSn.e=!1,SH(tBn,"FeatureMapUtil/BasicValidator",773),Bwn(774,45,RCn,wL),SH(tBn,"FeatureMapUtil/BasicValidator/Cache",774),Bwn(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},FI),rSn.bd=function(n,t){Lpn(this.c,this.b,n,t)},rSn.Fc=function(n){return Hvn(this.c,this.b,n)},rSn.cd=function(n,t){return function(n,t,e,i){var r,c,a,o,u,s,h,f;if(0==i.gc())return!1;if(WE(),a=(u=YR(t,69).xk())?i:new o2(i.gc()),Spn(n.e,t)){if(t.Si())for(h=i.Kc();h.Ob();)myn(n,t,s=h.Pb(),hL(t,102)&&!!(YR(t,19).Bb&TCn))||(c=ZW(t,s),a.Fc(c));else if(!u)for(h=i.Kc();h.Ob();)c=ZW(t,s=h.Pb()),a.Fc(c)}else{for(f=rpn(n.e.Dh(),t),r=YR(n.g,124),o=0;o1)throw Nm(new Iy(hHn));u||(c=ZW(t,i.Kc().Pb()),a.Fc(c))}return S8(n,Qfn(n,t,e),a)}(this.c,this.b,n,t)},rSn.Gc=function(n){return sL(this,n)},rSn.Gi=function(n,t){!function(n,t,e,i){n.j=-1,lwn(n,Qfn(n,t,e),(WE(),YR(t,69).vk().xl(i)))}(this.c,this.b,n,t)},rSn.Wk=function(n,t){return zmn(this.c,this.b,n,t)},rSn.$i=function(n){return gMn(this.c,this.b,n,!1)},rSn.Ii=function(){return sA(this.c,this.b)},rSn.Ji=function(){return n=this.c,new S5(this.b,n);var n},rSn.Ki=function(n){return function(n,t,e){var i,r;for(r=new S5(t,n),i=0;i0)if((i-=r.length-t)>=0){for(c.a+="0.";i>MGn.length;i-=MGn.length)bF(c,MGn);KD(c,MGn,bX(i)),cO(c,(Kz(t,r.length+1),r.substr(t)))}else cO(c,qq(r,t,bX(i=t-i))),c.a+=".",cO(c,BH(r,bX(i)));else{for(cO(c,(Kz(t,r.length+1),r.substr(t)));i<-MGn.length;i+=MGn.length)bF(c,MGn);KD(c,MGn,bX(-i))}return c.a}(YR(t,247));case 15:case 14:return null==t?null:function(n){return n==mCn?gHn:n==vCn?"-INF":""+n}(vy(V$(t)));case 17:return isn((dTn(),t));case 18:return isn(t);case 21:case 20:return null==t?null:function(n){return n==mCn?gHn:n==vCn?"-INF":""+n}(YR(t,161).a);case 27:return X$(YR(t,195));case 30:return Dan((dTn(),YR(t,15)));case 31:return Dan(YR(t,15));case 40:case 59:case 48:return function(n){return null==n?null:Jtn(n)}((dTn(),t));case 42:return rsn((dTn(),t));case 43:return rsn(t);default:throw Nm(new Iy(JKn+n.xe()+YKn))}},rSn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=f2(n))?vcn(t.vi(),n):-1),n.G){case 0:return new pk;case 1:return new Uh;case 2:return new mk;case 3:return new vk;default:throw Nm(new Iy(tFn+n.zb+YKn))}},rSn.ti=function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p;switch(n.hk()){case 5:case 52:case 4:return t;case 6:return Yrn(t);case 8:case 7:return null==t?null:function(n){if(n=kMn(n,!0),Ix(DRn,n)||Ix("1",n))return GN(),JUn;if(Ix(xRn,n)||Ix("0",n))return GN(),QUn;throw Nm(new Ry("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:F1(akn((i=kMn(t,!0)).length>0&&(Kz(0,i.length),43==i.charCodeAt(0))?(Kz(1,i.length+1),i.substr(1)):i,-128,127)<<24>>24);case 10:return null==t?null:F1(akn((r=kMn(t,!0)).length>0&&(Kz(0,r.length),43==r.charCodeAt(0))?(Kz(1,r.length+1),r.substr(1)):r,-128,127)<<24>>24);case 11:return W$(kEn(this,(dTn(),Kwt),t));case 12:return W$(kEn(this,(dTn(),Fwt),t));case 13:return null==t?null:new OT(kMn(t,!0));case 15:case 14:return function(n){var t,e,i,r;if(null==n)return null;if(i=kMn(n,!0),r=gHn.length,Ix(i.substr(i.length-r,r),gHn))if(4==(e=i.length)){if(Kz(0,i.length),43==(t=i.charCodeAt(0)))return cdt;if(45==t)return rdt}else if(3==e)return cdt;return tfn(i)}(t);case 16:return W$(kEn(this,(dTn(),_wt),t));case 17:return Pin((dTn(),t));case 18:return Pin(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return kMn(t,!0);case 21:case 20:return function(n){var t,e,i,r;if(null==n)return null;if(i=kMn(n,!0),r=gHn.length,Ix(i.substr(i.length-r,r),gHn))if(4==(e=i.length)){if(Kz(0,i.length),43==(t=i.charCodeAt(0)))return odt;if(45==t)return adt}else if(3==e)return odt;return new dv(i)}(t);case 22:return W$(kEn(this,(dTn(),Bwt),t));case 23:return W$(kEn(this,(dTn(),Hwt),t));case 24:return W$(kEn(this,(dTn(),Uwt),t));case 25:return W$(kEn(this,(dTn(),Gwt),t));case 26:return W$(kEn(this,(dTn(),qwt),t));case 27:return Prn(t);case 30:return Cin((dTn(),t));case 31:return Cin(t);case 32:return null==t?null:onn(akn((h=kMn(t,!0)).length>0&&(Kz(0,h.length),43==h.charCodeAt(0))?(Kz(1,h.length+1),h.substr(1)):h,kPn,dSn));case 33:return null==t?null:new yA((f=kMn(t,!0)).length>0&&(Kz(0,f.length),43==f.charCodeAt(0))?(Kz(1,f.length+1),f.substr(1)):f);case 34:return null==t?null:onn(akn((l=kMn(t,!0)).length>0&&(Kz(0,l.length),43==l.charCodeAt(0))?(Kz(1,l.length+1),l.substr(1)):l,kPn,dSn));case 36:return null==t?null:Yin(Hjn((b=kMn(t,!0)).length>0&&(Kz(0,b.length),43==b.charCodeAt(0))?(Kz(1,b.length+1),b.substr(1)):b));case 37:return null==t?null:Yin(Hjn((w=kMn(t,!0)).length>0&&(Kz(0,w.length),43==w.charCodeAt(0))?(Kz(1,w.length+1),w.substr(1)):w));case 40:case 59:case 48:return function(n){var t;return null==n?null:new yA((t=kMn(n,!0)).length>0&&(Kz(0,t.length),43==t.charCodeAt(0))?(Kz(1,t.length+1),t.substr(1)):t)}((dTn(),t));case 42:return Iin((dTn(),t));case 43:return Iin(t);case 44:return null==t?null:new yA((d=kMn(t,!0)).length>0&&(Kz(0,d.length),43==d.charCodeAt(0))?(Kz(1,d.length+1),d.substr(1)):d);case 45:return null==t?null:new yA((g=kMn(t,!0)).length>0&&(Kz(0,g.length),43==g.charCodeAt(0))?(Kz(1,g.length+1),g.substr(1)):g);case 46:return kMn(t,!1);case 47:return W$(kEn(this,(dTn(),Xwt),t));case 49:return W$(kEn(this,(dTn(),Vwt),t));case 50:return null==t?null:unn(akn((p=kMn(t,!0)).length>0&&(Kz(0,p.length),43==p.charCodeAt(0))?(Kz(1,p.length+1),p.substr(1)):p,ABn,32767)<<16>>16);case 51:return null==t?null:unn(akn((c=kMn(t,!0)).length>0&&(Kz(0,c.length),43==c.charCodeAt(0))?(Kz(1,c.length+1),c.substr(1)):c,ABn,32767)<<16>>16);case 53:return W$(kEn(this,(dTn(),Jwt),t));case 55:return null==t?null:unn(akn((a=kMn(t,!0)).length>0&&(Kz(0,a.length),43==a.charCodeAt(0))?(Kz(1,a.length+1),a.substr(1)):a,ABn,32767)<<16>>16);case 56:return null==t?null:unn(akn((o=kMn(t,!0)).length>0&&(Kz(0,o.length),43==o.charCodeAt(0))?(Kz(1,o.length+1),o.substr(1)):o,ABn,32767)<<16>>16);case 57:return null==t?null:Yin(Hjn((u=kMn(t,!0)).length>0&&(Kz(0,u.length),43==u.charCodeAt(0))?(Kz(1,u.length+1),u.substr(1)):u));case 58:return null==t?null:Yin(Hjn((s=kMn(t,!0)).length>0&&(Kz(0,s.length),43==s.charCodeAt(0))?(Kz(1,s.length+1),s.substr(1)):s));case 60:return null==t?null:onn(akn((e=kMn(t,!0)).length>0&&(Kz(0,e.length),43==e.charCodeAt(0))?(Kz(1,e.length+1),e.substr(1)):e,kPn,dSn));case 61:return null==t?null:onn(akn(kMn(t,!0),kPn,dSn));default:throw Nm(new Iy(JKn+n.xe()+YKn))}},SH(dHn,"XMLTypeFactoryImpl",2028),Bwn(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},NU),rSn.N=!1,rSn.O=!1;var fdt,ldt,bdt,wdt,ddt,gdt=!1;SH(dHn,"XMLTypePackageImpl",594),Bwn(1961,1,{851:1},$h),rSn.Kk=function(){return Gkn(),Bdt},SH(dHn,"XMLTypePackageImpl/1",1961),Bwn(1970,1,GBn,Dh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/10",1970),Bwn(1971,1,GBn,xh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/11",1971),Bwn(1972,1,GBn,Rh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/12",1972),Bwn(1973,1,GBn,Kh),rSn.fk=function(n){return zI(n)},rSn.gk=function(n){return eZ(aGn,USn,345,n,7,1)},SH(dHn,"XMLTypePackageImpl/13",1973),Bwn(1974,1,GBn,Fh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/14",1974),Bwn(1975,1,GBn,_h),rSn.fk=function(n){return hL(n,15)},rSn.gk=function(n){return eZ(gUn,KOn,15,n,0,1)},SH(dHn,"XMLTypePackageImpl/15",1975),Bwn(1976,1,GBn,Bh),rSn.fk=function(n){return hL(n,15)},rSn.gk=function(n){return eZ(gUn,KOn,15,n,0,1)},SH(dHn,"XMLTypePackageImpl/16",1976),Bwn(1977,1,GBn,Hh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/17",1977),Bwn(1978,1,GBn,Gh),rSn.fk=function(n){return hL(n,161)},rSn.gk=function(n){return eZ(oGn,USn,161,n,0,1)},SH(dHn,"XMLTypePackageImpl/18",1978),Bwn(1979,1,GBn,qh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/19",1979),Bwn(1962,1,GBn,Xh),rSn.fk=function(n){return hL(n,857)},rSn.gk=function(n){return eZ(Awt,ySn,857,n,0,1)},SH(dHn,"XMLTypePackageImpl/2",1962),Bwn(1980,1,GBn,zh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/20",1980),Bwn(1981,1,GBn,Vh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/21",1981),Bwn(1982,1,GBn,Wh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/22",1982),Bwn(1983,1,GBn,Qh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/23",1983),Bwn(1984,1,GBn,Jh),rSn.fk=function(n){return hL(n,195)},rSn.gk=function(n){return eZ(Zdt,USn,195,n,0,2)},SH(dHn,"XMLTypePackageImpl/24",1984),Bwn(1985,1,GBn,Yh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/25",1985),Bwn(1986,1,GBn,Zh),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/26",1986),Bwn(1987,1,GBn,nf),rSn.fk=function(n){return hL(n,15)},rSn.gk=function(n){return eZ(gUn,KOn,15,n,0,1)},SH(dHn,"XMLTypePackageImpl/27",1987),Bwn(1988,1,GBn,tf),rSn.fk=function(n){return hL(n,15)},rSn.gk=function(n){return eZ(gUn,KOn,15,n,0,1)},SH(dHn,"XMLTypePackageImpl/28",1988),Bwn(1989,1,GBn,ef),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/29",1989),Bwn(1963,1,GBn,rf),rSn.fk=function(n){return hL(n,681)},rSn.gk=function(n){return eZ(udt,ySn,2119,n,0,1)},SH(dHn,"XMLTypePackageImpl/3",1963),Bwn(1990,1,GBn,cf),rSn.fk=function(n){return hL(n,17)},rSn.gk=function(n){return eZ(hGn,USn,17,n,0,1)},SH(dHn,"XMLTypePackageImpl/30",1990),Bwn(1991,1,GBn,af),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/31",1991),Bwn(1992,1,GBn,of),rSn.fk=function(n){return hL(n,168)},rSn.gk=function(n){return eZ(gGn,USn,168,n,0,1)},SH(dHn,"XMLTypePackageImpl/32",1992),Bwn(1993,1,GBn,uf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/33",1993),Bwn(1994,1,GBn,sf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/34",1994),Bwn(1995,1,GBn,hf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/35",1995),Bwn(1996,1,GBn,ff),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/36",1996),Bwn(1997,1,GBn,lf),rSn.fk=function(n){return hL(n,15)},rSn.gk=function(n){return eZ(gUn,KOn,15,n,0,1)},SH(dHn,"XMLTypePackageImpl/37",1997),Bwn(1998,1,GBn,bf),rSn.fk=function(n){return hL(n,15)},rSn.gk=function(n){return eZ(gUn,KOn,15,n,0,1)},SH(dHn,"XMLTypePackageImpl/38",1998),Bwn(1999,1,GBn,wf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/39",1999),Bwn(1964,1,GBn,df),rSn.fk=function(n){return hL(n,682)},rSn.gk=function(n){return eZ(sdt,ySn,2120,n,0,1)},SH(dHn,"XMLTypePackageImpl/4",1964),Bwn(2e3,1,GBn,gf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/40",2e3),Bwn(2001,1,GBn,pf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/41",2001),Bwn(2002,1,GBn,mf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/42",2002),Bwn(2003,1,GBn,vf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/43",2003),Bwn(2004,1,GBn,kf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/44",2004),Bwn(2005,1,GBn,yf),rSn.fk=function(n){return hL(n,191)},rSn.gk=function(n){return eZ(mGn,USn,191,n,0,1)},SH(dHn,"XMLTypePackageImpl/45",2005),Bwn(2006,1,GBn,Mf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/46",2006),Bwn(2007,1,GBn,Tf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/47",2007),Bwn(2008,1,GBn,jf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/48",2008),Bwn(2009,1,GBn,Ef),rSn.fk=function(n){return hL(n,191)},rSn.gk=function(n){return eZ(mGn,USn,191,n,0,1)},SH(dHn,"XMLTypePackageImpl/49",2009),Bwn(1965,1,GBn,Sf),rSn.fk=function(n){return hL(n,683)},rSn.gk=function(n){return eZ(hdt,ySn,2121,n,0,1)},SH(dHn,"XMLTypePackageImpl/5",1965),Bwn(2010,1,GBn,Pf),rSn.fk=function(n){return hL(n,168)},rSn.gk=function(n){return eZ(gGn,USn,168,n,0,1)},SH(dHn,"XMLTypePackageImpl/50",2010),Bwn(2011,1,GBn,Cf),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/51",2011),Bwn(2012,1,GBn,If),rSn.fk=function(n){return hL(n,17)},rSn.gk=function(n){return eZ(hGn,USn,17,n,0,1)},SH(dHn,"XMLTypePackageImpl/52",2012),Bwn(1966,1,GBn,Of),rSn.fk=function(n){return qI(n)},rSn.gk=function(n){return eZ(IGn,USn,2,n,6,1)},SH(dHn,"XMLTypePackageImpl/6",1966),Bwn(1967,1,GBn,Af),rSn.fk=function(n){return hL(n,195)},rSn.gk=function(n){return eZ(Zdt,USn,195,n,0,2)},SH(dHn,"XMLTypePackageImpl/7",1967),Bwn(1968,1,GBn,Lf),rSn.fk=function(n){return XI(n)},rSn.gk=function(n){return eZ(nGn,USn,485,n,8,1)},SH(dHn,"XMLTypePackageImpl/8",1968),Bwn(1969,1,GBn,Nf),rSn.fk=function(n){return hL(n,222)},rSn.gk=function(n){return eZ(iGn,USn,222,n,0,1)},SH(dHn,"XMLTypePackageImpl/9",1969),Bwn(55,63,MPn,Ky),SH(BHn,"RegEx/ParseException",55),Bwn(836,1,{},$f),rSn.bm=function(n){return n16*e)throw Nm(new Ky(eSn((xA(),T_n))));e=16*e+r}if(125!=this.a)throw Nm(new Ky(eSn((xA(),j_n))));if(e>HHn)throw Nm(new Ky(eSn((xA(),E_n))));n=e}else{if(r=0,0!=this.c||(r=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(e=r,$En(this),0!=this.c||(r=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));n=e=16*e+r}break;case 117:if(i=0,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=16*t+i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=16*t+i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));n=t=16*t+i;break;case 118:if($En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=16*t+i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=16*t+i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=16*t+i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if(t=16*t+i,$En(this),0!=this.c||(i=Ycn(this.a))<0)throw Nm(new Ky(eSn((xA(),M_n))));if((t=16*t+i)>HHn)throw Nm(new Ky(eSn((xA(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw Nm(new Ky(eSn((xA(),S_n))))}return n},rSn.dm=function(n){var t;switch(n){case 100:t=32&~this.e?(QEn(),jdt):Yjn("Nd",!0);break;case 68:t=32&~this.e?(QEn(),Idt):Yjn("Nd",!1);break;case 119:t=32&~this.e?(QEn(),Kdt):Yjn("IsWord",!0);break;case 87:t=32&~this.e?(QEn(),Adt):Yjn("IsWord",!1);break;case 115:t=32&~this.e?(QEn(),Ndt):Yjn("IsSpace",!0);break;case 83:t=32&~this.e?(QEn(),Odt):Yjn("IsSpace",!1);break;default:throw Nm(new Yk(UHn+n.toString(16)))}return t},rSn.em=function(n){var t,e,i,r,c,a,o,u,s,h,f;for(this.b=1,$En(this),t=null,0==this.c&&94==this.a?($En(this),n?(QEn(),QEn(),s=new Jz(5)):(QEn(),QEn(),Kpn(t=new Jz(4),0,HHn),s=new Jz(4))):(QEn(),QEn(),s=new Jz(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:yMn(s,this.dm(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.um(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=Ibn(this,e)))throw Nm(new Ky(eSn((xA(),f_n))));yMn(s,h),i=!0;break;default:e=this.cm()}else if(20==f){if((c=i$(this.i,58,this.d))<0)throw Nm(new Ky(eSn((xA(),l_n))));if(a=!0,94==cG(this.i,this.d)&&(++this.d,a=!1),!(o=gZ(qq(this.i,this.d,c),a,!(512&~this.e))))throw Nm(new Ky(eSn((xA(),w_n))));if(yMn(s,o),i=!0,c+1>=this.j||93!=cG(this.i,c+1))throw Nm(new Ky(eSn((xA(),l_n))));this.d=c+2}if($En(this),!i)if(0!=this.c||45!=this.a)Kpn(s,e,e);else{if($En(this),1==(f=this.c))throw Nm(new Ky(eSn((xA(),b_n))));0==f&&93==this.a?(Kpn(s,e,e),Kpn(s,45,45)):(u=this.a,10==f&&(u=this.cm()),$En(this),Kpn(s,e,u))}(this.e&hPn)==hPn&&0==this.c&&44==this.a&&$En(this)}if(1==this.c)throw Nm(new Ky(eSn((xA(),b_n))));return t&&(VTn(t,s),s=t),Sdn(s),qMn(s),this.b=0,$En(this),s},rSn.fm=function(){var n,t,e,i;for(e=this.em(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw Nm(new Ky(eSn((xA(),k_n))));if($En(this),9!=this.c)throw Nm(new Ky(eSn((xA(),v_n))));if(t=this.em(!1),4==i)yMn(e,t);else if(45==n)VTn(e,t);else{if(38!=n)throw Nm(new Yk("ASSERT"));xTn(e,t)}}return $En(this),e},rSn.gm=function(){var n,t;return n=this.a-48,QEn(),QEn(),t=new tX(12,null,n),!this.g&&(this.g=new vv),lv(this.g,new vm(n)),$En(this),t},rSn.hm=function(){return $En(this),QEn(),$dt},rSn.im=function(){return $En(this),QEn(),Ldt},rSn.jm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.km=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.lm=function(){return $En(this),j9()},rSn.mm=function(){return $En(this),QEn(),xdt},rSn.nm=function(){return $En(this),QEn(),Fdt},rSn.om=function(){var n;if(this.d>=this.j||64!=(65504&(n=cG(this.i,this.d++))))throw Nm(new Ky(eSn((xA(),o_n))));return $En(this),QEn(),QEn(),new _F(0,n-64)},rSn.pm=function(){return $En(this),function(){var n,t,e,i,r,c;if(QEn(),qdt)return qdt;for(yMn(n=new Jz(4),Yjn(YHn,!0)),VTn(n,Yjn("M",!0)),VTn(n,Yjn("C",!0)),c=new Jz(4),i=0;i<11;i++)Kpn(c,i,i);return yMn(t=new Jz(4),Yjn("M",!0)),Kpn(t,4448,4607),Kpn(t,65438,65439),QMn(r=new AA(2),n),QMn(r,Sdt),(e=new AA(2)).Jm(FF(c,Yjn("L",!0))),e.Jm(t),e=new VB(r,e=new fQ(3,e)),qdt=e}()},rSn.qm=function(){return $En(this),QEn(),_dt},rSn.rm=function(){var n;return QEn(),QEn(),n=new _F(0,105),$En(this),n},rSn.sm=function(){return $En(this),QEn(),Rdt},rSn.tm=function(){return $En(this),QEn(),Ddt},rSn.um=function(n,t){return this.cm()},rSn.vm=function(){return $En(this),QEn(),Pdt},rSn.wm=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw Nm(new Ky(eSn((xA(),r_n))));if(i=-1,t=null,49<=(n=cG(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new vv),lv(this.g,new vm(i)),++this.d,41!=cG(this.i,this.d))throw Nm(new Ky(eSn((xA(),t_n))));++this.d}else switch(63==n&&--this.d,$En(this),(t=mEn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));break;default:throw Nm(new Ky(eSn((xA(),c_n))))}if($En(this),e=null,2==(r=Kin(this)).e){if(2!=r.Pm())throw Nm(new Ky(eSn((xA(),a_n))));e=r.Lm(1),r=r.Lm(0)}if(7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),QEn(),QEn(),new u0(i,t,r,e)},rSn.xm=function(){return $En(this),QEn(),Cdt},rSn.ym=function(){var n;if($En(this),n=kB(24,Kin(this)),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.zm=function(){var n;if($En(this),n=kB(20,Kin(this)),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.Am=function(){var n;if($En(this),n=kB(22,Kin(this)),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.Bm=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw Nm(new Ky(eSn((xA(),e_n))));if(45==t){for(++this.d;this.d=this.j)throw Nm(new Ky(eSn((xA(),e_n))))}if(58==t){if(++this.d,$En(this),i=TH(Kin(this),n,e),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));$En(this)}else{if(41!=t)throw Nm(new Ky(eSn((xA(),i_n))));++this.d,$En(this),i=TH(Kin(this),n,e)}return i},rSn.Cm=function(){var n;if($En(this),n=kB(21,Kin(this)),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.Dm=function(){var n;if($En(this),n=kB(23,Kin(this)),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.Em=function(){var n,t;if($En(this),n=this.f++,t=yB(Kin(this),n),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),t},rSn.Fm=function(){var n;if($En(this),n=yB(Kin(this),0),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.Gm=function(n){return $En(this),5==this.c?($En(this),FF(n,(QEn(),QEn(),new fQ(9,n)))):FF(n,(QEn(),QEn(),new fQ(3,n)))},rSn.Hm=function(n){var t;return $En(this),QEn(),QEn(),t=new AA(2),5==this.c?($En(this),QMn(t,Sdt),QMn(t,n)):(QMn(t,n),QMn(t,Sdt)),t},rSn.Im=function(n){return $En(this),5==this.c?($En(this),QEn(),QEn(),new fQ(9,n)):(QEn(),QEn(),new fQ(3,n))},rSn.a=0,rSn.b=0,rSn.c=0,rSn.d=0,rSn.e=0,rSn.f=1,rSn.g=null,rSn.j=0,SH(BHn,"RegEx/RegexParser",836),Bwn(1947,836,{},kk),rSn.bm=function(n){return!1},rSn.cm=function(){return mmn(this)},rSn.dm=function(n){return okn(n)},rSn.em=function(n){return xEn(this)},rSn.fm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.gm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.hm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.im=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.jm=function(){return $En(this),okn(67)},rSn.km=function(){return $En(this),okn(73)},rSn.lm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.mm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.nm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.om=function(){return $En(this),okn(99)},rSn.pm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.qm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.rm=function(){return $En(this),okn(105)},rSn.sm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.tm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.um=function(n,t){return yMn(n,okn(t)),-1},rSn.vm=function(){return $En(this),QEn(),QEn(),new _F(0,94)},rSn.wm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.xm=function(){return $En(this),QEn(),QEn(),new _F(0,36)},rSn.ym=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.zm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.Am=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.Bm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.Cm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.Dm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.Em=function(){var n;if($En(this),n=yB(Kin(this),0),7!=this.c)throw Nm(new Ky(eSn((xA(),t_n))));return $En(this),n},rSn.Fm=function(){throw Nm(new Ky(eSn((xA(),P_n))))},rSn.Gm=function(n){return $En(this),FF(n,(QEn(),QEn(),new fQ(3,n)))},rSn.Hm=function(n){var t;return $En(this),QEn(),QEn(),QMn(t=new AA(2),n),QMn(t,Sdt),t},rSn.Im=function(n){return $En(this),QEn(),QEn(),new fQ(3,n)};var pdt=null,mdt=null;SH(BHn,"RegEx/ParserForXMLSchema",1947),Bwn(122,1,tUn,km),rSn.Jm=function(n){throw Nm(new Yk("Not supported."))},rSn.Km=function(){return-1},rSn.Lm=function(n){return null},rSn.Mm=function(){return null},rSn.Nm=function(n){},rSn.Om=function(n){},rSn.Pm=function(){return 0},rSn.Ib=function(){return this.Qm(0)},rSn.Qm=function(n){return 11==this.e?".":""},rSn.e=0;var vdt,kdt,ydt,Mdt,Tdt,jdt,Edt,Sdt,Pdt,Cdt,Idt,Odt,Adt,Ldt,Ndt,$dt,Ddt,xdt,Rdt,Kdt,Fdt,_dt,Bdt,Hdt,Udt=null,Gdt=null,qdt=null,Xdt=SH(BHn,"RegEx/Token",122);Bwn(138,122,{3:1,138:1,122:1},Jz),rSn.Qm=function(n){var t,e,i;if(4==this.e)if(this==Edt)e=".";else if(this==jdt)e="\\d";else if(this==Kdt)e="\\w";else if(this==Ndt)e="\\s";else{for((i=new Jy).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?eO(i,Oyn(this.b[t])):(eO(i,Oyn(this.b[t])),i.a+="-",eO(i,Oyn(this.b[t+1])));i.a+="]",e=i.a}else if(this==Idt)e="\\D";else if(this==Adt)e="\\W";else if(this==Odt)e="\\S";else{for((i=new Jy).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?eO(i,Oyn(this.b[t])):(eO(i,Oyn(this.b[t])),i.a+="-",eO(i,Oyn(this.b[t+1])));i.a+="]",e=i.a}return e},rSn.a=!1,rSn.c=!1,SH(BHn,"RegEx/RangeToken",138),Bwn(592,1,{592:1},vm),rSn.a=0,SH(BHn,"RegEx/RegexParser/ReferencePosition",592),Bwn(591,1,{3:1,591:1},WT),rSn.Fb=function(n){var t;return null!=n&&!!hL(n,591)&&(t=YR(n,591),Ix(this.b,t.b)&&this.a==t.a)},rSn.Hb=function(){return k9(this.b+"/"+epn(this.a))},rSn.Ib=function(){return this.c.Qm(this.a)},rSn.a=0,SH(BHn,"RegEx/RegularExpression",591),Bwn(228,122,tUn,_F),rSn.Km=function(){return this.a},rSn.Qm=function(n){var t,e;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:e="\\"+zD(this.a&APn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=TCn?"\\v"+qq(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+zD(this.a&APn)}break;case 8:e=this==Pdt||this==Cdt?""+zD(this.a&APn):"\\"+zD(this.a&APn);break;default:e=null}return e},rSn.a=0,SH(BHn,"RegEx/Token/CharToken",228),Bwn(318,122,tUn,fQ),rSn.Lm=function(n){return this.a},rSn.Nm=function(n){this.b=n},rSn.Om=function(n){this.c=n},rSn.Pm=function(){return 1},rSn.Qm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.Qm(n)+"*";else if(this.c==this.b)t=this.a.Qm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Qm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Nm(new Yk("Token#toString(): CLOSURE "+this.c+vSn+this.b));t=this.a.Qm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.Qm(n)+"*?";else if(this.c==this.b)t=this.a.Qm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Qm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Nm(new Yk("Token#toString(): NONGREEDYCLOSURE "+this.c+vSn+this.b));t=this.a.Qm(n)+"{"+this.c+",}?"}return t},rSn.b=0,rSn.c=0,SH(BHn,"RegEx/Token/ClosureToken",318),Bwn(837,122,tUn,VB),rSn.Lm=function(n){return 0==n?this.a:this.b},rSn.Pm=function(){return 2},rSn.Qm=function(n){return 3==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(n)+"+":9==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(n)+"+?":this.a.Qm(n)+""+this.b.Qm(n)},SH(BHn,"RegEx/Token/ConcatToken",837),Bwn(1945,122,tUn,u0),rSn.Lm=function(n){if(0==n)return this.d;if(1==n)return this.b;throw Nm(new Yk("Internal Error: "+n))},rSn.Pm=function(){return this.b?2:1},rSn.Qm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},rSn.c=0,SH(BHn,"RegEx/Token/ConditionToken",1945),Bwn(1946,122,tUn,Qz),rSn.Lm=function(n){return this.b},rSn.Pm=function(){return 1},rSn.Qm=function(n){return"(?"+(0==this.a?"":epn(this.a))+(0==this.c?"":epn(this.c))+":"+this.b.Qm(n)+")"},rSn.a=0,rSn.c=0,SH(BHn,"RegEx/Token/ModifierToken",1946),Bwn(838,122,tUn,iU),rSn.Lm=function(n){return this.a},rSn.Pm=function(){return 1},rSn.Qm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.Qm(n)+")":"("+this.a.Qm(n)+")";break;case 20:t="(?="+this.a.Qm(n)+")";break;case 21:t="(?!"+this.a.Qm(n)+")";break;case 22:t="(?<="+this.a.Qm(n)+")";break;case 23:t="(?"+this.a.Qm(n)+")"}return t},rSn.b=0,SH(BHn,"RegEx/Token/ParenToken",838),Bwn(530,122,{3:1,122:1,530:1},tX),rSn.Mm=function(){return this.b},rSn.Qm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(r=n.length,t=null,i=0;i=0?(t||(t=new Yy,i>0&&eO(t,(oZ(0,i,n.length),n.substr(0,i)))),t.a+="\\",ZH(t,e&APn)):t&&ZH(t,e&APn);return t?t.a:n}(this.b)},rSn.a=0,SH(BHn,"RegEx/Token/StringToken",530),Bwn(477,122,tUn,AA),rSn.Jm=function(n){QMn(this,n)},rSn.Lm=function(n){return YR(fU(this.a,n),122)},rSn.Pm=function(){return this.a?this.a.a.c.length:0},rSn.Qm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=YR(fU(this.a,0),122),r=3==(e=YR(fU(this.a,1),122)).e&&e.Lm(0)==t?t.Qm(n)+"+":9==e.e&&e.Lm(0)==t?t.Qm(n)+"+?":t.Qm(n)+""+e.Qm(n);else{for(c=new Jy,i=0;i=n.c.b:n.a<=n.c.b))throw Nm(new av);return t=n.a,n.a+=n.c.c,++n.b,onn(t)}(this)},rSn.Ub=function(){return function(n){if(n.b<=0)throw Nm(new av);return--n.b,n.a-=n.c.c,onn(n.a)}(this)},rSn.Wb=function(n){YR(n,17),function(){throw Nm(new Ny(aUn))}()},rSn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},rSn.Sb=function(){return this.b>0},rSn.Tb=function(){return this.b},rSn.Vb=function(){return this.b-1},rSn.Qb=function(){throw Nm(new Ny(oUn))},rSn.a=0,rSn.b=0,SH(rUn,"ExclusiveRange/RangeIterator",258);var zdt,Vdt,Wdt=PU(uBn,"C"),Qdt=PU(fBn,"I"),Jdt=PU(fSn,"Z"),Ydt=PU(lBn,"J"),Zdt=PU(oBn,"B"),ngt=PU(sBn,"D"),tgt=PU(hBn,"F"),egt=PU(bBn,"S"),igt=tF("org.eclipse.elk.core.labels","ILabelManager"),rgt=tF(MFn,"DiagnosticChain"),cgt=tF(XBn,"ResourceSet"),agt=SH(MFn,"InvocationTargetException",null),ogt=(Qy(),function(n){return Qy(),function(){return sW(n,this,arguments)}}),ugt=ugt=function(n,t,e,i){ZT();var r=aSn;function c(){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl)if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)},4741:(n,t,e)=>{e.d(t,{diagram:()=>m});var i=e(2548),r=e(1062),c=e(8055),a=e(5950),o=e(2954);e(4353),e(6750),e(2838);const u=new o;let s={};const h={};let f={};const l=(n,t,e)=>{const i={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 i.TD=i.TB,i[e][t][n]},b=(n,t,e)=>{if(a.l.info("getNextPort",{node:n,edgeDirection:t,graphDirection:e}),!s[n])switch(e){case"TB":case"TD":s[n]={inPosition:"north",outPosition:"south"};break;case"BT":s[n]={inPosition:"south",outPosition:"north"};break;case"RL":s[n]={inPosition:"east",outPosition:"west"};break;case"LR":s[n]={inPosition:"west",outPosition:"east"}}const i="in"===t?s[n].inPosition:s[n].outPosition;return"in"===t?s[n].inPosition=l(s[n].inPosition,t,e):s[n].outPosition=l(s[n].outPosition,t,e),i},w=function(n,t,e,i,a,o){const u=function(n,t,e){const i=((n,t,e)=>{const{parentById:i}=e,r=new Set;let c=n;for(;c;){if(r.add(c),c===t)return c;c=i[c]}for(c=t;c;){if(r.has(c))return c;c=i[c]}return"root"})(n,t,e);if(void 0===i||"root"===i)return{x:0,y:0};const r=f[i].offset;return{x:r.posX,y:r.posY}}(t.sourceId,t.targetId,a),s=t.sections[0].startPoint,h=t.sections[0].endPoint,l=(t.sections[0].bendPoints?t.sections[0].bendPoints:[]).map((n=>[n.x+u.x,n.y+u.y])),b=[[s.x+u.x,s.y+u.y],...l,[h.x+u.x,h.y+u.y]],{x:w,y:d}=(0,c.k)(t.edgeData),g=(0,r.n8j)().x(w).y(d).curve(r.lUB),p=n.insert("path").attr("d",g(b)).attr("class","path "+e.classes).attr("fill","none"),m=n.insert("g").attr("class","edgeLabel"),v=(0,r.Ltv)(m.node().appendChild(t.labelEl)),k=v.node().firstChild.getBoundingClientRect();v.attr("width",k.width),v.attr("height",k.height),m.attr("transform",`translate(${t.labels[0].x+u.x}, ${t.labels[0].y+u.y})`),function(n,t,e,i,r){let a="";i&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),(0,c.m)(n,t,a,r,e)}(p,e,i.type,i.arrowMarkerAbsolute,o)},d=(n,t)=>{n.forEach((n=>{n.children||(n.children=[]);const e=t.childrenById[n.id];e&&e.forEach((t=>{n.children.push(f[t])})),d(n.children,t)}))},g=(n,t,e,i,r,c,o)=>{e.forEach((function(e){if(e)if(f[e.id].offset={posX:e.x+n,posY:e.y+t,x:n,y:t,depth:o,width:e.width,height:e.height},"group"===e.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+o%5+" node").attr("x",e.x+n).attr("y",e.y+t).attr("width",e.width).attr("height",e.height);const c=i.insert("g").attr("class","label"),u=(0,a.F)().flowchart.htmlLabels?e.labelData.width/2:0;c.attr("transform",`translate(${e.labels[0].x+n+e.x+u}, ${e.labels[0].y+t+e.y+3})`),c.node().appendChild(e.labelData.labelNode),a.l.info("Id (UGH)= ",e.type,e.labels)}else a.l.info("Id (UGH)= ",e.id),e.el.attr("transform",`translate(${e.x+n+e.width/2}, ${e.y+t+e.height/2})`)})),e.forEach((function(e){e&&"group"===e.type&&g(n+e.x,t+e.y,e.children,i,r,c,o+1)}))},p={getClasses:function(n,t){return a.l.info("Extracting classes"),t.db.getClasses()},draw:async function(n,t,e,i){var o;i.db.clear(),f={},s={},i.db.setGen("gen-2"),i.parser.parse(n);const l=(0,r.Ltv)("body").append("div").attr("style","height:400px").attr("id","cy");let p={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(a.l.info("Drawing flowchart using v3 renderer",u),i.db.getDirection()){case"BT":p.layoutOptions["elk.direction"]="UP";break;case"TB":p.layoutOptions["elk.direction"]="DOWN";break;case"LR":p.layoutOptions["elk.direction"]="RIGHT";break;case"RL":p.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:m,flowchart:v}=(0,a.F)();let k;"sandbox"===m&&(k=(0,r.Ltv)("#i"+t));const y="sandbox"===m?(0,r.Ltv)(k.nodes()[0].contentDocument.body):(0,r.Ltv)("body"),M="sandbox"===m?k.nodes()[0].contentDocument:document,T=y.select(`[id="${t}"]`);(0,c.a)(T,["point","circle","cross"],i.type,t);const j=i.db.getVertices();let E;const S=i.db.getSubGraphs();a.l.info("Subgraphs - ",S);for(let n=S.length-1;n>=0;n--)E=S[n],i.db.addVertex(E.id,{text:E.title,type:E.labelType},"group",void 0,E.classes,E.dir);const P=T.insert("g").attr("class","subgraphs"),C=function(n){const t={parentById:{},childrenById:{}},e=n.getSubGraphs();return a.l.info("Subgraphs - ",e),e.forEach((function(n){n.nodes.forEach((function(e){t.parentById[e]=n.id,void 0===t.childrenById[n.id]&&(t.childrenById[n.id]=[]),t.childrenById[n.id].push(e)}))})),e.forEach((function(n){n.id,void 0!==t.parentById[n.id]&&t.parentById[n.id]})),t}(i.db);p=await async function(n,t,e,i,r,o,u){const s=e.select(`[id="${t}"]`).insert("g").attr("class","nodes"),h=Object.keys(n);return await Promise.all(h.map((async function(t){const e=n[t];let u="default";e.classes.length>0&&(u=e.classes.join(" ")),u+=" flowchart-label";const h=(0,a.k)(e.styles);let l=void 0!==e.text?e.text:e.id;const b={width:0,height:0},w=[{id:e.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:e.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:e.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:e.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let d=0,g="",p={};switch(e.type){case"round":d=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question",p={portConstraints:"FIXED_SIDE"};break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}const m={labelStyle:h.labelStyle,shape:g,labelText:l,labelType:e.labelType,rx:d,ry:d,class:u,style:h.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:r.db.getTooltip(e.id)||"",domId:r.db.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:(0,a.F)().flowchart.padding};let v,k;if("group"!==m.type)k=await(0,c.e)(s,m,e.dir),v=k.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:n,bbox:t}=await(0,c.l)(s,m,void 0,!0);b.width=t.width,b.wrappingWidth=(0,a.F)().flowchart.wrappingWidth,b.height=t.height,b.labelNode=n.node(),m.labelData=b}const y={id:e.id,ports:"diamond"===e.type?w:[],layoutOptions:p,labelText:l,labelData:b,domId:r.db.lookUpDomId(e.id),width:null==v?void 0:v.width,height:null==v?void 0:v.height,type:e.type,el:k,parent:o.parentById[e.id]};f[m.id]=y}))),u}(j,t,y,M,i,C,p);const I=T.insert("g").attr("class","edges edgePath"),O=i.db.getEdges();p=function(n,t,e,i){a.l.info("abc78 edges = ",n);const o=i.insert("g").attr("class","edgeLabels");let u,s,l={},w=t.db.getDirection();if(void 0!==n.defaultStyle){const t=(0,a.k)(n.defaultStyle);u=t.style,s=t.labelStyle}return n.forEach((function(t){const i="L-"+t.start+"-"+t.end;void 0===l[i]?(l[i]=0,a.l.info("abc78 new entry",i,l[i])):(l[i]++,a.l.info("abc78 new entry",i,l[i]));let d=i+"-"+l[i];a.l.info("abc78 new link id to be used is",i,d,l[i]);const g="LS-"+t.start,p="LE-"+t.end,m={style:"",labelStyle:""};switch(m.minlen=t.length||1,"arrow_open"===t.type?m.arrowhead="none":m.arrowhead="normal",m.arrowTypeStart="arrow_open",m.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":m.arrowTypeStart="arrow_cross";case"arrow_cross":m.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":m.arrowTypeStart="arrow_point";case"arrow_point":m.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":m.arrowTypeStart="arrow_circle";case"arrow_circle":m.arrowTypeEnd="arrow_circle"}let v="",k="";switch(t.stroke){case"normal":v="fill:none;",void 0!==u&&(v=u),void 0!==s&&(k=s),m.thickness="normal",m.pattern="solid";break;case"dotted":m.thickness="normal",m.pattern="dotted",m.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":m.thickness="thick",m.pattern="solid",m.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=(0,a.k)(t.style);v=n.style,k=n.labelStyle}m.style=m.style+=v,m.labelStyle=m.labelStyle+=k,void 0!==t.interpolate?m.curve=(0,a.n)(t.interpolate,r.lUB):void 0!==n.defaultInterpolate?m.curve=(0,a.n)(n.defaultInterpolate,r.lUB):m.curve=(0,a.n)(h.curve,r.lUB),void 0===t.text?void 0!==t.style&&(m.arrowheadStyle="fill: #333"):(m.arrowheadStyle="fill: #333",m.labelpos="c"),m.labelType=t.labelType,m.label=t.text.replace(a.e.lineBreakRegex,"\n"),void 0===t.style&&(m.style=m.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),m.labelStyle=m.labelStyle.replace("color:","fill:"),m.id=d,m.classes="flowchart-link "+g+" "+p;const y=(0,c.f)(o,m),{source:M,target:T,sourceId:j,targetId:E}=((n,t)=>{let e=n.start,i=n.end;const r=e,c=i,a=f[e],o=f[i];return a&&o?("diamond"===a.type&&(e=`${e}-${b(e,"out",t)}`),"diamond"===o.type&&(i=`${i}-${b(i,"in",t)}`),{source:e,target:i,sourceId:r,targetId:c}):{source:e,target:i}})(t,w);a.l.debug("abc78 source and target",M,T),e.edges.push({id:"e"+t.start+t.end,sources:[M],targets:[T],sourceId:j,targetId:E,labelEl:y,labels:[{width:m.width,height:m.height,orgWidth:m.width,orgHeight:m.height,text:m.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:m})})),e}(O,i,p,T),Object.keys(f).forEach((n=>{const t=f[n];t.parent||p.children.push(t),void 0!==C.childrenById[n]&&(t.labels=[{text:t.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:t.labelData.width,height:t.labelData.height}],delete t.x,delete t.y,delete t.width,delete t.height)})),d(p.children,C),a.l.info("after layout",JSON.stringify(p,null,2));const A=await u.layout(p);g(0,0,A.children,T,P,i,0),a.l.info("after layout",A),null==(o=A.edges)||o.map((n=>{w(I,n,n.edgeData,i,C,t)})),(0,a.o)({},T,v.diagramPadding,v.useMaxWidth),l.remove()}},m={db:i.d,renderer:p,parser:i.p,styles:n=>`.label {\n font-family: ${n.fontFamily};\n color: ${n.nodeTextColor||n.textColor};\n }\n .cluster-label text {\n fill: ${n.titleColor};\n }\n .cluster-label span {\n color: ${n.titleColor};\n }\n\n .label text,span {\n fill: ${n.nodeTextColor||n.textColor};\n color: ${n.nodeTextColor||n.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${n.mainBkg};\n stroke: ${n.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${n.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${n.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${n.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${n.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${n.edgeLabelBackground};\n fill: ${n.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${n.clusterBkg};\n stroke: ${n.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${n.titleColor};\n }\n\n .cluster span {\n color: ${n.titleColor};\n }\n /* .cluster div {\n color: ${n.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${n.fontFamily};\n font-size: 12px;\n background: ${n.tertiaryColor};\n border: 1px solid ${n.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${n.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(n=>{let t="";for(let e=0;e<5;e++)t+=`\n .subgraph-lvl-${e} {\n fill: ${n[`surface${e}`]};\n stroke: ${n[`surfacePeer${e}`]};\n }\n `;return t})(n)}\n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/793.mjs b/resources/daux/themes/rsp/js/793.mjs new file mode 100644 index 0000000..ed4c99d --- /dev/null +++ b/resources/daux/themes/rsp/js/793.mjs @@ -0,0 +1 @@ +export const id=793;export const ids=[793];export const modules={6793:(t,n,e)=>{e.d(n,{diagram:()=>R});var i=e(5950),s=e(1062);function r(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e>s||void 0===e&&s>=s)&&(e=s)}return e}function o(t){return t.target.depth}function c(t,n){return t.sourceLinks.length?t.depth:n-1}function l(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let i=-1;for(let s of t)(s=+n(s,++i,t))&&(e+=s)}return e}function h(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e=n)&&(e=n);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e=s)&&(e=s)}return e}function a(t){return function(){return t}}function u(t,n){return y(t.source,n.source)||t.index-n.index}function f(t,n){return y(t.target,n.target)||t.index-n.index}function y(t,n){return t.y0-n.y0}function d(t){return t.value}function p(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function x(t,n){const e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function k({nodes:t}){for(const n of t){let t=n.y0,e=t;for(const e of n.sourceLinks)e.y0=t+e.width/2,t+=e.width;for(const t of n.targetLinks)t.y1=e+t.width/2,e+=t.width}}var m=Math.PI,v=2*m,b=1e-6,w=v-b;function L(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function E(){return new L}L.prototype=E.prototype={constructor:L,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,s,r){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+s)+","+(this._y1=+r)},arcTo:function(t,n,e,i,s){t=+t,n=+n,e=+e,i=+i,s=+s;var r=this._x1,o=this._y1,c=e-t,l=i-n,h=r-t,a=o-n,u=h*h+a*a;if(s<0)throw new Error("negative radius: "+s);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(u>b)if(Math.abs(a*c-l*h)>b&&s){var f=e-r,y=i-o,d=c*c+l*l,p=f*f+y*y,g=Math.sqrt(d),_=Math.sqrt(u),x=s*Math.tan((m-Math.acos((d+u-p)/(2*g*_)))/2),k=x/_,v=x/g;Math.abs(k-1)>b&&(this._+="L"+(t+k*h)+","+(n+k*a)),this._+="A"+s+","+s+",0,0,"+ +(a*f>h*y)+","+(this._x1=t+v*c)+","+(this._y1=n+v*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,i,s,r){t=+t,n=+n,r=!!r;var o=(e=+e)*Math.cos(i),c=e*Math.sin(i),l=t+o,h=n+c,a=1^r,u=r?i-s:s-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>b||Math.abs(this._y1-h)>b)&&(this._+="L"+l+","+h),e&&(u<0&&(u=u%v+v),u>w?this._+="A"+e+","+e+",0,1,"+a+","+(t-o)+","+(n-c)+"A"+e+","+e+",0,1,"+a+","+(this._x1=l)+","+(this._y1=h):u>b&&(this._+="A"+e+","+e+",0,"+ +(u>=m)+","+a+","+(this._x1=t+e*Math.cos(s))+","+(this._y1=n+e*Math.sin(s))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const A=E;var S=Array.prototype.slice;function M(t){return function(){return t}}function I(t){return t[0]}function T(t){return t[1]}function O(t){return t.source}function D(t){return t.target}function P(t,n,e,i,s){t.moveTo(n,e),t.bezierCurveTo(n=(n+i)/2,e,n,s,i,s)}function N(t){return[t.source.x1,t.y0]}function $(t){return[t.target.x0,t.y1]}function C(){return function(t){var n=O,e=D,i=I,s=T,r=null;function o(){var o,c=S.call(arguments),l=n.apply(this,c),h=e.apply(this,c);if(r||(r=o=A()),t(r,+i.apply(this,(c[0]=l,c)),+s.apply(this,c),+i.apply(this,(c[0]=h,c)),+s.apply(this,c)),o)return r=null,o+""||null}return o.source=function(t){return arguments.length?(n=t,o):n},o.target=function(t){return arguments.length?(e=t,o):e},o.x=function(t){return arguments.length?(i="function"==typeof t?t:M(+t),o):i},o.y=function(t){return arguments.length?(s="function"==typeof t?t:M(+t),o):s},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}(P).source(N).target($)}e(4353),e(6750),e(2838);var j=function(){var t=function(t,n,e,i){for(e=e||{},i=t.length;i--;e[t[i]]=n);return e},n=[1,9],e=[1,10],i=[1,5,10,12],s={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(t,n,e,i,s,r,o){var c=r.length-1;switch(s){case 7:const t=i.findOrCreateNode(r[c-4].trim().replaceAll('""','"')),n=i.findOrCreateNode(r[c-2].trim().replaceAll('""','"')),e=parseFloat(r[c].trim());i.addLink(t,n,e);break;case 8:case 9:case 11:this.$=r[c];break;case 10:this.$=r[c-1]}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:e},{1:[2,6],7:11,10:[1,12]},t(e,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(i,[2,8]),t(i,[2,9]),{19:[1,16]},t(i,[2,11]),{1:[2,1]},{1:[2,5]},t(e,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:e},{15:18,16:7,17:8,18:n,20:e},{18:[1,19]},t(e,[2,3]),{12:[1,20]},t(i,[2,10]),{15:21,16:7,17:8,18:n,20:e},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(t,n){if(!n.recoverable){var e=new Error(t);throw e.hash=n,e}this.trace(t)},parse:function(t){var n=[0],e=[],i=[null],s=[],r=this.table,o="",c=0,l=0,h=s.slice.call(arguments,1),a=Object.create(this.lexer),u={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(u.yy[f]=this.yy[f]);a.setInput(t,u.yy),u.yy.lexer=a,u.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var y=a.yylloc;s.push(y);var d=a.options&&a.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,g,_,x,k,m,v,b,w,L={};;){if(g=n[n.length-1],this.defaultActions[g]?_=this.defaultActions[g]:(null==p&&(w=void 0,"number"!=typeof(w=e.pop()||a.lex()||1)&&(w instanceof Array&&(w=(e=w).pop()),w=this.symbols_[w]||w),p=w),_=r[g]&&r[g][p]),void 0===_||!_.length||!_[0]){var E;for(k in b=[],r[g])this.terminals_[k]&&k>2&&b.push("'"+this.terminals_[k]+"'");E=a.showPosition?"Parse error on line "+(c+1)+":\n"+a.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(E,{text:a.match,token:this.terminals_[p]||p,line:a.yylineno,loc:y,expected:b})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+p);switch(_[0]){case 1:n.push(p),i.push(a.yytext),s.push(a.yylloc),n.push(_[1]),p=null,l=a.yyleng,o=a.yytext,c=a.yylineno,y=a.yylloc;break;case 2:if(m=this.productions_[_[1]][1],L.$=i[i.length-m],L._$={first_line:s[s.length-(m||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(m||1)].first_column,last_column:s[s.length-1].last_column},d&&(L._$.range=[s[s.length-(m||1)].range[0],s[s.length-1].range[1]]),void 0!==(x=this.performAction.apply(L,[o,l,c,u.yy,_[1],i,s].concat(h))))return x;m&&(n=n.slice(0,-1*m*2),i=i.slice(0,-1*m),s=s.slice(0,-1*m)),n.push(this.productions_[_[1]][0]),i.push(L.$),s.push(L._$),v=r[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,n){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,n)},setInput:function(t,n){return this.yy=n||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var n=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var i=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),e.length-1&&(this.yylineno-=e.length-1);var s=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:e?(e.length===i.length?this.yylloc.first_column:0)+i[i.length-e.length].length-e[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),n=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+n+"^"},test_match:function(t,n){var e,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,n,e,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;rn[0].length)){if(n=e,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,s[r])))return t;if(this._backtrack){n=!1;continue}return!1}if(!this.options.flex)break}return n?!1!==(t=this.test_match(n,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,n,e,i){switch(e){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function o(){this.yy={}}return s.lexer=r,o.prototype=s,s.Parser=o,new o}();j.parser=j;const z=j;let U=[],F=[],W={};class q{constructor(t,n,e=0){this.source=t,this.target=n,this.value=e}}class G{constructor(t){this.ID=t}}const V={nodesMap:W,getConfig:()=>(0,i.c)().sankey,getNodes:()=>F,getLinks:()=>U,getGraph:()=>({nodes:F.map((t=>({id:t.ID}))),links:U.map((t=>({source:t.source.ID,target:t.target.ID,value:t.value})))}),addLink:(t,n,e)=>{U.push(new q(t,n,e))},findOrCreateNode:t=>(t=i.e.sanitizeText(t,(0,i.c)()),W[t]||(W[t]=new G(t),F.push(W[t])),W[t]),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,getDiagramTitle:i.t,setDiagramTitle:i.q,clear:()=>{U=[],F=[],W={},(0,i.v)()}},X=class t{static next(n){return new t(n+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}};X.count=0;let K=X;const Q={left:function(t){return t.depth},right:function(t,n){return n-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?r(t.sourceLinks,o)-1:0},justify:c},Y={draw:function(t,n,e,o){const{securityLevel:m,sankey:v}=(0,i.c)(),b=i.K.sankey;let w;"sandbox"===m&&(w=(0,s.Ltv)("#i"+n));const L="sandbox"===m?(0,s.Ltv)(w.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),E="sandbox"===m?L.select(`[id="${n}"]`):(0,s.Ltv)(`[id="${n}"]`),A=(null==v?void 0:v.width)??b.width,S=(null==v?void 0:v.height)??b.width,M=(null==v?void 0:v.useMaxWidth)??b.useMaxWidth,I=(null==v?void 0:v.nodeAlignment)??b.nodeAlignment,T=(null==v?void 0:v.prefix)??b.prefix,O=(null==v?void 0:v.suffix)??b.suffix,D=(null==v?void 0:v.showValues)??b.showValues,P=o.db.getGraph(),N=Q[I];(function(){let t,n,e,i=0,s=0,o=1,m=1,v=24,b=8,w=p,L=c,E=g,A=_,S=6;function M(){const c={nodes:E.apply(null,arguments),links:A.apply(null,arguments)};return function({nodes:t,links:n}){for(const[n,e]of t.entries())e.index=n,e.sourceLinks=[],e.targetLinks=[];const i=new Map(t.map(((n,e)=>[w(n,e,t),n])));for(const[t,e]of n.entries()){e.index=t;let{source:n,target:s}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof s&&(s=e.target=x(i,s)),n.sourceLinks.push(e),s.targetLinks.push(e)}if(null!=e)for(const{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(c),function({nodes:t}){for(const n of t)n.value=void 0===n.fixedValue?Math.max(l(n.sourceLinks,d),l(n.targetLinks,d)):n.fixedValue}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.depth=s;for(const{target:n}of t.sourceLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.height=s;for(const{source:n}of t.targetLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function(e){const c=function({nodes:t}){const e=h(t,(t=>t.depth))+1,s=(o-i-v)/(e-1),r=new Array(e);for(const n of t){const t=Math.max(0,Math.min(e-1,Math.floor(L.call(null,n,e))));n.layer=t,n.x0=i+t*s,n.x1=n.x0+v,r[t]?r[t].push(n):r[t]=[n]}if(n)for(const t of r)t.sort(n);return r}(e);t=Math.min(b,(m-s)/(h(c,(t=>t.length))-1)),function(n){const e=r(n,(n=>(m-s-(n.length-1)*t)/l(n,d)));for(const i of n){let n=s;for(const s of i){s.y0=n,s.y1=n+s.value*e,n=s.y1+t;for(const t of s.sourceLinks)t.width=t.value*e}n=(m-n+t)/(i.length+1);for(let t=0;t0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,N(t)}void 0===n&&r.sort(y),O(r,i)}}function T(t,e,i){for(let s=t.length-2;s>=0;--s){const r=t[s];for(const t of r){let n=0,i=0;for(const{target:e,value:s}of t.sourceLinks){let r=s*(e.layer-t.layer);n+=j(t,e)*r,i+=r}if(!(i>0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,N(t)}void 0===n&&r.sort(y),O(r,i)}}function O(n,e){const i=n.length>>1,r=n[i];P(n,r.y0-t,i-1,e),D(n,r.y1+t,i+1,e),P(n,m,n.length-1,e),D(n,s,0,e)}function D(n,e,i,s){for(;i1e-6&&(r.y0+=o,r.y1+=o),e=r.y1+t}}function P(n,e,i,s){for(;i>=0;--i){const r=n[i],o=(r.y1-e)*s;o>1e-6&&(r.y0-=o,r.y1-=o),e=r.y0-t}}function N({sourceLinks:t,targetLinks:n}){if(void 0===e){for(const{source:{sourceLinks:t}}of n)t.sort(f);for(const{target:{targetLinks:n}}of t)n.sort(u)}}function $(t){if(void 0===e)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(f),e.sort(u)}function C(n,e){let i=n.y0-(n.sourceLinks.length-1)*t/2;for(const{target:s,width:r}of n.sourceLinks){if(s===e)break;i+=r+t}for(const{source:t,width:s}of e.targetLinks){if(t===n)break;i-=s}return i}function j(n,e){let i=e.y0-(e.targetLinks.length-1)*t/2;for(const{source:s,width:r}of e.targetLinks){if(s===n)break;i+=r+t}for(const{target:t,width:s}of n.sourceLinks){if(t===e)break;i-=s}return i}return M.update=function(t){return k(t),t},M.nodeId=function(t){return arguments.length?(w="function"==typeof t?t:a(t),M):w},M.nodeAlign=function(t){return arguments.length?(L="function"==typeof t?t:a(t),M):L},M.nodeSort=function(t){return arguments.length?(n=t,M):n},M.nodeWidth=function(t){return arguments.length?(v=+t,M):v},M.nodePadding=function(n){return arguments.length?(b=t=+n,M):b},M.nodes=function(t){return arguments.length?(E="function"==typeof t?t:a(t),M):E},M.links=function(t){return arguments.length?(A="function"==typeof t?t:a(t),M):A},M.linkSort=function(t){return arguments.length?(e=t,M):e},M.size=function(t){return arguments.length?(i=s=0,o=+t[0],m=+t[1],M):[o-i,m-s]},M.extent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],s=+t[0][1],m=+t[1][1],M):[[i,s],[o,m]]},M.iterations=function(t){return arguments.length?(S=+t,M):S},M})().nodeId((t=>t.id)).nodeWidth(10).nodePadding(10+(D?15:0)).nodeAlign(N).extent([[0,0],[A,S]])(P);const $=(0,s.UMr)(s.zt);E.append("g").attr("class","nodes").selectAll(".node").data(P.nodes).join("g").attr("class","node").attr("id",(t=>(t.uid=K.next("node-")).id)).attr("transform",(function(t){return"translate("+t.x0+","+t.y0+")"})).attr("x",(t=>t.x0)).attr("y",(t=>t.y0)).append("rect").attr("height",(t=>t.y1-t.y0)).attr("width",(t=>t.x1-t.x0)).attr("fill",(t=>$(t.id))),E.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(P.nodes).join("text").attr("x",(t=>t.x0(t.y1+t.y0)/2)).attr("dy",(D?"0":"0.35")+"em").attr("text-anchor",(t=>t.x0D?`${t}\n${T}${Math.round(100*n)/100}${O}`:t));const j=E.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(P.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),z=(null==v?void 0:v.linkColor)||"gradient";if("gradient"===z){const t=j.append("linearGradient").attr("id",(t=>(t.uid=K.next("linearGradient-")).id)).attr("gradientUnits","userSpaceOnUse").attr("x1",(t=>t.source.x1)).attr("x2",(t=>t.target.x0));t.append("stop").attr("offset","0%").attr("stop-color",(t=>$(t.source.id))),t.append("stop").attr("offset","100%").attr("stop-color",(t=>$(t.target.id)))}let U;switch(z){case"gradient":U=t=>t.uid;break;case"source":U=t=>$(t.source.id);break;case"target":U=t=>$(t.target.id);break;default:U=z}j.append("path").attr("d",C()).attr("stroke",U).attr("stroke-width",(t=>Math.max(1,t.width))),(0,i.o)(void 0,E,0,M)}},B=z.parse.bind(z);z.parse=t=>B((t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim())(t));const R={parser:z,db:V,renderer:Y}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/803.mjs b/resources/daux/themes/rsp/js/803.mjs new file mode 100644 index 0000000..8cb9eca --- /dev/null +++ b/resources/daux/themes/rsp/js/803.mjs @@ -0,0 +1 @@ +export const id=803;export const ids=[803];export const modules={6803:(t,e,i)=>{i.d(e,{diagram:()=>d});var n=i(5950),s=i(1062),r=(i(4353),i(6750),i(2838),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,3],i=[1,4],n=[1,5],s=[1,6],r=[1,10,12,14,16,18,19,20,21,22],l=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],c=[20,21,22],o=[2,7],h=[1,12],u=[1,13],y=[1,14],p=[1,15],d=[1,16],g=[1,17],_={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,e,i,n,s,r,l){var a=r.length-1;switch(s){case 3:n.setShowData(!0);break;case 6:this.$=r[a-1];break;case 8:n.addSection(r[a-1],n.cleanupValue(r[a]));break;case 9:this.$=r[a].trim(),n.setDiagramTitle(this.$);break;case 10:this.$=r[a].trim(),n.setAccTitle(this.$);break;case 11:case 12:this.$=r[a].trim(),n.setAccDescription(this.$);break;case 13:n.addSection(r[a].substr(8)),this.$=r[a].substr(8)}},table:[{3:1,4:2,5:e,20:i,21:n,22:s},{1:[3]},{3:7,4:2,5:e,20:i,21:n,22:s},t(r,l,{6:8,7:[1,9]}),t(a,[2,14]),t(a,[2,15]),t(a,[2,16]),{1:[2,1]},t(c,o,{8:10,9:11,1:[2,2],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,l,{6:18}),t(r,[2,5]),{4:19,20:i,21:n,22:s},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},t(c,[2,12]),t(c,[2,13]),t(c,o,{8:10,9:11,1:[2,3],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,[2,6]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],s=[],r=this.table,l="",a=0,c=0,o=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,f,m,x,b,k,v,S,$={};;){if(_=e[e.length-1],this.defaultActions[_]?f=this.defaultActions[_]:(null==g&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),g=S),f=r[_]&&r[_][g]),void 0===f||!f.length||!f[0]){var w;for(x in v=[],r[_])this.terminals_[x]&&x>2&&v.push("'"+this.terminals_[x]+"'");w=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(w,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:p,expected:v})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(f[0]){case 1:e.push(g),n.push(h.yytext),s.push(h.yylloc),e.push(f[1]),g=null,c=h.yyleng,l=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(b=this.productions_[f[1]][1],$.$=n[n.length-b],$._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},d&&($._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply($,[l,c,a,u.yy,f[1],n,s].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[f[1]][0]),n.push($.$),s.push($._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0}},f={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=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),i.length-1&&(this.yylineno-=i.length-1);var s=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 20;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return _.lexer=f,m.prototype=_,_.Parser=m,new m}());r.parser=r;const l=r,a=n.B.pie,c={},o=!1;let h=c,u=o;const y=structuredClone(a),p={draw:(t,e,i,r)=>{n.l.debug("rendering pie chart\n"+t);const l=r.db,a=(0,n.c)(),c=(0,n.C)(l.getConfig(),a.pie),o=(0,n.A)(e),h=o.append("g"),u=l.getSections();h.attr("transform","translate(225,225)");const{themeVariables:y}=a;let[p]=(0,n.D)(y.pieOuterStrokeWidth);p??(p=2);const d=c.textPosition,g=Math.min(450,450)/2-40,_=(0,s.JLW)().innerRadius(0).outerRadius(g),f=(0,s.JLW)().innerRadius(g*d).outerRadius(g*d);h.append("circle").attr("cx",0).attr("cy",0).attr("r",g+p/2).attr("class","pieOuterCircle");const m=(t=>{const e=Object.entries(t).map((t=>({label:t[0],value:t[1]}))).sort(((t,e)=>e.value-t.value));return(0,s.rLf)().value((t=>t.value))(e)})(u),x=[y.pie1,y.pie2,y.pie3,y.pie4,y.pie5,y.pie6,y.pie7,y.pie8,y.pie9,y.pie10,y.pie11,y.pie12],b=(0,s.UMr)(x);h.selectAll("mySlices").data(m).enter().append("path").attr("d",_).attr("fill",(t=>b(t.data.label))).attr("class","pieCircle");let k=0;Object.keys(u).forEach((t=>{k+=u[t]})),h.selectAll("mySlices").data(m).enter().append("text").text((t=>(t.data.value/k*100).toFixed(0)+"%")).attr("transform",(t=>"translate("+f.centroid(t)+")")).style("text-anchor","middle").attr("class","slice"),h.append("text").text(l.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");const v=h.selectAll(".legend").data(b.domain()).enter().append("g").attr("class","legend").attr("transform",((t,e)=>"translate(216,"+(22*e-22*b.domain().length/2)+")"));v.append("rect").attr("width",18).attr("height",18).style("fill",b).style("stroke",b),v.data(m).append("text").attr("x",22).attr("y",14).text((t=>{const{label:e,value:i}=t.data;return l.getShowData()?`${e} [${i}]`:e}));const S=512+Math.max(...v.selectAll("text").nodes().map((t=>(null==t?void 0:t.getBoundingClientRect().width)??0)));o.attr("viewBox",`0 0 ${S} 450`),(0,n.i)(o,450,S,c.useMaxWidth)}},d={parser:l,db:{getConfig:()=>structuredClone(y),clear:()=>{h=structuredClone(c),u=o,(0,n.v)()},setDiagramTitle:n.q,getDiagramTitle:n.t,setAccTitle:n.s,getAccTitle:n.g,setAccDescription:n.b,getAccDescription:n.a,addSection:(t,e)=>{t=(0,n.d)(t,(0,n.c)()),void 0===h[t]&&(h[t]=e,n.l.debug(`added new section: ${t}, with value: ${e}`))},getSections:()=>h,cleanupValue:t=>(":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())),setShowData:t=>{u=t},getShowData:()=>u},renderer:p,styles:t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/843.mjs b/resources/daux/themes/rsp/js/843.mjs new file mode 100644 index 0000000..ff0216e --- /dev/null +++ b/resources/daux/themes/rsp/js/843.mjs @@ -0,0 +1 @@ +export const id=843;export const ids=[843];export const modules={2843:(t,i,n)=>{n.d(i,{diagram:()=>l});var s=n(5950),e=(n(4353),n(6750),n(1062),n(2838),function(){var t=function(t,i,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=i);return n},i=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,i,n,s,e,r,o){switch(r.length,e){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(!i.recoverable){var n=new Error(t);throw n.hash=i,n}this.trace(t)},parse:function(t){var i=[0],n=[],s=[null],e=[],r=this.table,o="",h=0,l=0,c=e.slice.call(arguments,1),a=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);a.setInput(t,y.yy),y.yy.lexer=a,y.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var p=a.yylloc;e.push(p);var f=a.options&&a.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,m,d,k,x,b,v,I,w={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==g&&(I=void 0,"number"!=typeof(I=n.pop()||a.lex()||1)&&(I instanceof Array&&(I=(n=I).pop()),I=this.symbols_[I]||I),g=I),m=r[_]&&r[_][g]),void 0===m||!m.length||!m[0]){var S;for(k in v=[],r[_])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");S=a.showPosition?"Parse error on line "+(h+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(S,{text:a.match,token:this.terminals_[g]||g,line:a.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(m[0]){case 1:i.push(g),s.push(a.yytext),e.push(a.yylloc),i.push(m[1]),g=null,l=a.yyleng,o=a.yytext,h=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[m[1]][1],w.$=s[s.length-x],w._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},f&&(w._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),void 0!==(d=this.performAction.apply(w,[o,l,h,y.yy,m[1],s,e].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),s=s.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),s.push(w.$),e.push(w._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},s={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=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),n.length-1&&(this.yylineno-=n.length-1);var e=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:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,s,e;if(this.options.backtrack_lexer&&(e={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&&(e.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in e)this[r]=e[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),r=0;ri[0].length)){if(i=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,e[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,e[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,n,s){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function e(){this.yy={}}return n.lexer=s,e.prototype=n,n.Parser=e,new e}());e.parser=e;const r=!1;let o=r;const h={draw:(t,i,n)=>{s.l.debug("rendering info diagram\n"+t);const e=(0,s.A)(i);(0,s.i)(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}},l={parser:e,db:{clear:()=>{o=r},setInfo:t=>{o=t},getInfo:()=>o},renderer:h}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/869.mjs b/resources/daux/themes/rsp/js/869.mjs new file mode 100644 index 0000000..3e65928 --- /dev/null +++ b/resources/daux/themes/rsp/js/869.mjs @@ -0,0 +1 @@ +export const id=869;export const ids=[869];export const modules={7375:function(t){t.exports=function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var s=this.$utils(),r=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return s.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return s.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return s.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(r)}}},445:function(t){t.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,r={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],l=function(t){var e=r[t];return e&&(e.indexOf?e:e.s.concat(e.f))},d=function(t,e){var n,i=r.meridiem;if(i){for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,e))>-1){n=s>12;break}}else n=t===(e?"pm":"PM");return n},u={A:[s,function(t){this.afternoon=d(t,!1)}],a:[s,function(t){this.afternoon=d(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[n,o("day")],Do:[s,function(t){var e=r.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,o("month")],MM:[n,o("month")],MMM:[s,function(t){var e=l("months"),n=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[s,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function h(n){var i,s;i=n,s=r&&r.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var r=i&&i.toUpperCase();return n||s[i]||t[i]||s[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=a.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var i=h(e)(t),s=i.year,r=i.month,a=i.day,o=i.hours,c=i.minutes,l=i.seconds,d=i.milliseconds,u=i.zone,f=new Date,y=a||(s||r?1:f.getDate()),m=s||f.getFullYear(),k=0;s&&!r||(k=r>0?r-1:f.getMonth());var p=o||0,g=c||0,b=l||0,T=d||0;return u?new Date(Date.UTC(m,k,y,p,g,b,T+60*u.offset*1e3)):n?new Date(Date.UTC(m,k,y,p,g,b,T)):new Date(m,k,y,p,g,b,T)}catch(t){return new Date("")}}(e,o,i),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),d&&e!=this.format(o)&&(this.$d=new Date("")),r={}}else if(o instanceof Array)for(var f=o.length,y=1;y<=f;y+=1){a[1]=o[y-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}y===f&&(this.$d=new Date(""))}else s.call(this,t)}}}()},8313:function(t){var e;t.exports=(e="day",function(t,n,i){var s=function(t){return t.add(4-t.isoWeekday(),e)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,r,a,o=s(this),c=(n=this.isoWeekYear(),a=4-(r=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(a+=7),r.add(a,e));return o.diff(c,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=r.startOf;r.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):a.bind(this)(t,e)}})},8869:(t,e,n)=>{n.d(e,{diagram:()=>K});var i=n(6750),s=n(4353),r=n(8313),a=n(445),o=n(7375),c=n(5950),l=n(1062),d=(n(2838),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],i=[1,26],s=[1,27],r=[1,28],a=[1,29],o=[1,30],c=[1,31],l=[1,9],d=[1,10],u=[1,11],h=[1,12],f=[1,13],y=[1,14],m=[1,15],k=[1,16],p=[1,18],g=[1,19],b=[1,20],T=[1,21],v=[1,22],x=[1,24],w=[1,32],_={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setWeekday("monday");break;case 9:i.setWeekday("tuesday");break;case 10:i.setWeekday("wednesday");break;case 11:i.setWeekday("thursday");break;case 12:i.setWeekday("friday");break;case 13:i.setWeekday("saturday");break;case 14:i.setWeekday("sunday");break;case 15:i.setDateFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 16:i.enableInclusiveEndDates(),this.$=r[o].substr(18);break;case 17:i.TopAxis(),this.$=r[o].substr(8);break;case 18:i.setAxisFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 19:i.setTickInterval(r[o].substr(13)),this.$=r[o].substr(13);break;case 20:i.setExcludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 21:i.setIncludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 22:i.setTodayMarker(r[o].substr(12)),this.$=r[o].substr(12);break;case 24:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 25:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 26:case 27:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 28:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 30:i.addTask(r[o-1],r[o]),this.$="task";break;case 31:this.$=r[o-1],i.setClickEvent(r[o-1],r[o],null);break;case 32:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],r[o]);break;case 33:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],null),i.setLink(r[o-2],r[o]);break;case 34:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-2],r[o-1]),i.setLink(r[o-3],r[o]);break;case 35:this.$=r[o-2],i.setClickEvent(r[o-2],r[o],null),i.setLink(r[o-2],r[o-1]);break;case 36:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-1],r[o]),i.setLink(r[o-3],r[o-2]);break;case 37:this.$=r[o-1],i.setLink(r[o-1],r[o]);break;case 38:case 44:this.$=r[o-1]+" "+r[o];break;case 39:case 40:case 42:this.$=r[o-2]+" "+r[o-1]+" "+r[o];break;case 41:case 43:this.$=r[o-3]+" "+r[o-2]+" "+r[o-1]+" "+r[o]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:s,15:r,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:T,33:v,34:23,35:x,37:w},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:n,13:i,14:s,15:r,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:T,33:v,34:23,35:x,37:w},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),d=Object.create(this.lexer),u={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(u.yy[h]=this.yy[h]);d.setInput(t,u.yy),u.yy.lexer=d,u.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;s.push(f);var y=d.options&&d.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,k,p,g,b,T,v,x,w,_={};;){if(k=e[e.length-1],this.defaultActions[k]?p=this.defaultActions[k]:(null==m&&(w=void 0,"number"!=typeof(w=n.pop()||d.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=this.symbols_[w]||w),m=w),p=r[k]&&r[k][m]),void 0===p||!p.length||!p[0]){var $;for(b in x=[],r[k])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError($,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:f,expected:x})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(p[0]){case 1:e.push(m),i.push(d.yytext),s.push(d.yylloc),e.push(p[1]),m=null,c=d.yyleng,a=d.yytext,o=d.yylineno,f=d.yylloc;break;case 2:if(T=this.productions_[p[1]][1],_.$=i[i.length-T],_._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},y&&(_._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(g=this.performAction.apply(_,[a,c,o,u.yy,p[1],i,s].concat(l))))return g;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),s=s.slice(0,-1*T)),e.push(this.productions_[p[1]][0]),i.push(_.$),s.push(_._$),v=r[e[e.length-2]][e[e.length-1]],e.push(v);break;case 3:return!0}}return!0}},$={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var s=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 40;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 38;case 22:return 39;case 23:this.begin("click");break;case 25:return 37;case 26:return 4;case 27:return 19;case 28:return 20;case 29:return 21;case 30:return 22;case 31:return 23;case 32:return 25;case 33:return 24;case 34:return 26;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return"date";case 43:return 27;case 44:return"accDescription";case 45:return 33;case 46:return 35;case 47:return 36;case 48:return":";case 49:return 6;case 50:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],inclusive:!0}}};function D(){this.yy={}}return _.lexer=$,D.prototype=_,_.Parser=D,new D}());d.parser=d;const u=d;s.extend(r),s.extend(a),s.extend(o);let h,f="",y="",m="",k=[],p=[],g={},b=[],T=[],v="",x="";const w=["active","done","crit","milestone"];let _=[],$=!1,D=!1,C="sunday",S=0;const E=function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim())))},A=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let r,a;r=t.startTime instanceof Date?s(t.startTime):s(t.startTime,e,!0),r=r.add(1,"d"),a=t.endTime instanceof Date?s(t.endTime):s(t.endTime,e,!0);const[o,c]=M(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},M=function(t,e,n,i,s){let r=!1,a=null;for(;t<=e;)r||(a=e.toDate()),r=E(t,n,i,s),r&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},Y=function(t,e,n){n=n.trim();const i=/^after\s+(?[\d\w- ]+)/.exec(n);if(null!==i){let t=null;for(const e of i.groups.ids.split(" ")){let n=N(e);void 0!==n&&(!t||n.endTime>t.endTime)&&(t=n)}if(t)return t.endTime;const e=new Date;return e.setHours(0,0,0,0),e}let r=s(n,e.trim(),!0);if(r.isValid())return r.toDate();{c.l.debug("Invalid date:"+n),c.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},L=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},I=function(t,e,n,i=!1){n=n.trim();const r=/^until\s+(?[\d\w- ]+)/.exec(n);if(null!==r){let t=null;for(const e of r.groups.ids.split(" ")){let n=N(e);void 0!==n&&(!t||n.startTime(0,c.c)().gantt,clear:function(){b=[],T=[],v="",_=[],O=0,F=void 0,P=void 0,B=[],f="",y="",x="",h=void 0,m="",k=[],p=[],$=!1,D=!1,S=0,g={},(0,c.v)(),C="sunday"},setDateFormat:function(t){f=t},getDateFormat:function(){return f},enableInclusiveEndDates:function(){$=!0},endDatesAreInclusive:function(){return $},enableTopAxis:function(){D=!0},topAxisEnabled:function(){return D},setAxisFormat:function(t){y=t},getAxisFormat:function(){return y},setTickInterval:function(t){h=t},getTickInterval:function(){return h},setTodayMarker:function(t){m=t},getTodayMarker:function(){return m},setAccTitle:c.s,getAccTitle:c.g,setDiagramTitle:c.q,getDiagramTitle:c.t,setDisplayMode:function(t){x=t},getDisplayMode:function(){return x},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){v=t,b.push(t)},getSections:function(){return b},getTasks:function(){let t=G(),e=0;for(;!t&&e<10;)t=G(),e++;return T=B,T},addTask:function(t,e){const n={section:v,type:v,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),s={};R(i,s,w);for(let t=0;t{c.u.runFunc(e,...i)}))}(t,e,n)})),H(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.Jf)(e)),t.split(",").forEach((function(t){void 0!==N(t)&&(j(t,(()=>{window.open(n,"_self")})),g[t]=n)})),H(t,"clickable")},getLinks:function(){return g},bindFunctions:function(t){_.forEach((function(e){e(t)}))},parseDuration:L,isInvalidDate:E,setWeekday:function(t){C=t},getWeekday:function(){return C}};function R(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const s=new RegExp("^\\s*"+n+"\\s*$");t[0].match(s)&&(e[n]=!0,t.shift(1),i=!0)}))}const V={monday:l.ABi,tuesday:l.PGu,wednesday:l.GuW,thursday:l.Mol,friday:l.TUC,saturday:l.rGn,sunday:l.YPH},Z=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),s=0;for(const t of i)for(let i=0;i=n[i]){n[i]=t.endTime,t.order=i+e,i>s&&(s=i);break}return s};let X;const q={setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const r=(0,c.c)().gantt,a=(0,c.c)().securityLevel;let o;"sandbox"===a&&(o=(0,l.Ltv)("#i"+e));const d="sandbox"===a?(0,l.Ltv)(o.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),u="sandbox"===a?o.nodes()[0].contentDocument:document,h=u.getElementById(e);X=h.parentElement.offsetWidth,void 0===X&&(X=1200),void 0!==r.useWidth&&(X=r.useWidth);const f=i.db.getTasks();let y=[];for(const t of f)y.push(t.type);y=function(t){const e={},n=[];for(let i=0,s=t.length;ie.type===t)).length}h.setAttribute("viewBox","0 0 "+X+" "+k);const p=d.select(`[id="${e}"]`),g=(0,l.w7C)().domain([(0,l.jkA)(f,(function(t){return t.startTime})),(0,l.T9B)(f,(function(t){return t.endTime}))]).rangeRound([0,X-r.leftPadding-r.rightPadding]);f.sort((function(t,e){const n=t.startTime,i=e.startTime;let s=0;return n>i?s=1:nf)&&(f=e);if(!h||!f)return;if(s(f).diff(s(h),"year")>5)return void c.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");const y=i.db.getDateFormat(),m=[];let k=null,b=s(h);for(;b.valueOf()<=f;)i.db.isInvalidDate(b,y,d,u)?k?k.end=b:k={start:b,end:b}:k&&(m.push(k),k=null),b=b.add(1,"d");p.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return g(t.start)+n})).attr("y",r.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return g(e)-g(t.start)})).attr("height",o-e-r.gridLineStartPadding).attr("transform-origin",(function(e,i){return(g(e.start)+n+.5*(g(e.end)-g(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range")}(d,h,f,0,a,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,s){let a=(0,l.l78)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.DCK)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==o){const t=o[1],e=o[2],n=i.db.getWeekday()||r.weekday;switch(e){case"millisecond":a.ticks(l.t6C.every(t));break;case"second":a.ticks(l.ucG.every(t));break;case"minute":a.ticks(l.wXd.every(t));break;case"hour":a.ticks(l.Agd.every(t));break;case"day":a.ticks(l.UAC.every(t));break;case"week":a.ticks(V[n].every(t));break;case"month":a.ticks(l.Ui6.every(t))}}if(p.append("g").attr("class","grid").attr("transform","translate("+t+", "+(s-50)+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let n=(0,l.tlR)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.DCK)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1],e=o[2],s=i.db.getWeekday()||r.weekday;switch(e){case"millisecond":n.ticks(l.t6C.every(t));break;case"second":n.ticks(l.ucG.every(t));break;case"minute":n.ticks(l.wXd.every(t));break;case"hour":n.ticks(l.Agd.every(t));break;case"day":n.ticks(l.UAC.every(t));break;case"week":n.ticks(V[s].every(t));break;case"month":n.ticks(l.Ui6.every(t))}}p.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(f,h,0,a),function(t,n,s,a,o,d,u){const h=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));p.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+s-2})).attr("width",(function(){return u-r.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of y.entries())if(t.type===n)return"section section"+e%r.numberSectionStyles;return"section section0"}));const f=p.append("g").selectAll("rect").data(t).enter(),m=i.db.getLinks();if(f.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))-.5*o:g(t.startTime)+a})).attr("y",(function(t,e){return t.order*n+s})).attr("width",(function(t){return t.milestone?o:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+s+.5*o).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of y.entries())t.type===i&&(n=e%r.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),f.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",r.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*o),t.milestone&&(n=e+o);const i=this.getBBox().width;return i>n-e?n+i+1.5*r.leftPadding>u?e+a-5:n+a+5:(n-e)/2+e+a})).attr("y",(function(t,e){return t.order*n+r.barHeight/2+(r.fontSize/2-2)+s})).attr("text-height",o).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+o);const i=this.getBBox().width;let s="";t.classes.length>0&&(s=t.classes.join(" "));let a=0;for(const[e,n]of y.entries())t.type===n&&(a=e%r.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+a:"activeText"+a),t.done?c=t.crit?c+" doneCritText"+a:c+" doneText"+a:t.crit&&(c=c+" critText"+a),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?s+" taskTextOutsideLeft taskTextOutside"+a+" "+c:s+" taskTextOutsideRight taskTextOutside"+a+" "+c+" width-"+i:s+" taskText taskText"+a+" "+c+" width-"+i})),"sandbox"===(0,c.c)().securityLevel){let t;t=(0,l.Ltv)("#i"+e);const n=t.nodes()[0].contentDocument;f.filter((function(t){return void 0!==m[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const s=e.parentNode;var r=n.createElement("a");r.setAttribute("xlink:href",m[t.id]),r.setAttribute("target","_top"),s.appendChild(r),r.appendChild(e),r.appendChild(i)}))}}(t,d,h,f,o,0,n),function(t,e){let n=0;const i=Object.keys(m).map((t=>[t,m[t]]));p.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.lineBreakRegex),n=-(e.length-1)/2,i=u.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=u.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,i.appendChild(e)}return i})).attr("x",10).attr("y",(function(s,r){if(!(r>0))return s[1]*t/2+e;for(let a=0;a`\n .mermaid-main-font {\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n }\n\n .grid .tick text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n }\n\n\n /* Special case clickable */\n\n .task.clickable {\n cursor: pointer;\n }\n\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.titleColor||t.textColor};\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/925.mjs b/resources/daux/themes/rsp/js/925.mjs new file mode 100644 index 0000000..9806299 --- /dev/null +++ b/resources/daux/themes/rsp/js/925.mjs @@ -0,0 +1 @@ +export const id=925;export const ids=[925];export const modules={2925:(t,i,e)=>{e.d(i,{diagram:()=>F});var s=e(5950),n=e(4274),a=e(1062),h=(e(4353),e(6750),e(2838),function(){var t=function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],a=[1,6],h=[1,7],o=[1,5,10,12,14,16,18,19,21,23,34,35,36],r=[1,25],l=[1,26],c=[1,28],g=[1,29],u=[1,30],x=[1,31],d=[1,32],p=[1,33],f=[1,34],y=[1,35],m=[1,36],b=[1,37],A=[1,43],w=[1,42],S=[1,47],C=[1,50],k=[1,10,12,14,16,18,19,21,23,34,35,36],_=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],D={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:function(t,i,e,s,n,a,h){var o=a.length-1;switch(n){case 5:s.setOrientation(a[o]);break;case 9:s.setDiagramTitle(a[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},a[o]);break;case 13:s.setLineData(a[o-1],a[o]);break;case 14:s.setBarData({text:"",type:"text"},a[o]);break;case 15:s.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:s.setXAxisTitle(a[o]);break;case 23:s.setXAxisTitle(a[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(a[o]);break;case 26:s.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:s.setYAxisTitle(a[o]);break;case 31:s.setYAxisTitle(a[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}},table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:a,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:a,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:a,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(o,[2,34]),t(o,[2,35]),t(o,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:a,36:h}),{1:[2,3]},t(o,[2,5]),t(i,[2,7],{4:22,34:n,35:a,36:h}),{11:23,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:39,13:38,24:A,27:w,29:40,30:41,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:45,15:44,27:S,33:46,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:49,17:48,24:C,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:52,17:51,24:C,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{20:[1,53]},{22:[1,54]},t(k,[2,18]),{1:[2,2]},t(k,[2,8]),t(k,[2,9]),t(_,[2,37],{40:55,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b}),t(_,[2,38]),t(_,[2,39]),t(T,[2,40]),t(T,[2,42]),t(T,[2,43]),t(T,[2,44]),t(T,[2,45]),t(T,[2,46]),t(T,[2,47]),t(T,[2,48]),t(T,[2,49]),t(T,[2,50]),t(T,[2,51]),t(k,[2,10]),t(k,[2,22],{30:41,29:56,24:A,27:w}),t(k,[2,24]),t(k,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},t(k,[2,11]),t(k,[2,30],{33:60,27:S}),t(k,[2,32]),{31:[1,61]},t(k,[2,12]),{17:62,24:C},{25:63,27:R},t(k,[2,14]),{17:65,24:C},t(k,[2,16]),t(k,[2,17]),t(T,[2,41]),t(k,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(k,[2,31]),{27:[1,69]},t(k,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(k,[2,15]),t(k,[2,26]),t(k,[2,27]),{11:59,32:72,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},t(k,[2,33]),t(k,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},parse:function(t){var i=[0],e=[],s=[null],n=[],a=this.table,h="",o=0,r=0,l=n.slice.call(arguments,1),c=Object.create(this.lexer),g={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(g.yy[u]=this.yy[u]);c.setInput(t,g.yy),g.yy.lexer=c,g.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var x=c.yylloc;n.push(x);var d=c.options&&c.options.ranges;"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,f,y,m,b,A,w,S,C,k={};;){if(f=i[i.length-1],this.defaultActions[f]?y=this.defaultActions[f]:(null==p&&(C=void 0,"number"!=typeof(C=e.pop()||c.lex()||1)&&(C instanceof Array&&(C=(e=C).pop()),C=this.symbols_[C]||C),p=C),y=a[f]&&a[f][p]),void 0===y||!y.length||!y[0]){var _;for(b in S=[],a[f])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");_=c.showPosition?"Parse error on line "+(o+1)+":\n"+c.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(_,{text:c.match,token:this.terminals_[p]||p,line:c.yylineno,loc:x,expected:S})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+p);switch(y[0]){case 1:i.push(p),s.push(c.yytext),n.push(c.yylloc),i.push(y[1]),p=null,r=c.yyleng,h=c.yytext,o=c.yylineno,x=c.yylloc;break;case 2:if(A=this.productions_[y[1]][1],k.$=s[s.length-A],k._$={first_line:n[n.length-(A||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(A||1)].first_column,last_column:n[n.length-1].last_column},d&&(k._$.range=[n[n.length-(A||1)].range[0],n[n.length-1].range[1]]),void 0!==(m=this.performAction.apply(k,[h,r,o,g.yy,y[1],s,n].concat(l))))return m;A&&(i=i.slice(0,-1*A*2),s=s.slice(0,-1*A),n=n.slice(0,-1*A)),i.push(this.productions_[y[1]][0]),s.push(k.$),n.push(k._$),w=a[i[i.length-2]][i[i.length-1]],i.push(w);break;case 3:return!0}}return!0}},L={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=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),e.length-1&&(this.yylineno-=e.length-1);var n=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:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var e,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,e,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;ai[0].length)){if(i=e,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[a])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,e,s){switch(e){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};function P(){this.yy={}}return D.lexer=L,P.prototype=D,D.Parser=P,new P}());h.parser=h;const o=h;function r(t){return"bar"===t.type}function l(t){return"band"===t.type}function c(t){return"linear"===t.type}class g{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce(((t,i)=>Math.max(i.length,t)),0)*i,height:i};const e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const a of t){const t=(0,n.c)(s,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return s.remove(),e}}class u{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((t=>t.toString())),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);const n=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);const n=e.width+2*this.axisConfig.labelPadding;n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"})))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"})))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"})))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}}class x extends u{constructor(t,i,e,s,n){super(t,s,n,i),this.categories=e,this.scale=(0,a.WH)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,a.WH)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),s.l.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)||this.getRange()[0]}}class d extends u{constructor(t,i,e,s,n){super(t,s,n,i),this.domain=e,this.scale=(0,a.m4Y)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,a.m4Y)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}}function p(t,i,e,s){const n=new g(s);return l(t)?new x(i,e,t.categories,t.title,n):new d(i,e,[t.min,t.max],t.title,n)}class f{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}}function y(t,i,e,s){const n=new g(s);return new f(n,t,i,e)}class m{constructor(t,i,e,s,n){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=n}getDrawableElement(){const t=this.plotData.data.map((t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]));let i;return i="horizontal"===this.orientation?(0,a.n8j)().y((t=>t[0])).x((t=>t[1]))(t):(0,a.n8j)().x((t=>t[0])).y((t=>t[1]))(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class b{constructor(t,i,e,s,n,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=n,this.plotIndex=a}getDrawableElement(){const t=this.barData.data.map((t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])])),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map((t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill})))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map((t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill})))}]}}class A{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{const s=new m(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{const s=new b(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}}function w(t,i,e){return new A(t,i,e)}class S{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:y(t,i,e,s),plot:w(t,i,e),xAxis:p(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:p(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:a});t-=h.width,i-=h.height,h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=h.height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),h=this.componentStore.yAxis.calculateSpace({width:t,height:i}),e=h.width,t-=h.width,t>0&&(n+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+a}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some((t=>r(t)))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:h});t-=o.width,i-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),e=o.height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,n=e+o.height,t>0&&(a+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([n,n+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some((t=>r(t)))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}}class C{static build(t,i,e,s){return new S(t,i,e,s).getDrawableElement()}}let k,_=0,T=I(),R=v(),D={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},L=R.plotColorPalette.split(",").map((t=>t.trim())),P=!1,E=!1;function v(){const t=(0,s.E)(),i=(0,s.F)();return(0,s.C)(t.xyChart,i.themeVariables.xyChart)}function I(){const t=(0,s.F)();return(0,s.C)(s.B.xyChart,t.xyChart)}function M(t){const i=(0,s.F)();return(0,s.d)(t.trim(),i)}function $(t,i){D.xAxis={type:"linear",title:D.xAxis.title,min:t,max:i},P=!0}function z(t){let i=[];if(0===t.length)return i;if(!P){const i=c(D.xAxis)?D.xAxis.min:1/0,e=c(D.xAxis)?D.xAxis.max:-1/0;$(Math.min(i,1),Math.max(e,t.length))}if(E||function(t){const i=Math.min(...t),e=Math.max(...t),s=c(D.yAxis)?D.yAxis.min:1/0,n=c(D.yAxis)?D.yAxis.max:-1/0;D.yAxis={type:"linear",title:D.yAxis.title,min:Math.min(s,i),max:Math.max(n,e)}}(t),l(D.xAxis)&&(i=D.xAxis.categories.map(((i,e)=>[i,t[e]]))),c(D.xAxis)){const e=D.xAxis.min,s=D.xAxis.max,n=(s-e+1)/t.length,a=[];for(let t=e;t<=s;t+=n)a.push(`${t}`);i=a.map(((i,e)=>[i,t[e]]))}return i}function B(t){return L[0===t?0:t%L.length]}const W={draw:(t,i,e,n)=>{const a=n.db,h=a.getChartThemeConfig(),o=a.getChartConfig();function r(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}s.l.debug("Rendering xychart chart\n"+t);const l=(0,s.A)(i),c=l.append("g").attr("class","main"),g=c.append("rect").attr("width",o.width).attr("height",o.height).attr("class","background");(0,s.i)(l,o.height,o.width,!0),l.attr("viewBox",`0 0 ${o.width} ${o.height}`),g.attr("fill",h.backgroundColor),a.setTmpSVGG(l.append("g").attr("class","mermaid-tmp-group"));const u=a.getDrawableElem(),x={};function d(t){let i=c,e="";for(const[s]of t.entries()){let n=c;s>0&&x[e]&&(n=x[e]),e+=t[s],i=x[e],i||(i=x[e]=n.append("g").attr("class",t[s]))}return i}for(const t of u){if(0===t.data.length)continue;const i=d(t.groupTexts);switch(t.type){case"rect":i.selectAll("rect").data(t.data).enter().append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)).attr("stroke",(t=>t.strokeFill)).attr("stroke-width",(t=>t.strokeWidth));break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>"top"===t.verticalPos?"text-before-edge":"middle")).attr("text-anchor",(t=>{return"left"===(i=t.horizontalPos)?"start":"right"===i?"end":"middle";var i})).attr("transform",(t=>r(t))).text((t=>t.text));break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",(t=>t.path)).attr("fill",(t=>t.fill?t.fill:"none")).attr("stroke",(t=>t.strokeFill)).attr("stroke-width",(t=>t.strokeWidth))}}}},F={parser:o,db:{getDrawableElem:function(){if(0===D.plots.length)throw Error("No Plot to render, please provide a plot with some data");return D.title=(0,s.t)(),C.build(T,D,R,k)},clear:function(){(0,s.v)(),_=0,T=I(),D={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},R=v(),L=R.plotColorPalette.split(",").map((t=>t.trim())),P=!1,E=!1},setAccTitle:s.s,getAccTitle:s.g,setDiagramTitle:s.q,getDiagramTitle:s.t,getAccDescription:s.a,setAccDescription:s.b,setOrientation:function(t){T.chartOrientation="horizontal"===t?"horizontal":"vertical"},setXAxisTitle:function(t){D.xAxis.title=M(t.text)},setXAxisRangeData:$,setXAxisBand:function(t){D.xAxis={type:"band",title:D.xAxis.title,categories:t.map((t=>M(t.text)))},P=!0},setYAxisTitle:function(t){D.yAxis.title=M(t.text)},setYAxisRangeData:function(t,i){D.yAxis={type:"linear",title:D.yAxis.title,min:t,max:i},E=!0},setLineData:function(t,i){const e=z(i);D.plots.push({type:"line",strokeFill:B(_),strokeWidth:2,data:e}),_++},setBarData:function(t,i){const e=z(i);D.plots.push({type:"bar",fill:B(_),data:e}),_++},setTmpSVGG:function(t){k=t},getChartThemeConfig:function(){return R},getChartConfig:function(){return T}},renderer:W}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/943.mjs b/resources/daux/themes/rsp/js/943.mjs new file mode 100644 index 0000000..96bb4b6 --- /dev/null +++ b/resources/daux/themes/rsp/js/943.mjs @@ -0,0 +1 @@ +export const id=943;export const ids=[943];export const modules={4943:(t,e,r)=>{r.d(e,{diagram:()=>P});var i=r(5950),a=r(1062),n=(r(4353),r(6750),r(2838),function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[1,3],r=[1,6],i=[1,4],a=[1,5],n=[2,5],c=[1,12],s=[5,7,13,19,21,23,24,26,28,31,37,40,47],o=[7,13,19,21,23,24,26,28,31,37,40],l=[7,12,13,19,21,23,24,26,28,31,37,40],h=[7,13,47],m=[1,42],y=[1,41],u=[7,13,29,32,35,38,47],p=[1,55],g=[1,56],b=[1,57],d=[7,13,32,35,42,47],$={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(t,e,r,i,a,n,c){var s=n.length-1;switch(a){case 2:return n[s];case 3:return n[s-1];case 4:return i.setDirection(n[s-3]),n[s-1];case 6:i.setOptions(n[s-1]),this.$=n[s];break;case 7:n[s-1]+=n[s],this.$=n[s-1];break;case 9:this.$=[];break;case 10:n[s-1].push(n[s]),this.$=n[s-1];break;case 11:this.$=n[s-1];break;case 16:this.$=n[s].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=n[s].trim(),i.setAccDescription(this.$);break;case 19:i.addSection(n[s].substr(8)),this.$=n[s].substr(8);break;case 21:i.checkout(n[s]);break;case 22:i.branch(n[s]);break;case 23:i.branch(n[s-2],n[s]);break;case 24:i.cherryPick(n[s],"",void 0);break;case 25:i.cherryPick(n[s-2],"",void 0,n[s]);break;case 26:i.cherryPick(n[s-2],"",n[s]);break;case 27:i.cherryPick(n[s-4],"",n[s],n[s-2]);break;case 28:i.cherryPick(n[s-4],"",n[s-2],n[s]);break;case 29:i.cherryPick(n[s],"",n[s-2]);break;case 30:i.cherryPick(n[s],"","");break;case 31:i.cherryPick(n[s-2],"","");break;case 32:i.cherryPick(n[s-4],"","",n[s-2]);break;case 33:i.cherryPick(n[s-4],"","",n[s]);break;case 34:i.cherryPick(n[s-2],"",n[s-4],n[s]);break;case 35:i.cherryPick(n[s-2],"","",n[s]);break;case 36:i.merge(n[s],"","","");break;case 37:i.merge(n[s-2],n[s],"","");break;case 38:i.merge(n[s-2],"",n[s],"");break;case 39:i.merge(n[s-2],"","",n[s]);break;case 40:i.merge(n[s-4],n[s],"",n[s-2]);break;case 41:i.merge(n[s-4],"",n[s],n[s-2]);break;case 42:i.merge(n[s-4],"",n[s-2],n[s]);break;case 43:i.merge(n[s-4],n[s-2],n[s],"");break;case 44:i.merge(n[s-4],n[s-2],"",n[s]);break;case 45:i.merge(n[s-4],n[s],n[s-2],"");break;case 46:i.merge(n[s-6],n[s-4],n[s-2],n[s]);break;case 47:i.merge(n[s-6],n[s],n[s-4],n[s-2]);break;case 48:i.merge(n[s-6],n[s-4],n[s],n[s-2]);break;case 49:i.merge(n[s-6],n[s-2],n[s-4],n[s]);break;case 50:i.merge(n[s-6],n[s],n[s-2],n[s-4]);break;case 51:i.merge(n[s-6],n[s-2],n[s],n[s-4]);break;case 52:i.commit(n[s]);break;case 53:i.commit("","",i.commitType.NORMAL,n[s]);break;case 54:i.commit("","",n[s],"");break;case 55:i.commit("","",n[s],n[s-2]);break;case 56:i.commit("","",n[s-2],n[s]);break;case 57:i.commit("",n[s],i.commitType.NORMAL,"");break;case 58:i.commit("",n[s-2],i.commitType.NORMAL,n[s]);break;case 59:i.commit("",n[s],i.commitType.NORMAL,n[s-2]);break;case 60:i.commit("",n[s-2],n[s],"");break;case 61:i.commit("",n[s],n[s-2],"");break;case 62:i.commit("",n[s-4],n[s-2],n[s]);break;case 63:i.commit("",n[s-4],n[s],n[s-2]);break;case 64:i.commit("",n[s-2],n[s-4],n[s]);break;case 65:i.commit("",n[s],n[s-4],n[s-2]);break;case 66:i.commit("",n[s],n[s-2],n[s-4]);break;case 67:i.commit("",n[s-2],n[s],n[s-4]);break;case 68:i.commit(n[s],"",i.commitType.NORMAL,"");break;case 69:i.commit(n[s],"",i.commitType.NORMAL,n[s-2]);break;case 70:i.commit(n[s-2],"",i.commitType.NORMAL,n[s]);break;case 71:i.commit(n[s-2],"",n[s],"");break;case 72:i.commit(n[s],"",n[s-2],"");break;case 73:i.commit(n[s],n[s-2],i.commitType.NORMAL,"");break;case 74:i.commit(n[s-2],n[s],i.commitType.NORMAL,"");break;case 75:i.commit(n[s-4],"",n[s-2],n[s]);break;case 76:i.commit(n[s-4],"",n[s],n[s-2]);break;case 77:i.commit(n[s-2],"",n[s-4],n[s]);break;case 78:i.commit(n[s],"",n[s-4],n[s-2]);break;case 79:i.commit(n[s],"",n[s-2],n[s-4]);break;case 80:i.commit(n[s-2],"",n[s],n[s-4]);break;case 81:i.commit(n[s-4],n[s],n[s-2],"");break;case 82:i.commit(n[s-4],n[s-2],n[s],"");break;case 83:i.commit(n[s-2],n[s],n[s-4],"");break;case 84:i.commit(n[s],n[s-2],n[s-4],"");break;case 85:i.commit(n[s],n[s-4],n[s-2],"");break;case 86:i.commit(n[s-2],n[s-4],n[s],"");break;case 87:i.commit(n[s-4],n[s],i.commitType.NORMAL,n[s-2]);break;case 88:i.commit(n[s-4],n[s-2],i.commitType.NORMAL,n[s]);break;case 89:i.commit(n[s-2],n[s],i.commitType.NORMAL,n[s-4]);break;case 90:i.commit(n[s],n[s-2],i.commitType.NORMAL,n[s-4]);break;case 91:i.commit(n[s],n[s-4],i.commitType.NORMAL,n[s-2]);break;case 92:i.commit(n[s-2],n[s-4],i.commitType.NORMAL,n[s]);break;case 93:i.commit(n[s-6],n[s-4],n[s-2],n[s]);break;case 94:i.commit(n[s-6],n[s-4],n[s],n[s-2]);break;case 95:i.commit(n[s-6],n[s-2],n[s-4],n[s]);break;case 96:i.commit(n[s-6],n[s],n[s-4],n[s-2]);break;case 97:i.commit(n[s-6],n[s-2],n[s],n[s-4]);break;case 98:i.commit(n[s-6],n[s],n[s-2],n[s-4]);break;case 99:i.commit(n[s-4],n[s-6],n[s-2],n[s]);break;case 100:i.commit(n[s-4],n[s-6],n[s],n[s-2]);break;case 101:i.commit(n[s-2],n[s-6],n[s-4],n[s]);break;case 102:i.commit(n[s],n[s-6],n[s-4],n[s-2]);break;case 103:i.commit(n[s-2],n[s-6],n[s],n[s-4]);break;case 104:i.commit(n[s],n[s-6],n[s-2],n[s-4]);break;case 105:i.commit(n[s],n[s-4],n[s-2],n[s-6]);break;case 106:i.commit(n[s-2],n[s-4],n[s],n[s-6]);break;case 107:i.commit(n[s],n[s-2],n[s-4],n[s-6]);break;case 108:i.commit(n[s-2],n[s],n[s-4],n[s-6]);break;case 109:i.commit(n[s-4],n[s-2],n[s],n[s-6]);break;case 110:i.commit(n[s-4],n[s],n[s-2],n[s-6]);break;case 111:i.commit(n[s-2],n[s-4],n[s-6],n[s]);break;case 112:i.commit(n[s],n[s-4],n[s-6],n[s-2]);break;case 113:i.commit(n[s-2],n[s],n[s-6],n[s-4]);break;case 114:i.commit(n[s],n[s-2],n[s-6],n[s-4]);break;case 115:i.commit(n[s-4],n[s-2],n[s-6],n[s]);break;case 116:i.commit(n[s-4],n[s],n[s-6],n[s-2]);break;case 117:this.$="";break;case 118:this.$=n[s];break;case 119:this.$=i.commitType.NORMAL;break;case 120:this.$=i.commitType.REVERSE;break;case 121:this.$=i.commitType.HIGHLIGHT}},table:[{3:1,4:2,5:e,7:r,13:i,47:a},{1:[3]},{3:7,4:2,5:e,7:r,13:i,47:a},{6:8,7:n,8:[1,9],9:[1,10],10:11,13:c},t(s,[2,124]),t(s,[2,125]),t(s,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:n,10:11,13:c},{8:[1,15]},t(o,[2,9],{11:16,12:[1,17]}),t(l,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:n,10:11,13:c},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},t(l,[2,7]),{1:[2,3]},{7:[1,36]},t(o,[2,10]),{4:37,7:r,13:i,47:a},t(o,[2,12]),t(h,[2,13]),t(h,[2,14]),t(h,[2,15]),{20:[1,38]},{22:[1,39]},t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),{27:40,33:m,46:y},t(h,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:m,46:y},{32:[1,50],35:[1,51]},{27:52,33:m,46:y},{1:[2,4]},t(o,[2,11]),t(h,[2,16]),t(h,[2,17]),t(h,[2,21]),t(u,[2,122]),t(u,[2,123]),t(h,[2,52]),{33:[1,53]},{39:54,43:p,44:g,45:b},{33:[1,58]},{33:[1,59]},t(h,[2,118]),t(h,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},t(h,[2,22],{29:[1,66]}),t(h,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),t(h,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),t(d,[2,119]),t(d,[2,120]),t(d,[2,121]),t(h,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),t(h,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:p,44:g,45:b},{33:[1,81]},t(h,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:p,44:g,45:b},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:p,44:g,45:b},{33:[1,95]},{33:[1,96]},{39:97,43:p,44:g,45:b},{33:[1,98]},t(h,[2,37],{35:[1,100],38:[1,99]}),t(h,[2,38],{32:[1,102],35:[1,101]}),t(h,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},t(h,[2,23]),t(h,[2,55],{32:[1,110],42:[1,111]}),t(h,[2,59],{38:[1,112],42:[1,113]}),t(h,[2,69],{32:[1,115],38:[1,114]}),t(h,[2,56],{32:[1,116],42:[1,117]}),t(h,[2,61],{35:[1,118],42:[1,119]}),t(h,[2,72],{32:[1,121],35:[1,120]}),t(h,[2,58],{38:[1,122],42:[1,123]}),t(h,[2,60],{35:[1,124],42:[1,125]}),t(h,[2,73],{35:[1,127],38:[1,126]}),t(h,[2,70],{32:[1,129],38:[1,128]}),t(h,[2,71],{32:[1,131],35:[1,130]}),t(h,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:p,44:g,45:b},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:p,44:g,45:b},t(h,[2,25],{35:[1,140]}),t(h,[2,26],{34:[1,141]}),t(h,[2,31],{34:[1,142]}),t(h,[2,29],{34:[1,143]}),t(h,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:p,44:g,45:b},{33:[1,148]},{39:149,43:p,44:g,45:b},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:p,44:g,45:b},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:p,44:g,45:b},{33:[1,162]},{39:163,43:p,44:g,45:b},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:p,44:g,45:b},{33:[1,168]},t(h,[2,43],{35:[1,169]}),t(h,[2,44],{38:[1,170]}),t(h,[2,42],{32:[1,171]}),t(h,[2,45],{35:[1,172]}),t(h,[2,40],{38:[1,173]}),t(h,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},t(h,[2,66],{42:[1,181]}),t(h,[2,79],{32:[1,182]}),t(h,[2,67],{42:[1,183]}),t(h,[2,90],{38:[1,184]}),t(h,[2,80],{32:[1,185]}),t(h,[2,89],{38:[1,186]}),t(h,[2,65],{42:[1,187]}),t(h,[2,78],{32:[1,188]}),t(h,[2,64],{42:[1,189]}),t(h,[2,84],{35:[1,190]}),t(h,[2,77],{32:[1,191]}),t(h,[2,83],{35:[1,192]}),t(h,[2,63],{42:[1,193]}),t(h,[2,91],{38:[1,194]}),t(h,[2,62],{42:[1,195]}),t(h,[2,85],{35:[1,196]}),t(h,[2,86],{35:[1,197]}),t(h,[2,92],{38:[1,198]}),t(h,[2,76],{32:[1,199]}),t(h,[2,87],{38:[1,200]}),t(h,[2,75],{32:[1,201]}),t(h,[2,81],{35:[1,202]}),t(h,[2,82],{35:[1,203]}),t(h,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:p,44:g,45:b},{33:[1,207]},{33:[1,208]},{39:209,43:p,44:g,45:b},{33:[1,210]},t(h,[2,27]),t(h,[2,32]),t(h,[2,28]),t(h,[2,33]),t(h,[2,34]),t(h,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:p,44:g,45:b},{33:[1,215]},{39:216,43:p,44:g,45:b},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:p,44:g,45:b},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:p,44:g,45:b},{33:[1,229]},{39:230,43:p,44:g,45:b},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:p,44:g,45:b},t(h,[2,46]),t(h,[2,48]),t(h,[2,47]),t(h,[2,49]),t(h,[2,51]),t(h,[2,50]),t(h,[2,107]),t(h,[2,108]),t(h,[2,105]),t(h,[2,106]),t(h,[2,110]),t(h,[2,109]),t(h,[2,114]),t(h,[2,113]),t(h,[2,112]),t(h,[2,111]),t(h,[2,116]),t(h,[2,115]),t(h,[2,104]),t(h,[2,103]),t(h,[2,102]),t(h,[2,101]),t(h,[2,99]),t(h,[2,100]),t(h,[2,98]),t(h,[2,97]),t(h,[2,96]),t(h,[2,95]),t(h,[2,93]),t(h,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],a=[],n=this.table,c="",s=0,o=0,l=a.slice.call(arguments,1),h=Object.create(this.lexer),m={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(m.yy[y]=this.yy[y]);h.setInput(t,m.yy),m.yy.lexer=h,m.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;a.push(u);var p=h.options&&h.options.ranges;"function"==typeof m.yy.parseError?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,b,d,$,f,k,x,_,T,w={};;){if(b=e[e.length-1],this.defaultActions[b]?d=this.defaultActions[b]:(null==g&&(T=void 0,"number"!=typeof(T=r.pop()||h.lex()||1)&&(T instanceof Array&&(T=(r=T).pop()),T=this.symbols_[T]||T),g=T),d=n[b]&&n[b][g]),void 0===d||!d.length||!d[0]){var E;for(f in _=[],n[b])this.terminals_[f]&&f>2&&_.push("'"+this.terminals_[f]+"'");E=h.showPosition?"Parse error on line "+(s+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:u,expected:_})}if(d[0]instanceof Array&&d.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(d[0]){case 1:e.push(g),i.push(h.yytext),a.push(h.yylloc),e.push(d[1]),g=null,o=h.yyleng,c=h.yytext,s=h.yylineno,u=h.yylloc;break;case 2:if(k=this.productions_[d[1]][1],w.$=i[i.length-k],w._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},p&&(w._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),void 0!==($=this.performAction.apply(w,[c,o,s,m.yy,d[1],i,a].concat(l))))return $;k&&(e=e.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),e.push(this.productions_[d[1]][0]),i.push(w.$),a.push(w._$),x=n[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},f={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),r.length-1&&(this.yylineno-=r.length-1);var a=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:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 30:case 34:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};function k(){this.yy={}}return $.lexer=f,k.prototype=$,$.Parser=k,new k}());n.parser=n;const c=n;let s=(0,i.c)().gitGraph.mainBranchName,o=(0,i.c)().gitGraph.mainBranchOrder,l={},h=null,m={};m[s]={name:s,order:o};let y={};y[s]=h;let u=s,p="LR",g=0;function b(){return(0,i.y)({length:7})}let d={};const $=function(t){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0===y[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{u=t;const e=y[u];h=l[e]}};function f(t,e,r){const i=t.indexOf(e);-1===i?t.push(r):t.splice(i,1,r)}function k(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let r="";t.forEach((function(t){r+=t===e?"\t*":"\t|"}));const a=[r,e.id,e.seq];for(let t in y)y[t]===e.id&&a.push(t);if(i.l.debug(a.join(" ")),e.parents&&2==e.parents.length){const r=l[e.parents[0]];f(t,e,r),t.push(l[e.parents[1]])}else{if(0==e.parents.length)return;{const r=l[e.parents];f(t,e,r)}}k(t=function(t){const e=Object.create(null);return t.reduce(((t,r)=>{const i=r.id;return e[i]||(e[i]=!0,t.push(r)),t}),[])}(t))}const x=function(){const t=Object.keys(l).map((function(t){return l[t]}));return t.forEach((function(t){i.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},_={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},T={getConfig:()=>(0,i.c)().gitGraph,setDirection:function(t){p=t},setOptions:function(t){i.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{d=JSON.parse(t)}catch(t){i.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return d},commit:function(t,e,r,a){i.l.debug("Entering commit:",t,e,r,a),e=i.e.sanitizeText(e,(0,i.c)()),t=i.e.sanitizeText(t,(0,i.c)()),a=i.e.sanitizeText(a,(0,i.c)());const n={id:e||g+"-"+b(),message:t,seq:g++,type:r||_.NORMAL,tag:a||"",parents:null==h?[]:[h.id],branch:u};h=n,l[n.id]=n,y[u]=n.id,i.l.debug("in pushCommit "+n.id)},branch:function(t,e){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0!==y[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}y[t]=null!=h?h.id:null,m[t]={name:t,order:e?parseInt(e,10):null},$(t),i.l.debug("in createBranch")},merge:function(t,e,r,a){t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)());const n=l[y[u]],c=l[y[t]];if(u===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===n||!n){let e=new Error('Incorrect usage of "merge". Current branch ('+u+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===y[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===c||!c){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(n===c){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==l[e]){let i=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw i.hash={text:"merge "+t+e+r+a,token:"merge "+t+e+r+a,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+r+" "+a]},i}const s={id:e||g+"-"+b(),message:"merged branch "+t+" into "+u,seq:g++,parents:[null==h?null:h.id,y[t]],branch:u,type:_.MERGE,customType:r,customId:!!e,tag:a||""};h=s,l[s.id]=s,y[u]=s.id,i.l.debug(y),i.l.debug("in mergeBranch")},cherryPick:function(t,e,r,a){if(i.l.debug("Entering cherryPick:",t,e,r),t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)()),r=i.e.sanitizeText(r,(0,i.c)()),a=i.e.sanitizeText(a,(0,i.c)()),!t||void 0===l[t]){let r=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw r.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},r}let n=l[t],c=n.branch;if(a&&(!Array.isArray(n.parents)||!n.parents.includes(a)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(n.type===_.MERGE&&!a)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!e||void 0===l[e]){if(c===u){let r=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw r.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},r}const s=l[y[u]];if(void 0===s||!s){let r=new Error('Incorrect usage of "cherry-pick". Current branch ('+u+")has no commits");throw r.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},r}const o={id:g+"-"+b(),message:"cherry-picked "+n+" into "+u,seq:g++,parents:[null==h?null:h.id,n.id],branch:u,type:_.CHERRY_PICK,tag:r??`cherry-pick:${n.id}${n.type===_.MERGE?`|parent:${a}`:""}`};h=o,l[o.id]=o,y[u]=o.id,i.l.debug(y),i.l.debug("in cherryPick")}},checkout:$,prettyPrint:function(){i.l.debug(l),k([x()[0]])},clear:function(){l={},h=null;let t=(0,i.c)().gitGraph.mainBranchName,e=(0,i.c)().gitGraph.mainBranchOrder;y={},y[t]=null,m={},m[t]={name:t,order:e},u=t,g=0,(0,i.v)()},getBranchesAsObjArray:function(){return Object.values(m).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})))},getBranches:function(){return y},getCommits:function(){return l},getCommitsArray:x,getCurrentBranch:function(){return u},getDirection:function(){return p},getHead:function(){return h},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,setDiagramTitle:i.q,getDiagramTitle:i.t,commitType:_};let w={};let E={},L={},M=[],v=0,I="LR";const A=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let r=[];r="string"==typeof t?t.split(/\\n|\n|/gi):Array.isArray(t)?t:[];for(const t of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}return e},R=(t,e,r)=>{const a=(0,i.c)().gitGraph,n=t.append("g").attr("class","commit-bullets"),c=t.append("g").attr("class","commit-labels");let s=0;"TB"===I&&(s=30);const o=Object.keys(e).sort(((t,r)=>e[t].seq-e[r].seq)),l=a.parallelCommits;o.forEach((t=>{const i=e[t];if(l)if(i.parents.length){const t=(t=>{let e="",r=0;return t.forEach((t=>{const i="TB"===I?L[t].y:L[t].x;i>=r&&(e=t,r=i)})),e||void 0})(i.parents);s="TB"===I?L[t].y+40:L[t].x+40}else s=0,"TB"===I&&(s=30);const o=s+10,h="TB"===I?o:E[i.branch].pos,m="TB"===I?E[i.branch].pos:o;if(r){let t,e=void 0!==i.customType&&""!==i.customType?i.customType:i.type;switch(e){case 0:default:t="commit-normal";break;case 1:t="commit-reverse";break;case 2:t="commit-highlight";break;case 3:t="commit-merge";break;case 4:t="commit-cherry-pick"}if(2===e){const e=n.append("rect");e.attr("x",m-10),e.attr("y",h-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${i.id} commit-highlight${E[i.branch].index%8} ${t}-outer`),n.append("rect").attr("x",m-6).attr("y",h-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${E[i.branch].index%8} ${t}-inner`)}else if(4===e)n.append("circle").attr("cx",m).attr("cy",h).attr("r",10).attr("class",`commit ${i.id} ${t}`),n.append("circle").attr("cx",m-3).attr("cy",h+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),n.append("circle").attr("cx",m+3).attr("cy",h+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),n.append("line").attr("x1",m+3).attr("y1",h+1).attr("x2",m).attr("y2",h-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`),n.append("line").attr("x1",m-3).attr("y1",h+1).attr("x2",m).attr("y2",h-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`);else{const r=n.append("circle");if(r.attr("cx",m),r.attr("cy",h),r.attr("r",3===i.type?9:10),r.attr("class",`commit ${i.id} commit${E[i.branch].index%8}`),3===e){const e=n.append("circle");e.attr("cx",m),e.attr("cy",h),e.attr("r",6),e.attr("class",`commit ${t} ${i.id} commit${E[i.branch].index%8}`)}1===e&&n.append("path").attr("d",`M ${m-5},${h-5}L${m+5},${h+5}M${m-5},${h+5}L${m+5},${h-5}`).attr("class",`commit ${t} ${i.id} commit${E[i.branch].index%8}`)}}if(L[i.id]="TB"===I?{x:m,y:o}:{x:o,y:h},r){const t=4,e=2;if(4!==i.type&&(i.customId&&3===i.type||3!==i.type)&&a.showCommitLabel){const r=c.append("g"),n=r.insert("rect").attr("class","commit-label-bkg"),l=r.append("text").attr("x",s).attr("y",h+25).attr("class","commit-label").text(i.id);let y=l.node().getBBox();if(n.attr("x",o-y.width/2-e).attr("y",h+13.5).attr("width",y.width+2*e).attr("height",y.height+2*e),"TB"===I&&(n.attr("x",m-(y.width+4*t+5)).attr("y",h-12),l.attr("x",m-(y.width+4*t)).attr("y",h+y.height-12)),"TB"!==I&&l.attr("x",o-y.width/2),a.rotateCommitLabel)if("TB"===I)l.attr("transform","rotate(-45, "+m+", "+h+")"),n.attr("transform","rotate(-45, "+m+", "+h+")");else{let t=-7.5-(y.width+10)/25*9.5,e=10+y.width/25*8.5;r.attr("transform","translate("+t+", "+e+") rotate(-45, "+s+", "+h+")")}}if(i.tag){const r=c.insert("polygon"),a=c.append("circle"),n=c.append("text").attr("y",h-16).attr("class","tag-label").text(i.tag);let l=n.node().getBBox();n.attr("x",o-l.width/2);const y=l.height/2,u=h-19.2;r.attr("class","tag-label-bkg").attr("points",`\n ${s-l.width/2-t/2},${u+e}\n ${s-l.width/2-t/2},${u-e}\n ${o-l.width/2-t},${u-y-e}\n ${o+l.width/2+t},${u-y-e}\n ${o+l.width/2+t},${u+y+e}\n ${o-l.width/2-t},${u+y+e}`),a.attr("cx",s-l.width/2+t/2).attr("cy",u).attr("r",1.5).attr("class","tag-hole"),"TB"===I&&(r.attr("class","tag-label-bkg").attr("points",`\n ${m},${s+e}\n ${m},${s-e}\n ${m+10},${s-y-e}\n ${m+10+l.width+t},${s-y-e}\n ${m+10+l.width+t},${s+y+e}\n ${m+10},${s+y+e}`).attr("transform","translate(12,12) rotate(45, "+m+","+s+")"),a.attr("cx",m+t/2).attr("cy",s).attr("transform","translate(12,12) rotate(45, "+m+","+s+")"),n.attr("x",m+5).attr("y",s+3).attr("transform","translate(14,14) rotate(45, "+m+","+s+")"))}}s+=50,s>v&&(v=s)}))},O=(t,e,r=0)=>{const i=t+Math.abs(t-e)/2;if(r>5)return i;if(M.every((t=>Math.abs(t-i)>=10)))return M.push(i),i;const a=Math.abs(t-e);return O(t,e-a/5,r+1)},C=(t,e)=>{const r=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const i=e[t];i.parents&&i.parents.length>0&&i.parents.forEach((t=>{((t,e,r,i)=>{const a=L[e.id],n=L[r.id],c=((t,e,r,i,a)=>{const n=("TB"===I?r.x{return(i=r).seq>t.seq&&i.seqt.branch===n)(r);var i}))})(e,r,a,n,i);let s,o="",l="",h=0,m=0,y=E[r.branch].index;if(3===r.type&&e.id!==r.parents[0]&&(y=E[e.branch].index),c){o="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",h=10,m=10;const t=a.yn.x&&(o="A 20 20, 0, 0, 0,",l="A 20 20, 0, 0, 1,",h=20,m=20,s=3===r.type&&e.id!==r.parents[0]?`M ${a.x} ${a.y} L ${a.x} ${n.y-h} ${l} ${a.x-m} ${n.y} L ${n.x} ${n.y}`:`M ${a.x} ${a.y} L ${n.x+h} ${a.y} ${o} ${n.x} ${a.y+m} L ${n.x} ${n.y}`),a.x===n.x&&(s=`M ${a.x} ${a.y} L ${n.x} ${n.y}`)):(a.yn.y&&(s=3===r.type&&e.id!==r.parents[0]?`M ${a.x} ${a.y} L ${n.x-h} ${a.y} ${o} ${n.x} ${a.y-m} L ${n.x} ${n.y}`:`M ${a.x} ${a.y} L ${a.x} ${n.y+h} ${l} ${a.x+m} ${n.y} L ${n.x} ${n.y}`),a.y===n.y&&(s=`M ${a.x} ${a.y} L ${n.x} ${n.y}`));t.append("path").attr("d",s).attr("class","arrow arrow"+y%8)})(r,e[t],i,e)}))}))},S={draw:function(t,e,r,n){E={},L={},w={},v=0,M=[],I="LR";const c=(0,i.c)(),s=c.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,r),w=n.db.getCommits();const o=n.db.getBranchesAsObjArray();I=n.db.getDirection();const l=(0,a.Ltv)(`[id="${e}"]`);let h=0;o.forEach(((t,e)=>{const r=A(t.name),i=l.append("g"),a=i.insert("g").attr("class","branchLabel"),n=a.insert("g").attr("class","label branch-label");n.node().appendChild(r);let c=r.getBBox();E[t.name]={pos:h,index:e},h+=50+(s.rotateCommitLabel?40:0)+("TB"===I?c.width/2:0),n.remove(),a.remove(),i.remove()})),R(l,w,!1),s.showBranches&&((t,e)=>{const r=(0,i.c)().gitGraph,a=t.append("g");e.forEach(((t,e)=>{const i=e%8,n=E[t.name].pos,c=a.append("line");c.attr("x1",0),c.attr("y1",n),c.attr("x2",v),c.attr("y2",n),c.attr("class","branch branch"+i),"TB"===I&&(c.attr("y1",30),c.attr("x1",n),c.attr("y2",v),c.attr("x2",n)),M.push(n);let s=t.name;const o=A(s),l=a.insert("rect"),h=a.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);h.node().appendChild(o);let m=o.getBBox();l.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-m.width-4-(!0===r.rotateCommitLabel?30:0)).attr("y",-m.height/2+8).attr("width",m.width+18).attr("height",m.height+4),h.attr("transform","translate("+(-m.width-14-(!0===r.rotateCommitLabel?30:0))+", "+(n-m.height/2-1)+")"),"TB"===I&&(l.attr("x",n-m.width/2-10).attr("y",0),h.attr("transform","translate("+(n-m.width/2-5)+", 0)")),"TB"!==I&&l.attr("transform","translate(-19, "+(n-m.height/2)+")")}))})(l,o),C(l,w),R(l,w,!0),i.u.insertTitle(l,"gitTitleText",s.titleTopMargin,n.db.getDiagramTitle()),(0,i.z)(void 0,l,s.diagramPadding,s.useMaxWidth??c.useMaxWidth)}},P={parser:c,db:T,renderer:S,styles:t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/944.mjs b/resources/daux/themes/rsp/js/944.mjs new file mode 100644 index 0000000..0acbf0d --- /dev/null +++ b/resources/daux/themes/rsp/js/944.mjs @@ -0,0 +1 @@ +export const id=944;export const ids=[944];export const modules={944:(n,e,r)=>{r.d(e,{Zp:()=>Ae});var t=r(8058),o=r(5664),i=r(9622),u=r(9142),a=r(4098),d=r(4722),c=r(1690),f=r(697);class s{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,e=n._prev;if(e!==n)return v(e),e}enqueue(n){var e=this._sentinel;n._prev&&n._next&&v(n),n._next=e._next,e._next._prev=n,e._next=n,n._prev=e}toString(){for(var n=[],e=this._sentinel,r=e._prev;r!==e;)n.push(JSON.stringify(r,g)),r=r._prev;return"["+n.join(", ")+"]"}}function v(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function g(n,e){if("_next"!==n&&"_prev"!==n)return e}var h=u.A(1);function l(n,e,r,o,i){var u=i?[]:void 0;return t.A(n.inEdges(o.v),(function(t){var o=n.edge(t),a=n.node(t.v);i&&u.push({v:t.v,w:t.w}),a.out-=o,A(e,r,a)})),t.A(n.outEdges(o.v),(function(t){var o=n.edge(t),i=t.w,u=n.node(i);u.in-=o,A(e,r,u)})),n.removeNode(o.v),u}function A(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function p(n){var e="greedy"===n.graph().acyclicer?function(n,e){if(n.nodeCount()<=1)return[];var r=function(n,e){var r=new f.T,o=0,i=0;t.A(n.nodes(),(function(n){r.setNode(n,{v:n,in:0,out:0})})),t.A(n.edges(),(function(n){var t=r.edge(n.v,n.w)||0,u=e(n),a=t+u;r.setEdge(n.v,n.w,a),i=Math.max(i,r.node(n.v).out+=u),o=Math.max(o,r.node(n.w).in+=u)}));var u=c.A(i+o+3).map((function(){return new s})),a=o+1;return t.A(r.nodes(),(function(n){A(u,a,r.node(n))})),{graph:r,buckets:u,zeroIdx:a}}(n,e||h),o=function(n,e,r){for(var t,o=[],i=e[e.length-1],u=e[0];n.nodeCount();){for(;t=u.dequeue();)l(n,e,r,t);for(;t=i.dequeue();)l(n,e,r,t);if(n.nodeCount())for(var a=e.length-2;a>0;--a)if(t=e[a].dequeue()){o=o.concat(l(n,e,r,t,!0));break}}return o}(r.graph,r.buckets,r.zeroIdx);return a.A(d.A(o,(function(e){return n.outEdges(e.v,e.w)})))}(n,function(n){return function(e){return n.edge(e).weight}}(n)):function(n){var e=[],r={},o={};return t.A(n.nodes(),(function u(a){i.A(o,a)||(o[a]=!0,r[a]=!0,t.A(n.outEdges(a),(function(n){i.A(r,n.w)?e.push(n):u(n.w)})),delete r[a])})),e}(n);t.A(e,(function(e){var r=n.edge(e);n.removeEdge(e),r.forwardName=e.name,r.reversed=!0,n.setEdge(e.w,e.v,r,o.A("rev"))}))}var w=r(9115),m=r(1088),b=r(3068),y=r(1882);const x=function(n,e,r){for(var t=-1,o=n.length;++te};var E=r(9008);const N=function(n){return n&&n.length?x(n,E.A,k):void 0},_=function(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var I=r(2528),T=r(9841),R=r(4425);const M=function(n,e){var r={};return e=(0,R.A)(e,3),(0,T.A)(n,(function(n,t,o){(0,I.A)(r,t,e(n,t,o))})),r};var L=r(9592);const C=function(n,e){return nMath.abs(u)*c?(a<0&&(c=-c),r=c*u/a,t=c):(u<0&&(d=-d),r=d,t=d*a/u),{x:o+r,y:i+t}}function V(n){var e=d.A(c.A(q(n)+1),(function(){return[]}));return t.A(n.nodes(),(function(r){var t=n.node(r),o=t.rank;L.A(o)||(e[o][t.order]=r)})),e}function B(n,e,r,t){var o={width:0,height:0};return arguments.length>=4&&(o.rank=r,o.order=t),j(n,"border",o,e)}function q(n){return N(d.A(n.nodes(),(function(e){var r=n.node(e).rank;if(!L.A(r))return r})))}function Y(n,e){var r=S();try{return e()}finally{console.log(n+" time: "+(S()-r)+"ms")}}function z(n,e){return e()}function D(n,e,r,t,o,i){var u={width:0,height:0,rank:i,borderType:e},a=o[e][i-1],d=j(n,"border",u,r);o[e][i]=d,n.setParent(d,t),a&&n.setEdge(a,d,{weight:1})}function $(n){t.A(n.nodes(),(function(e){J(n.node(e))})),t.A(n.edges(),(function(e){J(n.edge(e))}))}function J(n){var e=n.width;n.width=n.height,n.height=e}function Z(n){n.y=-n.y}function H(n){var e=n.x;n.x=n.y,n.y=e}const K=function(n,e){return n&&n.length?x(n,(0,R.A)(e,2),C):void 0};function Q(n){var e={};t.A(n.sources(),(function r(t){var o=n.node(t);if(i.A(e,t))return o.rank;e[t]=!0;var u=O(d.A(n.outEdges(t),(function(e){return r(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))}function U(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function W(n){var e,r,t=new f.T({directed:!1}),o=n.nodes()[0],i=n.nodeCount();for(t.setNode(o,{});X(t,n)-1?t[o?n[i]:i]:void 0});var cn,fn=r(6070);u.A(1),u.A(1),r(4453),r(9137),r(2383);var sn=r(2049);r(3098),(0,r(805).A)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var vn="\\ud800-\\udfff",gn="["+vn+"]",hn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ln="\\ud83c[\\udffb-\\udfff]",An="[^"+vn+"]",pn="(?:\\ud83c[\\udde6-\\uddff]){2}",wn="[\\ud800-\\udbff][\\udc00-\\udfff]",mn="(?:"+hn+"|"+ln+")?",bn="[\\ufe0e\\ufe0f]?",yn=bn+mn+"(?:\\u200d(?:"+[An,pn,wn].join("|")+")"+bn+mn+")*",xn="(?:"+[An+hn+"?",hn,pn,wn,gn].join("|")+")";function kn(n,e,r){sn.A(e)||(e=[e]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return t.A(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);En(n,e,"post"===r,u,o,i)})),i}function En(n,e,r,o,u,a){i.A(o,e)||(o[e]=!0,r||a.push(e),t.A(u(e),(function(e){En(n,e,r,o,u,a)})),r&&a.push(e))}function Nn(n){n=function(n){var e=(new f.T).setGraph(n.graph());return t.A(n.nodes(),(function(r){e.setNode(r,n.node(r))})),t.A(n.edges(),(function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},o=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+o.weight,minlen:Math.max(t.minlen,o.minlen)})})),e}(n),Q(n);var e,r=W(n);for(Tn(r),_n(r,n);e=Mn(r);)Cn(r,n,e,Ln(r,n,e))}function _n(n,e){var r=function(n,e){return kn(n,e,"post")}(n,n.nodes());r=r.slice(0,r.length-1),t.A(r,(function(r){!function(n,e,r){var t=n.node(r).parent;n.edge(r,t).cutvalue=In(n,e,r)}(n,e,r)}))}function In(n,e,r){var o=n.node(r).parent,i=!0,u=e.edge(r,o),a=0;return u||(i=!1,u=e.edge(o,r)),a=u.weight,t.A(e.nodeEdges(r),(function(t){var u,d,c=t.v===r,f=c?t.w:t.v;if(f!==o){var s=c===i,v=e.edge(t).weight;if(a+=s?v:-v,u=r,d=f,n.hasEdge(u,d)){var g=n.edge(r,f).cutvalue;a+=s?-g:g}}})),a}function Tn(n,e){arguments.length<2&&(e=n.nodes()[0]),Rn(n,{},1,e)}function Rn(n,e,r,o,u){var a=r,d=n.node(o);return e[o]=!0,t.A(n.neighbors(o),(function(t){i.A(e,t)||(r=Rn(n,e,r,t,o))})),d.low=a,d.lim=r++,u?d.parent=u:delete d.parent,r}function Mn(n){return dn(n.edges(),(function(e){return n.edge(e).cutvalue<0}))}function Ln(n,e,r){var t=r.v,o=r.w;e.hasEdge(t,o)||(t=r.w,o=r.v);var i=n.node(t),u=n.node(o),a=i,d=!1;i.lim>u.lim&&(a=u,d=!0);var c=fn.A(e.edges(),(function(e){return d===On(0,n.node(e.v),a)&&d!==On(0,n.node(e.w),a)}));return K(c,(function(n){return U(e,n)}))}function Cn(n,e,r,o){var i=r.v,u=r.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),Tn(n),_n(n,e),function(n,e){var r=dn(n.nodes(),(function(n){return!e.node(n).parent})),o=function(n,e){return kn(n,e,"pre")}(n,r);o=o.slice(1),t.A(o,(function(r){var t=n.node(r).parent,o=e.edge(r,t),i=!1;o||(o=e.edge(t,r),i=!0),e.node(r).rank=e.node(t).rank+(i?o.minlen:-o.minlen)}))}(n,e)}function On(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Pn(n){switch(n.graph().ranker){case"network-simplex":default:!function(n){Nn(n)}(n);break;case"tight-tree":!function(n){Q(n),W(n)}(n);break;case"longest-path":Sn(n)}}RegExp(ln+"(?="+ln+")|"+xn+yn,"g"),new Error,r(1974),Nn.initLowLimValues=Tn,Nn.initCutValues=_n,Nn.calcCutValue=In,Nn.leaveEdge=Mn,Nn.enterEdge=Ln,Nn.exchangeEdges=Cn;var Sn=Q;var jn=r(2866),Fn=r(3130);function Gn(n){var e=j(n,"root",{},"_root"),r=function(n){var e={};function r(o,i){var u=n.children(o);u&&u.length&&t.A(u,(function(n){r(n,i+1)})),e[o]=i}return t.A(n.children(),(function(n){r(n,1)})),e}(n),o=N(jn.A(r))-1,i=2*o+1;n.graph().nestingRoot=e,t.A(n.edges(),(function(e){n.edge(e).minlen*=i}));var u=function(n){return Fn.A(n.edges(),(function(e,r){return e+n.edge(r).weight}),0)}(n)+1;t.A(n.children(),(function(t){Vn(n,e,i,u,o,r,t)})),n.graph().nodeRankFactor=i}function Vn(n,e,r,o,i,u,a){var d=n.children(a);if(d.length){var c=B(n,"_bt"),f=B(n,"_bb"),s=n.node(a);n.setParent(c,a),s.borderTop=c,n.setParent(f,a),s.borderBottom=f,t.A(d,(function(t){Vn(n,e,r,o,i,u,t);var d=n.node(t),s=d.borderTop?d.borderTop:t,v=d.borderBottom?d.borderBottom:t,g=d.borderTop?o:2*o,h=s!==v?1:i-u[a]+1;n.setEdge(c,s,{weight:g,minlen:h,nestingEdge:!0}),n.setEdge(v,f,{weight:g,minlen:h,nestingEdge:!0})})),n.parent(a)||n.setEdge(e,c,{weight:0,minlen:i+u[a]})}else a!==e&&n.setEdge(e,a,{weight:0,minlen:r})}var Bn=r(970);const qn=function(n){return(0,Bn.A)(n,5)};var Yn=r(2851);const zn=function(n,e){return function(n,e,r){for(var t=-1,o=n.length,i=e.length,u={};++te||i&&u&&d&&!a&&!c||t&&u&&d||!r&&d||!o)return 1;if(!t&&!i&&!c&&n=a?d:d*("desc"==r[t]?-1:1)}return n.index-e.index}(n,e,r)}))};var Un=r(4326),Wn=r(6832);const Xn=(0,Un.A)((function(n,e){if(null==n)return[];var r=e.length;return r>1&&(0,Wn.A)(n,e[0],e[1])?e=[]:r>2&&(0,Wn.A)(e[0],e[1],e[2])&&(e=[e[0]]),Qn(n,(0,Dn.A)(e,1),[])}));function ne(n,e){for(var r=0,t=1;t0;)e%2&&(r+=f[e+1]),f[e=e-1>>1]+=n.weight;s+=n.weight*r}))),s}function re(n,e){var r,o=function(n){var e={lhs:[],rhs:[]};return t.A(n,(function(n){var r;r=n,i.A(r,"barycenter")?e.lhs.push(n):e.rhs.push(n)})),e}(n),u=o.lhs,d=Xn(o.rhs,(function(n){return-n.i})),c=[],f=0,s=0,v=0;u.sort((r=!!e,function(n,e){return n.barycentere.barycenter?1:r?e.i-n.i:n.i-e.i})),v=te(c,d,v),t.A(u,(function(n){v+=n.vs.length,c.push(n.vs),f+=n.barycenter*n.weight,s+=n.weight,v=te(c,d,v)}));var g={vs:a.A(c)};return s&&(g.barycenter=f/s,g.weight=s),g}function te(n,e,r){for(var t;e.length&&(t=_(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function oe(n,e,r,o){var u=n.children(e),c=n.node(e),f=c?c.borderLeft:void 0,s=c?c.borderRight:void 0,v={};f&&(u=fn.A(u,(function(n){return n!==f&&n!==s})));var g=function(n,e){return d.A(e,(function(e){var r=n.inEdges(e);if(r.length){var t=Fn.A(r,(function(e,r){var t=n.edge(r),o=n.node(r.v);return{sum:e.sum+t.weight*o.order,weight:e.weight+t.weight}}),{sum:0,weight:0});return{v:e,barycenter:t.sum/t.weight,weight:t.weight}}return{v:e}}))}(n,u);t.A(g,(function(e){if(n.children(e.v).length){var t=oe(n,e.v,r,o);v[e.v]=t,i.A(t,"barycenter")&&(u=e,a=t,L.A(u.barycenter)?(u.barycenter=a.barycenter,u.weight=a.weight):(u.barycenter=(u.barycenter*u.weight+a.barycenter*a.weight)/(u.weight+a.weight),u.weight+=a.weight))}var u,a}));var h=function(n,e){var r={};return t.A(n,(function(n,e){var t=r[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};L.A(n.barycenter)||(t.barycenter=n.barycenter,t.weight=n.weight)})),t.A(e.edges(),(function(n){var e=r[n.v],t=r[n.w];L.A(e)||L.A(t)||(t.indegree++,e.out.push(r[n.w]))})),function(n){var e=[];function r(n){return function(e){var r,t,o,i;e.merged||(L.A(e.barycenter)||L.A(n.barycenter)||e.barycenter>=n.barycenter)&&(t=e,o=0,i=0,(r=n).weight&&(o+=r.barycenter*r.weight,i+=r.weight),t.weight&&(o+=t.barycenter*t.weight,i+=t.weight),r.vs=t.vs.concat(r.vs),r.barycenter=o/i,r.weight=i,r.i=Math.min(t.i,r.i),t.merged=!0)}}function o(e){return function(r){r.in.push(e),0==--r.indegree&&n.push(r)}}for(;n.length;){var i=n.pop();e.push(i),t.A(i.in.reverse(),r(i)),t.A(i.out,o(i))}return d.A(fn.A(e,(function(n){return!n.merged})),(function(n){return m.A(n,["vs","i","barycenter","weight"])}))}(fn.A(r,(function(n){return!n.indegree})))}(g,r);!function(n,e){t.A(n,(function(n){n.vs=a.A(n.vs.map((function(n){return e[n]?e[n].vs:n})))}))}(h,v);var l=re(h,o);if(f&&(l.vs=a.A([f,l.vs,s]),n.predecessors(f).length)){var A=n.node(n.predecessors(f)[0]),p=n.node(n.predecessors(s)[0]);i.A(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+A.order+p.order)/(l.weight+2),l.weight+=2}return l}function ie(n,e,r){return d.A(e,(function(e){return function(n,e,r){var u=function(n){for(var e;n.hasNode(e=o.A("_root")););return e}(n),a=new f.T({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(e){return n.node(e)}));return t.A(n.nodes(),(function(o){var d=n.node(o),c=n.parent(o);(d.rank===e||d.minRank<=e&&e<=d.maxRank)&&(a.setNode(o),a.setParent(o,c||u),t.A(n[r](o),(function(e){var r=e.v===o?e.w:e.v,t=a.edge(r,o),i=L.A(t)?0:t.weight;a.setEdge(r,o,{weight:n.edge(e).weight+i})})),i.A(d,"minRank")&&a.setNode(o,{borderLeft:d.borderLeft[e],borderRight:d.borderRight[e]}))})),a}(n,e,r)}))}function ue(n,e){var r=new f.T;t.A(n,(function(n){var o=n.graph().root,i=oe(n,o,r,e);t.A(i.vs,(function(e,r){n.node(e).order=r})),function(n,e,r){var o,i={};t.A(r,(function(r){for(var t,u,a=n.parent(r);a;){if((t=n.parent(a))?(u=i[t],i[t]=a):(u=o,o=a),u&&u!==a)return void e.setEdge(u,a);a=t}}))}(n,r,i.vs)}))}function ae(n,e){t.A(e,(function(e){t.A(e,(function(e,r){n.node(e).order=r}))}))}var de=r(9922);const ce=function(n,e){return n&&(0,T.A)(n,(0,de.A)(e))};var fe=r(7132),se=r(9999);const ve=function(n,e){return null==n?n:(0,fe.A)(n,(0,de.A)(e),se.A)};function ge(n,e,r){if(e>r){var t=e;e=r,r=t}var o=n[e];o||(n[e]=o={}),o[r]=!0}function he(n,e,r){if(e>r){var t=e;e=r,r=t}return i.A(n[e],r)}function le(n){var e,r=V(n),o=w.A(function(n,e){var r={};return Fn.A(e,(function(e,o){var i=0,u=0,a=e.length,d=_(o);return t.A(o,(function(e,c){var f=function(n,e){if(n.node(e).dummy)return dn(n.predecessors(e),(function(e){return n.node(e).dummy}))}(n,e),s=f?n.node(f).order:a;(f||e===d)&&(t.A(o.slice(u,c+1),(function(e){t.A(n.predecessors(e),(function(t){var o=n.node(t),u=o.order;!(ua)&&ge(r,e,d)}))}))}return Fn.A(e,(function(e,r){var i,u=-1,a=0;return t.A(r,(function(t,d){if("border"===n.node(t).dummy){var c=n.predecessors(t);c.length&&(i=n.node(c[0]).order,o(r,a,d,u,i),a=d,u=i)}o(r,a,r.length,i,e.length)})),r})),r}(n,r)),u={};t.A(["u","d"],(function(a){e="u"===a?r:jn.A(r).reverse(),t.A(["l","r"],(function(r){"r"===r&&(e=d.A(e,(function(n){return jn.A(n).reverse()})));var c=("u"===a?n.predecessors:n.successors).bind(n),s=function(n,e,r,o){var i={},u={},a={};return t.A(e,(function(n){t.A(n,(function(n,e){i[n]=n,u[n]=n,a[n]=e}))})),t.A(e,(function(n){var e=-1;t.A(n,(function(n){var t=o(n);if(t.length){t=Xn(t,(function(n){return a[n]}));for(var d=(t.length-1)/2,c=Math.floor(d),f=Math.ceil(d);c<=f;++c){var s=t[c];u[n]===n&&ed||c>e[o].lim));for(i=o,o=t;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,d=0,c=u[d],f=!0;r!==o.w;){if(t=n.node(r),f){for(;(c=u[d])!==a&&n.node(c).maxRank=2);var g=ne(n,u=V(n));g{r.d(e,{A:()=>i});var t=r(4288),o=r(8446);const i=function(n,e){var r=-1,i=(0,o.A)(n)?Array(n.length):[];return(0,t.A)(n,(function(n,t,o){i[++r]=e(n,t,o)})),i}},3068:(n,e,r)=>{r.d(e,{A:()=>c});var t=r(4326),o=r(6984),i=r(6832),u=r(9999),a=Object.prototype,d=a.hasOwnProperty;const c=(0,t.A)((function(n,e){n=Object(n);var r=-1,t=e.length,c=t>2?e[2]:void 0;for(c&&(0,i.A)(e[0],e[1],c)&&(t=1);++r{r.d(e,{A:()=>o});var t=r(7671);const o=function(n){return null!=n&&n.length?(0,t.A)(n,1):[]}},4722:(n,e,r)=>{r.d(e,{A:()=>a});var t=r(5572),o=r(4425),i=r(2568),u=r(2049);const a=function(n,e){return((0,u.A)(n)?t.A:i.A)(n,(0,o.A)(e,3))}},1088:(n,e,r)=>{r.d(e,{A:()=>l});var t=r(6318),o=r(2851),i=r(1521),u=r(5353),a=r(3149),d=r(901);const c=function(n,e,r,t){if(!(0,a.A)(n))return n;for(var c=-1,f=(e=(0,i.A)(e,n)).length,s=f-1,v=n;null!=v&&++c{r.d(e,{A:()=>a});var t=Math.ceil,o=Math.max;var i=r(6832),u=r(3631);const a=function(n,e,r){return r&&"number"!=typeof r&&(0,i.A)(n,e,r)&&(e=r=void 0),n=(0,u.A)(n),void 0===e?(e=n,n=0):e=(0,u.A)(e),function(n,e,r,i){for(var u=-1,a=o(t((e-n)/(r||1)),0),d=Array(a);a--;)d[i?a:++u]=n,n+=r;return d}(n,e,r=void 0===r?n{r.d(e,{A:()=>g});var t=/\s/;var o=/^\s+/;const i=function(n){return n?n.slice(0,function(n){for(var e=n.length;e--&&t.test(n.charAt(e)););return e}(n)+1).replace(o,""):n};var u=r(3149),a=r(1882),d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,s=parseInt;var v=1/0;const g=function(n){return n?(n=function(n){if("number"==typeof n)return n;if((0,a.A)(n))return NaN;if((0,u.A)(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=(0,u.A)(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=i(n);var r=c.test(n);return r||f.test(n)?s(n.slice(2),r?2:8):d.test(n)?NaN:+n}(n))===v||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}},5664:(n,e,r)=>{r.d(e,{A:()=>i});var t=r(3456),o=0;const i=function(n){var e=++o;return(0,t.A)(n)+e}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/946.mjs b/resources/daux/themes/rsp/js/946.mjs new file mode 100644 index 0000000..e2b0e38 --- /dev/null +++ b/resources/daux/themes/rsp/js/946.mjs @@ -0,0 +1 @@ +export const id=946;export const ids=[946];export const modules={1946:(t,e,n)=>{n.d(e,{diagram:()=>Q});var a=n(5950),i=n(1062),s=n(8259),r=n(6750),l=(n(4353),n(2838),function(){var t=function(t,e,n,a){for(n=n||{},a=t.length;a--;n[t[a]]=e);return n},e=[1,24],n=[1,25],a=[1,26],i=[1,27],s=[1,28],r=[1,63],l=[1,64],o=[1,65],h=[1,66],d=[1,67],p=[1,68],u=[1,69],y=[1,29],f=[1,30],b=[1,31],g=[1,32],x=[1,33],_=[1,34],m=[1,35],E=[1,36],A=[1,37],S=[1,38],C=[1,39],O=[1,40],k=[1,41],v=[1,42],T=[1,43],w=[1,44],R=[1,45],D=[1,46],N=[1,47],P=[1,48],M=[1,50],j=[1,51],B=[1,52],L=[1,53],Y=[1,54],I=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],W=[1,60],Q=[14,42],$=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[1,82],G=[1,83],H=[1,84],K=[1,85],J=[12,14,42],Z=[12,14,33,42],tt=[12,14,33,42,76,77,79,80],et=[12,33],nt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],at={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(t,e,n,a,i,s,r){var l=s.length-1;switch(i){case 3:a.setDirection("TB");break;case 4:a.setDirection("BT");break;case 5:a.setDirection("RL");break;case 6:a.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:a.setC4Type(s[l-3]);break;case 19:a.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 20:a.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 21:this.$=s[l].trim(),a.setTitle(this.$);break;case 22:case 23:this.$=s[l].trim(),a.setAccDescription(this.$);break;case 28:case 29:s[l].splice(2,0,"ENTERPRISE"),a.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 30:a.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 31:s[l].splice(2,0,"CONTAINER"),a.addContainerBoundary(...s[l]),this.$=s[l];break;case 32:a.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 33:a.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 34:a.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 35:a.popBoundaryParseStack();break;case 39:a.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 40:a.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 41:a.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 42:a.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 43:a.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 44:a.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 45:a.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 46:a.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 47:a.addContainer("container",...s[l]),this.$=s[l];break;case 48:a.addContainer("container_db",...s[l]),this.$=s[l];break;case 49:a.addContainer("container_queue",...s[l]),this.$=s[l];break;case 50:a.addContainer("external_container",...s[l]),this.$=s[l];break;case 51:a.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 52:a.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 53:a.addComponent("component",...s[l]),this.$=s[l];break;case 54:a.addComponent("component_db",...s[l]),this.$=s[l];break;case 55:a.addComponent("component_queue",...s[l]),this.$=s[l];break;case 56:a.addComponent("external_component",...s[l]),this.$=s[l];break;case 57:a.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 58:a.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 60:a.addRel("rel",...s[l]),this.$=s[l];break;case 61:a.addRel("birel",...s[l]),this.$=s[l];break;case 62:a.addRel("rel_u",...s[l]),this.$=s[l];break;case 63:a.addRel("rel_d",...s[l]),this.$=s[l];break;case 64:a.addRel("rel_l",...s[l]),this.$=s[l];break;case 65:a.addRel("rel_r",...s[l]),this.$=s[l];break;case 66:a.addRel("rel_b",...s[l]),this.$=s[l];break;case 67:s[l].splice(0,1),a.addRel("rel",...s[l]),this.$=s[l];break;case 68:a.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 69:a.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 70:a.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 71:this.$=[s[l]];break;case 72:s[l].unshift(s[l-1]),this.$=s[l];break;case 73:case 75:this.$=s[l].trim();break;case 74:let t={};t[s[l-1].trim()]=s[l].trim(),this.$=t;break;case 76:this.$=""}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:p,41:u,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:70,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:p,41:u,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:71,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:p,41:u,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:72,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:p,41:u,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:73,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:p,41:u,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{14:[1,74]},t(Q,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:l,37:o,38:h,39:d,40:p,41:u,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W}),t(Q,[2,14]),t($,[2,16],{12:[1,76]}),t(Q,[2,36],{12:[1,77]}),t(q,[2,19]),t(q,[2,20]),{25:[1,78]},{27:[1,79]},t(q,[2,23]),{35:80,75:81,76:V,77:G,79:H,80:K},{35:86,75:81,76:V,77:G,79:H,80:K},{35:87,75:81,76:V,77:G,79:H,80:K},{35:88,75:81,76:V,77:G,79:H,80:K},{35:89,75:81,76:V,77:G,79:H,80:K},{35:90,75:81,76:V,77:G,79:H,80:K},{35:91,75:81,76:V,77:G,79:H,80:K},{35:92,75:81,76:V,77:G,79:H,80:K},{35:93,75:81,76:V,77:G,79:H,80:K},{35:94,75:81,76:V,77:G,79:H,80:K},{35:95,75:81,76:V,77:G,79:H,80:K},{35:96,75:81,76:V,77:G,79:H,80:K},{35:97,75:81,76:V,77:G,79:H,80:K},{35:98,75:81,76:V,77:G,79:H,80:K},{35:99,75:81,76:V,77:G,79:H,80:K},{35:100,75:81,76:V,77:G,79:H,80:K},{35:101,75:81,76:V,77:G,79:H,80:K},{35:102,75:81,76:V,77:G,79:H,80:K},{35:103,75:81,76:V,77:G,79:H,80:K},{35:104,75:81,76:V,77:G,79:H,80:K},t(J,[2,59]),{35:105,75:81,76:V,77:G,79:H,80:K},{35:106,75:81,76:V,77:G,79:H,80:K},{35:107,75:81,76:V,77:G,79:H,80:K},{35:108,75:81,76:V,77:G,79:H,80:K},{35:109,75:81,76:V,77:G,79:H,80:K},{35:110,75:81,76:V,77:G,79:H,80:K},{35:111,75:81,76:V,77:G,79:H,80:K},{35:112,75:81,76:V,77:G,79:H,80:K},{35:113,75:81,76:V,77:G,79:H,80:K},{35:114,75:81,76:V,77:G,79:H,80:K},{35:115,75:81,76:V,77:G,79:H,80:K},{20:116,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:p,41:u,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{12:[1,118],33:[1,117]},{35:119,75:81,76:V,77:G,79:H,80:K},{35:120,75:81,76:V,77:G,79:H,80:K},{35:121,75:81,76:V,77:G,79:H,80:K},{35:122,75:81,76:V,77:G,79:H,80:K},{35:123,75:81,76:V,77:G,79:H,80:K},{35:124,75:81,76:V,77:G,79:H,80:K},{35:125,75:81,76:V,77:G,79:H,80:K},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Q,[2,15]),t($,[2,17],{21:22,19:130,22:e,23:n,24:a,26:i,28:s}),t(Q,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:n,24:a,26:i,28:s,34:r,36:l,37:o,38:h,39:d,40:p,41:u,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:O,56:k,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W}),t(q,[2,21]),t(q,[2,22]),t(J,[2,39]),t(Z,[2,71],{75:81,35:132,76:V,77:G,79:H,80:K}),t(tt,[2,73]),{78:[1,133]},t(tt,[2,75]),t(tt,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(et,[2,28]),t(et,[2,29]),t(et,[2,30]),t(et,[2,31]),t(et,[2,32]),t(et,[2,33]),t(et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t($,[2,18]),t(Q,[2,38]),t(Z,[2,72]),t(tt,[2,74]),t(J,[2,24]),t(J,[2,35]),t(nt,[2,25]),t(nt,[2,26],{12:[1,138]}),t(nt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],a=[null],i=[],s=this.table,r="",l=0,o=0,c=i.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;i.push(u);var y=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,b,g,x,_,m,E,A,S,C={};;){if(b=e[e.length-1],this.defaultActions[b]?g=this.defaultActions[b]:(null==f&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),f=S),g=s[b]&&s[b][f]),void 0===g||!g.length||!g[0]){var O;for(_ in A=[],s[b])this.terminals_[_]&&_>2&&A.push("'"+this.terminals_[_]+"'");O=h.showPosition?"Parse error on line "+(l+1)+":\n"+h.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(O,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:u,expected:A})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+f);switch(g[0]){case 1:e.push(f),a.push(h.yytext),i.push(h.yylloc),e.push(g[1]),f=null,o=h.yyleng,r=h.yytext,l=h.yylineno,u=h.yylloc;break;case 2:if(m=this.productions_[g[1]][1],C.$=a[a.length-m],C._$={first_line:i[i.length-(m||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(m||1)].first_column,last_column:i[i.length-1].last_column},y&&(C._$.range=[i[i.length-(m||1)].range[0],i[i.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[r,o,l,d.yy,g[1],a,i].concat(c))))return x;m&&(e=e.slice(0,-1*m*2),a=a.slice(0,-1*m),i=i.slice(0,-1*m)),e.push(this.productions_[g[1]][0]),a.push(C.$),i.push(C._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},it={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===a.length?this.yylloc.first_column:0)+a[a.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,a,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in i)this[s]=i[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;se[0].length)){if(e=n,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,a){switch(n){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};function st(){this.yy={}}return at.lexer=it,st.prototype=at,at.Parser=st,new st}());l.parser=l;const o=l;let h=[],d=[""],p="global",u="",y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],b="",g=!1,x=4,_=2;var m;const E=function(t){return null==t?h:h.filter((e=>e.parentBoundary===t))},A=function(t){return null==t?y:y.filter((e=>e.parentBoundary===t))},S=function(){return g},C={addPersonOrSystem:function(t,e,n,a,i,s,r){if(null===e||null===n)return;let l={};const o=h.find((t=>t.alias===e));if(o&&e===o.alias?l=o:(l.alias=e,h.push(l)),l.label=null==n?{text:""}:{text:n},null==a)l.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]={text:e}}else l.descr={text:a};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=p,l.wrap=S()},addPersonOrSystemBoundary:function(t,e,n,a,i){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==n)s.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]={text:e}}else s.type={text:n};if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=p,s.wrap=S(),u=p,p=t,d.push(u)},addContainer:function(t,e,n,a,i,s,r,l){if(null===e||null===n)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==n?{text:""}:{text:n},null==a)o.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.techn={text:a};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=S(),o.typeC4Shape={text:t},o.parentBoundary=p},addContainerBoundary:function(t,e,n,a,i){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==n)s.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]={text:e}}else s.type={text:n};if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=p,s.wrap=S(),u=p,p=t,d.push(u)},addComponent:function(t,e,n,a,i,s,r,l){if(null===e||null===n)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==n?{text:""}:{text:n},null==a)o.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.techn={text:a};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=S(),o.typeC4Shape={text:t},o.parentBoundary=p},addDeploymentNode:function(t,e,n,a,i,s,r,l){if(null===e||null===n)return;let o={};const c=y.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,y.push(o)),o.label=null==n?{text:""}:{text:n},null==a)o.type={text:"node"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.type={text:a};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=p,o.wrap=S(),u=p,p=e,d.push(u)},popBoundaryParseStack:function(){p=u,d.pop(),u=d.pop(),d.push(u)},addRel:function(t,e,n,a,i,s,r,l,o){if(null==t||null==e||null==n||null==a)return;let c={};const h=f.find((t=>t.from===e&&t.to===n));if(h?c=h:f.push(c),c.type=t,c.from=e,c.to=n,c.label={text:a},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==s)c.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]={text:e}}else c.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]=e}else c.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.link=o;c.wrap=S()},updateElStyle:function(t,e,n,a,i,s,r,l,o,c,d){let p=h.find((t=>t.alias===e));if(void 0!==p||(p=y.find((t=>t.alias===e)),void 0!==p)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.bgColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.fontColor=a;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];p[t]=e}else p.legendText=c;if(null!=d)if("object"==typeof d){let[t,e]=Object.entries(d)[0];p[t]=e}else p.legendSprite=d}},updateRelStyle:function(t,e,n,a,i,s,r){const l=f.find((t=>t.from===e&&t.to===n));if(void 0!==l){if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.textColor=a;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},updateLayoutConfig:function(t,e,n){let a=x,i=_;if("object"==typeof e){const t=Object.values(e)[0];a=parseInt(t)}else a=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];i=parseInt(t)}else i=parseInt(n);a>=1&&(x=a),i>=1&&(_=i)},autoWrap:S,setWrap:function(t){g=t},getC4ShapeArray:E,getC4Shape:function(t){return h.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(E(t))},getBoundaries:A,getBoundarys:A,getCurrentBoundaryParse:function(){return p},getParentBoundaryParse:function(){return u},getRels:function(){return f},getTitle:function(){return b},getC4Type:function(){return m},getC4ShapeInRow:function(){return x},getC4BoundaryInRow:function(){return _},setAccTitle:a.s,getAccTitle:a.g,getAccDescription:a.a,setAccDescription:a.b,getConfig:()=>(0,a.c)().c4,clear:function(){h=[],y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],u="",p="global",d=[""],f=[],d=[""],b="",g=!1,x=4,_=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){let e=(0,a.d)(t,(0,a.c)());b=e},setC4Type:function(t){let e=(0,a.d)(t,(0,a.c)());m=e}},O=function(t,e){return(0,s.d)(t,e)},k=function(){function t(t,e,n,a,s,r,l){i(e.append("text").attr("x",n+s/2).attr("y",a+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,n,s,r,l,o,c){const{fontSize:h,fontFamily:d,fontWeight:p}=c,u=t.split(a.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":!function(t,e,n,a,i,s){const l=t.append("image");l.attr("width",e),l.attr("height",n),l.attr("x",a),l.attr("y",i);let o=s.startsWith("data:image/png;base64")?s:(0,r.Jf)(s);l.attr("xlink:href",o)}(h,48,48,e.x+e.width/2-24,e.y+e.image.Y,c)}let f=n[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=o,k(n)(e.label.text,h,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},f),f=n[e.typeC4Shape.text+"Font"](),f.fontColor=o,e.techn&&""!==(null==(a=e.techn)?void 0:a.text)?k(n)(e.techn.text,h,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},f):e.type&&""!==e.type.text&&k(n)(e.type.text,h,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},f),e.descr&&""!==e.descr.text&&(f=n.personFont(),f.fontColor=o,k(n)(e.descr.text,h,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},f)),e.height};let T=0,w=0,R=4,D=2;l.yy=C;let N={};class P{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,M(t.db.getConfig())}setData(t,e,n,a){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=a}updateVal(t,e,n,a){void 0===t[e]?t[e]=n:t[e]=a(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,a=this.nextData.starty+2*t.margin,i=a+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>R)&&(e=this.nextData.startx+t.margin+N.nextLinePaddingX,a=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=a+t.height,this.nextData.cnt=1),t.x=e,t.y=a,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",a,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",a,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},M(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const M=function(t){(0,a.f)(N,t),t.fontFamily&&(N.personFontFamily=N.systemFontFamily=N.messageFontFamily=t.fontFamily),t.fontSize&&(N.personFontSize=N.systemFontSize=N.messageFontSize=t.fontSize),t.fontWeight&&(N.personFontWeight=N.systemFontWeight=N.messageFontWeight=t.fontWeight)},j=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),B=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function L(t,e,n,i,s){if(!e[t].width)if(n)e[t].text=(0,a.w)(e[t].text,s,i),e[t].textLines=e[t].text.split(a.e.lineBreakRegex).length,e[t].width=s,e[t].height=(0,a.j)(e[t].text,i);else{let n=e[t].text.split(a.e.lineBreakRegex);e[t].textLines=n.length;let s=0;e[t].height=0,e[t].width=0;for(const r of n)e[t].width=Math.max((0,a.h)(r,i),e[t].width),s=(0,a.j)(r,i),e[t].height=e[t].height+s}}const Y=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=N.c4ShapeMargin-35;let i=e.wrap&&N.wrap,s=B(N);s.fontSize=s.fontSize+2,s.fontWeight="bold",L("label",e,i,s,(0,a.h)(e.label.text,s)),function(t,e,n){const a=t.append("g");let i=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let o={x:e.x,y:e.y,fill:i,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};O(a,o);let c=n.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=r,k(n)(e.label.text,a,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=n.boundaryFont(),c.fontColor=r,k(n)(e.type.text,a,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=n.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=r,k(n)(e.descr.text,a,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))}(t,e,N)},I=function(t,e,n,i){let s=0;for(const r of i){s=0;const i=n[r];let l=j(N,i.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,i.typeC4Shape.width=(0,a.h)("«"+i.typeC4Shape.text+"»",l),i.typeC4Shape.height=l.fontSize+2,i.typeC4Shape.Y=N.c4ShapePadding,s=i.typeC4Shape.Y+i.typeC4Shape.height-4,i.image={width:0,height:0,Y:0},i.typeC4Shape.text){case"person":case"external_person":i.image.width=48,i.image.height=48,i.image.Y=s,s=i.image.Y+i.image.height}i.sprite&&(i.image.width=48,i.image.height=48,i.image.Y=s,s=i.image.Y+i.image.height);let o=i.wrap&&N.wrap,c=N.width-2*N.c4ShapePadding,h=j(N,i.typeC4Shape.text);h.fontSize=h.fontSize+2,h.fontWeight="bold",L("label",i,o,h,c),i.label.Y=s+8,s=i.label.Y+i.label.height,i.type&&""!==i.type.text?(i.type.text="["+i.type.text+"]",L("type",i,o,j(N,i.typeC4Shape.text),c),i.type.Y=s+5,s=i.type.Y+i.type.height):i.techn&&""!==i.techn.text&&(i.techn.text="["+i.techn.text+"]",L("techn",i,o,j(N,i.techn.text),c),i.techn.Y=s+5,s=i.techn.Y+i.techn.height);let d=s,p=i.label.width;i.descr&&""!==i.descr.text&&(L("descr",i,o,j(N,i.typeC4Shape.text),c),i.descr.Y=s+20,s=i.descr.Y+i.descr.height,p=Math.max(i.label.width,i.descr.width),d=s-5*i.descr.textLines),p+=N.c4ShapePadding,i.width=Math.max(i.width||N.width,p,N.width),i.height=Math.max(i.height||N.height,d,N.height),i.margin=i.margin||N.c4ShapeMargin,t.insert(i),v(e,i,N)}t.bumpLastMargin(N.c4ShapeMargin)};class U{constructor(t,e){this.x=t,this.y=e}}let F=function(t,e){let n=t.x,a=t.y,i=e.x,s=e.y,r=n+t.width/2,l=a+t.height/2,o=Math.abs(n-i),c=Math.abs(a-s),h=c/o,d=t.height/t.width,p=null;return a==s&&ni?p=new U(n,l):n==i&&as&&(p=new U(r,a)),n>i&&a=h?new U(n,l+h*t.width/2):new U(r-o/c*t.height/2,a+t.height):n=h?new U(n+t.width,l+h*t.width/2):new U(r+o/c*t.height/2,a+t.height):ns?p=d>=h?new U(n+t.width,l-h*t.width/2):new U(r+t.height/2*o/c,a):n>i&&a>s&&(p=d>=h?new U(n,l-t.width/2*h):new U(r-t.height/2*o/c,a)),p},X=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let a=F(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:a,endPoint:F(e,n)}};function z(t,e,n,a,i){let s=new P(i);s.data.widthLimit=n.data.widthLimit/Math.min(D,a.length);for(let[r,l]of a.entries()){let a=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=a,a=l.image.Y+l.image.height);let o=l.wrap&&N.wrap,c=B(N);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",L("label",l,o,c,s.data.widthLimit),l.label.Y=a+8,a=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",L("type",l,o,B(N),s.data.widthLimit),l.type.Y=a+5,a=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=B(N);t.fontSize=t.fontSize-2,L("descr",l,o,t,s.data.widthLimit),l.descr.Y=a+20,a=l.descr.Y+l.descr.height}if(0==r||r%D==0){let t=n.data.startx+N.diagramMarginX,e=n.data.stopy+N.diagramMarginY+a;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+N.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=l.alias;let h=i.db.getC4ShapeArray(l.alias),d=i.db.getC4ShapeKeys(l.alias);d.length>0&&I(s,t,h,d),e=l.alias;let p=i.db.getBoundarys(e);p.length>0&&z(t,e,s,p,i),"global"!==l.alias&&Y(t,l,s),n.data.stopy=Math.max(s.data.stopy+N.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(s.data.stopx+N.c4ShapeMargin,n.data.stopx),T=Math.max(T,n.data.stopx),w=Math.max(w,n.data.stopy)}}const W={drawPersonOrSystemArray:I,drawBoundary:Y,setConf:M,draw:function(t,e,n,s){N=(0,a.c)().c4;const r=(0,a.c)().securityLevel;let l;"sandbox"===r&&(l=(0,i.Ltv)("#i"+e));const o="sandbox"===r?(0,i.Ltv)(l.nodes()[0].contentDocument.body):(0,i.Ltv)("body");let c=s.db;s.db.setWrap(N.wrap),R=c.getC4ShapeInRow(),D=c.getC4BoundaryInRow(),a.l.debug(`C:${JSON.stringify(N,null,2)}`);const h="sandbox"===r?o.select(`[id="${e}"]`):(0,i.Ltv)(`[id="${e}"]`);h.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"),function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(h),function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(h);let d=new P(s);d.setData(N.diagramMarginX,N.diagramMarginX,N.diagramMarginY,N.diagramMarginY),d.data.widthLimit=screen.availWidth,T=N.diagramMarginX,w=N.diagramMarginY;const p=s.db.getTitle();z(h,"",d,s.db.getBoundarys(""),s),function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(h),function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(h),function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(h),function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(h),function(t,e,n,i){let s=0;for(let t of e){s+=1;let e=t.wrap&&N.wrap,l={fontFamily:(r=N).messageFontFamily,fontSize:r.messageFontSize,fontWeight:r.messageFontWeight};"C4Dynamic"===i.db.getC4Type()&&(t.label.text=s+": "+t.label.text);let o=(0,a.h)(t.label.text,l);L("label",t,e,l,o),t.techn&&""!==t.techn.text&&(o=(0,a.h)(t.techn.text,l),L("techn",t,e,l,o)),t.descr&&""!==t.descr.text&&(o=(0,a.h)(t.descr.text,l),L("descr",t,e,l,o));let c=n(t.from),h=n(t.to),d=X(c,h);t.startPoint=d.startPoint,t.endPoint=d.endPoint}var r;((t,e,n)=>{const a=t.append("g");let i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0,o="";if(0===i){let e=a.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)"),i=-1}else{let e=a.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)")}let c=n.messageFont();k(n)(t.label.text,a,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},c),t.techn&&""!==t.techn.text&&(c=n.messageFont(),k(n)("["+t.techn.text+"]",a,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},c))}})(t,e,N)}(h,s.db.getRels(),s.db.getC4Shape,s),d.data.stopx=T,d.data.stopy=w;const u=d.data;let y=u.stopy-u.starty+2*N.diagramMarginY;const f=u.stopx-u.startx+2*N.diagramMarginX;p&&h.append("text").text(p).attr("x",(u.stopx-u.startx)/2-4*N.diagramMarginX).attr("y",u.starty+N.diagramMarginY),(0,a.i)(h,y,f,N.useMaxWidth);const b=p?60:0;h.attr("viewBox",u.startx-N.diagramMarginX+" -"+(N.diagramMarginY+b)+" "+f+" "+(y+b)),a.l.debug("models:",u)}},Q={parser:o,db:C,renderer:W,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:({c4:t,wrap:e})=>{W.setConf(t),C.setWrap(e)}}},8259:(t,e,n)=>{n.d(e,{a:()=>r,b:()=>c,c:()=>o,d:()=>s,e:()=>d,f:()=>l,g:()=>h});var a=n(6750),i=n(5950);const s=(t,e)=>{const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),e.name&&n.attr("name",e.name),void 0!==e.rx&&n.attr("rx",e.rx),void 0!==e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)n.attr(t,e.attrs[t]);return void 0!==e.class&&n.attr("class",e.class),n},r=(t,e)=>{const n={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};s(t,n).lower()},l=(t,e)=>{const n=e.text.replace(i.J," "),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.attr("class","legend"),a.style("text-anchor",e.anchor),void 0!==e.class&&a.attr("class",e.class);const s=a.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(n),a},o=(t,e,n,i)=>{const s=t.append("image");s.attr("x",e),s.attr("y",n);const r=(0,a.Jf)(i);s.attr("xlink:href",r)},c=(t,e,n,i)=>{const s=t.append("use");s.attr("x",e),s.attr("y",n);const r=(0,a.Jf)(i);s.attr("xlink:href",`#${r}`)},h=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),d=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/983.mjs b/resources/daux/themes/rsp/js/983.mjs new file mode 100644 index 0000000..aee3293 --- /dev/null +++ b/resources/daux/themes/rsp/js/983.mjs @@ -0,0 +1 @@ +export const id=983;export const ids=[983];export const modules={4075:(e,t,n)=>{n.d(t,{M:()=>d});var r=n(9592),i=n(53),a=n(4722);function d(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:o(e),edges:l(e)};return r.A(e.graph())||(t.value=i.A(e.graph())),t}function o(e){return a.A(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),a={v:t};return r.A(n)||(a.value=n),r.A(i)||(a.parent=i),a}))}function l(e){return a.A(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.A(t.name)||(i.name=t.name),r.A(n)||(i.value=n),i}))}n(1974)},53:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(970);const i=function(e){return(0,r.A)(e,4)}},2983:(e,t,n)=>{n.d(t,{r:()=>N});var r=n(944),i=n(4075),a=n(8055),d=n(5950),o=n(697),l=n(4274),s=n(1062);let c={},h={},g={};const f=(e,t)=>(d.l.trace("In isDescendant",t," ",e," = ",h[t].includes(e)),!!h[t].includes(e)),u=(e,t,n,r)=>{d.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),d.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(t.children(i).length>0)u(i,t,n,r);else{const a=t.node(i);d.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.l.debug("Setting parent",i,e),n.setParent(i,e)):(d.l.info("In copy ",e,"root",r,"data",t.node(e),r),d.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const o=t.edges(i);d.l.debug("Copying Edges",o),o.forEach((i=>{d.l.info("Edge",i);const a=t.edge(i.v,i.w,i.name);d.l.info("Edge data",a,r);try{((e,t)=>(d.l.info("Descendants of ",t," is ",h[t]),d.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(h[t]?h[t].includes(e.v)||f(e.v,t)||f(e.w,t)||h[t].includes(e.w):(d.l.debug("Tilt, ",t,",not in descendants"),!1))))(i,r)?(d.l.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.l.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.l.error(e)}}))}d.l.debug("Removing node",i),t.removeNode(i)}))},w=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)g[i]=e,r=[...r,...w(i,t)];return r},p=(e,t)=>{d.l.trace("Searching",e);const n=t.children(e);if(d.l.trace("Searching children of id ",e,n),n.length<1)return d.l.trace("This is a valid node",e),e;for(const r of n){const n=p(r,t);if(n)return d.l.trace("Found replacement for",e," => ",n),n}},v=e=>c[e]&&c[e].externalConnections&&c[e]?c[e].id:e,y=(e,t)=>{if(d.l.warn("extractor - ",t,i.M(e),e.children("D")),t>10)return void d.l.error("Bailing out");let n=e.nodes(),r=!1;for(const t of n){const n=e.children(t);r=r||n.length>0}if(r){d.l.debug("Nodes = ",n,t);for(const r of n)if(d.l.debug("Extracting node",r,c,c[r]&&!c[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),c[r])if(!c[r].externalConnections&&e.children(r)&&e.children(r).length>0){d.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";c[r]&&c[r].clusterData&&c[r].clusterData.dir&&(n=c[r].clusterData.dir,d.l.warn("Fixing dir",c[r].clusterData.dir,n));const a=new o.T({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));d.l.warn("Old graph before copy",i.M(e)),u(r,e,a,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:c[r].clusterData,labelText:c[r].labelText,graph:a}),d.l.warn("New graph after copy node: (",r,")",i.M(a)),d.l.debug("Old graph after copy",i.M(e))}else d.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!c[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.l.debug(c);else d.l.debug("Not a cluster",r,t);n=e.nodes(),d.l.warn("New list of nodes",n);for(const r of n){const n=e.node(r);d.l.warn(" Now next level",r,n),n.clusterNode&&y(n.graph,t+1)}}else d.l.debug("Done, no node has children",e.nodes())},x=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=x(e,r);n=[...n,...i]})),n},m={rect:(e,t)=>{d.l.info("Creating subgraph rect for ",t.id,t);const n=(0,d.c)(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),o=(0,d.m)(n.flowchart.htmlLabels),c=r.insert("g").attr("class","cluster-label"),h="markdown"===t.labelType?(0,l.a)(c,t.labelText,{style:t.labelStyle,useHtmlLabels:o}):c.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let g=h.getBBox();if((0,d.m)(n.flowchart.htmlLabels)){const e=h.children[0],t=(0,s.Ltv)(h);g=e.getBoundingClientRect(),t.attr("width",g.width),t.attr("height",g.height)}const f=0*t.padding,u=f/2,w=t.width<=g.width+f?g.width+f:t.width;t.width<=g.width+f?t.diff=(g.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,d.l.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-w/2).attr("y",t.y-t.height/2-u).attr("width",w).attr("height",t.height+f);const{subGraphTitleTopMargin:p}=(0,a.g)(n);o?c.attr("transform",`translate(${t.x-g.width/2}, ${t.y-t.height/2+p})`):c.attr("transform",`translate(${t.x}, ${t.y-t.height/2+p})`);const v=i.node().getBBox();return t.width=v.width,t.height=v.height,t.intersect=function(e){return(0,a.i)(t,e)},r},roundedWithTitle:(e,t)=>{const n=(0,d.c)(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),o=r.insert("g").attr("class","cluster-label"),l=r.append("rect"),c=o.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let h=c.getBBox();if((0,d.m)(n.flowchart.htmlLabels)){const e=c.children[0],t=(0,s.Ltv)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}h=c.getBBox();const g=0*t.padding,f=g/2,u=t.width<=h.width+t.padding?h.width+t.padding:t.width;t.width<=h.width+t.padding?t.diff=(h.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-u/2-f).attr("y",t.y-t.height/2-f).attr("width",u+g).attr("height",t.height+g),l.attr("class","inner").attr("x",t.x-u/2-f).attr("y",t.y-t.height/2-f+h.height-1).attr("width",u+g).attr("height",t.height+g-h.height-3);const{subGraphTitleTopMargin:w}=(0,a.g)(n);o.attr("transform",`translate(${t.x-h.width/2}, ${t.y-t.height/2-t.padding/3+((0,d.m)(n.flowchart.htmlLabels)?5:3)+w})`);const p=i.node().getBBox();return t.height=p.height,t.intersect=function(e){return(0,a.i)(t,e)},r},noteGroup:(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2-d).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return(0,a.i)(t,e)},n},divider:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,a.i)(t,e)},n}};let b={};const E=async(e,t,n,o,l,s)=>{d.l.info("Graph in recursive render: XXX",i.M(t),l);const h=t.graph().rankdir;d.l.trace("Dir in recursive render - dir:",h);const g=e.insert("g").attr("class","root");t.nodes()?d.l.info("Recursive render XXX",t.nodes()):d.l.info("No nodes found for",t),t.edges().length>0&&d.l.trace("Recursive edges",t.edge(t.edges()[0]));const f=g.insert("g").attr("class","clusters"),u=g.insert("g").attr("class","edgePaths"),w=g.insert("g").attr("class","edgeLabels"),v=g.insert("g").attr("class","nodes");await Promise.all(t.nodes().map((async function(e){const r=t.node(e);if(void 0!==l){const n=JSON.parse(JSON.stringify(l.clusterData));d.l.info("Setting data for cluster XXX (",e,") ",n,l),t.setNode(l.id,n),t.parent(e)||(d.l.trace("Setting parent",e,l.id),t.setParent(e,l.id,n))}if(d.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){d.l.info("Cluster identified",e,r.width,t.node(e));const i=await E(v,r.graph,n,o,t.node(e),s),l=i.elem;(0,a.u)(r,l),r.diff=i.diff||0,d.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,a.s)(l,r),d.l.warn("Recursive render complete ",l,r)}else t.children(e).length>0?(d.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),d.l.info(p(r.id,t)),c[r.id]={id:p(r.id,t),node:r}):(d.l.info("Node - the non recursive path",e,r.id,r),await(0,a.e)(v,t.node(e),h))}))),t.edges().forEach((function(e){const n=t.edge(e.v,e.w,e.name);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.l.info("Fix",c,"ids:",e.v,e.w,"Translating: ",c[e.v],c[e.w]),(0,a.f)(w,n)})),t.edges().forEach((function(e){d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))})),d.l.info("#############################################"),d.l.info("### Layout ###"),d.l.info("#############################################"),d.l.info(t),(0,r.Zp)(t),d.l.info("Graph after layout:",i.M(t));let y=0;const{subGraphTitleTotalMargin:N}=(0,a.g)(s);return(e=>x(e,e.children()))(t).forEach((function(e){const n=t.node(e);d.l.info("Position "+e+": "+JSON.stringify(t.node(e))),d.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(n.y+=N,(0,a.p)(n)):t.children(e).length>0?(n.height+=N,((e,t)=>{d.l.trace("Inserting cluster");const n=t.shape||"rect";b[t.id]=m[n](e,t)})(f,n),c[n.id].node=n):(n.y+=N/2,(0,a.p)(n))})),t.edges().forEach((function(e){const r=t.edge(e);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r),r.points.forEach((e=>e.y+=N/2));const i=(0,a.h)(u,e,r,c,n,t,o);(0,a.j)(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);d.l.info(e,n.type,n.diff),"group"===n.type&&(y=n.diff)})),{elem:g,diff:y}},N=async(e,t,n,r,o)=>{(0,a.a)(e,n,r,o),(0,a.b)(),(0,a.d)(),b={},h={},g={},c={},d.l.warn("Graph at first:",JSON.stringify(i.M(t))),(e=>{if(e){d.l.debug("Opting in, graph "),e.nodes().forEach((function(t){e.children(t).length>0&&(d.l.warn("Cluster identified",t," Replacement id in edges: ",p(t,e)),h[t]=w(t,e),c[t]={id:p(t,e),clusterData:e.node(t)})})),e.nodes().forEach((function(t){const n=e.children(t),r=e.edges();n.length>0?(d.l.debug("Cluster identified",t,h),r.forEach((e=>{e.v!==t&&e.w!==t&&f(e.v,t)^f(e.w,t)&&(d.l.warn("Edge: ",e," leaves cluster ",t),d.l.warn("Descendants of XXX ",t,": ",h[t]),c[t].externalConnections=!0)}))):d.l.debug("Not a cluster ",t,h)}));for(let t of Object.keys(c)){const n=c[t].id,r=e.parent(n);r!==t&&c[r]&&!c[r].externalConnections&&(c[t].id=r)}e.edges().forEach((function(t){const n=e.edge(t);d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.l.warn("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c[t.v]," --- ",c[t.w]),c[t.v]&&c[t.w]&&c[t.v]===c[t.w]){d.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name);const a=t.w+"---"+t.v;e.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=structuredClone(n),l=structuredClone(n);o.label="",o.arrowTypeEnd="none",l.label="",o.fromCluster=t.v,l.toCluster=t.v,e.setEdge(r,a,o,t.name+"-cyclic-special"),e.setEdge(a,i,l,t.name+"-cyclic-special")}else if(c[t.v]||c[t.w]){if(d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){const i=e.parent(r);c[i].externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){const r=e.parent(i);c[r].externalConnections=!0,n.toCluster=t.w}d.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name)}})),d.l.warn("Adjusted Graph",i.M(e)),y(e,0),d.l.trace(c)}else d.l.debug("Opting out, no graph ")})(t),d.l.warn("Graph after:",JSON.stringify(i.M(t)));const l=(0,d.c)();await E(e,t,r,o,void 0,l)}}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/katex.mjs b/resources/daux/themes/rsp/js/katex.mjs new file mode 100644 index 0000000..725d3ee --- /dev/null +++ b/resources/daux/themes/rsp/js/katex.mjs @@ -0,0 +1 @@ +export const id=366;export const ids=[366];export const modules={2130:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Qa});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,a,n="KaTeX parse error: "+e,o=t&&t.loc;if(o&&o.start<=o.end){var s=o.lexer.input;r=o.start,a=o.end,r===s.length?n+=" at end of input: ":n+=" at position "+(r+1)+": ";var l=s.slice(r,a).replace(/[^]/g,"$&̲");n+=(r>15?"…"+s.slice(r-15,r):s.slice(0,r))+l+(a+15":">","<":"<",'"':""","'":"'"},l=/[&><"']/g,h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},m=function(e,t){return-1!==e.indexOf(t)},c=function(e,t){return void 0===e?t:e},p=function(e){return String(e).replace(l,(e=>s[e]))},u=function(e){return e.replace(o,"-$1").toLowerCase()},d=h,g=function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"},v={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function b(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class y{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},v)if(v.hasOwnProperty(t)){var r=v[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:b(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}return!(!a||"ignore"===a||!0!==a&&"error"!==a&&("warn"===a?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]"),1)))}isTrusted(e){if(e.url&&!e.protocol){var t=f(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}}class x{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return w[k[this.id]]}sub(){return w[S[this.id]]}fracNum(){return w[M[this.id]]}fracDen(){return w[z[this.id]]}cramp(){return w[A[this.id]]}text(){return w[T[this.id]]}isTight(){return this.size>=2}}var w=[new x(0,0,!1),new x(1,0,!0),new x(2,1,!1),new x(3,1,!0),new x(4,2,!1),new x(5,2,!0),new x(6,3,!1),new x(7,3,!0)],k=[4,5,4,5,6,7,6,7],S=[5,5,5,5,7,7,7,7],M=[2,3,4,5,6,7,6,7],z=[3,3,5,5,7,7,7,7],A=[1,1,3,3,5,5,7,7],T=[0,1,2,3,2,3,2,3],B={DISPLAY:w[0],TEXT:w[2],SCRIPT:w[4],SCRIPTSCRIPT:w[6]},N=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],q=[];function C(e){for(var t=0;t=q[t]&&e<=q[t+1])return!0;return!1}N.forEach((e=>e.blocks.forEach((e=>q.push(...e)))));var I={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class R{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var H={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},O={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},E={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function L(e,t,r){if(!H[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=H[t][a];if(!n&&e[0]in E&&(a=E[e[0]].charCodeAt(0),n=H[t][a]),n||"text"!==r||C(a)&&(n=H[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var D={},V=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],P=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F=function(e,t){return t.size<2?e:V[e-1][t.size-1]};class G{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||G.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=P[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new G(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:F(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:P[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=F(G.BASESIZE,e);return this.size===t&&this.textSize===G.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==G.BASESIZE?["sizing","reset-size"+this.size,"size"+G.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!D[t=e>=5?0:e>=3?1:2]){var r=D[t]={cssEmPerMu:O.quad[t]/18};for(var a in O)O.hasOwnProperty(a)&&(r[a]=O[a][t])}return D[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}G.BASESIZE=6;var U={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Y={ex:!0,em:!0,mu:!0},X=function(e){return"string"!=typeof e&&(e=e.unit),e in U||e in Y||"ex"===e},W=function(e,t){var r;if(e.unit in U)r=U[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var a;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},_=function(e){return+e.toFixed(4)+"em"},j=function(e){return e.filter((e=>e)).join(" ")},$=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},Z=function(e){var t=document.createElement(e);for(var r in t.className=j(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class J{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"span")}toMarkup(){return K.call(this,"span")}}class Q{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"a")}toMarkup(){return K.call(this,"a")}}class ee{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+p(this.alt)+'"}}var te={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class re{constructor(e,t,r,a,n,i,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t=n[0]&&e<=n[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=te[this.text])}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=_(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=j(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=u(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+p(r)+'"');var n=p(this.text);return e?(t+=">",t+=n,t+=""):n}}class ae{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r"}}class ne{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",I[this.pathName]),e}toMarkup(){return this.alternate?'':''}}class ie{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=""}}function oe(e){if(e instanceof re)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var se={bin:1,close:1,inner:1,open:1,punct:1,rel:1},le={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},he={math:{},text:{}};function me(e,t,r,a,n,i){he[e][n]={font:t,group:r,replace:a},i&&a&&(he[e][a]=he[e][n])}var ce="math",pe="text",ue="main",de="ams",ge="accent-token",fe="bin",ve="close",be="inner",ye="mathord",xe="op-token",we="open",ke="punct",Se="rel",Me="spacing",ze="textord";me(ce,ue,Se,"≡","\\equiv",!0),me(ce,ue,Se,"≺","\\prec",!0),me(ce,ue,Se,"≻","\\succ",!0),me(ce,ue,Se,"∼","\\sim",!0),me(ce,ue,Se,"⊥","\\perp"),me(ce,ue,Se,"⪯","\\preceq",!0),me(ce,ue,Se,"⪰","\\succeq",!0),me(ce,ue,Se,"≃","\\simeq",!0),me(ce,ue,Se,"∣","\\mid",!0),me(ce,ue,Se,"≪","\\ll",!0),me(ce,ue,Se,"≫","\\gg",!0),me(ce,ue,Se,"≍","\\asymp",!0),me(ce,ue,Se,"∥","\\parallel"),me(ce,ue,Se,"⋈","\\bowtie",!0),me(ce,ue,Se,"⌣","\\smile",!0),me(ce,ue,Se,"⊑","\\sqsubseteq",!0),me(ce,ue,Se,"⊒","\\sqsupseteq",!0),me(ce,ue,Se,"≐","\\doteq",!0),me(ce,ue,Se,"⌢","\\frown",!0),me(ce,ue,Se,"∋","\\ni",!0),me(ce,ue,Se,"∝","\\propto",!0),me(ce,ue,Se,"⊢","\\vdash",!0),me(ce,ue,Se,"⊣","\\dashv",!0),me(ce,ue,Se,"∋","\\owns"),me(ce,ue,ke,".","\\ldotp"),me(ce,ue,ke,"⋅","\\cdotp"),me(ce,ue,ze,"#","\\#"),me(pe,ue,ze,"#","\\#"),me(ce,ue,ze,"&","\\&"),me(pe,ue,ze,"&","\\&"),me(ce,ue,ze,"ℵ","\\aleph",!0),me(ce,ue,ze,"∀","\\forall",!0),me(ce,ue,ze,"ℏ","\\hbar",!0),me(ce,ue,ze,"∃","\\exists",!0),me(ce,ue,ze,"∇","\\nabla",!0),me(ce,ue,ze,"♭","\\flat",!0),me(ce,ue,ze,"ℓ","\\ell",!0),me(ce,ue,ze,"♮","\\natural",!0),me(ce,ue,ze,"♣","\\clubsuit",!0),me(ce,ue,ze,"℘","\\wp",!0),me(ce,ue,ze,"♯","\\sharp",!0),me(ce,ue,ze,"♢","\\diamondsuit",!0),me(ce,ue,ze,"ℜ","\\Re",!0),me(ce,ue,ze,"♡","\\heartsuit",!0),me(ce,ue,ze,"ℑ","\\Im",!0),me(ce,ue,ze,"♠","\\spadesuit",!0),me(ce,ue,ze,"§","\\S",!0),me(pe,ue,ze,"§","\\S"),me(ce,ue,ze,"¶","\\P",!0),me(pe,ue,ze,"¶","\\P"),me(ce,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\textdagger"),me(ce,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\textdaggerdbl"),me(ce,ue,ve,"⎱","\\rmoustache",!0),me(ce,ue,we,"⎰","\\lmoustache",!0),me(ce,ue,ve,"⟯","\\rgroup",!0),me(ce,ue,we,"⟮","\\lgroup",!0),me(ce,ue,fe,"∓","\\mp",!0),me(ce,ue,fe,"⊖","\\ominus",!0),me(ce,ue,fe,"⊎","\\uplus",!0),me(ce,ue,fe,"⊓","\\sqcap",!0),me(ce,ue,fe,"∗","\\ast"),me(ce,ue,fe,"⊔","\\sqcup",!0),me(ce,ue,fe,"◯","\\bigcirc",!0),me(ce,ue,fe,"∙","\\bullet",!0),me(ce,ue,fe,"‡","\\ddagger"),me(ce,ue,fe,"≀","\\wr",!0),me(ce,ue,fe,"⨿","\\amalg"),me(ce,ue,fe,"&","\\And"),me(ce,ue,Se,"⟵","\\longleftarrow",!0),me(ce,ue,Se,"⇐","\\Leftarrow",!0),me(ce,ue,Se,"⟸","\\Longleftarrow",!0),me(ce,ue,Se,"⟶","\\longrightarrow",!0),me(ce,ue,Se,"⇒","\\Rightarrow",!0),me(ce,ue,Se,"⟹","\\Longrightarrow",!0),me(ce,ue,Se,"↔","\\leftrightarrow",!0),me(ce,ue,Se,"⟷","\\longleftrightarrow",!0),me(ce,ue,Se,"⇔","\\Leftrightarrow",!0),me(ce,ue,Se,"⟺","\\Longleftrightarrow",!0),me(ce,ue,Se,"↦","\\mapsto",!0),me(ce,ue,Se,"⟼","\\longmapsto",!0),me(ce,ue,Se,"↗","\\nearrow",!0),me(ce,ue,Se,"↩","\\hookleftarrow",!0),me(ce,ue,Se,"↪","\\hookrightarrow",!0),me(ce,ue,Se,"↘","\\searrow",!0),me(ce,ue,Se,"↼","\\leftharpoonup",!0),me(ce,ue,Se,"⇀","\\rightharpoonup",!0),me(ce,ue,Se,"↙","\\swarrow",!0),me(ce,ue,Se,"↽","\\leftharpoondown",!0),me(ce,ue,Se,"⇁","\\rightharpoondown",!0),me(ce,ue,Se,"↖","\\nwarrow",!0),me(ce,ue,Se,"⇌","\\rightleftharpoons",!0),me(ce,de,Se,"≮","\\nless",!0),me(ce,de,Se,"","\\@nleqslant"),me(ce,de,Se,"","\\@nleqq"),me(ce,de,Se,"⪇","\\lneq",!0),me(ce,de,Se,"≨","\\lneqq",!0),me(ce,de,Se,"","\\@lvertneqq"),me(ce,de,Se,"⋦","\\lnsim",!0),me(ce,de,Se,"⪉","\\lnapprox",!0),me(ce,de,Se,"⊀","\\nprec",!0),me(ce,de,Se,"⋠","\\npreceq",!0),me(ce,de,Se,"⋨","\\precnsim",!0),me(ce,de,Se,"⪹","\\precnapprox",!0),me(ce,de,Se,"≁","\\nsim",!0),me(ce,de,Se,"","\\@nshortmid"),me(ce,de,Se,"∤","\\nmid",!0),me(ce,de,Se,"⊬","\\nvdash",!0),me(ce,de,Se,"⊭","\\nvDash",!0),me(ce,de,Se,"⋪","\\ntriangleleft"),me(ce,de,Se,"⋬","\\ntrianglelefteq",!0),me(ce,de,Se,"⊊","\\subsetneq",!0),me(ce,de,Se,"","\\@varsubsetneq"),me(ce,de,Se,"⫋","\\subsetneqq",!0),me(ce,de,Se,"","\\@varsubsetneqq"),me(ce,de,Se,"≯","\\ngtr",!0),me(ce,de,Se,"","\\@ngeqslant"),me(ce,de,Se,"","\\@ngeqq"),me(ce,de,Se,"⪈","\\gneq",!0),me(ce,de,Se,"≩","\\gneqq",!0),me(ce,de,Se,"","\\@gvertneqq"),me(ce,de,Se,"⋧","\\gnsim",!0),me(ce,de,Se,"⪊","\\gnapprox",!0),me(ce,de,Se,"⊁","\\nsucc",!0),me(ce,de,Se,"⋡","\\nsucceq",!0),me(ce,de,Se,"⋩","\\succnsim",!0),me(ce,de,Se,"⪺","\\succnapprox",!0),me(ce,de,Se,"≆","\\ncong",!0),me(ce,de,Se,"","\\@nshortparallel"),me(ce,de,Se,"∦","\\nparallel",!0),me(ce,de,Se,"⊯","\\nVDash",!0),me(ce,de,Se,"⋫","\\ntriangleright"),me(ce,de,Se,"⋭","\\ntrianglerighteq",!0),me(ce,de,Se,"","\\@nsupseteqq"),me(ce,de,Se,"⊋","\\supsetneq",!0),me(ce,de,Se,"","\\@varsupsetneq"),me(ce,de,Se,"⫌","\\supsetneqq",!0),me(ce,de,Se,"","\\@varsupsetneqq"),me(ce,de,Se,"⊮","\\nVdash",!0),me(ce,de,Se,"⪵","\\precneqq",!0),me(ce,de,Se,"⪶","\\succneqq",!0),me(ce,de,Se,"","\\@nsubseteqq"),me(ce,de,fe,"⊴","\\unlhd"),me(ce,de,fe,"⊵","\\unrhd"),me(ce,de,Se,"↚","\\nleftarrow",!0),me(ce,de,Se,"↛","\\nrightarrow",!0),me(ce,de,Se,"⇍","\\nLeftarrow",!0),me(ce,de,Se,"⇏","\\nRightarrow",!0),me(ce,de,Se,"↮","\\nleftrightarrow",!0),me(ce,de,Se,"⇎","\\nLeftrightarrow",!0),me(ce,de,Se,"△","\\vartriangle"),me(ce,de,ze,"ℏ","\\hslash"),me(ce,de,ze,"▽","\\triangledown"),me(ce,de,ze,"◊","\\lozenge"),me(ce,de,ze,"Ⓢ","\\circledS"),me(ce,de,ze,"®","\\circledR"),me(pe,de,ze,"®","\\circledR"),me(ce,de,ze,"∡","\\measuredangle",!0),me(ce,de,ze,"∄","\\nexists"),me(ce,de,ze,"℧","\\mho"),me(ce,de,ze,"Ⅎ","\\Finv",!0),me(ce,de,ze,"⅁","\\Game",!0),me(ce,de,ze,"‵","\\backprime"),me(ce,de,ze,"▲","\\blacktriangle"),me(ce,de,ze,"▼","\\blacktriangledown"),me(ce,de,ze,"■","\\blacksquare"),me(ce,de,ze,"⧫","\\blacklozenge"),me(ce,de,ze,"★","\\bigstar"),me(ce,de,ze,"∢","\\sphericalangle",!0),me(ce,de,ze,"∁","\\complement",!0),me(ce,de,ze,"ð","\\eth",!0),me(pe,ue,ze,"ð","ð"),me(ce,de,ze,"╱","\\diagup"),me(ce,de,ze,"╲","\\diagdown"),me(ce,de,ze,"□","\\square"),me(ce,de,ze,"□","\\Box"),me(ce,de,ze,"◊","\\Diamond"),me(ce,de,ze,"¥","\\yen",!0),me(pe,de,ze,"¥","\\yen",!0),me(ce,de,ze,"✓","\\checkmark",!0),me(pe,de,ze,"✓","\\checkmark"),me(ce,de,ze,"ℶ","\\beth",!0),me(ce,de,ze,"ℸ","\\daleth",!0),me(ce,de,ze,"ℷ","\\gimel",!0),me(ce,de,ze,"ϝ","\\digamma",!0),me(ce,de,ze,"ϰ","\\varkappa"),me(ce,de,we,"┌","\\@ulcorner",!0),me(ce,de,ve,"┐","\\@urcorner",!0),me(ce,de,we,"└","\\@llcorner",!0),me(ce,de,ve,"┘","\\@lrcorner",!0),me(ce,de,Se,"≦","\\leqq",!0),me(ce,de,Se,"⩽","\\leqslant",!0),me(ce,de,Se,"⪕","\\eqslantless",!0),me(ce,de,Se,"≲","\\lesssim",!0),me(ce,de,Se,"⪅","\\lessapprox",!0),me(ce,de,Se,"≊","\\approxeq",!0),me(ce,de,fe,"⋖","\\lessdot"),me(ce,de,Se,"⋘","\\lll",!0),me(ce,de,Se,"≶","\\lessgtr",!0),me(ce,de,Se,"⋚","\\lesseqgtr",!0),me(ce,de,Se,"⪋","\\lesseqqgtr",!0),me(ce,de,Se,"≑","\\doteqdot"),me(ce,de,Se,"≓","\\risingdotseq",!0),me(ce,de,Se,"≒","\\fallingdotseq",!0),me(ce,de,Se,"∽","\\backsim",!0),me(ce,de,Se,"⋍","\\backsimeq",!0),me(ce,de,Se,"⫅","\\subseteqq",!0),me(ce,de,Se,"⋐","\\Subset",!0),me(ce,de,Se,"⊏","\\sqsubset",!0),me(ce,de,Se,"≼","\\preccurlyeq",!0),me(ce,de,Se,"⋞","\\curlyeqprec",!0),me(ce,de,Se,"≾","\\precsim",!0),me(ce,de,Se,"⪷","\\precapprox",!0),me(ce,de,Se,"⊲","\\vartriangleleft"),me(ce,de,Se,"⊴","\\trianglelefteq"),me(ce,de,Se,"⊨","\\vDash",!0),me(ce,de,Se,"⊪","\\Vvdash",!0),me(ce,de,Se,"⌣","\\smallsmile"),me(ce,de,Se,"⌢","\\smallfrown"),me(ce,de,Se,"≏","\\bumpeq",!0),me(ce,de,Se,"≎","\\Bumpeq",!0),me(ce,de,Se,"≧","\\geqq",!0),me(ce,de,Se,"⩾","\\geqslant",!0),me(ce,de,Se,"⪖","\\eqslantgtr",!0),me(ce,de,Se,"≳","\\gtrsim",!0),me(ce,de,Se,"⪆","\\gtrapprox",!0),me(ce,de,fe,"⋗","\\gtrdot"),me(ce,de,Se,"⋙","\\ggg",!0),me(ce,de,Se,"≷","\\gtrless",!0),me(ce,de,Se,"⋛","\\gtreqless",!0),me(ce,de,Se,"⪌","\\gtreqqless",!0),me(ce,de,Se,"≖","\\eqcirc",!0),me(ce,de,Se,"≗","\\circeq",!0),me(ce,de,Se,"≜","\\triangleq",!0),me(ce,de,Se,"∼","\\thicksim"),me(ce,de,Se,"≈","\\thickapprox"),me(ce,de,Se,"⫆","\\supseteqq",!0),me(ce,de,Se,"⋑","\\Supset",!0),me(ce,de,Se,"⊐","\\sqsupset",!0),me(ce,de,Se,"≽","\\succcurlyeq",!0),me(ce,de,Se,"⋟","\\curlyeqsucc",!0),me(ce,de,Se,"≿","\\succsim",!0),me(ce,de,Se,"⪸","\\succapprox",!0),me(ce,de,Se,"⊳","\\vartriangleright"),me(ce,de,Se,"⊵","\\trianglerighteq"),me(ce,de,Se,"⊩","\\Vdash",!0),me(ce,de,Se,"∣","\\shortmid"),me(ce,de,Se,"∥","\\shortparallel"),me(ce,de,Se,"≬","\\between",!0),me(ce,de,Se,"⋔","\\pitchfork",!0),me(ce,de,Se,"∝","\\varpropto"),me(ce,de,Se,"◀","\\blacktriangleleft"),me(ce,de,Se,"∴","\\therefore",!0),me(ce,de,Se,"∍","\\backepsilon"),me(ce,de,Se,"▶","\\blacktriangleright"),me(ce,de,Se,"∵","\\because",!0),me(ce,de,Se,"⋘","\\llless"),me(ce,de,Se,"⋙","\\gggtr"),me(ce,de,fe,"⊲","\\lhd"),me(ce,de,fe,"⊳","\\rhd"),me(ce,de,Se,"≂","\\eqsim",!0),me(ce,ue,Se,"⋈","\\Join"),me(ce,de,Se,"≑","\\Doteq",!0),me(ce,de,fe,"∔","\\dotplus",!0),me(ce,de,fe,"∖","\\smallsetminus"),me(ce,de,fe,"⋒","\\Cap",!0),me(ce,de,fe,"⋓","\\Cup",!0),me(ce,de,fe,"⩞","\\doublebarwedge",!0),me(ce,de,fe,"⊟","\\boxminus",!0),me(ce,de,fe,"⊞","\\boxplus",!0),me(ce,de,fe,"⋇","\\divideontimes",!0),me(ce,de,fe,"⋉","\\ltimes",!0),me(ce,de,fe,"⋊","\\rtimes",!0),me(ce,de,fe,"⋋","\\leftthreetimes",!0),me(ce,de,fe,"⋌","\\rightthreetimes",!0),me(ce,de,fe,"⋏","\\curlywedge",!0),me(ce,de,fe,"⋎","\\curlyvee",!0),me(ce,de,fe,"⊝","\\circleddash",!0),me(ce,de,fe,"⊛","\\circledast",!0),me(ce,de,fe,"⋅","\\centerdot"),me(ce,de,fe,"⊺","\\intercal",!0),me(ce,de,fe,"⋒","\\doublecap"),me(ce,de,fe,"⋓","\\doublecup"),me(ce,de,fe,"⊠","\\boxtimes",!0),me(ce,de,Se,"⇢","\\dashrightarrow",!0),me(ce,de,Se,"⇠","\\dashleftarrow",!0),me(ce,de,Se,"⇇","\\leftleftarrows",!0),me(ce,de,Se,"⇆","\\leftrightarrows",!0),me(ce,de,Se,"⇚","\\Lleftarrow",!0),me(ce,de,Se,"↞","\\twoheadleftarrow",!0),me(ce,de,Se,"↢","\\leftarrowtail",!0),me(ce,de,Se,"↫","\\looparrowleft",!0),me(ce,de,Se,"⇋","\\leftrightharpoons",!0),me(ce,de,Se,"↶","\\curvearrowleft",!0),me(ce,de,Se,"↺","\\circlearrowleft",!0),me(ce,de,Se,"↰","\\Lsh",!0),me(ce,de,Se,"⇈","\\upuparrows",!0),me(ce,de,Se,"↿","\\upharpoonleft",!0),me(ce,de,Se,"⇃","\\downharpoonleft",!0),me(ce,ue,Se,"⊶","\\origof",!0),me(ce,ue,Se,"⊷","\\imageof",!0),me(ce,de,Se,"⊸","\\multimap",!0),me(ce,de,Se,"↭","\\leftrightsquigarrow",!0),me(ce,de,Se,"⇉","\\rightrightarrows",!0),me(ce,de,Se,"⇄","\\rightleftarrows",!0),me(ce,de,Se,"↠","\\twoheadrightarrow",!0),me(ce,de,Se,"↣","\\rightarrowtail",!0),me(ce,de,Se,"↬","\\looparrowright",!0),me(ce,de,Se,"↷","\\curvearrowright",!0),me(ce,de,Se,"↻","\\circlearrowright",!0),me(ce,de,Se,"↱","\\Rsh",!0),me(ce,de,Se,"⇊","\\downdownarrows",!0),me(ce,de,Se,"↾","\\upharpoonright",!0),me(ce,de,Se,"⇂","\\downharpoonright",!0),me(ce,de,Se,"⇝","\\rightsquigarrow",!0),me(ce,de,Se,"⇝","\\leadsto"),me(ce,de,Se,"⇛","\\Rrightarrow",!0),me(ce,de,Se,"↾","\\restriction"),me(ce,ue,ze,"‘","`"),me(ce,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\textdollar"),me(ce,ue,ze,"%","\\%"),me(pe,ue,ze,"%","\\%"),me(ce,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\textunderscore"),me(ce,ue,ze,"∠","\\angle",!0),me(ce,ue,ze,"∞","\\infty",!0),me(ce,ue,ze,"′","\\prime"),me(ce,ue,ze,"△","\\triangle"),me(ce,ue,ze,"Γ","\\Gamma",!0),me(ce,ue,ze,"Δ","\\Delta",!0),me(ce,ue,ze,"Θ","\\Theta",!0),me(ce,ue,ze,"Λ","\\Lambda",!0),me(ce,ue,ze,"Ξ","\\Xi",!0),me(ce,ue,ze,"Π","\\Pi",!0),me(ce,ue,ze,"Σ","\\Sigma",!0),me(ce,ue,ze,"Υ","\\Upsilon",!0),me(ce,ue,ze,"Φ","\\Phi",!0),me(ce,ue,ze,"Ψ","\\Psi",!0),me(ce,ue,ze,"Ω","\\Omega",!0),me(ce,ue,ze,"A","Α"),me(ce,ue,ze,"B","Β"),me(ce,ue,ze,"E","Ε"),me(ce,ue,ze,"Z","Ζ"),me(ce,ue,ze,"H","Η"),me(ce,ue,ze,"I","Ι"),me(ce,ue,ze,"K","Κ"),me(ce,ue,ze,"M","Μ"),me(ce,ue,ze,"N","Ν"),me(ce,ue,ze,"O","Ο"),me(ce,ue,ze,"P","Ρ"),me(ce,ue,ze,"T","Τ"),me(ce,ue,ze,"X","Χ"),me(ce,ue,ze,"¬","\\neg",!0),me(ce,ue,ze,"¬","\\lnot"),me(ce,ue,ze,"⊤","\\top"),me(ce,ue,ze,"⊥","\\bot"),me(ce,ue,ze,"∅","\\emptyset"),me(ce,de,ze,"∅","\\varnothing"),me(ce,ue,ye,"α","\\alpha",!0),me(ce,ue,ye,"β","\\beta",!0),me(ce,ue,ye,"γ","\\gamma",!0),me(ce,ue,ye,"δ","\\delta",!0),me(ce,ue,ye,"ϵ","\\epsilon",!0),me(ce,ue,ye,"ζ","\\zeta",!0),me(ce,ue,ye,"η","\\eta",!0),me(ce,ue,ye,"θ","\\theta",!0),me(ce,ue,ye,"ι","\\iota",!0),me(ce,ue,ye,"κ","\\kappa",!0),me(ce,ue,ye,"λ","\\lambda",!0),me(ce,ue,ye,"μ","\\mu",!0),me(ce,ue,ye,"ν","\\nu",!0),me(ce,ue,ye,"ξ","\\xi",!0),me(ce,ue,ye,"ο","\\omicron",!0),me(ce,ue,ye,"π","\\pi",!0),me(ce,ue,ye,"ρ","\\rho",!0),me(ce,ue,ye,"σ","\\sigma",!0),me(ce,ue,ye,"τ","\\tau",!0),me(ce,ue,ye,"υ","\\upsilon",!0),me(ce,ue,ye,"ϕ","\\phi",!0),me(ce,ue,ye,"χ","\\chi",!0),me(ce,ue,ye,"ψ","\\psi",!0),me(ce,ue,ye,"ω","\\omega",!0),me(ce,ue,ye,"ε","\\varepsilon",!0),me(ce,ue,ye,"ϑ","\\vartheta",!0),me(ce,ue,ye,"ϖ","\\varpi",!0),me(ce,ue,ye,"ϱ","\\varrho",!0),me(ce,ue,ye,"ς","\\varsigma",!0),me(ce,ue,ye,"φ","\\varphi",!0),me(ce,ue,fe,"∗","*",!0),me(ce,ue,fe,"+","+"),me(ce,ue,fe,"−","-",!0),me(ce,ue,fe,"⋅","\\cdot",!0),me(ce,ue,fe,"∘","\\circ",!0),me(ce,ue,fe,"÷","\\div",!0),me(ce,ue,fe,"±","\\pm",!0),me(ce,ue,fe,"×","\\times",!0),me(ce,ue,fe,"∩","\\cap",!0),me(ce,ue,fe,"∪","\\cup",!0),me(ce,ue,fe,"∖","\\setminus",!0),me(ce,ue,fe,"∧","\\land"),me(ce,ue,fe,"∨","\\lor"),me(ce,ue,fe,"∧","\\wedge",!0),me(ce,ue,fe,"∨","\\vee",!0),me(ce,ue,ze,"√","\\surd"),me(ce,ue,we,"⟨","\\langle",!0),me(ce,ue,we,"∣","\\lvert"),me(ce,ue,we,"∥","\\lVert"),me(ce,ue,ve,"?","?"),me(ce,ue,ve,"!","!"),me(ce,ue,ve,"⟩","\\rangle",!0),me(ce,ue,ve,"∣","\\rvert"),me(ce,ue,ve,"∥","\\rVert"),me(ce,ue,Se,"=","="),me(ce,ue,Se,":",":"),me(ce,ue,Se,"≈","\\approx",!0),me(ce,ue,Se,"≅","\\cong",!0),me(ce,ue,Se,"≥","\\ge"),me(ce,ue,Se,"≥","\\geq",!0),me(ce,ue,Se,"←","\\gets"),me(ce,ue,Se,">","\\gt",!0),me(ce,ue,Se,"∈","\\in",!0),me(ce,ue,Se,"","\\@not"),me(ce,ue,Se,"⊂","\\subset",!0),me(ce,ue,Se,"⊃","\\supset",!0),me(ce,ue,Se,"⊆","\\subseteq",!0),me(ce,ue,Se,"⊇","\\supseteq",!0),me(ce,de,Se,"⊈","\\nsubseteq",!0),me(ce,de,Se,"⊉","\\nsupseteq",!0),me(ce,ue,Se,"⊨","\\models"),me(ce,ue,Se,"←","\\leftarrow",!0),me(ce,ue,Se,"≤","\\le"),me(ce,ue,Se,"≤","\\leq",!0),me(ce,ue,Se,"<","\\lt",!0),me(ce,ue,Se,"→","\\rightarrow",!0),me(ce,ue,Se,"→","\\to"),me(ce,de,Se,"≱","\\ngeq",!0),me(ce,de,Se,"≰","\\nleq",!0),me(ce,ue,Me," ","\\ "),me(ce,ue,Me," ","\\space"),me(ce,ue,Me," ","\\nobreakspace"),me(pe,ue,Me," ","\\ "),me(pe,ue,Me," "," "),me(pe,ue,Me," ","\\space"),me(pe,ue,Me," ","\\nobreakspace"),me(ce,ue,Me,null,"\\nobreak"),me(ce,ue,Me,null,"\\allowbreak"),me(ce,ue,ke,",",","),me(ce,ue,ke,";",";"),me(ce,de,fe,"⊼","\\barwedge",!0),me(ce,de,fe,"⊻","\\veebar",!0),me(ce,ue,fe,"⊙","\\odot",!0),me(ce,ue,fe,"⊕","\\oplus",!0),me(ce,ue,fe,"⊗","\\otimes",!0),me(ce,ue,ze,"∂","\\partial",!0),me(ce,ue,fe,"⊘","\\oslash",!0),me(ce,de,fe,"⊚","\\circledcirc",!0),me(ce,de,fe,"⊡","\\boxdot",!0),me(ce,ue,fe,"△","\\bigtriangleup"),me(ce,ue,fe,"▽","\\bigtriangledown"),me(ce,ue,fe,"†","\\dagger"),me(ce,ue,fe,"⋄","\\diamond"),me(ce,ue,fe,"⋆","\\star"),me(ce,ue,fe,"◃","\\triangleleft"),me(ce,ue,fe,"▹","\\triangleright"),me(ce,ue,we,"{","\\{"),me(pe,ue,ze,"{","\\{"),me(pe,ue,ze,"{","\\textbraceleft"),me(ce,ue,ve,"}","\\}"),me(pe,ue,ze,"}","\\}"),me(pe,ue,ze,"}","\\textbraceright"),me(ce,ue,we,"{","\\lbrace"),me(ce,ue,ve,"}","\\rbrace"),me(ce,ue,we,"[","\\lbrack",!0),me(pe,ue,ze,"[","\\lbrack",!0),me(ce,ue,ve,"]","\\rbrack",!0),me(pe,ue,ze,"]","\\rbrack",!0),me(ce,ue,we,"(","\\lparen",!0),me(ce,ue,ve,")","\\rparen",!0),me(pe,ue,ze,"<","\\textless",!0),me(pe,ue,ze,">","\\textgreater",!0),me(ce,ue,we,"⌊","\\lfloor",!0),me(ce,ue,ve,"⌋","\\rfloor",!0),me(ce,ue,we,"⌈","\\lceil",!0),me(ce,ue,ve,"⌉","\\rceil",!0),me(ce,ue,ze,"\\","\\backslash"),me(ce,ue,ze,"∣","|"),me(ce,ue,ze,"∣","\\vert"),me(pe,ue,ze,"|","\\textbar",!0),me(ce,ue,ze,"∥","\\|"),me(ce,ue,ze,"∥","\\Vert"),me(pe,ue,ze,"∥","\\textbardbl"),me(pe,ue,ze,"~","\\textasciitilde"),me(pe,ue,ze,"\\","\\textbackslash"),me(pe,ue,ze,"^","\\textasciicircum"),me(ce,ue,Se,"↑","\\uparrow",!0),me(ce,ue,Se,"⇑","\\Uparrow",!0),me(ce,ue,Se,"↓","\\downarrow",!0),me(ce,ue,Se,"⇓","\\Downarrow",!0),me(ce,ue,Se,"↕","\\updownarrow",!0),me(ce,ue,Se,"⇕","\\Updownarrow",!0),me(ce,ue,xe,"∐","\\coprod"),me(ce,ue,xe,"⋁","\\bigvee"),me(ce,ue,xe,"⋀","\\bigwedge"),me(ce,ue,xe,"⨄","\\biguplus"),me(ce,ue,xe,"⋂","\\bigcap"),me(ce,ue,xe,"⋃","\\bigcup"),me(ce,ue,xe,"∫","\\int"),me(ce,ue,xe,"∫","\\intop"),me(ce,ue,xe,"∬","\\iint"),me(ce,ue,xe,"∭","\\iiint"),me(ce,ue,xe,"∏","\\prod"),me(ce,ue,xe,"∑","\\sum"),me(ce,ue,xe,"⨂","\\bigotimes"),me(ce,ue,xe,"⨁","\\bigoplus"),me(ce,ue,xe,"⨀","\\bigodot"),me(ce,ue,xe,"∮","\\oint"),me(ce,ue,xe,"∯","\\oiint"),me(ce,ue,xe,"∰","\\oiiint"),me(ce,ue,xe,"⨆","\\bigsqcup"),me(ce,ue,xe,"∫","\\smallint"),me(pe,ue,be,"…","\\textellipsis"),me(ce,ue,be,"…","\\mathellipsis"),me(pe,ue,be,"…","\\ldots",!0),me(ce,ue,be,"…","\\ldots",!0),me(ce,ue,be,"⋯","\\@cdots",!0),me(ce,ue,be,"⋱","\\ddots",!0),me(ce,ue,ze,"⋮","\\varvdots"),me(ce,ue,ge,"ˊ","\\acute"),me(ce,ue,ge,"ˋ","\\grave"),me(ce,ue,ge,"¨","\\ddot"),me(ce,ue,ge,"~","\\tilde"),me(ce,ue,ge,"ˉ","\\bar"),me(ce,ue,ge,"˘","\\breve"),me(ce,ue,ge,"ˇ","\\check"),me(ce,ue,ge,"^","\\hat"),me(ce,ue,ge,"⃗","\\vec"),me(ce,ue,ge,"˙","\\dot"),me(ce,ue,ge,"˚","\\mathring"),me(ce,ue,ye,"","\\@imath"),me(ce,ue,ye,"","\\@jmath"),me(ce,ue,ze,"ı","ı"),me(ce,ue,ze,"ȷ","ȷ"),me(pe,ue,ze,"ı","\\i",!0),me(pe,ue,ze,"ȷ","\\j",!0),me(pe,ue,ze,"ß","\\ss",!0),me(pe,ue,ze,"æ","\\ae",!0),me(pe,ue,ze,"œ","\\oe",!0),me(pe,ue,ze,"ø","\\o",!0),me(pe,ue,ze,"Æ","\\AE",!0),me(pe,ue,ze,"Œ","\\OE",!0),me(pe,ue,ze,"Ø","\\O",!0),me(pe,ue,ge,"ˊ","\\'"),me(pe,ue,ge,"ˋ","\\`"),me(pe,ue,ge,"ˆ","\\^"),me(pe,ue,ge,"˜","\\~"),me(pe,ue,ge,"ˉ","\\="),me(pe,ue,ge,"˘","\\u"),me(pe,ue,ge,"˙","\\."),me(pe,ue,ge,"¸","\\c"),me(pe,ue,ge,"˚","\\r"),me(pe,ue,ge,"ˇ","\\v"),me(pe,ue,ge,"¨",'\\"'),me(pe,ue,ge,"˝","\\H"),me(pe,ue,ge,"◯","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};me(pe,ue,ze,"–","--",!0),me(pe,ue,ze,"–","\\textendash"),me(pe,ue,ze,"—","---",!0),me(pe,ue,ze,"—","\\textemdash"),me(pe,ue,ze,"‘","`",!0),me(pe,ue,ze,"‘","\\textquoteleft"),me(pe,ue,ze,"’","'",!0),me(pe,ue,ze,"’","\\textquoteright"),me(pe,ue,ze,"“","``",!0),me(pe,ue,ze,"“","\\textquotedblleft"),me(pe,ue,ze,"”","''",!0),me(pe,ue,ze,"”","\\textquotedblright"),me(ce,ue,ze,"°","\\degree",!0),me(pe,ue,ze,"°","\\degree"),me(pe,ue,ze,"°","\\textdegree",!0),me(ce,ue,ze,"£","\\pounds"),me(ce,ue,ze,"£","\\mathsterling",!0),me(pe,ue,ze,"£","\\pounds"),me(pe,ue,ze,"£","\\textsterling",!0),me(ce,de,ze,"✠","\\maltese"),me(pe,de,ze,"✠","\\maltese");for(var Te=0;Te<14;Te++){var Be='0123456789/@."'.charAt(Te);me(ce,ue,ze,Be,Be)}for(var Ne=0;Ne<25;Ne++){var qe='0123456789!@*()-=+";:?/.,'.charAt(Ne);me(pe,ue,ze,qe,qe)}for(var Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ie=0;Ie<52;Ie++){var Re=Ce.charAt(Ie);me(ce,ue,ye,Re,Re),me(pe,ue,ze,Re,Re)}me(ce,de,ze,"C","ℂ"),me(pe,de,ze,"C","ℂ"),me(ce,de,ze,"H","ℍ"),me(pe,de,ze,"H","ℍ"),me(ce,de,ze,"N","ℕ"),me(pe,de,ze,"N","ℕ"),me(ce,de,ze,"P","ℙ"),me(pe,de,ze,"P","ℙ"),me(ce,de,ze,"Q","ℚ"),me(pe,de,ze,"Q","ℚ"),me(ce,de,ze,"R","ℝ"),me(pe,de,ze,"R","ℝ"),me(ce,de,ze,"Z","ℤ"),me(pe,de,ze,"Z","ℤ"),me(ce,ue,ye,"h","ℎ"),me(pe,ue,ye,"h","ℎ");for(var He="",Oe=0;Oe<52;Oe++){var Ee=Ce.charAt(Oe);me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56320+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56372+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56424+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56580+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56684+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56736+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56788+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56840+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56944+Oe)),me(pe,ue,ze,Ee,He),Oe<26&&(me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56632+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56476+Oe)),me(pe,ue,ze,Ee,He))}me(ce,ue,ye,"k",He=String.fromCharCode(55349,56668)),me(pe,ue,ze,"k",He);for(var Le=0;Le<10;Le++){var De=Le.toString();me(ce,ue,ye,De,He=String.fromCharCode(55349,57294+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57314+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57324+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57334+Le)),me(pe,ue,ze,De,He)}for(var Ve=0;Ve<3;Ve++){var Pe="ÐÞþ".charAt(Ve);me(ce,ue,ye,Pe,Pe),me(pe,ue,ze,Pe,Pe)}var Fe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ge=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ue=function(e,t,r){return he[r][e]&&he[r][e].replace&&(e=he[r][e].replace),{value:e,metrics:L(e,t,r)}},Ye=function(e,t,r,a,n){var i,o=Ue(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||a&&"mathit"===a.font)&&(l=0),i=new re(e,s.height,s.depth,l,s.skew,s.width,n)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new re(e,0,0,0,0,0,n);if(a){i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight");var h=a.getColor();h&&(i.style.color=h)}return i},Xe=(e,t)=>{if(j(e.classes)!==j(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},We=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},_e=function(e,t,r,a){var n=new J(e,t,r,a);return We(n),n},je=(e,t,r,a)=>new J(e,t,r,a),$e=function(e){var t=new R(e);return We(t),t},Ze=function(e,t,r){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}return a+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ke={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Qe={fontMap:Ke,makeSymbol:Ye,mathsym:function(e,t,r,a){return void 0===a&&(a=[]),"boldsymbol"===r.font&&Ue(e,"Main-Bold",t).metrics?Ye(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===he[t][e].font?Ye(e,"Main-Regular",t,r,a):Ye(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:_e,makeSvgSpan:je,makeLineSpan:function(e,t,r){var a=_e([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=_(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new Q(e,t,r,a);return We(n),n},makeFragment:$e,wrapFragment:function(e,t){return e instanceof R?_e([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:a}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,i=1;i0)return Ye(n,h,a,t,o.concat(m));if(l){var c,p;if("boldsymbol"===l){var u=function(e,t,r,a,n){return"textord"!==n&&Ue(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(n,a,0,0,r);c=u.fontName,p=[u.fontClass]}else s?(c=Ke[l].fontName,p=[l]):(c=Ze(l,t.fontWeight,t.fontShape),p=[l,t.fontWeight,t.fontShape]);if(Ue(n,c,a).metrics)return Ye(n,c,a,t,o.concat(p));if(Ae.hasOwnProperty(n)&&"Typewriter"===c.slice(0,10)){for(var d=[],g=0;g{var r=_e(["mspace"],[],t),a=W(e,t);return r.style.marginRight=_(a),r},staticSvg:function(e,t){var[r,a,n]=Je[e],i=new ne(r),o=new ae([i],{width:_(a),height:_(n),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"}),s=je(["overlay"],[o],t);return s.height=n,s.style.height=_(n),s.style.width=_(a),s},svgData:Je,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&m(dt,a)?t.classes[0]="mord":"mbin"===a&&m(ut,r)&&(e.classes[0]="mord")}),{node:c},p,u),bt(n,((e,t)=>{var r=wt(t),a=wt(e),n=r&&a?e.hasClass("mtight")?nt[r][a]:at[r][a]:null;if(n)return Qe.makeGlue(n,l)}),{node:c},p,u),n},bt=function e(t,r,a,n,i){n&&t.push(n);for(var o=0;or=>{t.splice(e+1,0,r),o++})(o)}}n&&t.pop()},yt=function(e){return e instanceof R||e instanceof Q||e instanceof J&&e.hasClass("enclosing")?e:null},xt=function e(t,r){var a=yt(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},wt=function(e,t){return e?(t&&(e=xt(e,t)),ft[e.classes[0]]||null):null},kt=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return pt(t.concat(r))},St=function(e,t,r){if(!e)return pt();if(ot[e.type]){var a=ot[e.type](e,t);if(r&&t.size!==r.size){a=pt(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function Mt(e,t){var r=pt(["base"],e,t),a=pt(["strut"]);return a.style.height=_(r.height+r.depth),r.depth&&(a.style.verticalAlign=_(-r.depth)),r.children.unshift(a),r}function zt(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var a,n=vt(e,t,"root");2===n.length&&n[1].hasClass("tag")&&(a=n.pop());for(var i,o=[],s=[],l=0;l0&&(o.push(Mt(s,t)),s=[]),o.push(n[l]));s.length>0&&o.push(Mt(s,t)),r?((i=Mt(vt(r,t,!0))).classes=["tag"],o.push(i)):a&&o.push(a);var m=pt(["katex-html"],o);if(m.setAttribute("aria-hidden","true"),i){var c=i.children[0];c.style.height=_(m.height+m.depth),m.depth&&(c.style.verticalAlign=_(-m.depth))}return m}function At(e){return new R(e)}class Tt{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=j(this.classes));for(var r=0;r0&&(e+=' class ="'+p(j(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map((e=>e.toText())).join("")}}class Bt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return p(this.toText())}toText(){return this.text}}var Nt={MathNode:Tt,TextNode:Bt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",_(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:At},qt=function(e,t,r){return!he[t][e]||!he[t][e].replace||55349===e.charCodeAt(0)||Ae.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=he[t][e].replace),new Nt.TextNode(e)},Ct=function(e){return 1===e.length?e[0]:new Nt.MathNode("mrow",e)},It=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var n=e.text;return m(["\\imath","\\jmath"],n)?null:(he[a][n]&&he[a][n].replace&&(n=he[a][n].replace),L(n,Qe.fontMap[r].fontName,a)?Qe.fontMap[r].variant:null)},Rt=function(e,t,r){if(1===e.length){var a=Ot(e[0],t);return r&&a instanceof Tt&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var n,i=[],o=0;o0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(s),n=s}return i},Ht=function(e,t,r){return Ct(Rt(e,t,r))},Ot=function(e,t){if(!e)return new Nt.MathNode("mrow");if(st[e.type])return st[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function Et(e,t,r,a,n){var i,o=Rt(e,r);i=1===o.length&&o[0]instanceof Tt&&m(["mrow","mtable"],o[0].type)?o[0]:new Nt.MathNode("mrow",o);var s=new Nt.MathNode("annotation",[new Nt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Nt.MathNode("semantics",[i,s]),h=new Nt.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),Qe.makeSpan([n?"katex":"katex-mathml"],[h])}var Lt=function(e){return new G({style:e.displayMode?B.DISPLAY:B.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Dt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Qe.makeSpan(r,[e])}return e},Vt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Pt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ft=function(e){var t=new Nt.MathNode("mo",[new Nt.TextNode(Vt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Gt=function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(m(["widehat","widecheck","widetilde","utilde"],a)){var n,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,o=.42,i=a+"4"):(n=312,r=2340,o=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][l],n=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],i=a+l):(r=[0,600,1033,2339,2340][l],n=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var h=new ne(i),c=new ae([h],{width:"100%",height:_(o),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:Qe.makeSvgSpan([],[c],t),minWidth:0,height:o}}var p,u,d,g=[],f=Pt[a],[v,b,y]=f,x=y/1e3,w=v.length;if(1===w)p=["hide-tail"],u=[f[3]];else if(2===w)p=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");p=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(r.style.minWidth=_(a)),r};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yt(e){var t=Xt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Xt(e){return e&&("atom"===e.type||le.hasOwnProperty(e.type))?e:null}var Wt=(e,t)=>{var r,a,n;e&&"supsub"===e.type?(r=(a=Ut(e.base,"accent")).base,e.base=r,n=function(e){if(e instanceof J)return e;throw new Error("Expected span but got "+String(e)+".")}(St(e,t)),e.base=a):r=(a=Ut(e,"accent")).base;var i=St(r,t.havingCrampedStyle()),o=0;if(a.isShifty&&g(r)){var s=d(r);o=oe(St(s,t.havingCrampedStyle())).skew}var l,h="\\c"===a.label,m=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(a.isStretchy)l=Gt(a,t),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+_(2*o)+")",marginLeft:_(2*o)}:void 0}]},t);else{var c,p;"\\vec"===a.label?(c=Qe.staticSvg("vec",t),p=Qe.svgData.vec[1]):((c=oe(c=Qe.makeOrd({mode:a.mode,text:a.label},t,"textord"))).italic=0,p=c.width,h&&(m+=c.depth)),l=Qe.makeSpan(["accent-body"],[c]);var u="\\textcircled"===a.label;u&&(l.classes.push("accent-full"),m=i.height);var f=o;u||(f-=p/2),l.style.left=_(f),"\\textcircled"===a.label&&(l.style.top=".2em"),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-m},{type:"elem",elem:l}]},t)}var v=Qe.makeSpan(["mord","accent"],[l],t);return n?(n.children[0]=v,n.height=Math.max(v.height,n.height),n.classes[0]="mord",n):v},_t=(e,t)=>{var r=e.isStretchy?Ft(e.label):new Nt.MathNode("mo",[qt(e.label,e.mode)]),a=new Nt.MathNode("mover",[Ot(e.base,t),r]);return a.setAttribute("accent","true"),a},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));lt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=mt(t[0]),a=!jt.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=St(e.base,t),a=Gt(e,t),n="\\utilde"===e.label?.12:0,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Ft(e.label),a=new Nt.MathNode("munder",[Ot(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var $t=e=>{var t=new Nt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};lt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a=t.style,n=t.havingStyle(a.sup()),i=Qe.wrapFragment(St(e.body,n,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(n=t.havingStyle(a.sub()),(r=Qe.wrapFragment(St(e.below,n,t),t)).classes.push(o+"-arrow-pad"));var s,l=Gt(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=i.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Qe.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,a=Ft(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=$t(Ot(e.body,t));if(e.below){var i=$t(Ot(e.below,t));r=new Nt.MathNode("munderover",[a,i,n])}else r=new Nt.MathNode("mover",[a,n])}else if(e.below){var o=$t(Ot(e.below,t));r=new Nt.MathNode("munder",[a,o])}else r=$t(),r=new Nt.MathNode("mover",[a,r]);return r}});var Zt=Qe.makeSpan;function Kt(e,t){var r=vt(e.body,t,!0);return Zt([e.mclass],r,t)}function Jt(e,t){var r,a=Rt(e.body,t);return"minner"===e.mclass?r=new Nt.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new Nt.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new Nt.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}lt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:ct(n),isCharacterBox:g(n)}},htmlBuilder:Kt,mathmlBuilder:Jt});var Qt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};lt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Qt(t[0]),body:ct(t[1]),isCharacterBox:g(t[1])}}}),lt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],o=t[0];r="\\stackrel"!==n?Qt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:ct(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===n?null:o,sub:"\\underset"===n?o:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:g(l)}},htmlBuilder:Kt,mathmlBuilder:Jt}),lt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Qt(t[0]),body:ct(t[0])}},htmlBuilder(e,t){var r=vt(e.body,t,!0),a=Qe.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=Rt(e.body,t),a=new Nt.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var er={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tr=e=>"textord"===e.type&&"@"===e.text;function rr(e,t,r){var a=er[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n={type:"atom",text:a,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[n],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}lt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=Qe.wrapFragment(St(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=_(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new Nt.MathNode("mrow",[Ot(e.label,t)]);return(r=new Nt.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Nt.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),lt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Qe.wrapFragment(St(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Nt.MathNode("mrow",[Ot(e.fragment,t)])}),lt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,a=Ut(t[0],"ordgroup").body,n="",o=0;o=1114111)throw new i("\\@char with invalid code point "+n);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:s}}});var ar=(e,t)=>{var r=vt(e.body,t.withColor(e.color),!1);return Qe.makeFragment(r)},nr=(e,t)=>{var r=Rt(e.body,t.withColor(e.color)),a=new Nt.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};lt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=Ut(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:ct(n)}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&Ut(n,"size").value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=_(W(e.size,t)))),r},mathmlBuilder(e,t){var r=new Nt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",_(W(e.size,t)))),r}});var ir={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},or=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},sr=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};lt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(ir[a.text])return"\\global"!==r&&"\\\\globallong"!==r||(a.text=ir[a.text]),Ut(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),lt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new i("Expected a control sequence",a);for(var o,s=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new i('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new i('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new i("Expected a macro definition");l[s].push(a.text)}var{tokens:h}=t.gullet.consumeArg();return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(n,{tokens:h,numArgs:s,delimiters:l},r===ir[r]),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken());t.gullet.consumeSpaces();var n=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return sr(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return sr(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var lr=function(e,t,r){var a=L(he.math[e]&&he.math[e].replace||e,t,r);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},hr=function(e,t,r,a){var n=r.havingBaseStyle(t),i=Qe.makeSpan(a.concat(n.sizingClasses(r)),[e],r),o=n.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=n.sizeMultiplier,i},mr=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=_(n),e.height-=n,e.depth+=n},cr=function(e,t,r,a,n,i){var o=function(e,t,r,a){return Qe.makeSymbol(e,"Size"+t+"-Regular",r,a)}(e,t,n,a),s=hr(Qe.makeSpan(["delimsizing","size"+t],[o],a),B.TEXT,a,i);return r&&mr(s,a,B.TEXT),s},pr=function(e,t,r){return{type:"elem",elem:Qe.makeSpan(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[Qe.makeSpan([],[Qe.makeSymbol(e,t,r)])])}},ur=function(e,t,r){var a=H["Size4-Regular"][e.charCodeAt(0)]?H["Size4-Regular"][e.charCodeAt(0)][4]:H["Size1-Regular"][e.charCodeAt(0)][4],n=new ne("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new ae([n],{width:_(a),height:_(t),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Qe.makeSvgSpan([],[i],r);return o.height=t,o.style.height=_(t),o.style.width=_(a),{type:"elem",elem:o}},dr={type:"kern",size:-.008},gr=["|","\\lvert","\\rvert","\\vert"],fr=["\\|","\\lVert","\\rVert","\\Vert"],vr=function(e,t,r,a,n,i){var o,s,l,h,c="",p=0;o=l=h=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",h="\\Downarrow"):m(gr,e)?(l="∣",c="vert",p=333):m(fr,e)?(l="∥",c="doublevert",p=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",u="Size4-Regular",c="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",u="Size4-Regular",c="rbrack",p=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",u="Size4-Regular",c="lfloor",p=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",u="Size4-Regular",c="lceil",p=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",u="Size4-Regular",c="rfloor",p=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",u="Size4-Regular",c="rceil",p=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",u="Size4-Regular",c="lparen",p=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",u="Size4-Regular",c="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",h="⎩",l="⎪",u="Size4-Regular");var d=lr(o,u,n),g=d.height+d.depth,f=lr(l,u,n),v=f.height+f.depth,b=lr(h,u,n),y=b.height+b.depth,x=0,w=1;if(null!==s){var k=lr(s,u,n);x=k.height+k.depth,w=2}var S=g+y+x,M=S+Math.max(0,Math.ceil((t-S)/(w*v)))*w*v,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(c.length>0){var N=M-g-y,q=Math.round(1e3*M),C=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*N)),I=new ne(c,C),R=(p/1e3).toFixed(3)+"em",H=(q/1e3).toFixed(3)+"em",O=new ae([I],{width:R,height:H,viewBox:"0 0 "+p+" "+q}),E=Qe.makeSvgSpan([],[O],a);E.height=q/1e3,E.style.width=R,E.style.height=H,T.push({type:"elem",elem:E})}else{if(T.push(pr(h,u,n)),T.push(dr),null===s){var L=M-g-y+.016;T.push(ur(l,L,a))}else{var D=(M-g-y-x)/2+.016;T.push(ur(l,D,a)),T.push(dr),T.push(pr(s,u,n)),T.push(dr),T.push(ur(l,D,a))}T.push(dr),T.push(pr(o,u,n))}var V=a.havingBaseStyle(B.TEXT),P=Qe.makeVList({positionType:"bottom",positionData:A,children:T},V);return hr(Qe.makeSpan(["delimsizing","mult"],[P],V),B.TEXT,a,i)},br=.08,yr=function(e,t,r,a,n){var i=function(e,t,r){t*=1e3;var a="";switch(e){case"sqrtMain":a=function(e){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":a=function(e){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":a=function(e){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":a=function(e){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":a=function(e){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":a=function(e,t,r){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(r-54-80-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,r)}return a}(e,a,r),o=new ne(e,i),s=new ae([o],{width:"400em",height:_(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Qe.makeSvgSpan(["hide-tail"],[s],n)},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],wr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sr=[0,1.2,1.8,2.4,3],Mr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"stack"}],Ar=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Tr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Br=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size);nt)return r[n]}return r[r.length-1]},Nr=function(e,t,r,a,n,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=m(kr,e)?Mr:m(xr,e)?Ar:zr;var s=Br(e,t,o,a);return"small"===s.type?function(e,t,r,a,n,i){var o=Qe.makeSymbol(e,"Main-Regular",n,a),s=hr(o,t,a,i);return r&&mr(s,a,t),s}(e,s.style,r,a,n,i):"large"===s.type?cr(e,s.size,r,a,n,i):vr(e,t,r,a,n,i)},qr={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=Br("\\surd",e*n.sizeMultiplier,Ar,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=yr("sqrtMain",l=(1+s+br)/o,m=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",a=.833/o):"large"===i.type?(m=1080*Sr[i.size],h=(Sr[i.size]+s)/o,l=(Sr[i.size]+s+br)/o,(r=yr("sqrtSize"+i.size,l,m,s,t)).style.minWidth="1.02em",a=1/o):(l=e+s+br,h=e+s,m=Math.floor(1e3*e+s)+80,(r=yr("sqrtTall",l,m,s,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=_(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m(xr,e)||m(kr,e))return cr(e,t,!1,r,a,n);if(m(wr,e))return vr(e,Sr[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Nr,leftRightDelim:function(e,t,r,a,n,i){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Nr(e,h,!0,a,n,i)}},Cr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ir=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Rr(e,t){var r=Xt(e);if(r&&m(Ir,r.text))return r;throw new i(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Hr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Rr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cr[e.funcName].size,mclass:Cr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?Qe.makeSpan([e.mclass]):qr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(qt(e.delim,e.mode));var r=new Nt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=_(qr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),lt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rr(t[0],e).text,color:r}}}),lt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=Ut(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Hr(e);for(var r,a,n=vt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l{Hr(e);var r=Rt(e.body,t);if("."!==e.left){var a=new Nt.MathNode("mo",[qt(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new Nt.MathNode("mo",[qt(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return Ct(r)}}),lt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=kt(t,[]);else{r=qr.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?qt("|","text"):qt(e.delim,e.mode),a=new Nt.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Or=(e,t)=>{var r,a,n,i=Qe.wrapFragment(St(e.body,t),t),o=e.label.slice(1),s=t.sizeMultiplier,l=0,h=g(e.body);if("sout"===o)(r=Qe.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===o){var m=W({number:.6,unit:"pt"},t),c=W({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=i.height+i.depth+m+c;i.style.paddingLeft=_(p/2+m);var u=Math.floor(1e3*p*s),d="M400000 "+(a=u)+" H0 L"+a/2+" 0 l65 45 L145 "+(a-80)+" H400000z",f=new ae([new ne("phase",d)],{width:"400em",height:_(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=Qe.makeSvgSpan(["hide-tail"],[f],t)).style.height=_(p),l=i.depth+m+c}else{/cancel/.test(o)?h||i.classes.push("cancel-pad"):"angl"===o?i.classes.push("anglpad"):i.classes.push("boxpad");var v=0,b=0,y=0;/box/.test(o)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=v=t.fontMetrics().fboxsep+("colorbox"===o?0:y)):"angl"===o?(v=4*(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),b=Math.max(0,.25-i.depth)):b=v=h?.2:0,r=function(e,t,r,a,n){var i,o=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=Qe.makeSpan(["stretchy",t],[],n),"fbox"===t){var s=n.color&&n.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ae(l,{width:"100%",height:_(o)});i=Qe.makeSvgSpan([],[h],n)}return i.height=o,i.style.height=_(o),i}(i,o,v,b,t),/fbox|boxed|fcolorbox/.test(o)?(r.style.borderStyle="solid",r.style.borderWidth=_(y)):"angl"===o&&.049!==y&&(r.style.borderTopWidth=_(y),r.style.borderRightWidth=_(y)),l=i.depth+b,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var x=/cancel|phase/.test(o)?["svg-align"]:[];n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:x}]},t)}return/cancel/.test(o)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(o)&&!h?Qe.makeSpan(["mord","cancel-lap"],[n],t):Qe.makeSpan(["mord"],[n],t)},Er=(e,t)=>{var r=0,a=new Nt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ot(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};lt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),lt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Lr={};function Dr(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function Ur(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Yr(e,t,r){var{hskipBeforeAndAfter:a,addJot:o,cols:s,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(m)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(Fr(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(y+=.25),h.push({pos:y,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(S<(T+=b)&&(S=T),T=0),e.addJot&&(S+=g),M.height=k,M.depth=S,y+=k,M.pos=y,y+=S+T,l[r]=M,x(o[r+1])}var N,q,C=y/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((e=>e)))for(r=0;r=s)){var Y=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(Y=c(V.pregap,u))&&((N=Qe.makeSpan(["arraycolsep"],[])).style.width=_(Y),R.push(N));var X=[];for(r=0;r0){for(var K=Qe.makeLineSpan("hline",t,m),J=Qe.makeLineSpan("hdashline",t,m),Q=[{type:"elem",elem:l,shift:0}];h.length>0;){var ee=h.pop(),te=ee.pos-C;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=Qe.makeVList({positionType:"individualShift",children:Q},t)}if(0===H.length)return Qe.makeSpan(["mord"],[l],t);var re=Qe.makeVList({positionType:"individualShift",children:H},t);return re=Qe.makeSpan(["tag"],[re],t),Qe.makeFragment([l,re])},_r={c:"center ",l:"left ",r:"right "},jr=function(e,t){for(var r=[],a=new Nt.MathNode("mtd",[],["mtr-glue"]),n=new Nt.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"",c+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Yr(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Ur(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Yr(e.parser,a,Xr(e.envName))},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var o=Yr(e.parser,a,Xr(e.envName)),s=Math.max(0,...o.body.map((e=>e.length)));return o.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)}));if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Yr(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Xr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m(["gather","gather*"],e.envName)&&Gr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ur(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Gr(e);var t={autoTag:Ur(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Gr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,n,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(p)>-1))throw new i('Expected one of "<>AV=|." after @',h[c]);for(var d=0;d<2;d++){for(var g=!0,f=c+1;f{var r=e.font,a=t.withFont(r);return St(e.body,a)},Jr=(e,t)=>{var r=e.font,a=t.withFont(r);return Ot(e.body,a)},Qr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};lt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=mt(t[0]),i=a;return i in Qr&&(i=Qr[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:Kr,mathmlBuilder:Jr}),lt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=g(a);return{type:"mclass",mode:r.mode,mclass:Qt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),lt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,o=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:Kr,mathmlBuilder:Jr});var ea=(e,t)=>{var r=t;return"display"===e?r=r.id>=B.SCRIPT.id?r.text():B.DISPLAY:"text"===e&&r.size===B.DISPLAY.size?r=B.TEXT:"script"===e?r=B.SCRIPT:"scriptscript"===e&&(r=B.SCRIPTSCRIPT),r},ta=(e,t)=>{var r,a=ea(e.size,t.style),n=a.fracNum(),i=a.fracDen();r=t.havingStyle(n);var o=St(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*c:7*c,d=t.fontMetrics().denom1):(m>0?(p=t.fontMetrics().num2,u=c):(p=t.fontMetrics().num3,u=3*c),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*m){var r=new Nt.MathNode("mfrac",[Ot(e.numer,t),Ot(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=W(e.barSize,t);r.setAttribute("linethickness",_(a))}}else r.setAttribute("linethickness","0px");var n=ea(e.size,t.style);if(n.size!==t.style.size){r=new Nt.MathNode("mstyle",[r]);var i=n.size===B.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var o=[];if(null!=e.leftDelim){var s=new Nt.MathNode("mo",[new Nt.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),null!=e.rightDelim){var l=new Nt.MathNode("mo",[new Nt.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Ct(o)}return r};lt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],o=t[1],s=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:o,hasBarLine:r,leftDelim:s,rightDelim:l,size:h,barSize:null}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),lt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var aa=["display","text","script","scriptscript"],na=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};lt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],o=mt(t[0]),s="atom"===o.type&&"open"===o.family?na(o.text):null,l=mt(t[1]),h="atom"===l.type&&"close"===l.family?na(l.text):null,m=Ut(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];if("ordgroup"===u.type){if(u.body.length>0){var d=Ut(u.body[0],"textord");p=aa[Number(d.text)]}}else u=Ut(u,"textord"),p=aa[Number(u.text)];return{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:s,rightDelim:h,size:p}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:n}}}),lt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ta,mathmlBuilder:ra});var ia=(e,t)=>{var r,a,n=t.style;"supsub"===e.type?(r=e.sup?St(e.sup,t.havingStyle(n.sup()),t):St(e.sub,t.havingStyle(n.sub()),t),a=Ut(e.base,"horizBrace")):a=Ut(e,"horizBrace");var i,o=St(a.base,t.havingBaseStyle(B.DISPLAY)),s=Gt(a,t);if(a.isOver?(i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Qe.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t);i=a.isOver?Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Qe.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t)};lt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:ia,mathmlBuilder:(e,t)=>{var r=Ft(e.label);return new Nt.MathNode(e.isOver?"mover":"munder",[Ot(e.base,t),r])}}),lt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ct(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=vt(e.body,t,!1);return Qe.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Ht(e.body,t);return r instanceof Tt||(r=new Tt("mrow",[r])),r.setAttribute("href",e.href),r}}),lt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew Nt.MathNode("mrow",Rt(e.body,t))}),lt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:o}=e,s=Ut(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":h.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":h.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var m=s.split(","),c=0;c{var r=vt(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=Qe.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>Ht(e.body,t)}),lt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ct(t[0]),mathml:ct(t[1])}},htmlBuilder:(e,t)=>{var r=vt(e.html,t,!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>Ht(e.mathml,t)});var oa=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!X(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};lt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var h=Ut(r[0],"raw").string.split(","),m=0;m{var r=W(e.height,t),a=0;e.totalheight.number>0&&(a=W(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=W(e.width,t));var i={height:_(r+a)};n>0&&(i.width=_(n)),a>0&&(i.verticalAlign=_(-a));var o=new ee(e.src,e.alt,i);return o.height=r,o.depth=a,o},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=W(e.height,t),n=0;if(e.totalheight.number>0&&(n=W(e.totalheight,t)-a,r.setAttribute("valign",_(-n))),r.setAttribute("height",_(a+n)),e.width.number>0){var i=W(e.width,t);r.setAttribute("width",_(i))}return r.setAttribute("src",e.src),r}}),lt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=Ut(t[0],"size");if(r.settings.strict){var i="m"===a[1],o="mu"===n.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, not "+n.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>Qe.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=W(e.dimension,t);return new Nt.SpaceNode(r)}}),lt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=Qe.makeSpan([],[St(e.body,t)]),r=Qe.makeSpan(["inner"],[r],t)):r=Qe.makeSpan(["inner"],[St(e.body,t)]);var a=Qe.makeSpan(["fix"],[]),n=Qe.makeSpan([e.alignment],[r,a],t),i=Qe.makeSpan(["strut"]);return i.style.height=_(n.height+n.depth),n.depth&&(i.style.verticalAlign=_(-n.depth)),n.children.unshift(i),n=Qe.makeSpan(["thinbox"],[n],t),Qe.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),lt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:o}}}),lt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var sa=(e,t)=>{switch(t.style.size){case B.DISPLAY.size:return e.display;case B.TEXT.size:return e.text;case B.SCRIPT.size:return e.script;case B.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};lt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ct(t[0]),text:ct(t[1]),script:ct(t[2]),scriptscript:ct(t[3])}},htmlBuilder:(e,t)=>{var r=sa(e,t),a=vt(r,t,!1);return Qe.makeFragment(a)},mathmlBuilder:(e,t)=>{var r=sa(e,t);return Ht(r,t)}});var la=(e,t,r,a,n,i,o)=>{e=Qe.makeSpan([],[e]);var s,l,h,m=r&&g(r);if(t){var c=St(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=St(r,a.havingStyle(n.sub()),a);s={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var u=a.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(s){var d=e.height-o;h=Qe.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var f=e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var v=[h];if(s&&0!==i&&!m){var b=Qe.makeSpan(["mspace"],[],a);b.style.marginRight=_(i),v.unshift(b)}return Qe.makeSpan(["mop","op-limits"],v,a)},ha=["\\smallint"],ma=(e,t)=>{var r,a,n,i=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"op"),i=!0):n=Ut(e,"op");var o,s=t.style,l=!1;if(s.size===B.DISPLAY.size&&n.symbol&&!m(ha,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==n.name&&"\\oiiint"!==n.name||(c=n.name.slice(1),n.name="oiint"===c?"\\iint":"\\iiint"),o=Qe.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var p=o.italic,u=Qe.staticSvg(c+"Size"+(l?"2":"1"),t);o=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:u,shift:l?.08:0}]},t),n.name="\\"+c,o.classes.unshift("mop"),o.italic=p}}else if(n.body){var d=vt(n.body,t,!0);1===d.length&&d[0]instanceof re?(o=d[0]).classes[0]="mop":o=Qe.makeSpan(["mop"],d,t)}else{for(var g=[],f=1;f{var r;if(e.symbol)r=new Tt("mo",[qt(e.name,e.mode)]),m(ha,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Tt("mo",Rt(e.body,t));else{r=new Tt("mi",[new Bt(e.name.slice(1))]);var a=new Tt("mo",[qt("⁡","text")]);r=e.parentIsSupSub?new Tt("mrow",[r,a]):At([r,a])}return r},pa={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};lt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=pa[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ct(a)}},htmlBuilder:ma,mathmlBuilder:ca});var ua={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};lt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=ua[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ma,mathmlBuilder:ca});var da=(e,t)=>{var r,a,n,i,o=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"operatorname"),o=!0):n=Ut(e,"operatorname"),n.body.length>0){for(var s=n.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=vt(s,t.withFont("mathrm"),!0),h=0;h{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:ct(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:da,mathmlBuilder:(e,t)=>{for(var r=Rt(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText())).join("");r=[new Nt.TextNode(s)]}var l=new Nt.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new Nt.MathNode("mo",[qt("⁡","text")]);return e.parentIsSupSub?new Nt.MathNode("mrow",[l,h]):Nt.newDocumentFragment([l,h])}}),Pr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ht({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Qe.makeFragment(vt(e.body,t,!1)):Qe.makeSpan(["mord"],vt(e.body,t,!0),t),mathmlBuilder:(e,t)=>Ht(e.body,t,!0)}),lt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle()),a=Qe.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return Qe.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("mover",[Ot(e.body,t),r]);return a.setAttribute("accent","true"),a}}),lt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:ct(a)}},htmlBuilder:(e,t)=>{var r=vt(e.body,t.withPhantom(),!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Rt(e.body,t);return new Nt.MathNode("mphantom",r)}}),lt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan([],[St(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),lt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan(["inner"],[St(e.body,t.withPhantom())]),a=Qe.makeSpan(["fix"],[]);return Qe.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),lt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=Ut(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=St(e.body,t),a=W(e.dy,t);return Qe.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),lt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),lt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=Ut(t[0],"size"),o=Ut(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&Ut(n,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mord","rule"],[],t),a=W(e.width,t),n=W(e.height,t),i=e.shift?W(e.shift,t):0;return r.style.borderRightWidth=_(a),r.style.borderTopWidth=_(n),r.style.bottom=_(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=W(e.width,t),a=W(e.height,t),n=e.shift?W(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Nt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",_(r)),o.setAttribute("height",_(a));var s=new Nt.MathNode("mpadded",[o]);return n>=0?s.setAttribute("height",_(n)):(s.setAttribute("height",_(n)),s.setAttribute("depth",_(-n))),s.setAttribute("voffset",_(n)),s}});var fa=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];lt({type:"sizing",names:fa,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:fa.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return ga(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=Rt(e.body,r),n=new Nt.MathNode("mstyle",a);return n.setAttribute("mathsize",_(r.sizeMultiplier)),n}}),lt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,o=r[0]&&Ut(r[0],"ordgroup");if(o)for(var s="",l=0;l{var r=Qe.makeSpan([],[St(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),lt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Qe.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=s.height-r.height-i-l;r.style.paddingLeft=_(h);var p=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var u=t.havingStyle(B.SCRIPTSCRIPT),d=St(e.index,u,t),g=.6*(p.height-p.depth),f=Qe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=Qe.makeSpan(["root"],[f]);return Qe.makeSpan(["mord","sqrt"],[v,p],t)}return Qe.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new Nt.MathNode("mroot",[Ot(r,t),Ot(a,t)]):new Nt.MathNode("msqrt",[Ot(r,t)])}});var va={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT};lt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),o=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r).withFont("");return ga(e.body,a,t)},mathmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r),n=Rt(e.body,a),i=new Nt.MathNode("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}}),ht({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===B.DISPLAY.size||r.alwaysHandleSupSub)?ma:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===B.DISPLAY.size||r.limits)?da:null:"accent"===r.type?g(r.base)?Wt:null:"horizBrace"===r.type&&!e.sub===r.isOver?ia:null:null}(e,t);if(r)return r(e,t);var a,n,i,{base:o,sup:s,sub:l}=e,h=St(o,t),m=t.fontMetrics(),c=0,p=0,u=o&&g(o);if(s){var d=t.havingStyle(t.style.sup());a=St(s,d,t),u||(c=h.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var f=t.havingStyle(t.style.sub());n=St(l,f,t),u||(p=h.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}i=t.style===B.DISPLAY?m.sup1:t.style.cramped?m.sup3:m.sup2;var v,b=t.sizeMultiplier,y=_(.5/m.ptPerEm/b),x=null;if(n){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof re||w)&&(x=_(-h.italic))}if(a&&n){c=Math.max(c,i,a.depth+.25*m.xHeight),p=Math.max(p,m.sub2);var k=4*m.defaultRuleThickness;if(c-a.depth-(n.height-p)0&&(c+=S,p-=S)}v=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:p,marginRight:y,marginLeft:x},{type:"elem",elem:a,shift:-c,marginRight:y}]},t)}else if(n){p=Math.max(p,m.sub1,n.height-.8*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:p,children:[{type:"elem",elem:n,marginLeft:x,marginRight:y}]},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");c=Math.max(c,i,a.depth+.25*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:a,marginRight:y}]},t)}var M=wt(h,"right")||"mord";return Qe.makeSpan([M],[h,Qe.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){var r,a=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var n,i=[Ot(e.base,t)];if(e.sub&&i.push(Ot(e.sub,t)),e.sup&&i.push(Ot(e.sup,t)),a)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===B.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===B.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===B.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===B.DISPLAY)?"munder":"msub"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===B.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===B.DISPLAY)?"mover":"msup"}return new Nt.MathNode(n,i)}}),ht({type:"atom",htmlBuilder:(e,t)=>Qe.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[qt(e.text,e.mode)]);if("bin"===e.family){var a=It(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var ba={mi:"italic",mn:"normal",mtext:"normal"};ht({type:"mathord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new Nt.MathNode("mi",[qt(e.text,e.mode,t)]),a=It(e,t)||"italic";return a!==ba[r.type]&&r.setAttribute("mathvariant",a),r}}),ht({type:"textord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=qt(e.text,e.mode,t),n=It(e,t)||"normal";return r="text"===e.mode?new Nt.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new Nt.MathNode("mn",[a]):"\\prime"===e.text?new Nt.MathNode("mo",[a]):new Nt.MathNode("mi",[a]),n!==ba[r.type]&&r.setAttribute("mathvariant",n),r}});var ya={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ht({type:"spacing",htmlBuilder(e,t){if(xa.hasOwnProperty(e.text)){var r=xa[e.text].className||"";if("text"===e.mode){var a=Qe.makeOrd(e,t,"textord");return a.classes.push(r),a}return Qe.makeSpan(["mspace",r],[Qe.mathsym(e.text,e.mode,t)],t)}if(ya.hasOwnProperty(e.text))return Qe.makeSpan(["mspace",ya[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!xa.hasOwnProperty(e.text)){if(ya.hasOwnProperty(e.text))return new Nt.MathNode("mspace");throw new i('Unknown type of space "'+e.text+'"')}return new Nt.MathNode("mtext",[new Nt.TextNode(" ")])}});var wa=()=>{var e=new Nt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ht({type:"tag",mathmlBuilder(e,t){var r=new Nt.MathNode("mtable",[new Nt.MathNode("mtr",[wa(),new Nt.MathNode("mtd",[Ht(e.body,t)]),wa(),new Nt.MathNode("mtd",[Ht(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var ka={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Sa={"\\textbf":"textbf","\\textmd":"textmd"},Ma={"\\textit":"textit","\\textup":"textup"},za=(e,t)=>{var r=e.font;return r?ka[r]?t.withTextFontFamily(ka[r]):Sa[r]?t.withTextFontWeight(Sa[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(Ma[r]):t};lt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:ct(n),font:a}},htmlBuilder(e,t){var r=za(e,t),a=vt(e.body,r,!0);return Qe.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=za(e,t);return Ht(e.body,r)}}),lt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=Qe.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("munder",[Ot(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),lt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return Qe.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new Nt.MathNode("mpadded",[Ot(e.body,t)],["vcenter"])}),lt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Aa(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"␣":" "),Ta=it,Ba="[ \r\n\t]",Na="(\\\\[a-zA-Z@]+)"+Ba+"*",qa="[̀-ͯ]",Ca=new RegExp(qa+"+$"),Ia="("+Ba+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+qa+"*|[\ud800-\udbff][\udc00-\udfff]"+qa+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Na+"|\\\\[^\ud800-\udfff])";class Ra{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ia,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new n(o,new a(this,t,this.tokenRegex.lastIndex))}}class Ha{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Oa=Vr;Pr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Pr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Pr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Pr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Pr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Ea={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Pr("\\char",(function(e){var t,r=e.popToken(),a="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])a=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new i("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Ea[r.text])||a>=t)throw new i("Invalid base-"+t+" digit "+r.text);for(var n;null!=(n=Ea[e.future().text])&&n{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,o=e.isDefined(n);if(o&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!o&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:s}),""};Pr("\\newcommand",(e=>La(e,!1,!0))),Pr("\\renewcommand",(e=>La(e,!0,!1))),Pr("\\providecommand",(e=>La(e,!0,!0))),Pr("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ta[r],he.math[r],he.text[r]),""})),Pr("\\bgroup","{"),Pr("\\egroup","}"),Pr("~","\\nobreakspace"),Pr("\\lq","`"),Pr("\\rq","'"),Pr("\\aa","\\r a"),Pr("\\AA","\\r A"),Pr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Pr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Pr("ℬ","\\mathscr{B}"),Pr("ℰ","\\mathscr{E}"),Pr("ℱ","\\mathscr{F}"),Pr("ℋ","\\mathscr{H}"),Pr("ℐ","\\mathscr{I}"),Pr("ℒ","\\mathscr{L}"),Pr("ℳ","\\mathscr{M}"),Pr("ℛ","\\mathscr{R}"),Pr("ℭ","\\mathfrak{C}"),Pr("ℌ","\\mathfrak{H}"),Pr("ℨ","\\mathfrak{Z}"),Pr("\\Bbbk","\\Bbb{k}"),Pr("·","\\cdotp"),Pr("\\llap","\\mathllap{\\textrm{#1}}"),Pr("\\rlap","\\mathrlap{\\textrm{#1}}"),Pr("\\clap","\\mathclap{\\textrm{#1}}"),Pr("\\mathstrut","\\vphantom{(}"),Pr("\\underbar","\\underline{\\text{#1}}"),Pr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Pr("\\ne","\\neq"),Pr("≠","\\neq"),Pr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Pr("∉","\\notin"),Pr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Pr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Pr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Pr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Pr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Pr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Pr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Pr("⟂","\\perp"),Pr("‼","\\mathclose{!\\mkern-0.8mu!}"),Pr("∌","\\notni"),Pr("⌜","\\ulcorner"),Pr("⌝","\\urcorner"),Pr("⌞","\\llcorner"),Pr("⌟","\\lrcorner"),Pr("©","\\copyright"),Pr("®","\\textregistered"),Pr("️","\\textregistered"),Pr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Pr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Pr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Pr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Pr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Pr("⋮","\\vdots"),Pr("\\varGamma","\\mathit{\\Gamma}"),Pr("\\varDelta","\\mathit{\\Delta}"),Pr("\\varTheta","\\mathit{\\Theta}"),Pr("\\varLambda","\\mathit{\\Lambda}"),Pr("\\varXi","\\mathit{\\Xi}"),Pr("\\varPi","\\mathit{\\Pi}"),Pr("\\varSigma","\\mathit{\\Sigma}"),Pr("\\varUpsilon","\\mathit{\\Upsilon}"),Pr("\\varPhi","\\mathit{\\Phi}"),Pr("\\varPsi","\\mathit{\\Psi}"),Pr("\\varOmega","\\mathit{\\Omega}"),Pr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Pr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Da={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Pr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Da?t=Da[r]:("\\not"===r.slice(0,4)||r in he.math&&m(["bin","rel"],he.math[r].group))&&(t="\\dotsb"),t}));var Va={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Pr("\\dotso",(function(e){return e.future().text in Va?"\\ldots\\,":"\\ldots"})),Pr("\\dotsc",(function(e){var t=e.future().text;return t in Va&&","!==t?"\\ldots\\,":"\\ldots"})),Pr("\\cdots",(function(e){return e.future().text in Va?"\\@cdots\\,":"\\@cdots"})),Pr("\\dotsb","\\cdots"),Pr("\\dotsm","\\cdots"),Pr("\\dotsi","\\!\\cdots"),Pr("\\dotsx","\\ldots\\,"),Pr("\\DOTSI","\\relax"),Pr("\\DOTSB","\\relax"),Pr("\\DOTSX","\\relax"),Pr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pr("\\,","\\tmspace+{3mu}{.1667em}"),Pr("\\thinspace","\\,"),Pr("\\>","\\mskip{4mu}"),Pr("\\:","\\tmspace+{4mu}{.2222em}"),Pr("\\medspace","\\:"),Pr("\\;","\\tmspace+{5mu}{.2777em}"),Pr("\\thickspace","\\;"),Pr("\\!","\\tmspace-{3mu}{.1667em}"),Pr("\\negthinspace","\\!"),Pr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pr("\\enspace","\\kern.5em "),Pr("\\enskip","\\hskip.5em\\relax"),Pr("\\quad","\\hskip1em\\relax"),Pr("\\qquad","\\hskip2em\\relax"),Pr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pr("\\tag@paren","\\tag@literal{({#1})}"),Pr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pr("\\newline","\\\\\\relax"),Pr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Pa=_(H["Main-Regular"]["T".charCodeAt(0)][1]-.7*H["Main-Regular"]["A".charCodeAt(0)][1]);Pr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pr("\\@hspace","\\hskip #1\\relax"),Pr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pr("\\ordinarycolon",":"),Pr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pr("∷","\\dblcolon"),Pr("∹","\\eqcolon"),Pr("≔","\\coloneqq"),Pr("≕","\\eqqcolon"),Pr("⩴","\\Coloneqq"),Pr("\\ratio","\\vcentcolon"),Pr("\\coloncolon","\\dblcolon"),Pr("\\colonequals","\\coloneqq"),Pr("\\coloncolonequals","\\Coloneqq"),Pr("\\equalscolon","\\eqqcolon"),Pr("\\equalscoloncolon","\\Eqqcolon"),Pr("\\colonminus","\\coloneq"),Pr("\\coloncolonminus","\\Coloneq"),Pr("\\minuscolon","\\eqcolon"),Pr("\\minuscoloncolon","\\Eqcolon"),Pr("\\coloncolonapprox","\\Colonapprox"),Pr("\\coloncolonsim","\\Colonsim"),Pr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Pr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Pr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Pr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Pr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Pr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Pr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Pr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Pr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Pr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Pr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Pr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Pr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Pr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Pr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Pr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Pr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Pr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Pr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Pr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Pr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Pr("\\imath","\\html@mathml{\\@imath}{ı}"),Pr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Pr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Pr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Pr("⟦","\\llbracket"),Pr("⟧","\\rrbracket"),Pr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Pr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Pr("⦃","\\lBrace"),Pr("⦄","\\rBrace"),Pr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Pr("⦵","\\minuso"),Pr("\\darr","\\downarrow"),Pr("\\dArr","\\Downarrow"),Pr("\\Darr","\\Downarrow"),Pr("\\lang","\\langle"),Pr("\\rang","\\rangle"),Pr("\\uarr","\\uparrow"),Pr("\\uArr","\\Uparrow"),Pr("\\Uarr","\\Uparrow"),Pr("\\N","\\mathbb{N}"),Pr("\\R","\\mathbb{R}"),Pr("\\Z","\\mathbb{Z}"),Pr("\\alef","\\aleph"),Pr("\\alefsym","\\aleph"),Pr("\\Alpha","\\mathrm{A}"),Pr("\\Beta","\\mathrm{B}"),Pr("\\bull","\\bullet"),Pr("\\Chi","\\mathrm{X}"),Pr("\\clubs","\\clubsuit"),Pr("\\cnums","\\mathbb{C}"),Pr("\\Complex","\\mathbb{C}"),Pr("\\Dagger","\\ddagger"),Pr("\\diamonds","\\diamondsuit"),Pr("\\empty","\\emptyset"),Pr("\\Epsilon","\\mathrm{E}"),Pr("\\Eta","\\mathrm{H}"),Pr("\\exist","\\exists"),Pr("\\harr","\\leftrightarrow"),Pr("\\hArr","\\Leftrightarrow"),Pr("\\Harr","\\Leftrightarrow"),Pr("\\hearts","\\heartsuit"),Pr("\\image","\\Im"),Pr("\\infin","\\infty"),Pr("\\Iota","\\mathrm{I}"),Pr("\\isin","\\in"),Pr("\\Kappa","\\mathrm{K}"),Pr("\\larr","\\leftarrow"),Pr("\\lArr","\\Leftarrow"),Pr("\\Larr","\\Leftarrow"),Pr("\\lrarr","\\leftrightarrow"),Pr("\\lrArr","\\Leftrightarrow"),Pr("\\Lrarr","\\Leftrightarrow"),Pr("\\Mu","\\mathrm{M}"),Pr("\\natnums","\\mathbb{N}"),Pr("\\Nu","\\mathrm{N}"),Pr("\\Omicron","\\mathrm{O}"),Pr("\\plusmn","\\pm"),Pr("\\rarr","\\rightarrow"),Pr("\\rArr","\\Rightarrow"),Pr("\\Rarr","\\Rightarrow"),Pr("\\real","\\Re"),Pr("\\reals","\\mathbb{R}"),Pr("\\Reals","\\mathbb{R}"),Pr("\\Rho","\\mathrm{P}"),Pr("\\sdot","\\cdot"),Pr("\\sect","\\S"),Pr("\\spades","\\spadesuit"),Pr("\\sub","\\subset"),Pr("\\sube","\\subseteq"),Pr("\\supe","\\supseteq"),Pr("\\Tau","\\mathrm{T}"),Pr("\\thetasym","\\vartheta"),Pr("\\weierp","\\wp"),Pr("\\Zeta","\\mathrm{Z}"),Pr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pr("\\bra","\\mathinner{\\langle{#1}|}"),Pr("\\ket","\\mathinner{|{#1}\\rangle}"),Pr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Pr("\\Bra","\\left\\langle#1\\right|"),Pr("\\Ket","\\left|#1\\right\\rangle");var Fa=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),n.length&&r.macros.set("\\|",s));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};Pr("\\bra@ket",Fa(!1)),Pr("\\bra@set",Fa(!0)),Pr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Pr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Pr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Pr("\\angln","{\\angl n}"),Pr("\\blue","\\textcolor{##6495ed}{#1}"),Pr("\\orange","\\textcolor{##ffa500}{#1}"),Pr("\\pink","\\textcolor{##ff00af}{#1}"),Pr("\\red","\\textcolor{##df0030}{#1}"),Pr("\\green","\\textcolor{##28ae7b}{#1}"),Pr("\\gray","\\textcolor{gray}{#1}"),Pr("\\purple","\\textcolor{##9d38bd}{#1}"),Pr("\\blueA","\\textcolor{##ccfaff}{#1}"),Pr("\\blueB","\\textcolor{##80f6ff}{#1}"),Pr("\\blueC","\\textcolor{##63d9ea}{#1}"),Pr("\\blueD","\\textcolor{##11accd}{#1}"),Pr("\\blueE","\\textcolor{##0c7f99}{#1}"),Pr("\\tealA","\\textcolor{##94fff5}{#1}"),Pr("\\tealB","\\textcolor{##26edd5}{#1}"),Pr("\\tealC","\\textcolor{##01d1c1}{#1}"),Pr("\\tealD","\\textcolor{##01a995}{#1}"),Pr("\\tealE","\\textcolor{##208170}{#1}"),Pr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pr("\\greenB","\\textcolor{##8af281}{#1}"),Pr("\\greenC","\\textcolor{##74cf70}{#1}"),Pr("\\greenD","\\textcolor{##1fab54}{#1}"),Pr("\\greenE","\\textcolor{##0d923f}{#1}"),Pr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pr("\\goldB","\\textcolor{##ffbb71}{#1}"),Pr("\\goldC","\\textcolor{##ff9c39}{#1}"),Pr("\\goldD","\\textcolor{##e07d10}{#1}"),Pr("\\goldE","\\textcolor{##a75a05}{#1}"),Pr("\\redA","\\textcolor{##fca9a9}{#1}"),Pr("\\redB","\\textcolor{##ff8482}{#1}"),Pr("\\redC","\\textcolor{##f9685d}{#1}"),Pr("\\redD","\\textcolor{##e84d39}{#1}"),Pr("\\redE","\\textcolor{##bc2612}{#1}"),Pr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pr("\\maroonD","\\textcolor{##ca337c}{#1}"),Pr("\\maroonE","\\textcolor{##9e034e}{#1}"),Pr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pr("\\purpleD","\\textcolor{##7854ab}{#1}"),Pr("\\purpleE","\\textcolor{##543b78}{#1}"),Pr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pr("\\mintB","\\textcolor{##edf2df}{#1}"),Pr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pr("\\grayD","\\textcolor{##d6d8da}{#1}"),Pr("\\grayE","\\textcolor{##babec2}{#1}"),Pr("\\grayF","\\textcolor{##888d93}{#1}"),Pr("\\grayG","\\textcolor{##626569}{#1}"),Pr("\\grayH","\\textcolor{##3b3e40}{#1}"),Pr("\\grayI","\\textcolor{##21242c}{#1}"),Pr("\\kaBlue","\\textcolor{##314453}{#1}"),Pr("\\kaGreen","\\textcolor{##71B307}{#1}");var Ga={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ua{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ha(Oa,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Ra(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:a,end:r}=this.consumeArg(["]"]))}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,n=this.future(),o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(-1==--o)throw new i("Extra }",a)}else if("EOF"===a.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",a);if(e&&r)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||r);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(n=n.slice()).length-1;s>=0;--s){var l=n[s];if("#"===l.text){if(0===s)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--s]).text)n.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);n.splice(s,2,...o[+l.text-1])}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#"))for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n;for(var o=new Ra(a,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||Ta.hasOwnProperty(e)||he.math.hasOwnProperty(e)||he.text.hasOwnProperty(e)||Ga.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Ta.hasOwnProperty(e)&&!Ta[e].primitive}}var Ya=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",ᵢ:"i",ⱼ:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",ᵣ:"r",ₛ:"s",ₜ:"t",ᵤ:"u",ᵥ:"v",ₓ:"x",ᵦ:"β",ᵧ:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",ᴬ:"A",ᴮ:"B",ᴰ:"D",ᴱ:"E",ᴳ:"G",ᴴ:"H",ᴵ:"I",ᴶ:"J",ᴷ:"K",ᴸ:"L",ᴹ:"M",ᴺ:"N",ᴼ:"O",ᴾ:"P",ᴿ:"R",ᵀ:"T",ᵁ:"U",ⱽ:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",ᶠ:"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",ˡ:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",ˢ:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",ʷ:"w",ˣ:"x",ʸ:"y",ᶻ:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),Wa={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},_a={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ja{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ua(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==ja.endOfExpression.indexOf(a.text))break;if(t&&a.text===t)break;if(e&&Ta[a.text]&&Ta[a.text].infix)break;var n=this.parseAtom(t);if(!n)break;"internal"!==n.type&&r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,h=he[this.mode][t].group,m=a.range(e);if(se.hasOwnProperty(h)){var c=h;l={type:"atom",mode:this.mode,family:c,loc:m,text:t}}else l={type:h,mode:this.mode,loc:m,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(C(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var p=0;p{const e="daux-color-mode",t="dark",o="light",n="dark",r=function(){const n=window.localStorage.getItem(e);if("string"==typeof n)return n;const r=window.matchMedia("(prefers-color-scheme: dark)");return"boolean"==typeof r.matches&&r.matches?t:o}();document.body.classList.toggle(n,r===t);const l=document.body.querySelector(".ColorMode__button");l&&(l.checked=r===t,l.addEventListener("change",(r=>{const l=r.target.checked;document.body.classList.toggle(n,l),window.localStorage.setItem(e,l?t:o)}),!1))}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var l=n[e]={exports:{}};return o[e].call(l.exports,l,l.exports,r),l.exports}function l(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}r.m=o,r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>(({304:"mermaid",366:"katex"}[e]||e)+".mjs"),r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e={792:0},t=t=>{var o,n,{ids:l,modules:a,runtime:s}=t,c=0;for(o in a)r.o(a,o)&&(r.m[o]=a[o]);for(s&&s(r);c{var l=r.o(e,o)?e[o]:void 0;if(0!==l)if(l)n.push(l[1]);else{var a=import("./"+r.u(o)).then(t,(t=>{throw 0!==e[o]&&(e[o]=void 0),t}));a=Promise.race([a,new Promise((t=>l=e[o]=[t]))]),n.push(l[1]=a)}};const a="daux_code_blocks_hidden";function s(e,t){for(let o=0;o{"0px"!==e.target.style.height&&(e.target.style.height="auto"),e.target.removeEventListener("transitionend",t)};e.addEventListener("transitionend",t)}(n),n.style.height=`${n.scrollHeight}px`,o.classList.add("Nav__item--open")):n.style.height="auto"}l((()=>{const e=document.querySelectorAll(".s-content pre"),t=document.querySelector(".CodeToggler");t&&(e.length?function(e,t){const o=e.querySelector(".CodeToggler__button--main");o.addEventListener("change",(e=>{s(t,!e.target.checked)}),!1);let n=!1;try{n=localStorage.getItem(a),"false"===n?n=!1:"true"===n&&(n=!0),n&&(s(t,!0),o.checked=!1)}catch(e){}}(t,e):t.classList.add("CodeToggler--hidden"))})),r(5225),l((()=>{const e=document.querySelector(".Collapsible__trigger");if(e){const t=document.querySelector(".Collapsible__content");e.addEventListener("click",(o=>{t.classList.contains("Collapsible__content--open")?(t.style.height=0,t.classList.remove("Collapsible__content--open"),e.setAttribute("aria-expanded","false")):(e.setAttribute("aria-expanded","true"),t.style.transitionDuration="150ms",t.style.height=`${t.scrollHeight}px`,t.classList.add("Collapsible__content--open"))}))}})),l((()=>{const e=document.querySelectorAll("pre > code:not(.hljs, .katex)");e.length&&function(t){const o=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=t,n.onload=()=>{[].forEach.call(e,window.hljs.highlightBlock)},o.appendChild(n)}(`${window.base_url}daux_libraries/highlight.pack.js`)})),l((()=>{const e=document.querySelectorAll("pre > code.katex");e.length&&(function(e){const t=document.getElementsByTagName("head")[0],o=document.createElement("link");o.rel="stylesheet",o.href=e,t.appendChild(o)}(`${window.base_url}daux_libraries/katex.min.css`),r.e(366).then(r.bind(r,2130)).then((t=>{[].forEach.call(e,(e=>{const o=e.innerHTML,n=document.createElement("p"),r=document.createElement("span");n.className="katex-display",n.appendChild(r);const l=e.parentElement;l.parentElement.insertBefore(n,l),l.parentElement.removeChild(l),t.default.render(o,r,{throwOnError:!1})}))}),(e=>{console.error("Could not load katex",e)})))})),l((()=>{const e=document.querySelectorAll("div.mermaid");e.length&&r.e(304).then(r.bind(r,9465)).then((t=>{t.default.run({nodes:e})}),(e=>{console.error("Could not load katex",e)}))})),l((()=>{const e=document.querySelectorAll(".Nav__item.has-children i.Nav__arrow");for(let t,o=e.length-1;o>=0;o--)t=e[o],t.addEventListener("click",c),t.parentNode.parentNode.classList.contains("Nav__item--open")&&c({target:t});const t=document.querySelectorAll(".Nav__item__link--nopage");for(const e of t)e.addEventListener("click",c)})); \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/mermaid.mjs b/resources/daux/themes/rsp/js/mermaid.mjs new file mode 100644 index 0000000..aee3b16 --- /dev/null +++ b/resources/daux/themes/rsp/js/mermaid.mjs @@ -0,0 +1,2 @@ +/*! For license information please see mermaid.mjs.LICENSE.txt */ +export const id=304;export const ids=[304];export const modules={6750:(t,e)=>{e.Jf=e.dz=void 0;var i=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,n=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.dz="about:blank",e.Jf=function(t){if(!t)return e.dz;var l,h=(l=t,l.replace(o,"").replace(r,(function(t,e){return String.fromCharCode(e)}))).replace(n,"").replace(o,"").trim();if(!h)return e.dz;if(function(t){return s.indexOf(t[0])>-1}(h))return h;var c=h.match(a);if(!c)return h;var u=c[0];return i.test(u)?e.dz:h}},4353:function(t){t.exports=function(){var t=6e4,e=36e5,i="millisecond",r="second",n="minute",o="hour",a="day",s="week",l="month",h="quarter",c="year",u="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},y=function(t,e,i){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(i)+t},m={s:y,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),r=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(n,2,"0")},m:function t(e,i){if(e.date()1)return t(a[0])}else{var s=e.name;x[s]=e,n=s}return!r&&n&&(C=n),n||!r&&C},k=function(t,e){if(b(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new A(i)},T=m;T.l=v,T.i=b,T.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var A=function(){function g(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[_]=!0}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(T.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r){var n=r[2]-1||0,o=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return T},y.isValid=function(){return!(this.$d.toString()===d)},y.isSame=function(t,e){var i=k(t);return this.startOf(e)<=i&&i<=this.endOf(e)},y.isAfter=function(t,e){return k(t)1?i-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:f;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=n(e);t!==e&&(i(r)||(r[o]=t),e=t)}t[e]=!0}return t}function A(t){for(let e=0;e/gm),j=a(/\${[\w\W]*}/gm),R=a(/^data-[\-\w.\u00B7-\uFFFF]/),W=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=a(/^(?:\w+script|data):/i),Y=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=a(/^html$/i),G=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var X=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:P,TMPLIT_EXPR:j,DATA_ATTR:R,ARIA_ATTR:W,IS_ALLOWED_URI:U,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:Y,DOCTYPE_NAME:V,CUSTOM_ELEMENT:G});const Z=1,J=3,Q=7,K=8,tt=9,et=function(){return"undefined"==typeof window?null:window};return function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et();const r=t=>e(t);if(r.version="3.1.6",r.removed=[],!i||!i.document||i.document.nodeType!==tt)return r.isSupported=!1,r;let{document:n}=i;const a=n,l=a.currentScript,{DocumentFragment:h,HTMLTemplateElement:v,Node:k,Element:A,NodeFilter:z,NamedNodeMap:P=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:j,DOMParser:R,trustedTypes:W}=i,H=A.prototype,Y=S(H,"cloneNode"),G=S(H,"remove"),it=S(H,"nextSibling"),rt=S(H,"childNodes"),nt=S(H,"parentNode");if("function"==typeof v){const t=n.createElement("template");t.content&&t.content.ownerDocument&&(n=t.content.ownerDocument)}let ot,at="";const{implementation:st,createNodeIterator:lt,createDocumentFragment:ht,getElementsByTagName:ct}=n,{importNode:ut}=a;let dt={};r.isSupported="function"==typeof t&&"function"==typeof nt&&st&&void 0!==st.createHTMLDocument;const{MUSTACHE_EXPR:ft,ERB_EXPR:pt,TMPLIT_EXPR:gt,DATA_ATTR:yt,ARIA_ATTR:mt,IS_SCRIPT_OR_DATA:Ct,ATTR_WHITESPACE:xt,CUSTOM_ELEMENT:_t}=X;let{IS_ALLOWED_URI:bt}=X,vt=null;const kt=T({},[...B,...F,...L,...E,...I]);let Tt=null;const At=T({},[...D,...N,...q,...$]);let wt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),St=null,Bt=null,Ft=!0,Lt=!0,Mt=!1,Et=!0,Ot=!1,It=!0,Dt=!1,Nt=!1,qt=!1,$t=!1,zt=!1,Pt=!1,jt=!0,Rt=!1,Wt=!0,Ut=!1,Ht={},Yt=null;const Vt=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Gt=null;const Xt=T({},["audio","video","img","source","image","track"]);let Zt=null;const Jt=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qt="http://www.w3.org/1998/Math/MathML",Kt="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml";let ee=te,ie=!1,re=null;const ne=T({},[Qt,Kt,te],p);let oe=null;const ae=["application/xhtml+xml","text/html"];let se=null,le=null;const he=n.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!le||le!==t){if(t&&"object"==typeof t||(t={}),t=w(t),oe=-1===ae.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,se="application/xhtml+xml"===oe?p:f,vt=x(t,"ALLOWED_TAGS")?T({},t.ALLOWED_TAGS,se):kt,Tt=x(t,"ALLOWED_ATTR")?T({},t.ALLOWED_ATTR,se):At,re=x(t,"ALLOWED_NAMESPACES")?T({},t.ALLOWED_NAMESPACES,p):ne,Zt=x(t,"ADD_URI_SAFE_ATTR")?T(w(Jt),t.ADD_URI_SAFE_ATTR,se):Jt,Gt=x(t,"ADD_DATA_URI_TAGS")?T(w(Xt),t.ADD_DATA_URI_TAGS,se):Xt,Yt=x(t,"FORBID_CONTENTS")?T({},t.FORBID_CONTENTS,se):Vt,St=x(t,"FORBID_TAGS")?T({},t.FORBID_TAGS,se):{},Bt=x(t,"FORBID_ATTR")?T({},t.FORBID_ATTR,se):{},Ht=!!x(t,"USE_PROFILES")&&t.USE_PROFILES,Ft=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Mt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Et=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ot=t.SAFE_FOR_TEMPLATES||!1,It=!1!==t.SAFE_FOR_XML,Dt=t.WHOLE_DOCUMENT||!1,$t=t.RETURN_DOM||!1,zt=t.RETURN_DOM_FRAGMENT||!1,Pt=t.RETURN_TRUSTED_TYPE||!1,qt=t.FORCE_BODY||!1,jt=!1!==t.SANITIZE_DOM,Rt=t.SANITIZE_NAMED_PROPS||!1,Wt=!1!==t.KEEP_CONTENT,Ut=t.IN_PLACE||!1,bt=t.ALLOWED_URI_REGEXP||U,ee=t.NAMESPACE||te,wt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(wt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(wt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(wt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ot&&(Lt=!1),zt&&($t=!0),Ht&&(vt=T({},I),Tt=[],!0===Ht.html&&(T(vt,B),T(Tt,D)),!0===Ht.svg&&(T(vt,F),T(Tt,N),T(Tt,$)),!0===Ht.svgFilters&&(T(vt,L),T(Tt,N),T(Tt,$)),!0===Ht.mathMl&&(T(vt,E),T(Tt,q),T(Tt,$))),t.ADD_TAGS&&(vt===kt&&(vt=w(vt)),T(vt,t.ADD_TAGS,se)),t.ADD_ATTR&&(Tt===At&&(Tt=w(Tt)),T(Tt,t.ADD_ATTR,se)),t.ADD_URI_SAFE_ATTR&&T(Zt,t.ADD_URI_SAFE_ATTR,se),t.FORBID_CONTENTS&&(Yt===Vt&&(Yt=w(Yt)),T(Yt,t.FORBID_CONTENTS,se)),Wt&&(vt["#text"]=!0),Dt&&T(vt,["html","head","body"]),vt.table&&(T(vt,["tbody"]),delete St.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ot=t.TRUSTED_TYPES_POLICY,at=ot.createHTML("")}else void 0===ot&&(ot=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let i=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(i=e.getAttribute(r));const n="dompurify"+(i?"#"+i:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}}(W,l)),null!==ot&&"string"==typeof at&&(at=ot.createHTML(""));o&&o(t),le=t}},de=T({},["mi","mo","mn","ms","mtext"]),fe=T({},["foreignobject","annotation-xml"]),pe=T({},["title","style","font","a","script"]),ge=T({},[...F,...L,...M]),ye=T({},[...E,...O]),me=function(t){d(r.removed,{element:t});try{nt(t).removeChild(t)}catch(e){G(t)}},Ce=function(t,e){try{d(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){d(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Tt[t])if($t||zt)try{me(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},xe=function(t){let e=null,i=null;if(qt)t=""+t;else{const e=g(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===oe&&ee===te&&(t=''+t+"");const r=ot?ot.createHTML(t):t;if(ee===te)try{e=(new R).parseFromString(r,oe)}catch(t){}if(!e||!e.documentElement){e=st.createDocument(ee,"template",null);try{e.documentElement.innerHTML=ie?at:r}catch(t){}}const o=e.body||e.documentElement;return t&&i&&o.insertBefore(n.createTextNode(i),o.childNodes[0]||null),ee===te?ct.call(e,Dt?"html":"body")[0]:Dt?e.documentElement:o},_e=function(t){return lt.call(t.ownerDocument||t,t,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},be=function(t){return t instanceof j&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof P)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof k&&t instanceof k},ke=function(t,e,i){dt[t]&&c(dt[t],(t=>{t.call(r,e,i,le)}))},Te=function(t){let e=null;if(ke("beforeSanitizeElements",t,null),be(t))return me(t),!0;const i=se(t.nodeName);if(ke("uponSanitizeElement",t,{tagName:i,allowedTags:vt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent))return me(t),!0;if(t.nodeType===Q)return me(t),!0;if(It&&t.nodeType===K&&_(/<[/\w]/g,t.data))return me(t),!0;if(!vt[i]||St[i]){if(!St[i]&&we(i)){if(wt.tagNameCheck instanceof RegExp&&_(wt.tagNameCheck,i))return!1;if(wt.tagNameCheck instanceof Function&&wt.tagNameCheck(i))return!1}if(Wt&&!Yt[i]){const e=nt(t)||t.parentNode,i=rt(t)||t.childNodes;if(i&&e)for(let r=i.length-1;r>=0;--r){const n=Y(i[r],!0);n.__removalCount=(t.__removalCount||0)+1,e.insertBefore(n,it(t))}}return me(t),!0}return t instanceof A&&!function(t){let e=nt(t);e&&e.tagName||(e={namespaceURI:ee,tagName:"template"});const i=f(t.tagName),r=f(e.tagName);return!!re[t.namespaceURI]&&(t.namespaceURI===Kt?e.namespaceURI===te?"svg"===i:e.namespaceURI===Qt?"svg"===i&&("annotation-xml"===r||de[r]):Boolean(ge[i]):t.namespaceURI===Qt?e.namespaceURI===te?"math"===i:e.namespaceURI===Kt?"math"===i&&fe[r]:Boolean(ye[i]):t.namespaceURI===te?!(e.namespaceURI===Kt&&!fe[r])&&!(e.namespaceURI===Qt&&!de[r])&&!ye[i]&&(pe[i]||!ge[i]):!("application/xhtml+xml"!==oe||!re[t.namespaceURI]))}(t)?(me(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!_(/<\/no(script|embed|frames)/i,t.innerHTML)?(Ot&&t.nodeType===J&&(e=t.textContent,c([ft,pt,gt],(t=>{e=y(e,t," ")})),t.textContent!==e&&(d(r.removed,{element:t.cloneNode()}),t.textContent=e)),ke("afterSanitizeElements",t,null),!1):(me(t),!0)},Ae=function(t,e,i){if(jt&&("id"===e||"name"===e)&&(i in n||i in he))return!1;if(Lt&&!Bt[e]&&_(yt,e));else if(Ft&&_(mt,e));else if(!Tt[e]||Bt[e]){if(!(we(t)&&(wt.tagNameCheck instanceof RegExp&&_(wt.tagNameCheck,t)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(t))&&(wt.attributeNameCheck instanceof RegExp&&_(wt.attributeNameCheck,e)||wt.attributeNameCheck instanceof Function&&wt.attributeNameCheck(e))||"is"===e&&wt.allowCustomizedBuiltInElements&&(wt.tagNameCheck instanceof RegExp&&_(wt.tagNameCheck,i)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(i))))return!1}else if(Zt[e]);else if(_(bt,y(i,xt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==m(i,"data:")||!Gt[t])if(Mt&&!_(Ct,y(i,xt,"")));else if(i)return!1;return!0},we=function(t){return"annotation-xml"!==t&&g(t,_t)},Se=function(t){ke("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Tt};let n=e.length;for(;n--;){const o=e[n],{name:a,namespaceURI:s,value:l}=o,h=se(a);let d="value"===a?l:C(l);if(i.attrName=h,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,ke("uponSanitizeAttribute",t,i),d=i.attrValue,It&&_(/((--!?|])>)|<\/(style|title)/i,d)){Ce(a,t);continue}if(i.forceKeepAttr)continue;if(Ce(a,t),!i.keepAttr)continue;if(!Et&&_(/\/>/i,d)){Ce(a,t);continue}Ot&&c([ft,pt,gt],(t=>{d=y(d,t," ")}));const f=se(t.nodeName);if(Ae(f,h,d)){if(!Rt||"id"!==h&&"name"!==h||(Ce(a,t),d="user-content-"+d),ot&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(f,h)){case"TrustedHTML":d=ot.createHTML(d);break;case"TrustedScriptURL":d=ot.createScriptURL(d)}try{s?t.setAttributeNS(s,a,d):t.setAttribute(a,d),be(t)?me(t):u(r.removed)}catch(t){}}}ke("afterSanitizeAttributes",t,null)},Be=function t(e){let i=null;const r=_e(e);for(ke("beforeSanitizeShadowDOM",e,null);i=r.nextNode();)ke("uponSanitizeShadowNode",i,null),Te(i)||(i.content instanceof h&&t(i.content),Se(i));ke("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,n=null,o=null,s=null;if(ie=!t,ie&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!r.isSupported)return t;if(Nt||ue(e),r.removed=[],"string"==typeof t&&(Ut=!1),Ut){if(t.nodeName){const e=se(t.nodeName);if(!vt[e]||St[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof k)i=xe("\x3c!----\x3e"),n=i.ownerDocument.importNode(t,!0),n.nodeType===Z&&"BODY"===n.nodeName||"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!$t&&!Ot&&!Dt&&-1===t.indexOf("<"))return ot&&Pt?ot.createHTML(t):t;if(i=xe(t),!i)return $t?null:Pt?at:""}i&&qt&&me(i.firstChild);const l=_e(Ut?t:i);for(;o=l.nextNode();)Te(o)||(o.content instanceof h&&Be(o.content),Se(o));if(Ut)return t;if($t){if(zt)for(s=ht.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Tt.shadowroot||Tt.shadowrootmode)&&(s=ut.call(a,s,!0)),s}let u=Dt?i.outerHTML:i.innerHTML;return Dt&&vt["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&_(V,i.ownerDocument.doctype.name)&&(u="\n"+u),Ot&&c([ft,pt,gt],(t=>{u=y(u,t," ")})),ot&&Pt?ot.createHTML(u):u},r.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Nt=!0},r.clearConfig=function(){le=null,Nt=!1},r.isValidAttribute=function(t,e,i){le||ue({});const r=se(t),n=se(e);return Ae(r,n,i)},r.addHook=function(t,e){"function"==typeof e&&(dt[t]=dt[t]||[],d(dt[t],e))},r.removeHook=function(t){if(dt[t])return u(dt[t])},r.removeHooks=function(t){dt[t]&&(dt[t]=[])},r.removeAllHooks=function(){dt={}},r}()}()},513:(t,e,i)=>{function r(t){for(var e=[],i=1;ir})},1062:(t,e,i)=>{function r(t,e){let i;if(void 0===e)for(const e of t)null!=e&&(i=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i=n)&&(i=n)}return i}function n(t,e){let i;if(void 0===e)for(const e of t)null!=e&&(i>e||void 0===i&&e>=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i>n||void 0===i&&n>=n)&&(i=n)}return i}function o(t){return t}i.d(e,{JLW:()=>Ga,l78:()=>C,tlR:()=>m,qrM:()=>ss,Yu4:()=>hs,IA3:()=>us,Wi0:()=>fs,PGM:()=>ps,OEq:()=>ys,y8u:()=>xs,olC:()=>bs,IrU:()=>ks,oDi:()=>ws,Q7f:()=>Bs,cVp:()=>Ls,lUB:()=>Ja,Lx9:()=>Es,nVG:()=>Ps,uxU:()=>js,Xf2:()=>Us,GZz:()=>Ys,UPb:()=>Gs,dyv:()=>Vs,bEH:()=>or,n8j:()=>ts,T9B:()=>r,jkA:()=>n,rLf:()=>rs,WH:()=>dr,m4Y:()=>en,UMr:()=>ur,w7C:()=>Ca,zt:()=>xa,Ltv:()=>_a,Ubm:()=>ba,JWy:()=>zi,UAC:()=>Cn,DCK:()=>Zn,TUC:()=>Sn,Agd:()=>yn,t6C:()=>dn,wXd:()=>pn,ABi:()=>kn,Ui6:()=>qn,rGn:()=>Bn,ucG:()=>fn,YPH:()=>vn,Mol:()=>wn,PGu:()=>Tn,GuW:()=>An});var a=1,s=2,l=3,h=4,c=1e-6;function u(t){return"translate("+t+",0)"}function d(t){return"translate(0,"+t+")"}function f(t){return e=>+t(e)}function p(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),i=>+t(i)+e}function g(){return!this.__axis}function y(t,e){var i=[],r=null,n=null,y=6,m=6,C=3,x="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,_=t===a||t===h?-1:1,b=t===h||t===s?"x":"y",v=t===a||t===l?u:d;function k(u){var d=null==r?e.ticks?e.ticks.apply(e,i):e.domain():r,k=null==n?e.tickFormat?e.tickFormat.apply(e,i):o:n,T=Math.max(y,0)+C,A=e.range(),w=+A[0]+x,S=+A[A.length-1]+x,B=(e.bandwidth?p:f)(e.copy(),x),F=u.selection?u.selection():u,L=F.selectAll(".domain").data([null]),M=F.selectAll(".tick").data(d,e).order(),E=M.exit(),O=M.enter().append("g").attr("class","tick"),I=M.select("line"),D=M.select("text");L=L.merge(L.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),M=M.merge(O),I=I.merge(O.append("line").attr("stroke","currentColor").attr(b+"2",_*y)),D=D.merge(O.append("text").attr("fill","currentColor").attr(b,_*T).attr("dy",t===a?"0em":t===l?"0.71em":"0.32em")),u!==F&&(L=L.transition(u),M=M.transition(u),I=I.transition(u),D=D.transition(u),E=E.transition(u).attr("opacity",c).attr("transform",(function(t){return isFinite(t=B(t))?v(t+x):this.getAttribute("transform")})),O.attr("opacity",c).attr("transform",(function(t){var e=this.parentNode.__axis;return v((e&&isFinite(e=e(t))?e:B(t))+x)}))),E.remove(),L.attr("d",t===h||t===s?m?"M"+_*m+","+w+"H"+x+"V"+S+"H"+_*m:"M"+x+","+w+"V"+S:m?"M"+w+","+_*m+"V"+x+"H"+S+"V"+_*m:"M"+w+","+x+"H"+S),M.attr("opacity",1).attr("transform",(function(t){return v(B(t)+x)})),I.attr(b+"2",_*y),D.attr(b,_*T).text(k),F.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===s?"start":t===h?"end":"middle"),F.each((function(){this.__axis=B}))}return k.scale=function(t){return arguments.length?(e=t,k):e},k.ticks=function(){return i=Array.from(arguments),k},k.tickArguments=function(t){return arguments.length?(i=null==t?[]:Array.from(t),k):i.slice()},k.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),k):r&&r.slice()},k.tickFormat=function(t){return arguments.length?(n=t,k):n},k.tickSize=function(t){return arguments.length?(y=m=+t,k):y},k.tickSizeInner=function(t){return arguments.length?(y=+t,k):y},k.tickSizeOuter=function(t){return arguments.length?(m=+t,k):m},k.tickPadding=function(t){return arguments.length?(C=+t,k):C},k.offset=function(t){return arguments.length?(x=+t,k):x},k}function m(t){return y(a,t)}function C(t){return y(l,t)}function x(){}function _(t){return null==t?x:function(){return this.querySelector(t)}}function b(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function v(){return[]}function k(t){return null==t?v:function(){return this.querySelectorAll(t)}}function T(t){return function(){return this.matches(t)}}function A(t){return function(e){return e.matches(t)}}var w=Array.prototype.find;function S(){return this.firstElementChild}var B=Array.prototype.filter;function F(){return Array.from(this.children)}function L(t){return new Array(t.length)}function M(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function E(t,e,i,r,n,o){for(var a,s=0,l=e.length,h=o.length;se?1:t>=e?0:NaN}M.prototype={constructor:M,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var q="http://www.w3.org/1999/xhtml";const $={svg:"http://www.w3.org/2000/svg",xhtml:q,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function z(t){var e=t+="",i=e.indexOf(":");return i>=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),$.hasOwnProperty(e)?{space:$[e],local:t}:t}function P(t){return function(){this.removeAttribute(t)}}function j(t){return function(){this.removeAttributeNS(t.space,t.local)}}function R(t,e){return function(){this.setAttribute(t,e)}}function W(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function U(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}function H(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function Y(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function V(t){return function(){this.style.removeProperty(t)}}function G(t,e,i){return function(){this.style.setProperty(t,e,i)}}function X(t,e,i){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,i)}}function Z(t,e){return t.style.getPropertyValue(e)||Y(t).getComputedStyle(t,null).getPropertyValue(e)}function J(t){return function(){delete this[t]}}function Q(t,e){return function(){this[t]=e}}function K(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new it(t)}function it(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function rt(t,e){for(var i=et(t),r=-1,n=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Bt=[null];function Ft(t,e){this._groups=t,this._parents=e}function Lt(){return new Ft([[document.documentElement]],Bt)}Ft.prototype=Lt.prototype={constructor:Ft,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n=b&&(b=_+1);!(x=m[b])&&++b=0;)(r=n[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=N);for(var i=this._groups,r=i.length,n=new Array(r),o=0;o1?this.each((null==e?V:"function"==typeof e?X:G)(t,e,null==i?"":i)):Z(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?J:"function"==typeof e?K:Q)(t,e)):this.node()[t]},classed:function(t,e){var i=tt(t+"");if(arguments.length<2){for(var r=et(this.node()),n=-1,o=i.length;++n=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Tt:kt,r=0;r{}};function Ot(){for(var t,e=0,i=arguments.length,r={};e=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a0)for(var i,r,n=new Array(i),o=0;o=0&&e._call.call(void 0,t),e=e._next;--Pt}()}finally{Pt=0,function(){for(var t,e,i=$t,r=1/0;i;)i._call?(r>i._time&&(r=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:$t=e);zt=t,ee(r)}(),Ht=0}}function te(){var t=Vt.now(),e=t-Ut;e>Wt&&(Yt-=e,Ut=t)}function ee(t){Pt||(jt&&(jt=clearTimeout(jt)),t-Ht>24?(t<1/0&&(jt=setTimeout(Kt,t-Vt.now()-Yt)),Rt&&(Rt=clearInterval(Rt))):(Rt||(Ut=Vt.now(),Rt=setInterval(te,Wt)),Pt=1,Gt(Kt)))}function ie(t,e,i){var r=new Jt;return e=null==e?0:+e,r.restart((i=>{r.stop(),t(i+e)}),e,i),r}Jt.prototype=Qt.prototype={constructor:Jt,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?Xt():+i)+(null==e?0:+e),this._next||zt===this||(zt?zt._next=this:$t=this,zt=this),this._call=t,this._time=i,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=qt("start","end","cancel","interrupt"),ne=[],oe=0,ae=3;function se(t,e,i,r,n,o){var a=t.__transition;if(a){if(i in a)return}else t.__transition={};!function(t,e,i){var r,n=t.__transition;function o(l){var h,c,u,d;if(1!==i.state)return s();for(h in n)if((d=n[h]).name===i.name){if(d.state===ae)return ie(o);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+hoe)throw new Error("too late; already scheduled");return i}function he(t,e){var i=ce(t,e);if(i.state>ae)throw new Error("too late; already running");return i}function ce(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function ue(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var de,fe=180/Math.PI,pe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ge(t,e,i,r,n,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*i+e*r)&&(i-=t*l,r-=e*l),(s=Math.sqrt(i*i+r*r))&&(i/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:i.push(n(i)+"rotate(",null,r)-2,x:ue(t,e)})):e&&i.push(n(i)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,i,o){t!==e?o.push({i:i.push(n(i)+"skewX(",null,r)-2,x:ue(t,e)}):e&&i.push(n(i)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,i,r,o,a){if(t!==i||e!==r){var s=o.push(n(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ue(t,i)},{i:s-2,x:ue(e,r)})}else 1===i&&1===r||o.push(n(o)+"scale("+i+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,i=-1,r=l.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===i?Re(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===i?Re(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Me.exec(t))?new He(e[1],e[2],e[3],1):(e=Ee.exec(t))?new He(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Oe.exec(t))?Re(e[1],e[2],e[3],e[4]):(e=Ie.exec(t))?Re(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=De.exec(t))?Je(e[1],e[2]/100,e[3]/100,1):(e=Ne.exec(t))?Je(e[1],e[2]/100,e[3]/100,e[4]):qe.hasOwnProperty(t)?je(qe[t]):"transparent"===t?new He(NaN,NaN,NaN,0):null}function je(t){return new He(t>>16&255,t>>8&255,255&t,1)}function Re(t,e,i,r){return r<=0&&(t=e=i=NaN),new He(t,e,i,r)}function We(t){return t instanceof Te||(t=Pe(t)),t?new He((t=t.rgb()).r,t.g,t.b,t.opacity):new He}function Ue(t,e,i,r){return 1===arguments.length?We(t):new He(t,e,i,null==r?1:r)}function He(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}function Ye(){return`#${Ze(this.r)}${Ze(this.g)}${Ze(this.b)}`}function Ve(){const t=Ge(this.opacity);return`${1===t?"rgb(":"rgba("}${Xe(this.r)}, ${Xe(this.g)}, ${Xe(this.b)}${1===t?")":`, ${t})`}`}function Ge(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Xe(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ze(t){return((t=Xe(t))<16?"0":"")+t.toString(16)}function Je(t,e,i,r){return r<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,i,r)}function Qe(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof Te||(t=Pe(t)),!t)return new Ke;if(t instanceof Ke)return t;var e=(t=t.rgb()).r/255,i=t.g/255,r=t.b/255,n=Math.min(e,i,r),o=Math.max(e,i,r),a=NaN,s=o-n,l=(o+n)/2;return s?(a=e===o?(i-r)/s+6*(i0&&l<1?0:a,new Ke(a,s,l,t.opacity)}function Ke(t,e,i,r){this.h=+t,this.s=+e,this.l=+i,this.opacity=+r}function ti(t){return(t=(t||0)%360)<0?t+360:t}function ei(t){return Math.max(0,Math.min(1,t||0))}function ii(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}function ri(t,e,i,r,n){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*i+(1+3*t+3*o-3*a)*r+a*n)/6}ve(Te,Pe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Qe(this).formatHsl()},formatRgb:ze,toString:ze}),ve(He,Ue,ke(Te,{brighter(t){return t=null==t?we:Math.pow(we,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Ae:Math.pow(Ae,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new He(Xe(this.r),Xe(this.g),Xe(this.b),Ge(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ye,formatHex:Ye,formatHex8:function(){return`#${Ze(this.r)}${Ze(this.g)}${Ze(this.b)}${Ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ve,toString:Ve})),ve(Ke,(function(t,e,i,r){return 1===arguments.length?Qe(t):new Ke(t,e,i,null==r?1:r)}),ke(Te,{brighter(t){return t=null==t?we:Math.pow(we,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Ae:Math.pow(Ae,t),new Ke(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*e,n=2*i-r;return new He(ii(t>=240?t-240:t+120,n,r),ii(t,n,r),ii(t<120?t+240:t-120,n,r),this.opacity)},clamp(){return new Ke(ti(this.h),ei(this.s),ei(this.l),Ge(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ge(this.opacity);return`${1===t?"hsl(":"hsla("}${ti(this.h)}, ${100*ei(this.s)}%, ${100*ei(this.l)}%${1===t?")":`, ${t})`}`}}));const ni=t=>()=>t;function oi(t,e){return function(i){return t+i*e}}function ai(t,e){var i=e-t;return i?oi(t,i):ni(isNaN(t)?e:t)}const si=function t(e){var i=function(t){return 1==(t=+t)?ai:function(e,i){return i-e?function(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(r){return Math.pow(t+r*e,i)}}(e,i,t):ni(isNaN(e)?i:e)}}(e);function r(t,e){var r=i((t=Ue(t)).r,(e=Ue(e)).r),n=i(t.g,e.g),o=i(t.b,e.b),a=ai(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function li(t){return function(e){var i,r,n=e.length,o=new Array(n),a=new Array(n),s=new Array(n);for(i=0;i=1?(i=1,e-1):Math.floor(i*e),n=t[r],o=t[r+1],a=r>0?t[r-1]:2*n-o,s=ro&&(n=e.slice(o,n),s[a]?s[a]+=n:s[++a]=n),(i=i[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ue(i,r)})),o=ci.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?le:he;return function(){var a=o(this,t),s=a.on;s!==r&&(n=(r=s).copy()).on(e,i),a.on=n}}(i,t,e))},attr:function(t,e){var i=z(t),r="transform"===i?Ce:di;return this.attrTween(t,"function"==typeof e?(i.local?Ci:mi)(i,r,be(this,"attr."+t,e)):null==e?(i.local?pi:fi)(i):(i.local?yi:gi)(i,r,e))},attrTween:function(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;var r=z(t);return this.tween(i,(r.local?xi:_i)(r,e))},style:function(t,e,i){var r="transform"==(t+="")?me:di;return null==e?this.styleTween(t,function(t,e){var i,r,n;return function(){var o=Z(this,t),a=(this.style.removeProperty(t),Z(this,t));return o===a?null:o===i&&a===r?n:n=e(i=o,r=a)}}(t,r)).on("end.style."+t,wi(t)):"function"==typeof e?this.styleTween(t,function(t,e,i){var r,n,o;return function(){var a=Z(this,t),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=Z(this,t)),a===l?null:a===r&&l===n?o:(n=l,o=e(r=a,s))}}(t,r,be(this,"style."+t,e))).each(function(t,e){var i,r,n,o,a="style."+e,s="end."+a;return function(){var l=he(this,t),h=l.on,c=null==l.value[a]?o||(o=wi(e)):void 0;h===i&&n===c||(r=(i=h).copy()).on(s,n=c),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,i){var r,n,o=i+"";return function(){var a=Z(this,t);return a===o?null:a===r?n:n=e(r=a,i)}}(t,r,e),i).on("end.style."+t,null)},styleTween:function(t,e,i){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,i){var r,n;function o(){var o=e.apply(this,arguments);return o!==n&&(r=(n=o)&&function(t,e,i){return function(r){this.style.setProperty(t,e.call(this,r),i)}}(t,o,i)),r}return o._value=e,o}(t,e,null==i?"":i))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(be(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,i;function r(){var r=t.apply(this,arguments);return r!==i&&(e=(i=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var i=this._id;if(t+="",arguments.length<2){for(var r,n=ce(this.node(),i).tween,o=0,a=n.length;o2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete o[n]):a=!1;a&&delete t.__transition}}(this,t)}))},Mt.prototype.transition=function(t){var e,i;t instanceof Bi?(e=t._id,t=t._name):(e=Fi(),(i=Mi).time=Xt(),t=null==t?null:t+"");for(var r=this._groups,n=r.length,o=0;ofunction(t,e){return fetch(t,e).then(qi)}(e,i).then((e=>(new DOMParser).parseFromString(e,t)))}["w","e"].map(Ni),["n","s"].map(Ni),["n","w","e","s","nw","ne","sw","se"].map(Ni),$i("application/xml"),$i("text/html");var zi=$i("image/svg+xml");const Pi=Math.PI/180,ji=180/Math.PI,Ri=.96422,Wi=1,Ui=.82521,Hi=4/29,Yi=6/29,Vi=3*Yi*Yi,Gi=Yi*Yi*Yi;function Xi(t){if(t instanceof Zi)return new Zi(t.l,t.a,t.b,t.opacity);if(t instanceof ir)return rr(t);t instanceof He||(t=We(t));var e,i,r=tr(t.r),n=tr(t.g),o=tr(t.b),a=Ji((.2225045*r+.7168786*n+.0606169*o)/Wi);return r===n&&n===o?e=i=a:(e=Ji((.4360747*r+.3850649*n+.1430804*o)/Ri),i=Ji((.0139322*r+.0971045*n+.7141733*o)/Ui)),new Zi(116*a-16,500*(e-a),200*(a-i),t.opacity)}function Zi(t,e,i,r){this.l=+t,this.a=+e,this.b=+i,this.opacity=+r}function Ji(t){return t>Gi?Math.pow(t,1/3):t/Vi+Hi}function Qi(t){return t>Yi?t*t*t:Vi*(t-Hi)}function Ki(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function tr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function er(t,e,i,r){return 1===arguments.length?function(t){if(t instanceof ir)return new ir(t.h,t.c,t.l,t.opacity);if(t instanceof Zi||(t=Xi(t)),0===t.a&&0===t.b)return new ir(NaN,0180||i<-180?i-360*Math.round(i/360):i):ni(isNaN(t)?e:t)}));function ar(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}nr(ai);class sr extends Map{constructor(t,e=hr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,i]of t)this.set(e,i)}get(t){return super.get(lr(this,t))}has(t){return super.has(lr(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):(t.set(r,i),i)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},i){const r=e(i);return t.has(r)&&(i=t.get(r),t.delete(r)),i}(this,t))}}function lr({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):i}function hr(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const cr=Symbol("implicit");function ur(){var t=new sr,e=[],i=[],r=cr;function n(n){let o=t.get(n);if(void 0===o){if(r!==cr)return r;t.set(n,o=e.push(n)-1)}return i[o%i.length]}return n.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new sr;for(const r of i)t.has(r)||t.set(r,e.push(r)-1);return n},n.range=function(t){return arguments.length?(i=Array.from(t),n):i.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return ur(e,i).unknown(r)},ar.apply(n,arguments),n}function dr(){var t,e,i=ur().unknown(void 0),r=i.domain,n=i.range,o=0,a=1,s=!1,l=0,h=0,c=.5;function u(){var i=r().length,u=a=fr?10:o>=pr?5:o>=gr?2:1;let s,l,h;return n<0?(h=Math.pow(10,-n)/a,s=Math.round(t*h),l=Math.round(e*h),s/he&&--l,h=-h):(h=Math.pow(10,n)*a,s=Math.round(t/h),l=Math.round(e/h),s*he&&--l),le?1:t>=e?0:NaN}function _r(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function br(t){let e,i,r;function n(t,r,n=0,o=t.length){if(n>>1;i(t[e],r)<0?n=e+1:o=e}while(nxr(t(e),i),r=(e,i)=>t(e)-i):(e=t===xr||t===_r?t:vr,i=t,r=t),{left:n,center:function(t,e,i=0,o=t.length){const a=n(t,e,i,o-1);return a>i&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,n=0,o=t.length){if(n>>1;i(t[e],r)<=0?n=e+1:o=e}while(ne&&(i=t,t=e,e=i),h=function(i){return Math.max(t,Math.min(e,i))}),r=l>2?qr:Nr,n=o=null,u}function u(e){return null==e||isNaN(e=+e)?i:(n||(n=r(a.map(t),s,l)))(t(h(e)))}return u.invert=function(i){return h(e((o||(o=r(s,a.map(t),ue)))(i)))},u.domain=function(t){return arguments.length?(a=Array.from(t,Er),c()):a.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=Mr,c()},u.clamp=function(t){return arguments.length?(h=!!t||Ir,c()):h!==Ir},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(i=t,u):i},function(i,r){return t=i,e=r,c()}}()(Ir,Ir)}var Pr,jr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rr(t){if(!(e=jr.exec(t)))throw new Error("invalid format: "+t);var e;return new Wr({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Wr(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Ur(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,r=t.slice(0,i);return[r.length>1?r[0]+r.slice(2):r,+t.slice(i+1)]}function Hr(t){return(t=Ur(Math.abs(t)))?t[1]:NaN}function Yr(t,e){var i=Ur(t,e);if(!i)return t+"";var r=i[0],n=i[1];return n<0?"0."+new Array(-n).join("0")+r:r.length>n+1?r.slice(0,n+1)+"."+r.slice(n+1):r+new Array(n-r.length+2).join("0")}Rr.prototype=Wr.prototype,Wr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Vr={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Yr(100*t,e),r:Yr,s:function(t,e){var i=Ur(t,e);if(!i)return t+"";var r=i[0],n=i[1],o=n-(Pr=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Ur(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Gr(t){return t}var Xr,Zr,Jr,Qr=Array.prototype.map,Kr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function tn(t){var e=t.domain;return t.ticks=function(t){var i=e();return function(t,e,i){if(!((i=+i)>0))return[];if((t=+t)==(e=+e))return[t];const r=e=n))return[];const s=o-n+1,l=new Array(s);if(r)if(a<0)for(let t=0;t0;){if((n=mr(l,h,i))===r)return o[a]=l,o[s]=h,e(o);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else{if(!(n<0))break;l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n}r=n}return t},t}function en(){var t=zr();return t.copy=function(){return $r(t,en())},ar.apply(t,arguments),tn(t)}Xr=function(t){var e,i,r=void 0===t.grouping||void 0===t.thousands?Gr:(e=Qr.call(t.grouping,Number),i=t.thousands+"",function(t,r){for(var n=t.length,o=[],a=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(n-=s,n+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(i)}),n=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Gr:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Qr.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",h=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=Rr(t)).fill,i=t.align,u=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,C=t.type;"n"===C?(g=!0,C="g"):Vr[C]||(void 0===y&&(y=12),m=!0,C="g"),(f||"0"===e&&"="===i)&&(f=!0,e="0",i="=");var x="$"===d?n:"#"===d&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",_="$"===d?o:/[%p]/.test(C)?l:"",b=Vr[C],v=/[defgprs%]/.test(C);function k(t){var n,o,l,d=x,k=_;if("c"===C)k=b(t)+k,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:b(Math.abs(t),y),m&&(t=function(t){t:for(var e,i=t.length,r=1,n=-1;r0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==u&&(T=!1),d=(T?"("===u?u:h:"-"===u||"("===u?"":u)+d,k=("s"===C?Kr[8+Pr/3]:"")+k+(T&&"("===u?")":""),v)for(n=-1,o=t.length;++n(l=t.charCodeAt(n))||l>57){k=(46===l?a+t.slice(n+1):t.slice(n))+k,t=t.slice(0,n);break}}g&&!f&&(t=r(t,1/0));var A=d.length+t.length+k.length,w=A>1)+d+t+k+w.slice(A);break;default:t=w+d+t+k}return s(t)}return y=void 0===y?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:u,formatPrefix:function(t,e){var i=u(((t=Rr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Hr(e)/3))),n=Math.pow(10,-r),o=Kr[8+r/3];return function(t){return i(n*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Zr=Xr.format,Jr=Xr.formatPrefix;const rn=1e3,nn=6e4,on=36e5,an=864e5,sn=6048e5,ln=31536e6,hn=new Date,cn=new Date;function un(t,e,i,r){function n(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),n.round=t=>{const e=n(t),i=n.ceil(t);return t-e(e(t=new Date(+t),null==i?1:Math.floor(i)),t),n.range=(i,r,o)=>{const a=[];if(i=n.ceil(i),o=null==o?1:Math.floor(o),!(i0))return a;let s;do{a.push(s=new Date(+i)),e(i,o),t(i)}while(sun((e=>{if(e>=e)for(;t(e),!i(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!i(t););else for(;--r>=0;)for(;e(t,1),!i(t););})),i&&(n.count=(e,r)=>(hn.setTime(+e),cn.setTime(+r),t(hn),t(cn),Math.floor(i(hn,cn))),n.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?n.filter(r?e=>r(e)%t==0:e=>n.count(0,e)%t==0):n:null)),n}const dn=un((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));dn.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?un((e=>{e.setTime(Math.floor(e/t)*t)}),((e,i)=>{e.setTime(+e+i*t)}),((e,i)=>(i-e)/t)):dn:null),dn.range;const fn=un((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*rn)}),((t,e)=>(e-t)/rn),(t=>t.getUTCSeconds())),pn=(fn.range,un((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*rn)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getMinutes()))),gn=(pn.range,un((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getUTCMinutes()))),yn=(gn.range,un((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*rn-t.getMinutes()*nn)}),((t,e)=>{t.setTime(+t+e*on)}),((t,e)=>(e-t)/on),(t=>t.getHours()))),mn=(yn.range,un((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*on)}),((t,e)=>(e-t)/on),(t=>t.getUTCHours()))),Cn=(mn.range,un((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*nn)/an),(t=>t.getDate()-1))),xn=(Cn.range,un((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/an),(t=>t.getUTCDate()-1))),_n=(xn.range,un((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/an),(t=>Math.floor(t/an))));function bn(t){return un((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*nn)/sn))}_n.range;const vn=bn(0),kn=bn(1),Tn=bn(2),An=bn(3),wn=bn(4),Sn=bn(5),Bn=bn(6);function Fn(t){return un((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/sn))}vn.range,kn.range,Tn.range,An.range,wn.range,Sn.range,Bn.range;const Ln=Fn(0),Mn=Fn(1),En=Fn(2),On=Fn(3),In=Fn(4),Dn=Fn(5),Nn=Fn(6),qn=(Ln.range,Mn.range,En.range,On.range,In.range,Dn.range,Nn.range,un((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),$n=(qn.range,un((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),zn=($n.range,un((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));zn.every=t=>isFinite(t=Math.floor(t))&&t>0?un((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,i)=>{e.setFullYear(e.getFullYear()+i*t)})):null,zn.range;const Pn=un((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));function jn(t,e,i,r,n,o){const a=[[fn,1,rn],[fn,5,5e3],[fn,15,15e3],[fn,30,3e4],[o,1,nn],[o,5,3e5],[o,15,9e5],[o,30,18e5],[n,1,on],[n,3,108e5],[n,6,216e5],[n,12,432e5],[r,1,an],[r,2,1728e5],[i,1,sn],[e,1,2592e6],[e,3,7776e6],[t,1,ln]];function s(e,i,r){const n=Math.abs(i-e)/r,o=br((([,,t])=>t)).right(a,n);if(o===a.length)return t.every(Cr(e/ln,i/ln,r));if(0===o)return dn.every(Math.max(Cr(e,i,r),1));const[s,l]=a[n/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?un((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,i)=>{e.setUTCFullYear(e.getUTCFullYear()+i*t)})):null,Pn.range;const[Rn,Wn]=jn(Pn,$n,Ln,_n,mn,gn),[Un,Hn]=jn(zn,qn,vn,Cn,yn,pn);function Yn(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Vn(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Gn(t,e,i){return{y:t,m:e,d:i,H:0,M:0,S:0,L:0}}var Xn,Zn,Jn={"-":"",_:" ",0:"0"},Qn=/^\s*\d+/,Kn=/^%/,to=/[\\^$*+?|[\]().{}]/g;function eo(t,e,i){var r=t<0?"-":"",n=(r?-t:t)+"",o=n.length;return r+(o[t.toLowerCase(),e])))}function oo(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.w=+r[0],i+r[0].length):-1}function ao(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.u=+r[0],i+r[0].length):-1}function so(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.U=+r[0],i+r[0].length):-1}function lo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.V=+r[0],i+r[0].length):-1}function ho(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.W=+r[0],i+r[0].length):-1}function co(t,e,i){var r=Qn.exec(e.slice(i,i+4));return r?(t.y=+r[0],i+r[0].length):-1}function uo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),i+r[0].length):-1}function fo(t,e,i){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),i+r[0].length):-1}function po(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.q=3*r[0]-3,i+r[0].length):-1}function go(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.m=r[0]-1,i+r[0].length):-1}function yo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.d=+r[0],i+r[0].length):-1}function mo(t,e,i){var r=Qn.exec(e.slice(i,i+3));return r?(t.m=0,t.d=+r[0],i+r[0].length):-1}function Co(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.H=+r[0],i+r[0].length):-1}function xo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.M=+r[0],i+r[0].length):-1}function _o(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.S=+r[0],i+r[0].length):-1}function bo(t,e,i){var r=Qn.exec(e.slice(i,i+3));return r?(t.L=+r[0],i+r[0].length):-1}function vo(t,e,i){var r=Qn.exec(e.slice(i,i+6));return r?(t.L=Math.floor(r[0]/1e3),i+r[0].length):-1}function ko(t,e,i){var r=Kn.exec(e.slice(i,i+1));return r?i+r[0].length:-1}function To(t,e,i){var r=Qn.exec(e.slice(i));return r?(t.Q=+r[0],i+r[0].length):-1}function Ao(t,e,i){var r=Qn.exec(e.slice(i));return r?(t.s=+r[0],i+r[0].length):-1}function wo(t,e){return eo(t.getDate(),e,2)}function So(t,e){return eo(t.getHours(),e,2)}function Bo(t,e){return eo(t.getHours()%12||12,e,2)}function Fo(t,e){return eo(1+Cn.count(zn(t),t),e,3)}function Lo(t,e){return eo(t.getMilliseconds(),e,3)}function Mo(t,e){return Lo(t,e)+"000"}function Eo(t,e){return eo(t.getMonth()+1,e,2)}function Oo(t,e){return eo(t.getMinutes(),e,2)}function Io(t,e){return eo(t.getSeconds(),e,2)}function Do(t){var e=t.getDay();return 0===e?7:e}function No(t,e){return eo(vn.count(zn(t)-1,t),e,2)}function qo(t){var e=t.getDay();return e>=4||0===e?wn(t):wn.ceil(t)}function $o(t,e){return t=qo(t),eo(wn.count(zn(t),t)+(4===zn(t).getDay()),e,2)}function zo(t){return t.getDay()}function Po(t,e){return eo(kn.count(zn(t)-1,t),e,2)}function jo(t,e){return eo(t.getFullYear()%100,e,2)}function Ro(t,e){return eo((t=qo(t)).getFullYear()%100,e,2)}function Wo(t,e){return eo(t.getFullYear()%1e4,e,4)}function Uo(t,e){var i=t.getDay();return eo((t=i>=4||0===i?wn(t):wn.ceil(t)).getFullYear()%1e4,e,4)}function Ho(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+eo(e/60|0,"0",2)+eo(e%60,"0",2)}function Yo(t,e){return eo(t.getUTCDate(),e,2)}function Vo(t,e){return eo(t.getUTCHours(),e,2)}function Go(t,e){return eo(t.getUTCHours()%12||12,e,2)}function Xo(t,e){return eo(1+xn.count(Pn(t),t),e,3)}function Zo(t,e){return eo(t.getUTCMilliseconds(),e,3)}function Jo(t,e){return Zo(t,e)+"000"}function Qo(t,e){return eo(t.getUTCMonth()+1,e,2)}function Ko(t,e){return eo(t.getUTCMinutes(),e,2)}function ta(t,e){return eo(t.getUTCSeconds(),e,2)}function ea(t){var e=t.getUTCDay();return 0===e?7:e}function ia(t,e){return eo(Ln.count(Pn(t)-1,t),e,2)}function ra(t){var e=t.getUTCDay();return e>=4||0===e?In(t):In.ceil(t)}function na(t,e){return t=ra(t),eo(In.count(Pn(t),t)+(4===Pn(t).getUTCDay()),e,2)}function oa(t){return t.getUTCDay()}function aa(t,e){return eo(Mn.count(Pn(t)-1,t),e,2)}function sa(t,e){return eo(t.getUTCFullYear()%100,e,2)}function la(t,e){return eo((t=ra(t)).getUTCFullYear()%100,e,2)}function ha(t,e){return eo(t.getUTCFullYear()%1e4,e,4)}function ca(t,e){var i=t.getUTCDay();return eo((t=i>=4||0===i?In(t):In.ceil(t)).getUTCFullYear()%1e4,e,4)}function ua(){return"+0000"}function da(){return"%"}function fa(t){return+t}function pa(t){return Math.floor(+t/1e3)}function ga(t){return new Date(t)}function ya(t){return t instanceof Date?+t:+new Date(+t)}function ma(t,e,i,r,n,o,a,s,l,h){var c=zr(),u=c.invert,d=c.domain,f=h(".%L"),p=h(":%S"),g=h("%I:%M"),y=h("%I %p"),m=h("%a %d"),C=h("%b %d"),x=h("%B"),_=h("%Y");function b(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:fa,s:pa,S:Io,u:Do,U:No,V:$o,w:zo,W:Po,x:null,X:null,y:jo,Y:Wo,Z:Ho,"%":da},_={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Yo,e:Yo,f:Jo,g:la,G:ca,H:Vo,I:Go,j:Xo,L:Zo,m:Qo,M:Ko,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:fa,s:pa,S:ta,u:ea,U:ia,V:na,w:oa,W:aa,x:null,X:null,y:sa,Y:ha,Z:ua,"%":da},b={a:function(t,e,i){var r=f.exec(e.slice(i));return r?(t.w=p.get(r[0].toLowerCase()),i+r[0].length):-1},A:function(t,e,i){var r=u.exec(e.slice(i));return r?(t.w=d.get(r[0].toLowerCase()),i+r[0].length):-1},b:function(t,e,i){var r=m.exec(e.slice(i));return r?(t.m=C.get(r[0].toLowerCase()),i+r[0].length):-1},B:function(t,e,i){var r=g.exec(e.slice(i));return r?(t.m=y.get(r[0].toLowerCase()),i+r[0].length):-1},c:function(t,i,r){return T(t,e,i,r)},d:yo,e:yo,f:vo,g:uo,G:co,H:Co,I:Co,j:mo,L:bo,m:go,M:xo,p:function(t,e,i){var r=h.exec(e.slice(i));return r?(t.p=c.get(r[0].toLowerCase()),i+r[0].length):-1},q:po,Q:To,s:Ao,S:_o,u:ao,U:so,V:lo,w:oo,W:ho,x:function(t,e,r){return T(t,i,e,r)},X:function(t,e,i){return T(t,r,e,i)},y:uo,Y:co,Z:fo,"%":ko};function v(t,e){return function(i){var r,n,o,a=[],s=-1,l=0,h=t.length;for(i instanceof Date||(i=new Date(+i));++s53)return null;"w"in o||(o.w=1),"Z"in o?(n=(r=Vn(Gn(o.y,0,1))).getUTCDay(),r=n>4||0===n?Mn.ceil(r):Mn(r),r=xn.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(n=(r=Yn(Gn(o.y,0,1))).getDay(),r=n>4||0===n?kn.ceil(r):kn(r),r=Cn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),n="Z"in o?Vn(Gn(o.y,0,1)).getUTCDay():Yn(Gn(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(n+5)%7:o.w+7*o.U-(n+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Vn(o)):Yn(o)}}function T(t,e,i,r){for(var n,o,a=0,s=e.length,l=i.length;a=l)return-1;if(37===(n=e.charCodeAt(a++))){if(n=e.charAt(a++),!(o=b[n in Jn?e.charAt(a++):n])||(r=o(t,i,r))<0)return-1}else if(n!=i.charCodeAt(r++))return-1}return r}return x.x=v(i,x),x.X=v(r,x),x.c=v(e,x),_.x=v(i,_),_.X=v(r,_),_.c=v(e,_),{format:function(t){var e=v(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=v(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Zn=Xn.format,Xn.parse,Xn.utcFormat,Xn.utcParse;const xa=function(t){for(var e=new Array(10),i=0;i<10;)e[i]="#"+t.slice(6*i,6*++i);return e}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function _a(t){return"string"==typeof t?new Ft([[document.querySelector(t)]],[document.documentElement]):new Ft([[t]],Bt)}function ba(t){return"string"==typeof t?new Ft([document.querySelectorAll(t)],[document.documentElement]):new Ft([b(t)],Bt)}function va(t){return function(){return t}}const ka=Math.abs,Ta=Math.atan2,Aa=Math.cos,wa=Math.max,Sa=Math.min,Ba=Math.sin,Fa=Math.sqrt,La=1e-12,Ma=Math.PI,Ea=Ma/2,Oa=2*Ma;function Ia(t){return t>=1?Ea:t<=-1?-Ea:Math.asin(t)}const Da=Math.PI,Na=2*Da,qa=1e-6,$a=Na-qa;function za(t){this._+=t[0];for(let e=1,i=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return za;const i=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;eqa)if(Math.abs(c*s-l*h)>qa&&n){let d=i-o,f=r-a,p=s*s+l*l,g=d*d+f*f,y=Math.sqrt(p),m=Math.sqrt(u),C=n*Math.tan((Da-Math.acos((p+u-g)/(2*y*m)))/2),x=C/m,_=C/y;Math.abs(x-1)>qa&&this._append`L${t+x*h},${e+x*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+_*s},${this._y1=e+_*l}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,i,r,n,o){if(t=+t,e=+e,o=!!o,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=i*Math.cos(r),s=i*Math.sin(r),l=t+a,h=e+s,c=1^o,u=o?r-n:n-r;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>qa||Math.abs(this._y1-h)>qa)&&this._append`L${l},${h}`,i&&(u<0&&(u=u%Na+Na),u>$a?this._append`A${i},${i},0,1,${c},${t-a},${e-s}A${i},${i},0,1,${c},${this._x1=l},${this._y1=h}`:u>qa&&this._append`A${i},${i},0,${+(u>=Da)},${c},${this._x1=t+i*Math.cos(n)},${this._y1=e+i*Math.sin(n)}`)}rect(t,e,i,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function ja(t){let e=3;return t.digits=function(i){if(!arguments.length)return e;if(null==i)e=null;else{const t=Math.floor(i);if(!(t>=0))throw new RangeError(`invalid digits: ${i}`);e=t}return t},()=>new Pa(e)}function Ra(t){return t.innerRadius}function Wa(t){return t.outerRadius}function Ua(t){return t.startAngle}function Ha(t){return t.endAngle}function Ya(t){return t&&t.padAngle}function Va(t,e,i,r,n,o,a){var s=t-i,l=e-r,h=(a?o:-o)/Fa(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=i+c,g=r+u,y=(d+p)/2,m=(f+g)/2,C=p-d,x=g-f,_=C*C+x*x,b=n-o,v=d*g-p*f,k=(x<0?-1:1)*Fa(wa(0,b*b*_-v*v)),T=(v*x-C*k)/_,A=(-v*C-x*k)/_,w=(v*x+C*k)/_,S=(-v*C+x*k)/_,B=T-y,F=A-m,L=w-y,M=S-m;return B*B+F*F>L*L+M*M&&(T=w,A=S),{cx:T,cy:A,x01:-c,y01:-u,x11:T*(n/b-1),y11:A*(n/b-1)}}function Ga(){var t=Ra,e=Wa,i=va(0),r=null,n=Ua,o=Ha,a=Ya,s=null,l=ja(h);function h(){var h,c,u,d=+t.apply(this,arguments),f=+e.apply(this,arguments),p=n.apply(this,arguments)-Ea,g=o.apply(this,arguments)-Ea,y=ka(g-p),m=g>p;if(s||(s=h=l()),fLa)if(y>Oa-La)s.moveTo(f*Aa(p),f*Ba(p)),s.arc(0,0,f,p,g,!m),d>La&&(s.moveTo(d*Aa(g),d*Ba(g)),s.arc(0,0,d,g,p,m));else{var C,x,_=p,b=g,v=p,k=g,T=y,A=y,w=a.apply(this,arguments)/2,S=w>La&&(r?+r.apply(this,arguments):Fa(d*d+f*f)),B=Sa(ka(f-d)/2,+i.apply(this,arguments)),F=B,L=B;if(S>La){var M=Ia(S/d*Ba(w)),E=Ia(S/f*Ba(w));(T-=2*M)>La?(v+=M*=m?1:-1,k-=M):(T=0,v=k=(p+g)/2),(A-=2*E)>La?(_+=E*=m?1:-1,b-=E):(A=0,_=b=(p+g)/2)}var O=f*Aa(_),I=f*Ba(_),D=d*Aa(k),N=d*Ba(k);if(B>La){var q,$=f*Aa(b),z=f*Ba(b),P=d*Aa(v),j=d*Ba(v);if(y1?0:u<-1?Ma:Math.acos(u))/2),V=Fa(q[0]*q[0]+q[1]*q[1]);F=Sa(B,(d-V)/(Y-1)),L=Sa(B,(f-V)/(Y+1))}else F=L=0}A>La?L>La?(C=Va(P,j,O,I,f,L,m),x=Va($,z,D,N,f,L,m),s.moveTo(C.cx+C.x01,C.cy+C.y01),LLa&&T>La?F>La?(C=Va(D,N,$,z,d,-F,m),x=Va(O,I,P,j,d,-F,m),s.lineTo(C.cx+C.x01,C.cy+C.y01),Ft?1:e>=t?0:NaN}function is(t){return t}function rs(){var t=is,e=es,i=null,r=va(0),n=va(Oa),o=va(0);function a(a){var s,l,h,c,u,d=(a=Xa(a)).length,f=0,p=new Array(d),g=new Array(d),y=+r.apply(this,arguments),m=Math.min(Oa,Math.max(-Oa,n.apply(this,arguments)-y)),C=Math.min(Math.abs(m)/d,o.apply(this,arguments)),x=C*(m<0?-1:1);for(s=0;s0&&(f+=u);for(null!=e?p.sort((function(t,i){return e(g[t],g[i])})):null!=i&&p.sort((function(t,e){return i(a[t],a[e])})),s=0,h=f?(m-d*x)/f:0;s0?u*h:0)+x,g[l]={data:a[l],index:s,value:u,startAngle:y,endAngle:c,padAngle:C};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:va(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,i=null,a):e},a.sort=function(t){return arguments.length?(i=t,e=null,a):i},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:va(+t),a):r},a.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:va(+t),a):n},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:va(+t),a):o},a}function ns(){}function os(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function as(t){this._context=t}function ss(t){return new as(t)}function ls(t){this._context=t}function hs(t){return new ls(t)}function cs(t){this._context=t}function us(t){return new cs(t)}Pa.prototype,Array.prototype.slice,Za.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},as.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:os(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:os(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ls.prototype={areaStart:ns,areaEnd:ns,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:os(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},cs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,r):this._context.moveTo(i,r);break;case 3:this._point=4;default:os(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ds{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function fs(t){return new ds(t,!0)}function ps(t){return new ds(t,!1)}function gs(t,e){this._basis=new as(t),this._beta=e}gs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var r,n=t[0],o=e[0],a=t[i]-n,s=e[i]-o,l=-1;++l<=i;)r=l/i,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+r*a),this._beta*e[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const ys=function t(e){function i(t){return 1===e?new as(t):new gs(t,e)}return i.beta=function(e){return t(+e)},i}(.85);function ms(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function Cs(t,e){this._context=t,this._k=(1-e)/6}Cs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ms(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ms(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const xs=function t(e){function i(t){return new Cs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function _s(t,e){this._context=t,this._k=(1-e)/6}_s.prototype={areaStart:ns,areaEnd:ns,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ms(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const bs=function t(e){function i(t){return new _s(t,e)}return i.tension=function(e){return t(+e)},i}(0);function vs(t,e){this._context=t,this._k=(1-e)/6}vs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ms(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ks=function t(e){function i(t){return new vs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function Ts(t,e,i){var r=t._x1,n=t._y1,o=t._x2,a=t._y2;if(t._l01_a>La){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>La){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*h+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(r,n,o,a,t._x2,t._y2)}function As(t,e){this._context=t,this._alpha=e}As.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Ts(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ws=function t(e){function i(t){return e?new As(t,e):new Cs(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ss(t,e){this._context=t,this._alpha=e}Ss.prototype={areaStart:ns,areaEnd:ns,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ts(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Bs=function t(e){function i(t){return e?new Ss(t,e):new _s(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Fs(t,e){this._context=t,this._alpha=e}Fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ts(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ls=function t(e){function i(t){return e?new Fs(t,e):new vs(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ms(t){this._context=t}function Es(t){return new Ms(t)}function Os(t){return t<0?-1:1}function Is(t,e,i){var r=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(r||n<0&&-0),a=(i-t._y1)/(n||r<0&&-0),s=(o*n+a*r)/(r+n);return(Os(o)+Os(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Ds(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Ns(t,e,i){var r=t._x0,n=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,n+s*e,o-s,a-s*i,o,a)}function qs(t){this._context=t}function $s(t){this._context=new zs(t)}function zs(t){this._context=t}function Ps(t){return new qs(t)}function js(t){return new $s(t)}function Rs(t){this._context=t}function Ws(t){var e,i,r=t.length-1,n=new Array(r),o=new Array(r),a=new Array(r);for(n[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(a[e]-n[e+1])/o[e];for(o[r-1]=(t[r]+n[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}},Xs.prototype={constructor:Xs,scale:function(t){return 1===t?this:new Xs(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Xs(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Xs(1,0,0),Xs.prototype},7266:(t,e,i)=>{i.d(e,{A:()=>a});var r=i(6309),n=i(3122);const o=class{constructor(){this.type=n.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.Z.ALL}is(t){return this.type===t}},a=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.Z.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:i,l:n}=t;void 0===e&&(t.h=r.A.channel.rgb2hsl(t,"h")),void 0===i&&(t.s=r.A.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=r.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:i,b:n}=t;void 0===e&&(t.r=r.A.channel.hsl2rgb(t,"r")),void 0===i&&(t.g=r.A.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=r.A.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(n.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(n.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(n.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(n.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(n.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(n.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},1931:(t,e,i)=>{i.d(e,{A:()=>g});var r=i(7266),n=i(3122);const o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(o.re);if(!e)return;const i=e[1],n=parseInt(i,16),a=i.length,s=a%4==0,l=a>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return r.A.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{const{r:e,g:i,b:r,a:o}=t;return o<1?`#${n.Y[Math.round(e)]}${n.Y[Math.round(i)]}${n.Y[Math.round(r)]}${n.Y[Math.round(255*o)]}`:`#${n.Y[Math.round(e)]}${n.Y[Math.round(i)]}${n.Y[Math.round(r)]}`}},a=o;var s=i(6309);const l={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(l.hueRe);if(e){const[,t,i]=e;switch(i){case"grad":return s.A.channel.clamp.h(.9*parseFloat(t));case"rad":return s.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.A.channel.clamp.h(360*parseFloat(t))}}return s.A.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const i=t.match(l.re);if(!i)return;const[,n,o,a,h,c]=i;return r.A.set({h:l._hue2deg(n),s:s.A.channel.clamp.s(parseFloat(o)),l:s.A.channel.clamp.l(parseFloat(a)),a:h?s.A.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{h:e,s:i,l:r,a:n}=t;return n<1?`hsla(${s.A.lang.round(e)}, ${s.A.lang.round(i)}%, ${s.A.lang.round(r)}%, ${n})`:`hsl(${s.A.lang.round(e)}, ${s.A.lang.round(i)}%, ${s.A.lang.round(r)}%)`}},h=l,c={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=c.colors[t];if(e)return a.parse(e)},stringify:t=>{const e=a.stringify(t);for(const t in c.colors)if(c.colors[t]===e)return t}},u=c,d={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const i=t.match(d.re);if(!i)return;const[,n,o,a,l,h,c,u,f]=i;return r.A.set({r:s.A.channel.clamp.r(o?2.55*parseFloat(n):parseFloat(n)),g:s.A.channel.clamp.g(l?2.55*parseFloat(a):parseFloat(a)),b:s.A.channel.clamp.b(c?2.55*parseFloat(h):parseFloat(h)),a:u?s.A.channel.clamp.a(f?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`rgba(${s.A.lang.round(e)}, ${s.A.lang.round(i)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)})`:`rgb(${s.A.lang.round(e)}, ${s.A.lang.round(i)}, ${s.A.lang.round(r)})`}},f=d,p={format:{keyword:c,hex:a,rgb:d,rgba:d,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=a.parse(t)||f.parse(t)||h.parse(t)||u.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.Z.HSL)||void 0===t.data.r?h.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?f.stringify(t):a.stringify(t)},g=p},3122:(t,e,i)=>{i.d(e,{Y:()=>n,Z:()=>o});var r=i(6309);const n={};for(let t=0;t<=255;t++)n[t]=r.A.unit.dec2hex(t);const o={ALL:0,RGB:1,HSL:2}},5635:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(6309),n=i(1931);const o=(t,e,i)=>{const o=n.A.parse(t),a=o[e],s=r.A.channel.clamp[e](a+i);return a!==s&&(o[e]=s),n.A.stringify(o)}},8232:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(6309),n=i(1931);const o=(t,e)=>{const i=n.A.parse(t);for(const t in e)i[t]=r.A.channel.clamp[t](e[t]);return n.A.stringify(i)}},5263:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(5635);const n=(t,e)=>(0,r.A)(t,"l",-e)},5097:(t,e,i)=>{i.d(e,{A:()=>a});var r=i(6309),n=i(1931);const o=t=>(t=>{const{r:e,g:i,b:o}=n.A.parse(t),a=.2126*r.A.channel.toLinear(e)+.7152*r.A.channel.toLinear(i)+.0722*r.A.channel.toLinear(o);return r.A.lang.round(a)})(t)>=.5,a=t=>!o(t)},8041:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(5635);const n=(t,e)=>(0,r.A)(t,"l",e)},5582:(t,e,i)=>{i.d(e,{A:()=>s});var r=i(6309),n=i(7266),o=i(1931),a=i(8232);const s=(t,e,i=0,s=1)=>{if("number"!=typeof t)return(0,a.A)(t,{a:e});const l=n.A.set({r:r.A.channel.clamp.r(t),g:r.A.channel.clamp.g(e),b:r.A.channel.clamp.b(i),a:r.A.channel.clamp.a(s)});return o.A.stringify(l)}},6309:(t,e,i)=>{i.d(e,{A:()=>n});const r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t),hsl2rgb:({h:t,s:e,l:i},n)=>{if(!e)return 2.55*i;t/=360,e/=100;const o=(i/=100)<.5?i*(1+e):i+e-i*e,a=2*i-o;switch(n){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:i},r)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),o=Math.min(t,e,i),a=(n+o)/2;if("l"===r)return 100*a;if(n===o)return 0;const s=n-o;if("s"===r)return 100*(a>.5?s/(2-n-o):s/(n+o));switch(n){case t:return 60*((e-i)/s+(ee>i?Math.min(e,Math.max(i,t)):Math.min(i,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},9469:(t,e,i)=>{i.d(e,{A:()=>s});var r=i(6984);const n=function(t,e){for(var i=t.length;i--;)if((0,r.A)(t[i][0],e))return i;return-1};var o=Array.prototype.splice;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var i=this.__data__,r=n(i,t);return r<0?(++this.size,i.push([t,e])):i[r][1]=e,this};const s=a},8335:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(8562),n=i(1917);const o=(0,r.A)(n.A,"Map")},2050:(t,e,i)=>{i.d(e,{A:()=>d});const r=(0,i(8562).A)(Object,"create");var n=Object.prototype.hasOwnProperty;var o=Object.prototype.hasOwnProperty;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e{i.d(e,{A:()=>o});var r=i(8562),n=i(1917);const o=(0,r.A)(n.A,"Set")},2080:(t,e,i)=>{i.d(e,{A:()=>s});var r=i(9469);var n=i(8335),o=i(2050);function a(t){var e=this.__data__=new r.A(t);this.size=e.size}a.prototype.clear=function(){this.__data__=new r.A,this.size=0},a.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},a.prototype.get=function(t){return this.__data__.get(t)},a.prototype.has=function(t){return this.__data__.has(t)},a.prototype.set=function(t,e){var i=this.__data__;if(i instanceof r.A){var a=i.__data__;if(!n.A||a.length<199)return a.push([t,e]),this.size=++i.size,this;i=this.__data__=new o.A(a)}return i.set(t,e),this.size=i.size,this};const s=a},241:(t,e,i)=>{i.d(e,{A:()=>r});const r=i(1917).A.Symbol},3988:(t,e,i)=>{i.d(e,{A:()=>r});const r=i(1917).A.Uint8Array},2505:(t,e,i)=>{i.d(e,{A:()=>h});var r=i(5175),n=i(2049),o=i(1200),a=i(5353),s=i(4749),l=Object.prototype.hasOwnProperty;const h=function(t,e){var i=(0,n.A)(t),h=!i&&(0,r.A)(t),c=!i&&!h&&(0,o.A)(t),u=!i&&!h&&!c&&(0,s.A)(t),d=i||h||c||u,f=d?function(t,e){for(var i=-1,r=Array(t);++i{i.d(e,{A:()=>a});var r=i(2528),n=i(6984),o=Object.prototype.hasOwnProperty;const a=function(t,e,i){var a=t[e];o.call(t,e)&&(0,n.A)(a,i)&&(void 0!==i||e in t)||(0,r.A)(t,e,i)}},2528:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(4171);const n=function(t,e,i){"__proto__"==e&&r.A?(0,r.A)(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}},7132:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t,e,i){for(var r=-1,n=Object(t),o=i(t),a=o.length;a--;){var s=o[++r];if(!1===e(n[s],s,n))break}return t}},2383:(t,e,i)=>{i.d(e,{A:()=>c});var r=i(241),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,s=r.A?r.A.toStringTag:void 0;var l=Object.prototype.toString;var h=r.A?r.A.toStringTag:void 0;const c=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?function(t){var e=o.call(t,s),i=t[s];try{t[s]=void 0;var r=!0}catch(t){}var n=a.call(t);return r&&(e?t[s]=i:delete t[s]),n}(t):function(t){return l.call(t)}(t)}},4453:(t,e,i)=>{i.d(e,{A:()=>a});var r=i(7271);const n=(0,i(367).A)(Object.keys,Object);var o=Object.prototype.hasOwnProperty;const a=function(t){if(!(0,r.A)(t))return n(t);var e=[];for(var i in Object(t))o.call(t,i)&&"constructor"!=i&&e.push(i);return e}},4326:(t,e,i)=>{i.d(e,{A:()=>a});var r=i(9008),n=i(5255),o=i(7424);const a=function(t,e){return(0,o.A)((0,n.A)(t,e,r.A),t+"")}},2789:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t){return function(e){return t(e)}}},565:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(3988);const n=function(t){var e=new t.constructor(t.byteLength);return new r.A(e).set(new r.A(t)),e}},154:(t,e,i)=>{i.d(e,{A:()=>l});var r=i(1917),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n?r.A.Buffer:void 0,s=a?a.allocUnsafe:void 0;const l=function(t,e){if(e)return t.slice();var i=t.length,r=s?s(i):new t.constructor(i);return t.copy(r),r}},1801:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(565);const n=function(t,e){var i=e?(0,r.A)(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}},9759:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t,e){var i=-1,r=t.length;for(e||(e=Array(r));++i{i.d(e,{A:()=>o});var r=i(2851),n=i(2528);const o=function(t,e,i,o){var a=!i;i||(i={});for(var s=-1,l=e.length;++s{i.d(e,{A:()=>n});var r=i(8562);const n=function(){try{var t=(0,r.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},2136:(t,e,i)=>{i.d(e,{A:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},8562:(t,e,i)=>{i.d(e,{A:()=>y});var r=i(9610);const n=i(1917).A["__core-js_shared__"];var o,a=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";var s=i(3149),l=i(1121),h=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,f=u.hasOwnProperty,p=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(t){return!(!(0,s.A)(t)||(e=t,a&&a in e))&&((0,r.A)(t)?p:h).test((0,l.A)(t));var e},y=function(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return g(i)?i:void 0}},5647:(t,e,i)=>{i.d(e,{A:()=>r});const r=(0,i(367).A)(Object.getPrototypeOf,Object)},9137:(t,e,i)=>{i.d(e,{A:()=>k});var r=i(8562),n=i(1917);const o=(0,r.A)(n.A,"DataView");var a=i(8335);const s=(0,r.A)(n.A,"Promise");var l=i(9857);const h=(0,r.A)(n.A,"WeakMap");var c=i(2383),u=i(1121),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,u.A)(o),C=(0,u.A)(a.A),x=(0,u.A)(s),_=(0,u.A)(l.A),b=(0,u.A)(h),v=c.A;(o&&v(new o(new ArrayBuffer(1)))!=y||a.A&&v(new a.A)!=d||s&&v(s.resolve())!=f||l.A&&v(new l.A)!=p||h&&v(new h)!=g)&&(v=function(t){var e=(0,c.A)(t),i="[object Object]"==e?t.constructor:void 0,r=i?(0,u.A)(i):"";if(r)switch(r){case m:return y;case C:return d;case x:return f;case _:return p;case b:return g}return e});const k=v},407:(t,e,i)=>{i.d(e,{A:()=>l});var r=i(3149),n=Object.create;const o=function(){function t(){}return function(e){if(!(0,r.A)(e))return{};if(n)return n(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();var a=i(5647),s=i(7271);const l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:o((0,a.A)(t))}},5353:(t,e,i)=>{i.d(e,{A:()=>n});var r=/^(?:0|[1-9]\d*)$/;const n=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&t{i.d(e,{A:()=>s});var r=i(6984),n=i(8446),o=i(5353),a=i(3149);const s=function(t,e,i){if(!(0,a.A)(i))return!1;var s=typeof e;return!!("number"==s?(0,n.A)(i)&&(0,o.A)(e,i.length):"string"==s&&e in i)&&(0,r.A)(i[e],t)}},7271:(t,e,i)=>{i.d(e,{A:()=>n});var r=Object.prototype;const n=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},4841:(t,e,i)=>{i.d(e,{A:()=>s});var r=i(2136),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n&&r.A.process;const s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}()},367:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t,e){return function(i){return t(e(i))}}},5255:(t,e,i)=>{i.d(e,{A:()=>n});var r=Math.max;const n=function(t,e,i){return e=r(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,a=r(n.length-e,0),s=Array(a);++o{i.d(e,{A:()=>o});var r=i(2136),n="object"==typeof self&&self&&self.Object===Object&&self;const o=r.A||n||Function("return this")()},7424:(t,e,i)=>{i.d(e,{A:()=>l});var r=i(9142),n=i(4171),o=i(9008);const a=n.A?function(t,e){return(0,n.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,r.A)(e),writable:!0})}:o.A;var s=Date.now;const l=(h=a,c=0,u=0,function(){var t=s(),e=16-(t-u);if(u=t,e>0){if(++c>=800)return arguments[0]}else c=0;return h.apply(void 0,arguments)});var h,c,u},1121:(t,e,i)=>{i.d(e,{A:()=>n});var r=Function.prototype.toString;const n=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},9142:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t){return function(){return t}}},6984:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},9008:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t){return t}},5175:(t,e,i)=>{i.d(e,{A:()=>h});var r=i(2383),n=i(3098);const o=function(t){return(0,n.A)(t)&&"[object Arguments]"==(0,r.A)(t)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;const h=o(function(){return arguments}())?o:function(t){return(0,n.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},2049:(t,e,i)=>{i.d(e,{A:()=>r});const r=Array.isArray},8446:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(9610),n=i(5254);const o=function(t){return null!=t&&(0,n.A)(t.length)&&!(0,r.A)(t)}},3533:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(8446),n=i(3098);const o=function(t){return(0,n.A)(t)&&(0,r.A)(t)}},1200:(t,e,i)=>{i.d(e,{A:()=>s});var r=i(1917);var n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n?r.A.Buffer:void 0;const s=(a?a.isBuffer:void 0)||function(){return!1}},6401:(t,e,i)=>{i.d(e,{A:()=>d});var r=i(4453),n=i(9137),o=i(5175),a=i(2049),s=i(8446),l=i(1200),h=i(7271),c=i(4749),u=Object.prototype.hasOwnProperty;const d=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,a.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,c.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,n.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.A)(t))return!(0,r.A)(t).length;for(var i in t)if(u.call(t,i))return!1;return!0}},9610:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(2383),n=i(3149);const o=function(t){if(!(0,n.A)(t))return!1;var e=(0,r.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5254:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3149:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3098:(t,e,i)=>{i.d(e,{A:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},4963:(t,e,i)=>{i.d(e,{A:()=>u});var r=i(2383),n=i(5647),o=i(3098),a=Function.prototype,s=Object.prototype,l=a.toString,h=s.hasOwnProperty,c=l.call(Object);const u=function(t){if(!(0,o.A)(t)||"[object Object]"!=(0,r.A)(t))return!1;var e=(0,n.A)(t);if(null===e)return!0;var i=h.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==c}},4749:(t,e,i)=>{i.d(e,{A:()=>c});var r=i(2383),n=i(5254),o=i(3098),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=i(2789),l=i(4841),h=l.A&&l.A.isTypedArray;const c=h?(0,s.A)(h):function(t){return(0,o.A)(t)&&(0,n.A)(t.length)&&!!a[(0,r.A)(t)]}},9999:(t,e,i)=>{i.d(e,{A:()=>h});var r=i(2505),n=i(3149),o=i(7271);var a=Object.prototype.hasOwnProperty;const s=function(t){if(!(0,n.A)(t))return function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e}(t);var e=(0,o.A)(t),i=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&i.push(r);return i};var l=i(8446);const h=function(t){return(0,l.A)(t)?(0,r.A)(t,!0):s(t)}},6632:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(2050);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var a=t.apply(this,r);return i.cache=o.set(n,a)||o,a};return i.cache=new(n.Cache||r.A),i}n.Cache=r.A;const o=n},9115:(t,e,i)=>{i.d(e,{A:()=>S});var r=i(2080),n=i(2528),o=i(6984);const a=function(t,e,i){(void 0!==i&&!(0,o.A)(t[e],i)||void 0===i&&!(e in t))&&(0,n.A)(t,e,i)};var s=i(7132),l=i(154),h=i(1801),c=i(9759),u=i(407),d=i(5175),f=i(2049),p=i(3533),g=i(1200),y=i(9610),m=i(3149),C=i(4963),x=i(4749);const _=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var b=i(2031),v=i(9999);const k=function(t,e,i,r,n,o,s){var k,T=_(t,i),A=_(e,i),w=s.get(A);if(w)a(t,i,w);else{var S=o?o(T,A,i+"",t,e,s):void 0,B=void 0===S;if(B){var F=(0,f.A)(A),L=!F&&(0,g.A)(A),M=!F&&!L&&(0,x.A)(A);S=A,F||L||M?(0,f.A)(T)?S=T:(0,p.A)(T)?S=(0,c.A)(T):L?(B=!1,S=(0,l.A)(A,!0)):M?(B=!1,S=(0,h.A)(A,!0)):S=[]:(0,C.A)(A)||(0,d.A)(A)?(S=T,(0,d.A)(T)?(k=T,S=(0,b.A)(k,(0,v.A)(k))):(0,m.A)(T)&&!(0,y.A)(T)||(S=(0,u.A)(A))):B=!1}B&&(s.set(A,S),n(S,A,r,o,s),s.delete(A)),a(t,i,S)}},T=function t(e,i,n,o,l){e!==i&&(0,s.A)(i,(function(s,h){if(l||(l=new r.A),(0,m.A)(s))k(e,i,h,n,t,o,l);else{var c=o?o(_(e,h),s,h+"",e,i,l):void 0;void 0===c&&(c=s),a(e,h,c)}}),v.A)};var A=i(4326),w=i(6832);const S=(B=function(t,e,i){T(t,e,i)},(0,A.A)((function(t,e){var i=-1,r=e.length,n=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(n=B.length>3&&"function"==typeof n?(r--,n):void 0,o&&(0,w.A)(e[0],e[1],o)&&(n=r<3?void 0:n,r=1),t=Object(t);++i{i.d(e,{A:()=>Pi,B:()=>zt,C:()=>xe,D:()=>Ce,E:()=>Mt,F:()=>Me,G:()=>bt,H:()=>vt,I:()=>le,J:()=>st,K:()=>Oi,L:()=>Bi,M:()=>be,N:()=>io,Z:()=>Qt,a:()=>Ai,b:()=>Ti,c:()=>Mi,d:()=>ut,e:()=>Tt,f:()=>Jt,g:()=>ki,h:()=>pe,i:()=>pi,j:()=>fe,k:()=>ae,l:()=>nt,m:()=>pt,n:()=>ie,o:()=>gi,p:()=>Ei,q:()=>wi,r:()=>kt,s:()=>vi,t:()=>Si,u:()=>_e,v:()=>bi,w:()=>ue,x:()=>gt,y:()=>he,z:()=>Di});var r=i(513),n=i(4353),o=i(6750),a=i(1062),s=i(2838),l=i(1931),h=i(8232);const c=(t,e)=>{const i=l.A.parse(t),r={};for(const t in e)e[t]&&(r[t]=i[t]+e[t]);return(0,h.A)(t,r)};var u=i(5582);const d=(t,e=100)=>{const i=l.A.parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,((t,e,i=50)=>{const{r,g:n,b:o,a}=l.A.parse(t),{r:s,g:h,b:c,a:d}=l.A.parse(e),f=i/100,p=2*f-1,g=a-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y,C=r*y+s*m,x=n*y+h*m,_=o*y+c*m,b=a*f+d*(1-f);return(0,u.A)(C,x,_,b)})(i,t,e)};var f=i(5263),p=i(8041),g=i(5097),y=i(6632),m=i(9115),C="comm",x="rule",_="decl",b=Math.abs,v=String.fromCharCode;function k(t){return t.trim()}function T(t,e,i){return t.replace(e,i)}function A(t,e,i){return t.indexOf(e,i)}function w(t,e){return 0|t.charCodeAt(e)}function S(t,e,i){return t.slice(e,i)}function B(t){return t.length}function F(t,e){return e.push(t),t}function L(t,e){for(var i="",r=0;r0?w(q,--D):0,O--,10===N&&(O=1,E--),N}function P(){return N=D2||U(N)>3?"":" "}function V(t,e){for(;--e&&P()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return W(t,R()+(e<6&&32==j()&&32==P()))}function G(t){for(;P();)switch(N){case t:return D;case 34:case 39:34!==t&&39!==t&&G(N);break;case 40:41===t&&G(t);break;case 92:P()}return D}function X(t,e){for(;P()&&t+N!==57&&(t+N!==84||47!==j()););return"/*"+W(e,D-1)+"*"+v(47===t?t:P())}function Z(t){for(;!U(j());)P();return W(t,D)}function J(t){return function(t){return q="",t}(Q("",null,null,null,[""],t=function(t){return E=O=1,I=B(q=t),D=0,[]}(t),0,[0],t))}function Q(t,e,i,r,n,o,a,s,l){for(var h=0,c=0,u=a,d=0,f=0,p=0,g=1,y=1,m=1,C=0,x="",_=n,k=o,S=r,L=x;y;)switch(p=C,C=P()){case 40:if(108!=p&&58==w(L,u-1)){-1!=A(L+=T(H(C),"&","&\f"),"&\f",b(h?s[h-1]:0))&&(m=-1);break}case 34:case 39:case 91:L+=H(C);break;case 9:case 10:case 13:case 32:L+=Y(p);break;case 92:L+=V(R()-1,7);continue;case 47:switch(j()){case 42:case 47:F(tt(X(P(),R()),e,i,l),l);break;default:L+="/"}break;case 123*g:s[h++]=B(L)*m;case 125*g:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+c:-1==m&&(L=T(L,/\f/g,"")),f>0&&B(L)-u&&F(f>32?et(L+";",r,i,u-1,l):et(T(L," ","")+";",r,i,u-2,l),l);break;case 59:L+=";";default:if(F(S=K(L,e,i,h,c,n,s,x,_=[],k=[],u,o),o),123===C)if(0===c)Q(L,e,S,S,_,o,u,s,k);else switch(99===d&&110===w(L,3)?100:d){case 100:case 108:case 109:case 115:Q(t,S,S,r&&F(K(t,S,S,0,0,n,s,x,n,_=[],u,k),k),n,k,u,s,r?_:k);break;default:Q(L,S,S,S,[""],k,0,s,k)}}h=c=f=0,g=m=1,x=L="",u=a;break;case 58:u=1+B(L),f=p;default:if(g<1)if(123==C)--g;else if(125==C&&0==g++&&125==z())continue;switch(L+=v(C),C*g){case 38:m=c>0?1:(L+="\f",-1);break;case 44:s[h++]=(B(L)-1)*m,m=1;break;case 64:45===j()&&(L+=H(P())),d=j(),c=u=B(x=L+=Z(R())),C++;break;case 45:45===p&&2==B(L)&&(g=0)}}return o}function K(t,e,i,r,n,o,a,s,l,h,c,u){for(var d=n-1,f=0===n?o:[""],p=function(t){return t.length}(f),g=0,y=0,m=0;g0?f[C]+" "+_:T(_,/&\f/g,f[C])))&&(l[m++]=v);return $(t,e,i,0===n?x:s,l,h,c,u)}function tt(t,e,i,r){return $(t,e,i,C,v(N),S(t,2,-2),0,r)}function et(t,e,i,r,n){return $(t,e,i,_,S(t,0,r),S(t,r+1,-1),r,n)}var it=i(6401);const rt={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},nt={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},ot=function(t="fatal"){let e=rt.fatal;"string"==typeof t?(t=t.toLowerCase())in rt&&(e=rt[t]):"number"==typeof t&&(e=t),nt.trace=()=>{},nt.debug=()=>{},nt.info=()=>{},nt.warn=()=>{},nt.error=()=>{},nt.fatal=()=>{},e<=rt.fatal&&(nt.fatal=console.error?console.error.bind(console,at("FATAL"),"color: orange"):console.log.bind(console,"",at("FATAL"))),e<=rt.error&&(nt.error=console.error?console.error.bind(console,at("ERROR"),"color: orange"):console.log.bind(console,"",at("ERROR"))),e<=rt.warn&&(nt.warn=console.warn?console.warn.bind(console,at("WARN"),"color: orange"):console.log.bind(console,"",at("WARN"))),e<=rt.info&&(nt.info=console.info?console.info.bind(console,at("INFO"),"color: lightblue"):console.log.bind(console,"",at("INFO"))),e<=rt.debug&&(nt.debug=console.debug?console.debug.bind(console,at("DEBUG"),"color: lightgreen"):console.log.bind(console,"",at("DEBUG"))),e<=rt.trace&&(nt.trace=console.debug?console.debug.bind(console,at("TRACE"),"color: lightgreen"):console.log.bind(console,"",at("TRACE")))},at=t=>`%c${n().format("ss.SSS")} : ${t} : `,st=//gi,lt=(()=>{let t=!1;return()=>{t||(function(){const t="data-temp-href-target";s.addHook("beforeSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")||"")})),s.addHook("afterSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)||""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))}))}(),t=!0)}})(),ht=t=>(lt(),s.sanitize(t)),ct=(t,e)=>{var i;if(!1!==(null==(i=e.flowchart)?void 0:i.htmlLabels)){const i=e.securityLevel;"antiscript"===i||"strict"===i?t=ht(t):"loose"!==i&&(t=(t=(t=ft(t)).replace(//g,">")).replace(/=/g,"="),t=dt(t))}return t},ut=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(ct(t,e),e.dompurifyConfig).toString():s.sanitize(ct(t,e),{FORBID_TAGS:["style"]}).toString():t,dt=t=>t.replace(/#br#/g,"
"),ft=t=>t.replace(st,"#br#"),pt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),gt=function(t){const e=t.split(/(,)/),i=[];for(let t=0;t0&&t+1Math.max(0,t.split(e).length-1),mt=(t,e)=>{const i=yt(t,"~"),r=yt(e,"~");return 1===i&&1===r},Ct=t=>{const e=yt(t,"~");let i=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),i=!0);const r=[...t];let n=r.indexOf("~"),o=r.lastIndexOf("~");for(;-1!==n&&-1!==o&&n!==o;)r[n]="<",r[o]=">",n=r.indexOf("~"),o=r.lastIndexOf("~");return i&&r.unshift("~"),r.join("")},xt=()=>void 0!==window.MathMLElement,_t=/\$\$(.*)\$\$/g,bt=t=>{var e;return((null==(e=t.match(_t))?void 0:e.length)??0)>0},vt=async(t,e)=>{t=await kt(t,e);const i=document.createElement("div");i.innerHTML=t,i.id="katex-temp",i.style.visibility="hidden",i.style.position="absolute",i.style.top="0";const r=document.querySelector("body");null==r||r.insertAdjacentElement("beforeend",i);const n={width:i.clientWidth,height:i.clientHeight};return i.remove(),n},kt=async(t,e)=>{if(!bt(t))return t;if(!xt()&&!e.legacyMathML)return t.replace(_t,"MathML is unsupported in this environment.");const{default:r}=await i.e(366).then(i.bind(i,2130));return t.split(st).map((t=>bt(t)?`\n
\n ${t}\n
\n `:`
${t}
`)).join("").replace(_t,((t,e)=>r.renderToString(e,{throwOnError:!0,displayMode:!0,output:xt()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,"")))},Tt={getRows:t=>t?ft(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:ut,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ut(t,e):t.flat().map((t=>ut(t,e))),hasBreaks:t=>st.test(t),splitBreaks:t=>t.split(st),lineBreakRegex:st,removeScript:ht,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:pt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},At=(t,e)=>c(t,e?{s:-40,l:10}:{s:-40,l:-10}),wt="#ffffff",St="#f2f2f2";let Bt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||c(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||c(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||At(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||At(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||At(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||d(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||d(this.tertiaryColor),this.lineColor=this.lineColor||d(this.background),this.arrowheadColor=this.arrowheadColor||d(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,f.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||d(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,p.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}},Ft=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,p.A)(this.primaryColor,16),this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=d(this.background),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,p.A)(d("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,u.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,f.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,f.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,u.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,u.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.secondBkg=(0,p.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,p.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,p.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=c(this.primaryColor,{h:64}),this.fillType3=c(this.secondaryColor,{h:64}),this.fillType4=c(this.primaryColor,{h:-64}),this.fillType5=c(this.secondaryColor,{h:-64}),this.fillType6=c(this.primaryColor,{h:128}),this.fillType7=c(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}},Lt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=c(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=At(this.primaryColor,this.darkMode),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,u.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Mt=t=>{const e=new Lt;return e.calculate(t),e};let Et=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,p.A)("#cde498",10),this.primaryBorderColor=At(this.primaryColor,this.darkMode),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.primaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.actorBorder=(0,f.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};class Ot{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,p.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=At(this.primaryColor,this.darkMode),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.secondBkg=(0,p.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,p.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const It={base:{getThemeVariables:t=>{const e=new Bt;return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new Ft;return e.calculate(t),e}},default:{getThemeVariables:Mt},forest:{getThemeVariables:t=>{const e=new Et;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new Ot;return e.calculate(t),e}}},Dt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},Nt={...Dt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:It.default.getThemeVariables(),sequence:{...Dt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Dt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Dt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Dt.pie,useWidth:984},xyChart:{...Dt.xyChart,useWidth:void 0},requirement:{...Dt.requirement,useWidth:void 0},gitGraph:{...Dt.gitGraph,useMaxWidth:!1},sankey:{...Dt.sankey,useMaxWidth:!1}},qt=(t,e="")=>Object.keys(t).reduce(((i,r)=>Array.isArray(t[r])?i:"object"==typeof t[r]&&null!==t[r]?[...i,e+r,...qt(t[r],"")]:[...i,e+r]),[]),$t=new Set(qt(Nt,"")),zt=Nt,Pt=t=>{if(nt.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>Pt(t)));else{for(const e of Object.keys(t)){if(nt.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!$t.has(e)||null==t[e]){nt.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){nt.debug("sanitizing object",e),Pt(t[e]);continue}const i=["themeCSS","fontFamily","altFontFamily"];for(const r of i)e.includes(r)&&(nt.debug("sanitizing css option",e),t[e]=jt(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const i=t.themeVariables[e];(null==i?void 0:i.match)&&!i.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}nt.debug("After sanitization",t)}},jt=t=>{let e=0,i=0;for(const r of t){if(e{for(const{id:e,detector:i,loader:r}of t)Xt(e,i,r)},Xt=(t,e,i)=>{Yt[t]?nt.error(`Detector with key ${t} already exists`):Yt[t]={detector:e,loader:i},nt.debug(`Detector with key ${t} added${i?" with loader":""}`)},Zt=(t,e,{depth:i=2,clobber:r=!1}={})=>{const n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Zt(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||i<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=Zt(t[n],e[n],{depth:i-1,clobber:r}))})),t)},Jt=Zt,Qt="​",Kt={curveBasis:a.qrM,curveBasisClosed:a.Yu4,curveBasisOpen:a.IA3,curveBumpX:a.Wi0,curveBumpY:a.PGM,curveBundle:a.OEq,curveCardinalClosed:a.olC,curveCardinalOpen:a.IrU,curveCardinal:a.y8u,curveCatmullRomClosed:a.Q7f,curveCatmullRomOpen:a.cVp,curveCatmullRom:a.oDi,curveLinear:a.lUB,curveLinearClosed:a.Lx9,curveMonotoneX:a.nVG,curveMonotoneY:a.uxU,curveNatural:a.Xf2,curveStep:a.GZz,curveStepAfter:a.UPb,curveStepBefore:a.dyv},te=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ee=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${te.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(i,"").replace(/'/gm,'"'),nt.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const n=[];for(;null!==(r=Wt.exec(t));)if(r.index===Wt.lastIndex&&Wt.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:t,args:e})}return 0===n.length?{type:t,args:null}:1===n.length?n[0]:n}catch(i){return nt.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}};function ie(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Kt[i]??e}function re(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}const ne=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},oe=(t,e)=>{let i,r=e;for(const e of t){if(i){const t=re(e,i);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:ne((1-n)*i.x+n*e.x,5),y:ne((1-n)*i.y+n*e.y,5)}}}i=e}throw new Error("Could not find a suitable point for the given distance")};function ae(t){let e="",i="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let se=0;const le=()=>(se++,"id-"+Math.random().toString(36).substr(2,12)+"-"+se),he=t=>function(t){let e="";for(let i=0;i{if(!t)return t;if(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),Tt.lineBreakRegex.test(t))return t;const r=t.split(" "),n=[];let o="";return r.forEach(((t,a)=>{const s=pe(`${t} `,i),l=pe(o,i);if(s>e){const{hyphenatedStrings:r,remainingWord:a}=de(t,e,"-",i);n.push(o,...r),o=a}else l+s>=e?(n.push(o),o=t):o=[o,t].filter(Boolean).join(" ");a+1===r.length&&n.push(o)})),n.filter((t=>""!==t)).join(i.joinWith)}),((t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`)),de=(0,y.A)(((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let a="";return n.forEach(((t,s)=>{const l=`${a}${t}`;if(pe(l,r)>=e){const t=s+1,e=n.length===t,r=`${l}${i}`;o.push(e?l:r),a=""}else a=l})),{hyphenatedStrings:o,remainingWord:a}}),((t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function fe(t,e){return ge(t,e).height}function pe(t,e){return ge(t,e).width}const ge=(0,y.A)(((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=Ce(i),s=["sans-serif",r],l=t.split(Tt.lineBreakRegex),h=[],c=(0,a.Ltv)("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const t of s){let e=0;const i={width:0,height:0,lineHeight:0};for(const r of l){const a={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};a.text=r||Qt;const s=ce(u,a).style("font-size",o).style("font-weight",n).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw new Error("svg element not in render tree");i.width=Math.round(Math.max(i.width,l.width)),e=Math.round(l.height),i.height+=e,i.lineHeight=Math.round(Math.max(i.lineHeight,e))}h.push(i)}return u.remove(),h[isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let ye;function me(t){return"str"in t}const Ce=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function xe(t,e){return(0,m.A)({},t,e)}const _e={assignWithDepth:Jt,wrapLabel:ue,calculateTextHeight:fe,calculateTextWidth:pe,calculateTextDimensions:ge,cleanAndMerge:xe,detectInit:function(t,e){const i=ee(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const t=i.map((t=>t.args));Pt(t),r=Jt(r,[...t])}else r=i.args;if(!r)return;let n=Vt(t,e);const o="config";return void 0!==r[o]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[o],delete r[o]),r},detectDirective:ee,isSubstringInArray:function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1},interpolateToCurve:ie,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,i=0;return t.forEach((t=>{i+=re(t,e),e=t})),oe(t,i/2)}(t)},calcCardinalityPosition:(t,e,i)=>{nt.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const r=oe(e,25),n=t?10:5,o=Math.atan2(e[0].y-r.y,e[0].x-r.x),a={x:0,y:0};return a.x=Math.sin(o)*n+(e[0].x+r.x)/2,a.y=-Math.cos(o)*n+(e[0].y+r.y)/2,a},calcTerminalLabelPosition:function(t,e,i){const r=structuredClone(i);nt.info("our points",r),"start_left"!==e&&"start_right"!==e&&r.reverse();const n=oe(r,25+t),o=10+.5*t,a=Math.atan2(r[0].y-n.y,r[0].x-n.x),s={x:0,y:0};return"start_left"===e?(s.x=Math.sin(a+Math.PI)*o+(r[0].x+n.x)/2,s.y=-Math.cos(a+Math.PI)*o+(r[0].y+n.y)/2):"end_right"===e?(s.x=Math.sin(a-Math.PI)*o+(r[0].x+n.x)/2-5,s.y=-Math.cos(a-Math.PI)*o+(r[0].y+n.y)/2-5):"end_left"===e?(s.x=Math.sin(a)*o+(r[0].x+n.x)/2-5,s.y=-Math.cos(a)*o+(r[0].y+n.y)/2-5):(s.x=Math.sin(a)*o+(r[0].x+n.x)/2,s.y=-Math.cos(a)*o+(r[0].y+n.y)/2),s},formatUrl:function(t,e){const i=t.trim();if(i)return"loose"!==e.securityLevel?(0,o.Jf)(i):i},getStylesFromArray:ae,generateId:le,random:he,runFunc:(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let e=0;e{var n;if(!r)return;const o=null==(n=t.node())?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},parseFontSize:Ce,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},be=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},ve="10.9.1",ke=Object.freeze(zt);let Te,Ae=Jt({},ke),we=[],Se=Jt({},ke);const Be=(t,e)=>{let i=Jt({},t),r={};for(const t of e)Ee(t),r=Jt(r,t);if(i=Jt(i,r),r.theme&&r.theme in It){const t=Jt({},Te),e=Jt(t.themeVariables||{},r.themeVariables);i.theme&&i.theme in It&&(i.themeVariables=It[i.theme].getThemeVariables(e))}return Se=i,Ne(Se),Se},Fe=()=>Jt({},Ae),Le=t=>(Ne(t),Jt(Se,t),Me()),Me=()=>Jt({},Se),Ee=t=>{t&&(["secure",...Ae.secure??[]].forEach((e=>{Object.hasOwn(t,e)&&(nt.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{e.startsWith("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&Ee(t[e])})))},Oe=(t=Ae)=>{we=[],Be(t,we)},Ie={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},De={},Ne=t=>{var e;t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(De[e="LAZY_LOAD_DEPRECATED"]||(nt.warn(Ie[e]),De[e]=!0))},qe={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await i.e(946).then(i.bind(i,1946));return{id:"c4",diagram:t}}},$e="flowchart",ze={id:$e,detector:(t,e)=>{var i,r;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&/^\s*graph/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(274),i.e(944),i.e(55),i.e(983),i.e(548),i.e(469)]).then(i.bind(i,7469));return{id:$e,diagram:t}}},Pe="flowchart-v2",je={id:Pe,detector:(t,e)=>{var i,r,n;return"dagre-d3"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&(!(!/^\s*graph/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))||/^\s*flowchart/.test(t))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(274),i.e(944),i.e(55),i.e(983),i.e(548),i.e(453)]).then(i.bind(i,2453));return{id:Pe,diagram:t}}},Re={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(944),i.e(207)]).then(i.bind(i,9207));return{id:"er",diagram:t}}},We="gitGraph",Ue={id:We,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await i.e(943).then(i.bind(i,4943));return{id:We,diagram:t}}},He="gantt",Ye={id:He,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await i.e(869).then(i.bind(i,8869));return{id:He,diagram:t}}},Ve="info",Ge={id:Ve,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await i.e(843).then(i.bind(i,2843));return{id:Ve,diagram:t}}},Xe={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await i.e(803).then(i.bind(i,6803));return{id:"pie",diagram:t}}},Ze="quadrantChart",Je={id:Ze,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await i.e(478).then(i.bind(i,8478));return{id:Ze,diagram:t}}},Qe="xychart",Ke={id:Qe,detector:t=>/^\s*xychart-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(274),i.e(925)]).then(i.bind(i,2925));return{id:Qe,diagram:t}}},ti="requirement",ei={id:ti,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(944),i.e(706)]).then(i.bind(i,3706));return{id:ti,diagram:t}}},ii="sequence",ri={id:ii,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await i.e(689).then(i.bind(i,9689));return{id:ii,diagram:t}}},ni="class",oi={id:ni,detector:(t,e)=>{var i;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer)&&/^\s*classDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(944),i.e(626),i.e(426)]).then(i.bind(i,7426));return{id:ni,diagram:t}}},ai="classDiagram",si={id:ai,detector:(t,e)=>{var i;return!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer))||/^\s*classDiagram-v2/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(274),i.e(944),i.e(55),i.e(983),i.e(626),i.e(635)]).then(i.bind(i,8635));return{id:ai,diagram:t}}},li="state",hi={id:li,detector:(t,e)=>{var i;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)&&/^\s*stateDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(944),i.e(245),i.e(331)]).then(i.bind(i,1331));return{id:li,diagram:t}}},ci="stateDiagram",ui={id:ci,detector:(t,e)=>{var i;return!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(274),i.e(944),i.e(55),i.e(983),i.e(245),i.e(68)]).then(i.bind(i,687));return{id:ci,diagram:t}}},di="journey",fi={id:di,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await i.e(420).then(i.bind(i,6420));return{id:di,diagram:t}}},pi=function(t,e,i,r){const n=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r}(e,i,r);!function(t,e){for(let i of e)t.attr(i[0],i[1])}(t,n)},gi=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,a=n.height;nt.info(`SVG bounds: ${o}x${a}`,n);let s=0,l=0;nt.info(`Graph bounds: ${s}x${l}`,t),s=o+2*i,l=a+2*i,nt.info(`Calculated bounds: ${s}x${l}`),pi(e,l,s,r);const h=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",h)},yi={};let mi="",Ci="",xi="";const _i=t=>ut(t,Me()),bi=()=>{mi="",xi="",Ci=""},vi=t=>{mi=_i(t).replace(/^\s+/g,"")},ki=()=>mi,Ti=t=>{xi=_i(t).replace(/\n\s+/g,"\n")},Ai=()=>xi,wi=t=>{Ci=_i(t)},Si=()=>Ci,Bi=Object.freeze(Object.defineProperty({__proto__:null,clear:bi,getAccDescription:Ai,getAccTitle:ki,getDiagramTitle:Si,setAccDescription:Ti,setAccTitle:vi,setDiagramTitle:wi},Symbol.toStringTag,{value:"Module"})),Fi=nt,Li=ot,Mi=Me,Ei=Le,Oi=ke,Ii=t=>ut(t,Mi()),Di=gi,Ni={},qi=(t,e,i)=>{var r,n,o;if(Ni[t])throw new Error(`Diagram ${t} already registered.`);Ni[t]=e,i&&Xt(t,i),n=t,void 0!==(o=e.styles)&&(yi[n]=o),null==(r=e.injectUtils)||r.call(e,Fi,Li,Mi,Ii,Di,Bi,(()=>{}))},$i=t=>{if(t in Ni)return Ni[t];throw new zi(t)};class zi extends Error{constructor(t){super(`Diagram ${t} not found.`)}}const Pi=t=>{var e;const{securityLevel:i}=Mi();let r=(0,a.Ltv)("body");if("sandbox"===i){const i=(null==(e=(0,a.Ltv)(`#i${t}`).node())?void 0:e.contentDocument)??document;r=(0,a.Ltv)(i.body)}return r.select(`#${t}`)},ji={draw:(t,e,i)=>{nt.debug("rendering svg for syntax error\n");const r=Pi(e),n=r.append("g");r.attr("viewBox","0 0 2412 512"),pi(r,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${i}`)}},Ri=ji,Wi={db:{},renderer:ji,parser:{parser:{yy:{}},parse:()=>{}}},Ui="flowchart-elk",Hi={id:Ui,detector:(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(274),i.e(55),i.e(548),i.e(741)]).then(i.bind(i,4741));return{id:Ui,diagram:t}}},Yi="timeline",Vi={id:Yi,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await i.e(376).then(i.bind(i,2376));return{id:Yi,diagram:t}}},Gi="mindmap",Xi={id:Gi,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(274),i.e(229)]).then(i.bind(i,1229));return{id:Gi,diagram:t}}},Zi="sankey",Ji={id:Zi,detector:t=>/^\s*sankey-beta/.test(t),loader:async()=>{const{diagram:t}=await i.e(793).then(i.bind(i,6793));return{id:Zi,diagram:t}}},Qi="block",Ki={id:Qi,detector:t=>/^\s*block-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(194),i.e(274),i.e(55),i.e(162)]).then(i.bind(i,4162));return{id:Qi,diagram:t}}};let tr=!1;const er=()=>{tr||(tr=!0,qi("error",Wi,(t=>"error"===t.toLowerCase().trim())),qi("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),Gt(qe,si,oi,Re,Ye,Ge,Xe,ei,ri,Hi,je,ze,Xi,Vi,Ue,ui,hi,fi,Je,Ji,Ke,Ki))};class ir{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e}(t),this.text+="\n";const i=Me();try{this.type=Vt(t,i)}catch(t){this.type="error",this.detectError=t}const r=$i(this.type);nt.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,e,i,r,n;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t);const o=Me();null==(i=this.init)||i.call(this,o),this.metadata.title&&(null==(n=(r=this.db).setDiagramTitle)||n.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}let rr=[];const nr=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function or(t){return null==t}var ar={isNothing:or,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:or(t)?[]:[t]},repeat:function(t,e){var i,r="";for(i=0;is&&(e=r-s+(o=" ... ").length),i-r>s&&(i=r+s-(a=" ...").length),{str:o+t.slice(e,i).replace(/\t/g,"→")+a,pos:r-e+o.length}}function ur(t,e){return ar.repeat(" ",e-t.length)+t}var dr=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var i,r=/\r?\n|\r|\0/g,n=[0],o=[],a=-1;i=r.exec(t.buffer);)o.push(i.index),n.push(i.index+i[0].length),t.position<=i.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var s,l,h="",c=Math.min(t.line+e.linesAfter,o.length).toString().length,u=e.maxLength-(e.indent+c+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=cr(t.buffer,n[a-s],o[a-s],t.position-(n[a]-n[a-s]),u),h=ar.repeat(" ",e.indent)+ur((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=cr(t.buffer,n[a],o[a],t.position,u),h+=ar.repeat(" ",e.indent)+ur((t.line+1).toString(),c)+" | "+l.str+"\n",h+=ar.repeat("-",e.indent+c+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=cr(t.buffer,n[a+s],o[a+s],t.position-(n[a]-n[a+s]),u),h+=ar.repeat(" ",e.indent)+ur((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")},fr=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],pr=["scalar","sequence","mapping"],gr=function(t,e){var i,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===fr.indexOf(e))throw new hr('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(i=e.styleAliases||null,r={},null!==i&&Object.keys(i).forEach((function(t){i[t].forEach((function(e){r[String(e)]=t}))})),r),-1===pr.indexOf(this.kind))throw new hr('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function yr(t,e){var i=[];return t[e].forEach((function(t){var e=i.length;i.forEach((function(i,r){i.tag===t.tag&&i.kind===t.kind&&i.multi===t.multi&&(e=r)})),i[e]=t})),i}function mr(t){return this.extend(t)}mr.prototype.extend=function(t){var e=[],i=[];if(t instanceof gr)i.push(t);else if(Array.isArray(t))i=i.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new hr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(i=i.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof gr))throw new hr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new hr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new hr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),i.forEach((function(t){if(!(t instanceof gr))throw new hr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(mr.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=yr(r,"implicit"),r.compiledExplicit=yr(r,"explicit"),r.compiledTypeMap=function(){var t,e,i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(i.multi[t.kind].push(t),i.multi.fallback.push(t)):i[t.kind][t.tag]=i.fallback[t.tag]=t}for(t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Tr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Ar=/^[-+]?[0-9]+e/,wr=new gr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Tr.test(t)||"_"===t[t.length-1])},construct:function(t){var e,i;return i="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===i?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:i*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||ar.isNegativeZero(t))},represent:function(t,e){var i;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ar.isNegativeZero(t))return"-0.0";return i=t.toString(10),Ar.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),Sr=Cr.extend({implicit:[xr,_r,kr,wr]}),Br=Sr,Fr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Lr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),Mr=new gr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Fr.exec(t)||null!==Lr.exec(t))},construct:function(t){var e,i,r,n,o,a,s,l,h=0,c=null;if(null===(e=Fr.exec(t))&&(e=Lr.exec(t)),null===e)throw new Error("Date resolve error");if(i=+e[1],r=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(i,r,n));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h=+h}return e[9]&&(c=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(i,r,n,o,a,s,h)),c&&l.setTime(l.getTime()-c),l},instanceOf:Date,represent:function(t){return t.toISOString()}}),Er=new gr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",Ir=new gr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,i,r=0,n=t.length,o=Or;for(i=0;i64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,i,r=t.replace(/[\r\n=]/g,""),n=r.length,o=Or,a=0,s=[];for(e=0;e>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(e));return 0==(i=n%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===i?(s.push(a>>10&255),s.push(a>>2&255)):12===i&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,i,r="",n=0,o=t.length,a=Or;for(e=0;e>18&63],r+=a[n>>12&63],r+=a[n>>6&63],r+=a[63&n]),n=(n<<8)+t[e];return 0==(i=o%3)?(r+=a[n>>18&63],r+=a[n>>12&63],r+=a[n>>6&63],r+=a[63&n]):2===i?(r+=a[n>>10&63],r+=a[n>>4&63],r+=a[n<<2&63],r+=a[64]):1===i&&(r+=a[n>>2&63],r+=a[n<<4&63],r+=a[64],r+=a[64]),r}}),Dr=Object.prototype.hasOwnProperty,Nr=Object.prototype.toString,qr=new gr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,i,r,n,o,a=[],s=t;for(e=0,i=s.length;e>10),56320+(t-65536&1023))}for(var un=new Array(256),dn=new Array(256),fn=0;fn<256;fn++)un[fn]=hn(fn)?1:0,dn[fn]=hn(fn);function pn(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Rr,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function gn(t,e){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=dr(i),new hr(e,i)}function yn(t,e){throw gn(t,e)}function mn(t,e){t.onWarning&&t.onWarning.call(null,gn(t,e))}var Cn={YAML:function(t,e,i){var r,n,o;null!==t.version&&yn(t,"duplication of %YAML directive"),1!==i.length&&yn(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&yn(t,"ill-formed argument of the YAML directive"),n=parseInt(r[1],10),o=parseInt(r[2],10),1!==n&&yn(t,"unacceptable YAML version of the document"),t.version=i[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&mn(t,"unsupported YAML version of the document")},TAG:function(t,e,i){var r,n;2!==i.length&&yn(t,"TAG directive accepts exactly two arguments"),r=i[0],n=i[1],tn.test(r)||yn(t,"ill-formed tag handle (first argument) of the TAG directive"),Wr.call(t.tagMap,r)&&yn(t,'there is a previously declared suffix for "'+r+'" tag handle'),en.test(n)||yn(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){yn(t,"tag prefix is malformed: "+n)}t.tagMap[r]=n}};function xn(t,e,i,r){var n,o,a,s;if(e1&&(t.result+=ar.repeat("\n",e-1))}function wn(t,e){var i,r,n=t.tag,o=t.anchor,a=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,yn(t,"tab characters must not be used in indentation")),45===r)&&an(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,kn(t,!0,-1)&&t.lineIndent<=e)a.push(null),r=t.input.charCodeAt(t.position);else if(i=t.line,Fn(t,e,Yr,!1,!0),a.push(t.result),kn(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&0!==r)yn(t,"bad indentation of a sequence entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente)&&(m&&(a=t.line,s=t.lineStart,l=t.position),Fn(t,e,Vr,!0,n)&&(m?g=t.result:y=t.result),m||(bn(t,d,f,p,g,y,a,s,l),p=g=y=null),kn(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==h)yn(t,"bad indentation of a mapping entry");else if(t.lineIndent=0))break;0===n?yn(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?yn(t,"repeat of an indentation width identifier"):(c=e+n-1,h=!0)}if(on(o)){do{o=t.input.charCodeAt(++t.position)}while(on(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!nn(o)&&0!==o)}for(;0!==o;){for(vn(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!h||t.lineIndentc&&(c=t.lineIndent),nn(o))u++;else{if(t.lineIndent0){for(n=a,o=0;n>0;n--)(a=ln(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:yn(t,"expected hexadecimal character");t.result+=cn(o),t.position++}else yn(t,"unknown escape sequence");i=r=t.position}else nn(s)?(xn(t,i,r,!0),An(t,kn(t,!1,e)),i=r=t.position):t.position===t.lineStart&&Tn(t)?yn(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}yn(t,"unexpected end of the stream within a double quoted scalar")}(t,d)?y=!0:function(t){var e,i,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!an(r)&&!sn(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&yn(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),Wr.call(t.anchorMap,i)||yn(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],kn(t,!0,-1),!0}(t)?(y=!0,null===t.tag&&null===t.anchor||yn(t,"alias node should not have any properties")):function(t,e,i){var r,n,o,a,s,l,h,c,u=t.kind,d=t.result;if(an(c=t.input.charCodeAt(t.position))||sn(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c)return!1;if((63===c||45===c)&&(an(r=t.input.charCodeAt(t.position+1))||i&&sn(r)))return!1;for(t.kind="scalar",t.result="",n=o=t.position,a=!1;0!==c;){if(58===c){if(an(r=t.input.charCodeAt(t.position+1))||i&&sn(r))break}else if(35===c){if(an(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Tn(t)||i&&sn(c))break;if(nn(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,kn(t,!1,-1),t.lineIndent>=e){a=!0,c=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=h;break}}a&&(xn(t,n,o,!1),An(t,t.line-s),n=o=t.position,a=!1),on(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return xn(t,n,o,!1),!!t.result||(t.kind=u,t.result=d,!1)}(t,d,Ur===i)&&(y=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(y=s&&wn(t,f))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&yn(t,'unacceptable node kind for ! tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&yn(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):yn(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||y}function Ln(t){var e,i,r,n,o=t.position,a=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(n=t.input.charCodeAt(t.position))&&(kn(t,!0,-1),n=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==n));){for(a=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!an(n);)n=t.input.charCodeAt(++t.position);for(r=[],(i=t.input.slice(e,t.position)).length<1&&yn(t,"directive name must not be less than one character in length");0!==n;){for(;on(n);)n=t.input.charCodeAt(++t.position);if(35===n){do{n=t.input.charCodeAt(++t.position)}while(0!==n&&!nn(n));break}if(nn(n))break;for(e=t.position;0!==n&&!an(n);)n=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==n&&vn(t),Wr.call(Cn,i)?Cn[i](t,i,r):mn(t,'unknown document directive "'+i+'"')}kn(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,kn(t,!0,-1)):a&&yn(t,"directives end mark is expected"),Fn(t,t.lineIndent-1,Vr,!1,!0),kn(t,!0,-1),t.checkLineBreaks&&Qr.test(t.input.slice(o,t.position))&&mn(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Tn(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,kn(t,!0,-1)):t.positiont.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,i)=>"<"+e+i.replace(/="([^"]*)"/g,"='$1'")+">")),Dn=t=>{const{text:e,metadata:i}=function(t){const e=t.match(Rt);if(!e)return{text:t,metadata:{}};let i=On(e[1],{schema:En})??{};i="object"!=typeof i||Array.isArray(i)?{}:i;const r={};return i.displayMode&&(r.displayMode=i.displayMode.toString()),i.title&&(r.title=i.title.toString()),i.config&&(r.config=i.config),{text:t.slice(e[0].length),metadata:r}}(t),{displayMode:r,title:n,config:o={}}=i;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:n,config:o,text:e}},Nn=t=>{const e=_e.detectInit(t)??{},i=_e.detectDirective(t,"wrap");return Array.isArray(i)?e.wrap=i.some((({type:t})=>{})):"wrap"===(null==i?void 0:i.type)&&(e.wrap=!0),{text:(r=t,r.replace(Wt,"")),directive:e};var r};function qn(t){const e=In(t),i=Dn(e),r=Nn(i.text),n=xe(i.config,r.directive);return{code:t=nr(r.text),title:i.title,config:n}}const $n=["foreignobject"],zn=["dominant-baseline"];function Pn(t){const e=qn(t);return Oe(),i=e.config??{},Pt(i),!i.fontFamily||i.themeVariables&&i.themeVariables.fontFamily||(i.themeVariables={fontFamily:i.fontFamily}),we.push(i),Be(Ae,we),e;var i}const jn=(t,e,i=[])=>`\n.${t} ${e} { ${i.join(" !important; ")} !important; }`,Rn=(t,e,i,r)=>{const n=((t,e={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,it.A)(e)){const n=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in e){const i=e[t];(0,it.A)(i.styles)||n.forEach((t=>{r+=jn(i.id,t,i.styles)})),(0,it.A)(i.textStyles)||(r+=jn(i.id,"tspan",i.textStyles))}}return r})(t,i);return L(J(`${r}{${((t,e,i)=>{let r="";return t in yi&&yi[t]?r=yi[t](i):nt.warn(`No theme found for ${t}`),` & {\n font-family: ${i.fontFamily};\n font-size: ${i.fontSize};\n fill: ${i.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${i.errorBkgColor};\n }\n & .error-text {\n fill: ${i.errorTextColor};\n stroke: ${i.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${i.lineColor};\n stroke: ${i.lineColor};\n }\n & .marker.cross {\n stroke: ${i.lineColor};\n }\n\n & svg {\n font-family: ${i.fontFamily};\n font-size: ${i.fontSize};\n }\n\n ${r}\n\n ${e}\n`})(e,n,t.themeVariables)}}`),M)},Wn=(t,e,i,r,n)=>{const o=t.append("div");o.attr("id",i),r&&o.attr("style",r);const a=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&a.attr("xmlns:xlink",n),a.append("g"),t};function Un(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const Hn=(t,e={})=>{const{code:i}=qn(t);return(async(t,e={})=>{const i=Vt(t,Me());try{$i(i)}catch(t){const e=Yt[i].loader;if(!e)throw new Ht(`Diagram ${i} not found.`);const{id:r,diagram:n}=await e();qi(r,n)}return new ir(t,e)})(i,e)},Yn=Object.freeze({render:async function(t,e,i){var r,n,o,l,h,c;er();const u=Pn(e);e=u.code;const d=Me();nt.debug(d),e.length>((null==d?void 0:d.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const f="#"+t,p="i"+t,g="#"+p,y="d"+t,m="#"+y;let C=(0,a.Ltv)("body");const x="sandbox"===d.securityLevel,_="loose"===d.securityLevel,b=d.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),x){const t=Un((0,a.Ltv)(i),p);C=(0,a.Ltv)(t.nodes()[0].contentDocument.body),C.node().style.margin=0}else C=(0,a.Ltv)(i);Wn(C,t,y,`font-family: ${b}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,i,r)=>{var n,o,a;null==(n=t.getElementById(e))||n.remove(),null==(o=t.getElementById(i))||o.remove(),null==(a=t.getElementById(r))||a.remove()})(document,t,y,p),x){const t=Un((0,a.Ltv)("body"),p);C=(0,a.Ltv)(t.nodes()[0].contentDocument.body),C.node().style.margin=0}else C=(0,a.Ltv)("body");Wn(C,t,y)}let v,k;try{v=await Hn(e,{title:u.title})}catch(t){v=new ir("error"),k=t}const T=C.select(m).node(),A=v.type,w=T.firstChild,S=w.firstChild,B=null==(n=(r=v.renderer).getClasses)?void 0:n.call(r,e,v),F=Rn(d,A,B,f),L=document.createElement("style");L.innerHTML=F,w.insertBefore(L,S);try{await v.renderer.draw(e,t,ve,v)}catch(i){throw Ri.draw(e,t,ve),i}!function(t,e,i,r){(function(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)})(e,t),function(t,e,i,r){if(void 0!==t.insert){if(i){const e=`chart-desc-${r}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(i)}if(e){const i=`chart-title-${r}`;t.attr("aria-labelledby",i),t.insert("title",":first-child").attr("id",i).text(e)}}}(e,i,r,e.attr("id"))}(A,C.select(`${m} svg`),null==(l=(o=v.db).getAccTitle)?void 0:l.call(o),null==(c=(h=v.db).getAccDescription)?void 0:c.call(h)),C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let M=C.select(m).node().innerHTML;if(nt.debug("config.arrowMarkerAbsolute",d.arrowMarkerAbsolute),M=((t="",e,i)=>{let r=t;return i||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=be(r),r=r.replace(/
/g,"
"),r})(M,x,pt(d.arrowMarkerAbsolute)),x?M=((t="",e)=>{var i,r;return``})(M,C.select(m+" svg").node()):_||(M=s.sanitize(M,{ADD_TAGS:$n,ADD_ATTR:zn})),rr.forEach((t=>{t()})),rr=[],k)throw k;const E=x?g:m,O=(0,a.Ltv)(E).node();return O&&"remove"in O&&O.remove(),{svg:M,bindFunctions:v.db.bindFunctions}},parse:async function(t,e){er(),t=Pn(t).code;try{await Hn(t)}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},getDiagramFromText:Hn,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),Te=Jt({},t),(null==t?void 0:t.theme)&&t.theme in It?t.themeVariables=It[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=It.default.getThemeVariables(t.themeVariables));const i="object"==typeof t?(r=t,Ae=Jt({},ke),Ae=Jt(Ae,r),r.theme&&It[r.theme]&&(Ae.themeVariables=It[r.theme].getThemeVariables(r.themeVariables)),Be(Ae,we),Ae):Fe();var r;ot(i.logLevel),er()},getConfig:Me,setConfig:Le,getSiteConfig:Fe,updateSiteConfig:t=>(Ae=Jt(Ae,t),Be(Ae,we),Ae),reset:()=>{Oe()},globalReset:()=>{Oe(ke)},defaultConfig:ke});ot(Me().logLevel),Oe(Me());const Vn=(t,e,i)=>{nt.warn(t),me(t)?(i&&i(t.str,t.hash),e.push({...t,message:t.str,error:t})):(i&&i(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},Gn=async function(t={querySelector:".mermaid"}){try{await Xn(t)}catch(e){if(me(e)&&nt.error(e.str),io.parseError&&io.parseError(e),!t.suppressErrors)throw nt.error("Use the suppressErrors option to suppress these errors"),e}},Xn=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const n=Yn.getConfig();let o;if(nt.debug((t?"":"No ")+"Callback function found"),i)o=i;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}nt.debug(`Found ${o.length} diagrams`),void 0!==(null==n?void 0:n.startOnLoad)&&(nt.debug("Start On Load: "+(null==n?void 0:n.startOnLoad)),Yn.updateSiteConfig({startOnLoad:null==n?void 0:n.startOnLoad}));const a=new _e.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed);let s;const l=[];for(const e of Array.from(o)){if(nt.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const i=`mermaid-${a.next()}`;s=e.innerHTML,s=(0,r.T)(_e.entityDecode(s)).trim().replace(//gi,"
");const n=_e.detectInit(s);n&&nt.debug("Detected early reinit: ",n);try{const{svg:r,bindFunctions:n}=await eo(i,s,e);e.innerHTML=r,t&&await t(i),n&&n(e)}catch(t){Vn(t,l,io.parseError)}}if(l.length>0)throw l[0]},Zn=function(t){Yn.initialize(t)},Jn=function(){if(io.startOnLoad){const{startOnLoad:t}=Yn.getConfig();t&&io.run().catch((t=>nt.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",Jn,!1);const Qn=[];let Kn=!1;const to=async()=>{if(!Kn){for(Kn=!0;Qn.length>0;){const t=Qn.shift();if(t)try{await t()}catch(t){nt.error("Error executing queue",t)}}Kn=!1}},eo=(t,e,i)=>new Promise(((r,n)=>{Qn.push((()=>new Promise(((o,a)=>{Yn.render(t,e,i).then((t=>{o(t),r(t)}),(t=>{var e;nt.error("Error parsing",t),null==(e=io.parseError)||e.call(io,t),a(t),n(t)}))})))),to().catch(n)})),io={startOnLoad:!0,mermaidAPI:Yn,parse:async(t,e)=>new Promise(((i,r)=>{Qn.push((()=>new Promise(((n,o)=>{Yn.parse(t,e).then((t=>{n(t),i(t)}),(t=>{var e;nt.error("Error parsing",t),null==(e=io.parseError)||e.call(io,t),o(t),r(t)}))})))),to().catch(r)})),render:eo,init:async function(t,e,i){nt.warn("mermaid.init is deprecated. Please use run instead."),t&&Zn(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await Gn(r)},run:Gn,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Gt(...t),!1===e&&await(async()=>{nt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Yt).map((async([t,{detector:e,loader:i}])=>{if(i)try{$i(t)}catch(r){try{const{diagram:t,id:r}=await i();qi(r,t,e)}catch(e){throw nt.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Yt[t],e}}})))).filter((t=>"rejected"===t.status));if(t.length>0){nt.error(`Failed to load ${t.length} external diagrams`);for(const e of t)nt.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:Zn,parseError:void 0,contentLoaded:Jn,setParseErrorHandler:function(t){io.parseError=t},detectType:Vt}},9465:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r.N});var r=i(5950);i(4353),i(6750),i(1062),i(2838)}}; \ No newline at end of file diff --git a/resources/daux/themes/rsp/js/mermaid.mjs.LICENSE.txt b/resources/daux/themes/rsp/js/mermaid.mjs.LICENSE.txt new file mode 100644 index 0000000..110c6ef --- /dev/null +++ b/resources/daux/themes/rsp/js/mermaid.mjs.LICENSE.txt @@ -0,0 +1,9 @@ +/*! + * Wait for document loaded before starting the execution + */ + +/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */ + +/*! Check if previously processed */ + +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */