diff --git a/.gitignore b/.gitignore index dcda068a..45fc33b1 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,8 @@ bin/* .idea/* tests/miniodata + +# Docs +**/.hugo_build.lock +docs/resources +docs/public diff --git a/docker-bake.hcl b/docker-bake.hcl index db9fa1f5..e6741878 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -94,3 +94,20 @@ target "image-all" { "linux/s390x" ] } + +target "_common_docs" { + dockerfile = "./dockerfiles/docs.Dockerfile" +} + +target "docs-export" { + inherits = ["_common_docs"] + target = "out" + output = ["type=local,dest=build/docs"] +} + +target "docs-image" { + inherits = ["_common_docs"] + target = "server" + output = ["type=docker"] + tags = ["registry-docs:local"] +} diff --git a/dockerfiles/docs.Dockerfile b/dockerfiles/docs.Dockerfile new file mode 100644 index 00000000..8b31345b --- /dev/null +++ b/dockerfiles/docs.Dockerfile @@ -0,0 +1,28 @@ +# syntax=docker/dockerfile:1 + +ARG GO_VERSION=1.20.8 +ARG ALPINE_VERSION=3.18 + +FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base +RUN apk add --no-cache git + +FROM base AS hugo +ARG HUGO_VERSION=0.119.0 +RUN --mount=type=cache,target=/go/mod/pkg \ + go install github.com/gohugoio/hugo@v${HUGO_VERSION} + +FROM base AS build-base +COPY --from=hugo $GOPATH/bin/hugo /bin/hugo +WORKDIR /src + +FROM build-base AS build +RUN --mount=type=bind,rw,source=docs,target=. \ + hugo --gc --minify --destination /out + +FROM build-base AS server +COPY docs . +ENTRYPOINT [ "hugo", "server", "--bind", "0.0.0.0" ] +EXPOSE 1313 + +FROM scratch AS out +COPY --from=build /out / diff --git a/docs/index.md b/docs/content/_index.md similarity index 94% rename from docs/index.md rename to docs/content/_index.md index f7ebe9a0..1162f2d3 100644 --- a/docs/index.md +++ b/docs/content/_index.md @@ -59,5 +59,5 @@ Now stop your registry and remove all data ## Next -You should now read the [detailed introduction about the registry](introduction.md), -or jump directly to [deployment instructions](deploying.md). +You should now read the [detailed introduction about the registry](./about/_index.md), +or jump directly to [deployment instructions](./about/deploying.md). diff --git a/docs/introduction.md b/docs/content/about/_index.md similarity index 100% rename from docs/introduction.md rename to docs/content/about/_index.md diff --git a/docs/architecture.md b/docs/content/about/architecture.md similarity index 100% rename from docs/architecture.md rename to docs/content/about/architecture.md diff --git a/docs/compatibility.md b/docs/content/about/compatibility.md similarity index 100% rename from docs/compatibility.md rename to docs/content/about/compatibility.md diff --git a/docs/configuration.md b/docs/content/about/configuration.md similarity index 100% rename from docs/configuration.md rename to docs/content/about/configuration.md diff --git a/docs/deploying.md b/docs/content/about/deploying.md similarity index 100% rename from docs/deploying.md rename to docs/content/about/deploying.md diff --git a/docs/deprecated.md b/docs/content/about/deprecated.md similarity index 100% rename from docs/deprecated.md rename to docs/content/about/deprecated.md diff --git a/docs/garbage-collection.md b/docs/content/about/garbage-collection.md similarity index 100% rename from docs/garbage-collection.md rename to docs/content/about/garbage-collection.md diff --git a/docs/glossary.md b/docs/content/about/glossary.md similarity index 100% rename from docs/glossary.md rename to docs/content/about/glossary.md diff --git a/docs/help.md b/docs/content/about/help.md similarity index 100% rename from docs/help.md rename to docs/content/about/help.md diff --git a/docs/insecure.md b/docs/content/about/insecure.md similarity index 100% rename from docs/insecure.md rename to docs/content/about/insecure.md diff --git a/docs/notifications.md b/docs/content/about/notifications.md similarity index 100% rename from docs/notifications.md rename to docs/content/about/notifications.md diff --git a/docs/images/notifications.gliffy b/docs/content/images/notifications.gliffy similarity index 100% rename from docs/images/notifications.gliffy rename to docs/content/images/notifications.gliffy diff --git a/docs/images/notifications.png b/docs/content/images/notifications.png similarity index 100% rename from docs/images/notifications.png rename to docs/content/images/notifications.png diff --git a/docs/images/notifications.svg b/docs/content/images/notifications.svg similarity index 100% rename from docs/images/notifications.svg rename to docs/content/images/notifications.svg diff --git a/docs/images/v2-registry-auth.png b/docs/content/images/v2-registry-auth.png similarity index 100% rename from docs/images/v2-registry-auth.png rename to docs/content/images/v2-registry-auth.png diff --git a/docs/recipes/index.md b/docs/content/recipes/_index.md similarity index 100% rename from docs/recipes/index.md rename to docs/content/recipes/_index.md diff --git a/docs/recipes/apache.md b/docs/content/recipes/apache.md similarity index 100% rename from docs/recipes/apache.md rename to docs/content/recipes/apache.md diff --git a/docs/recipes/mirror.md b/docs/content/recipes/mirror.md similarity index 100% rename from docs/recipes/mirror.md rename to docs/content/recipes/mirror.md diff --git a/docs/recipes/nginx.md b/docs/content/recipes/nginx.md similarity index 100% rename from docs/recipes/nginx.md rename to docs/content/recipes/nginx.md diff --git a/docs/recipes/osx-setup-guide.md b/docs/content/recipes/osx-setup-guide.md similarity index 100% rename from docs/recipes/osx-setup-guide.md rename to docs/content/recipes/osx-setup-guide.md diff --git a/docs/recipes/osx/com.docker.registry.plist b/docs/content/recipes/osx/com.docker.registry.plist similarity index 100% rename from docs/recipes/osx/com.docker.registry.plist rename to docs/content/recipes/osx/com.docker.registry.plist diff --git a/docs/recipes/osx/config.yml b/docs/content/recipes/osx/config.yml similarity index 100% rename from docs/recipes/osx/config.yml rename to docs/content/recipes/osx/config.yml diff --git a/docs/recipes/systemd.md b/docs/content/recipes/systemd.md similarity index 100% rename from docs/recipes/systemd.md rename to docs/content/recipes/systemd.md diff --git a/docs/spec/index.md b/docs/content/spec/_index.md similarity index 100% rename from docs/spec/index.md rename to docs/content/spec/_index.md diff --git a/docs/spec/api.md b/docs/content/spec/api.md similarity index 100% rename from docs/spec/api.md rename to docs/content/spec/api.md diff --git a/docs/spec/api.md.tmpl b/docs/content/spec/api.md.tmpl similarity index 100% rename from docs/spec/api.md.tmpl rename to docs/content/spec/api.md.tmpl diff --git a/docs/spec/auth/index.md b/docs/content/spec/auth/_index.md similarity index 100% rename from docs/spec/auth/index.md rename to docs/content/spec/auth/_index.md diff --git a/docs/spec/auth/jwt.md b/docs/content/spec/auth/jwt.md similarity index 100% rename from docs/spec/auth/jwt.md rename to docs/content/spec/auth/jwt.md diff --git a/docs/spec/auth/oauth.md b/docs/content/spec/auth/oauth.md similarity index 100% rename from docs/spec/auth/oauth.md rename to docs/content/spec/auth/oauth.md diff --git a/docs/spec/auth/scope.md b/docs/content/spec/auth/scope.md similarity index 100% rename from docs/spec/auth/scope.md rename to docs/content/spec/auth/scope.md diff --git a/docs/spec/auth/token.md b/docs/content/spec/auth/token.md similarity index 100% rename from docs/spec/auth/token.md rename to docs/content/spec/auth/token.md diff --git a/docs/spec/deprecated-schema-v1.md b/docs/content/spec/deprecated-schema-v1.md similarity index 100% rename from docs/spec/deprecated-schema-v1.md rename to docs/content/spec/deprecated-schema-v1.md diff --git a/docs/spec/images/v2-registry-auth.png b/docs/content/spec/images/v2-registry-auth.png similarity index 100% rename from docs/spec/images/v2-registry-auth.png rename to docs/content/spec/images/v2-registry-auth.png diff --git a/docs/spec/implementations.md b/docs/content/spec/implementations.md similarity index 100% rename from docs/spec/implementations.md rename to docs/content/spec/implementations.md diff --git a/docs/spec/json.md b/docs/content/spec/json.md similarity index 100% rename from docs/spec/json.md rename to docs/content/spec/json.md diff --git a/docs/spec/manifest-v2-2.md b/docs/content/spec/manifest-v2-2.md similarity index 100% rename from docs/spec/manifest-v2-2.md rename to docs/content/spec/manifest-v2-2.md diff --git a/docs/spec/menu.md b/docs/content/spec/menu.md similarity index 100% rename from docs/spec/menu.md rename to docs/content/spec/menu.md diff --git a/docs/storage-drivers/index.md b/docs/content/storage-drivers/_index.md similarity index 100% rename from docs/storage-drivers/index.md rename to docs/content/storage-drivers/_index.md diff --git a/docs/storage-drivers/azure.md b/docs/content/storage-drivers/azure.md similarity index 100% rename from docs/storage-drivers/azure.md rename to docs/content/storage-drivers/azure.md diff --git a/docs/storage-drivers/filesystem.md b/docs/content/storage-drivers/filesystem.md similarity index 100% rename from docs/storage-drivers/filesystem.md rename to docs/content/storage-drivers/filesystem.md diff --git a/docs/storage-drivers/gcs.md b/docs/content/storage-drivers/gcs.md similarity index 100% rename from docs/storage-drivers/gcs.md rename to docs/content/storage-drivers/gcs.md diff --git a/docs/storage-drivers/inmemory.md b/docs/content/storage-drivers/inmemory.md similarity index 100% rename from docs/storage-drivers/inmemory.md rename to docs/content/storage-drivers/inmemory.md diff --git a/docs/storage-drivers/s3.md b/docs/content/storage-drivers/s3.md similarity index 100% rename from docs/storage-drivers/s3.md rename to docs/content/storage-drivers/s3.md diff --git a/docs/go.mod b/docs/go.mod new file mode 100644 index 00000000..397255cb --- /dev/null +++ b/docs/go.mod @@ -0,0 +1,9 @@ +module github.com/distribution/distribution/docs + +go 1.21.1 + +require ( + github.com/google/docsy v0.7.1 // indirect + github.com/imfing/hextra v0.5.0 // indirect + github.com/thegeeklab/hugo-geekdoc v0.41.2 // indirect +) diff --git a/docs/go.sum b/docs/go.sum new file mode 100644 index 00000000..5098b6e0 --- /dev/null +++ b/docs/go.sum @@ -0,0 +1,9 @@ +github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY= +github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc= +github.com/google/docsy/dependencies v0.7.1/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= +github.com/imfing/hextra v0.5.0 h1:uVUmtqx7UivuA6oCVSKkaM/YGcLuIA9P8j8mmCDg4hU= +github.com/imfing/hextra v0.5.0/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI= +github.com/thegeeklab/hugo-geekdoc v0.41.2 h1:U6TvFfO3TVoCvirpLFXMO/sE5qHavZ18N22tUtiTwBo= +github.com/thegeeklab/hugo-geekdoc v0.41.2/go.mod h1:XEAtAuJ3nRMshRupMW1xPZ7EVMleS87rmr+RklRamRY= +github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/docs/hugo.yaml b/docs/hugo.yaml new file mode 100644 index 00000000..02b64590 --- /dev/null +++ b/docs/hugo.yaml @@ -0,0 +1,19 @@ +baseURL: https://example.com/ +languageCode: en-us +title: CNCF Distribution +theme: hugo-geekdoc + +pluralizeListTitles: false +enableRobotsTXT: true +taxonomies: [tags] +minify: + disableHTML: true + +# Geekdoc required configuration +pygmentsUseClasses: true +pygmentsCodeFences: true +disablePathToLower: true + +params: + geekdocRepo: "https://github.com/distribution/distribution" + geekdocEditPath: edit/main/docs diff --git a/docs/static/brand.svg b/docs/static/brand.svg new file mode 100644 index 00000000..ae9c49d3 --- /dev/null +++ b/docs/static/brand.svg @@ -0,0 +1 @@ +Distribution logo \ No newline at end of file diff --git a/docs/static/custom.css b/docs/static/custom.css new file mode 100644 index 00000000..f62d3b05 --- /dev/null +++ b/docs/static/custom.css @@ -0,0 +1,50 @@ +/* Global customization */ + +:root { + --code-max-height: 60rem; +} + +/* Light mode theming */ +:root, +:root[color-theme="light"] { + --header-background: #203554; + --header-font-color: #ffffff; + + --footer-background: #203554; + --footer-font-color: #ffffff; + --footer-link-color: rgb(110, 168, 212); + --footer-link-color-visited: rgb(186, 142, 240); +} +@media (prefers-color-scheme: light) { + :root { + --header-background: #203554; + --header-font-color: #ffffff; + + --footer-background: #203554; + --footer-font-color: #ffffff; + --footer-link-color: rgb(110, 168, 212); + --footer-link-color-visited: rgb(186, 142, 240); + } +} + +/* Dark mode theming */ +:root[color-theme="dark"] { + --header-background: #203554; + --header-font-color: #ffffff; + + --footer-background: #203554; + --footer-font-color: #ffffff; + --footer-link-color: rgb(110, 168, 212); + --footer-link-color-visited: rgb(186, 142, 240); +} +@media (prefers-color-scheme: dark) { + :root { + --header-background: #203554; + --header-font-color: #ffffff; + + --footer-background: #203554; + --footer-font-color: #ffffff; + --footer-link-color: rgb(110, 168, 212); + --footer-link-color-visited: rgb(186, 142, 240); + } +} diff --git a/docs/static/favicon/favicon-16x16.png b/docs/static/favicon/favicon-16x16.png new file mode 100644 index 00000000..17ec15e4 Binary files /dev/null and b/docs/static/favicon/favicon-16x16.png differ diff --git a/docs/static/favicon/favicon-32x32.png b/docs/static/favicon/favicon-32x32.png new file mode 100644 index 00000000..898042cb Binary files /dev/null and b/docs/static/favicon/favicon-32x32.png differ diff --git a/docs/static/favicon/favicon.svg b/docs/static/favicon/favicon.svg new file mode 100644 index 00000000..82be7712 Binary files /dev/null and b/docs/static/favicon/favicon.svg differ diff --git a/docs/themes/hugo-geekdoc/.lycheeignore b/docs/themes/hugo-geekdoc/.lycheeignore new file mode 100644 index 00000000..bbe71df7 --- /dev/null +++ b/docs/themes/hugo-geekdoc/.lycheeignore @@ -0,0 +1,3 @@ +https://github.com/thegeeklab/.+/edit/main/.* +https://unsplash.com.* +https://www.color-hex.com.* diff --git a/docs/themes/hugo-geekdoc/LICENSE b/docs/themes/hugo-geekdoc/LICENSE new file mode 100644 index 00000000..3812eb46 --- /dev/null +++ b/docs/themes/hugo-geekdoc/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Robert Kaussow + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/docs/themes/hugo-geekdoc/README.md b/docs/themes/hugo-geekdoc/README.md new file mode 100644 index 00000000..99358d83 --- /dev/null +++ b/docs/themes/hugo-geekdoc/README.md @@ -0,0 +1,46 @@ +# Geekdoc + +[![Build Status](https://ci.thegeeklab.de/api/badges/thegeeklab/hugo-geekdoc/status.svg)](https://ci.thegeeklab.de/repos/thegeeklab/hugo-geekdoc) +[![Hugo Version](https://img.shields.io/badge/hugo-0.112-blue.svg)](https://gohugo.io) +[![GitHub release](https://img.shields.io/github/v/release/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/releases/latest) +[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors) +[![License: MIT](https://img.shields.io/github/license/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE) + +Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there. You can find a demo and the full documentation at [https://geekdocs.de](https://geekdocs.de). + +![Desktop and mobile preview](https://raw.githubusercontent.com/thegeeklab/hugo-geekdoc/main/images/readme.png) + +## Build and release process + +This theme is subject to a CI driven build and release process common for software development. During the release build, all necessary assets are automatically built by [webpack](https://webpack.js.org/) and bundled in a release tarball. You can download the latest release from the GitHub [release page](https://github.com/thegeeklab/hugo-geekdoc/releases). + +Due to the fact that `webpack` and `npm scripts` are used as pre-processors, the theme cannot be used from the main branch by default. If you want to use the theme from a cloned branch instead of a release tarball you'll need to install `webpack` locally and run the build script once to create all required assets. + +```shell +# install required packages from package.json +npm install + +# run the build script to build required assets +npm run build + +# build release tarball +npm run pack +``` + +See the [Getting Started Guide](https://geekdocs.de/usage/getting-started/) for details about the different setup options. + +## Contributors + +Special thanks to all [contributors](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/hugo-geekdoc/blob/main/CONTRIBUTING.md). + +Geekdoc is inspired and partially based on the [hugo-book](https://github.com/alex-shpak/hugo-book) theme, thanks [Alex Shpak](https://github.com/alex-shpak/) for your work. + +## License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE) file for details. + +The used SVG icons and generated icon fonts are licensed under the license of the respective icon pack: + +- Font Awesome: [CC BY 4.0 License](https://github.com/FortAwesome/Font-Awesome#license) +- IcoMoon Free Pack: [GPL/CC BY 4.0](https://icomoon.io/#icons-icomoon) +- Material Icons: [Apache License 2.0](https://github.com/google/material-design-icons/blob/main/LICENSE) diff --git a/docs/themes/hugo-geekdoc/VERSION b/docs/themes/hugo-geekdoc/VERSION new file mode 100644 index 00000000..1cec610e --- /dev/null +++ b/docs/themes/hugo-geekdoc/VERSION @@ -0,0 +1 @@ +v0.41.2 diff --git a/docs/themes/hugo-geekdoc/archetypes/docs.md b/docs/themes/hugo-geekdoc/archetypes/docs.md new file mode 100644 index 00000000..aa0d88f7 --- /dev/null +++ b/docs/themes/hugo-geekdoc/archetypes/docs.md @@ -0,0 +1,7 @@ +--- +title: "{{ .Name | humanize | title }}" +weight: 1 +# geekdocFlatSection: false +# geekdocToc: 6 +# geekdocHidden: false +--- diff --git a/docs/themes/hugo-geekdoc/archetypes/posts.md b/docs/themes/hugo-geekdoc/archetypes/posts.md new file mode 100644 index 00000000..fdccff8a --- /dev/null +++ b/docs/themes/hugo-geekdoc/archetypes/posts.md @@ -0,0 +1,4 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +--- diff --git a/docs/themes/hugo-geekdoc/assets/search/config.json b/docs/themes/hugo-geekdoc/assets/search/config.json new file mode 100644 index 00000000..1a5582a2 --- /dev/null +++ b/docs/themes/hugo-geekdoc/assets/search/config.json @@ -0,0 +1,8 @@ +{{- $searchDataFile := printf "search/%s.data.json" .Language.Lang -}} +{{- $searchData := resources.Get "search/data.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify -}} +{ + "dataFile": {{ $searchData.RelPermalink | jsonify }}, + "indexConfig": {{ .Site.Params.geekdocSearchConfig | jsonify }}, + "showParent": {{ if .Site.Params.geekdocSearchShowParent }}true{{ else }}false{{ end }}, + "showDescription": {{ if .Site.Params.geekdocSearchshowDescription }}true{{ else }}false{{ end }} +} diff --git a/docs/themes/hugo-geekdoc/assets/search/data.json b/docs/themes/hugo-geekdoc/assets/search/data.json new file mode 100644 index 00000000..f1c0e804 --- /dev/null +++ b/docs/themes/hugo-geekdoc/assets/search/data.json @@ -0,0 +1,13 @@ +[ + {{ range $index, $page := (where .Site.Pages "Params.geekdocProtected" "ne" true) }} + {{ if ne $index 0 }},{{ end }} + { + "id": {{ $index }}, + "href": "{{ $page.RelPermalink }}", + "title": {{ (partial "utils/title" $page) | jsonify }}, + "parent": {{ with $page.Parent }}{{ (partial "utils/title" .) | jsonify }}{{ else }}""{{ end }}, + "content": {{ $page.Plain | jsonify }}, + "description": {{ $page.Summary | plainify | jsonify }} + } + {{ end }} +] diff --git a/docs/themes/hugo-geekdoc/assets/sprites/geekdoc.svg b/docs/themes/hugo-geekdoc/assets/sprites/geekdoc.svg new file mode 100644 index 00000000..4f3cfd29 --- /dev/null +++ b/docs/themes/hugo-geekdoc/assets/sprites/geekdoc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/data/assets.json b/docs/themes/hugo-geekdoc/data/assets.json new file mode 100644 index 00000000..0e360ac9 --- /dev/null +++ b/docs/themes/hugo-geekdoc/data/assets.json @@ -0,0 +1,158 @@ +{ + "main.js": { + "src": "js/main-924a1933.bundle.min.js", + "integrity": "sha512-0QF6awwW0WbBo491yytmULiHrc9gx94bloJ9MSXIvdJh3YHWw7CWyeX2YXu0rzOQefJp4jW/I6ZjUDYpNVFhdA==" + }, + "colortheme.js": { + "src": "js/colortheme-d3e4d351.bundle.min.js", + "integrity": "sha512-HpQogL/VeKqG/v1qYOfJOgFUzBnQvW4yO4tAJO+54IiwbLbB9feROdeaYf7dpO6o5tSHsSZhaYLhtLMRlEgpJQ==" + }, + "mermaid.js": { + "src": "js/mermaid-19cc0b12.bundle.min.js", + "integrity": "sha512-EP8Ggw4/AoLCR9N2U4AOherShR6hKWYpKaC0Q/LwKR5wjH8x5Z0v0VL0S5x67X3AWUvR2aMO0IOc0Bo1xu4qmQ==" + }, + "katex.js": { + "src": "js/katex-373b7f53.bundle.min.js", + "integrity": "sha512-k7PGb4UsYurOXnDJtwuPOhS6OgcI7PVrCZZT3h79JVH8KEcNzzsmzoAWMOaTeIFP79JnpYtZhaBBwEMNk4MlFw==" + }, + "search.js": { + "src": "js/search-9719be99.bundle.min.js", + "integrity": "sha512-/7NZxFUEbalC/8RKDgfAsHFDI42/Ydp33uJmCLckZgnO+kuz9LrTfmPFfVJxPJ31StMxa3MTQ5Jq049CmNK4pw==" + }, + "js/637-687440a7.chunk.min.js": { + "src": "js/637-687440a7.chunk.min.js", + "integrity": "sha512-fWyOGUUaxBiYIZoJ2R1FPhLRt/cC9prL1bsVuETWBjT1QpS6ebmmzMaYnKBPOpw56VqdlErWJuWe2GGxYJq3gA==" + }, + "js/116-831698f6.chunk.min.js": { + "src": "js/116-831698f6.chunk.min.js", + "integrity": "sha512-ecC9DggU9rDmnERLt6l5lXnDir+fYAXDhA8r+o+LCML/C64QPvq3Uea+oNwN00hXbXa1f5c/tjICeJZyXu9Dqg==" + }, + "js/425-a8288851.chunk.min.js": { + "src": "js/425-a8288851.chunk.min.js", + "integrity": "sha512-JcFSthlEXIsUdEtbQlAQp71m1GMurzdmPZN+J2/PTyMGgv/QBN8OX8TZQVouAPMY3rMirjB9gxhyNyxCZ0/IUQ==" + }, + "js/869-1a62f06a.chunk.min.js": { + "src": "js/869-1a62f06a.chunk.min.js", + "integrity": "sha512-9GtubjugiKpB6oP+I13znOYnCGzMWkywSjO7PC/cTZ8BfK4amSwC6i+vCKVCnTrhpoUtFtzybF0d+dDsOqpO/g==" + }, + "js/626-ec18a767.chunk.min.js": { + "src": "js/626-ec18a767.chunk.min.js", + "integrity": "sha512-plFEM+MV7s8fGxmB4fXdkDYK2URbdL7D0r0eKSsdBW+Z3PvfQOaW7OuoA5oUpGBZyd2wN1zpxTwqHC3WPbluLA==" + }, + "js/305-02bced6e.chunk.min.js": { + "src": "js/305-02bced6e.chunk.min.js", + "integrity": "sha512-omqkH+cRXCbA6ax452pYFTBvqT895kBCycglJaYQxoB646IPcz2IHiIIWhWsEU7eVy4cy7eA+dQ4tgWG+JbGOQ==" + }, + "js/86-841830e3.chunk.min.js": { + "src": "js/86-841830e3.chunk.min.js", + "integrity": "sha512-j4o/ljne580vctbO1z6GWwVFvaC3m6VpLTnyWIvE9Dd3PURujWHnWReNLclxcnlt5PK9Ohv4W8q3aEOKfUdJkw==" + }, + "js/554-980b1ae9.chunk.min.js": { + "src": "js/554-980b1ae9.chunk.min.js", + "integrity": "sha512-9oVYpFOErj3ttWPhB/FvJwhijnezxV2mOKoTAT5+S1QQVAsSACgxnxG1VtjvyuSyCn0HD7l1dS054fP0yxQ9Dg==" + }, + "js/693-2124948a.chunk.min.js": { + "src": "js/693-2124948a.chunk.min.js", + "integrity": "sha512-Ko3GXiQtfF28e9Omm4ypj+p+ykT5Uc1s8PxodgWV+N9h68t+QnTLJ3PghxWW3YqCrTyMkqpg+U3hkyFxotqnBA==" + }, + "js/875-0cc44212.chunk.min.js": { + "src": "js/875-0cc44212.chunk.min.js", + "integrity": "sha512-600TvjSLQ2arsupduQSwNsOZIdp2xUnLsqUL0n9gVxdkvdFCYANyjORkO/a0knUzzNGv3oZqE9dqtEJSY7hLJw==" + }, + "js/69-06c8b62f.chunk.min.js": { + "src": "js/69-06c8b62f.chunk.min.js", + "integrity": "sha512-UDuWdgHzd+HSXjzw8xnjYxxZOw2zJXWrL1Zo7oadh7n6TpxFAGDunn6EDYf2KFmcjVcC4QlqJrdWtoJVcUwr/w==" + }, + "js/841-54550e4a.chunk.min.js": { + "src": "js/841-54550e4a.chunk.min.js", + "integrity": "sha512-aI+ntywFR8QzYpRGYsSGxqanSDnuXDuLAJA1Gbt5gFajjUxIBJV8qjgTLA7FIwp2icE4bqGGqxiNVA1iHTOSIA==" + }, + "js/770-c8f14079.chunk.min.js": { + "src": "js/770-c8f14079.chunk.min.js", + "integrity": "sha512-DIFMhxj0xWxZzYBrVJbKhdM9pgk6sldGU7ZwItTZOHRRUnZ6t9szP06NTyj+u8yGZsdYNs2pZ8BE11z73IE70w==" + }, + "js/411-d351386b.chunk.min.js": { + "src": "js/411-d351386b.chunk.min.js", + "integrity": "sha512-9o8/PabGB1IvJ1gotEkTK1PVxl0Dlx2fgWnOlZW1e9PEKDJJA678o3YMjmxurllubPC0i4XOkvvAvY1UUc5V4A==" + }, + "js/31-228682ad.chunk.min.js": { + "src": "js/31-228682ad.chunk.min.js", + "integrity": "sha512-ipfn94AWwvQA5I4ybx5fe+VJSKT27ltpG0srqabFrj0IYIZ3RCFctWNqllDGhCIuVMgbiNHCjinxdA8NpaiPPw==" + }, + "js/206-99fce408.chunk.min.js": { + "src": "js/206-99fce408.chunk.min.js", + "integrity": "sha512-sVuoOJUKhvA96dAxr0ZO7x5xmz25WE9Khnp+SB4F5vWL+J+dAvE2SXZ8irLWhS5u32tRjOjCeFZhyXpI47PlGQ==" + }, + "js/284-e80fd0b5.chunk.min.js": { + "src": "js/284-e80fd0b5.chunk.min.js", + "integrity": "sha512-dwNdk1Jto6A4Ht/60GMUMarGkFKRTWiqxh+gM3YqjL7b2N/y0xut6op5EESN0gyfQL7xk4pgFowyMyS0rJPcRw==" + }, + "js/764-e8ff889e.chunk.min.js": { + "src": "js/764-e8ff889e.chunk.min.js", + "integrity": "sha512-S94wRBs5tuMiknLYIobCoDPvnEquE9hmtjlw2m/yYAJJRaiTlCpl/neWfGoW3Eroz9uWdfrJta5piUSf3ggGVA==" + }, + "js/366-23e20231.chunk.min.js": { + "src": "js/366-23e20231.chunk.min.js", + "integrity": "sha512-ZdFzJKlkluOGBZbidVvAFoh/4EK1z5q0kCYzWpXxof3aNUkIEawQhqHwnyEluGqNTZK3WCipT9UifauPLli6Dg==" + }, + "js/68-408c048c.chunk.min.js": { + "src": "js/68-408c048c.chunk.min.js", + "integrity": "sha512-2x0FedDuG88J3visHLYeCd7iys7rXnCes0gAZ3ROc5hiKPgbYZBDW4sCUe9MhUC5YpWa3C0gLWqXW+hG2zLZew==" + }, + "js/254-84661edf.chunk.min.js": { + "src": "js/254-84661edf.chunk.min.js", + "integrity": "sha512-JPsK+gAw8vXehHfD4LWUaCx3rW7NaPDXxSwnpQURaFKWUVIxDzKr3mFv3r4mfSyY67qIAVOx2b4NvAzhuZs34Q==" + }, + "js/791-515d9e3a.chunk.min.js": { + "src": "js/791-515d9e3a.chunk.min.js", + "integrity": "sha512-5AetU1QSQjqq3J5BHmkLLshpfFzrCsprDszxddeMdk9peRN0Q+vu0pCMGzONBm7y/2IrZoSg4soEO0zVcPLc9w==" + }, + "js/771-942a62df.chunk.min.js": { + "src": "js/771-942a62df.chunk.min.js", + "integrity": "sha512-8WfA8U1Udlfa6uWAYbdNKJzjlJ91qZ0ZhC+ldKdhghUgilxqA6UmZxHFKGRDQydjOFDk828O28XVmZU2IEvckA==" + }, + "js/27-3c59de1a.chunk.min.js": { + "src": "js/27-3c59de1a.chunk.min.js", + "integrity": "sha512-dBBUvtlEcEY4UQSXNBpanCV1oMlEDMH4vHvACVUzG0c2Mbb9RHM8sTNSLnu+RvHvUCInCO3LbbUm3Cp2Re0eVg==" + }, + "js/580-fabed2ac.chunk.min.js": { + "src": "js/580-fabed2ac.chunk.min.js", + "integrity": "sha512-L70er+tQ1Sy3yLwOKjGWDlqOtBGykeQO2F3EQzaiMgSb1qBKlrYYK7XnbI5w0qYtvYDvPmE1aflHAlrDMB6Njg==" + }, + "js/644-a3e6d7ca.chunk.min.js": { + "src": "js/644-a3e6d7ca.chunk.min.js", + "integrity": "sha512-Qnwma/kO7a1x3UQXPSvKog3gI4S0H1zBy1MaQRDqpBLSEONhSdzr5gVwIqORF0sBPXAA5pPcGzHhkn83rqBviw==" + }, + "js/320-1804d5a1.chunk.min.js": { + "src": "js/320-1804d5a1.chunk.min.js", + "integrity": "sha512-Srm5Oc13M8J2BystZLBh0VQqzsZnmuO5pi1/oSlmF8vp7poUUnMrnBf1QfrmsYIbFhYP7waiAm3X0s/IdTsJ6Q==" + }, + "js/281-18063325.chunk.min.js": { + "src": "js/281-18063325.chunk.min.js", + "integrity": "sha512-YYPVu/iwpjYksSAqpWi1fqS29eLndA/TgC7dcSWuOe74+MKrBiGKSMbNzwUpTEV44KOKm6qZCnqjPnxReJuq5w==" + }, + "js/990-52a18bdc.chunk.min.js": { + "src": "js/990-52a18bdc.chunk.min.js", + "integrity": "sha512-EuVHE1vNrU9XWjPOiLMBKKDTePuW4jYhguSruI3j2/J6mB3LQB8vSe6kKRQuHGRKYmX3gY2sDdAgFtCsCjm4vQ==" + }, + "main.scss": { + "src": "main-252d384c.min.css", + "integrity": "sha512-WiV7BVk76Yp0EACJrwdWDk7+WNa+Jyiupi9aCKFrzZyiKkXk7BH+PL2IJcuDQpCMtMBFJEgen2fpKu9ExjjrUQ==" + }, + "katex.css": { + "src": "katex-1799419e.min.css", + "integrity": "sha512-8rRve7ln2pKSPM7cASxirv/36DFCvY36b7sI40mS49nwsEPHsagrGiPzz1l24cpIQ9OvwfNAZmhoqjQLIrCTUg==" + }, + "mobile.scss": { + "src": "mobile-79ddc617.min.css", + "integrity": "sha512-dzw2wMOouDwhSgstQKLbXD/vIqS48Ttc2IV6DeG7yam9yvKUuChJVaworzL8s2UoGMX4x2jEm50PjFJE4R4QWw==" + }, + "print.scss": { + "src": "print-735ccc12.min.css", + "integrity": "sha512-c28KLNtBnKDW1+/bNWFhwuGBLw9octTXA2wnuaS2qlvpNFL0DytCapui9VM4YYkZg6e9TVp5LyuRQc2lTougDw==" + }, + "custom.css": { + "src": "custom.css", + "integrity": "sha512-1kALo+zc1L2u1rvyxPIew+ZDPWhnIA1Ei2rib3eHHbskQW+EMxfI9Ayyva4aV+YRrHvH0zFxvPSFIuZ3mfsbRA==" + } +} \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/i18n/cs.yaml b/docs/themes/hugo-geekdoc/i18n/cs.yaml new file mode 100644 index 00000000..71dd8ed3 --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/cs.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Upravit stránku + +nav_navigation: Navigace +nav_tags: Tagy +nav_more: Více +nav_top: Zpět nahoru + +form_placeholder_search: Vyhledat + +error_page_title: Ztracen? Nic se neděje +error_message_title: Ztracen? +error_message_code: Error 404 +error_message_text: > + Vypadá to že stránka, kterou hledáte, neexistuje. Nemějte obavy, můžete + se vrátit zpět na domovskou stránku. + +button_toggle_dark: Přepnout tmavý/světlý/automatický režim +button_nav_open: Otevřít navigaci +button_nav_close: Zavřít navigaci +button_menu_open: Otevřít lištu nabídky +button_menu_close: Zavřít lištu nabídky +button_homepage: Zpět na domovskou stránku + +title_anchor_prefix: "Odkaz na:" + +posts_read_more: Přečíst celý příspěvek +posts_read_time: + one: "Doba čtení: 1 minuta" + other: "Doba čtení: {{ . }} minut(y)" +posts_update_prefix: Naposledy upraveno +posts_count: + one: "Jeden příspěvek" + other: "Příspěvků: {{ . }}" +posts_tagged_with: Všechny příspěvky označeny '{{ . }}' + +footer_build_with: > + Vytvořeno za pomocí Hugo a + +footer_legal_notice: Právní upozornění +footer_privacy_policy: Zásady ochrany soukromí +footer_content_license_prefix: > + Obsah licencovaný pod + +language_switch_no_tranlation_prefix: "Stránka není přeložena:" + +propertylist_required: povinné +propertylist_optional: volitené +propertylist_default: výchozí + +pagination_page_prev: předchozí +pagination_page_next: další +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/de.yaml b/docs/themes/hugo-geekdoc/i18n/de.yaml new file mode 100644 index 00000000..ae3dc99f --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/de.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Seite bearbeiten + +nav_navigation: Navigation +nav_tags: Tags +nav_more: Weitere +nav_top: Nach oben + +form_placeholder_search: Suchen + +error_page_title: Verlaufen? Keine Sorge +error_message_title: Verlaufen? +error_message_code: Fehler 404 +error_message_text: > + Wir können die Seite nach der Du gesucht hast leider nicht finden. Keine Sorge, + wir bringen Dich zurück zur Startseite. + +button_toggle_dark: Wechsel zwischen Dunkel/Hell/Auto Modus +button_nav_open: Navigation öffnen +button_nav_close: Navigation schließen +button_menu_open: Menüband öffnen +button_menu_close: Menüband schließen +button_homepage: Zurück zur Startseite + +title_anchor_prefix: "Link zu:" + +posts_read_more: Ganzen Artikel lesen +posts_read_time: + one: "Eine Minute Lesedauer" + other: "{{ . }} Minuten Lesedauer" +posts_update_prefix: Aktualisiert am +posts_count: + one: "Ein Artikel" + other: "{{ . }} Artikel" +posts_tagged_with: Alle Artikel mit dem Tag '{{ . }}' + +footer_build_with: > + Entwickelt mit Hugo und + +footer_legal_notice: Impressum +footer_privacy_policy: Datenschutzerklärung +footer_content_license_prefix: > + Inhalt lizensiert unter + +language_switch_no_tranlation_prefix: "Seite nicht übersetzt:" + +propertylist_required: erforderlich +propertylist_optional: optional +propertylist_default: Standardwert + +pagination_page_prev: vorher +pagination_page_next: weiter +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/en.yaml b/docs/themes/hugo-geekdoc/i18n/en.yaml new file mode 100644 index 00000000..ff19ea4e --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/en.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Edit page + +nav_navigation: Navigation +nav_tags: Tags +nav_more: More +nav_top: Back to top + +form_placeholder_search: Search + +error_page_title: Lost? Don't worry +error_message_title: Lost? +error_message_code: Error 404 +error_message_text: > + Seems like what you are looking for can't be found. Don't worry, we can + bring you back to the homepage. + +button_toggle_dark: Toggle Dark/Light/Auto mode +button_nav_open: Open Navigation +button_nav_close: Close Navigation +button_menu_open: Open Menu Bar +button_menu_close: Close Menu Bar +button_homepage: Back to homepage + +title_anchor_prefix: "Anchor to:" + +posts_read_more: Read full post +posts_read_time: + one: "One minute to read" + other: "{{ . }} minutes to read" +posts_update_prefix: Updated on +posts_count: + one: "One post" + other: "{{ . }} posts" +posts_tagged_with: All posts tagged with '{{ . }}' + +footer_build_with: > + Built with Hugo and + +footer_legal_notice: Legal Notice +footer_privacy_policy: Privacy Policy +footer_content_license_prefix: > + Content licensed under + +language_switch_no_tranlation_prefix: "Page not translated:" + +propertylist_required: required +propertylist_optional: optional +propertylist_default: default + +pagination_page_prev: prev +pagination_page_next: next +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/es.yaml b/docs/themes/hugo-geekdoc/i18n/es.yaml new file mode 100644 index 00000000..8e65cec7 --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/es.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Editar página + +nav_navigation: Navegación +nav_tags: Etiquetas +nav_more: Más +nav_top: Inicio de la página + +form_placeholder_search: Buscar + +error_page_title: Perdido? No te preocupes +error_message_title: Perdido? +error_message_code: Error 404 +error_message_text: > + Al parecer, lo que estás buscando no pudo ser encontrado. No te preocupes, podemos + llevarte de vuelta al inicio. + +button_toggle_dark: Cambiar el modo Oscuro/Claro/Auto +button_nav_open: Abrir la Navegación +button_nav_close: Cerrar la Navegación +button_menu_open: Abrir el Menú Bar +button_menu_close: Cerrar el Menú Bar +button_homepage: Volver al Inicio + +title_anchor_prefix: "Anclado a:" + +posts_read_more: Lee la publicación completa +posts_read_time: + one: "Un minuto para leer" + other: "{{ . }} minutos para leer" +posts_update_prefix: Actualizado en +posts_count: + one: "Una publicación" + other: "{{ . }} publicaciones" +posts_tagged_with: Todas las publicaciones etiquetadas con '{{ . }}' + +footer_build_with: > + Creado con Hugo y + +footer_legal_notice: Aviso Legal +footer_privacy_policy: Política de Privacidad +footer_content_license_prefix: > + Contenido licenciado con + +language_switch_no_tranlation_prefix: "Página no traducida:" + +propertylist_required: requerido +propertylist_optional: opcional +propertylist_default: estándar + +pagination_page_prev: previo +pagination_page_next: siguiente +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/it.yaml b/docs/themes/hugo-geekdoc/i18n/it.yaml new file mode 100644 index 00000000..ce7c40b4 --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/it.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Modifica la pagina + +nav_navigation: Navigazione +nav_tags: Etichette +nav_more: Altro +nav_top: Torna su + +form_placeholder_search: Cerca + +error_page_title: Perso? Non ti preoccupare +error_message_title: Perso? +error_message_code: Errore 404 +error_message_text: > + Sembra che non sia possibile trovare quello che stavi cercando. Non ti preoccupare, + possiamo riportarti alla pagina iniziale. + +button_toggle_dark: Seleziona il tema Chiaro/Scuro/Automatico +button_nav_open: Apri la Navigazione +button_nav_close: Chiudi la Navigazione +button_menu_open: Apri la Barra del Menu +button_menu_close: Chiudi la Barra del Menu +button_homepage: Torna alla pagina iniziale + +title_anchor_prefix: "Ancora a:" + +posts_read_more: Leggi tutto il post +posts_read_time: + one: "Tempo di lettura: un minuto" + other: "Tempo di lettura: {{ . }} minuti" +posts_update_prefix: Aggiornato il +posts_count: + one: "Un post" + other: "{{ . }} post" +posts_tagged_with: Tutti i post etichettati con '{{ . }}' + +footer_build_with: > + Realizzato con Hugo e + +footer_legal_notice: Avviso Legale +footer_privacy_policy: Politica sulla Privacy +footer_content_license_prefix: > + Contenuto sotto licenza + +language_switch_no_tranlation_prefix: "Pagina non tradotta:" + +propertylist_required: richiesto +propertylist_optional: opzionale +propertylist_default: valore predefinito + +pagination_page_prev: precedente +pagination_page_next: prossimo +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/ja.yaml b/docs/themes/hugo-geekdoc/i18n/ja.yaml new file mode 100644 index 00000000..506e7b4e --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/ja.yaml @@ -0,0 +1,53 @@ +--- +edit_page: ページの編集 + +nav_navigation: ナビゲーション +nav_tags: タグ +nav_more: さらに +nav_top: トップへ戻る + +form_placeholder_search: 検索 + +error_page_title: お困りですか?ご心配なく +error_message_title: お困りですか? +error_message_code: 404 エラー +error_message_text: > + お探しのものが見つからないようです。トップページ + へ戻ることができるので、ご安心ください。 + +button_toggle_dark: モードの切替 ダーク/ライト/自動 +button_nav_open: ナビゲーションを開く +button_nav_close: ナビゲーションを閉じる +button_menu_open: メニューバーを開く +button_menu_close: メニューバーを閉じる +button_homepage: トップページへ戻る + +title_anchor_prefix: "アンカー先:" + +posts_read_more: 全投稿を閲覧 +posts_read_time: + one: "読むのに 1 分かかります" + other: "読むのに要する時間 {{ . }} (分)" +posts_update_prefix: 更新時刻 +posts_count: + one: "一件の投稿" + other: "{{ . }} 件の投稿" +posts_tagged_with: "'{{ . }}'のタグが付いた記事全部" + +footer_build_with: > + Hugo でビルドしています。 + +footer_legal_notice: 法的な告知事項 +footer_privacy_policy: プライバシーポリシー +footer_content_license_prefix: > + 提供するコンテンツのライセンス + +language_switch_no_tranlation_prefix: "未翻訳のページ:" + +propertylist_required: 必須 +propertylist_optional: 任意 +propertylist_default: 既定値 + +pagination_page_prev: 前 +pagination_page_next: 次 +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/nl.yaml b/docs/themes/hugo-geekdoc/i18n/nl.yaml new file mode 100644 index 00000000..8e24d62a --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/nl.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Wijzig pagina + +nav_navigation: Navigatie +nav_tags: Markering +nav_more: Meer +nav_top: Terug naar boven + +form_placeholder_search: Zoek + +error_page_title: Verdwaald? Geen probleem +error_message_title: Verdwaald? +error_message_code: Error 404 +error_message_text: > + Het lijkt er op dat wat je zoekt niet gevonden kan worden. Geen probleem, + we kunnen je terug naar de startpagina brengen. + +button_toggle_dark: Wijzig Donker/Licht/Auto weergave +button_nav_open: Open navigatie +button_nav_close: Sluit navigatie +button_menu_open: Open menubalk +button_menu_close: Sluit menubalk +button_homepage: Terug naar startpagina + +title_anchor_prefix: "Link naar:" + +posts_read_more: Lees volledige bericht +posts_read_time: + one: "Een minuut leestijd" + other: "{{ . }} minuten leestijd" +posts_update_prefix: Bijgewerkt op +posts_count: + one: "Een bericht" + other: "{{ . }} berichten" +posts_tagged_with: Alle berichten gemarkeerd met '{{ . }}' + +footer_build_with: > + Gebouwd met Hugo en + +footer_legal_notice: Juridische mededeling +footer_privacy_policy: Privacybeleid +footer_content_license_prefix: > + Inhoud gelicenseerd onder + +language_switch_no_tranlation_prefix: "Pagina niet vertaald:" + +propertylist_required: verplicht +propertylist_optional: optioneel +propertylist_default: standaard + +pagination_page_prev: vorige +pagination_page_next: volgende +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/i18n/zh-cn.yaml b/docs/themes/hugo-geekdoc/i18n/zh-cn.yaml new file mode 100644 index 00000000..e6403acd --- /dev/null +++ b/docs/themes/hugo-geekdoc/i18n/zh-cn.yaml @@ -0,0 +1,53 @@ +--- +edit_page: 编辑页面 + +nav_navigation: 导航 +nav_tags: 标签 +nav_more: 更多 +nav_top: 回到顶部 + +form_placeholder_search: 搜索 + +error_page_title: 迷路了? 不用担心 +error_message_title: 迷路了? +error_message_code: 错误 404 +error_message_text: > + 好像找不到你要找的东西。 别担心,我们可以 + 带您回到主页。 + +button_toggle_dark: 切换暗/亮/自动模式 +button_nav_open: 打开导航 +button_nav_close: 关闭导航 +button_menu_open: 打开菜单栏 +button_menu_close: 关闭菜单栏 +button_homepage: 返回首页 + +title_anchor_prefix: "锚定到:" + +posts_read_more: 阅读全文 +posts_read_time: + one: "一分钟阅读时间" + other: "{{ . }} 分钟阅读时间" +posts_update_prefix: 更新时间 +posts_count: + one: 一篇文章 + other: "{{ . }} 个帖子" +posts_tagged_with: 所有带有“{{ . }}”标签的帖子。 + +footer_build_with: > + 基于 Hugo + 制作 +footer_legal_notice: "法律声明" +footer_privacy_policy: "隐私政策" +footer_content_license_prefix: > + 内容许可证 + +language_switch_no_tranlation_prefix: "页面未翻译:" + +propertylist_required: 需要 +propertylist_optional: 可选 +propertylist_default: 默认值 + +pagination_page_prev: 以前 +pagination_page_next: 下一个 +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/hugo-geekdoc/images/readme.png b/docs/themes/hugo-geekdoc/images/readme.png new file mode 100644 index 00000000..10c8ff15 Binary files /dev/null and b/docs/themes/hugo-geekdoc/images/readme.png differ diff --git a/docs/themes/hugo-geekdoc/images/screenshot.png b/docs/themes/hugo-geekdoc/images/screenshot.png new file mode 100644 index 00000000..af243606 Binary files /dev/null and b/docs/themes/hugo-geekdoc/images/screenshot.png differ diff --git a/docs/themes/hugo-geekdoc/images/tn.png b/docs/themes/hugo-geekdoc/images/tn.png new file mode 100644 index 00000000..ee6e42ed Binary files /dev/null and b/docs/themes/hugo-geekdoc/images/tn.png differ diff --git a/docs/themes/hugo-geekdoc/layouts/404.html b/docs/themes/hugo-geekdoc/layouts/404.html new file mode 100644 index 00000000..f8a61bb5 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/404.html @@ -0,0 +1,40 @@ + + + + {{ partial "head/meta" . }} + {{ i18n "error_page_title" }} + + {{ partial "head/favicons" . }} + {{ partial "head/others" . }} + + + + {{ partial "svg-icon-symbols" . }} + + +
+ + + {{ partial "site-header" (dict "Root" . "MenuEnabled" false) }} + + +
+
+
+ +
+
+
{{ i18n "error_message_title" }}
+
{{ i18n "error_message_code" }}
+
+ {{ i18n "error_message_text" .Site.BaseURL | safeHTML }} +
+
+
+
+ + {{ partial "site-footer" . }} + +
+ + diff --git a/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-codeblock-mermaid.html b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-codeblock-mermaid.html new file mode 100644 index 00000000..b5deb66b --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-codeblock-mermaid.html @@ -0,0 +1,11 @@ + +{{ if not (.Page.Scratch.Get "mermaid") }} + + + {{ .Page.Scratch.Set "mermaid" true }} +{{ end }} + + +
+  {{- .Inner -}}
+
diff --git a/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-heading.html b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-heading.html new file mode 100644 index 00000000..3e7a270f --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-heading.html @@ -0,0 +1,27 @@ +{{- $showAnchor := (and (default true .Page.Params.geekdocAnchor) (default true .Page.Site.Params.geekdocAnchor)) -}} + + + +{{- if $showAnchor -}} +
+ + {{ .Text | safeHTML }} + + + + +
+{{- else -}} +
+ + {{ .Text | safeHTML }} + +
+{{- end -}} + diff --git a/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-image.html b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-image.html new file mode 100644 index 00000000..99a31136 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-image.html @@ -0,0 +1,6 @@ +{{ .Text }} +{{- /* Drop trailing newlines */ -}} diff --git a/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-link.html b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-link.html new file mode 100644 index 00000000..cec8a953 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/_markup/render-link.html @@ -0,0 +1,14 @@ +{{- $raw := or (hasPrefix .Text " + {{- .Text | safeHTML -}} + +{{- /* Drop trailing newlines */ -}} diff --git a/docs/themes/hugo-geekdoc/layouts/_default/baseof.html b/docs/themes/hugo-geekdoc/layouts/_default/baseof.html new file mode 100644 index 00000000..ebc39cfc --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/baseof.html @@ -0,0 +1,60 @@ + + + + {{ partial "head/meta" . }} + + {{- if eq .Kind "home" -}} + {{ .Site.Title }} + {{- else -}} + {{ printf "%s | %s" (partial "utils/title" .) .Site.Title }} + {{- end -}} + + + {{ partial "head/favicons" . }} + {{ partial "head/rel-me" . }} + {{ partial "head/microformats" . }} + {{ partial "head/others" . }} + {{ partial "head/custom" . }} + + + + {{ partial "svg-icon-symbols" . }} + + +
+ + + {{ $navEnabled := default true .Page.Params.geekdocNav }} + {{ partial "site-header" (dict "Root" . "MenuEnabled" $navEnabled) }} + + +
+ {{ if $navEnabled }} + + {{ end }} + + +
+ {{ template "main" . }} + + + +
+
+ + {{ partial "site-footer" . }} +
+ + {{ partial "foot" . }} + + diff --git a/docs/themes/hugo-geekdoc/layouts/_default/list.html b/docs/themes/hugo-geekdoc/layouts/_default/list.html new file mode 100644 index 00000000..94172f65 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/list.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{ partial "page-header" . }} + + +
+

{{ partial "utils/title" . }}

+ {{ partial "utils/content" . }} +
+{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/_default/single.html b/docs/themes/hugo-geekdoc/layouts/_default/single.html new file mode 100644 index 00000000..94172f65 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{ partial "page-header" . }} + + +
+

{{ partial "utils/title" . }}

+ {{ partial "utils/content" . }} +
+{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/_default/taxonomy.html b/docs/themes/hugo-geekdoc/layouts/_default/taxonomy.html new file mode 100644 index 00000000..bb97e8ed --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/taxonomy.html @@ -0,0 +1,49 @@ +{{ define "main" }} + {{ range .Paginator.Pages }} + + {{ end }} + {{ partial "pagination.html" . }} +{{ end }} + +{{ define "post-tag" }} + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/_default/terms.html b/docs/themes/hugo-geekdoc/layouts/_default/terms.html new file mode 100644 index 00000000..2316ef56 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/_default/terms.html @@ -0,0 +1,32 @@ +{{ define "main" }} + {{ range .Paginator.Pages.ByTitle }} + + {{ end }} + {{ partial "pagination.html" . }} +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/foot.html b/docs/themes/hugo-geekdoc/layouts/partials/foot.html new file mode 100644 index 00000000..2a115e56 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/foot.html @@ -0,0 +1,6 @@ +{{ if default true .Site.Params.geekdocSearch }} + + {{- $searchConfigFile := printf "search/%s.config.json" .Language.Lang -}} + {{- $searchConfig := resources.Get "search/config.json" | resources.ExecuteAsTemplate $searchConfigFile . | resources.Minify -}} + {{- $searchConfig.Publish -}} +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/head/custom.html b/docs/themes/hugo-geekdoc/layouts/partials/head/custom.html new file mode 100644 index 00000000..44862c7b --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/head/custom.html @@ -0,0 +1 @@ + diff --git a/docs/themes/hugo-geekdoc/layouts/partials/head/favicons.html b/docs/themes/hugo-geekdoc/layouts/partials/head/favicons.html new file mode 100644 index 00000000..40a8c91d --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/head/favicons.html @@ -0,0 +1,13 @@ + + + diff --git a/docs/themes/hugo-geekdoc/layouts/partials/head/meta.html b/docs/themes/hugo-geekdoc/layouts/partials/head/meta.html new file mode 100644 index 00000000..4cc4ddb4 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/head/meta.html @@ -0,0 +1,14 @@ + + + + +{{ hugo.Generator }} + +{{ $keywords := default .Site.Params.Keywords .Keywords }} + +{{- with partial "utils/description" . }} + +{{- end }} +{{- with $keywords }} + +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/head/microformats.html b/docs/themes/hugo-geekdoc/layouts/partials/head/microformats.html new file mode 100644 index 00000000..8b6038ac --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/head/microformats.html @@ -0,0 +1,3 @@ +{{ partial "microformats/opengraph.html" . }} +{{ partial "microformats/twitter_cards.html" . }} +{{ partial "microformats/schema" . }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/head/others.html b/docs/themes/hugo-geekdoc/layouts/partials/head/others.html new file mode 100644 index 00000000..537c2ff8 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/head/others.html @@ -0,0 +1,73 @@ +{{- if default true .Site.Params.geekdocDarkModeToggle }} + +{{- end }} + + + + + + + + + + + + + + + + + +{{- with .OutputFormats.Get "html" }} + {{ printf `` .Permalink .Rel .MediaType.Type | safeHTML }} +{{- end }} + +{{- if (default false $.Site.Params.geekdocOverwriteHTMLBase) }} + +{{- end }} + +{{ printf "" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/head/rel-me.html b/docs/themes/hugo-geekdoc/layouts/partials/head/rel-me.html new file mode 100644 index 00000000..59a34616 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/head/rel-me.html @@ -0,0 +1 @@ + diff --git a/docs/themes/hugo-geekdoc/layouts/partials/language.html b/docs/themes/hugo-geekdoc/layouts/partials/language.html new file mode 100644 index 00000000..fdcafd2b --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/language.html @@ -0,0 +1,51 @@ +{{ if .Site.IsMultiLingual }} + +
    +
  • + {{ range .Site.Languages }} + {{ if eq . $.Site.Language }} + + + {{ .Lang | upper }} + + {{ end }} + {{ end }} + + + +
  • +
+
+{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/menu-bundle.html b/docs/themes/hugo-geekdoc/layouts/partials/menu-bundle.html new file mode 100644 index 00000000..bb323875 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/menu-bundle.html @@ -0,0 +1,87 @@ +{{ $current := .current }} +{{ template "menu-file" dict "sect" .source "current" $current "site" $current.Site }} + + + +{{ define "menu-file" }} + {{ $current := .current }} + {{ $site := .site }} + + + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/menu-extra.html b/docs/themes/hugo-geekdoc/layouts/partials/menu-extra.html new file mode 100644 index 00000000..a1984f8b --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/menu-extra.html @@ -0,0 +1,46 @@ +{{ $current := .current }} +{{ template "menu-extra" dict "sect" .source "current" $current "site" $current.Site "target" .target }} + + + +{{ define "menu-extra" }} + {{ $current := .current }} + {{ $site := .site }} + {{ $target := .target }} + {{ $sect := .sect }} + + {{ range sort (default (seq 0) $sect) "weight" }} + {{ if isset . "ref" }} + {{ $this := $site.GetPage .ref }} + {{ $isCurrent := eq $current $this }} + {{ $icon := default false .icon }} + + {{ $name := .name }} + {{ if reflect.IsMap .name }} + {{ $name = (index .name $site.Language.Lang) }} + {{ end }} + + {{ if not .icon }} + {{ errorf "Missing 'icon' attribute in data file for '%s' menu item '%s'" $target $name }} + {{ end }} + + {{ if eq $target "header" }} + + + + {{ $name }} + + + + + {{ end }} + {{ end }} + {{ end }} +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/menu-filetree.html b/docs/themes/hugo-geekdoc/layouts/partials/menu-filetree.html new file mode 100644 index 00000000..e51a5de0 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/menu-filetree.html @@ -0,0 +1,98 @@ +{{ $current := . }} +{{ template "tree-nav" dict "sect" .Site.Home.Sections "current" $current }} + + + +{{ define "tree-nav" }} + {{ $current := .current }} + + + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/menu-nextprev.html b/docs/themes/hugo-geekdoc/layouts/partials/menu-nextprev.html new file mode 100644 index 00000000..6126f951 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/menu-nextprev.html @@ -0,0 +1,78 @@ +{{ $current := . }} +{{ $site := .Site }} +{{ $current.Scratch.Set "prev" false }} +{{ $current.Scratch.Set "getNext" false }} + +{{ $current.Scratch.Set "nextPage" false }} +{{ $current.Scratch.Set "prevPage" false }} + +{{ template "menu_nextprev" dict "sect" $.Site.Data.menu.main.main "current" $current "site" $site }} + +{{ define "menu_nextprev" }} + {{ $current := .current }} + {{ $site := .site }} + + {{ range sort (default (seq 0) .sect) "weight" }} + {{ $current.Scratch.Set "current" $current }} + {{ $current.Scratch.Set "site" $site }} + + {{ $ref := default false .ref }} + {{ if $ref }} + {{ $site := $current.Scratch.Get "site" }} + {{ $this := $site.GetPage .ref }} + {{ $current := $current.Scratch.Get "current" }} + + {{ if reflect.IsMap .name }} + {{ $current.Scratch.Set "refName" (index .name $site.Language.Lang) }} + {{ else }} + {{ $current.Scratch.Set "refName" .name }} + {{ end }} + {{ $name := $current.Scratch.Get "refName" }} + + {{ if $current.Scratch.Get "getNext" }} + {{ $current.Scratch.Set "nextPage" (dict "name" $name "this" $this) }} + {{ $current.Scratch.Set "getNext" false }} + {{ end }} + + {{ if eq $current $this }} + {{ $current.Scratch.Set "prevPage" ($current.Scratch.Get "prev") }} + {{ $current.Scratch.Set "getNext" true }} + {{ end }} + + {{ $current.Scratch.Set "prev" (dict "name" $name "this" $this) }} + {{ end }} + + {{ $sub := default false .sub }} + {{ if $sub }} + {{ template "menu_nextprev" dict "sect" $sub "current" ($current.Scratch.Get "current") "site" ($current.Scratch.Get "site") }} + {{ end }} + {{ end }} +{{ end }} + +{{ $showPrevNext := (and (default true .Site.Params.geekdocNextPrev) .Site.Params.geekdocMenuBundle) }} +{{ if $showPrevNext }} + + {{ with ($current.Scratch.Get "prevPage") }} + + gdoc_arrow_left_alt + {{ .name }} + + {{ end }} + + + {{ with ($current.Scratch.Get "nextPage") }} + + {{ .name }} + gdoc_arrow_right_alt + + {{ end }} + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/menu.html b/docs/themes/hugo-geekdoc/layouts/partials/menu.html new file mode 100644 index 00000000..7963eacd --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/menu.html @@ -0,0 +1,44 @@ + diff --git a/docs/themes/hugo-geekdoc/layouts/partials/microformats/opengraph.html b/docs/themes/hugo-geekdoc/layouts/partials/microformats/opengraph.html new file mode 100644 index 00000000..97716ca9 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/microformats/opengraph.html @@ -0,0 +1,68 @@ +{{ $isPage := or (and (ne .Type "posts") (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }} + +{{- if ne .Kind "home" }} + +{{- end }} +{{- with .Site.Title }} + +{{- end }} +{{- with partial "utils/featured" . }} + +{{- end }} +{{- with partial "utils/description" . }} + +{{- end }} + + +{{- with .Params.audio }} + +{{- end }} +{{- with .Params.locale }} + +{{- end }} +{{- with .Params.videos }} + {{- range . }} + + {{- end }} +{{- end }} + +{{- /* If it is part of a series, link to related articles */}} +{{- if .Site.Taxonomies.series }} + {{- $permalink := .Permalink -}} + {{- $siteSeries := .Site.Taxonomies.series -}} + {{- with .Params.series }} + {{- range $name := . }} + {{- $series := index $siteSeries ($name | urlize) }} + {{- range $page := first 6 $series.Pages }} + {{- if ne $page.Permalink $permalink }} + + {{- end }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} + +{{ if $isPage -}} + {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} + + {{- with .PublishDate }} + + {{- end }} + {{- with .Lastmod }} + + {{- end }} +{{- end }} + +{{- /* Facebook Page Admin ID for Domain Insights */}} +{{- with .Site.Social.facebook_admin }} + +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/microformats/schema.html b/docs/themes/hugo-geekdoc/layouts/partials/microformats/schema.html new file mode 100644 index 00000000..e4a71eb4 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/microformats/schema.html @@ -0,0 +1,70 @@ +{{ $isPage := or (and (ne .Type "posts") (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }} +{{- if eq .Kind "home" }} + +{{- else if $isPage }} + +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/microformats/twitter_cards.html b/docs/themes/hugo-geekdoc/layouts/partials/microformats/twitter_cards.html new file mode 100644 index 00000000..a2cc08c4 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/microformats/twitter_cards.html @@ -0,0 +1,15 @@ +{{- with partial "utils/featured" . }} + +{{- else }} + +{{- end }} + +{{- with partial "utils/featured" . }} + +{{- end }} +{{- with partial "utils/description" . }} + +{{- end }} +{{- with .Site.Social.twitter -}} + +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/page-header.html b/docs/themes/hugo-geekdoc/layouts/partials/page-header.html new file mode 100644 index 00000000..8f146d7e --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/page-header.html @@ -0,0 +1,57 @@ +{{ $geekdocRepo := default (default false .Site.Params.geekdocRepo) .Page.Params.geekdocRepo }} +{{ $geekdocEditPath := default (default false .Site.Params.geekdocEditPath) .Page.Params.geekdocEditPath }} +{{ if .File }} + {{ $.Scratch.Set "geekdocFilePath" (default (strings.TrimPrefix hugo.WorkingDir .File.Filename) .Page.Params.geekdocFilePath) }} +{{ else }} + {{ $.Scratch.Set "geekdocFilePath" false }} +{{ end }} + +{{ define "breadcrumb" }} + {{ $parent := .page.Parent }} + {{ if $parent }} + {{ $name := (partial "utils/title" $parent) }} + {{ $position := (sub .position 1) }} + {{ $value := (printf "
  • %s
  • /
  • %s" $parent.RelPermalink $parent.RelPermalink $name $position .value) }} + {{ template "breadcrumb" dict "page" $parent "value" $value "position" $position }} + {{ else }} + {{ .value | safeHTML }} + {{ end }} +{{ end }} + +{{ $showBreadcrumb := (and (default true .Page.Params.geekdocBreadcrumb) (default true .Site.Params.geekdocBreadcrumb)) }} +{{ $showEdit := (and ($.Scratch.Get "geekdocFilePath") $geekdocRepo $geekdocEditPath) }} +
    + {{ if $showBreadcrumb }} +
    + + +
    + {{ end }} + {{ if $showEdit }} +
    + + + + {{ i18n "edit_page" }} + + +
    + {{ end }} +
    diff --git a/docs/themes/hugo-geekdoc/layouts/partials/pagination.html b/docs/themes/hugo-geekdoc/layouts/partials/pagination.html new file mode 100644 index 00000000..aa615d8a --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/pagination.html @@ -0,0 +1,22 @@ +{{ $pag := $.Paginator }} + + + diff --git a/docs/themes/hugo-geekdoc/layouts/partials/posts/metadata.html b/docs/themes/hugo-geekdoc/layouts/partials/posts/metadata.html new file mode 100644 index 00000000..bf9d8452 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/posts/metadata.html @@ -0,0 +1,48 @@ + + + + + + + + + + +{{ $tc := 0 }} +{{ with .Params.tags }} + {{ range sort . }} + {{ $name := . }} + {{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }} + {{ if eq $tc 0 }} + + + {{ template "post-tag" dict "name" $name "page" . }} + + {{ else }} + + {{ template "post-tag" dict "name" $name "page" . }} + + {{ end }} + {{ end }} + {{ $tc = (add $tc 1) }} + {{ end }} +{{ end }} + +{{ define "post-tag" }} + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/search.html b/docs/themes/hugo-geekdoc/layouts/partials/search.html new file mode 100644 index 00000000..62b2e6fb --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/search.html @@ -0,0 +1,16 @@ +{{ if default true .Site.Params.geekdocSearch }} + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/site-footer.html b/docs/themes/hugo-geekdoc/layouts/partials/site-footer.html new file mode 100644 index 00000000..31ae8e1b --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/site-footer.html @@ -0,0 +1,45 @@ + diff --git a/docs/themes/hugo-geekdoc/layouts/partials/site-header.html b/docs/themes/hugo-geekdoc/layouts/partials/site-header.html new file mode 100644 index 00000000..022c10a0 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/site-header.html @@ -0,0 +1,78 @@ +
    +
    + {{ if .MenuEnabled }} + + {{ end }} +
    + + + + {{ .Root.Site.Title }} + + +
    +
    + + {{ if .Root.Site.Data.menu.extra.header }} + {{ partial "menu-extra" (dict "current" .Root "source" .Root.Site.Data.menu.extra.header "target" "header") }} + {{ end }} + + + + + {{ i18n "button_toggle_dark" }} + + + + {{ i18n "button_toggle_dark" }} + + + + {{ i18n "button_toggle_dark" }} + + + + + + + + {{ i18n "button_homepage" }} + + + + + + {{ partial "language" .Root }} + + + + + + + +
    +
    +
    diff --git a/docs/themes/hugo-geekdoc/layouts/partials/svg-icon-symbols.html b/docs/themes/hugo-geekdoc/layouts/partials/svg-icon-symbols.html new file mode 100644 index 00000000..801bee81 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/svg-icon-symbols.html @@ -0,0 +1,4 @@ +{{ range resources.Match "sprites/*.svg" }} + {{ printf "" . | safeHTML }} + {{ .Content | safeHTML }} +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/utils/content.html b/docs/themes/hugo-geekdoc/layouts/partials/utils/content.html new file mode 100644 index 00000000..c2085a90 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/utils/content.html @@ -0,0 +1,6 @@ +{{ $content := .Content }} + +{{ $content = $content | replaceRE `` `` | safeHTML }} +{{ $content = $content | replaceRE `((?:.|\n)+?
    )` `
    ${1}
    ` | safeHTML }} + +{{ return $content }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/utils/description.html b/docs/themes/hugo-geekdoc/layouts/partials/utils/description.html new file mode 100644 index 00000000..f5eafb2d --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/utils/description.html @@ -0,0 +1,14 @@ +{{ $isPage := or (and (ne .Type "posts") (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }} +{{ $description := "" }} + +{{ if .Description }} + {{ $description = .Description }} +{{ else }} + {{ if $isPage }} + {{ $description = .Summary }} + {{ else if .Site.Params.description }} + {{ $description = .Site.Params.description }} + {{ end }} +{{ end }} + +{{ return $description }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/utils/featured.html b/docs/themes/hugo-geekdoc/layouts/partials/utils/featured.html new file mode 100644 index 00000000..33c4be81 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/utils/featured.html @@ -0,0 +1,12 @@ +{{ $img := "" }} + +{{ with $source := ($.Resources.ByType "image").GetMatch "{*feature*,*cover*,*thumbnail*}" }} + {{ $featured := .Fill (printf "1200x630 %s" (default "Smart" .Params.anchor)) }} + {{ $img = $featured.Permalink }} +{{ else }} + {{ with default $.Site.Params.images $.Params.images }} + {{ $img = index . 0 | absURL }} + {{ end }} +{{ end }} + +{{ return $img }} diff --git a/docs/themes/hugo-geekdoc/layouts/partials/utils/title.html b/docs/themes/hugo-geekdoc/layouts/partials/utils/title.html new file mode 100644 index 00000000..a792c048 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/partials/utils/title.html @@ -0,0 +1,11 @@ +{{ $title := "" }} + +{{ if .Title }} + {{ $title = .Title }} +{{ else if and .IsSection .File }} + {{ $title = path.Base .File.Dir | humanize | title }} +{{ else if and .IsPage .File }} + {{ $title = .File.BaseFileName | humanize | title }} +{{ end }} + +{{ return $title }} diff --git a/docs/themes/hugo-geekdoc/layouts/posts/list.html b/docs/themes/hugo-geekdoc/layouts/posts/list.html new file mode 100644 index 00000000..ca0ea73a --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/posts/list.html @@ -0,0 +1,47 @@ +{{ define "main" }} + {{ range .Paginator.Pages }} + + {{ end }} + {{ partial "pagination.html" . }} +{{ end }} + +{{ define "post-tag" }} + +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/posts/single.html b/docs/themes/hugo-geekdoc/layouts/posts/single.html new file mode 100644 index 00000000..dea2a8c1 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/posts/single.html @@ -0,0 +1,13 @@ +{{ define "main" }} +
    +
    +

    {{ partial "utils/title" . }}

    + +
    +
    + {{ partial "utils/content" . }} +
    +
    +{{ end }} diff --git a/docs/themes/hugo-geekdoc/layouts/robots.txt b/docs/themes/hugo-geekdoc/layouts/robots.txt new file mode 100644 index 00000000..fb3345bb --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Disallow: /tags/* + +Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/button.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/button.html new file mode 100644 index 00000000..7c000a32 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/button.html @@ -0,0 +1,29 @@ +{{- $ref := "" }} +{{- $class := "" }} +{{- $size := default "regular" (.Get "size" | lower) }} + +{{- if not (in (slice "regular" "large") $size) }} + {{- $size = "regular" }} +{{- end }} + +{{- with .Get "href" }} + {{- $ref = . }} +{{- end }} + +{{- with .Get "relref" }} + {{- $ref = relref $ . }} +{{- end }} + +{{- with .Get "class" }} + {{- $class = . }} +{{- end }} + + + + + {{ $.Inner }} + + diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/columns.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/columns.html new file mode 100644 index 00000000..a359e414 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/columns.html @@ -0,0 +1,14 @@ +{{- $size := default "regular" (.Get "size" | lower) }} + +{{- if not (in (slice "regular" "large" "small") $size) }} + {{- $size = "regular" }} +{{- end }} + + +
    + {{- range split .Inner "<--->" }} +
    + {{ . | $.Page.RenderString -}} +
    + {{- end }} +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/expand.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/expand.html new file mode 100644 index 00000000..0ab3d2a3 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/expand.html @@ -0,0 +1,11 @@ +{{ $id := substr (sha1 .Inner) 0 8 }} +
    + + +
    + {{ .Inner | $.Page.RenderString }} +
    +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/hint.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/hint.html new file mode 100644 index 00000000..15149b6f --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/hint.html @@ -0,0 +1,16 @@ +{{ $type := default "note" (.Get "type") }} +{{ $icon := .Get "icon" }} +{{ $title := default ($type | title) (.Get "title") }} + + +
    +
    + {{- with $icon -}} + + {{ $title }} + {{- else -}} + + {{- end -}} +
    +
    {{ .Inner | $.Page.RenderString }}
    +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/icon.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/icon.html new file mode 100644 index 00000000..080b144a --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/icon.html @@ -0,0 +1,5 @@ +{{ $id := .Get 0 }} + +{{- with $id -}} + +{{- end -}} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/img.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/img.html new file mode 100644 index 00000000..70f38c3f --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/img.html @@ -0,0 +1,71 @@ +{{- $source := ($.Page.Resources.ByType "image").GetMatch (printf "%s" (.Get "name")) }} +{{- $customAlt := .Get "alt" }} +{{- $customSize := .Get "size" | lower }} +{{- $lazyLoad := default (default true $.Site.Params.geekdocImageLazyLoading) (.Get "lazy") }} +{{- $data := newScratch }} + +{{- with $source }} + {{- $caption := default .Title $customAlt }} + {{- $isSVG := (eq .MediaType.SubType "svg") }} + + {{- $origin := .Permalink }} + {{- if $isSVG }} + {{- $data.SetInMap "size" "profile" "180" }} + {{- $data.SetInMap "size" "tiny" "320" }} + {{- $data.SetInMap "size" "small" "600" }} + {{- $data.SetInMap "size" "medium" "1200" }} + {{- $data.SetInMap "size" "large" "1800" }} + {{- else }} + {{- $data.SetInMap "size" "profile" (.Fill "180x180 Center").Permalink }} + {{- $data.SetInMap "size" "tiny" (.Resize "320x").Permalink }} + {{- $data.SetInMap "size" "small" (.Resize "600x").Permalink }} + {{- $data.SetInMap "size" "medium" (.Resize "1200x").Permalink }} + {{- $data.SetInMap "size" "large" (.Resize "1800x").Permalink }} + {{- end }} + + +
    +
    + + + {{- $size := $data.Get "size" }} + {{- if not $isSVG }} + + {{- end }} + {{ $caption }} + + + {{- if not (eq $customSize "profile") }} + {{- with $caption }} +
    + {{ . }} + {{- with $source.Params.credits }} + {{ printf " (%s)" . | $.Page.RenderString }} + {{- end }} +
    + {{- end }} + {{- end }} +
    +
    +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/include.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/include.html new file mode 100644 index 00000000..4c395b3e --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/include.html @@ -0,0 +1,18 @@ +{{ $file := .Get "file" }} +{{ $page := .Site.GetPage $file }} +{{ $type := .Get "type" }} +{{ $language := .Get "language" }} +{{ $options :=.Get "options" }} + + +
    + {{- if (.Get "language") -}} + {{- highlight ($file | readFile) $language (default "linenos=table" $options) -}} + {{- else if eq $type "html" -}} + {{- $file | readFile | safeHTML -}} + {{- else if eq $type "page" -}} + {{- with $page }}{{ .Content }}{{ end -}} + {{- else -}} + {{- $file | readFile | $.Page.RenderString -}} + {{- end -}} +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/katex.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/katex.html new file mode 100644 index 00000000..559acb68 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/katex.html @@ -0,0 +1,18 @@ + +{{ if not (.Page.Scratch.Get "katex") }} + + + + {{ .Page.Scratch.Set "katex" true }} +{{ end }} + + + + {{ cond (in .Params "display") "\\[" "\\(" -}} + {{- trim .Inner "\n" -}} + {{- cond (in .Params "display") "\\]" "\\)" -}} + +{{- /* Drop trailing newlines */ -}} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/mermaid.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/mermaid.html new file mode 100644 index 00000000..71330163 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/mermaid.html @@ -0,0 +1,11 @@ + +{{ if not (.Page.Scratch.Get "mermaid") }} + + + {{ .Page.Scratch.Set "mermaid" true }} +{{ end }} + + +
    +  {{- .Inner -}}
    +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/progress.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/progress.html new file mode 100644 index 00000000..244f92e9 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/progress.html @@ -0,0 +1,23 @@ +{{- $value := default 0 (.Get "value") -}} +{{- $title := .Get "title" -}} +{{- $icon := .Get "icon" -}} + + +
    +
    +
    + {{ with $icon -}} + + {{- end }} + {{ with $title }}{{ . }}{{ end }} +
    +
    {{ $value }}%
    +
    +
    +
    +
    +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/propertylist.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/propertylist.html new file mode 100644 index 00000000..ec62a48e --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/propertylist.html @@ -0,0 +1,60 @@ +{{- $name := .Get "name" -}} +{{- $sort := .Get "sort" -}} +{{- $order := default "asc" (.Get "order") -}} +{{- $showAnchor := (and (default true .Page.Params.geekdocAnchor) (default true .Page.Site.Params.geekdocAnchor)) -}} + +{{- if .Site.Data.properties }} +
    + {{- with (index .Site.Data.properties (split $name ".")) }} + {{- $properties := .properties }} + {{- with $sort }} + {{- $properties = (sort $properties . $order) }} + {{- end }} + {{- range $properties }} +
    + {{ .name }} + {{- if .required }} + {{ i18n "propertylist_required" | lower }} + {{- else }} + {{ i18n "propertylist_optional" | lower }} + {{- end }} + {{- with .type }} + {{ . }} + {{- end }} + + {{- with .tags }} + {{- $tags := . }} + {{- if reflect.IsMap $tags }} + {{- $tags = (index $tags $.Site.Language.Lang) }} + {{- end }} + {{- range $tags }} + {{ . }} + {{- end }} + {{- end }} + {{- if $showAnchor }} + + + + {{- end }} +
    +
    +
    + {{- with .description }} + {{- $desc := . }} + {{- if reflect.IsMap $desc }} + {{- $desc = (index $desc $.Site.Language.Lang) }} + {{- end }} + {{ $desc | $.Page.RenderString }} + {{- end }} +
    +
    + {{- with default "none" (.defaultValue | string) }} + {{ i18n "propertylist_default" | title }}: + {{ . }} + {{- end }} +
    +
    + {{- end }} + {{- end }} +
    +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/tab.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/tab.html new file mode 100644 index 00000000..90b27274 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/tab.html @@ -0,0 +1,12 @@ +{{- if .Parent }} + {{- $name := .Get 0 }} + {{- $group := printf "tabs-%s" (.Parent.Get 0) }} + + {{- if not (.Parent.Scratch.Get $group) }} + {{- .Parent.Scratch.Set $group slice }} + {{- end }} + + {{- .Parent.Scratch.Add $group (dict "Name" $name "Content" .Inner) }} +{{- else }} + {{ errorf "%q: 'tab' shortcode must be inside 'tabs' shortcode" .Page.Path }} +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/tabs.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/tabs.html new file mode 100644 index 00000000..7d8671ec --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/tabs.html @@ -0,0 +1,22 @@ +{{- if .Inner }}{{ end }} +{{- $id := .Get 0 }} +{{- $group := printf "tabs-%s" $id }} + + +
    + {{- range $index, $tab := .Scratch.Get $group }} + + +
    + {{ .Content | $.Page.RenderString }} +
    + {{- end }} +
    diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/toc-tree.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/toc-tree.html new file mode 100644 index 00000000..13148ba1 --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/toc-tree.html @@ -0,0 +1,41 @@ +{{- $tocLevels := default (default 6 .Site.Params.geekdocToC) .Page.Params.geekdocToC }} + +{{- if $tocLevels }} +
    + {{ template "toc-tree" dict "sect" .Page.Pages }} +
    +{{- end }} + + + +{{- define "toc-tree" }} + +{{- end }} diff --git a/docs/themes/hugo-geekdoc/layouts/shortcodes/toc.html b/docs/themes/hugo-geekdoc/layouts/shortcodes/toc.html new file mode 100644 index 00000000..5d875eee --- /dev/null +++ b/docs/themes/hugo-geekdoc/layouts/shortcodes/toc.html @@ -0,0 +1,13 @@ +{{- $format := default "html" (.Get "format") }} +{{- $tocLevels := default (default 6 .Site.Params.geekdocToC) .Page.Params.geekdocToC }} + +{{- if and $tocLevels .Page.TableOfContents -}} + {{- if not (eq ($format | lower) "raw") -}} +
    + {{ .Page.TableOfContents }} +
    +
    + {{- else -}} + {{ .Page.TableOfContents }} + {{- end -}} +{{- end -}} diff --git a/docs/themes/hugo-geekdoc/static/brand.svg b/docs/themes/hugo-geekdoc/static/brand.svg new file mode 100644 index 00000000..3a09f01d --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/brand.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-geekdoc/static/custom.css b/docs/themes/hugo-geekdoc/static/custom.css new file mode 100644 index 00000000..e488c91a --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/custom.css @@ -0,0 +1 @@ +/* You can add custom styles here. */ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-144x144.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-144x144.png new file mode 100644 index 00000000..d5e64810 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-144x144.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-192x192.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-192x192.png new file mode 100644 index 00000000..b96ba6ea Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-192x192.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-256x256.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-256x256.png new file mode 100644 index 00000000..8243b375 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-256x256.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-36x36.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-36x36.png new file mode 100644 index 00000000..5624fe0c Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-36x36.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-384x384.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-384x384.png new file mode 100644 index 00000000..e9c6a30f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-384x384.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-48x48.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-48x48.png new file mode 100644 index 00000000..9b9baf2b Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-48x48.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-512x512.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-512x512.png new file mode 100644 index 00000000..847c3146 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-512x512.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-72x72.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-72x72.png new file mode 100644 index 00000000..592f66fb Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-72x72.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/android-chrome-96x96.png b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-96x96.png new file mode 100644 index 00000000..12c9988c Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/android-chrome-96x96.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-1024x1024.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-1024x1024.png new file mode 100644 index 00000000..ba47abec Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-1024x1024.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-114x114.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-114x114.png new file mode 100644 index 00000000..bdab2978 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-114x114.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-120x120.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-120x120.png new file mode 100644 index 00000000..3dd618d1 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-120x120.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-144x144.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-144x144.png new file mode 100644 index 00000000..feffad84 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-144x144.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-152x152.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-152x152.png new file mode 100644 index 00000000..11645c34 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-152x152.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-167x167.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-167x167.png new file mode 100644 index 00000000..c36a56c9 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-167x167.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-180x180.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-180x180.png new file mode 100644 index 00000000..d34586ff Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-180x180.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-57x57.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-57x57.png new file mode 100644 index 00000000..eda66bd3 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-57x57.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-60x60.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-60x60.png new file mode 100644 index 00000000..7de4a010 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-60x60.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-72x72.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-72x72.png new file mode 100644 index 00000000..b4abb377 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-72x72.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-76x76.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-76x76.png new file mode 100644 index 00000000..c93d59bb Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-76x76.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-precomposed.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-precomposed.png new file mode 100644 index 00000000..d34586ff Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon-precomposed.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon.png new file mode 100644 index 00000000..d34586ff Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-icon.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1125x2436.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1125x2436.png new file mode 100644 index 00000000..642d0254 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1125x2436.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1136x640.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1136x640.png new file mode 100644 index 00000000..103e015b Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1136x640.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1170x2532.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1170x2532.png new file mode 100644 index 00000000..b01493ba Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1170x2532.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1242x2208.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1242x2208.png new file mode 100644 index 00000000..8defb872 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1242x2208.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1242x2688.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1242x2688.png new file mode 100644 index 00000000..4f750f5f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1242x2688.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1284x2778.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1284x2778.png new file mode 100644 index 00000000..10e452f5 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1284x2778.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1334x750.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1334x750.png new file mode 100644 index 00000000..c6eefd60 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1334x750.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1536x2048.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1536x2048.png new file mode 100644 index 00000000..5e9b9cb6 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1536x2048.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1620x2160.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1620x2160.png new file mode 100644 index 00000000..c8647135 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1620x2160.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1668x2224.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1668x2224.png new file mode 100644 index 00000000..a2780d7a Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1668x2224.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1668x2388.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1668x2388.png new file mode 100644 index 00000000..bb39a1cf Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1668x2388.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1792x828.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1792x828.png new file mode 100644 index 00000000..dd39a3ff Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-1792x828.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2048x1536.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2048x1536.png new file mode 100644 index 00000000..6210c869 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2048x1536.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2048x2732.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2048x2732.png new file mode 100644 index 00000000..31e636c8 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2048x2732.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2160x1620.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2160x1620.png new file mode 100644 index 00000000..df73af01 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2160x1620.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2208x1242.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2208x1242.png new file mode 100644 index 00000000..a0b001d4 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2208x1242.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2224x1668.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2224x1668.png new file mode 100644 index 00000000..a8cb52a7 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2224x1668.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2388x1668.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2388x1668.png new file mode 100644 index 00000000..15fa8334 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2388x1668.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2436x1125.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2436x1125.png new file mode 100644 index 00000000..4e43260f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2436x1125.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2532x1170.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2532x1170.png new file mode 100644 index 00000000..21974e88 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2532x1170.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2688x1242.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2688x1242.png new file mode 100644 index 00000000..a4360a41 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2688x1242.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2732x2048.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2732x2048.png new file mode 100644 index 00000000..8f31a859 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2732x2048.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2778x1284.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2778x1284.png new file mode 100644 index 00000000..5ec7c943 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-2778x1284.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-640x1136.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-640x1136.png new file mode 100644 index 00000000..0da1acff Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-640x1136.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-750x1334.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-750x1334.png new file mode 100644 index 00000000..720a857a Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-750x1334.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-828x1792.png b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-828x1792.png new file mode 100644 index 00000000..311af222 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/apple-touch-startup-image-828x1792.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/browserconfig.xml b/docs/themes/hugo-geekdoc/static/favicon/browserconfig.xml new file mode 100644 index 00000000..3bdb582c --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/favicon/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #efefef + + + \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/favicon/favicon-16x16.png b/docs/themes/hugo-geekdoc/static/favicon/favicon-16x16.png new file mode 100644 index 00000000..fcd6f540 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/favicon-16x16.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/favicon-32x32.png b/docs/themes/hugo-geekdoc/static/favicon/favicon-32x32.png new file mode 100644 index 00000000..afedef10 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/favicon-32x32.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/favicon-48x48.png b/docs/themes/hugo-geekdoc/static/favicon/favicon-48x48.png new file mode 100644 index 00000000..f3b0f45b Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/favicon-48x48.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/favicon.ico b/docs/themes/hugo-geekdoc/static/favicon/favicon.ico new file mode 100644 index 00000000..e4cfde19 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/favicon.ico differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/favicon.svg b/docs/themes/hugo-geekdoc/static/favicon/favicon.svg new file mode 100644 index 00000000..8d899c57 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/favicon/favicon.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-geekdoc/static/favicon/manifest.json b/docs/themes/hugo-geekdoc/static/favicon/manifest.json new file mode 100644 index 00000000..aada2c12 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/favicon/manifest.json @@ -0,0 +1,69 @@ +{ + "name": null, + "short_name": null, + "description": null, + "dir": "auto", + "lang": "en-US", + "display": "standalone", + "orientation": "any", + "scope": "", + "start_url": "/?homescreen=1", + "background_color": "#efefef", + "theme_color": "#efefef", + "icons": [ + { + "src": "/favicon/android-chrome-36x36.png", + "sizes": "36x36", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-48x48.png", + "sizes": "48x48", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-72x72.png", + "sizes": "72x72", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-96x96.png", + "sizes": "96x96", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-144x144.png", + "sizes": "144x144", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] +} \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/favicon/mstile-144x144.png b/docs/themes/hugo-geekdoc/static/favicon/mstile-144x144.png new file mode 100644 index 00000000..d5e64810 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/mstile-144x144.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/mstile-150x150.png b/docs/themes/hugo-geekdoc/static/favicon/mstile-150x150.png new file mode 100644 index 00000000..8a50201d Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/mstile-150x150.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/mstile-310x150.png b/docs/themes/hugo-geekdoc/static/favicon/mstile-310x150.png new file mode 100644 index 00000000..e0f80ff0 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/mstile-310x150.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/mstile-310x310.png b/docs/themes/hugo-geekdoc/static/favicon/mstile-310x310.png new file mode 100644 index 00000000..26074c15 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/mstile-310x310.png differ diff --git a/docs/themes/hugo-geekdoc/static/favicon/mstile-70x70.png b/docs/themes/hugo-geekdoc/static/favicon/mstile-70x70.png new file mode 100644 index 00000000..d5d47bda Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/favicon/mstile-70x70.png differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/GeekdocIcons.woff b/docs/themes/hugo-geekdoc/static/fonts/GeekdocIcons.woff new file mode 100644 index 00000000..d685cd6f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/GeekdocIcons.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/GeekdocIcons.woff2 b/docs/themes/hugo-geekdoc/static/fonts/GeekdocIcons.woff2 new file mode 100644 index 00000000..2c209332 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/GeekdocIcons.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_AMS-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_AMS-Regular.woff new file mode 100644 index 00000000..b804d7b3 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_AMS-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_AMS-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_AMS-Regular.woff2 new file mode 100644 index 00000000..0acaaff0 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_AMS-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff new file mode 100644 index 00000000..9759710d Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff2 new file mode 100644 index 00000000..f390922e Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff new file mode 100644 index 00000000..9bdd534f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff2 new file mode 100644 index 00000000..75344a1f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff new file mode 100644 index 00000000..e7730f66 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff2 new file mode 100644 index 00000000..395f28be Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff new file mode 100644 index 00000000..acab069f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff2 new file mode 100644 index 00000000..735f6948 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Bold.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Bold.woff new file mode 100644 index 00000000..f38136ac Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Bold.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Bold.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Bold.woff2 new file mode 100644 index 00000000..ab2ad21d Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Bold.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff new file mode 100644 index 00000000..67807b0b Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff2 new file mode 100644 index 00000000..5931794d Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Italic.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Italic.woff new file mode 100644 index 00000000..6f43b594 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Italic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Italic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Italic.woff2 new file mode 100644 index 00000000..b50920e1 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Italic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Regular.woff new file mode 100644 index 00000000..21f58129 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Regular.woff2 new file mode 100644 index 00000000..eb24a7ba Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Main-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff new file mode 100644 index 00000000..0ae390d7 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff2 new file mode 100644 index 00000000..29657023 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-Italic.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-Italic.woff new file mode 100644 index 00000000..eb5159d4 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-Italic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-Italic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-Italic.woff2 new file mode 100644 index 00000000..215c143f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Math-Italic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff new file mode 100644 index 00000000..8d47c02d Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff2 new file mode 100644 index 00000000..cfaa3bda Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff new file mode 100644 index 00000000..7e02df96 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff2 new file mode 100644 index 00000000..349c06dc Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff new file mode 100644 index 00000000..31b84829 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff2 new file mode 100644 index 00000000..a90eea85 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Script-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Script-Regular.woff new file mode 100644 index 00000000..0e7da821 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Script-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Script-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Script-Regular.woff2 new file mode 100644 index 00000000..b3048fc1 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Script-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size1-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size1-Regular.woff new file mode 100644 index 00000000..7f292d91 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size1-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size1-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size1-Regular.woff2 new file mode 100644 index 00000000..c5a8462f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size1-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size2-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size2-Regular.woff new file mode 100644 index 00000000..d241d9be Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size2-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size2-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size2-Regular.woff2 new file mode 100644 index 00000000..e1bccfe2 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size2-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size3-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size3-Regular.woff new file mode 100644 index 00000000..e6e9b658 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size3-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size3-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size3-Regular.woff2 new file mode 100644 index 00000000..249a2866 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size3-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size4-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size4-Regular.woff new file mode 100644 index 00000000..e1ec5457 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size4-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size4-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size4-Regular.woff2 new file mode 100644 index 00000000..680c1308 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Size4-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff new file mode 100644 index 00000000..2432419f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff2 b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff2 new file mode 100644 index 00000000..771f1af7 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationMono.woff b/docs/themes/hugo-geekdoc/static/fonts/LiberationMono.woff new file mode 100644 index 00000000..05f5bd23 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationMono.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationMono.woff2 b/docs/themes/hugo-geekdoc/static/fonts/LiberationMono.woff2 new file mode 100644 index 00000000..3f4bb063 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationMono.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Bold.woff b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Bold.woff new file mode 100644 index 00000000..145ed9f7 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Bold.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Bold.woff2 b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Bold.woff2 new file mode 100644 index 00000000..b1659674 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Bold.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-BoldItalic.woff b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-BoldItalic.woff new file mode 100644 index 00000000..aa4c0c1f Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-BoldItalic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-BoldItalic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-BoldItalic.woff2 new file mode 100644 index 00000000..081c4d61 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-BoldItalic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Italic.woff b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Italic.woff new file mode 100644 index 00000000..ebe952e4 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Italic.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Italic.woff2 b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Italic.woff2 new file mode 100644 index 00000000..86f6521c Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans-Italic.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans.woff b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans.woff new file mode 100644 index 00000000..bb582d51 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/LiberationSans.woff2 b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans.woff2 new file mode 100644 index 00000000..796cb17b Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/LiberationSans.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/Metropolis.woff b/docs/themes/hugo-geekdoc/static/fonts/Metropolis.woff new file mode 100644 index 00000000..6b1342c2 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/Metropolis.woff differ diff --git a/docs/themes/hugo-geekdoc/static/fonts/Metropolis.woff2 b/docs/themes/hugo-geekdoc/static/fonts/Metropolis.woff2 new file mode 100644 index 00000000..d79d50a7 Binary files /dev/null and b/docs/themes/hugo-geekdoc/static/fonts/Metropolis.woff2 differ diff --git a/docs/themes/hugo-geekdoc/static/img/geekdoc-stack.svg b/docs/themes/hugo-geekdoc/static/img/geekdoc-stack.svg new file mode 100644 index 00000000..64aebb70 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/img/geekdoc-stack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/116-831698f6.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/116-831698f6.chunk.min.js new file mode 100644 index 00000000..7a18a713 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/116-831698f6.chunk.min.js @@ -0,0 +1 @@ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[116],{2116:function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var a={};return function(){n.d(a,{default:function(){return l}});var e=n(771),t=n.n(e),r=function(e,t,r){for(var n=r,a=0,i=e.length;n0&&(a.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));var s=t.findIndex((function(t){return e.startsWith(t.left)}));if(-1===(n=r(t[s].right,e,t[s].left.length)))break;var l=e.slice(0,n+t[s].right.length),h=i.test(l)?l:e.slice(t[s].left.length,n);a.push({type:"math",data:h,rawData:l,display:t[s].display}),e=e.slice(n+t[s].right.length)}return""!==e&&a.push({type:"text",data:e}),a}(e,n.delimiters);if(1===a.length&&"text"===a[0].type)return null;for(var o=document.createDocumentFragment(),s=0;s15?"…"+s.slice(n-15,n):s.slice(0,n))+l+(a+15":">","<":"<",'"':""","'":"'"},o=/[&><"']/g,s=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},l=function(e,t){return-1!==e.indexOf(t)},h=function(e,t){return void 0===e?t:e},c=function(e){return String(e).replace(o,(function(e){return i[e]}))},m=function(e){return e.replace(a,"-$1").toLowerCase()},u=s,p=function(e){var t=s(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},d=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},f={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:function(e){return"#"+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:function(e,t){return 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:function(e){return 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:function(e){return 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:function(e){return Math.max(0,e)},cli:"-e, --max-expand ",cliProcessor:function(e){return"Infinity"===e?1/0:parseInt(e)}},globalGroup:{type:"boolean",cli:!1}};function g(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{}}}var v=function(){function e(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||{},f)if(f.hasOwnProperty(t)){var r=f[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:g(r)}}var t=e.prototype;return t.reportNonstrict=function(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 n("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+"]")}},t.useStrictBehavior=function(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!(!n||"ignore"===n||!0!==n&&"error"!==n&&("warn"===n?("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 '"+n+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=d(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),y=function(){function e(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}var t=e.prototype;return t.sup=function(){return b[x[this.id]]},t.sub=function(){return b[w[this.id]]},t.fracNum=function(){return b[k[this.id]]},t.fracDen=function(){return b[S[this.id]]},t.cramp=function(){return b[M[this.id]]},t.text=function(){return b[z[this.id]]},t.isTight=function(){return this.size>=2},e}(),b=[new y(0,0,!1),new y(1,0,!0),new y(2,1,!1),new y(3,1,!0),new y(4,2,!1),new y(5,2,!0),new y(6,3,!1),new y(7,3,!0)],x=[4,5,4,5,6,7,6,7],w=[5,5,5,5,7,7,7,7],k=[2,3,4,5,6,7,6,7],S=[3,3,5,5,7,7,7,7],M=[1,1,3,3,5,5,7,7],z=[0,1,2,3,2,3,2,3],A={DISPLAY:b[0],TEXT:b[2],SCRIPT:b[4],SCRIPTSCRIPT:b[6]},T=[{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]]}],B=[];function C(e){for(var t=0;t=B[t]&&e<=B[t+1])return!0;return!1}T.forEach((function(e){return e.blocks.forEach((function(e){return B.push.apply(B,e)}))}));var N={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"},q=function(){function e(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={}}var t=e.prototype;return t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t=5?0:e>=3?1:2]){var r=E[t]={cssEmPerMu:R.quad[t]/18};for(var n in R)R.hasOwnProperty(n)&&(r[n]=R[n][t])}return E[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();V.BASESIZE=6;var F=V,G={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},U={ex:!0,em:!0,mu:!0},Y=function(e){return"string"!=typeof e&&(e=e.unit),e in G||e in U||"ex"===e},X=function(e,t){var r;if(e.unit in G)r=G[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 n("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},W=function(e){return+e.toFixed(4)+"em"},_=function(e){return e.filter((function(e){return e})).join(" ")},j=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 n=t.getColor();n&&(this.style.color=n)}},$=function(e){var t=document.createElement(e);for(var r in t.className=_(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var a=0;a"},K=function(){function e(e,t,r,n){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,j.call(this,e,r,n),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){return $.call(this,"span")},t.toMarkup=function(){return Z.call(this,"span")},e}(),J=function(){function e(e,t,r,n){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,j.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){return $.call(this,"a")},t.toMarkup=function(){return Z.call(this,"a")},e}(),Q=function(){function e(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}var t=e.prototype;return t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){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},t.toMarkup=function(){var e=""+this.alt+""},e}(),ee={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"},te=function(){function e(e,t,r,n,a,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=n||0,this.skew=a||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t=a[0]&&e<=a[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ee[this.text])}var t=e.prototype;return t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=W(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=_(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},t.toMarkup=function(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=m(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+c(r)+'"');var a=c(this.text);return e?(t+=">",t+=a,t+=""):a},e}(),re=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){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"},e}(),ne=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",N[this.pathName]),e},t.toMarkup=function(){return this.alternate?"":""},e}(),ae=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){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},t.toMarkup=function(){var e=""},e}();function ie(e){if(e instanceof te)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var oe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},se={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},le={math:{},text:{}},he=le;function ce(e,t,r,n,a,i){le[e][a]={font:t,group:r,replace:n},i&&n&&(le[e][n]=le[e][a])}var me="math",ue="text",pe="main",de="ams",fe="accent-token",ge="bin",ve="close",ye="inner",be="mathord",xe="op-token",we="open",ke="punct",Se="rel",Me="spacing",ze="textord";ce(me,pe,Se,"≡","\\equiv",!0),ce(me,pe,Se,"≺","\\prec",!0),ce(me,pe,Se,"≻","\\succ",!0),ce(me,pe,Se,"∼","\\sim",!0),ce(me,pe,Se,"⊥","\\perp"),ce(me,pe,Se,"⪯","\\preceq",!0),ce(me,pe,Se,"⪰","\\succeq",!0),ce(me,pe,Se,"≃","\\simeq",!0),ce(me,pe,Se,"∣","\\mid",!0),ce(me,pe,Se,"≪","\\ll",!0),ce(me,pe,Se,"≫","\\gg",!0),ce(me,pe,Se,"≍","\\asymp",!0),ce(me,pe,Se,"∥","\\parallel"),ce(me,pe,Se,"⋈","\\bowtie",!0),ce(me,pe,Se,"⌣","\\smile",!0),ce(me,pe,Se,"⊑","\\sqsubseteq",!0),ce(me,pe,Se,"⊒","\\sqsupseteq",!0),ce(me,pe,Se,"≐","\\doteq",!0),ce(me,pe,Se,"⌢","\\frown",!0),ce(me,pe,Se,"∋","\\ni",!0),ce(me,pe,Se,"∝","\\propto",!0),ce(me,pe,Se,"⊢","\\vdash",!0),ce(me,pe,Se,"⊣","\\dashv",!0),ce(me,pe,Se,"∋","\\owns"),ce(me,pe,ke,".","\\ldotp"),ce(me,pe,ke,"⋅","\\cdotp"),ce(me,pe,ze,"#","\\#"),ce(ue,pe,ze,"#","\\#"),ce(me,pe,ze,"&","\\&"),ce(ue,pe,ze,"&","\\&"),ce(me,pe,ze,"ℵ","\\aleph",!0),ce(me,pe,ze,"∀","\\forall",!0),ce(me,pe,ze,"ℏ","\\hbar",!0),ce(me,pe,ze,"∃","\\exists",!0),ce(me,pe,ze,"∇","\\nabla",!0),ce(me,pe,ze,"♭","\\flat",!0),ce(me,pe,ze,"ℓ","\\ell",!0),ce(me,pe,ze,"♮","\\natural",!0),ce(me,pe,ze,"♣","\\clubsuit",!0),ce(me,pe,ze,"℘","\\wp",!0),ce(me,pe,ze,"♯","\\sharp",!0),ce(me,pe,ze,"♢","\\diamondsuit",!0),ce(me,pe,ze,"ℜ","\\Re",!0),ce(me,pe,ze,"♡","\\heartsuit",!0),ce(me,pe,ze,"ℑ","\\Im",!0),ce(me,pe,ze,"♠","\\spadesuit",!0),ce(me,pe,ze,"§","\\S",!0),ce(ue,pe,ze,"§","\\S"),ce(me,pe,ze,"¶","\\P",!0),ce(ue,pe,ze,"¶","\\P"),ce(me,pe,ze,"†","\\dag"),ce(ue,pe,ze,"†","\\dag"),ce(ue,pe,ze,"†","\\textdagger"),ce(me,pe,ze,"‡","\\ddag"),ce(ue,pe,ze,"‡","\\ddag"),ce(ue,pe,ze,"‡","\\textdaggerdbl"),ce(me,pe,ve,"⎱","\\rmoustache",!0),ce(me,pe,we,"⎰","\\lmoustache",!0),ce(me,pe,ve,"⟯","\\rgroup",!0),ce(me,pe,we,"⟮","\\lgroup",!0),ce(me,pe,ge,"∓","\\mp",!0),ce(me,pe,ge,"⊖","\\ominus",!0),ce(me,pe,ge,"⊎","\\uplus",!0),ce(me,pe,ge,"⊓","\\sqcap",!0),ce(me,pe,ge,"∗","\\ast"),ce(me,pe,ge,"⊔","\\sqcup",!0),ce(me,pe,ge,"◯","\\bigcirc",!0),ce(me,pe,ge,"∙","\\bullet",!0),ce(me,pe,ge,"‡","\\ddagger"),ce(me,pe,ge,"≀","\\wr",!0),ce(me,pe,ge,"⨿","\\amalg"),ce(me,pe,ge,"&","\\And"),ce(me,pe,Se,"⟵","\\longleftarrow",!0),ce(me,pe,Se,"⇐","\\Leftarrow",!0),ce(me,pe,Se,"⟸","\\Longleftarrow",!0),ce(me,pe,Se,"⟶","\\longrightarrow",!0),ce(me,pe,Se,"⇒","\\Rightarrow",!0),ce(me,pe,Se,"⟹","\\Longrightarrow",!0),ce(me,pe,Se,"↔","\\leftrightarrow",!0),ce(me,pe,Se,"⟷","\\longleftrightarrow",!0),ce(me,pe,Se,"⇔","\\Leftrightarrow",!0),ce(me,pe,Se,"⟺","\\Longleftrightarrow",!0),ce(me,pe,Se,"↦","\\mapsto",!0),ce(me,pe,Se,"⟼","\\longmapsto",!0),ce(me,pe,Se,"↗","\\nearrow",!0),ce(me,pe,Se,"↩","\\hookleftarrow",!0),ce(me,pe,Se,"↪","\\hookrightarrow",!0),ce(me,pe,Se,"↘","\\searrow",!0),ce(me,pe,Se,"↼","\\leftharpoonup",!0),ce(me,pe,Se,"⇀","\\rightharpoonup",!0),ce(me,pe,Se,"↙","\\swarrow",!0),ce(me,pe,Se,"↽","\\leftharpoondown",!0),ce(me,pe,Se,"⇁","\\rightharpoondown",!0),ce(me,pe,Se,"↖","\\nwarrow",!0),ce(me,pe,Se,"⇌","\\rightleftharpoons",!0),ce(me,de,Se,"≮","\\nless",!0),ce(me,de,Se,"","\\@nleqslant"),ce(me,de,Se,"","\\@nleqq"),ce(me,de,Se,"⪇","\\lneq",!0),ce(me,de,Se,"≨","\\lneqq",!0),ce(me,de,Se,"","\\@lvertneqq"),ce(me,de,Se,"⋦","\\lnsim",!0),ce(me,de,Se,"⪉","\\lnapprox",!0),ce(me,de,Se,"⊀","\\nprec",!0),ce(me,de,Se,"⋠","\\npreceq",!0),ce(me,de,Se,"⋨","\\precnsim",!0),ce(me,de,Se,"⪹","\\precnapprox",!0),ce(me,de,Se,"≁","\\nsim",!0),ce(me,de,Se,"","\\@nshortmid"),ce(me,de,Se,"∤","\\nmid",!0),ce(me,de,Se,"⊬","\\nvdash",!0),ce(me,de,Se,"⊭","\\nvDash",!0),ce(me,de,Se,"⋪","\\ntriangleleft"),ce(me,de,Se,"⋬","\\ntrianglelefteq",!0),ce(me,de,Se,"⊊","\\subsetneq",!0),ce(me,de,Se,"","\\@varsubsetneq"),ce(me,de,Se,"⫋","\\subsetneqq",!0),ce(me,de,Se,"","\\@varsubsetneqq"),ce(me,de,Se,"≯","\\ngtr",!0),ce(me,de,Se,"","\\@ngeqslant"),ce(me,de,Se,"","\\@ngeqq"),ce(me,de,Se,"⪈","\\gneq",!0),ce(me,de,Se,"≩","\\gneqq",!0),ce(me,de,Se,"","\\@gvertneqq"),ce(me,de,Se,"⋧","\\gnsim",!0),ce(me,de,Se,"⪊","\\gnapprox",!0),ce(me,de,Se,"⊁","\\nsucc",!0),ce(me,de,Se,"⋡","\\nsucceq",!0),ce(me,de,Se,"⋩","\\succnsim",!0),ce(me,de,Se,"⪺","\\succnapprox",!0),ce(me,de,Se,"≆","\\ncong",!0),ce(me,de,Se,"","\\@nshortparallel"),ce(me,de,Se,"∦","\\nparallel",!0),ce(me,de,Se,"⊯","\\nVDash",!0),ce(me,de,Se,"⋫","\\ntriangleright"),ce(me,de,Se,"⋭","\\ntrianglerighteq",!0),ce(me,de,Se,"","\\@nsupseteqq"),ce(me,de,Se,"⊋","\\supsetneq",!0),ce(me,de,Se,"","\\@varsupsetneq"),ce(me,de,Se,"⫌","\\supsetneqq",!0),ce(me,de,Se,"","\\@varsupsetneqq"),ce(me,de,Se,"⊮","\\nVdash",!0),ce(me,de,Se,"⪵","\\precneqq",!0),ce(me,de,Se,"⪶","\\succneqq",!0),ce(me,de,Se,"","\\@nsubseteqq"),ce(me,de,ge,"⊴","\\unlhd"),ce(me,de,ge,"⊵","\\unrhd"),ce(me,de,Se,"↚","\\nleftarrow",!0),ce(me,de,Se,"↛","\\nrightarrow",!0),ce(me,de,Se,"⇍","\\nLeftarrow",!0),ce(me,de,Se,"⇏","\\nRightarrow",!0),ce(me,de,Se,"↮","\\nleftrightarrow",!0),ce(me,de,Se,"⇎","\\nLeftrightarrow",!0),ce(me,de,Se,"△","\\vartriangle"),ce(me,de,ze,"ℏ","\\hslash"),ce(me,de,ze,"▽","\\triangledown"),ce(me,de,ze,"◊","\\lozenge"),ce(me,de,ze,"Ⓢ","\\circledS"),ce(me,de,ze,"®","\\circledR"),ce(ue,de,ze,"®","\\circledR"),ce(me,de,ze,"∡","\\measuredangle",!0),ce(me,de,ze,"∄","\\nexists"),ce(me,de,ze,"℧","\\mho"),ce(me,de,ze,"Ⅎ","\\Finv",!0),ce(me,de,ze,"⅁","\\Game",!0),ce(me,de,ze,"‵","\\backprime"),ce(me,de,ze,"▲","\\blacktriangle"),ce(me,de,ze,"▼","\\blacktriangledown"),ce(me,de,ze,"■","\\blacksquare"),ce(me,de,ze,"⧫","\\blacklozenge"),ce(me,de,ze,"★","\\bigstar"),ce(me,de,ze,"∢","\\sphericalangle",!0),ce(me,de,ze,"∁","\\complement",!0),ce(me,de,ze,"ð","\\eth",!0),ce(ue,pe,ze,"ð","ð"),ce(me,de,ze,"╱","\\diagup"),ce(me,de,ze,"╲","\\diagdown"),ce(me,de,ze,"□","\\square"),ce(me,de,ze,"□","\\Box"),ce(me,de,ze,"◊","\\Diamond"),ce(me,de,ze,"¥","\\yen",!0),ce(ue,de,ze,"¥","\\yen",!0),ce(me,de,ze,"✓","\\checkmark",!0),ce(ue,de,ze,"✓","\\checkmark"),ce(me,de,ze,"ℶ","\\beth",!0),ce(me,de,ze,"ℸ","\\daleth",!0),ce(me,de,ze,"ℷ","\\gimel",!0),ce(me,de,ze,"ϝ","\\digamma",!0),ce(me,de,ze,"ϰ","\\varkappa"),ce(me,de,we,"┌","\\@ulcorner",!0),ce(me,de,ve,"┐","\\@urcorner",!0),ce(me,de,we,"└","\\@llcorner",!0),ce(me,de,ve,"┘","\\@lrcorner",!0),ce(me,de,Se,"≦","\\leqq",!0),ce(me,de,Se,"⩽","\\leqslant",!0),ce(me,de,Se,"⪕","\\eqslantless",!0),ce(me,de,Se,"≲","\\lesssim",!0),ce(me,de,Se,"⪅","\\lessapprox",!0),ce(me,de,Se,"≊","\\approxeq",!0),ce(me,de,ge,"⋖","\\lessdot"),ce(me,de,Se,"⋘","\\lll",!0),ce(me,de,Se,"≶","\\lessgtr",!0),ce(me,de,Se,"⋚","\\lesseqgtr",!0),ce(me,de,Se,"⪋","\\lesseqqgtr",!0),ce(me,de,Se,"≑","\\doteqdot"),ce(me,de,Se,"≓","\\risingdotseq",!0),ce(me,de,Se,"≒","\\fallingdotseq",!0),ce(me,de,Se,"∽","\\backsim",!0),ce(me,de,Se,"⋍","\\backsimeq",!0),ce(me,de,Se,"⫅","\\subseteqq",!0),ce(me,de,Se,"⋐","\\Subset",!0),ce(me,de,Se,"⊏","\\sqsubset",!0),ce(me,de,Se,"≼","\\preccurlyeq",!0),ce(me,de,Se,"⋞","\\curlyeqprec",!0),ce(me,de,Se,"≾","\\precsim",!0),ce(me,de,Se,"⪷","\\precapprox",!0),ce(me,de,Se,"⊲","\\vartriangleleft"),ce(me,de,Se,"⊴","\\trianglelefteq"),ce(me,de,Se,"⊨","\\vDash",!0),ce(me,de,Se,"⊪","\\Vvdash",!0),ce(me,de,Se,"⌣","\\smallsmile"),ce(me,de,Se,"⌢","\\smallfrown"),ce(me,de,Se,"≏","\\bumpeq",!0),ce(me,de,Se,"≎","\\Bumpeq",!0),ce(me,de,Se,"≧","\\geqq",!0),ce(me,de,Se,"⩾","\\geqslant",!0),ce(me,de,Se,"⪖","\\eqslantgtr",!0),ce(me,de,Se,"≳","\\gtrsim",!0),ce(me,de,Se,"⪆","\\gtrapprox",!0),ce(me,de,ge,"⋗","\\gtrdot"),ce(me,de,Se,"⋙","\\ggg",!0),ce(me,de,Se,"≷","\\gtrless",!0),ce(me,de,Se,"⋛","\\gtreqless",!0),ce(me,de,Se,"⪌","\\gtreqqless",!0),ce(me,de,Se,"≖","\\eqcirc",!0),ce(me,de,Se,"≗","\\circeq",!0),ce(me,de,Se,"≜","\\triangleq",!0),ce(me,de,Se,"∼","\\thicksim"),ce(me,de,Se,"≈","\\thickapprox"),ce(me,de,Se,"⫆","\\supseteqq",!0),ce(me,de,Se,"⋑","\\Supset",!0),ce(me,de,Se,"⊐","\\sqsupset",!0),ce(me,de,Se,"≽","\\succcurlyeq",!0),ce(me,de,Se,"⋟","\\curlyeqsucc",!0),ce(me,de,Se,"≿","\\succsim",!0),ce(me,de,Se,"⪸","\\succapprox",!0),ce(me,de,Se,"⊳","\\vartriangleright"),ce(me,de,Se,"⊵","\\trianglerighteq"),ce(me,de,Se,"⊩","\\Vdash",!0),ce(me,de,Se,"∣","\\shortmid"),ce(me,de,Se,"∥","\\shortparallel"),ce(me,de,Se,"≬","\\between",!0),ce(me,de,Se,"⋔","\\pitchfork",!0),ce(me,de,Se,"∝","\\varpropto"),ce(me,de,Se,"◀","\\blacktriangleleft"),ce(me,de,Se,"∴","\\therefore",!0),ce(me,de,Se,"∍","\\backepsilon"),ce(me,de,Se,"▶","\\blacktriangleright"),ce(me,de,Se,"∵","\\because",!0),ce(me,de,Se,"⋘","\\llless"),ce(me,de,Se,"⋙","\\gggtr"),ce(me,de,ge,"⊲","\\lhd"),ce(me,de,ge,"⊳","\\rhd"),ce(me,de,Se,"≂","\\eqsim",!0),ce(me,pe,Se,"⋈","\\Join"),ce(me,de,Se,"≑","\\Doteq",!0),ce(me,de,ge,"∔","\\dotplus",!0),ce(me,de,ge,"∖","\\smallsetminus"),ce(me,de,ge,"⋒","\\Cap",!0),ce(me,de,ge,"⋓","\\Cup",!0),ce(me,de,ge,"⩞","\\doublebarwedge",!0),ce(me,de,ge,"⊟","\\boxminus",!0),ce(me,de,ge,"⊞","\\boxplus",!0),ce(me,de,ge,"⋇","\\divideontimes",!0),ce(me,de,ge,"⋉","\\ltimes",!0),ce(me,de,ge,"⋊","\\rtimes",!0),ce(me,de,ge,"⋋","\\leftthreetimes",!0),ce(me,de,ge,"⋌","\\rightthreetimes",!0),ce(me,de,ge,"⋏","\\curlywedge",!0),ce(me,de,ge,"⋎","\\curlyvee",!0),ce(me,de,ge,"⊝","\\circleddash",!0),ce(me,de,ge,"⊛","\\circledast",!0),ce(me,de,ge,"⋅","\\centerdot"),ce(me,de,ge,"⊺","\\intercal",!0),ce(me,de,ge,"⋒","\\doublecap"),ce(me,de,ge,"⋓","\\doublecup"),ce(me,de,ge,"⊠","\\boxtimes",!0),ce(me,de,Se,"⇢","\\dashrightarrow",!0),ce(me,de,Se,"⇠","\\dashleftarrow",!0),ce(me,de,Se,"⇇","\\leftleftarrows",!0),ce(me,de,Se,"⇆","\\leftrightarrows",!0),ce(me,de,Se,"⇚","\\Lleftarrow",!0),ce(me,de,Se,"↞","\\twoheadleftarrow",!0),ce(me,de,Se,"↢","\\leftarrowtail",!0),ce(me,de,Se,"↫","\\looparrowleft",!0),ce(me,de,Se,"⇋","\\leftrightharpoons",!0),ce(me,de,Se,"↶","\\curvearrowleft",!0),ce(me,de,Se,"↺","\\circlearrowleft",!0),ce(me,de,Se,"↰","\\Lsh",!0),ce(me,de,Se,"⇈","\\upuparrows",!0),ce(me,de,Se,"↿","\\upharpoonleft",!0),ce(me,de,Se,"⇃","\\downharpoonleft",!0),ce(me,pe,Se,"⊶","\\origof",!0),ce(me,pe,Se,"⊷","\\imageof",!0),ce(me,de,Se,"⊸","\\multimap",!0),ce(me,de,Se,"↭","\\leftrightsquigarrow",!0),ce(me,de,Se,"⇉","\\rightrightarrows",!0),ce(me,de,Se,"⇄","\\rightleftarrows",!0),ce(me,de,Se,"↠","\\twoheadrightarrow",!0),ce(me,de,Se,"↣","\\rightarrowtail",!0),ce(me,de,Se,"↬","\\looparrowright",!0),ce(me,de,Se,"↷","\\curvearrowright",!0),ce(me,de,Se,"↻","\\circlearrowright",!0),ce(me,de,Se,"↱","\\Rsh",!0),ce(me,de,Se,"⇊","\\downdownarrows",!0),ce(me,de,Se,"↾","\\upharpoonright",!0),ce(me,de,Se,"⇂","\\downharpoonright",!0),ce(me,de,Se,"⇝","\\rightsquigarrow",!0),ce(me,de,Se,"⇝","\\leadsto"),ce(me,de,Se,"⇛","\\Rrightarrow",!0),ce(me,de,Se,"↾","\\restriction"),ce(me,pe,ze,"‘","`"),ce(me,pe,ze,"$","\\$"),ce(ue,pe,ze,"$","\\$"),ce(ue,pe,ze,"$","\\textdollar"),ce(me,pe,ze,"%","\\%"),ce(ue,pe,ze,"%","\\%"),ce(me,pe,ze,"_","\\_"),ce(ue,pe,ze,"_","\\_"),ce(ue,pe,ze,"_","\\textunderscore"),ce(me,pe,ze,"∠","\\angle",!0),ce(me,pe,ze,"∞","\\infty",!0),ce(me,pe,ze,"′","\\prime"),ce(me,pe,ze,"△","\\triangle"),ce(me,pe,ze,"Γ","\\Gamma",!0),ce(me,pe,ze,"Δ","\\Delta",!0),ce(me,pe,ze,"Θ","\\Theta",!0),ce(me,pe,ze,"Λ","\\Lambda",!0),ce(me,pe,ze,"Ξ","\\Xi",!0),ce(me,pe,ze,"Π","\\Pi",!0),ce(me,pe,ze,"Σ","\\Sigma",!0),ce(me,pe,ze,"Υ","\\Upsilon",!0),ce(me,pe,ze,"Φ","\\Phi",!0),ce(me,pe,ze,"Ψ","\\Psi",!0),ce(me,pe,ze,"Ω","\\Omega",!0),ce(me,pe,ze,"A","Α"),ce(me,pe,ze,"B","Β"),ce(me,pe,ze,"E","Ε"),ce(me,pe,ze,"Z","Ζ"),ce(me,pe,ze,"H","Η"),ce(me,pe,ze,"I","Ι"),ce(me,pe,ze,"K","Κ"),ce(me,pe,ze,"M","Μ"),ce(me,pe,ze,"N","Ν"),ce(me,pe,ze,"O","Ο"),ce(me,pe,ze,"P","Ρ"),ce(me,pe,ze,"T","Τ"),ce(me,pe,ze,"X","Χ"),ce(me,pe,ze,"¬","\\neg",!0),ce(me,pe,ze,"¬","\\lnot"),ce(me,pe,ze,"⊤","\\top"),ce(me,pe,ze,"⊥","\\bot"),ce(me,pe,ze,"∅","\\emptyset"),ce(me,de,ze,"∅","\\varnothing"),ce(me,pe,be,"α","\\alpha",!0),ce(me,pe,be,"β","\\beta",!0),ce(me,pe,be,"γ","\\gamma",!0),ce(me,pe,be,"δ","\\delta",!0),ce(me,pe,be,"ϵ","\\epsilon",!0),ce(me,pe,be,"ζ","\\zeta",!0),ce(me,pe,be,"η","\\eta",!0),ce(me,pe,be,"θ","\\theta",!0),ce(me,pe,be,"ι","\\iota",!0),ce(me,pe,be,"κ","\\kappa",!0),ce(me,pe,be,"λ","\\lambda",!0),ce(me,pe,be,"μ","\\mu",!0),ce(me,pe,be,"ν","\\nu",!0),ce(me,pe,be,"ξ","\\xi",!0),ce(me,pe,be,"ο","\\omicron",!0),ce(me,pe,be,"π","\\pi",!0),ce(me,pe,be,"ρ","\\rho",!0),ce(me,pe,be,"σ","\\sigma",!0),ce(me,pe,be,"τ","\\tau",!0),ce(me,pe,be,"υ","\\upsilon",!0),ce(me,pe,be,"ϕ","\\phi",!0),ce(me,pe,be,"χ","\\chi",!0),ce(me,pe,be,"ψ","\\psi",!0),ce(me,pe,be,"ω","\\omega",!0),ce(me,pe,be,"ε","\\varepsilon",!0),ce(me,pe,be,"ϑ","\\vartheta",!0),ce(me,pe,be,"ϖ","\\varpi",!0),ce(me,pe,be,"ϱ","\\varrho",!0),ce(me,pe,be,"ς","\\varsigma",!0),ce(me,pe,be,"φ","\\varphi",!0),ce(me,pe,ge,"∗","*",!0),ce(me,pe,ge,"+","+"),ce(me,pe,ge,"−","-",!0),ce(me,pe,ge,"⋅","\\cdot",!0),ce(me,pe,ge,"∘","\\circ",!0),ce(me,pe,ge,"÷","\\div",!0),ce(me,pe,ge,"±","\\pm",!0),ce(me,pe,ge,"×","\\times",!0),ce(me,pe,ge,"∩","\\cap",!0),ce(me,pe,ge,"∪","\\cup",!0),ce(me,pe,ge,"∖","\\setminus",!0),ce(me,pe,ge,"∧","\\land"),ce(me,pe,ge,"∨","\\lor"),ce(me,pe,ge,"∧","\\wedge",!0),ce(me,pe,ge,"∨","\\vee",!0),ce(me,pe,ze,"√","\\surd"),ce(me,pe,we,"⟨","\\langle",!0),ce(me,pe,we,"∣","\\lvert"),ce(me,pe,we,"∥","\\lVert"),ce(me,pe,ve,"?","?"),ce(me,pe,ve,"!","!"),ce(me,pe,ve,"⟩","\\rangle",!0),ce(me,pe,ve,"∣","\\rvert"),ce(me,pe,ve,"∥","\\rVert"),ce(me,pe,Se,"=","="),ce(me,pe,Se,":",":"),ce(me,pe,Se,"≈","\\approx",!0),ce(me,pe,Se,"≅","\\cong",!0),ce(me,pe,Se,"≥","\\ge"),ce(me,pe,Se,"≥","\\geq",!0),ce(me,pe,Se,"←","\\gets"),ce(me,pe,Se,">","\\gt",!0),ce(me,pe,Se,"∈","\\in",!0),ce(me,pe,Se,"","\\@not"),ce(me,pe,Se,"⊂","\\subset",!0),ce(me,pe,Se,"⊃","\\supset",!0),ce(me,pe,Se,"⊆","\\subseteq",!0),ce(me,pe,Se,"⊇","\\supseteq",!0),ce(me,de,Se,"⊈","\\nsubseteq",!0),ce(me,de,Se,"⊉","\\nsupseteq",!0),ce(me,pe,Se,"⊨","\\models"),ce(me,pe,Se,"←","\\leftarrow",!0),ce(me,pe,Se,"≤","\\le"),ce(me,pe,Se,"≤","\\leq",!0),ce(me,pe,Se,"<","\\lt",!0),ce(me,pe,Se,"→","\\rightarrow",!0),ce(me,pe,Se,"→","\\to"),ce(me,de,Se,"≱","\\ngeq",!0),ce(me,de,Se,"≰","\\nleq",!0),ce(me,pe,Me," ","\\ "),ce(me,pe,Me," ","\\space"),ce(me,pe,Me," ","\\nobreakspace"),ce(ue,pe,Me," ","\\ "),ce(ue,pe,Me," "," "),ce(ue,pe,Me," ","\\space"),ce(ue,pe,Me," ","\\nobreakspace"),ce(me,pe,Me,null,"\\nobreak"),ce(me,pe,Me,null,"\\allowbreak"),ce(me,pe,ke,",",","),ce(me,pe,ke,";",";"),ce(me,de,ge,"⊼","\\barwedge",!0),ce(me,de,ge,"⊻","\\veebar",!0),ce(me,pe,ge,"⊙","\\odot",!0),ce(me,pe,ge,"⊕","\\oplus",!0),ce(me,pe,ge,"⊗","\\otimes",!0),ce(me,pe,ze,"∂","\\partial",!0),ce(me,pe,ge,"⊘","\\oslash",!0),ce(me,de,ge,"⊚","\\circledcirc",!0),ce(me,de,ge,"⊡","\\boxdot",!0),ce(me,pe,ge,"△","\\bigtriangleup"),ce(me,pe,ge,"▽","\\bigtriangledown"),ce(me,pe,ge,"†","\\dagger"),ce(me,pe,ge,"⋄","\\diamond"),ce(me,pe,ge,"⋆","\\star"),ce(me,pe,ge,"◃","\\triangleleft"),ce(me,pe,ge,"▹","\\triangleright"),ce(me,pe,we,"{","\\{"),ce(ue,pe,ze,"{","\\{"),ce(ue,pe,ze,"{","\\textbraceleft"),ce(me,pe,ve,"}","\\}"),ce(ue,pe,ze,"}","\\}"),ce(ue,pe,ze,"}","\\textbraceright"),ce(me,pe,we,"{","\\lbrace"),ce(me,pe,ve,"}","\\rbrace"),ce(me,pe,we,"[","\\lbrack",!0),ce(ue,pe,ze,"[","\\lbrack",!0),ce(me,pe,ve,"]","\\rbrack",!0),ce(ue,pe,ze,"]","\\rbrack",!0),ce(me,pe,we,"(","\\lparen",!0),ce(me,pe,ve,")","\\rparen",!0),ce(ue,pe,ze,"<","\\textless",!0),ce(ue,pe,ze,">","\\textgreater",!0),ce(me,pe,we,"⌊","\\lfloor",!0),ce(me,pe,ve,"⌋","\\rfloor",!0),ce(me,pe,we,"⌈","\\lceil",!0),ce(me,pe,ve,"⌉","\\rceil",!0),ce(me,pe,ze,"\\","\\backslash"),ce(me,pe,ze,"∣","|"),ce(me,pe,ze,"∣","\\vert"),ce(ue,pe,ze,"|","\\textbar",!0),ce(me,pe,ze,"∥","\\|"),ce(me,pe,ze,"∥","\\Vert"),ce(ue,pe,ze,"∥","\\textbardbl"),ce(ue,pe,ze,"~","\\textasciitilde"),ce(ue,pe,ze,"\\","\\textbackslash"),ce(ue,pe,ze,"^","\\textasciicircum"),ce(me,pe,Se,"↑","\\uparrow",!0),ce(me,pe,Se,"⇑","\\Uparrow",!0),ce(me,pe,Se,"↓","\\downarrow",!0),ce(me,pe,Se,"⇓","\\Downarrow",!0),ce(me,pe,Se,"↕","\\updownarrow",!0),ce(me,pe,Se,"⇕","\\Updownarrow",!0),ce(me,pe,xe,"∐","\\coprod"),ce(me,pe,xe,"⋁","\\bigvee"),ce(me,pe,xe,"⋀","\\bigwedge"),ce(me,pe,xe,"⨄","\\biguplus"),ce(me,pe,xe,"⋂","\\bigcap"),ce(me,pe,xe,"⋃","\\bigcup"),ce(me,pe,xe,"∫","\\int"),ce(me,pe,xe,"∫","\\intop"),ce(me,pe,xe,"∬","\\iint"),ce(me,pe,xe,"∭","\\iiint"),ce(me,pe,xe,"∏","\\prod"),ce(me,pe,xe,"∑","\\sum"),ce(me,pe,xe,"⨂","\\bigotimes"),ce(me,pe,xe,"⨁","\\bigoplus"),ce(me,pe,xe,"⨀","\\bigodot"),ce(me,pe,xe,"∮","\\oint"),ce(me,pe,xe,"∯","\\oiint"),ce(me,pe,xe,"∰","\\oiiint"),ce(me,pe,xe,"⨆","\\bigsqcup"),ce(me,pe,xe,"∫","\\smallint"),ce(ue,pe,ye,"…","\\textellipsis"),ce(me,pe,ye,"…","\\mathellipsis"),ce(ue,pe,ye,"…","\\ldots",!0),ce(me,pe,ye,"…","\\ldots",!0),ce(me,pe,ye,"⋯","\\@cdots",!0),ce(me,pe,ye,"⋱","\\ddots",!0),ce(me,pe,ze,"⋮","\\varvdots"),ce(me,pe,fe,"ˊ","\\acute"),ce(me,pe,fe,"ˋ","\\grave"),ce(me,pe,fe,"¨","\\ddot"),ce(me,pe,fe,"~","\\tilde"),ce(me,pe,fe,"ˉ","\\bar"),ce(me,pe,fe,"˘","\\breve"),ce(me,pe,fe,"ˇ","\\check"),ce(me,pe,fe,"^","\\hat"),ce(me,pe,fe,"⃗","\\vec"),ce(me,pe,fe,"˙","\\dot"),ce(me,pe,fe,"˚","\\mathring"),ce(me,pe,be,"","\\@imath"),ce(me,pe,be,"","\\@jmath"),ce(me,pe,ze,"ı","ı"),ce(me,pe,ze,"ȷ","ȷ"),ce(ue,pe,ze,"ı","\\i",!0),ce(ue,pe,ze,"ȷ","\\j",!0),ce(ue,pe,ze,"ß","\\ss",!0),ce(ue,pe,ze,"æ","\\ae",!0),ce(ue,pe,ze,"œ","\\oe",!0),ce(ue,pe,ze,"ø","\\o",!0),ce(ue,pe,ze,"Æ","\\AE",!0),ce(ue,pe,ze,"Œ","\\OE",!0),ce(ue,pe,ze,"Ø","\\O",!0),ce(ue,pe,fe,"ˊ","\\'"),ce(ue,pe,fe,"ˋ","\\`"),ce(ue,pe,fe,"ˆ","\\^"),ce(ue,pe,fe,"˜","\\~"),ce(ue,pe,fe,"ˉ","\\="),ce(ue,pe,fe,"˘","\\u"),ce(ue,pe,fe,"˙","\\."),ce(ue,pe,fe,"¸","\\c"),ce(ue,pe,fe,"˚","\\r"),ce(ue,pe,fe,"ˇ","\\v"),ce(ue,pe,fe,"¨",'\\"'),ce(ue,pe,fe,"˝","\\H"),ce(ue,pe,fe,"◯","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};ce(ue,pe,ze,"–","--",!0),ce(ue,pe,ze,"–","\\textendash"),ce(ue,pe,ze,"—","---",!0),ce(ue,pe,ze,"—","\\textemdash"),ce(ue,pe,ze,"‘","`",!0),ce(ue,pe,ze,"‘","\\textquoteleft"),ce(ue,pe,ze,"’","'",!0),ce(ue,pe,ze,"’","\\textquoteright"),ce(ue,pe,ze,"“","``",!0),ce(ue,pe,ze,"“","\\textquotedblleft"),ce(ue,pe,ze,"”","''",!0),ce(ue,pe,ze,"”","\\textquotedblright"),ce(me,pe,ze,"°","\\degree",!0),ce(ue,pe,ze,"°","\\degree"),ce(ue,pe,ze,"°","\\textdegree",!0),ce(me,pe,ze,"£","\\pounds"),ce(me,pe,ze,"£","\\mathsterling",!0),ce(ue,pe,ze,"£","\\pounds"),ce(ue,pe,ze,"£","\\textsterling",!0),ce(me,de,ze,"✠","\\maltese"),ce(ue,de,ze,"✠","\\maltese");for(var Te=0;Te<14;Te++){var Be='0123456789/@."'.charAt(Te);ce(me,pe,ze,Be,Be)}for(var Ce=0;Ce<25;Ce++){var Ne='0123456789!@*()-=+";:?/.,'.charAt(Ce);ce(ue,pe,ze,Ne,Ne)}for(var qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ie=0;Ie<52;Ie++){var Re=qe.charAt(Ie);ce(me,pe,be,Re,Re),ce(ue,pe,ze,Re,Re)}ce(me,de,ze,"C","ℂ"),ce(ue,de,ze,"C","ℂ"),ce(me,de,ze,"H","ℍ"),ce(ue,de,ze,"H","ℍ"),ce(me,de,ze,"N","ℕ"),ce(ue,de,ze,"N","ℕ"),ce(me,de,ze,"P","ℙ"),ce(ue,de,ze,"P","ℙ"),ce(me,de,ze,"Q","ℚ"),ce(ue,de,ze,"Q","ℚ"),ce(me,de,ze,"R","ℝ"),ce(ue,de,ze,"R","ℝ"),ce(me,de,ze,"Z","ℤ"),ce(ue,de,ze,"Z","ℤ"),ce(me,pe,be,"h","ℎ"),ce(ue,pe,be,"h","ℎ");for(var He="",Oe=0;Oe<52;Oe++){var Ee=qe.charAt(Oe);ce(me,pe,be,Ee,He=String.fromCharCode(55349,56320+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56372+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56424+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56580+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56684+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56736+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56788+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56840+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56944+Oe)),ce(ue,pe,ze,Ee,He),Oe<26&&(ce(me,pe,be,Ee,He=String.fromCharCode(55349,56632+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56476+Oe)),ce(ue,pe,ze,Ee,He))}ce(me,pe,be,"k",He=String.fromCharCode(55349,56668)),ce(ue,pe,ze,"k",He);for(var Le=0;Le<10;Le++){var De=Le.toString();ce(me,pe,be,De,He=String.fromCharCode(55349,57294+Le)),ce(ue,pe,ze,De,He),ce(me,pe,be,De,He=String.fromCharCode(55349,57314+Le)),ce(ue,pe,ze,De,He),ce(me,pe,be,De,He=String.fromCharCode(55349,57324+Le)),ce(ue,pe,ze,De,He),ce(me,pe,be,De,He=String.fromCharCode(55349,57334+Le)),ce(ue,pe,ze,De,He)}for(var Pe=0;Pe<3;Pe++){var Ve="ÐÞþ".charAt(Pe);ce(me,pe,be,Ve,Ve),ce(ue,pe,ze,Ve,Ve)}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:O(e,t,r)}},Ye=function(e,t,r,n,a){var i,o=Ue(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new te(e,s.height,s.depth,l,s.skew,s.width,a)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new te(e,0,0,0,0,0,a);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var h=n.getColor();h&&(i.style.color=h)}return i},Xe=function(e,t){if(_(e.classes)!==_(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 n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},We=function(e){for(var t=0,r=0,n=0,a=0;at&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},_e=function(e,t,r,n){var a=new K(e,t,r,n);return We(a),a},je=function(e,t,r,n){return new K(e,t,r,n)},$e=function(e){var t=new q(e);return We(t),t},Ze=function(e,t,r){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("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,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&Ue(e,"Main-Bold",t).metrics?Ye(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===he[t][e].font?Ye(e,"Main-Regular",t,r,n):Ye(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:_e,makeSvgSpan:je,makeLineSpan:function(e,t,r){var n=_e([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=W(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var a=new J(e,t,r,n);return We(a),a},makeFragment:$e,wrapFragment:function(e,t){return e instanceof q?_e([],[e],t):e},makeVList:function(e,t){for(var r=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,a=n,i=1;i0)return Ye(i,h,a,t,o.concat(c));if(l){var u,p;if("boldsymbol"===l){var d=function(e,t,r,n,a){return"textord"!==a&&Ue(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(i,a,0,0,r);u=d.fontName,p=[d.fontClass]}else s?(u=Ke[l].fontName,p=[l]):(u=Ze(l,t.fontWeight,t.fontShape),p=[l,t.fontWeight,t.fontShape]);if(Ue(i,u,a).metrics)return Ye(i,u,a,t,o.concat(p));if(Ae.hasOwnProperty(i)&&"Typewriter"===u.slice(0,10)){for(var f=[],g=0;g0&&(o.push(Mt(s,t)),s=[]),o.push(a[l]));s.length>0&&o.push(Mt(s,t)),r?((i=Mt(vt(r,t,!0))).classes=["tag"],o.push(i)):n&&o.push(n);var c=ut(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),i){var m=i.children[0];m.style.height=W(c.height+c.depth),c.depth&&(m.style.verticalAlign=W(-c.depth))}return c}function At(e){return new q(e)}var Tt=function(){function e(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||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){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=_(this.classes));for(var r=0;r0&&(e+=' class ="'+c(_(this.classes))+'"'),e+=">";for(var r=0;r"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),Bt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return c(this.toText())},t.toText=function(){return this.text},e}(),Ct={MathNode:Tt,TextNode:Bt,SpaceNode:function(){function e(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}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",W(this.width)),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:At},Nt=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 Ct.TextNode(e)},qt=function(e){return 1===e.length?e[0]:new Ct.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 n=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 a=e.text;return l(["\\imath","\\jmath"],a)?null:(he[n][a]&&he[n][a].replace&&(a=he[n][a].replace),O(a,Qe.fontMap[r].fontName,n)?Qe.fontMap[r].variant:null)},Rt=function(e,t,r){if(1===e.length){var n=Ot(e[0],t);return r&&n instanceof Tt&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a,i=[],o=0;o0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(s),a=s}return i},Ht=function(e,t,r){return qt(Rt(e,t,r))},Ot=function(e,t){if(!e)return new Ct.MathNode("mrow");if(st[e.type])return st[e.type](e,t);throw new n("Got group of unknown type: '"+e.type+"'")};function Et(e,t,r,n,a){var i,o=Rt(e,r);i=1===o.length&&o[0]instanceof Tt&&l(["mrow","mtable"],o[0].type)?o[0]:new Ct.MathNode("mrow",o);var s=new Ct.MathNode("annotation",[new Ct.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var h=new Ct.MathNode("semantics",[i,s]),c=new Ct.MathNode("math",[h]);return c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block"),Qe.makeSpan([a?"katex":"katex-mathml"],[c])}var Lt=function(e){return new F({style:e.displayMode?A.DISPLAY:A.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},Pt={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":"="},Vt={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 Ct.MathNode("mo",[new Ct.TextNode(Pt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Gt=function(e,t){var r=function(){var r=4e5,n=e.label.slice(1);if(l(["widehat","widecheck","widetilde","utilde"],n)){var a,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(a=420,r=2364,o=.42,i=n+"4"):(a=312,r=2340,o=.34,i="tilde4");else{var h=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][h],a=[0,239,300,360,420][h],o=[0,.24,.3,.3,.36,.42][h],i=n+h):(r=[0,600,1033,2339,2340][h],a=[0,260,286,306,312][h],o=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var c=new ne(i),m=new re([c],{width:"100%",height:W(o),viewBox:"0 0 "+r+" "+a,preserveAspectRatio:"none"});return{span:Qe.makeSvgSpan([],[m],t),minWidth:0,height:o}}var u,p,d,f=[],g=Vt[n],v=g[0],y=g[1],b=g[2],x=b/1e3,w=v.length;if(1===w)u=["hide-tail"],p=[g[3]];else if(2===w)u=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");u=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(n.style.minWidth=W(a)),n};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||se.hasOwnProperty(e.type))?e:null}var Wt=function(e,t){var r,n,a;e&&"supsub"===e.type?(r=(n=Ut(e.base,"accent")).base,e.base=r,a=function(e){if(e instanceof K)return e;throw new Error("Expected span but got "+String(e)+".")}(St(e,t)),e.base=n):r=(n=Ut(e,"accent")).base;var i=St(r,t.havingCrampedStyle()),o=0;if(n.isShifty&&p(r)){var s=u(r);o=ie(St(s,t.havingCrampedStyle())).skew}var l,h="\\c"===n.label,c=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)l=Gt(n,t),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+W(2*o)+")",marginLeft:W(2*o)}:void 0}]},t);else{var m,d;"\\vec"===n.label?(m=Qe.staticSvg("vec",t),d=Qe.svgData.vec[1]):((m=ie(m=Qe.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,d=m.width,h&&(c+=m.depth)),l=Qe.makeSpan(["accent-body"],[m]);var f="\\textcircled"===n.label;f&&(l.classes.push("accent-full"),c=i.height);var g=o;f||(g-=d/2),l.style.left=W(g),"\\textcircled"===n.label&&(l.style.top=".2em"),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:l}]},t)}var v=Qe.makeSpan(["mord","accent"],[l],t);return a?(a.children[0]=v,a.height=Math.max(v.height,a.height),a.classes[0]="mord",a):v},_t=function(e,t){var r=e.isStretchy?Ft(e.label):new Ct.MathNode("mo",[Nt(e.label,e.mode)]),n=new Ct.MathNode("mover",[Ot(e.base,t),r]);return n.setAttribute("accent","true"),n},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+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:function(e,t){var r=ct(t[0]),n=!jt.test(e.funcName),a=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,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:function(e,t){var r=t[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,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:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:function(e,t){var r=St(e.base,t),n=Gt(e,t),a="\\utilde"===e.label?.12:0,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var r=Ft(e.label),n=new Ct.MathNode("munder",[Ot(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var $t=function(e){var t=new Ct.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:function(e,t,r){var n=e.parser,a=e.funcName;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder:function(e,t){var r,n=t.style,a=t.havingStyle(n.sup()),i=Qe.wrapFragment(St(e.body,a,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(a=t.havingStyle(n.sub()),(r=Qe.wrapFragment(St(e.below,a,t),t)).classes.push(o+"-arrow-pad"));var s,l=Gt(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var m=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:m}]},t)}else s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{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:function(e,t){var r,n=Ft(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var a=$t(Ot(e.body,t));if(e.below){var i=$t(Ot(e.below,t));r=new Ct.MathNode("munderover",[n,i,a])}else r=new Ct.MathNode("mover",[n,a])}else if(e.below){var o=$t(Ot(e.below,t));r=new Ct.MathNode("munder",[n,o])}else r=$t(),r=new Ct.MathNode("mover",[n,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,n=Rt(e.body,t);return"minner"===e.mclass?r=new Ct.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new Ct.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new Ct.MathNode("mo",n),"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:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:mt(a),isCharacterBox:p(a)}},htmlBuilder:Kt,mathmlBuilder:Jt});var Qt=function(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:function(e,t){return{type:"mclass",mode:e.parser.mode,mclass:Qt(t[0]),body:mt(t[1]),isCharacterBox:p(t[1])}}}),lt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var r,n=e.parser,a=e.funcName,i=t[1],o=t[0];r="\\stackrel"!==a?Qt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==a,body:mt(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===a?null:o,sub:"\\underset"===a?o:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:p(l)}},htmlBuilder:Kt,mathmlBuilder:Jt}),lt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"pmb",mode:e.parser.mode,mclass:Qt(t[0]),body:mt(t[0])}},htmlBuilder:function(e,t){var r=vt(e.body,t,!0),n=Qe.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder:function(e,t){var r=Rt(e.body,t),n=new Ct.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var er={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tr=function(e){return"textord"===e.type&&"@"===e.text};function rr(e,t,r){var n=er[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var a={type:"atom",text:n,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[a],[]),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:function(e,t){var r=e.parser,n=e.funcName;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder:function(e,t){var r=t.havingStyle(t.style.sup()),n=Qe.wrapFragment(St(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=W(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mrow",[Ot(e.label,t)]);return(r=new Ct.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Ct.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),lt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(e,t){return{type:"cdlabelparent",mode:e.parser.mode,fragment:t[0]}},htmlBuilder:function(e,t){var r=Qe.wrapFragment(St(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:function(e,t){return new Ct.MathNode("mrow",[Ot(e.fragment,t)])}}),lt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var r=e.parser,a=Ut(t[0],"ordgroup").body,i="",o=0;o=1114111)throw new n("\\@char with invalid code point "+i);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 nr=function(e,t){var r=vt(e.body,t.withColor(e.color),!1);return Qe.makeFragment(r)},ar=function(e,t){var r=Rt(e.body,t.withColor(e.color)),n=new Ct.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};lt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(e,t){var r=e.parser,n=Ut(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:mt(a)}},htmlBuilder:nr,mathmlBuilder:ar}),lt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(e,t){var r=e.parser,n=e.breakOnTokenText,a=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:nr,mathmlBuilder:ar}),lt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(e,t,r){var n=e.parser,a="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Ut(a,"size").value}},htmlBuilder:function(e,t){var r=Qe.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=W(X(e.size,t)))),r},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",W(X(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=function(e){var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new n("Expected a control sequence",e);return t},sr=function(e,t,r,n){var a=e.gullet.macros.get(r.text);null==a&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};lt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(e){var t=e.parser,r=e.funcName;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 n("Invalid token after macro prefix",a)}}),lt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,a=t.gullet.popToken(),i=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new n("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 n('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new n('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new n("Expected a macro definition");l[s].push(a.text)}var h=t.gullet.consumeArg().tokens;return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(i,{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:function(e){var t=e.parser,r=e.funcName,n=or(t.gullet.popToken());t.gullet.consumeSpaces();var a=function(e){var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t}(t);return sr(t,n,a,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,n=or(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return sr(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var lr=function(e,t,r){var n=O(he.math[e]&&he.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},hr=function(e,t,r,n){var a=r.havingBaseStyle(t),i=Qe.makeSpan(n.concat(a.sizingClasses(r)),[e],r),o=a.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},cr=function(e,t,r){var n=t.havingBaseStyle(r),a=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=W(a),e.height-=a,e.depth+=a},mr=function(e,t,r,n,a,i){var o=function(e,t,r,n){return Qe.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,a,n),s=hr(Qe.makeSpan(["delimsizing","size"+t],[o],n),A.TEXT,n,i);return r&&cr(s,n,A.TEXT),s},ur=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)])])}},pr=function(e,t,r){var n=I["Size4-Regular"][e.charCodeAt(0)]?I["Size4-Regular"][e.charCodeAt(0)][4]:I["Size1-Regular"][e.charCodeAt(0)][4],a=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 re([a],{width:W(n),height:W(t),style:"width:"+W(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Qe.makeSvgSpan([],[i],r);return o.height=t,o.style.height=W(t),o.style.width=W(n),{type:"elem",elem:o}},dr={type:"kern",size:-.008},fr=["|","\\lvert","\\rvert","\\vert"],gr=["\\|","\\lVert","\\rVert","\\Vert"],vr=function(e,t,r,n,a,i){var o,s,h,c,m="",u=0;o=h=c=e,s=null;var p="Size1-Regular";"\\uparrow"===e?h=c="⏐":"\\Uparrow"===e?h=c="‖":"\\downarrow"===e?o=h="⏐":"\\Downarrow"===e?o=h="‖":"\\updownarrow"===e?(o="\\uparrow",h="⏐",c="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",h="‖",c="\\Downarrow"):l(fr,e)?(h="∣",m="vert",u=333):l(gr,e)?(h="∥",m="doublevert",u=556):"["===e||"\\lbrack"===e?(o="⎡",h="⎢",c="⎣",p="Size4-Regular",m="lbrack",u=667):"]"===e||"\\rbrack"===e?(o="⎤",h="⎥",c="⎦",p="Size4-Regular",m="rbrack",u=667):"\\lfloor"===e||"⌊"===e?(h=o="⎢",c="⎣",p="Size4-Regular",m="lfloor",u=667):"\\lceil"===e||"⌈"===e?(o="⎡",h=c="⎢",p="Size4-Regular",m="lceil",u=667):"\\rfloor"===e||"⌋"===e?(h=o="⎥",c="⎦",p="Size4-Regular",m="rfloor",u=667):"\\rceil"===e||"⌉"===e?(o="⎤",h=c="⎥",p="Size4-Regular",m="rceil",u=667):"("===e||"\\lparen"===e?(o="⎛",h="⎜",c="⎝",p="Size4-Regular",m="lparen",u=875):")"===e||"\\rparen"===e?(o="⎞",h="⎟",c="⎠",p="Size4-Regular",m="rparen",u=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",c="⎩",h="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",c="⎭",h="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",c="⎩",h="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",c="⎭",h="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",c="⎭",h="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",c="⎩",h="⎪",p="Size4-Regular");var d=lr(o,p,a),f=d.height+d.depth,g=lr(h,p,a),v=g.height+g.depth,y=lr(c,p,a),b=y.height+y.depth,x=0,w=1;if(null!==s){var k=lr(s,p,a);x=k.height+k.depth,w=2}var S=f+b+x,M=S+Math.max(0,Math.ceil((t-S)/(w*v)))*w*v,z=n.fontMetrics().axisHeight;r&&(z*=n.sizeMultiplier);var T=M/2-z,B=[];if(m.length>0){var C=M-f-b,N=Math.round(1e3*M),q=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.")}}(m,Math.round(1e3*C)),I=new ne(m,q),R=(u/1e3).toFixed(3)+"em",H=(N/1e3).toFixed(3)+"em",O=new re([I],{width:R,height:H,viewBox:"0 0 "+u+" "+N}),E=Qe.makeSvgSpan([],[O],n);E.height=N/1e3,E.style.width=R,E.style.height=H,B.push({type:"elem",elem:E})}else{if(B.push(ur(c,p,a)),B.push(dr),null===s){var L=M-f-b+.016;B.push(pr(h,L,n))}else{var D=(M-f-b-x)/2+.016;B.push(pr(h,D,n)),B.push(dr),B.push(ur(s,p,a)),B.push(dr),B.push(pr(h,D,n))}B.push(dr),B.push(ur(o,p,a))}var P=n.havingBaseStyle(A.TEXT),V=Qe.makeVList({positionType:"bottom",positionData:T,children:B},P);return hr(Qe.makeSpan(["delimsizing","mult"],[V],P),A.TEXT,n,i)},yr=.08,br=function(e,t,r,n,a){var i=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e,t){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":n=function(e,t){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":n=function(e,t){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":n=function(e,t){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":n=function(e,t){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":n=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 n}(e,n,r),o=new ne(e,i),s=new re([o],{width:"400em",height:W(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Qe.makeSvgSpan(["hide-tail"],[s],a)},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:A.SCRIPTSCRIPT},{type:"small",style:A.SCRIPT},{type:"small",style:A.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:A.SCRIPTSCRIPT},{type:"small",style:A.SCRIPT},{type:"small",style:A.TEXT},{type:"stack"}],Ar=[{type:"small",style:A.SCRIPTSCRIPT},{type:"small",style:A.SCRIPT},{type:"small",style:A.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,n){for(var a=Math.min(2,3-n.style.size);at)return r[a]}return r[r.length-1]},Cr=function(e,t,r,n,a,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=l(kr,e)?Mr:l(xr,e)?Ar:zr;var s=Br(e,t,o,n);return"small"===s.type?function(e,t,r,n,a,i){var o=Qe.makeSymbol(e,"Main-Regular",a,n),s=hr(o,t,n,i);return r&&cr(s,n,t),s}(e,s.style,r,n,a,i):"large"===s.type?mr(e,s.size,r,n,a,i):vr(e,t,r,n,a,i)},Nr={sqrtImage:function(e,t){var r,n,a=t.havingBaseSizing(),i=Br("\\surd",e*a.sizeMultiplier,Ar,a),o=a.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,c=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=br("sqrtMain",l=(1+s+yr)/o,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/o):"large"===i.type?(c=1080*Sr[i.size],h=(Sr[i.size]+s)/o,l=(Sr[i.size]+s+yr)/o,(r=br("sqrtSize"+i.size,l,c,s,t)).style.minWidth="1.02em",n=1/o):(l=e+s+yr,h=e+s,c=Math.floor(1e3*e+s)+80,(r=br("sqrtTall",l,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=h,r.style.height=W(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),l(xr,e)||l(kr,e))return mr(e,t,!1,r,a,i);if(l(wr,e))return vr(e,Sr[t],!1,r,a,i);throw new n("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Cr,leftRightDelim:function(e,t,r,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Cr(e,h,!0,n,a,i)}},qr={"\\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&&l(Ir,r.text))return r;throw new n(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:function(e,t){var r=Rr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:qr[e.funcName].size,mclass:qr[e.funcName].mclass,delim:r.text}},htmlBuilder:function(e,t){return"."===e.delim?Qe.makeSpan([e.mclass]):Nr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(Nt(e.delim,e.mode));var r=new Ct.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=W(Nr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),lt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new n("\\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:function(e,t){var r=Rr(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ut(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){Hr(e);for(var r,n,a=vt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l-1?"mpadded":"menclose",[Ot(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};lt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(e,t,r){var n=e.parser,a=e.funcName,i=Ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(e,t,r){var n=e.parser,a=e.funcName,i=Ut(t[0],"color-token").color,o=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),lt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\angl",body:t[0]}}});var Lr={};function Dr(e){for(var t=e.type,r=e.names,n=e.props,a=e.handler,i=e.htmlBuilder,o=e.mathmlBuilder,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l1||!m)&&g.pop(),y.length0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(S<(B+=y)&&(S=B),B=0),e.addJot&&(S+=f),M.height=k,M.depth=S,b+=k,M.pos=b,b+=S+B,l[r]=M,x(o[r+1])}var C,N,q=b/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((function(e){return e})))for(r=0;r=s)){var Y=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(Y=h(P.pregap,p))&&((C=Qe.makeSpan(["arraycolsep"],[])).style.width=W(Y),R.push(C));var _=[];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}];c.length>0;){var ee=c.pop(),te=ee.pos-q;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 "},Zr=function(e,t){for(var r=[],n=new Ct.MathNode("mtd",[],["mtr-glue"]),a=new Ct.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var p=e.cols,d="",f=!1,g=0,v=p.length;"separator"===p[0].type&&(m+="top ",g=1),"separator"===p[p.length-1].type&&(m+="bottom ",v-=1);for(var y=g;y0?"left ":"",m+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Wr(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Xr(e.envName),emptySingleRow:!0,colSeparationType:i,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 c="",m=0;m0&&u&&(f=1),a[p]={type:"align",align:d,pregap:f,postgap:0}}return s.colSeparationType=u?"align":"alignat",s};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(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 n("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Wr(e.parser,a,_r(e.envName))},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(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 i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,-1==="lcr".indexOf(r))throw new n("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),a.cols=[{type:"align",align:r}]}}var o=Wr(e.parser,a,_r(e.envName)),s=Math.max.apply(Math,[0].concat(o.body.map((function(e){return 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:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=Wr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(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 n("Unknown column alignment: "+t,e)}));if(r.length>1)throw new n("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Wr(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new n("{subarray} can contain only one column");return a},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(e){var t=Wr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},_r(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:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Kr,htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(e){l(["gather","gather*"],e.envName)&&Yr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Wr(e.parser,t,"display")},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Kr,htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(e){Yr(e);var t={autoTag:Xr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Wr(e.parser,t,"display")},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:function(e){return Yr(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 n("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,i,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(u)>-1))throw new n('Expected one of "<>AV=|." after @',h[m]);for(var d=0;d<2;d++){for(var f=!0,g=m+1;g=A.SCRIPT.id?r.text():A.DISPLAY:"text"===e&&r.size===A.DISPLAY.size?r=A.TEXT:"script"===e?r=A.SCRIPT:"scriptscript"===e&&(r=A.SCRIPTSCRIPT),r},nn=function(e,t){var r,n=rn(e.size,t.style),a=n.fracNum(),i=n.fracDen();r=t.havingStyle(a);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*m:7*m,d=t.fontMetrics().denom1):(c>0?(u=t.fontMetrics().num2,p=m):(u=t.fontMetrics().num3,p=3*m),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;u-o.depth-(x+.5*c)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:function(e,t){var r,n=e.parser,a=t[4],i=t[5],o=ct(t[0]),s="atom"===o.type&&"open"===o.family?sn(o.text):null,l=ct(t[1]),h="atom"===l.type&&"close"===l.family?sn(l.text):null,c=Ut(t[2],"size"),m=null;r=!!c.isBlank||(m=c.value).number>0;var u="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var d=Ut(p.body[0],"textord");u=on[Number(d.text)]}}else p=Ut(p,"textord"),u=on[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:r,barSize:m,leftDelim:s,rightDelim:h,size:u}},htmlBuilder:nn,mathmlBuilder:an}),lt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var r=e.parser,n=(e.funcName,e.token);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:function(e,t){var r=e.parser,n=(e.funcName,t[0]),a=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),i=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:nn,mathmlBuilder:an});var ln=function(e,t){var r,n,a=t.style;"supsub"===e.type?(r=e.sup?St(e.sup,t.havingStyle(a.sup()),t):St(e.sub,t.havingStyle(a.sub()),t),n=Ut(e.base,"horizBrace")):n=Ut(e,"horizBrace");var i,o=St(n.base,t.havingBaseStyle(A.DISPLAY)),s=Gt(n,t);if(n.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",n.isOver?"mover":"munder"],[i],t);i=n.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",n.isOver?"mover":"munder"],[i],t)};lt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:ln,mathmlBuilder:function(e,t){var r=Ft(e.label);return new Ct.MathNode(e.isOver?"mover":"munder",[Ot(e.base,t),r])}}),lt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[1],a=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:mt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var r=vt(e.body,t,!1);return Qe.makeAnchor(e.href,[],r,t)},mathmlBuilder:function(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:function(e,t){var r=e.parser,n=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i0&&(n=X(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=X(e.width,t));var i={height:W(r+n)};a>0&&(i.width=W(a)),n>0&&(i.verticalAlign=W(-n));var o=new Q(e.src,e.alt,i);return o.height=r,o.depth=n,o},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=X(e.height,t),a=0;if(e.totalheight.number>0&&(a=X(e.totalheight,t)-n,r.setAttribute("valign",W(-a))),r.setAttribute("height",W(n+a)),e.width.number>0){var i=X(e.width,t);r.setAttribute("width",W(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:function(e,t){var r=e.parser,n=e.funcName,a=Ut(t[0],"size");if(r.settings.strict){var i="m"===n[1],o="mu"===a.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+a.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder:function(e,t){return Qe.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var r=X(e.dimension,t);return new Ct.SpaceNode(r)}}),lt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:function(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 n=Qe.makeSpan(["fix"],[]),a=Qe.makeSpan([e.alignment],[r,n],t),i=Qe.makeSpan(["strut"]);return i.style.height=W(a.height+a.depth),a.depth&&(i.style.verticalAlign=W(-a.depth)),a.children.unshift(i),a=Qe.makeSpan(["thinbox"],[a],t),Qe.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mpadded",[Ot(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),lt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=e.funcName,n=e.parser,a=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:o}}}),lt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new n("Mismatched "+e.funcName)}});var cn=function(e,t){switch(t.style.size){case A.DISPLAY.size:return e.display;case A.TEXT.size:return e.text;case A.SCRIPT.size:return e.script;case A.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};lt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:mt(t[0]),text:mt(t[1]),script:mt(t[2]),scriptscript:mt(t[3])}},htmlBuilder:function(e,t){var r=cn(e,t),n=vt(r,t,!1);return Qe.makeFragment(n)},mathmlBuilder:function(e,t){var r=cn(e,t);return Ht(r,t)}});var mn=function(e,t,r,n,a,i,o){e=Qe.makeSpan([],[e]);var s,l,h,c=r&&p(r);if(t){var m=St(t,n.havingStyle(a.sup()),n);l={elem:m,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-m.depth)}}if(r){var u=St(r,n.havingStyle(a.sub()),n);s={elem:u,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-u.height)}}if(l&&s){var d=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:d,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var f=e.height-o;h=Qe.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var g=e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var v=[h];if(s&&0!==i&&!c){var y=Qe.makeSpan(["mspace"],[],n);y.style.marginRight=W(i),v.unshift(y)}return Qe.makeSpan(["mop","op-limits"],v,n)},un=["\\smallint"],pn=function(e,t){var r,n,a,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,a=Ut(e.base,"op"),i=!0):a=Ut(e,"op");var o,s=t.style,h=!1;if(s.size===A.DISPLAY.size&&a.symbol&&!l(un,a.name)&&(h=!0),a.symbol){var c=h?"Size2-Regular":"Size1-Regular",m="";if("\\oiint"!==a.name&&"\\oiiint"!==a.name||(m=a.name.slice(1),a.name="oiint"===m?"\\iint":"\\iiint"),o=Qe.makeSymbol(a.name,c,"math",t,["mop","op-symbol",h?"large-op":"small-op"]),m.length>0){var u=o.italic,p=Qe.staticSvg(m+"Size"+(h?"2":"1"),t);o=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:h?.08:0}]},t),a.name="\\"+m,o.classes.unshift("mop"),o.italic=u}}else if(a.body){var d=vt(a.body,t,!0);1===d.length&&d[0]instanceof te?(o=d[0]).classes[0]="mop":o=Qe.makeSpan(["mop"],d,t)}else{for(var f=[],g=1;g0){for(var s=a.body.map((function(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=0?s.setAttribute("height",W(a)):(s.setAttribute("height",W(a)),s.setAttribute("depth",W(-a))),s.setAttribute("voffset",W(a)),s}});var bn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];lt({type:"sizing",names:bn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,a=e.parser,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:bn.indexOf(n)+1,body:i}},htmlBuilder:function(e,t){var r=t.havingSize(e.size);return yn(e.body,r,t)},mathmlBuilder:function(e,t){var r=t.havingSize(e.size),n=Rt(e.body,r),a=new Ct.MathNode("mstyle",n);return a.setAttribute("mathsize",W(r.sizeMultiplier)),a}}),lt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,r){var n=e.parser,a=!1,i=!1,o=r[0]&&Ut(r[0],"ordgroup");if(o)for(var s="",l=0;lr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var u=l.height-r.height-i-h;r.style.paddingLeft=W(c);var p=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+u)},{type:"elem",elem:l},{type:"kern",size:h}]},t);if(e.index){var d=t.havingStyle(A.SCRIPTSCRIPT),f=St(e.index,d,t),g=.6*(p.height-p.depth),v=Qe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:f}]},t),y=Qe.makeSpan(["root"],[v]);return Qe.makeSpan(["mord","sqrt"],[y,p],t)}return Qe.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var r=e.body,n=e.index;return n?new Ct.MathNode("mroot",[Ot(r,t),Ot(n,t)]):new Ct.MathNode("msqrt",[Ot(r,t)])}});var xn={display:A.DISPLAY,text:A.TEXT,script:A.SCRIPT,scriptscript:A.SCRIPTSCRIPT};lt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,a=e.parser,i=a.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder:function(e,t){var r=xn[e.style],n=t.havingStyle(r).withFont("");return yn(e.body,n,t)},mathmlBuilder:function(e,t){var r=xn[e.style],n=t.havingStyle(r),a=Rt(e.body,n),i=new Ct.MathNode("mstyle",a),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:function(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===A.DISPLAY.size||r.alwaysHandleSupSub)?pn:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===A.DISPLAY.size||r.limits)?vn:null:"accent"===r.type?p(r.base)?Wt:null:"horizBrace"===r.type&&!e.sub===r.isOver?ln:null:null}(e,t);if(r)return r(e,t);var n,a,i,o=e.base,s=e.sup,l=e.sub,h=St(o,t),c=t.fontMetrics(),m=0,u=0,d=o&&p(o);if(s){var f=t.havingStyle(t.style.sup());n=St(s,f,t),d||(m=h.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());a=St(l,g,t),d||(u=h.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===A.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v,y=t.sizeMultiplier,b=W(.5/c.ptPerEm/y),x=null;if(a){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof te||w)&&(x=W(-h.italic))}if(n&&a){m=Math.max(m,i,n.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var k=4*c.defaultRuleThickness;if(m-n.depth-(a.height-u)0&&(m+=S,u-=S)}v=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u,marginRight:b,marginLeft:x},{type:"elem",elem:n,shift:-m,marginRight:b}]},t)}else if(a){u=Math.max(u,c.sub1,a.height-.8*c.xHeight),v=Qe.makeVList({positionType:"shift",positionData:u,children:[{type:"elem",elem:a,marginLeft:x,marginRight:b}]},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");m=Math.max(m,i,n.depth+.25*c.xHeight),v=Qe.makeVList({positionType:"shift",positionData:-m,children:[{type:"elem",elem:n,marginRight:b}]},t)}var M=wt(h,"right")||"mord";return Qe.makeSpan([M],[h,Qe.makeSpan(["msupsub"],[v])],t)},mathmlBuilder:function(e,t){var r,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var a,i=[Ot(e.base,t)];if(e.sub&&i.push(Ot(e.sub,t)),e.sup&&i.push(Ot(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;a=o&&"op"===o.type&&o.limits&&t.style===A.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===A.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;a=s&&"op"===s.type&&s.limits&&(t.style===A.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===A.DISPLAY)?"munder":"msub"}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===A.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===A.DISPLAY)?"mover":"msup"}return new Ct.MathNode(a,i)}}),ht({type:"atom",htmlBuilder:function(e,t){return Qe.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mo",[Nt(e.text,e.mode)]);if("bin"===e.family){var n=It(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var wn={mi:"italic",mn:"normal",mtext:"normal"};ht({type:"mathord",htmlBuilder:function(e,t){return Qe.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mi",[Nt(e.text,e.mode,t)]),n=It(e,t)||"italic";return n!==wn[r.type]&&r.setAttribute("mathvariant",n),r}}),ht({type:"textord",htmlBuilder:function(e,t){return Qe.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var r,n=Nt(e.text,e.mode,t),a=It(e,t)||"normal";return r="text"===e.mode?new Ct.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new Ct.MathNode("mn",[n]):"\\prime"===e.text?new Ct.MathNode("mo",[n]):new Ct.MathNode("mi",[n]),a!==wn[r.type]&&r.setAttribute("mathvariant",a),r}});var kn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Sn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ht({type:"spacing",htmlBuilder:function(e,t){if(Sn.hasOwnProperty(e.text)){var r=Sn[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(kn.hasOwnProperty(e.text))return Qe.makeSpan(["mspace",kn[e.text]],[],t);throw new n('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Sn.hasOwnProperty(e.text)){if(kn.hasOwnProperty(e.text))return new Ct.MathNode("mspace");throw new n('Unknown type of space "'+e.text+'"')}return new Ct.MathNode("mtext",[new Ct.TextNode(" ")])}});var Mn=function(){var e=new Ct.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ht({type:"tag",mathmlBuilder:function(e,t){var r=new Ct.MathNode("mtable",[new Ct.MathNode("mtr",[Mn(),new Ct.MathNode("mtd",[Ht(e.body,t)]),Mn(),new Ct.MathNode("mtd",[Ht(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var zn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},An={"\\textbf":"textbf","\\textmd":"textmd"},Tn={"\\textit":"textit","\\textup":"textup"},Bn=function(e,t){var r=e.font;return r?zn[r]?t.withTextFontFamily(zn[r]):An[r]?t.withTextFontWeight(An[r]):t.withTextFontShape(Tn[r]):t};lt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"text",mode:r.mode,body:mt(a),font:n}},htmlBuilder:function(e,t){var r=Bn(e,t),n=vt(e.body,r,!0);return Qe.makeSpan(["mord","text"],n,r)},mathmlBuilder:function(e,t){var r=Bn(e,t);return Ht(e.body,r)}}),lt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var r=St(e.body,t),n=Qe.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var r=new Ct.MathNode("mo",[new Ct.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new Ct.MathNode("munder",[Ot(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),lt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(e,t){return{type:"vcenter",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var r=St(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return Qe.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:function(e,t){return new Ct.MathNode("mpadded",[Ot(e.body,t)],["vcenter"])}}),lt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,r){throw new n("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var r=Cn(e),n=[],a=t.havingStyle(t.style.text()),i=0;i0;)this.endGroup()},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t},e}(),Dn=Pr;Vr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Vr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Vr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Vr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Vr("\\@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}})),Vr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Vr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Pn={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};Vr("\\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 n("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Pn[r.text])||a>=t)throw new n("Invalid base-"+t+" digit "+r.text);for(var i;null!=(i=Pn[e.future().text])&&i":"\\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"};Vr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Fn?t=Fn[r]:("\\not"===r.slice(0,4)||r in he.math&&l(["bin","rel"],he.math[r].group))&&(t="\\dotsb"),t}));var Gn={")":!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};Vr("\\dotso",(function(e){return e.future().text in Gn?"\\ldots\\,":"\\ldots"})),Vr("\\dotsc",(function(e){var t=e.future().text;return t in Gn&&","!==t?"\\ldots\\,":"\\ldots"})),Vr("\\cdots",(function(e){return e.future().text in Gn?"\\@cdots\\,":"\\@cdots"})),Vr("\\dotsb","\\cdots"),Vr("\\dotsm","\\cdots"),Vr("\\dotsi","\\!\\cdots"),Vr("\\dotsx","\\ldots\\,"),Vr("\\DOTSI","\\relax"),Vr("\\DOTSB","\\relax"),Vr("\\DOTSX","\\relax"),Vr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Vr("\\,","\\tmspace+{3mu}{.1667em}"),Vr("\\thinspace","\\,"),Vr("\\>","\\mskip{4mu}"),Vr("\\:","\\tmspace+{4mu}{.2222em}"),Vr("\\medspace","\\:"),Vr("\\;","\\tmspace+{5mu}{.2777em}"),Vr("\\thickspace","\\;"),Vr("\\!","\\tmspace-{3mu}{.1667em}"),Vr("\\negthinspace","\\!"),Vr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Vr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Vr("\\enspace","\\kern.5em "),Vr("\\enskip","\\hskip.5em\\relax"),Vr("\\quad","\\hskip1em\\relax"),Vr("\\qquad","\\hskip2em\\relax"),Vr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Vr("\\tag@paren","\\tag@literal{({#1})}"),Vr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new n("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Vr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Vr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Vr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Vr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Vr("\\newline","\\\\\\relax"),Vr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Un=W(I["Main-Regular"]["T".charCodeAt(0)][1]-.7*I["Main-Regular"]["A".charCodeAt(0)][1]);Vr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Un+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Vr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Un+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Vr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Vr("\\@hspace","\\hskip #1\\relax"),Vr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Vr("\\ordinarycolon",":"),Vr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Vr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Vr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Vr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Vr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Vr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Vr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Vr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Vr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Vr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Vr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Vr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Vr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Vr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Vr("∷","\\dblcolon"),Vr("∹","\\eqcolon"),Vr("≔","\\coloneqq"),Vr("≕","\\eqqcolon"),Vr("⩴","\\Coloneqq"),Vr("\\ratio","\\vcentcolon"),Vr("\\coloncolon","\\dblcolon"),Vr("\\colonequals","\\coloneqq"),Vr("\\coloncolonequals","\\Coloneqq"),Vr("\\equalscolon","\\eqqcolon"),Vr("\\equalscoloncolon","\\Eqqcolon"),Vr("\\colonminus","\\coloneq"),Vr("\\coloncolonminus","\\Coloneq"),Vr("\\minuscolon","\\eqcolon"),Vr("\\minuscoloncolon","\\Eqcolon"),Vr("\\coloncolonapprox","\\Colonapprox"),Vr("\\coloncolonsim","\\Colonsim"),Vr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Vr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Vr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Vr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Vr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Vr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Vr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Vr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Vr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Vr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Vr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Vr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Vr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Vr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Vr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Vr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Vr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Vr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Vr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Vr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Vr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Vr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Vr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Vr("\\imath","\\html@mathml{\\@imath}{ı}"),Vr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Vr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Vr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Vr("⟦","\\llbracket"),Vr("⟧","\\rrbracket"),Vr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Vr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Vr("⦃","\\lBrace"),Vr("⦄","\\rBrace"),Vr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Vr("⦵","\\minuso"),Vr("\\darr","\\downarrow"),Vr("\\dArr","\\Downarrow"),Vr("\\Darr","\\Downarrow"),Vr("\\lang","\\langle"),Vr("\\rang","\\rangle"),Vr("\\uarr","\\uparrow"),Vr("\\uArr","\\Uparrow"),Vr("\\Uarr","\\Uparrow"),Vr("\\N","\\mathbb{N}"),Vr("\\R","\\mathbb{R}"),Vr("\\Z","\\mathbb{Z}"),Vr("\\alef","\\aleph"),Vr("\\alefsym","\\aleph"),Vr("\\Alpha","\\mathrm{A}"),Vr("\\Beta","\\mathrm{B}"),Vr("\\bull","\\bullet"),Vr("\\Chi","\\mathrm{X}"),Vr("\\clubs","\\clubsuit"),Vr("\\cnums","\\mathbb{C}"),Vr("\\Complex","\\mathbb{C}"),Vr("\\Dagger","\\ddagger"),Vr("\\diamonds","\\diamondsuit"),Vr("\\empty","\\emptyset"),Vr("\\Epsilon","\\mathrm{E}"),Vr("\\Eta","\\mathrm{H}"),Vr("\\exist","\\exists"),Vr("\\harr","\\leftrightarrow"),Vr("\\hArr","\\Leftrightarrow"),Vr("\\Harr","\\Leftrightarrow"),Vr("\\hearts","\\heartsuit"),Vr("\\image","\\Im"),Vr("\\infin","\\infty"),Vr("\\Iota","\\mathrm{I}"),Vr("\\isin","\\in"),Vr("\\Kappa","\\mathrm{K}"),Vr("\\larr","\\leftarrow"),Vr("\\lArr","\\Leftarrow"),Vr("\\Larr","\\Leftarrow"),Vr("\\lrarr","\\leftrightarrow"),Vr("\\lrArr","\\Leftrightarrow"),Vr("\\Lrarr","\\Leftrightarrow"),Vr("\\Mu","\\mathrm{M}"),Vr("\\natnums","\\mathbb{N}"),Vr("\\Nu","\\mathrm{N}"),Vr("\\Omicron","\\mathrm{O}"),Vr("\\plusmn","\\pm"),Vr("\\rarr","\\rightarrow"),Vr("\\rArr","\\Rightarrow"),Vr("\\Rarr","\\Rightarrow"),Vr("\\real","\\Re"),Vr("\\reals","\\mathbb{R}"),Vr("\\Reals","\\mathbb{R}"),Vr("\\Rho","\\mathrm{P}"),Vr("\\sdot","\\cdot"),Vr("\\sect","\\S"),Vr("\\spades","\\spadesuit"),Vr("\\sub","\\subset"),Vr("\\sube","\\subseteq"),Vr("\\supe","\\supseteq"),Vr("\\Tau","\\mathrm{T}"),Vr("\\thetasym","\\vartheta"),Vr("\\weierp","\\wp"),Vr("\\Zeta","\\mathrm{Z}"),Vr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Vr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Vr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Vr("\\bra","\\mathinner{\\langle{#1}|}"),Vr("\\ket","\\mathinner{|{#1}\\rangle}"),Vr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Vr("\\Bra","\\left\\langle#1\\right|"),Vr("\\Ket","\\left|#1\\right\\rangle");var Yn=function(e){return function(t){var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=function(t){return function(r){e&&(r.macros.set("|",o),a.length&&r.macros.set("\\|",s));var i=t;return!t&&a.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?a:n,numArgs:0}}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,c=t.expandTokens([].concat(i,h,r));return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}}};Vr("\\bra@ket",Yn(!1)),Vr("\\bra@set",Yn(!0)),Vr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Vr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Vr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Vr("\\angln","{\\angl n}"),Vr("\\blue","\\textcolor{##6495ed}{#1}"),Vr("\\orange","\\textcolor{##ffa500}{#1}"),Vr("\\pink","\\textcolor{##ff00af}{#1}"),Vr("\\red","\\textcolor{##df0030}{#1}"),Vr("\\green","\\textcolor{##28ae7b}{#1}"),Vr("\\gray","\\textcolor{gray}{#1}"),Vr("\\purple","\\textcolor{##9d38bd}{#1}"),Vr("\\blueA","\\textcolor{##ccfaff}{#1}"),Vr("\\blueB","\\textcolor{##80f6ff}{#1}"),Vr("\\blueC","\\textcolor{##63d9ea}{#1}"),Vr("\\blueD","\\textcolor{##11accd}{#1}"),Vr("\\blueE","\\textcolor{##0c7f99}{#1}"),Vr("\\tealA","\\textcolor{##94fff5}{#1}"),Vr("\\tealB","\\textcolor{##26edd5}{#1}"),Vr("\\tealC","\\textcolor{##01d1c1}{#1}"),Vr("\\tealD","\\textcolor{##01a995}{#1}"),Vr("\\tealE","\\textcolor{##208170}{#1}"),Vr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Vr("\\greenB","\\textcolor{##8af281}{#1}"),Vr("\\greenC","\\textcolor{##74cf70}{#1}"),Vr("\\greenD","\\textcolor{##1fab54}{#1}"),Vr("\\greenE","\\textcolor{##0d923f}{#1}"),Vr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Vr("\\goldB","\\textcolor{##ffbb71}{#1}"),Vr("\\goldC","\\textcolor{##ff9c39}{#1}"),Vr("\\goldD","\\textcolor{##e07d10}{#1}"),Vr("\\goldE","\\textcolor{##a75a05}{#1}"),Vr("\\redA","\\textcolor{##fca9a9}{#1}"),Vr("\\redB","\\textcolor{##ff8482}{#1}"),Vr("\\redC","\\textcolor{##f9685d}{#1}"),Vr("\\redD","\\textcolor{##e84d39}{#1}"),Vr("\\redE","\\textcolor{##bc2612}{#1}"),Vr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Vr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Vr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Vr("\\maroonD","\\textcolor{##ca337c}{#1}"),Vr("\\maroonE","\\textcolor{##9e034e}{#1}"),Vr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Vr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Vr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Vr("\\purpleD","\\textcolor{##7854ab}{#1}"),Vr("\\purpleE","\\textcolor{##543b78}{#1}"),Vr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Vr("\\mintB","\\textcolor{##edf2df}{#1}"),Vr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Vr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Vr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Vr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Vr("\\grayD","\\textcolor{##d6d8da}{#1}"),Vr("\\grayE","\\textcolor{##babec2}{#1}"),Vr("\\grayF","\\textcolor{##888d93}{#1}"),Vr("\\grayG","\\textcolor{##626569}{#1}"),Vr("\\grayH","\\textcolor{##3b3e40}{#1}"),Vr("\\grayI","\\textcolor{##21242c}{#1}"),Vr("\\kaBlue","\\textcolor{##314453}{#1}"),Vr("\\kaGreen","\\textcolor{##71B307}{#1}");var Xn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Wn=function(){function e(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 Ln(Dn,t.macros),this.mode=r,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new En(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.endGroups=function(){this.macros.endGroups()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.scanArgument=function(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken();var a=this.consumeArg(["]"]);n=a.tokens,r=a.end}else{var i=this.consumeArg();n=i.tokens,t=i.start,r=i.end}return this.pushToken(new Gr("EOF",r.loc)),this.pushTokens(n),t.range(r,"")},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArg=function(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,i=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 n("Extra }",a)}else if("EOF"===a.text)throw new n("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"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:a}},t.consumeArgs=function(e,t){if(t){if(t.length!==e+1)throw new n("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new n("Too many expansions: infinite loop or need to increase maxExpand setting");var i=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(i=i.slice()).length-1;s>=0;--s){var l=i[s];if("#"===l.text){if(0===s)throw new n("Incomplete placeholder at end of macro body",l);if("#"===(l=i[--s]).text)i.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new n("Not a valid argument number",l);var h;(h=i).splice.apply(h,[s,2].concat(o[+l.text-1]))}}}return this.pushTokens(i),i.length},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error},t.expandMacro=function(e){return this.macros.has(e)?this.expandTokens([new Gr(e)]):void 0},t.expandTokens=function(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return t},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(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 n="function"==typeof t?t(this):t;if("string"==typeof n){var a=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(a+1));)++a;for(var o=new En(n,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:a}}return n},t.isDefined=function(e){return this.macros.has(e)||Nn.hasOwnProperty(e)||he.math.hasOwnProperty(e)||he.text.hasOwnProperty(e)||Xn.hasOwnProperty(e)},t.isExpandable=function(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Nn.hasOwnProperty(e)&&!Nn[e].primitive},e}(),_n=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,jn=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),$n={"́":{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"}},Zn={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},Kn=function(){function e(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 Wn(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new n("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){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()}},t.subparse=function(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Gr("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r},t.parseExpression=function(t,r){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==e.endOfExpression.indexOf(a.text))break;if(r&&a.text===r)break;if(t&&Nn[a.text]&&Nn[a.text].infix)break;var i=this.parseAtom(r);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)},t.handleInfixNodes=function(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 s,l=he[this.mode][t].group,h=Fr.range(e);if(oe.hasOwnProperty(l)){var c=l;s={type:"atom",mode:this.mode,family:c,loc:h,text:t}}else s={type:l,mode:this.mode,loc:h,text:t};i=s}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)),i={type:"textord",mode:"text",loc:Fr.range(e),text:t}}if(this.consume(),o)for(var m=0;m{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,u,f,y)=>{const w=new r.k({compound:!0,multigraph:!0});let b,B=!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=v.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.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),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=v.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},u={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.Ys)("#i"+e));const o="sandbox"===d?(0,n.Ys)(r.nodes()[0].contentDocument.body):(0,n.Ys)("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,u=g.node().getBBox(),f=u.width+2*l,y=u.height+2*l,w=1.75*f;(0,s.i)(g,y,w,p.useMaxWidth),g.attr("viewBox",`${u.x-p.padding} ${u.y-p.padding} `+f+" "+y)}},f={parser:i.p,db:i.d,renderer:u,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/docs/themes/hugo-geekdoc/static/js/254-84661edf.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/254-84661edf.chunk.min.js new file mode 100644 index 00000000..df14297c --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/254-84661edf.chunk.min.js @@ -0,0 +1,2 @@ +/*! For license information please see 254-84661edf.chunk.min.js.LICENSE.txt */ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[254],{4182: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){"use strict";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){"use strict";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){"use strict";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){"use strict";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){"use strict";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(4182))},1377:function(e,t,n){e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:0},z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n255)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}(e)||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("^"+R+"$").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}(e)},Y={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},X=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&e-u>=a}function f(){var e=$();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=$(),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,U(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($())},y},xe=l?l.performance:null,we=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},Ee=function(){if(l){if(l.requestAnimationFrame)return function(e){l.requestAnimationFrame(e)};if(l.mozRequestAnimationFrame)return function(e){l.mozRequestAnimationFrame(e)};if(l.webkitRequestAnimationFrame)return function(e){l.webkitRequestAnimationFrame(e)};if(l.msRequestAnimationFrame)return function(e){l.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])]},Ie=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=S(n,t)),e[t]},et=function(e,t,n,r){n&&(t=S(n,t)),e[t]=r},tt="undefined"!=typeof Map?Map:function(){function e(){t(this,e),this._obj={}}return i(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(n){if(t(this,e),this._obj=Object.create(null),this.size=0,null!=n){var r;r=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var i=0;i2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&T(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=[];y(t.classes)?l=t.classes:f(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 _=b.pop(),T=v(_),D=_.id();if(h[D]=T,T!==1/0)for(var C=_.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)}}}},ht={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(l=v.pop(),u=l.id(),y.delete(u),w++,u===d){for(var E=[],_=i,T=d,D=b[T];E.unshift(_),null!=D&&E.unshift(D),null!=(_=m[T]);)D=b[T=_.id()];return{found:!0,distance:p[u],path:this.spawn(E),steps:w}}f[u]=!0;for(var C=l._private.edges,N=0;NN&&(p[C]=N,m[C]=D,b[C]=w),!i){var A=D*u+T;!i&&p[A]>N&&(p[A]=N,m[A]=T,b[A]=w)}}}for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=b(e);;){if(null==i)return t.spawn();var o=m(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:v}}},mt=Math.sqrt(2),bt=function(e,t,n){0===n.length&&Ve("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=bt(i,e,t),n--}return t},wt={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/mt);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},At=function(e,t){return Math.sqrt(Lt(e,t))},Lt=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},kt=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}}},Pt=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},Rt=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},Bt=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 s=o(a,4);t=s[0],n=s[1],r=s[2],i=s[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},Ft=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},zt=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Gt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Yt=function(e,t){return Gt(e,t.x1,t.y1)&&Gt(e,t.x2,t.y2)},Xt=function(e,t,n,r,i,a,o){var s,l=sn(i,a),u=i/2,c=a/2,h=r-c-o;if((s=en(e,t,n,r,n-u+l-o,h,n+u-l+o,h,!1)).length>0)return s;var d=n+u+o;if((s=en(e,t,n,r,d,r-c+l-o,d,r+c-l+o,!1)).length>0)return s;var p=r+c+o;if((s=en(e,t,n,r,n-u+l-o,p,n+u-l+o,p,!1)).length>0)return s;var g,f=n-u-o;if((s=en(e,t,n,r,f,r-c+l-o,f,r+c-l+o,!1)).length>0)return s;var v=n-u+l,y=r-c+l;if((g=Qt(e,t,n,r,v,y,l+o)).length>0&&g[0]<=v&&g[1]<=y)return[g[0],g[1]];var m=n+u-l,b=r-c+l;if((g=Qt(e,t,n,r,m,b,l+o)).length>0&&g[0]>=m&&g[1]<=b)return[g[0],g[1]];var x=n+u-l,w=r+c-l;if((g=Qt(e,t,n,r,x,w,l+o)).length>0&&g[0]>=x&&g[1]>=w)return[g[0],g[1]];var E=n-u+l,_=r+c-l;return(g=Qt(e,t,n,r,E,_,l+o)).length>0&&g[0]<=E&&g[1]>=_?[g[0],g[1]]:[]},Vt=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},Ut=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)},jt=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},Ht=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},Wt=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=Kt(c,-l);h=$t(f)}else h=c;return Ht(e,t,h)},$t=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]},Jt=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},en=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?Jt(e,n,o)===o?[o,s]:Jt(e,n,i)===i?[i,a]:Jt(i,o,n)===n?[n,r]:[]:[]},tn=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=Kt(f,-s);u=$t(m)}else u=f}else u=n;for(var b=0;bu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var x=r(y);m=m.id(),h[m]>h[f]+x&&(h[m]=h[f]+x,d.nodes.indexOf(m)<0?d.push(m):d.updateItem(m),u[m]=0,l[m]=[]),h[m]==h[f]+x&&(u[m]=u[m]+u[f],l[m].push(f))}else for(var w=0;w0;){for(var D=n.pop(),C=0;C0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:An,o=r,s=0;s=2?On(e,t,n,0,Sn,In):On(e,t,n,0,kn)},squaredEuclidean:function(e,t,n){return On(e,t,n,0,Sn)},manhattan:function(e,t,n){return On(e,t,n,0,kn)},max:function(e,t,n){return On(e,t,n,-1/0,Mn)}};function Rn(e,t,n,r,i,a){var o;return o=v(e)?e:Pn[e]||Pn.euclidean,0===t&&v(e)?o(i,a):o(t,n,r,i,a)}Pn["squared-euclidean"]=Pn.squaredEuclidean,Pn.squaredeuclidean=Pn.squaredEuclidean;var Bn=Ke({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Fn=function(e){return Bn(e)},zn=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 Rn(e,r.length,a,(function(e){return r[e](t)}),o,s)},Gn=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},Un=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]1&&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;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u=N?(A=N,N=k,L=S):k>A&&(A=k);for(var I=0;I0?1:0;T[_%u.minIterations*t+F]=z,B+=z}if(B>0&&(_>=u.minIterations-1||_==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=ur(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return ur(e,t,n)}(t,r,V),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=[],v=[];for(v=p(i);1!=v.length;)0==c[v[0]].length?(g.unshift(l.getElementById(v.shift())),g.unshift(l.getElementById(v.shift()))):v=p(v.shift()).concat(v);for(var y in g.unshift(l.getElementById(v.shift())),c)if(c[y].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},gr=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}},fr=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}},vr={};[ot,ct,ht,pt,ft,yt,wt,hn,pn,fn,yn,Nn,Zn,ar,hr,pr,{hopcroftTarjanBiconnected:gr,htbc:gr,htb:gr,hopcroftTarjanBiconnectedComponents:gr},{tarjanStronglyConnected:fr,tsc:fr,tscc:fr,tarjanStronglyConnectedComponents:fr}].forEach((function(e){z(vr,e)}));var yr=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))};yr.prototype={fulfill:function(e){return mr(this,1,"fulfillValue",e)},reject:function(e){return mr(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new yr;return n.onFulfilled.push(wr(e,r,"fulfill")),n.onRejected.push(wr(t,r,"reject")),br(n),r.proxy}};var mr=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,br(e)),e},br=function(e){1===e.state?xr(e,"onFulfilled",e.fulfillValue):2===e.state&&xr(e,"onRejected",e.rejectReason)},xr=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};var ci=function(e,t){var n=this.__data__,r=ai(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function hi(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){y(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}};Ki.className=Ki.classNames=Ki.classes;var Zi={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:M,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Zi.variable="(?:[\\w-.]|(?:\\\\"+Zi.metaChar+"))+",Zi.className="(?:[\\w-]|(?:\\\\"+Zi.metaChar+"))+",Zi.value=Zi.string+"|"+Zi.number,Zi.id=Zi.variable,function(){var e,t,n;for(e=Zi.comparatorOp.split("|"),n=0;n=0||"="!==t&&(Zi.comparatorOp+="|\\!"+t)}();var Qi=0,Ji=1,ea=2,ta=3,na=4,ra=5,ia=6,aa=7,oa=8,sa=9,la=10,ua=11,ca=12,ha=13,da=14,pa=15,ga=16,fa=17,va=18,ya=19,ma=20,ba=[{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*F(e,t)}(e.selector,t.selector)})),xa=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 f(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 Qi:var l=e(s);return l.substring(0,l.length-1);case ta:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case ra:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case na:return"["+i.field+"]";case ia:var p=i.operator;return"[["+i.field+n(e(p))+t(s)+"]]";case aa:return s;case oa:return"#"+s;case sa:return"."+s;case fa:case pa:return r(i.parent,a)+n(">")+r(i.child,a);case va:case ga:return r(i.ancestor,a)+" "+r(i.descendant,a);case ya:var g=r(i.left,a),f=r(i.subject,a),v=r(i.right,a);return g+(g.length>0?" ":"")+f+v;case ma: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 Ga(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1],Ga)},Fa.forEachUp=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ya)},Fa.forEachUpAndDown=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Xa)},Fa.ancestors=Fa.parents,(Pa=Ra={data:Wi.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:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Wi.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Wi.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Pa.data,Pa.removeAttr=Pa.removeData;var Va,Ua,ja=Ra,qa={};function Ha(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:Wa("indegree",(function(e,t){return et})),minOutdegree:Wa("outdegree",(function(e,t){return et}))}),z(qa,{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,y=v;v&&(g=g[0]);var b=y?g.position():{x:0,y:0};void 0!==t?p.position(e,t+b[e]):void 0!==i&&p.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=Va.point=Va.position,Va.modelPositions=Va.points=Va.positions,Va.renderedPoint=Va.renderedPosition,Va.relativePoint=Va.relativePosition;var Za,Qa,Ja=Ua;Za=Qa={},Qa.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}},Qa.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},Qa.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)},no=function(e,t){return null==t?e:to(e,t.x1,t.y1,t.x2,t.y2)},ro=function(e,t,n){return Je(e,t,n)},io=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,Rt(u,1),to(e,u.x1,u.y1,u.x2,u.y2)}}},ao=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=ro(a,"labelWidth",n),p=ro(a,"labelHeight",n),g=ro(a,"labelX",n),f=ro(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 I=k?ro(i.rstyle,"labelAngle",n):b.pfValue,M=Math.cos(I),O=Math.sin(I),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)*M-(t-=R)*O+P,y:e*O+t*M+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 X=N+"Rot",V=A[X]=A[X]||{};V.x1=o,V.y1=l,V.x2=s,V.y2=u,V.w=s-o,V.h=u-l,to(e,o,l,s,u),to(i.labelBounds.all,o,l,s,u)}return e}},oo=function(e){var t=0,n=function(e){return(e?1:0)<(r=A[1].x)){var L=n;n=r,r=L}if(i>(a=A[1].y)){var k=i;i=a,a=k}to(d,n-_,i-_,r+_,a+_)}}else if("bezier"===N||"unbundled-bezier"===N||"segments"===N||"taxi"===N){var S;switch(N){case"bezier":case"unbundled-bezier":S=v.bezierPts;break;case"segments":case"taxi":S=v.linePts}if(null!=S)for(var I=0;I(r=P.x)){var R=n;n=r,r=R}if((i=O.y)>(a=P.y)){var B=i;i=a,a=B}to(d,n-=_,i-=_,r+=_,a+=_)}if(c&&t.includeEdges&&f&&(io(d,e,"mid-source"),io(d,e,"mid-target"),io(d,e,"source"),io(d,e,"target")),c&&"yes"===e.pstyle("ghost").value){var F=e.pstyle("ghost-offset-x").pfValue,z=e.pstyle("ghost-offset-y").pfValue;to(d,d.x1+F,d.y1+z,d.x2+F,d.y2+z)}var G=p.bodyBounds=p.bodyBounds||{};Ft(G,d),Bt(G,y),Rt(G,1),c&&(n=d.x1,r=d.x2,i=d.y1,a=d.y2,to(d,n-E,i-E,r+E,a+E));var Y=p.overlayBounds=p.overlayBounds||{};Ft(Y,d),Bt(Y,y),Rt(Y,1);var X=p.labelBounds=p.labelBounds||{};null!=X.all?((l=X.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):X.all=Ot(),c&&t.includeLabels&&(t.includeMainLabels&&ao(d,e,null),f&&(t.includeSourceLabels&&ao(d,e,"source"),t.includeTargetLabels&&ao(d,e,"target")))}return d.x1=eo(d.x1),d.y1=eo(d.y1),d.x2=eo(d.x2),d.y2=eo(d.y2),d.w=eo(d.x2-d.x1),d.h=eo(d.y2-d.y1),d.w>0&&d.h>0&&b&&(Bt(d,y),Rt(d,1)),d}(e,uo),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=Ot(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?no(n,r.overlayBounds):no(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?no(n,r.labelBounds.all):(t.includeMainLabels&&no(n,r.labelBounds.mainRot),t.includeSourceLabels&&no(n,r.labelBounds.sourceRot),t.includeTargetLabels&&no(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},uo={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},co=oo(uo),ho=Ke(uo);Qa.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=Ot();var n=ho(e=e||uo),r=this;if(r.cy().styleEnabled())for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:No,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Lo.removeAllListeners=function(){return this.removeListener("*")},Lo.emit=Lo.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,y(t)||(t=[t]),Io(this,(function(e,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||".*"===i.namespace)&&e.eventMatches(e.context,i,a)){var o=[a];null!=t&&function(e,t){for(var n=0;n1&&!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&&f(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=n.style();if(m(e)){var i=e;r.applyBypass(this,i,false),this.emitAndNotify("style")}else if(f(e)){if(void 0===t){var a=this[0];return a?r.getStylePropertyValue(a,e):void 0}r.applyBypass(this,e,t,false),this.emitAndNotify("style")}else if(void 0===e){var o=this[0];return o?r.getRawStyle(o):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style(),r=this;if(void 0===e)for(var i=0;i0&&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)}}),rs.neighbourhood=rs.neighborhood,rs.closedNeighbourhood=rs.closedNeighborhood,rs.openNeighbourhood=rs.openNeighborhood,z(rs,{source:Ba((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Ba((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:ss({attr:"source"}),targets:ss({attr:"target"})}),z(rs,{edgesWith:Ba(ls(),"edgesWith"),edgesTo:Ba(ls({thisIsSrc:!0}),"edgesTo")}),z(rs,{connectedEdges:Ba((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),rs.componentsOf=rs.components;var cs=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&&m(t[0])&&!E(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 cs(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 a=0;a0?i=l:r=l}while(Math.abs(s)>a&&++uh&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),fs=function(e,t,n,r){var i=ps(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},vs={linear:function(e,t,n){return e+(t-e)*n},ease:fs(.25,.1,.25,1),"ease-in":fs(.42,0,1,1),"ease-out":fs(0,0,.58,1),"ease-in-out":fs(.42,0,.58,1),"ease-in-sine":fs(.47,0,.745,.715),"ease-out-sine":fs(.39,.575,.565,1),"ease-in-out-sine":fs(.445,.05,.55,.95),"ease-in-quad":fs(.55,.085,.68,.53),"ease-out-quad":fs(.25,.46,.45,.94),"ease-in-out-quad":fs(.455,.03,.515,.955),"ease-in-cubic":fs(.55,.055,.675,.19),"ease-out-cubic":fs(.215,.61,.355,1),"ease-in-out-cubic":fs(.645,.045,.355,1),"ease-in-quart":fs(.895,.03,.685,.22),"ease-out-quart":fs(.165,.84,.44,1),"ease-in-out-quart":fs(.77,0,.175,1),"ease-in-quint":fs(.755,.05,.855,.06),"ease-out-quint":fs(.23,1,.32,1),"ease-in-out-quint":fs(.86,0,.07,1),"ease-in-expo":fs(.95,.05,.795,.035),"ease-out-expo":fs(.19,1,.22,1),"ease-in-out-expo":fs(1,0,0,1),"ease-in-circ":fs(.6,.04,.98,.335),"ease-out-circ":fs(.075,.82,.165,1),"ease-in-out-circ":fs(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return vs.linear;var r=gs(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":fs};function ys(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 ms(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function bs(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=ms(e,i),s=ms(t,i);if(b(o)&&b(s))return ys(a,o,s,n,r);if(y(o)&&y(s)){for(var l=[],u=0;u0?("spring"===h&&d.push(o.duration),o.easingImpl=vs[h].apply(null,d)):o.easingImpl=vs[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 v=o.startPosition,y=o.position;if(y&&i&&!e.locked()){var m={};ws(v.x,y.x)&&(m.x=bs(v.x,y.x,p,g)),ws(v.y,y.y)&&(m.y=bs(v.y,y.y,p,g)),e.position(m)}var b=o.startPan,x=o.pan,w=a.pan,E=null!=x&&r;E&&(ws(b.x,x.x)&&(w.x=bs(b.x,x.x,p,g)),ws(b.y,x.y)&&(w.y=bs(b.y,x.y,p,g)),e.emit("pan"));var _=o.startZoom,T=o.zoom,D=null!=T&&r;D&&(ws(_,T)&&(a.zoom=Mt(a.minZoom,bs(_,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||Es(0,h,e),xs(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 Ts={animate:Wi.animate(),animation:Wi.animation(),animated:Wi.animated(),clearQueue:Wi.clearQueue(),delay:Wi.delay(),delayAnimation:Wi.delayAnimation(),stop:Wi.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){_s(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&_e((function(n){_s(n,e),t()}))}()}}},Ds={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&&E(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}},Cs=function(e){return f(e)?new Ia(e):e},Ns={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Ao(Ds,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Cs(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Cs(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},once:function(e,t,n){return this.emitter().one(e,Cs(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}};Wi.eventAliasesOn(Ns);var As={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)}};As.jpeg=As.jpg;var Ls={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=f(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(z({},e,{cy:t,eles:n}));Ve("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ve("A `name` must be specified to make a layout");else Ve("Layout options must be specified to make a layout")}};Ls.createLayout=Ls.makeLayout=Ls.layout;var ks={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)}};Is.invalidateDimensions=Is.resize;var Ms={collection:function(e,t){return f(e)?this.$(e):w(e)?e.collection():y(e)?(t||(t={}),new cs(this,e,t.unique,t.removed)):new cs(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}};Ms.elements=Ms.filter=Ms.$;var Os={},Ps="t";Os.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 E=i.valueMin[0],_=i.valueMax[0],T=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(E+(_-E)*v),Math.round(T+(D-T)*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 I=i.field.split("."),M=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)},Os.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},Os.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)}))},Os.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)&&("display"!==t||"none"!==n&&"none"!==r)||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}))}))},Os.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Rs={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 Ia(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 m=this.parse(e,c[5]);if(!m||m.mapped)return!1;if(g.pfValue===m.pfValue||g.strValue===m.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 x=g.value,w=m.value;if(!(x[0]!==w[0]||x[1]!==w[1]||x[2]!==w[2]||x[3]!==w[3]&&(null!=x[3]&&1!==x[3]||null!=w[3]&&1!==w[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:m.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var E;if(E=l?t.split(/\s+/):y(t)?t:[t],h.evenMultiple&&E.length%2!=0)return null;for(var _=[],T=[],D=[],C="",N=!1,A=0;A0?" ":"")+k.strValue}return h.validate&&!h.validate(_,T)?null:h.singleEnum&&N?1===_.length&&f(_[0])?{name:e,value:_[0],strValue:_[0],bypass:n}:null:{name:e,value:_,pfValue:D,strValue:C,bypass:n,units:T}}var S,I,O=function(){for(var r=0;rh.max||h.strictMax&&t===h.max))return null;var z={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?z.pfValue=t:z.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(z.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(z.pfValue="rad"===P?t:(S=t,Math.PI*S/180)),"%"===P&&(z.pfValue=t/100),z}if(h.propList){var Y=[],X=""+t;if("none"===X);else{for(var V=X.split(/\s*,\s*|\s+/),U=0;U0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:a)=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),b(e)?n=e:m(e)&&(n=e.level,null!=e.position?t=Et(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;b(l.x)&&(t.pan.x=l.x,o=!1),b(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(f(e)){var n=e;e=this.mutableElements().filter(n)}else w(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}};qs.centre=qs.center,qs.autolockNodes=qs.autolock,qs.autoungrabifyNodes=qs.autoungrabify;var Hs={data:Wi.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Hs.attr=Hs.data,Hs.removeAttr=Hs.removeData;var Ws=function(e){var t=this,n=(e=z({},e)).container;n&&!x(n)&&x(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!==l&&void 0!==n&&!e.headless,o=e;o.layout=z({name:a?"grid":"null"},o.layout),o.renderer=z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},u=this._private={container:n,ready:!1,options:o,elements:new cs(this),listeners:[],aniEles:new cs(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:b(o.zoom)?o.zoom:1,pan:{x:m(o.pan)&&b(o.pan.x)?o.pan.x:0,y:m(o.pan)&&b(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});u.styleEnabled&&t.setStyle([]);var c=z({},o,o.renderer);t.initRenderer(c);!function(e,t){if(e.some(N))return _r.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],a=e[1];u.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(m(e)||y(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=z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),u.ready=!0,v(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(w(n.roots))e=n.roots;else if(y(n.roots)){for(var c=[],h=0;h0;){var I=L.shift(),M=A(I,k);if(M)I.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(S);else if(null===M){je("Detected double maximal shift for node `"+I.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&&b[0].length<=3?l/2:0),h=2*Math.PI/b[r].length*i;return 0===r&&1===b[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 tl={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 nl(e){this.options=z({},tl,e)}nl.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=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),c=0,h=0;h1&&t.avoidOverlap){c*=1.75;var f=Math.cos(u)-Math.cos(0),v=Math.sin(u)-Math.sin(0),y=Math.sqrt(c*c/(f*f+v*v));o=Math.max(y,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*u*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l.x+a,y:l.y+s}})),this};var rl,il={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 al(e){this.options=z({},il,e)}al.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=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=[],u=0,c=0;c0&&Math.abs(y[0].value-b.value)>=f&&(y=[],v.push(y)),y.push(b)}var x=u+t.minNodeSpacing;if(!t.avoidOverlap){var w=v.length>0&&v[0].length>1,E=(Math.min(o.w,o.h)/2-x)/(v.length+w?1:0);x=Math.min(x,E)}for(var _=0,T=0;T1&&t.avoidOverlap){var A=Math.cos(N)-Math.cos(0),L=Math.sin(N)-Math.sin(0),k=Math.sqrt(x*x/(A*A+L*L));_=Math.max(k,_)}D.r=_,_+=x}if(t.equidistant){for(var S=0,I=0,M=0;M=e.numIter||(gl(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&a(),_e(t)):(Cl(r,e),s())}();else{for(;u;)u=o(l),l++;Cl(r,e),s()}return this},sl.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},sl.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ll=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=Ot(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},cl=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=bl(e,i,a),h=bl(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)}},ml=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},bl=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},xl=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}}}}},El=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},Dl=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)}}},Nl={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 Al(e){this.options=z({},Nl,e)}Al.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=Ot(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++)},M={},O=0;O(r=qt(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=jt(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(Ht(e,t,A))return v(n),!0}else if(Gt(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=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r),c=Ot({x1:e=o,y1:t=l,x2:n=s,y2:r=u}),h=0;h0?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,I=S?A:N,M=S?D:T,O=Nt(M),P=!1;L&&(m||x)||!(v===s&&M<0||v===l&&M>0||v===a&&M>0||v===o&&M<0)||(I=(O*=-1)*Math.abs(I),P=!0);var R=function(e){return Math.abs(e)=Math.abs(I)},B=R(k=m?(b<0?1+b:b)*I:(b<0?I:0)+b*O),F=R(Math.abs(I)-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 X=u.x1+k+(g?c/2*O:0),V=u.y1,U=u.y2;n.segpts=[X,V,X,U]}else if(S){var j=Math.abs(M)<=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(M)<=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]}},Xl.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=!b(n.startX)||!b(n.startY),d=!b(n.arrowStartX)||!b(n.arrowStartY),p=!b(n.endX)||!b(n.endY),g=!b(n.arrowEndX)||!b(n.arrowEndY),f=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,v=At({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),y=vd.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(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var _=0;_0){var X=u,V=Lt(X,Tt(t)),U=Lt(X,Tt(Y)),j=V;U2&&Lt(X,{x:Y[2],y:Y[3]})0){var ie=c,ae=Lt(ie,Tt(t)),oe=Lt(ie,Tt(re)),se=ae;oe2&&Lt(ie,{x:re[2],y:re[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;_=Mt(0,_,1),t=It(b.p0,b.p1,b.p2,_),i=function(e,t,n,r){var i=Mt(0,r-.001,1),a=Mt(0,r+.001,1),o=It(e,t,n,i),s=It(e,t,n,a);return $l(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=Mt(0,S,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=At(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=$l(C,N)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Hl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Hl.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)},Hl.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,d=[],p=/[\s\u200b]+/,g=h?"":" ",f=0;fc){for(var b=v.split(p),x="",w=0;wT);N++)D+=i[N],N===i.length-1&&(C=!0);return C||(D+="…"),D}return i},Hl.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"}},Hl.calculateLabelDimensions=function(e,t){var n=Ie(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var d=0,p=0,g=t.split("\n"),f=0;f1&&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:x[0]*s,y:x[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(w),m.emit("freeon"),w.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),w.emit("dragfree"))),A();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var I=!e.dragData.didDrag;I&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||u(w,{inDragLayer:!0});var M={x:0,y:0};if(b(x[0])&&b(x[1])&&(M.x+=x[0],M.y+=x[1],I)){var O=e.hoverData.dragDelta;O&&b(O[0])&&b(O[1])&&(M.x+=O[0],M.y+=O[1])}e.hoverData.draggingEles=!0,w.silentShift(M).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(x[0]),t.push(x[1])):(t[0]+=x[0],t[1]+=x[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=Tt(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(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]}),x=!1,t.timeStamp-w<=a.multiClickDebounceTime()?(m&&clearTimeout(m),x=!0,w=null,r(c,["dblclick","dbltap","vdblclick"],t,{x:o[0],y:o[1]})):(m=setTimeout((function(){x||r(c,["oneclick","onetap","voneclick"],t,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),w=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}}),!1);var _,T,D,C,N,A,L,k,S,I,M,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,X,V,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,E(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],I=l[1],M=l[2],O=l[3],_=t.touches[0].clientX-S,T=t.touches[0].clientY-I,D=t.touches[1].clientX-S,C=t.touches[1].clientY-I,P=0<=_&&_<=M&&0<=D&&D<=M&&0<=T&&T<=O&&0<=C&&C<=O;var d=n.pan(),g=n.zoom();N=U(_,T,D,C),A=j(_,T,D,C),k=[((L=[(_+D)/2,(T+C)/2])[0]-d.x)/g,(L[1]-d.y)/g];if(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 w=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};m.emit(w("grabon")),x?x.forEach((function(e){e.emit(w("grab"))})):m.emit(w("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 w=t.touches[0].clientX-S,L=t.touches[0].clientY-I,M=t.touches[1].clientX-S,O=t.touches[1].clientY-I,R=j(w,L,M,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-V<=s.multiClickDebounceTime()?(X&&clearTimeout(X),Y=!0,V=null,r(i,["dbltap","vdblclick"],t,{x:u[0],y:u[1]})):(X=setTimeout((function(){Y||r(i,["onetap","voneclick"],t,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),V=t.timeStamp)),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var A=[u[0],u[1]],L=Math.pow(A[0]-e,2)+Math.pow(A[1]-t,2),k=1;k0)return f[0]}return null},d=Object.keys(c),p=0;p0?l:Xt(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=sn(r,i),l=2*s;if(Wt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Wt(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!!Ht(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!Zt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Zt(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",rn(3,0)),this.generateRoundPolygon("round-triangle",rn(3,0)),this.generatePolygon("rectangle",rn(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",rn(5,0)),this.generateRoundPolygon("round-pentagon",rn(5,0)),this.generatePolygon("hexagon",rn(6,0)),this.generateRoundPolygon("round-hexagon",rn(6,0)),this.generatePolygon("heptagon",rn(7,0)),this.generateRoundPolygon("round-heptagon",rn(7,0)),this.generatePolygon("octagon",rn(8,0)),this.generateRoundPolygon("round-octagon",rn(8,0));var r=new Array(20),i=on(5,0),a=on(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*su)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))}}},uu=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;t(this,e),this.idsByKey=new tt,this.keyForId=new tt,this.cachesByLvl=new tt,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return i(e,[{key:"getIdsFor",value:function(e){null==e&&Ve("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}(),cu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hu=Ke({getKey:null,doesEleInvalidateKey:Ge,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:ze,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),du=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=hu(t);z(n,r),n.lookup=new uu(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},pu=du.prototype;pu.reasons=cu,pu.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},pu.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},pu.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new lt((function(e,t){return t.reqs-e.reqs}))},pu.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},pu.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(Ct(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,cu.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},pu.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},pu.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Ze(t,e):e.fullnessChecks++},pu.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}},pu.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}},pu.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,cu.dequeue)}}return i},pu.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))},pu.onDequeue=function(e){this.onDequeues.push(e)},pu.offDequeue=function(e){Ze(this.onDequeues,e)},pu.setupDequeueing=lu({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=Ot();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||!Yt(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)},fu.getEleLevelForLayerLevel=function(e,t){return e},fu.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,true),i.setImgSmoothing(a,!0))},fu.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},fu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},fu.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)})))},fu.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=u*c,v=u*c,y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;"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")},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var b=t.pstyle("ghost-offset-x").pfValue,x=t.pstyle("ghost-offset-y").pfValue,w=t.pstyle("ghost-opacity").value,E=f*w;e.translate(b,x),y(E),m(E),e.translate(-b,-x)}i&&o.drawEdgeUnderlay(e,t),y(),m(),i&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},Mu=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")}}}};Iu.drawEdgeOverlay=Mu("overlay"),Iu.drawEdgeUnderlay=Mu("underlay"),Iu.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 d=2;d+35&&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)},Pu.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)},Pu.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},Pu.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;if(w>0||_>0&&E>0){var D=u-T;switch(b){case"left":D-=g;break;case"center":D-=g/2}var C=c-f-T,N=g+2*T,A=f+2*T;if(w>0){var L=e.fillStyle,k=t.pstyle("text-background-color").value;e.fillStyle="rgba("+k[0]+","+k[1]+","+k[2]+","+w*o+")",0===t.pstyle("text-background-shape").strValue.indexOf("round")?function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;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(),e.fill()}(e,D,C,N,A,2):e.fillRect(D,C,N,A),e.fillStyle=L}if(_>0&&E>0){var S=e.strokeStyle,I=e.lineWidth,M=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+E*o+")",e.lineWidth=_,e.setLineDash)switch(O){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(e.strokeRect(D,C,N,A),"double"===O){var P=_/2;e.strokeRect(D+P,C+P,N-2*P,A-2*P)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=S}}var R=2*t.pstyle("text-outline-width").pfValue;if(R>0&&(e.lineWidth=R),"wrap"===t.pstyle("text-wrap").value){var B=Je(a,"labelWrapCachedLines",n),F=Je(a,"labelLineHeight",n),z=g/2,G=this.getLabelJustification(t);switch("auto"===G||("left"===b?"left"===G?u+=-g:"center"===G&&(u+=-z):"center"===b?"left"===G?u+=-z:"right"===G&&(u+=z):"right"===b&&("center"===G?u+=z:"right"===G&&(u+=g))),x){case"top":case"center":case"bottom":c-=(B.length-1)*F}for(var Y=0;Y0&&e.strokeText(B[Y],u,c),e.fillText(B[Y],u,c),c+=F}else R>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var Ru={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(b(h.x)&&b(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,x=new Array(m.length),w=new Array(m.length),E=0,_=0;_0&&void 0!==arguments[0]?arguments[0]:A;l.eleFillStyle(e,t,n)},M=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;l.colorStrokeStyle(e,L[0],L[1],L[2],t)},O=t.pstyle("shape").strValue,P=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var R=l.nodePathCache=l.nodePathCache||[],B=Me("polygon"===O?O+","+P.join(","):O,""+i,""+r),F=R[B];null!=F?(d=F,v=!0,c.pathCache=d):(d=new Path2D,R[B]=c.pathCache=d)}var z=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)}f?e.fill(d):e.fill()},G=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)))},X=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())},V=function(){if(N>0){if(e.lineWidth=N,e.lineCap="butt",e.setLineDash)switch(k){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(f?e.stroke(d):e.stroke(),"double"===k){e.lineWidth=N/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var U=t.pstyle("ghost-offset-x").pfValue,j=t.pstyle("ghost-offset-y").pfValue,q=t.pstyle("ghost-opacity").value,H=q*g;e.translate(U,j),I(q*A),z(),G(H,!0),M(q*S),V(),Y(0!==C||0!==N),G(H,!1),X(H),e.translate(-U,-j)}f&&e.translate(-h.x,-h.y),o&&l.drawNodeUnderlay(e,t,h,r,i),f&&e.translate(h.x,h.y),I(),z(),G(g,!0),M(),V(),Y(0!==C||0!==N),G(g,!1),X(),f&&e.translate(-h.x,-h.y),l.drawElementText(e,t,null,a),o&&l.drawNodeOverlay(e,t,h,r,i),n&&e.translate(p.x1,p.y1)}}},Bu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n,r,i,a){if(n.visible()){var o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-opacity")).value,l=n.pstyle("".concat(e,"-color")).value,u=n.pstyle("".concat(e,"-shape")).value;if(s>0){if(r=r||n.position(),null==i||null==a){var c=n.padding();i=n.width()+2*c,a=n.height()+2*c}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),t.fill()}}}};Ru.drawNodeOverlay=Bu("overlay"),Ru.drawNodeUnderlay=Bu("underlay"),Ru.hasPie=function(e){return(e=e[0])._private.hasPie},Ru.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)}};var Fu={};Fu.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Fu.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,I=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(L,S[0],S[1],S[2],I),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 M=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,M):o.drawLayeredElements(L,D.nondrag,s,M),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,M):o.drawCachedElements(L,D.drag,s,M),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 X=u.contexts[o.NODE],V=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(X,V,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")};for(var zu={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},qu.png=function(e){return Wu(e,this.bufferCanvasImage(e),"image/png")},qu.jpg=function(e){return Wu(e,this.bufferCanvasImage(e),"image/jpeg")};var $u=Zu,Ku=Zu.prototype;function Zu(e){var t=this;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 n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};u&&u.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;st&&(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){"use strict";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){"use strict";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){"use strict";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:M=v,I=a+-E/N,n[2]=I,n[3]=M;break;case 2:I=x,M=o+w*N,n[2]=I,n[3]=M;break;case 3:M=b,I=a+E/N,n[2]=I,n[3]=M;break;case 4:I=m,M=o+-w*N,n[2]=I,n[3]=M}}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){"use strict";function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r},function(e,t,n){"use strict";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){"use strict";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){"use strict";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){"use strict";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){"use strict";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;n2&&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}},m={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}}};function b(){this.yy={}}return y.lexer=m,b.prototype=y,y.Parser=b,new b}());h.parser=h;const d=h,p=e=>(0,r.d)(e,(0,r.c)());let g=[],f=0,v={};const y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},m=(e,t)=>{v[e]=t},b=e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}};let x;const w=e=>v[e],E=Object.freeze(Object.defineProperty({__proto__:null,addNode:(e,t,n,i)=>{r.l.info("addNode",e,t,n,i);const a=(0,r.c)(),o={id:f++,nodeId:p(t),level:e,descr:p(n),type:i,children:[],width:(0,r.c)().mindmap.maxNodeWidth};switch(o.type){case y.ROUNDED_RECT:case y.RECT:case y.HEXAGON:o.padding=2*a.mindmap.padding;break;default:o.padding=a.mindmap.padding}const s=function(e){for(let t=g.length-1;t>=0;t--)if(g[t].level{g=[],f=0,v={}},decorateNode:e=>{const t=g[g.length-1];e&&e.icon&&(t.icon=p(e.icon)),e&&e.class&&(t.class=p(e.class))},getElementById:w,getLogger:()=>r.l,getMindmap:()=>g.length>0?g[0]:null,getNodeById:e=>g[e],getType:(e,t)=>{switch(r.l.debug("In get type",e,t),e){case"[":return y.RECT;case"(":return")"===t?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},nodeType:y,get parseError(){return x},sanitizeText:p,setElementForId:m,setErrorHandler:e=>{x=e},type2Str:b},Symbol.toStringTag,{value:"Module"}));function _(e,t,n,r){(function(e,t,n,r){const i=r.htmlLabels,o=n%11,s=e.append("g");t.section=o;let l="section-"+o;o<0&&(l+=" section-root"),s.attr("class",(t.class?t.class+" ":"")+"mindmap-node "+l);const u=s.append("g"),c=s.append("g"),h=t.descr.replace(/()/g,"\n");(0,a.c)(c,h,{useHtmlLabels:i,width:t.width,classes:"mindmap-node-label"}),i||c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const d=c.node().getBBox(),p=r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;if(t.height=d.height+1.1*p*.5+t.padding,t.width=d.width+2*t.padding,t.icon)if(t.type===y.CIRCLE)t.height+=50,t.width+=50,s.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+t.icon),c.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")");else{t.width+=50;const e=t.height;t.height=Math.max(e,60);const n=Math.abs(t.height-e);s.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+t.icon),c.attr("transform","translate("+(25+t.width/2)+", "+(n/2+t.padding/2)+")")}else if(i){const e=(t.width-d.width)/2,n=(t.height-d.height)/2;c.attr("transform","translate("+e+", "+n+")")}else{const e=t.width/2,n=t.padding/2;c.attr("transform","translate("+e+", "+n+")")}switch(t.type){case y.DEFAULT:!function(e,t,n){e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(u,t,o);break;case y.ROUNDED_RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("height",t.height).attr("rx",t.padding).attr("ry",t.padding).attr("width",t.width)}(u,t);break;case y.RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("height",t.height).attr("width",t.width)}(u,t);break;case y.CIRCLE:u.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),function(e,t){e.append("circle").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("r",t.width/2)}(u,t);break;case y.CLOUD:!function(e,t){const n=t.width,r=t.height,i=.15*n,a=.25*n,o=.35*n,s=.2*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 0 a${i},${i} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${i},${i} 1 0,1 ${.15*n},${1*r*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${a},${i} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${i},${i} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${i},${i} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}(u,t);break;case y.BANG:!function(e,t){const n=t.width,r=t.height,i=.15*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*n},${-1*r*.1}\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},${1*r*.1}\n\n a${i},${i} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*r*.34}\n a${i},${i} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${i},${i} 1 0,0 ${-1*n*.25},${.15*r}\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${i},${i} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*r*.34}\n a${i},${i} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}(u,t);break;case y.HEXAGON:!function(e,t){const n=t.height,r=n/4,i=t.width-t.padding+2*r;!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+")")}(e,i,n,[{x:r,y:0},{x:i-r,y:0},{x:i,y:-n/2},{x:i-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],t)}(u,t)}m(t.id,s),t.height})(e,t,n,r),t.children&&t.children.forEach(((t,i)=>{_(e,t,n<0?i:n,r)}))}function T(e,t,n,r){t.add({group:"nodes",data:{id:e.id,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=>{T(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 D(e,t){return new Promise((n=>{const a=(0,i.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=o({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),T(e,s,t,0),s.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),s.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),s.ready((e=>{r.l.info("Ready",e),n(s)}))}))}o.use(s);const C={db:E,renderer:{draw:async(e,t,n,a)=>{const o=(0,r.c)();o.htmlLabels=!1,r.l.debug("Rendering mindmap diagram\n"+e,a.parser);const s=(0,r.c)().securityLevel;let l;"sandbox"===s&&(l=(0,i.Ys)("#i"+t));const u=("sandbox"===s?(0,i.Ys)(l.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select("#"+t);u.append("g");const c=a.db.getMindmap(),h=u.append("g");h.attr("class","mindmap-edges");const d=u.append("g");d.attr("class","mindmap-nodes"),_(d,c,-1,o);const p=await D(c,o);!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){e.nodes().map(((e,t)=>{const n=e.data();n.x=e.position().x,n.y=e.position().y,function(e){const t=w(e.id),n=e.x||0,r=e.y||0;t.attr("transform","translate("+n+","+r+")")}(n);const i=w(n.nodeId);r.l.info("Id:",t,"Position: (",e.position().x,", ",e.position().y,")",n),i.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),i.attr("attr",`apa-${t})`)}))}(p),(0,r.o)(void 0,u,o.mindmap.padding,o.mindmap.useMaxWidth)}},parser:d,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let t=0;ti?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 v(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},M={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,v()},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"),v(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 v(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||!v(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!v(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 v(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 v(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&&!b(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=!v(n)),92===n?f:a)}function f(n){return 91===n||92===n||93===n?(e.consume(n),s++,a):a(n)}}function G(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):v(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 J.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 b(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 v(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 b(n)?K(e,r)(n):t(n)};function r(n){return G(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function i(n){return v(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||b(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)):v(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||b(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"),v(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||b(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 v(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):v(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):v(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):v(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||b(n)?E(n):(e.consume(n),w)}function C(e){return 47===e||62===e||v(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):v(n)?(e.consume(n),z):t(n)}function D(n){return 45===n&&2===i?(e.consume(n),M):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"),L}function L(n){return null===n||F(n)?B(n):(e.enter("htmlFlowData"),D(n))}function M(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"),v(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"),v(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"),v(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)):v(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&&v(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);Ee(h,-c),Ee(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==(65535&t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}const je=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function He(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return Oe(t.slice(n?2:1),n?16:10)}return pe(t)||e}function Re(e){return e&&"object"==typeof e?"position"in e||"type"in e?Ve(e.position):"start"in e||"end"in e?Ve(e):"line"in e||"column"in e?qe(e):"":""}function qe(e){return Qe(e&&e.line)+":"+Qe(e&&e.column)}function Ve(e){return qe(e&&e.start)+"-"+qe(e&&e.end)}function Qe(e){return e&&"number"==typeof e?e:1}const Ne={}.hasOwnProperty,Ue=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(v),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(b,l),htmlFlowData:p,htmlText:s(b,l),htmlTextData:p,image:s((function(){return{type:"image",title:null,url:"",alt:null}})),label:l,link:s(v),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=Oe(n,"characterReferenceMarkerNumeric"===t?10:16),i("characterReferenceType")):r=pe(n);const u=this.stack.pop();u.value+=r,u.position.end=$e(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(je,He)}(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=$e(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()}};We(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]||Ye).call(u,void 0,e[0])}for(t.position={start:$e(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$e(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 Ke(e,n){var t;return Xe(e,[],(t=n.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map((e=>e.segment)):[...t]),n.type)}function Xe(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}])?Xe(e,o,u,r):(0===n.length&&i&&(n.push(i),t.shift()),[{content:n.join(""),type:r},{content:t.join(""),type:r}])}function en(e,n){if(e.some((({content:e})=>e.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return nn(e,n)}function nn(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 nn(e,n,t,o);if(r.length>0)t.push(r),e.unshift(u);else if(u.content){const[r,i]=Ke(n,u);t.push([r]),i.content&&e.unshift(i)}return nn(e,n,t)}function tn(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 rn(e,n,t){const r=e.append("text"),i=tn(r,1,n);un(i,t);const u=i.node().getComputedTextLength();return r.remove(),u}function un(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 on=(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}=Ue(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.J)(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=>rn(i,1.1,n)<=e,r=t(n)?[n]:en(n,t);for(const e of r)un(tn(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,Ge(n),l);return t}}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/281-18063325.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/281-18063325.chunk.min.js new file mode 100644 index 00000000..5a3621e5 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/281-18063325.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[281],{6281:function(t,e,n){n.d(e,{d:function(){return B},p:function(){return r},s:function(){return D}});var s=n(7274),i=n(8454),u=function(){var t=function(t,e,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=e);return n},e=[1,16],n=[1,17],s=[1,18],i=[1,37],u=[1,38],r=[1,24],a=[1,22],c=[1,23],o=[1,29],l=[1,30],h=[1,31],A=[1,32],p=[1,33],d=[1,34],y=[1,25],E=[1,26],C=[1,27],m=[1,28],f=[1,42],b=[1,39],F=[1,40],g=[1,41],k=[1,43],T=[1,9],B=[1,8,9],D=[1,54],_=[1,55],S=[1,56],N=[1,57],$=[1,58],L=[1,59],v=[1,60],I=[1,8,9,38],x=[1,71],O=[1,8,9,12,13,21,36,38,41,58,59,60,61,62,63,64,69,71],R=[1,8,9,12,13,19,21,36,38,41,45,58,59,60,61,62,63,64,69,71,84,86,87,88,89],w=[13,84,86,87,88,89],P=[13,63,64,84,86,87,88,89],G=[13,58,59,60,61,62,84,86,87,88,89],M=[1,90],U=[1,8,9,36,38,41],Y=[1,8,9,21],z={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,cssClassStatement:27,noteStatement:28,direction:29,acc_title:30,acc_title_value:31,acc_descr:32,acc_descr_value:33,acc_descr_multiline_value:34,namespaceIdentifier:35,STRUCT_START:36,classStatements:37,STRUCT_STOP:38,NAMESPACE:39,classIdentifier:40,STYLE_SEPARATOR:41,members:42,CLASS:43,ANNOTATION_START:44,ANNOTATION_END:45,MEMBER:46,SEPARATOR:47,relation:48,NOTE_FOR:49,noteText:50,NOTE:51,direction_tb:52,direction_bt:53,direction_rl:54,direction_lr:55,relationType:56,lineType:57,AGGREGATION:58,EXTENSION:59,COMPOSITION:60,DEPENDENCY:61,LOLLIPOP:62,LINE:63,DOTTED_LINE:64,CALLBACK:65,LINK:66,LINK_TARGET:67,CLICK:68,CALLBACK_NAME:69,CALLBACK_ARGS:70,HREF:71,CSSCLASS:72,commentToken:73,textToken:74,graphCodeTokens:75,textNoTagsToken:76,TAGSTART:77,TAGEND:78,"==":79,"--":80,PCT:81,DEFAULT:82,SPACE:83,MINUS:84,keywords:85,UNICODE_TEXT:86,NUM:87,ALPHA:88,BQUOTE_STR:89,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",30:"acc_title",31:"acc_title_value",32:"acc_descr",33:"acc_descr_value",34:"acc_descr_multiline_value",36:"STRUCT_START",38:"STRUCT_STOP",39:"NAMESPACE",41:"STYLE_SEPARATOR",43:"CLASS",44:"ANNOTATION_START",45:"ANNOTATION_END",46:"MEMBER",47:"SEPARATOR",49:"NOTE_FOR",51:"NOTE",52:"direction_tb",53:"direction_bt",54:"direction_rl",55:"direction_lr",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:"CSSCLASS",75:"graphCodeTokens",77:"TAGSTART",78:"TAGEND",79:"==",80:"--",81:"PCT",82:"DEFAULT",83:"SPACE",84:"MINUS",85:"keywords",86:"UNICODE_TEXT",87:"NUM",88:"ALPHA",89:"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,2],[10,2],[10,1],[22,4],[22,5],[35,2],[37,1],[37,2],[37,3],[23,1],[23,3],[23,4],[23,6],[40,2],[40,3],[25,4],[42,1],[42,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[28,3],[28,2],[29,1],[29,1],[29,1],[29,1],[48,3],[48,2],[48,2],[48,1],[56,1],[56,1],[56,1],[56,1],[56,1],[57,1],[57,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],[73,1],[73,1],[74,1],[74,1],[74,1],[74,1],[74,1],[74,1],[74,1],[76,1],[76,1],[76,1],[76,1],[16,1],[16,1],[16,1],[16,1],[18,1],[50,1]],performAction:function(t,e,n,s,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:this.$=u[a-1]+u[a];break;case 14:case 15:this.$=u[a-1]+"~"+u[a]+"~";break;case 16:s.addRelation(u[a]);break;case 17:u[a-1].title=s.cleanupLabel(u[a]),s.addRelation(u[a-1]);break;case 26:this.$=u[a].trim(),s.setAccTitle(this.$);break;case 27:case 28:this.$=u[a].trim(),s.setAccDescription(this.$);break;case 29:s.addClassesToNamespace(u[a-3],u[a-1]);break;case 30:s.addClassesToNamespace(u[a-4],u[a-1]);break;case 31:this.$=u[a],s.addNamespace(u[a]);break;case 32:case 42:this.$=[u[a]];break;case 33:this.$=[u[a-1]];break;case 34:u[a].unshift(u[a-2]),this.$=u[a];break;case 36:s.setCssClass(u[a-2],u[a]);break;case 37:s.addMembers(u[a-3],u[a-1]);break;case 38:s.setCssClass(u[a-5],u[a-3]),s.addMembers(u[a-5],u[a-1]);break;case 39:this.$=u[a],s.addClass(u[a]);break;case 40:this.$=u[a-1],s.addClass(u[a-1]),s.setClassLabel(u[a-1],u[a]);break;case 41:s.addAnnotation(u[a],u[a-2]);break;case 43:u[a].push(u[a-1]),this.$=u[a];break;case 44:case 46:case 47:break;case 45:s.addMember(u[a-1],s.cleanupLabel(u[a]));break;case 48:this.$={id1:u[a-2],id2:u[a],relation:u[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 49:this.$={id1:u[a-3],id2:u[a],relation:u[a-1],relationTitle1:u[a-2],relationTitle2:"none"};break;case 50:this.$={id1:u[a-3],id2:u[a],relation:u[a-2],relationTitle1:"none",relationTitle2:u[a-1]};break;case 51:this.$={id1:u[a-4],id2:u[a],relation:u[a-2],relationTitle1:u[a-3],relationTitle2:u[a-1]};break;case 52:s.addNote(u[a],u[a-1]);break;case 53:s.addNote(u[a]);break;case 54:s.setDirection("TB");break;case 55:s.setDirection("BT");break;case 56:s.setDirection("RL");break;case 57:s.setDirection("LR");break;case 58:this.$={type1:u[a-2],type2:u[a],lineType:u[a-1]};break;case 59:this.$={type1:"none",type2:u[a],lineType:u[a-1]};break;case 60:this.$={type1:u[a-1],type2:"none",lineType:u[a]};break;case 61:this.$={type1:"none",type2:"none",lineType:u[a]};break;case 62:this.$=s.relationType.AGGREGATION;break;case 63:this.$=s.relationType.EXTENSION;break;case 64:this.$=s.relationType.COMPOSITION;break;case 65:this.$=s.relationType.DEPENDENCY;break;case 66:this.$=s.relationType.LOLLIPOP;break;case 67:this.$=s.lineType.LINE;break;case 68:this.$=s.lineType.DOTTED_LINE;break;case 69:case 75:this.$=u[a-2],s.setClickEvent(u[a-1],u[a]);break;case 70:case 76:this.$=u[a-3],s.setClickEvent(u[a-2],u[a-1]),s.setTooltip(u[a-2],u[a]);break;case 71:this.$=u[a-2],s.setLink(u[a-1],u[a]);break;case 72:this.$=u[a-3],s.setLink(u[a-2],u[a-1],u[a]);break;case 73:this.$=u[a-3],s.setLink(u[a-2],u[a-1]),s.setTooltip(u[a-2],u[a]);break;case 74:this.$=u[a-4],s.setLink(u[a-3],u[a-2],u[a]),s.setTooltip(u[a-3],u[a-1]);break;case 77:this.$=u[a-3],s.setClickEvent(u[a-2],u[a-1],u[a]);break;case 78:this.$=u[a-4],s.setClickEvent(u[a-3],u[a-2],u[a-1]),s.setTooltip(u[a-3],u[a]);break;case 79:this.$=u[a-3],s.setLink(u[a-2],u[a]);break;case 80:this.$=u[a-4],s.setLink(u[a-3],u[a-1],u[a]);break;case 81:this.$=u[a-4],s.setLink(u[a-3],u[a-1]),s.setTooltip(u[a-3],u[a]);break;case 82:this.$=u[a-5],s.setLink(u[a-4],u[a-2],u[a]),s.setTooltip(u[a-4],u[a-1]);break;case 83:s.setCssClass(u[a-1],u[a])}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:35,17:19,18:36,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:e,32:n,34:s,35:20,39:i,40:21,43:u,44:r,46:a,47:c,49:o,51:l,52:h,53:A,54:p,55:d,65:y,66:E,68:C,72:m,84:f,86:b,87:F,88:g,89:k},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(T,[2,5],{8:[1,44]}),{8:[1,45]},t(B,[2,16],{21:[1,46]}),t(B,[2,18]),t(B,[2,19]),t(B,[2,20]),t(B,[2,21]),t(B,[2,22]),t(B,[2,23]),t(B,[2,24]),t(B,[2,25]),{31:[1,47]},{33:[1,48]},t(B,[2,28]),t(B,[2,44],{48:49,56:52,57:53,13:[1,50],21:[1,51],58:D,59:_,60:S,61:N,62:$,63:L,64:v}),{36:[1,61]},t(I,[2,35],{36:[1,63],41:[1,62]}),t(B,[2,46]),t(B,[2,47]),{16:64,84:f,86:b,87:F,88:g},{16:35,17:65,18:36,84:f,86:b,87:F,88:g,89:k},{16:35,17:66,18:36,84:f,86:b,87:F,88:g,89:k},{16:35,17:67,18:36,84:f,86:b,87:F,88:g,89:k},{13:[1,68]},{16:35,17:69,18:36,84:f,86:b,87:F,88:g,89:k},{13:x,50:70},t(B,[2,54]),t(B,[2,55]),t(B,[2,56]),t(B,[2,57]),t(O,[2,11],{16:35,18:36,17:72,19:[1,73],84:f,86:b,87:F,88:g,89:k}),t(O,[2,12],{19:[1,74]}),{15:75,16:76,84:f,86:b,87:F,88:g},{16:35,17:77,18:36,84:f,86:b,87:F,88:g,89:k},t(R,[2,97]),t(R,[2,98]),t(R,[2,99]),t(R,[2,100]),t([1,8,9,12,13,19,21,36,38,41,58,59,60,61,62,63,64,69,71],[2,101]),t(T,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,17:19,35:20,40:21,16:35,18:36,5:78,30:e,32:n,34:s,39:i,43:u,44:r,46:a,47:c,49:o,51:l,52:h,53:A,54:p,55:d,65:y,66:E,68:C,72:m,84:f,86:b,87:F,88:g,89:k}),{5:79,10:5,16:35,17:19,18:36,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:e,32:n,34:s,35:20,39:i,40:21,43:u,44:r,46:a,47:c,49:o,51:l,52:h,53:A,54:p,55:d,65:y,66:E,68:C,72:m,84:f,86:b,87:F,88:g,89:k},t(B,[2,17]),t(B,[2,26]),t(B,[2,27]),{13:[1,81],16:35,17:80,18:36,84:f,86:b,87:F,88:g,89:k},{48:82,56:52,57:53,58:D,59:_,60:S,61:N,62:$,63:L,64:v},t(B,[2,45]),{57:83,63:L,64:v},t(w,[2,61],{56:84,58:D,59:_,60:S,61:N,62:$}),t(P,[2,62]),t(P,[2,63]),t(P,[2,64]),t(P,[2,65]),t(P,[2,66]),t(G,[2,67]),t(G,[2,68]),{8:[1,86],23:87,37:85,40:21,43:u},{16:88,84:f,86:b,87:F,88:g},{42:89,46:M},{45:[1,91]},{13:[1,92]},{13:[1,93]},{69:[1,94],71:[1,95]},{16:96,84:f,86:b,87:F,88:g},{13:x,50:97},t(B,[2,53]),t(B,[2,102]),t(O,[2,13]),t(O,[2,14]),t(O,[2,15]),{36:[2,31]},{15:98,16:76,36:[2,9],84:f,86:b,87:F,88:g},t(U,[2,39],{11:99,12:[1,100]}),t(T,[2,7]),{9:[1,101]},t(Y,[2,48]),{16:35,17:102,18:36,84:f,86:b,87:F,88:g,89:k},{13:[1,104],16:35,17:103,18:36,84:f,86:b,87:F,88:g,89:k},t(w,[2,60],{56:105,58:D,59:_,60:S,61:N,62:$}),t(w,[2,59]),{38:[1,106]},{23:87,37:107,40:21,43:u},{8:[1,108],38:[2,32]},t(I,[2,36],{36:[1,109]}),{38:[1,110]},{38:[2,42],42:111,46:M},{16:35,17:112,18:36,84:f,86:b,87:F,88:g,89:k},t(B,[2,69],{13:[1,113]}),t(B,[2,71],{13:[1,115],67:[1,114]}),t(B,[2,75],{13:[1,116],70:[1,117]}),{13:[1,118]},t(B,[2,83]),t(B,[2,52]),{36:[2,10]},t(U,[2,40]),{13:[1,119]},{1:[2,4]},t(Y,[2,50]),t(Y,[2,49]),{16:35,17:120,18:36,84:f,86:b,87:F,88:g,89:k},t(w,[2,58]),t(B,[2,29]),{38:[1,121]},{23:87,37:122,38:[2,33],40:21,43:u},{42:123,46:M},t(I,[2,37]),{38:[2,43]},t(B,[2,41]),t(B,[2,70]),t(B,[2,72]),t(B,[2,73],{67:[1,124]}),t(B,[2,76]),t(B,[2,77],{13:[1,125]}),t(B,[2,79],{13:[1,127],67:[1,126]}),{14:[1,128]},t(Y,[2,51]),t(B,[2,30]),{38:[2,34]},{38:[1,129]},t(B,[2,74]),t(B,[2,78]),t(B,[2,80]),t(B,[2,81],{67:[1,130]}),t(U,[2,8]),t(I,[2,38]),t(B,[2,82])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],75:[2,31],98:[2,10],101:[2,4],111:[2,43],122:[2,34]},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=[],s=[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,k,T={};;){if(E=e[e.length-1],this.defaultActions[E]?C=this.defaultActions[E]:(null==y&&(k=void 0,"number"!=typeof(k=n.pop()||l.lex()||1)&&(k instanceof Array&&(k=(n=k).pop()),k=this.symbols_[k]||k),y=k),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),s.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],T.$=s[s.length-b],T._$={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&&(T._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[r,c,a,h.yy,C[1],s,i].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),s=s.slice(0,-1*b),i=i.slice(0,-1*b)),e.push(this.productions_[C[1]][0]),s.push(T.$),i.push(T._$),F=u[e[e.length-2]][e[e.length-1]],e.push(F);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,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 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 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===s.length?this.yylloc.first_column:0)+s[s.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,s,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))),(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,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;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,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),u=0;ue[0].length)){if(e=n,s=u,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,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[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:{},performAction:function(t,e,n,s){switch(n){case 0:return 52;case 1:return 53;case 2:return 54;case 3:return 55;case 4:case 5:case 14:case 29:case 34:case 38:case 45:break;case 6:return this.begin("acc_title"),30;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),32;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 56:case 59:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 33:return 8;case 15:case 16:return 7;case 17:case 35:case 43:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 69;case 23:return 70;case 25:return"STR";case 26:this.begin("string");break;case 27:return this.begin("namespace"),39;case 28:case 37:return this.popState(),8;case 30:return this.begin("namespace-body"),36;case 31:case 41:return this.popState(),38;case 32:case 42:return"EOF_IN_STRUCT";case 36:return this.begin("class"),43;case 39:return this.popState(),this.popState(),38;case 40:return this.begin("class-body"),36;case 44:return"OPEN_IN_STRUCT";case 46:return"MEMBER";case 47:return 72;case 48:return 65;case 49:return 66;case 50:return 68;case 51:return 49;case 52:return 51;case 53:return 44;case 54:return 45;case 55:return 71;case 57:return"GENERICTYPE";case 58:this.begin("generic");break;case 60:return"BQUOTE_STR";case 61:this.begin("bqstring");break;case 62:case 63:case 64:case 65:return 67;case 66:case 67:return 59;case 68:case 69:return 61;case 70:return 60;case 71:return 58;case 72:return 62;case 73:return 63;case 74:return 64;case 75:return 21;case 76:return 41;case 77:return 84;case 78:return"DOT";case 79:return"PLUS";case 80:return 81;case 81:case 82:return"EQUALS";case 83:return 88;case 84:return 12;case 85:return 14;case 86:return"PUNCTUATION";case 87:return 87;case 88:return 86;case 89:return 83;case 90: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]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?: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)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,31,32,33,34,35,36,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},namespace:{rules:[26,27,28,29,30,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},"class-body":{rules:[26,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},class:{rules:[26,37,38,39,40,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},acc_descr:{rules:[9,26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},acc_title:{rules:[7,26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},callback_args:{rules:[22,23,26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},callback_name:{rules:[19,20,21,26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},href:{rules:[26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},struct:{rules:[26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},generic:{rules:[26,47,48,49,50,51,52,53,54,55,56,57,58,61,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],inclusive:!1},bqstring:{rules:[26,47,48,49,50,51,52,53,54,55,58,59,60,61,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],inclusive:!1},string:{rules:[24,25,26,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,36,47,48,49,50,51,52,53,54,55,58,61,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],inclusive:!0}}};function j(){this.yy={}}return z.lexer=K,j.prototype=z,z.Parser=j,new j}();u.parser=u;const r=u,a=["#","+","~","-",""];class c{constructor(t,e){this.memberType=e,this.visibility="",this.classifier="";const n=(0,i.d)(t,(0,i.c)());this.parseMember(n)}getDisplayDetails(){let t=this.visibility+(0,i.v)(this.id);return"method"===this.memberType&&(t+=`(${(0,i.v)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,i.v)(this.returnType))),t=t.trim(),{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const n=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,s=t.match(n);if(s){const t=s[1]?s[1].trim():"";if(a.includes(t)&&(this.visibility=t),this.id=s[2].trim(),this.parameters=s[3]?s[3].trim():"",e=s[4]?s[4].trim():"",this.returnType=s[5]?s[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 n=t.length,s=t.substring(0,1),i=t.substring(n-1);a.includes(s)&&(this.visibility=s),i.match(/[*?]/)&&(e=i),this.id=t.substring(""===this.visibility?0:1,""===e?n:n-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 n="",s=e;if(e.indexOf("~")>0){const t=e.split("~");s=C(t[0]),n=C(t[1])}return{className:s,type:n}},f=function(t){const e=i.e.sanitizeText(t,(0,i.c)()),{className:n,type:s}=m(e);if(Object.hasOwn(h,n))return;const u=i.e.sanitizeText(n,(0,i.c)());h[u]={id:u,type:s,label:u,cssClasses:[],methods:[],members:[],annotations:[],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 n=m(t).className,s=h[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?s.annotations.push(C(t.substring(2,t.length-2))):t.indexOf(")")>0?s.methods.push(new c(t,"method")):t&&s.members.push(new c(t,"attribute"))}},g=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=o+n),void 0!==h[n]&&h[n].cssClasses.push(e)}))},k=function(t){let e=(0,s.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,s.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,s.Ys)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,s.Ys)(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.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,s.Ys)(this).classed("hover",!1)}))};E.push(k);let T="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(k),d={},y=0,(0,i.t)()},getClass:function(t){return h[t]},getClasses:function(){return h},getNotes:function(){return A},addAnnotation:function(t,e){const n=m(t).className;h[n].annotations.push(e)},addNote:function(t,e){const n={id:`note${A.length}`,class:e,text:t};A.push(n)},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:()=>T,setDirection:t=>{T=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,n){t.split(",").forEach((function(t){(function(t,e,n){const s=i.e.sanitizeText(t,(0,i.c)());if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;const u=s;if(void 0!==h[u]){const t=b(u);let s=[];if("string"==typeof n){s=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t{h[e].parent=t,d[t].classes[e]=h[e]}))},getNamespace:function(t){return d[t]},getNamespaces:function(){return d}},D=t=>`g.classGroup text {\n fill: ${t.nodeBorder};\n fill: ${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}\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/docs/themes/hugo-geekdoc/static/js/284-e80fd0b5.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/284-e80fd0b5.chunk.min.js new file mode 100644 index 00000000..dcca2c92 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/284-e80fd0b5.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[284],{4284:function(e,t,s){s.d(t,{diagram:function(){return N}});var o=s(2990),i=s(5625),a=s(7274),r=s(8454),n=s(7644);s(7484),s(7967),s(7856),s(3771),s(9368);const d="rect",c="rectWithTitle",l="statediagram",p=`${l}-state`,g="transition",b=`${g} note-edge`,h=`${l}-note`,u=`${l}-cluster`,y=`${l}-cluster-alt`,f="parent",w="note",x="----",$=`${x}${w}`,m=`${x}${f}`,T="fill:none",k="fill: #333",S="text",D="normal";let A={},v=0;function B(e="",t=0,s="",o=x){return`state-${e}${null!==s&&s.length>0?`${o}${s}`:""}-${t}`}const C=(e,t,s,i,a,n)=>{const l=s.id,g=null==(x=i[l])?"":x.classes?x.classes.join(" "):"";var x;if("root"!==l){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==o.D&&(t=s.type),A[l]||(A[l]={id:l,shape:t,description:r.e.sanitizeText(l,(0,r.c)()),classes:`${g} ${p}`});const i=A[l];s.description&&(Array.isArray(i.description)?(i.shape=c,i.description.push(s.description)):i.description.length>0?(i.shape=c,i.description===l?i.description=[s.description]:i.description=[i.description,s.description]):(i.shape=d,i.description=s.description),i.description=r.e.sanitizeTextOrArray(i.description,(0,r.c)())),1===i.description.length&&i.shape===c&&(i.shape=d),!i.type&&s.doc&&(r.l.info("Setting cluster for ",l,R(s)),i.type="group",i.dir=R(s),i.shape=s.type===o.a?"divider":"roundedWithTitle",i.classes=i.classes+" "+u+" "+(n?y:""));const a={labelStyle:"",shape:i.shape,labelText:i.description,classes:i.classes,style:"",id:l,dir:i.dir,domId:B(l,v),type:i.type,padding:15,centerLabel:!0};if(s.note){const t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:l+$+"-"+v,domId:B(l,v,w),type:i.type,padding:15},o={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:i.classes,style:"",id:l+m,domId:B(l,v,f),type:"group",padding:0};v++;const r=l+m;e.setNode(r,o),e.setNode(t.id,t),e.setNode(l,a),e.setParent(l,r),e.setParent(t.id,r);let n=l,d=t.id;"left of"===s.note.position&&(n=t.id,d=l),e.setEdge(n,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:b,arrowheadStyle:k,labelpos:"c",labelType:S,thickness:D})}else e.setNode(l,a)}t&&"root"!==t.id&&(r.l.trace("Setting node ",l," to be child of its parent ",t.id),e.setParent(l,t.id)),s.doc&&(r.l.trace("Adding nodes children "),E(e,s,s.doc,i,a,!n))},E=(e,t,s,i,a,n)=>{r.l.trace("items",s),s.forEach((s=>{switch(s.stmt){case o.b:case o.D:C(e,t,s,i,a,n);break;case o.S:{C(e,t,s.state1,i,a,n),C(e,t,s.state2,i,a,n);const o={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:r.e.sanitizeText(s.description,(0,r.c)()),arrowheadStyle:k,labelpos:"c",labelType:S,thickness:D,classes:g};e.setEdge(s.state1.id,s.state2.id,o,v),v++}}}))},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/docs/themes/hugo-geekdoc/static/js/305-02bced6e.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/305-02bced6e.chunk.min.js new file mode 100644 index 00000000..4c5df7c8 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/305-02bced6e.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[305],{3305:function(t,e,r){r.d(e,{diagram:function(){return M}});var i=r(8454),a=r(5625),n=r(7274),s=r(3771);const o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));var 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}var y=function(t,e,r){function i(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{i.name="v5"}catch(t){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}(),u=(r(7484),r(7967),r(7856),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 T;for(g in k=[],n[f])this.terminals_[g]&&g>2&&k.push("'"+this.terminals_[g]+"'");T=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(T,{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.t)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.q,getDiagramTitle:i.r},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 T=0;const x="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function A(t=""){return t.length>0?`${t}-`:""}const M={parser:p,db:E,renderer:{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.Ys)("#i"+e));const h=("sandbox"===c?(0,n.Ys)(l.nodes()[0].contentDocument.body):(0,n.Ys)("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.k({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,x)}`}(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.v)(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.bK)(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){T++;const o=r.edge(R.get(e.entityA),R.get(e.entityB),N(e)),c=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),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"+T,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}`)}},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/docs/themes/hugo-geekdoc/static/js/31-228682ad.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/31-228682ad.chunk.min.js new file mode 100644 index 00000000..dbf3aeb2 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/31-228682ad.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[31],{8031:function(e,t,l){l.d(t,{diagram:function(){return f}});var n=l(6281),a=l(7274),o=l(5625),i=l(8454),s=l(7644);l(7484),l(7967),l(7856),l(3771),l(9368);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,a){const o=Object.keys(e);i.l.info("keys:",o),i.l.info(e),o.filter((t=>e[t].parent==a)).forEach((function(l){var o,s;const r=e[l],c=r.cssClasses.join(" "),p=r.label??r.id,b={labelStyle:"",shape:"class_box",labelText:d(p),classData:r,rx:0,ry:0,class:c,style:"",id:r.id,domId:r.domId,tooltip:n.db.getTooltip(r.id,a)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(o=(0,i.c)().flowchart)?void 0:o.padding)??(null==(s=(0,i.c)().class)?void 0:s.padding)};t.setNode(r.id,b),a&&t.setParent(r.id,a),i.l.info("setNode",b)}))};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,f=(0,i.c)().securityLevel;i.l.info("config:",b);const u=(null==b?void 0:b.nodeSpacing)??50,g=(null==b?void 0:b.rankSpacing)??50,y=new o.k({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:u,ranksep:g,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),h=n.db.getNamespaces(),v=n.db.getClasses(),w=n.db.getRelations(),k=n.db.getNotes();let x;i.l.info(w),function(e,t,l,n){const a=Object.keys(e);i.l.info("keys:",a),i.l.info(e),a.forEach((function(l){var a,o;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==(a=(0,i.c)().flowchart)?void 0:a.padding)??(null==(o=(0,i.c)().class)?void 0:o.padding)};t.setNode(s.id,r),c(s.classes,t,0,n,s.id),i.l.info("setNode",r)}))}(h,y,0,n),c(v,y,0,n),function(e,t){const l=(0,i.c)().flowchart;let n=0;e.forEach((function(e){var o;n++;const s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:"id"+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,a.c_6)};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==(o=(0,i.c)().flowchart)?void 0:o.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,y),function(e,t,l,n){i.l.info(e),e.forEach((function(e,o){var s,c;const p=e,b=p.text,f={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,f),i.l.info("setNode",f),!p.class||!(p.class in n))return;const u=l+o,g={id:`edgeNote${u}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,i.n)(r.curve,a.c_6)};t.setEdge(p.id,p.class,g,u)}))}(k,y,w.length+1,v),"sandbox"===f&&(x=(0,a.Ys)("#i"+t));const m="sandbox"===f?(0,a.Ys)(x.nodes()[0].contentDocument.body):(0,a.Ys)("body"),T=m.select(`[id="${t}"]`),S=m.select("#"+t+" g");if(await(0,s.r)(S,y,["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)(y,T,null==b?void 0:b.diagramPadding,null==b?void 0:b.useMaxWidth),!(null==b?void 0:b.htmlLabels)){const e="sandbox"===f?x.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)}}}},f={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/docs/themes/hugo-geekdoc/static/js/320-1804d5a1.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/320-1804d5a1.chunk.min.js new file mode 100644 index 00000000..e07db268 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/320-1804d5a1.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[320],{6320:function(t,e,s){s.d(e,{d:function(){return st},f:function(){return et},p:function(){return r}});var u=s(7274),i=s(8454),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],k=[1,31],D=[1,32],g=[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],N=[1,57],$=[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],P=[1,60],w=[1,62],U=[8,9,11,73,75],V=[1,88],G=[1,93],M=[1,92],Y=[1,89],K=[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],kt=[1,147],Dt=[1,126],gt=[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],Nt=[1,168],$t=[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],Pt=[10,103],wt=[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],Yt=[1,232],Kt=[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,FirstStmtSeperator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,verticeStatement: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:k,84:D,85:g,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:N,15:53,18:56},t($,[2,3]),t($,[2,4]),t($,[2,5]),t($,[2,6]),t($,[2,7]),t($,[2,8]),{8:O,9:P,11:w,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:O,9:P,11:w,21:66},{8:O,9:P,11:w,21:67},{8:O,9:P,11:w,21:68},{8:O,9:P,11:w,21:69},{8:O,9:P,11:w,21:70},{8:O,9:P,10:[1,71],11:w,21:72},t($,[2,36]),{35:[1,73]},{37:[1,74]},t($,[2,39]),t(U,[2,46],{18:75,10:N}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:V,42:G,58:M,77:[1,83],86:Y,92:[1,80],94:[1,81],98:82,102:K,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},t($,[2,178]),t($,[2,179]),t($,[2,180]),t($,[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:N}),t($,[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($,[2,40]),t($,[2,41]),t($,[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($,[2,28]),t($,[2,29]),t($,[2,30]),t($,[2,31]),t($,[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:kt,88:123,102:Dt,106:gt,108:bt,111:Ft,112:Tt,113:Ct},t(_t,n,{5:148}),t($,[2,37]),t($,[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:Y,102:K,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:Nt},{30:171,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:173,48:[1,172],65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:174,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:175,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:176,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{106:[1,177]},{30:178,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:179,63:[1,180],65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:181,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:182,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{30:183,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},t(J,[2,175]),t(i,[2,20]),t(tt,[2,25]),t(U,[2,43],{18:184,10:N}),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:Nt},{75:[1,188],76:189,113:st,116:ut},t($t,[2,73]),t($t,[2,75]),t($t,[2,76]),t($t,[2,161]),t($t,[2,162]),{8:O,9:P,10:it,11:w,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:kt,88:192,102:Dt,106:gt,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:k,84:D,85:g,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:N,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(Pt,[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:Nt},t(wt,[2,79]),t(wt,[2,81]),t(wt,[2,82]),t(wt,[2,146]),t(wt,[2,147]),t(wt,[2,148]),t(wt,[2,149]),{47:[1,209],65:xt,79:208,113:It,114:Rt,115:Nt},{30:210,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{49:[1,211],65:xt,79:208,113:It,114:Rt,115:Nt},{51:[1,212],65:xt,79:208,113:It,114:Rt,115:Nt},{53:[1,213],65:xt,79:208,113:It,114:Rt,115:Nt},{55:[1,214],65:xt,79:208,113:It,114:Rt,115:Nt},{58:[1,215]},{62:[1,216],65:xt,79:208,113:It,114:Rt,115:Nt},{64:[1,217],65:xt,79:208,113:It,114:Rt,115:Nt},{30:218,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},{31:[1,219],65:xt,79:208,113:It,114:Rt,115:Nt},{65:xt,67:[1,220],69:[1,221],79:208,113:It,114:Rt,115:Nt},{65:xt,67:[1,223],69:[1,222],79:208,113:It,114:Rt,115:Nt},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:Nt},t(et,[2,72]),t($t,[2,74]),{30:225,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:Nt},t(_t,n,{5:226}),t(Ot,[2,95]),t($,[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:Yt,107:Kt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:239,101:[1,240],102:Mt,104:229,105:230,106:Yt,107:Kt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:241,101:[1,242],102:Mt,104:229,105:230,106:Yt,107:Kt,108:jt,109:Xt},{102:[1,243]},{10:Ut,58:Vt,81:Gt,89:244,102:Mt,104:229,105:230,106:Yt,107:Kt,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(wt,[2,80]),t(Z,[2,52]),{49:[1,250],65:xt,79:208,113:It,114:Rt,115:Nt},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:Nt},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:Nt},{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:k,84:D,85:g,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:Yt,107:Kt,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(Pt,[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:P,11:w,21:264},t($,[2,34]),{10:Ut,58:Vt,81:Gt,102:Mt,104:265,105:230,106:Yt,107:Kt,108:jt,109:Xt},t(Wt,[2,126]),{14:V,42:G,58:M,86:Y,98:266,102:K,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},{14:V,42:G,58:M,86:Y,98:267,102:K,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:Nt},t(Z,[2,61]),t(_t,n,{5:270}),t(Ht,[2,124],{105:256,10:Ut,58:Vt,81:Gt,102:Mt,106:Yt,107:Kt,108:jt,109:Xt}),t(St,[2,119],{117:160,10:[1,271],14:V,42:G,58:M,86:Y,102:K,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:Y,102:K,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:Nt},{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:k,84:D,85:g,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:Yt,107:Kt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:276,102:Mt,104:229,105:230,106:Yt,107:Kt,108:jt,109:Xt},t(Z,[2,57]),t($,[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,k,D,g,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(D in F=[],n[E])this.terminals_[D]&&D>2&&F.push("'"+this.terminals_[D]+"'");_=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(g=this.productions_[f[1]][1],C.$=u[u.length-g],C._$={first_line:i[i.length-(g||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(g||1)].first_column,last_column:i[i.length-1].last_column},p&&(C._$.range=[i[i.length-(g||1)].range[0],i[i.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[r,c,a,h.yy,f[1],u,i].concat(o))))return k;g&&(e=e.slice(0,-1*g*2),u=u.slice(0,-1*g),i=i.slice(0,-1*g)),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,k=!0,D=[];const g=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=g(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;void 0!==n&&(u.text=g(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),A.push(u)},C=function(t,e,s){let u,n;for(i.l.info("addLink (abc78)",t,e,s),u=0;u/)&&(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.Ys)(this).classed("hover",!1)}))};D.push(w);const U=function(t="gen-1"){h={},d={},A=[],D=[w],p=[],y={},f=0,E={},k=!0,c=t,(0,i.t)()},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[K]=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(){K=-1,p.length>0&&X("none",p.length-1)},W=function(){return p},Q=()=>!!k&&(k=!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.I.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]=g(e))}))},getTooltip:L,setClickEvent:I,setLink:v,bindFunctions:R,getDirection:N,getVertices:$,getEdges:O,getClasses:P,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.r},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:P,getDepthFirstPos:z,getDirection:N,getEdges:O,getSubGraphs:W,getTooltip:L,getVertices:$,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/docs/themes/hugo-geekdoc/static/js/366-23e20231.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/366-23e20231.chunk.min.js new file mode 100644 index 00000000..e3eaa1fc --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/366-23e20231.chunk.min.js @@ -0,0 +1 @@ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[366],{7295:function(n,t,e){n.exports=function n(t,e,i){function r(a,u){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var o=new Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}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,u=e.algorithms,o=void 0===u?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:u,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:o}).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,u=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:u}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),n}();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.terminate&&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(){"use strict";var e;function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function I(){}function C(){}function O(){}function A(){}function $(){}function L(){}function N(){}function x(){}function D(){}function R(){}function _(){}function K(){}function F(){}function B(){}function H(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function Y(){}function J(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function un(){}function on(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function vn(){}function mn(){}function yn(){}function kn(){}function jn(){}function En(){}function Tn(){}function Mn(){}function Sn(){}function Pn(){}function In(){}function Cn(){}function On(){}function An(){}function $n(){}function Ln(){}function Nn(){}function xn(){}function Dn(){}function Rn(){}function _n(){}function Kn(){}function Fn(){}function Bn(){}function Hn(){}function qn(){}function Gn(){}function zn(){}function Un(){}function Xn(){}function Wn(){}function Vn(){}function Qn(){}function Yn(){}function Jn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ut(){}function ot(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function vt(){}function mt(){}function yt(){}function kt(){}function jt(){}function Et(){}function Tt(){}function Mt(){}function St(){}function Pt(){}function It(){}function Ct(){}function Ot(){}function At(){}function $t(){}function Lt(){}function Nt(){}function xt(){}function Dt(){}function Rt(){}function _t(){}function Kt(){}function Ft(){}function Bt(){}function Ht(){}function qt(){}function Gt(){}function zt(){}function Ut(){}function Xt(){}function Wt(){}function Vt(){}function Qt(){}function Yt(){}function Jt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function ue(){}function oe(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function ve(){}function me(){}function ye(){}function ke(){}function je(){}function Ee(){}function Te(){}function Me(){}function Se(){}function Pe(){}function Ie(){}function Ce(){}function Oe(){}function Ae(){}function $e(){}function Le(){}function Ne(){}function xe(){}function De(){}function Re(){}function _e(){}function Ke(){}function Fe(){}function Be(){}function He(){}function qe(){}function Ge(){}function ze(){}function Ue(){}function Xe(){}function We(){}function Ve(){}function Qe(){}function Ye(){}function Je(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function ui(){}function oi(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function vi(){}function mi(){}function yi(){}function ki(){}function ji(){}function Ei(){}function Ti(){}function Mi(){}function Si(){}function Pi(){}function Ii(){}function Ci(){}function Oi(){}function Ai(){}function $i(){}function Li(){}function Ni(){}function xi(){}function Di(){}function Ri(){}function _i(){}function Ki(){}function Fi(){}function Bi(){}function Hi(){}function qi(){}function Gi(){}function zi(){}function Ui(){}function Xi(){}function Wi(){}function Vi(){}function Qi(){}function Yi(){}function Ji(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function ur(){}function or(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function vr(){}function mr(){}function yr(){}function kr(){}function jr(){}function Er(){}function Tr(){}function Mr(){}function Sr(){}function Pr(){}function Ir(){}function Cr(){}function Or(){}function Ar(){}function $r(){}function Lr(){}function Nr(){}function xr(){}function Dr(){}function Rr(){}function _r(){}function Kr(){}function Fr(){}function Br(){}function Hr(){}function qr(){}function Gr(){}function zr(){}function Ur(){}function Xr(){}function Wr(){}function Vr(){}function Qr(){}function Yr(){}function Jr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function uc(){}function oc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function vc(){}function mc(){}function yc(){}function kc(){}function jc(){}function Ec(){}function Tc(){}function Mc(){}function Sc(){}function Pc(){}function Ic(){}function Cc(){}function Oc(){}function Ac(){}function $c(){}function Lc(){}function Nc(){}function xc(){}function Dc(){}function Rc(){}function _c(){}function Kc(){}function Fc(){}function Bc(){}function Hc(){}function qc(){}function Gc(){}function zc(){}function Uc(){}function Xc(){}function Wc(){}function Vc(){}function Qc(){}function Yc(){}function Jc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function ua(){}function oa(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function va(){}function ma(){}function ya(){}function ka(){}function ja(){}function Ea(){}function Ta(){}function Ma(){}function Sa(){}function Pa(){}function Ia(){}function Ca(){}function Oa(){}function Aa(){}function $a(){}function La(){}function Na(){}function xa(){}function Da(){}function Ra(){}function _a(){}function Ka(){}function Fa(){}function Ba(){}function Ha(){}function qa(){}function Ga(){}function za(){}function Ua(){}function Xa(){}function Wa(){}function Va(){}function Qa(){}function Ya(){}function Ja(){}function Za(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function uu(){}function ou(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function vu(){}function mu(){}function yu(){}function ku(){}function ju(){}function Eu(){}function Tu(){}function Mu(){}function Su(){}function Pu(){}function Iu(){}function Cu(){}function Ou(){}function Au(){}function $u(){}function Lu(){}function Nu(){}function xu(){}function Du(){}function Ru(){}function _u(){}function Ku(){}function Fu(){}function Bu(){}function Hu(){}function qu(){}function Gu(){}function zu(){}function Uu(){}function Xu(){}function Wu(){}function Vu(){}function Qu(){}function Yu(){}function Ju(){}function Zu(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function uo(){}function oo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function vo(){}function mo(){}function yo(){}function ko(){}function jo(){}function Eo(){}function To(){}function Mo(){}function So(){}function Po(){}function Io(){}function Co(){}function Oo(){}function Ao(){}function $o(){}function Lo(){}function No(){}function xo(){}function Do(){}function Ro(){}function _o(){}function Ko(){}function Fo(){}function Bo(){}function Ho(){}function qo(){}function Go(){}function zo(){}function Uo(){}function Xo(){}function Wo(){}function Vo(){}function Qo(){}function Yo(){}function Jo(){}function Zo(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function us(){}function os(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function vs(){}function ms(){}function ys(){}function ks(){}function js(){}function Es(){}function Ts(){}function Ms(){}function Ss(){}function Ps(){}function Is(){}function Cs(){}function Os(){}function As(){}function $s(){}function Ls(){}function Ns(){}function xs(){}function Ds(){}function Rs(){}function _s(){}function Ks(){}function Fs(){}function Bs(){}function Hs(){}function qs(){}function Gs(){}function zs(){}function Us(){}function Xs(){}function Ws(){}function Vs(){}function Qs(){}function Ys(){}function Js(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function uh(){}function oh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function vh(){}function mh(){}function yh(){}function kh(){}function jh(){}function Eh(){}function Th(){}function Mh(){}function Sh(){}function Ph(){}function Ih(){}function Ch(){}function Oh(){}function Ah(){}function $h(){}function Lh(){}function Nh(){}function xh(){}function Dh(){}function Rh(){}function _h(){}function Kh(){gm()}function Fh(){O6()}function Bh(){len()}function Hh(){pcn()}function qh(){Eon()}function Gh(){Bdn()}function zh(){Lrn()}function Uh(){Wrn()}function Xh(){QE()}function Wh(){UE()}function Vh(){Ax()}function Qh(){YE()}function Yh(){m2()}function Jh(){ZE()}function Zh(){eQ()}function nf(){P0()}function tf(){uY()}function ef(){oz()}function rf(){A6()}function cf(){Qun()}function af(){I0()}function uf(){gX()}function of(){Ajn()}function sf(){Rrn()}function hf(){sz()}function ff(){gjn()}function lf(){az()}function bf(){C0()}function wf(){e5()}function df(){bz()}function gf(){MY()}function pf(){nT()}function vf(){lln()}function mf(){Krn()}function yf(){b3()}function kf(){Dun()}function jf(){Hdn()}function Ef(){lin()}function Tf(){cln()}function Mf(){i4()}function Sf(){fz()}function Pf(){epn()}function If(){uln()}function Cf(){Jln()}function Of(){IY()}function Af(){Run()}function $f(){Cjn()}function Lf(){L6()}function Nf(){Onn()}function xf(){Jvn()}function Df(){dx()}function Rf(){W2()}function _f(){Fpn()}function Kf(n){vB(n)}function Ff(n){this.a=n}function Bf(n){this.a=n}function Hf(n){this.a=n}function qf(n){this.a=n}function Gf(n){this.a=n}function zf(n){this.a=n}function Uf(n){this.a=n}function Xf(n){this.a=n}function Wf(n){this.a=n}function Vf(n){this.a=n}function Qf(n){this.a=n}function Yf(n){this.a=n}function Jf(n){this.a=n}function Zf(n){this.a=n}function nl(n){this.a=n}function tl(n){this.a=n}function el(n){this.a=n}function il(n){this.a=n}function rl(n){this.a=n}function cl(n){this.a=n}function al(n){this.a=n}function ul(n){this.b=n}function ol(n){this.c=n}function sl(n){this.a=n}function hl(n){this.a=n}function fl(n){this.a=n}function ll(n){this.a=n}function bl(n){this.a=n}function wl(n){this.a=n}function dl(n){this.a=n}function gl(n){this.a=n}function pl(n){this.a=n}function vl(n){this.a=n}function ml(n){this.a=n}function yl(n){this.a=n}function kl(n){this.a=n}function jl(n){this.a=n}function El(n){this.a=n}function Tl(n){this.a=n}function Ml(n){this.a=n}function Sl(){this.a=[]}function Pl(n,t){n.a=t}function Il(n,t){n.j=t}function Cl(n,t){n.c=t}function Ol(n,t){n.d=t}function Al(n,t){n.k=t}function $l(n,t){n.c=t}function Ll(n,t){n.a=t}function Nl(n,t){n.a=t}function xl(n,t){n.f=t}function Dl(n,t){n.a=t}function Rl(n,t){n.b=t}function _l(n,t){n.d=t}function Kl(n,t){n.i=t}function Fl(n,t){n.o=t}function Bl(n,t){n.e=t}function Hl(n,t){n.g=t}function ql(n,t){n.e=t}function Gl(n,t){n.f=t}function zl(n,t){n.f=t}function Ul(n,t){n.n=t}function Xl(n){n.b=n.a}function Wl(n){n.c=n.d.d}function Vl(n){this.d=n}function Ql(n){this.a=n}function Yl(n){this.a=n}function Jl(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 ub(n){this.a=n}function ob(n){this.a=n}function sb(n){this.a=n}function hb(n){this.b=n}function fb(n){this.b=n}function lb(n){this.b=n}function bb(n){this.a=n}function wb(n){this.a=n}function db(n){this.a=n}function gb(n){this.c=n}function pb(n){this.c=n}function vb(n){this.c=n}function mb(n){this.a=n}function yb(n){this.a=n}function kb(n){this.a=n}function jb(n){this.a=n}function Eb(n){this.a=n}function Tb(n){this.a=n}function Mb(n){this.a=n}function Sb(n){this.a=n}function Pb(n){this.a=n}function Ib(n){this.a=n}function Cb(n){this.a=n}function Ob(n){this.a=n}function Ab(n){this.a=n}function $b(n){this.a=n}function Lb(n){this.a=n}function Nb(n){this.a=n}function xb(n){this.a=n}function Db(n){this.a=n}function Rb(n){this.a=n}function _b(n){this.a=n}function Kb(n){this.a=n}function Fb(n){this.a=n}function Bb(n){this.a=n}function Hb(n){this.a=n}function qb(n){this.a=n}function Gb(n){this.a=n}function zb(n){this.a=n}function Ub(n){this.a=n}function Xb(n){this.a=n}function Wb(n){this.a=n}function Vb(n){this.a=n}function Qb(n){this.a=n}function Yb(n){this.a=n}function Jb(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 uw(n){this.a=n}function ow(n){this.a=n}function sw(n){this.a=n}function hw(n){this.e=n}function fw(n){this.a=n}function lw(n){this.a=n}function bw(n){this.a=n}function ww(n){this.a=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.a=n}function vw(n){this.a=n}function mw(n){this.a=n}function yw(n){this.a=n}function kw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Tw(n){this.a=n}function Mw(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Iw(n){this.a=n}function Cw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function $w(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function xw(n){this.a=n}function Dw(n){this.a=n}function Rw(n){this.a=n}function _w(n){this.a=n}function Kw(n){this.a=n}function Fw(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function qw(n){this.a=n}function Gw(n){this.a=n}function zw(n){this.a=n}function Uw(n){this.a=n}function Xw(n){this.a=n}function Ww(n){this.a=n}function Vw(n){this.a=n}function Qw(n){this.a=n}function Yw(n){this.a=n}function Jw(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 id(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function ud(n){this.a=n}function od(n){this.a=n}function sd(n){this.a=n}function hd(n){this.c=n}function fd(n){this.b=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.a=n}function pd(n){this.a=n}function vd(n){this.a=n}function md(n){this.a=n}function yd(n){this.a=n}function kd(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Td(n){this.a=n}function Md(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Id(n){this.a=n}function Cd(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function $d(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function xd(n){this.a=n}function Dd(n){this.a=n}function Rd(n){this.a=n}function _d(n){this.a=n}function Kd(n){this.a=n}function Fd(n){this.a=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function qd(n){this.a=n}function Gd(n){this.a=n}function zd(n){this.a=n}function Ud(n){this.a=n}function Xd(n){this.a=n}function Wd(n){this.a=n}function Vd(n){this.a=n}function Qd(n){this.a=n}function Yd(n){this.a=n}function Jd(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 ug(n){this.a=n}function og(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.a=n}function vg(n){this.a=n}function mg(n){this.a=n}function yg(n){this.a=n}function kg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Tg(n){this.a=n}function Mg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Ig(n){this.a=n}function Cg(n){this.a=n}function Og(n){this.b=n}function Ag(n){this.f=n}function $g(n){this.a=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function xg(n){this.a=n}function Dg(n){this.a=n}function Rg(n){this.a=n}function _g(n){this.a=n}function Kg(n){this.a=n}function Fg(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function qg(n){this.b=n}function Gg(n){this.c=n}function zg(n){this.e=n}function Ug(n){this.a=n}function Xg(n){this.a=n}function Wg(n){this.a=n}function Vg(n){this.a=n}function Qg(n){this.a=n}function Yg(n){this.d=n}function Jg(n){this.a=n}function Zg(n){this.a=n}function np(n){this.e=n}function tp(){this.a=0}function ep(){$C(this)}function ip(){AC(this)}function rp(){UK(this)}function cp(){QB(this)}function ap(){}function up(){this.c=Wat}function op(n,t){n.b+=t}function sp(n){n.b=new gy}function hp(n){return n.e}function fp(n){return n.a}function lp(n){return n.a}function bp(n){return n.a}function wp(n){return n.a}function dp(n){return n.a}function gp(){return null}function pp(){return null}function vp(n,t){n.b=t-n.b}function mp(n,t){n.a=t-n.a}function yp(n,t){t.ad(n.a)}function kp(n,t){n.e=t,t.b=n}function jp(n){px(),this.a=n}function Ep(n){px(),this.a=n}function Tp(n){px(),this.a=n}function Mp(n){VF(),this.a=n}function Sp(n){$q(),pKn.be(n)}function Pp(){OA.call(this)}function Ip(){OA.call(this)}function Cp(){Pp.call(this)}function Op(){Pp.call(this)}function Ap(){Pp.call(this)}function $p(){Pp.call(this)}function Lp(){Pp.call(this)}function Np(){Pp.call(this)}function xp(){Pp.call(this)}function Dp(){Pp.call(this)}function Rp(){Pp.call(this)}function _p(){Pp.call(this)}function Kp(){Pp.call(this)}function Fp(){this.a=this}function Bp(){this.Bb|=256}function Hp(){this.b=new xI}function qp(){qp=O,new rp}function Gp(){Cp.call(this)}function zp(n,t){n.length=t}function Up(n,t){eD(n.a,t)}function Xp(n,t){_3(n.e,t)}function Wp(n){kfn(n.c,n.b)}function Vp(n){this.a=function(n){var t;return(t=gon(n))>34028234663852886e22?JTn:t<-34028234663852886e22?ZTn:t}(n)}function Qp(){this.a=new rp}function Yp(){this.a=new rp}function Jp(){this.a=new ip}function Zp(){this.a=new ip}function nv(){this.a=new ip}function tv(){this.a=new kn}function ev(){this.a=new WV}function iv(){this.a=new bt}function rv(){this.a=new jE}function cv(){this.a=new gU}function av(){this.a=new NG}function uv(){this.a=new aN}function ov(){this.a=new ip}function sv(){this.a=new ip}function hv(){this.a=new ip}function fv(){this.a=new ip}function lv(){this.d=new ip}function bv(){this.a=new Qp}function wv(){this.a=new rp}function dv(){this.b=new rp}function gv(){this.b=new ip}function pv(){this.e=new ip}function vv(){this.d=new ip}function mv(){this.a=new cf}function yv(){ip.call(this)}function kv(){Jp.call(this)}function jv(){sN.call(this)}function Ev(){sv.call(this)}function Tv(){Mv.call(this)}function Mv(){ap.call(this)}function Sv(){ap.call(this)}function Pv(){Sv.call(this)}function Iv(){Eq.call(this)}function Cv(){Eq.call(this)}function Ov(){um.call(this)}function Av(){um.call(this)}function $v(){um.call(this)}function Lv(){om.call(this)}function Nv(){ME.call(this)}function xv(){eo.call(this)}function Dv(){eo.call(this)}function Rv(){bm.call(this)}function _v(){bm.call(this)}function Kv(){rp.call(this)}function Fv(){rp.call(this)}function Bv(){rp.call(this)}function Hv(){Qp.call(this)}function qv(){T0.call(this)}function Gv(){Bp.call(this)}function zv(){zO.call(this)}function Uv(){zO.call(this)}function Xv(){rp.call(this)}function Wv(){rp.call(this)}function Vv(){rp.call(this)}function Qv(){yo.call(this)}function Yv(){yo.call(this)}function Jv(){Qv.call(this)}function Zv(){Dh.call(this)}function nm(n){KZ.call(this,n)}function tm(n){KZ.call(this,n)}function em(n){Wf.call(this,n)}function im(n){tE.call(this,n)}function rm(n){im.call(this,n)}function cm(n){tE.call(this,n)}function am(){this.a=new ME}function um(){this.a=new Qp}function om(){this.a=new rp}function sm(){this.a=new ip}function hm(){this.j=new ip}function fm(){this.a=new Xa}function lm(){this.a=new bj}function bm(){this.a=new mo}function wm(){wm=O,nKn=new _y}function dm(){dm=O,Z_n=new Ry}function gm(){gm=O,z_n=new c}function pm(){pm=O,aKn=new mA}function vm(n){im.call(this,n)}function mm(n){im.call(this,n)}function ym(n){hW.call(this,n)}function km(n){hW.call(this,n)}function jm(n){ix.call(this,n)}function Em(n){kon.call(this,n)}function Tm(n){rE.call(this,n)}function Mm(n){aE.call(this,n)}function Sm(n){aE.call(this,n)}function Pm(n){aE.call(this,n)}function Im(n){x_.call(this,n)}function Cm(n){Im.call(this,n)}function Om(){Ml.call(this,{})}function Am(n){qO(),this.a=n}function $m(n){n.b=null,n.c=0}function Lm(n,t){n.a=t,function(n){var t,i,r;for(function(n){var t,i,r;for(i=new pb(n.a.a.b);i.a0&&((!lC(n.a.c)||!t.n.d)&&(!bC(n.a.c)||!t.n.b)&&(t.g.d-=e.Math.max(0,r/2-.5)),(!lC(n.a.c)||!t.n.a)&&(!bC(n.a.c)||!t.n.c)&&(t.g.a+=e.Math.max(0,r-1)))}(n),r=new ip,i=new pb(n.a.a.b);i.a0&&((!lC(n.a.c)||!t.n.d)&&(!bC(n.a.c)||!t.n.b)&&(t.g.d+=e.Math.max(0,r/2-.5)),(!lC(n.a.c)||!t.n.a)&&(!bC(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}(n)}(n)}function Nm(n,t,e){n.a[t.g]=e}function xm(n,t,e){!function(n,t,e){var i,r;for(TC(n,n.j+t,n.k+e),r=new UO((!n.a&&(n.a=new XO(Qrt,n,5)),n.a));r.e!=r.i.gc();)yC(i=Yx(hen(r),469),i.a+t,i.b+e);EC(n,n.b+t,n.c+e)}(e,n,t)}function Dm(n,t){!function(n,t){lC(n.f)?function(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new pb(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[vMn]=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 By(n){return n.a?n.b:0}function Hy(n){return n.a?n.b:0}function qy(n,t){return aJ(n,t)}function Gy(n,t){return qG(n,t)}function zy(n,t){return n.f=t,n}function Uy(n,t){return n.c=t,n}function Xy(n,t){return n.a=t,n}function Wy(n,t){return n.f=t,n}function Vy(n,t){return n.k=t,n}function Qy(n,t){return n.a=t,n}function Yy(n,t){return n.e=t,n}function Jy(n,t){n.b=!0,n.d=t}function Zy(n,t){return n?0:t-1}function nk(n,t){return n.b=t,n}function tk(n,t){return n.a=t,n}function ek(n,t){return n.c=t,n}function ik(n,t){return n.d=t,n}function rk(n,t){return n.e=t,n}function ck(n,t){return n.f=t,n}function ak(n,t){return n.a=t,n}function uk(n,t){return n.b=t,n}function ok(n,t){return n.c=t,n}function sk(n,t){return n.c=t,n}function hk(n,t){return n.b=t,n}function fk(n,t){return n.d=t,n}function lk(n,t){return n.e=t,n}function bk(n,t){return n.g=t,n}function wk(n,t){return n.a=t,n}function dk(n,t){return n.i=t,n}function gk(n,t){return n.j=t,n}function pk(n,t){return n.k=t,n}function vk(n,t,e){!function(n,t,e){KK(n,new ZT(t.a,e.a))}(n.a,t,e)}function mk(n){wH.call(this,n)}function yk(n){wH.call(this,n)}function kk(n){ox.call(this,n)}function jk(n){O7.call(this,n)}function Ek(n){FZ.call(this,n)}function Tk(n){_H.call(this,n)}function Mk(n){_H.call(this,n)}function Sk(){sO.call(this,"")}function Pk(){this.a=0,this.b=0}function Ik(){this.b=0,this.a=0}function Ck(n,t){n.b=0,F1(n,t)}function Ok(n,t){return n.c._b(t)}function Ak(n){return n.e&&n.e()}function $k(n){return n?n.d:null}function Lk(n,t){return R8(n.b,t)}function Nk(n){return sL(n),n.o}function xk(){xk=O,Ort=function(){var n,t;Jvn();try{if(t=Yx(Jcn((mT(),aat),xNn),2014))return t}catch(t){if(!CO(t=j4(t),102))throw hp(t);n=t,A_((GC(),n))}return new ao}()}function Dk(){var n;Dk=O,Art=sct?Yx(Hln((mT(),aat),xNn),2016):(n=Yx(CO(aG((mT(),aat),xNn),555)?aG(aat,xNn):new Gfn,555),sct=!0,function(n){n.q||(n.q=!0,n.p=q3(n,0),n.a=q3(n,1),P2(n.a,0),n.f=q3(n,2),P2(n.f,1),S2(n.f,2),n.n=q3(n,3),S2(n.n,3),S2(n.n,4),S2(n.n,5),S2(n.n,6),n.g=q3(n,4),P2(n.g,7),S2(n.g,8),n.c=q3(n,5),P2(n.c,7),P2(n.c,8),n.i=q3(n,6),P2(n.i,9),P2(n.i,10),P2(n.i,11),P2(n.i,12),S2(n.i,13),n.j=q3(n,7),P2(n.j,9),n.d=q3(n,8),P2(n.d,3),P2(n.d,4),P2(n.d,5),P2(n.d,6),S2(n.d,7),S2(n.d,8),S2(n.d,9),S2(n.d,10),n.b=q3(n,9),S2(n.b,0),S2(n.b,1),n.e=q3(n,10),S2(n.e,1),S2(n.e,2),S2(n.e,3),S2(n.e,4),P2(n.e,5),P2(n.e,6),P2(n.e,7),P2(n.e,8),P2(n.e,9),P2(n.e,10),S2(n.e,11),n.k=q3(n,11),S2(n.k,0),S2(n.k,1),n.o=G3(n,12),n.s=G3(n,13))}(n),function(n){var t,e,i,r,c,a,u;n.r||(n.r=!0,E2(n,"graph"),T2(n,"graph"),M2(n,xNn),g4(n.o,"T"),fY(Iq(n.a),n.p),fY(Iq(n.f),n.a),fY(Iq(n.n),n.f),fY(Iq(n.g),n.n),fY(Iq(n.c),n.n),fY(Iq(n.i),n.c),fY(Iq(n.j),n.c),fY(Iq(n.d),n.f),fY(Iq(n.e),n.a),TU(n.p,uqn,zSn,!0,!0,!1),u=$4(a=o6(n.p,n.p,"setProperty")),t=SH(n.o),e=new up,fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),van(e,i=PH(u)),Ycn(a,t,RNn),Ycn(a,t=PH(u),_Nn),u=$4(a=o6(n.p,null,"getProperty")),t=SH(n.o),e=PH(u),fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),Ycn(a,t,RNn),(c=fun(a,t=PH(u),null))&&c.Fi(),a=o6(n.p,n.wb.e,"hasProperty"),t=SH(n.o),e=new up,fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),Ycn(a,t,RNn),Crn(a=o6(n.p,n.p,"copyProperties"),n.p,KNn),a=o6(n.p,null,"getAllProperties"),t=SH(n.wb.P),e=SH(n.o),fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),i=new up,fY((!e.d&&(e.d=new XO(hat,e,1)),e.d),i),e=SH(n.wb.M),fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),(r=fun(a,t,null))&&r.Fi(),TU(n.a,Vrt,aNn,!0,!1,!0),Prn(Yx(c1(aq(n.a),0),18),n.k,null,FNn,0,-1,Vrt,!1,!1,!0,!0,!1,!1,!1),TU(n.f,Yrt,oNn,!0,!1,!0),Prn(Yx(c1(aq(n.f),0),18),n.g,Yx(c1(aq(n.g),0),18),"labels",0,-1,Yrt,!1,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.f),1),34),n.wb._,BNn,null,0,1,Yrt,!1,!1,!0,!1,!0,!1),TU(n.n,Jrt,"ElkShape",!0,!1,!0),z2(Yx(c1(aq(n.n),0),34),n.wb.t,HNn,sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.n),1),34),n.wb.t,qNn,sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.n),2),34),n.wb.t,"x",sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.n),3),34),n.wb.t,"y",sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),Crn(a=o6(n.n,null,"setDimensions"),n.wb.t,qNn),Crn(a,n.wb.t,HNn),Crn(a=o6(n.n,null,"setLocation"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),TU(n.g,act,wNn,!1,!1,!0),Prn(Yx(c1(aq(n.g),0),18),n.f,Yx(c1(aq(n.f),0),18),GNn,0,1,act,!1,!1,!0,!1,!1,!1,!1),z2(Yx(c1(aq(n.g),1),34),n.wb._,zNn,"",0,1,act,!1,!1,!0,!1,!0,!1),TU(n.c,Zrt,sNn,!0,!1,!0),Prn(Yx(c1(aq(n.c),0),18),n.d,Yx(c1(aq(n.d),1),18),"outgoingEdges",0,-1,Zrt,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.c),1),18),n.d,Yx(c1(aq(n.d),2),18),"incomingEdges",0,-1,Zrt,!1,!1,!0,!1,!0,!1,!1),TU(n.i,uct,dNn,!1,!1,!0),Prn(Yx(c1(aq(n.i),0),18),n.j,Yx(c1(aq(n.j),0),18),"ports",0,-1,uct,!1,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.i),1),18),n.i,Yx(c1(aq(n.i),2),18),UNn,0,-1,uct,!1,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.i),2),18),n.i,Yx(c1(aq(n.i),1),18),GNn,0,1,uct,!1,!1,!0,!1,!1,!1,!1),Prn(Yx(c1(aq(n.i),3),18),n.d,Yx(c1(aq(n.d),0),18),"containedEdges",0,-1,uct,!1,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.i),4),34),n.wb.e,XNn,null,0,1,uct,!0,!0,!1,!1,!0,!0),TU(n.j,oct,gNn,!1,!1,!0),Prn(Yx(c1(aq(n.j),0),18),n.i,Yx(c1(aq(n.i),0),18),GNn,0,1,oct,!1,!1,!0,!1,!1,!1,!1),TU(n.d,nct,hNn,!1,!1,!0),Prn(Yx(c1(aq(n.d),0),18),n.i,Yx(c1(aq(n.i),3),18),"containingNode",0,1,nct,!1,!1,!0,!1,!1,!1,!1),Prn(Yx(c1(aq(n.d),1),18),n.c,Yx(c1(aq(n.c),0),18),WNn,0,-1,nct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.d),2),18),n.c,Yx(c1(aq(n.c),1),18),VNn,0,-1,nct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.d),3),18),n.e,Yx(c1(aq(n.e),5),18),QNn,0,-1,nct,!1,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.d),4),34),n.wb.e,"hyperedge",null,0,1,nct,!0,!0,!1,!1,!0,!0),z2(Yx(c1(aq(n.d),5),34),n.wb.e,XNn,null,0,1,nct,!0,!0,!1,!1,!0,!0),z2(Yx(c1(aq(n.d),6),34),n.wb.e,"selfloop",null,0,1,nct,!0,!0,!1,!1,!0,!0),z2(Yx(c1(aq(n.d),7),34),n.wb.e,"connected",null,0,1,nct,!0,!0,!1,!1,!0,!0),TU(n.b,Qrt,uNn,!1,!1,!0),z2(Yx(c1(aq(n.b),0),34),n.wb.t,"x",sMn,1,1,Qrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.b),1),34),n.wb.t,"y",sMn,1,1,Qrt,!1,!1,!0,!1,!0,!1),Crn(a=o6(n.b,null,"set"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),TU(n.e,tct,fNn,!1,!1,!0),z2(Yx(c1(aq(n.e),0),34),n.wb.t,"startX",null,0,1,tct,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.e),1),34),n.wb.t,"startY",null,0,1,tct,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.e),2),34),n.wb.t,"endX",null,0,1,tct,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.e),3),34),n.wb.t,"endY",null,0,1,tct,!1,!1,!0,!1,!0,!1),Prn(Yx(c1(aq(n.e),4),18),n.b,null,YNn,0,-1,tct,!1,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.e),5),18),n.d,Yx(c1(aq(n.d),3),18),GNn,0,1,tct,!1,!1,!0,!1,!1,!1,!1),Prn(Yx(c1(aq(n.e),6),18),n.c,null,JNn,0,1,tct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.e),7),18),n.c,null,ZNn,0,1,tct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.e),8),18),n.e,Yx(c1(aq(n.e),9),18),nxn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.e),9),18),n.e,Yx(c1(aq(n.e),8),18),txn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),z2(Yx(c1(aq(n.e),10),34),n.wb._,BNn,null,0,1,tct,!1,!1,!0,!1,!0,!1),Crn(a=o6(n.e,null,"setStartLocation"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),Crn(a=o6(n.e,null,"setEndLocation"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),TU(n.k,iKn,"ElkPropertyToValueMapEntry",!1,!1,!1),t=SH(n.o),e=new up,fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),Pfn(Yx(c1(aq(n.k),0),34),t,"key",iKn,!1,!1,!0,!1),z2(Yx(c1(aq(n.k),1),34),n.s,_Nn,null,0,1,iKn,!1,!1,!0,!1,!0,!1),YB(n.o,S7n,"IProperty",!0),YB(n.s,U_n,"PropertyValue",!0),s8(n,xNn))}(n),Srn(n),GG(aat,xNn,n),n)}function Rk(){Rk=O,dat=function(){var n,t;Jvn();try{if(t=Yx(Jcn((mT(),aat),hRn),1941))return t}catch(t){if(!CO(t=j4(t),102))throw hp(t);n=t,A_((GC(),n))}return new qo}()}function _k(){_k=O,Out=function(){var n,t;rJ();try{if(t=Yx(Jcn((mT(),aat),BRn),2024))return t}catch(t){if(!CO(t=j4(t),102))throw hp(t);n=t,A_((GC(),n))}return new Ds}()}function Kk(){var n;Kk=O,Aut=wot?Yx(Hln((mT(),aat),BRn),1945):(zI(Cut,new Vs),zI(aot,new ah),zI(uot,new ph),zI(oot,new Ih),zI(fFn,new $h),zI(Gy(Yot,1),new Lh),zI(DKn,new Nh),zI(KKn,new xh),zI(fFn,new Ks),zI(fFn,new Fs),zI(fFn,new Bs),zI(HKn,new Hs),zI(fFn,new qs),zI(J_n,new Gs),zI(J_n,new zs),zI(fFn,new Us),zI(qKn,new Xs),zI(fFn,new Ws),zI(fFn,new Qs),zI(fFn,new Ys),zI(fFn,new Js),zI(fFn,new Zs),zI(Gy(Yot,1),new nh),zI(fFn,new th),zI(fFn,new eh),zI(J_n,new ih),zI(J_n,new rh),zI(fFn,new ch),zI(UKn,new uh),zI(fFn,new oh),zI(JKn,new sh),zI(fFn,new hh),zI(fFn,new fh),zI(fFn,new lh),zI(fFn,new bh),zI(J_n,new wh),zI(J_n,new dh),zI(fFn,new gh),zI(fFn,new vh),zI(fFn,new mh),zI(fFn,new yh),zI(fFn,new kh),zI(fFn,new jh),zI(nFn,new Eh),zI(fFn,new Th),zI(fFn,new Mh),zI(fFn,new Sh),zI(nFn,new Ph),zI(JKn,new Ch),zI(fFn,new Oh),zI(UKn,new Ah),n=Yx(CO(aG((mT(),aat),BRn),586)?aG(aat,BRn):new AB,586),wot=!0,function(n){n.N||(n.N=!0,n.b=q3(n,0),S2(n.b,0),S2(n.b,1),S2(n.b,2),n.bb=q3(n,1),S2(n.bb,0),S2(n.bb,1),n.fb=q3(n,2),S2(n.fb,3),S2(n.fb,4),P2(n.fb,5),n.qb=q3(n,3),S2(n.qb,0),P2(n.qb,1),P2(n.qb,2),S2(n.qb,3),S2(n.qb,4),P2(n.qb,5),S2(n.qb,6),n.a=G3(n,4),n.c=G3(n,5),n.d=G3(n,6),n.e=G3(n,7),n.f=G3(n,8),n.g=G3(n,9),n.i=G3(n,10),n.j=G3(n,11),n.k=G3(n,12),n.n=G3(n,13),n.o=G3(n,14),n.p=G3(n,15),n.q=G3(n,16),n.s=G3(n,17),n.r=G3(n,18),n.t=G3(n,19),n.u=G3(n,20),n.v=G3(n,21),n.w=G3(n,22),n.B=G3(n,23),n.A=G3(n,24),n.C=G3(n,25),n.D=G3(n,26),n.F=G3(n,27),n.G=G3(n,28),n.H=G3(n,29),n.J=G3(n,30),n.I=G3(n,31),n.K=G3(n,32),n.M=G3(n,33),n.L=G3(n,34),n.P=G3(n,35),n.Q=G3(n,36),n.R=G3(n,37),n.S=G3(n,38),n.T=G3(n,39),n.U=G3(n,40),n.V=G3(n,41),n.X=G3(n,42),n.W=G3(n,43),n.Y=G3(n,44),n.Z=G3(n,45),n.$=G3(n,46),n._=G3(n,47),n.ab=G3(n,48),n.cb=G3(n,49),n.db=G3(n,50),n.eb=G3(n,51),n.gb=G3(n,52),n.hb=G3(n,53),n.ib=G3(n,54),n.jb=G3(n,55),n.kb=G3(n,56),n.lb=G3(n,57),n.mb=G3(n,58),n.nb=G3(n,59),n.ob=G3(n,60),n.pb=G3(n,61))}(n),function(n){var t;n.O||(n.O=!0,E2(n,"type"),T2(n,"ecore.xml.type"),M2(n,BRn),t=Yx(Hln((mT(),aat),BRn),1945),fY(Iq(n.fb),n.b),TU(n.b,Cut,"AnyType",!1,!1,!0),z2(Yx(c1(aq(n.b),0),34),n.wb.D,ZDn,null,0,-1,Cut,!1,!1,!0,!1,!1,!1),z2(Yx(c1(aq(n.b),1),34),n.wb.D,"any",null,0,-1,Cut,!0,!0,!0,!1,!1,!0),z2(Yx(c1(aq(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,Cut,!1,!1,!0,!1,!1,!1),TU(n.bb,aot,URn,!1,!1,!0),z2(Yx(c1(aq(n.bb),0),34),n.gb,"data",null,0,1,aot,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.bb),1),34),n.gb,lxn,null,1,1,aot,!1,!1,!0,!1,!0,!1),TU(n.fb,uot,XRn,!1,!1,!0),z2(Yx(c1(aq(n.fb),0),34),t.gb,"rawValue",null,0,1,uot,!0,!0,!0,!1,!0,!0),z2(Yx(c1(aq(n.fb),1),34),t.a,_Nn,null,0,1,uot,!0,!0,!0,!1,!0,!0),Prn(Yx(c1(aq(n.fb),2),18),n.wb.q,null,"instanceType",1,1,uot,!1,!1,!0,!1,!1,!1,!1),TU(n.qb,oot,WRn,!1,!1,!0),z2(Yx(c1(aq(n.qb),0),34),n.wb.D,ZDn,null,0,-1,null,!1,!1,!0,!1,!1,!1),Prn(Yx(c1(aq(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),z2(Yx(c1(aq(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Prn(Yx(c1(aq(n.qb),5),18),n.bb,null,y_n,0,-2,null,!0,!0,!0,!0,!1,!1,!0),z2(Yx(c1(aq(n.qb),6),34),n.gb,zNn,null,0,-2,null,!0,!0,!0,!1,!1,!0),YB(n.a,U_n,"AnySimpleType",!0),YB(n.c,fFn,"AnyURI",!0),YB(n.d,Gy(Yot,1),"Base64Binary",!0),YB(n.e,Vot,"Boolean",!0),YB(n.f,DKn,"BooleanObject",!0),YB(n.g,Yot,"Byte",!0),YB(n.i,KKn,"ByteObject",!0),YB(n.j,fFn,"Date",!0),YB(n.k,fFn,"DateTime",!0),YB(n.n,vFn,"Decimal",!0),YB(n.o,Jot,"Double",!0),YB(n.p,HKn,"DoubleObject",!0),YB(n.q,fFn,"Duration",!0),YB(n.s,J_n,"ENTITIES",!0),YB(n.r,J_n,"ENTITIESBase",!0),YB(n.t,fFn,n_n,!0),YB(n.u,Zot,"Float",!0),YB(n.v,qKn,"FloatObject",!0),YB(n.w,fFn,"GDay",!0),YB(n.B,fFn,"GMonth",!0),YB(n.A,fFn,"GMonthDay",!0),YB(n.C,fFn,"GYear",!0),YB(n.D,fFn,"GYearMonth",!0),YB(n.F,Gy(Yot,1),"HexBinary",!0),YB(n.G,fFn,"ID",!0),YB(n.H,fFn,"IDREF",!0),YB(n.J,J_n,"IDREFS",!0),YB(n.I,J_n,"IDREFSBase",!0),YB(n.K,Wot,"Int",!0),YB(n.M,EFn,"Integer",!0),YB(n.L,UKn,"IntObject",!0),YB(n.P,fFn,"Language",!0),YB(n.Q,Qot,"Long",!0),YB(n.R,JKn,"LongObject",!0),YB(n.S,fFn,"Name",!0),YB(n.T,fFn,t_n,!0),YB(n.U,EFn,"NegativeInteger",!0),YB(n.V,fFn,f_n,!0),YB(n.X,J_n,"NMTOKENS",!0),YB(n.W,J_n,"NMTOKENSBase",!0),YB(n.Y,EFn,"NonNegativeInteger",!0),YB(n.Z,EFn,"NonPositiveInteger",!0),YB(n.$,fFn,"NormalizedString",!0),YB(n._,fFn,"NOTATION",!0),YB(n.ab,fFn,"PositiveInteger",!0),YB(n.cb,fFn,"QName",!0),YB(n.db,nst,"Short",!0),YB(n.eb,nFn,"ShortObject",!0),YB(n.gb,fFn,rTn,!0),YB(n.hb,fFn,"Time",!0),YB(n.ib,fFn,"Token",!0),YB(n.jb,nst,"UnsignedByte",!0),YB(n.kb,nFn,"UnsignedByteObject",!0),YB(n.lb,Qot,"UnsignedInt",!0),YB(n.mb,JKn,"UnsignedIntObject",!0),YB(n.nb,EFn,"UnsignedLong",!0),YB(n.ob,Wot,"UnsignedShort",!0),YB(n.pb,UKn,"UnsignedShortObject",!0),s8(n,BRn),function(n){Zln(n.a,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"anySimpleType"])),Zln(n.b,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"anyType",tRn,ZDn])),Zln(Yx(c1(aq(n.b),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,NRn,gxn,":mixed"])),Zln(Yx(c1(aq(n.b),1),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,NRn,FRn,HRn,gxn,":1",YRn,"lax"])),Zln(Yx(c1(aq(n.b),2),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,$Rn,FRn,HRn,gxn,":2",YRn,"lax"])),Zln(n.c,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"anyURI",KRn,xRn])),Zln(n.d,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"base64Binary",KRn,xRn])),Zln(n.e,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,Xjn,KRn,xRn])),Zln(n.f,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"boolean:Object",bRn,Xjn])),Zln(n.g,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,BDn])),Zln(n.i,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"byte:Object",bRn,BDn])),Zln(n.j,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"date",KRn,xRn])),Zln(n.k,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"dateTime",KRn,xRn])),Zln(n.n,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"decimal",KRn,xRn])),Zln(n.o,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,qDn,KRn,xRn])),Zln(n.p,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"double:Object",bRn,qDn])),Zln(n.q,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"duration",KRn,xRn])),Zln(n.s,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"ENTITIES",bRn,JRn,ZRn,"1"])),Zln(n.r,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,JRn,DRn,n_n])),Zln(n.t,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,n_n,bRn,t_n])),Zln(n.u,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,GDn,KRn,xRn])),Zln(n.v,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"float:Object",bRn,GDn])),Zln(n.w,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gDay",KRn,xRn])),Zln(n.B,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gMonth",KRn,xRn])),Zln(n.A,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gMonthDay",KRn,xRn])),Zln(n.C,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gYear",KRn,xRn])),Zln(n.D,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gYearMonth",KRn,xRn])),Zln(n.F,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"hexBinary",KRn,xRn])),Zln(n.G,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"ID",bRn,t_n])),Zln(n.H,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"IDREF",bRn,t_n])),Zln(n.J,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"IDREFS",bRn,e_n,ZRn,"1"])),Zln(n.I,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,e_n,DRn,"IDREF"])),Zln(n.K,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,zDn])),Zln(n.M,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,i_n])),Zln(n.L,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"int:Object",bRn,zDn])),Zln(n.P,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"language",bRn,r_n,c_n,a_n])),Zln(n.Q,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,UDn])),Zln(n.R,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"long:Object",bRn,UDn])),Zln(n.S,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"Name",bRn,r_n,c_n,u_n])),Zln(n.T,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,t_n,bRn,"Name",c_n,o_n])),Zln(n.U,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"negativeInteger",bRn,s_n,h_n,"-1"])),Zln(n.V,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,f_n,bRn,r_n,c_n,"\\c+"])),Zln(n.X,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"NMTOKENS",bRn,l_n,ZRn,"1"])),Zln(n.W,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,l_n,DRn,f_n])),Zln(n.Y,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,b_n,bRn,i_n,w_n,"0"])),Zln(n.Z,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,s_n,bRn,i_n,h_n,"0"])),Zln(n.$,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,d_n,bRn,Vjn,KRn,"replace"])),Zln(n._,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"NOTATION",KRn,xRn])),Zln(n.ab,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"positiveInteger",bRn,b_n,w_n,"1"])),Zln(n.bb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"processingInstruction_._type",tRn,"empty"])),Zln(Yx(c1(aq(n.bb),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,"data"])),Zln(Yx(c1(aq(n.bb),1),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,lxn])),Zln(n.cb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"QName",KRn,xRn])),Zln(n.db,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,XDn])),Zln(n.eb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"short:Object",bRn,XDn])),Zln(n.fb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"simpleAnyType",tRn,ORn])),Zln(Yx(c1(aq(n.fb),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,":3",tRn,ORn])),Zln(Yx(c1(aq(n.fb),1),34),nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,":4",tRn,ORn])),Zln(Yx(c1(aq(n.fb),2),18),nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,":5",tRn,ORn])),Zln(n.gb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,Vjn,KRn,"preserve"])),Zln(n.hb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"time",KRn,xRn])),Zln(n.ib,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,r_n,bRn,d_n,KRn,xRn])),Zln(n.jb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,g_n,h_n,"255",w_n,"0"])),Zln(n.kb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedByte:Object",bRn,g_n])),Zln(n.lb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,p_n,h_n,"4294967295",w_n,"0"])),Zln(n.mb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedInt:Object",bRn,p_n])),Zln(n.nb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedLong",bRn,b_n,h_n,v_n,w_n,"0"])),Zln(n.ob,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,m_n,h_n,"65535",w_n,"0"])),Zln(n.pb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedShort:Object",bRn,m_n])),Zln(n.qb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"",tRn,ZDn])),Zln(Yx(c1(aq(n.qb),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,NRn,gxn,":mixed"])),Zln(Yx(c1(aq(n.qb),1),18),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,"xmlns:prefix"])),Zln(Yx(c1(aq(n.qb),2),18),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,"xsi:schemaLocation"])),Zln(Yx(c1(aq(n.qb),3),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,"cDATA",RRn,_Rn])),Zln(Yx(c1(aq(n.qb),4),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,"comment",RRn,_Rn])),Zln(Yx(c1(aq(n.qb),5),18),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,y_n,RRn,_Rn])),Zln(Yx(c1(aq(n.qb),6),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,zNn,RRn,_Rn]))}(n))}(n),xB((yT(),wat),n,new _s),Srn(n),GG(aat,BRn,n),n)}function Fk(){Fk=O,Pct=s0()}function Bk(){throw hp(new xp)}function Hk(){throw hp(new xp)}function qk(){throw hp(new xp)}function Gk(){throw hp(new xp)}function zk(){throw hp(new xp)}function Uk(){throw hp(new xp)}function Xk(n){this.a=new kE(n)}function Wk(n){Ekn(),function(n,t){var e,i,r,c,a,u,o,s;if(e=0,a=0,c=t.length,u=null,s=new $y,a1?zz(G_(t.a[1],32),Gz(t.a[0],uMn)):Gz(t.a[0],uMn),VU(e7(t.e,e))))}(n,new IC(o));for(n.d=s.a.length,r=0;r0}(Yx(n,33))?_A(i,(Qtn(),E7n))||_A(i,T7n):_A(i,(Qtn(),E7n));if(CO(n,352))return _A(i,(Qtn(),k7n));if(CO(n,186))return _A(i,(Qtn(),M7n));if(CO(n,354))return _A(i,(Qtn(),j7n))}return!0}(n,t)}function uj(n,t,e){n.splice(t,e)}function oj(n){n.c?pdn(n):vdn(n)}function sj(n){this.a=0,this.b=n}function hj(){this.a=new Ubn(p6n)}function fj(){this.b=new Ubn(i5n)}function lj(){this.b=new Ubn(o9n)}function bj(){this.b=new Ubn(o9n)}function wj(){throw hp(new xp)}function dj(){throw hp(new xp)}function gj(){throw hp(new xp)}function pj(){throw hp(new xp)}function vj(){throw hp(new xp)}function mj(){throw hp(new xp)}function yj(){throw hp(new xp)}function kj(){throw hp(new xp)}function jj(){throw hp(new xp)}function Ej(){throw hp(new xp)}function Tj(n){this.a=new Mj(n)}function Mj(n){!function(n,t,e){var i;n.b=t,n.a=e,i=512==(512&n.a)?new Zv:new Dh,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==(16&n.e)&&(n.i=function(n){var t,e,i,r,c;for(i=n.length,t=new Oy,c=0;ct&&t0)){if(c=-1,32==XB(f.c,0)){if(l=h[0],JJ(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(o=f.b,s==c&&0==(o-=r++))return 0;if(!Lkn(t,h,f,o,u)){s=c-1,h[0]=a;continue}}else if(c=-1,!Lkn(t,h,f,0,u))return 0}return function(n,t){var i,r,c,a,u,o;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>nTn&&JX(t,n.p-TTn),u=t.q.getDate(),mG(t,1),n.k>=0&&function(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),Ivn(n,e)}(t,n.k),n.c>=0?mG(t,n.c):n.k>=0?(r=35-new y5(t.q.getFullYear()-TTn,t.q.getMonth(),35).q.getDate(),mG(t,e.Math.min(r,u))):mG(t,u),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function(n,t){n.q.setHours(t),Ivn(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),Ivn(n,e)}(t,n.j),n.n>=0&&function(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),Ivn(n,e)}(t,n.n),n.i>=0&&TI(t,t7(e7(Bcn(D3(t.q.getTime()),hTn),hTn),n.i)),n.a&&(JX(c=new uE,c.q.getFullYear()-TTn-80),LT(D3(t.q.getTime()),D3(c.q.getTime()))&&JX(t,c.q.getFullYear()-TTn+100)),n.d>=0)if(-1==n.c)(i=(7+n.d-t.q.getDay())%7)>3&&(i-=7),o=t.q.getMonth(),mG(t,t.q.getDate()+i),t.q.getMonth()!=o&&mG(t,t.q.getDate()+(i>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>nTn&&(a=t.q.getTimezoneOffset(),TI(t,t7(D3(t.q.getTime()),60*(n.o-a)*hTn))),!0}(u,i)?h[0]:0}(n,t,c=new y5((r=new uE).q.getFullYear()-TTn,r.q.getMonth(),r.q.getDate())))||i0}function LT(n,t){return k8(n,t)<0}function NT(n,t){return n.a.get(t)}function xT(n,t){return PK(n.e,t)}function DT(n){return vB(n),!1}function RT(n){Nz.call(this,n,21)}function _T(n,t){vG.call(this,n,t)}function KT(n,t){Uj.call(this,n,t)}function FT(n,t){Uj.call(this,n,t)}function BT(n){QF(),ix.call(this,n)}function HT(n,t){n_(n,n.length,t)}function qT(n,t){cF(n,n.length,t)}function GT(n,t,e){n.splice(t,0,e)}function zT(n,t){this.d=n,this.e=t}function UT(n,t){this.b=n,this.a=t}function XT(n,t){this.b=n,this.a=t}function WT(n,t){this.b=n,this.a=t}function VT(n,t){this.a=n,this.b=t}function QT(n,t){this.a=n,this.b=t}function YT(n,t){this.a=n,this.b=t}function JT(n,t){this.a=n,this.b=t}function ZT(n,t){this.a=n,this.b=t}function nM(n,t){this.b=n,this.a=t}function tM(n,t){this.b=n,this.a=t}function eM(n,t){Uj.call(this,n,t)}function iM(n,t){Uj.call(this,n,t)}function rM(n,t){Uj.call(this,n,t)}function cM(n,t){Uj.call(this,n,t)}function aM(n,t){Uj.call(this,n,t)}function uM(n,t){Uj.call(this,n,t)}function oM(n,t){Uj.call(this,n,t)}function sM(n,t){Uj.call(this,n,t)}function hM(n,t){Uj.call(this,n,t)}function fM(n,t){Uj.call(this,n,t)}function lM(n,t){Uj.call(this,n,t)}function bM(n,t){Uj.call(this,n,t)}function wM(n,t){Uj.call(this,n,t)}function dM(n,t){Uj.call(this,n,t)}function gM(n,t){Uj.call(this,n,t)}function pM(n,t){Uj.call(this,n,t)}function vM(n,t){Uj.call(this,n,t)}function mM(n,t){Uj.call(this,n,t)}function yM(n,t){this.a=n,this.b=t}function kM(n,t){this.a=n,this.b=t}function jM(n,t){this.a=n,this.b=t}function EM(n,t){this.a=n,this.b=t}function TM(n,t){this.a=n,this.b=t}function MM(n,t){this.a=n,this.b=t}function SM(n,t){this.a=n,this.b=t}function PM(n,t){this.a=n,this.b=t}function IM(n,t){this.a=n,this.b=t}function CM(n,t){this.b=n,this.a=t}function OM(n,t){this.b=n,this.a=t}function AM(n,t){this.b=n,this.a=t}function $M(n,t){this.b=n,this.a=t}function LM(n,t){this.c=n,this.d=t}function NM(n,t){this.e=n,this.d=t}function xM(n,t){this.a=n,this.b=t}function DM(n,t){this.b=t,this.c=n}function RM(n,t){Uj.call(this,n,t)}function _M(n,t){Uj.call(this,n,t)}function KM(n,t){Uj.call(this,n,t)}function FM(n,t){Uj.call(this,n,t)}function BM(n,t){Uj.call(this,n,t)}function HM(n,t){Uj.call(this,n,t)}function qM(n,t){Uj.call(this,n,t)}function GM(n,t){Uj.call(this,n,t)}function zM(n,t){Uj.call(this,n,t)}function UM(n,t){Uj.call(this,n,t)}function XM(n,t){Uj.call(this,n,t)}function WM(n,t){Uj.call(this,n,t)}function VM(n,t){Uj.call(this,n,t)}function QM(n,t){Uj.call(this,n,t)}function YM(n,t){Uj.call(this,n,t)}function JM(n,t){Uj.call(this,n,t)}function ZM(n,t){Uj.call(this,n,t)}function nS(n,t){Uj.call(this,n,t)}function tS(n,t){Uj.call(this,n,t)}function eS(n,t){Uj.call(this,n,t)}function iS(n,t){Uj.call(this,n,t)}function rS(n,t){Uj.call(this,n,t)}function cS(n,t){Uj.call(this,n,t)}function aS(n,t){Uj.call(this,n,t)}function uS(n,t){Uj.call(this,n,t)}function oS(n,t){Uj.call(this,n,t)}function sS(n,t){Uj.call(this,n,t)}function hS(n,t){Uj.call(this,n,t)}function fS(n,t){Uj.call(this,n,t)}function lS(n,t){Uj.call(this,n,t)}function bS(n,t){Uj.call(this,n,t)}function wS(n,t){Uj.call(this,n,t)}function dS(n,t){Uj.call(this,n,t)}function gS(n,t){Uj.call(this,n,t)}function pS(n,t){this.b=n,this.a=t}function vS(n,t){this.a=n,this.b=t}function mS(n,t){this.a=n,this.b=t}function yS(n,t){this.a=n,this.b=t}function kS(n,t){this.a=n,this.b=t}function jS(n,t){Uj.call(this,n,t)}function ES(n,t){Uj.call(this,n,t)}function TS(n,t){this.b=n,this.d=t}function MS(n,t){Uj.call(this,n,t)}function SS(n,t){Uj.call(this,n,t)}function PS(n,t){this.a=n,this.b=t}function IS(n,t){this.a=n,this.b=t}function CS(n,t){Uj.call(this,n,t)}function OS(n,t){Uj.call(this,n,t)}function AS(n,t){Uj.call(this,n,t)}function $S(n,t){Uj.call(this,n,t)}function LS(n,t){Uj.call(this,n,t)}function NS(n,t){Uj.call(this,n,t)}function xS(n,t){Uj.call(this,n,t)}function DS(n,t){Uj.call(this,n,t)}function RS(n,t){Uj.call(this,n,t)}function _S(n,t){Uj.call(this,n,t)}function KS(n,t){Uj.call(this,n,t)}function FS(n,t){Uj.call(this,n,t)}function BS(n,t){Uj.call(this,n,t)}function HS(n,t){Uj.call(this,n,t)}function qS(n,t){Uj.call(this,n,t)}function GS(n,t){Uj.call(this,n,t)}function zS(n,t){return _A(n.g,t)}function US(n,t){Uj.call(this,n,t)}function XS(n,t){Uj.call(this,n,t)}function WS(n,t){this.a=n,this.b=t}function VS(n,t){this.a=n,this.b=t}function QS(n,t){this.a=n,this.b=t}function YS(n,t){Uj.call(this,n,t)}function JS(n,t){Uj.call(this,n,t)}function ZS(n,t){Uj.call(this,n,t)}function nP(n,t){Uj.call(this,n,t)}function tP(n,t){Uj.call(this,n,t)}function eP(n,t){Uj.call(this,n,t)}function iP(n,t){Uj.call(this,n,t)}function rP(n,t){Uj.call(this,n,t)}function cP(n,t){Uj.call(this,n,t)}function aP(n,t){Uj.call(this,n,t)}function uP(n,t){Uj.call(this,n,t)}function oP(n,t){Uj.call(this,n,t)}function sP(n,t){Uj.call(this,n,t)}function hP(n,t){Uj.call(this,n,t)}function fP(n,t){Uj.call(this,n,t)}function lP(n,t){Uj.call(this,n,t)}function bP(n,t){this.a=n,this.b=t}function wP(n,t){this.a=n,this.b=t}function dP(n,t){this.a=n,this.b=t}function gP(n,t){this.a=n,this.b=t}function pP(n,t){this.a=n,this.b=t}function vP(n,t){this.a=n,this.b=t}function mP(n,t){this.a=n,this.b=t}function yP(n,t){Uj.call(this,n,t)}function kP(n,t){this.a=n,this.b=t}function jP(n,t){this.a=n,this.b=t}function EP(n,t){this.a=n,this.b=t}function TP(n,t){this.a=n,this.b=t}function MP(n,t){this.a=n,this.b=t}function SP(n,t){this.a=n,this.b=t}function PP(n,t){this.b=n,this.a=t}function IP(n,t){this.b=n,this.a=t}function CP(n,t){this.b=n,this.a=t}function OP(n,t){this.b=n,this.a=t}function AP(n,t){this.a=n,this.b=t}function $P(n,t){this.a=n,this.b=t}function LP(n,t){!function(n,t){if(CO(t,239))return function(n,t){var e;if(null==(e=g1(n.i,t)))throw hp(new hy("Node did not exist in input."));return f3(t,e),null}(n,Yx(t,33));if(CO(t,186))return function(n,t){var e;if(null==(e=BF(n.k,t)))throw hp(new hy("Port did not exist in input."));return f3(t,e),null}(n,Yx(t,118));if(CO(t,354))return function(n,t){return f3(t,BF(n.f,t)),null}(n,Yx(t,137));if(CO(t,352))return function(n,t){var e,i,r,c,a,u;if(!(a=Yx(BF(n.c,t),183)))throw hp(new hy("Edge did not exist in input."));return i=itn(a),!Sj((!t.a&&(t.a=new mK(tct,t,6,6)),t.a))&&(e=new Rx(n,i,u=new Sl),function(n,t){!function(n,t){var e;for(e=0;n.e!=n.i.gc();)sR(t,hen(n),d9(e)),e!=Yjn&&++e}(new UO(n),t)}((!t.a&&(t.a=new mK(tct,t,6,6)),t.a),e),OZ(a,QNn,u)),zQ(t,(Cjn(),Gnt))&&!(!(r=Yx(jln(t,Gnt),74))||wB(r))&&(XW(r,new mg(c=new Sl)),OZ(a,"junctionPoints",c)),ND(a,"container",EG(t).k),null}(n,Yx(t,79));if(t)return null;throw hp(new Qm(axn+Gun(new ay(x4(Gy(U_n,1),iEn,1,5,[t])))))}(n.a,Yx(t,56))}function NP(n,t){!function(n,t){dD(),eD(n,new mP(t,d9(t.e.c.length+t.g.c.length)))}(n.a,Yx(t,11))}function xP(){return Fy(),new xFn}function DP(){lz(),this.b=new Qp}function RP(){ywn(),this.a=new Qp}function _P(){uz(),w_.call(this)}function KP(n,t){Uj.call(this,n,t)}function FP(n,t){this.a=n,this.b=t}function BP(n,t){this.a=n,this.b=t}function HP(n,t){this.a=n,this.b=t}function qP(n,t){this.a=n,this.b=t}function GP(n,t){this.a=n,this.b=t}function zP(n,t){this.a=n,this.b=t}function UP(n,t){this.d=n,this.b=t}function XP(n,t){this.d=n,this.e=t}function WP(n,t){this.f=n,this.c=t}function VP(n,t){this.b=n,this.c=t}function QP(n,t){this.i=n,this.g=t}function YP(n,t){this.e=n,this.a=t}function JP(n,t){this.a=n,this.b=t}function ZP(n,t){n.i=null,J0(n,t)}function nI(n,t){return mnn(n.a,t)}function tI(n){return knn(n.c,n.b)}function eI(n){return n?n.dd():null}function iI(n){return null==n?null:n}function rI(n){return typeof n===Xjn}function cI(n){return typeof n===Wjn}function aI(n){return typeof n===Vjn}function uI(n,t){return n.Hd().Xb(t)}function oI(n,t){return function(n,t){for(MF(t);n.Ob();)if(!f4(Yx(n.Pb(),10)))return!1;return!0}(n.Kc(),t)}function sI(n,t){return 0==k8(n,t)}function hI(n,t){return 0!=k8(n,t)}function fI(n){return""+(vB(n),n)}function lI(n,t){return n.substr(t)}function bI(n){return A7(n),n.d.gc()}function wI(n){return function(n,t){var e,i,r;for(e=new pb(n.a.a);e.at?1:0}function iO(n,t){return k8(n,t)>0?n:t}function rO(n,t,e){return{l:n,m:t,h:e}}function cO(n,t){null!=n.a&&NP(t,n.a)}function aO(n){n.a=new $,n.c=new $}function uO(n){this.b=n,this.a=new ip}function oO(n){this.b=new et,this.a=n}function sO(n){oN.call(this),this.a=n}function hO(){KT.call(this,"Range",2)}function fO(){Mcn(),this.a=new Ubn(azn)}function lO(n,t,e){return Fnn(t,e,n.c)}function bO(n){return new QS(n.c,n.d)}function wO(n){return new QS(n.c,n.d)}function dO(n){return new QS(n.a,n.b)}function gO(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f;for(!e&&(e=function(n){var t;return(t=new p).a=n,t.b=function(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+XJ(n))}(n),t.c=VQ(fFn,TEn,2,2,6,1),t.c[0]=A2(n),t.c[1]=A2(n),t}(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),o=u=new bL(t7(D3(t.q.getTime()),r)),u.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,o=new bL(t7(D3(t.q.getTime()),r))),h=new $y,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw hp(new Qm("Missing trailing '"));a+11)throw hp(new Qm(GRn));for(h=dwn(n.e.Tg(),t),i=Yx(n.g,119),a=0;a0),c=Yx(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,S$(s.b>0),c=Yx(s.a.Xb(s.c=--s.b),17);s.b>0&&hB(s)}}(n,t,e),e}function $O(n,t,e){n.a=1502^t,n.b=e^kMn}function LO(n,t,e){return n.a[t.g][e.g]}function NO(n,t){return n.a[t.c.p][t.p]}function xO(n,t){return n.e[t.c.p][t.p]}function DO(n,t){return n.c[t.c.p][t.p]}function RO(n,t){return n.j[t.p]=function(n){var t,e,i,r;for(t=0,e=0,r=new pb(n.j);r.a1||e>1)return 2;return t+e==1?2:0}(t)}function _O(n,t){return n.a*=t,n.b*=t,n}function KO(n,t,e){return DF(n.g,t,e),e}function FO(n){n.a=Yx(H3(n.b.a,4),126)}function BO(n){n.a=Yx(H3(n.b.a,4),126)}function HO(n){xq(n,vxn),Sbn(n,function(n){var t,e,i,r,c;switch(xq(n,vxn),(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b).i+(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c).i){case 0:throw hp(new Qm("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b).i?IG(iun(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82))):IG(iun(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c).i){if(r=iun(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)),c=iun(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82)),IG(r)==IG(c))return IG(r);if(r==IG(c))return r;if(c==IG(r))return c}for(t=iun(Yx(kV(i=WK(n0(x4(Gy(Q_n,1),iEn,20,0,[(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c)])))),82));Vfn(i);)if((e=iun(Yx(kV(i),82)))!=t&&!XZ(e,t))if(IG(e)==IG(t))t=IG(e);else if(!(t=Uln(t,e)))return null;return t}(n))}function qO(){qO=O,FFn=new Am(null)}function GO(){(GO=O)(),UFn=new z}function zO(){this.Bb|=256,this.Bb|=512}function UO(n){this.i=n,this.f=this.i.j}function XO(n,t,e){TD.call(this,n,t,e)}function WO(n,t,e){XO.call(this,n,t,e)}function VO(n,t,e){XO.call(this,n,t,e)}function QO(n,t,e){WO.call(this,n,t,e)}function YO(n,t,e){TD.call(this,n,t,e)}function JO(n,t,e){TD.call(this,n,t,e)}function ZO(n,t,e){CD.call(this,n,t,e)}function nA(n,t,e){CD.call(this,n,t,e)}function tA(n,t,e){ZO.call(this,n,t,e)}function eA(n,t,e){YO.call(this,n,t,e)}function iA(n,t){this.a=n,eE.call(this,t)}function rA(n,t){this.a=n,dy.call(this,t)}function cA(n,t){this.a=n,dy.call(this,t)}function aA(n,t){this.a=n,dy.call(this,t)}function uA(n){this.a=n,ol.call(this,n.d)}function oA(n){this.c=n,this.a=this.c.a}function sA(n,t){this.a=t,dy.call(this,n)}function hA(n,t){this.a=t,hW.call(this,n)}function fA(n,t){this.a=n,hW.call(this,t)}function lA(n,t){return function(n,t,e){try{!function(n,t,e){if(MF(t),e.Ob())for(kI(t,$F(e.Pb()));e.Ob();)kI(t,n.a),kI(t,$F(e.Pb()))}(n,t,e)}catch(n){throw CO(n=j4(n),597)?hp(new eV(n)):hp(n)}return t}(n,new Ay,t).a}function bA(n,t){return MF(t),new wA(n,t)}function wA(n,t){this.a=t,aE.call(this,n)}function dA(n){this.b=n,this.a=this.b.a.e}function gA(n){n.b.Qb(),--n.d.f.d,o_(n.d)}function pA(n){Zf.call(this,Yx(MF(n),35))}function vA(n){Zf.call(this,Yx(MF(n),35))}function mA(){Uj.call(this,"INSTANCE",0)}function yA(n){if(!n)throw hp(new $p)}function kA(n){if(!n)throw hp(new Lp)}function jA(n){if(!n)throw hp(new _p)}function EA(){EA=O,ET(),yut=new _f}function TA(){TA=O,$Kn=!1,LKn=!0}function MA(n){nb.call(this,(vB(n),n))}function SA(n){nb.call(this,(vB(n),n))}function PA(n){fb.call(this,n),this.a=n}function IA(n){lb.call(this,n),this.a=n}function CA(n){Ny.call(this,n),this.a=n}function OA(){jO(this),qH(this),this._d()}function AA(n,t){this.a=t,aE.call(this,n)}function $A(n,t){return new jsn(n.a,n.b,t)}function LA(n,t){return n.lastIndexOf(t)}function NA(n,t,e){return n.indexOf(t,e)}function xA(n){return null==n?aEn:I7(n)}function DA(n){return null!=n.a?n.a:null}function RA(n,t){return null!=fG(n.a,t)}function _A(n,t){return!!t&&n.b[t.g]==t}function KA(n){return n.$H||(n.$H=++mBn)}function FA(n,t){return eD(t.a,n.a),n.a}function BA(n,t){return eD(t.b,n.a),n.a}function HA(n,t){return eD(t.a,n.a),n.a}function qA(n){return S$(null!=n.a),n.a}function GA(n){Mb.call(this,new tY(n))}function zA(n,t){Etn.call(this,n,t,null)}function UA(n){this.a=n,hb.call(this,n)}function XA(){XA=O,XHn=new KL(OSn,0)}function WA(n,t){return++n.b,eD(n.a,t)}function VA(n,t){return++n.b,uJ(n.a,t)}function QA(n,t){return Yx(KV(n.b,t),15)}function YA(n){return ZC(n.a)||ZC(n.b)}function JA(n,t,e){return $X(n,t,e,n.c)}function ZA(n,t,e){Yx(jJ(n,t),21).Fc(e)}function n$(n,t){kT(),this.a=n,this.b=t}function t$(n,t){jT(),this.b=n,this.c=t}function e$(n,t){g_(),this.f=t,this.d=n}function i$(n,t){qV(t,n),this.d=n,this.c=t}function r$(n){var t;t=n.a,n.a=n.b,n.b=t}function c$(n,t){return new NN(n,n.gc(),t)}function a$(n){this.d=n,UO.call(this,n)}function u$(n){this.c=n,UO.call(this,n)}function o$(n){this.c=n,a$.call(this,n)}function s$(){JE(),this.b=new qw(this)}function h$(n){return g0(n,UEn),new pQ(n)}function f$(n){return $q(),parseInt(n)||-1}function l$(n,t,e){return n.substr(t,e-t)}function b$(n,t,e){return NA(n,gun(t),e)}function w$(n){return rF(n.c,n.c.length)}function d$(n){return null!=n.f?n.f:""+n.g}function g$(n){return S$(0!=n.b),n.a.a.c}function p$(n){return S$(0!=n.b),n.c.b.c}function v$(n){CO(n,150)&&Yx(n,150).Gh()}function m$(n){return n.b=Yx(FH(n.a),42)}function y$(n){RE(),this.b=n,this.a=!0}function k$(n){_E(),this.b=n,this.a=!0}function j$(n){n.d=new P$(n),n.e=new rp}function E$(n){if(!n)throw hp(new Dp)}function T$(n){if(!n)throw hp(new $p)}function M$(n){if(!n)throw hp(new Lp)}function S$(n){if(!n)throw hp(new _p)}function P$(n){oD.call(this,n,null,null)}function I$(){Uj.call(this,"POLYOMINO",0)}function C$(n,t,e,i){L_.call(this,n,t,e,i)}function O$(n,t){return!!n.q&&PK(n.q,t)}function A$(n,t,e){n.Zc(t).Rb(e)}function $$(n,t,e){return n.a+=t,n.b+=e,n}function L$(n,t,e){return n.a*=t,n.b*=e,n}function N$(n,t,e){return n.a-=t,n.b-=e,n}function x$(n,t){return n.a=t.a,n.b=t.b,n}function D$(n){return n.a=-n.a,n.b=-n.b,n}function R$(n){this.c=n,this.a=1,this.b=1}function _$(n){this.c=n,L1(n,0),N1(n,0)}function K$(n){ME.call(this),r0(this,n)}function F$(n){ljn(),sp(this),this.mf(n)}function B$(n,t){kT(),n$.call(this,n,t)}function H$(n,t){jT(),t$.call(this,n,t)}function q$(n,t){jT(),t$.call(this,n,t)}function G$(n,t){jT(),H$.call(this,n,t)}function z$(n,t,e){yY.call(this,n,t,e,2)}function U$(n,t){WC(),_R.call(this,n,t)}function X$(n,t){WC(),U$.call(this,n,t)}function W$(n,t){WC(),U$.call(this,n,t)}function V$(n,t){WC(),W$.call(this,n,t)}function Q$(n,t){WC(),_R.call(this,n,t)}function Y$(n,t){WC(),Q$.call(this,n,t)}function J$(n,t){WC(),_R.call(this,n,t)}function Z$(n,t,e){return Imn(SJ(n,t),e)}function nL(n,t){return P8(n.e,Yx(t,49))}function tL(n,t){t.$modCount=n.$modCount}function eL(){eL=O,s6n=new Og("root")}function iL(){iL=O,$ct=new Rv,new _v}function rL(){this.a=new Zq,this.b=new Zq}function cL(){T0.call(this),this.Bb|=eMn}function aL(){Uj.call(this,"GROW_TREE",0)}function uL(n){return null==n?null:function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(Jpn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=VQ(Xot,sTn,25,4*(0!=(u=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,o=0;o>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,d=0==(-128&(i=n[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,c[a++]=hot[b],c[a++]=hot[w|s<<4],c[a++]=hot[h<<2|d],c[a++]=hot[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,c[a++]=hot[b],c[a++]=hot[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,c[a++]=hot[b],c[a++]=hot[w|s<<4],c[a++]=hot[h<<2],c[a++]=61),Vnn(c,0,c.length)}(n)}function oL(n){return null==n?null:function(n){var t,e,i,r;if(kdn(),null==n)return null;for(i=n.length,t=VQ(Xot,sTn,25,2*i,15,1),e=0;e>4],t[2*e+1]=lot[15&r];return Vnn(t,0,t.length)}(n)}function sL(n){null==n.o&&function(n){if(n.pe()){var t=n.c;return t.qe()?n.o="["+t.n:t.pe()?n.o="["+t.ne():n.o="[L"+t.ne()+";",n.b=t.me()+"[]",void(n.k=t.oe()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=Wnn(".",[e,Wnn("$",i)]),n.b=Wnn(".",[e,Wnn(".",i)]),n.k=i[i.length-1]}(n)}function hL(n){return QD(null==n||rI(n)),n}function fL(n){return QD(null==n||cI(n)),n}function lL(n){return QD(null==n||aI(n)),n}function bL(n){this.q=new e.Date(VU(n))}function wL(n,t){this.c=n,Xj.call(this,n,t)}function dL(n,t){this.a=n,wL.call(this,n,t)}function gL(n,t){this.d=n,Wl(this),this.b=t}function pL(n,t){ZQ.call(this,n),this.a=t}function vL(n,t){ZQ.call(this,n),this.a=t}function mL(n){hnn.call(this,0,0),this.f=n}function yL(n,t,e){dQ.call(this,n,t,e,null)}function kL(n,t,e){dQ.call(this,n,t,e,null)}function jL(n,t){return Yx(UJ(n.b,t),149)}function EL(n,t){return Yx(UJ(n.c,t),229)}function TL(n){return Yx(TR(n.a,n.b),287)}function ML(n){return new QS(n.c,n.d+n.a)}function SL(n){return hz(),wC(Yx(n,197))}function PL(){PL=O,UHn=J9((Ann(),nrt))}function IL(n,t){t.a?function(n,t){var e,i,r;if(!uF(n.a,t.b))throw hp(new Ym("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new sb(new gN(new UA(new ob(n.a.a).a).b));OT(i.a.a);)if(e=Yx(m$(i.a).cd(),65),u5(t.b,e))vk(n.b.a,t.b,e),r=!0;else if(r)break}(n,t):RA(n.a,t.b)}function CL(n,t){hBn||eD(n.a,t)}function OL(n,t){return xq(t,jSn),n.f=t,n}function AL(n,t,e){return opn(n,t,3,e)}function $L(n,t,e){return opn(n,t,6,e)}function LL(n,t,e){return opn(n,t,9,e)}function NL(n,t,e){++n.j,n.Ki(),XQ(n,t,e)}function xL(n,t,e){++n.j,n.Hi(t,n.oi(t,e))}function DL(n,t,e){n.Zc(t).Rb(e)}function RL(n,t,e){return rmn(n.c,n.b,t,e)}function _L(n,t){return(t&Yjn)%n.d.length}function KL(n,t){Og.call(this,n),this.a=t}function FL(n,t){Gg.call(this,n),this.a=t}function BL(n,t){Gg.call(this,n),this.a=t}function HL(n,t){this.c=n,FZ.call(this,t)}function qL(n,t){this.a=n,qg.call(this,t)}function GL(n,t){this.a=n,qg.call(this,t)}function zL(n){this.a=(g0(n,UEn),new pQ(n))}function UL(n){this.a=(g0(n,UEn),new pQ(n))}function XL(n){return!n.a&&(n.a=new w),n.a}function WL(n){return n>8?0:n+1}function VL(n,t,e){return YR(n,Yx(t,22),e)}function QL(n,t,e){return n.a+=Vnn(t,0,e),n}function YL(n,t){var e;return e=n.e,n.e=t,e}function JL(n,t){n[vMn].call(n,t)}function ZL(n,t){n.a.Vc(n.b,t),++n.b,n.c=-1}function nN(n){UK(n.e),n.d.b=n.d,n.d.a=n.d}function tN(n){n.b?tN(n.b):n.f.c.zc(n.e,n.d)}function eN(n,t){return qy(new Array(t),n)}function iN(n){return String.fromCharCode(n)}function rN(){this.a=new ip,this.b=new ip}function cN(){this.a=new bt,this.b=new Hp}function aN(){this.b=new Pk,this.c=new ip}function uN(){this.d=new Pk,this.e=new Pk}function oN(){this.n=new Pk,this.o=new Pk}function sN(){this.n=new Sv,this.i=new hC}function hN(){this.a=new Jh,this.b=new uc}function fN(){this.a=new ip,this.d=new ip}function lN(){this.b=new Qp,this.a=new Qp}function bN(){this.b=new rp,this.a=new rp}function wN(){this.b=new fj,this.a=new da}function dN(){sN.call(this),this.a=new Pk}function gN(n){Q3.call(this,n,(HY(),WFn))}function pN(n,t,e,i){FR.call(this,n,t,e,i)}function vN(n,t,e){return opn(n,t,11,e)}function mN(n,t){return n.a+=t.a,n.b+=t.b,n}function yN(n,t){return n.a-=t.a,n.b-=t.b,n}function kN(n,t){return null==xB(n.a,t,"")}function jN(n,t){Hm.call(this,pDn+n+Exn+t)}function EN(n,t,e,i){mK.call(this,n,t,e,i)}function TN(n,t,e,i){mK.call(this,n,t,e,i)}function MN(n,t,e,i){TN.call(this,n,t,e,i)}function SN(n,t,e,i){yK.call(this,n,t,e,i)}function PN(n,t,e,i){yK.call(this,n,t,e,i)}function IN(n,t,e,i){yK.call(this,n,t,e,i)}function CN(n,t,e,i){PN.call(this,n,t,e,i)}function ON(n,t,e,i){PN.call(this,n,t,e,i)}function AN(n,t,e,i){IN.call(this,n,t,e,i)}function $N(n,t,e,i){ON.call(this,n,t,e,i)}function LN(n,t,e,i){gK.call(this,n,t,e,i)}function NN(n,t,e){this.a=n,i$.call(this,t,e)}function xN(n,t,e){this.c=t,this.b=e,this.a=n}function DN(n,t){return n.Aj().Nh().Kh(n,t)}function RN(n,t){return n.Aj().Nh().Ih(n,t)}function _N(n,t){return vB(n),iI(n)===iI(t)}function KN(n,t){return vB(n),iI(n)===iI(t)}function FN(n,t){return $k(Dnn(n.a,t,!1))}function BN(n,t){return $k(Rnn(n.a,t,!1))}function HN(n,t){return n.b.sd(new JT(n,t))}function qN(n,t,e){return n.lastIndexOf(t,e)}function GN(n){return n.c?hJ(n.c.a,n,0):-1}function zN(n){return n==uit||n==sit||n==oit}function UN(n,t){return CO(t,15)&&Pdn(n.c,t)}function XN(n,t){return!!c6(n,t)}function WN(n,t){this.c=n,ZK.call(this,n,t)}function VN(n){this.c=n,PI.call(this,IEn,0)}function QN(n,t){aD.call(this,n,n.length,t)}function YN(n,t,e){return Yx(n.c,69).mk(t,e)}function JN(n,t,e){return function(n,t,e){return t.Rk(n.e,n.c,e)}(n,Yx(t,332),e)}function ZN(n,t,e){return function(n,t,e){var i,r,c;return i=t.ak(),c=t.dd(),r=i.$j()?_q(n,4,i,c,null,$vn(n,i,c,CO(i,99)&&0!=(Yx(i,18).Bb&eMn)),!0):_q(n,i.Kj()?2:1,i,c,i.zj(),-1,!0),e?e.Ei(r):e=r,e}(n,Yx(t,332),e)}function nx(n,t){return null==t?null:x8(n.b,t)}function tx(n){return cI(n)?(vB(n),n):n.ke()}function ex(n){return!isNaN(n)&&!isFinite(n)}function ix(n){px(),this.a=(XH(),new Ny(n))}function rx(n){dD(),this.d=n,this.a=new ep}function cx(n,t,e){this.a=n,this.b=t,this.c=e}function ax(n,t,e){this.a=n,this.b=t,this.c=e}function ux(n,t,e){this.d=n,this.b=e,this.a=t}function ox(n){aO(this),BH(this),C2(this,n)}function sx(n){AC(this),sD(this.c,0,n.Pc())}function hx(n){hB(n.a),iY(n.c,n.b),n.b=null}function fx(n){this.a=n,oE(),D3(Date.now())}function lx(){lx=O,pBn=new r,vBn=new r}function bx(){bx=O,_Fn=new L,KFn=new N}function wx(){wx=O,Cct=VQ(U_n,iEn,1,0,5,1)}function dx(){dx=O,Fat=VQ(U_n,iEn,1,0,5,1)}function gx(){gx=O,Bat=VQ(U_n,iEn,1,0,5,1)}function px(){px=O,new jp((XH(),XH(),TFn))}function vx(n,t){if(!n)throw hp(new Qm(t))}function mx(n){FR.call(this,n.d,n.c,n.a,n.b)}function yx(n){FR.call(this,n.d,n.c,n.a,n.b)}function kx(n,t,e){this.b=n,this.c=t,this.a=e}function jx(n,t,e){this.b=n,this.a=t,this.c=e}function Ex(n,t,e){this.a=n,this.b=t,this.c=e}function Tx(n,t,e){this.a=n,this.b=t,this.c=e}function Mx(n,t,e){this.a=n,this.b=t,this.c=e}function Sx(n,t,e){this.a=n,this.b=t,this.c=e}function Px(n,t,e){this.b=n,this.a=t,this.c=e}function Ix(n,t,e){this.e=t,this.b=n,this.d=e}function Cx(n){var t;return(t=new jn).e=n,t}function Ox(n){var t;return(t=new lv).b=n,t}function Ax(){Ax=O,aUn=new Ne,uUn=new xe}function $x(){$x=O,CXn=new vr,OXn=new mr}function Lx(n,t){this.c=n,this.a=t,this.b=t-n}function Nx(n,t,e){this.a=n,this.b=t,this.c=e}function xx(n,t,e){this.a=n,this.b=t,this.c=e}function Dx(n,t,e){this.a=n,this.b=t,this.c=e}function Rx(n,t,e){this.a=n,this.b=t,this.c=e}function _x(n,t,e){this.a=n,this.b=t,this.c=e}function Kx(n,t,e){this.e=n,this.a=t,this.c=e}function Fx(n,t,e){WC(),tG.call(this,n,t,e)}function Bx(n,t,e){WC(),iB.call(this,n,t,e)}function Hx(n,t,e){WC(),iB.call(this,n,t,e)}function qx(n,t,e){WC(),iB.call(this,n,t,e)}function Gx(n,t,e){WC(),Bx.call(this,n,t,e)}function zx(n,t,e){WC(),Bx.call(this,n,t,e)}function Ux(n,t,e){WC(),zx.call(this,n,t,e)}function Xx(n,t,e){WC(),Hx.call(this,n,t,e)}function Wx(n,t,e){WC(),qx.call(this,n,t,e)}function Vx(n,t){return MF(n),MF(t),new Fj(n,t)}function Qx(n,t){return MF(n),MF(t),new BD(n,t)}function Yx(n,t){return QD(null==n||Oen(n,t)),n}function Jx(n){var t;return zJ(t=new ip,n),t}function Zx(n){var t;return $2(t=new rv,n),t}function nD(n){var t;return $2(t=new ME,n),t}function tD(n){return!n.e&&(n.e=new ip),n.e}function eD(n,t){return n.c[n.c.length]=t,!0}function iD(n,t){this.c=n,this.b=t,this.a=!1}function rD(n){this.d=n,Wl(this),this.b=function(n){return CO(n,15)?Yx(n,15).Yc():n.Kc()}(n.d)}function cD(){this.a=";,;",this.b="",this.c=""}function aD(n,t,e){sK.call(this,t,e),this.a=n}function uD(n,t,e){this.b=n,MI.call(this,t,e)}function oD(n,t,e){this.c=n,zT.call(this,t,e)}function sD(n,t,e){hhn(e,0,n,t,e.length,!1)}function hD(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function fD(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function lD(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function bD(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function wD(n){return $3(function(n){return rO(~n.l&BTn,~n.m&BTn,~n.h&HTn)}(tC(n)?W3(n):n))}function dD(){dD=O,Ikn(),Y3n=qit,J3n=Eit}function gD(){this.b=ty(fL(oen((Bdn(),yGn))))}function pD(n){return HE(),VQ(U_n,iEn,1,n,5,1)}function vD(n){return new QS(n.c+n.b,n.d+n.a)}function mD(n){return S$(0!=n.b),VZ(n,n.a.a)}function yD(n){return S$(0!=n.b),VZ(n,n.c.b)}function kD(n,t){if(!n)throw hp(new qm(t))}function jD(n,t){if(!n)throw hp(new Qm(t))}function ED(n,t,e){LM.call(this,n,t),this.b=e}function TD(n,t,e){XP.call(this,n,t),this.c=e}function MD(n,t,e){RZ.call(this,t,e),this.d=n}function SD(n){gx(),yo.call(this),this.th(n)}function PD(n,t,e){this.a=n,HI.call(this,t,e)}function ID(n,t,e){this.a=n,HI.call(this,t,e)}function CD(n,t,e){XP.call(this,n,t),this.c=e}function OD(){wV(),uB.call(this,(mT(),aat))}function AD(n){return null!=n&&!$7(n,Wct,Vct)}function $D(n,t){return(u9(n)<<4|u9(t))&fTn}function LD(n,t){var e;n.n&&(e=t,eD(n.f,e))}function ND(n,t,e){OZ(n,t,new zF(e))}function xD(n,t){return n.g=t<0?-1:t,n}function DD(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 RD(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function _D(n,t){return VW(n,t,n.c.b,n.c),!0}function KD(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function FD(n){this.b=n,this.a=D_(this.b.a).Ed()}function BD(n,t){this.b=n,this.a=t,Kh.call(this)}function HD(n,t){this.a=n,this.b=t,Kh.call(this)}function qD(n,t){sK.call(this,t,1040),this.a=n}function GD(n){return 0==n||isNaN(n)?n:n<0?-1:1}function zD(n,t){return ean(n,new LM(t.a,t.b))}function UD(n){var t;return t=n.n,n.a.b+t.d+t.a}function XD(n){var t;return t=n.n,n.e.b+t.d+t.a}function WD(n){var t;return t=n.n,n.e.a+t.b+t.c}function VD(n){return Ljn(),new BR(0,n)}function QD(n){if(!n)throw hp(new Vm(null))}function YD(){YD=O,XH(),jut=new bb(HRn)}function JD(){JD=O,new Ken((wm(),nKn),(dm(),Z_n))}function ZD(){ZD=O,GKn=VQ(UKn,TEn,19,256,0,1)}function nR(n,t,e,i){F7.call(this,n,t,e,i,0,0)}function tR(n){return n.e.c.length+n.g.c.length}function eR(n){return n.e.c.length-n.g.c.length}function iR(n){return n.b.c.length-n.e.c.length}function rR(n){gx(),SD.call(this,n),this.a=-1}function cR(n,t){VP.call(this,n,t),this.a=this}function aR(n,t){var e;return(e=TF(n,t)).i=2,e}function uR(n,t){return++n.j,n.Ti(t)}function oR(n,t,e){return n.a=-1,ZA(n,t.g,e),n}function sR(n,t,e){!function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;null==(w=BF(n.e,i))&&(s=Yx(w=new Om,183),o=new zF(t+"_s"+r),OZ(s,rxn,o)),nB(e,b=Yx(w,183)),nq(g=new Om,"x",i.j),nq(g,"y",i.k),OZ(b,uxn,g),nq(f=new Om,"x",i.b),nq(f,"y",i.c),OZ(b,"endPoint",f),!Sj((!i.a&&(i.a=new XO(Qrt,i,5)),i.a))&&(c=new pg(h=new Sl),XW((!i.a&&(i.a=new XO(Qrt,i,5)),i.a),c),OZ(b,YNn,h)),!!Jen(i)&&jun(n.a,b,ZNn,ksn(n,Jen(i))),!!Zen(i)&&jun(n.a,b,JNn,ksn(n,Zen(i))),!(0==(!i.e&&(i.e=new AN(tct,i,10,9)),i.e).i)&&(a=new FP(n,l=new Sl),XW((!i.e&&(i.e=new AN(tct,i,10,9)),i.e),a),OZ(b,txn,l)),0!=(!i.g&&(i.g=new AN(tct,i,9,10)),i.g).i&&(u=new BP(n,d=new Sl),XW((!i.g&&(i.g=new AN(tct,i,9,10)),i.g),u),OZ(b,nxn,d))}(n.a,n.b,n.c,Yx(t,202),e)}function hR(n,t,e){return new xN(function(n){return 0>=n?new EE:function(n){return 0>n?new EE:new vL(null,new cV(n+1,n))}(n-1)}(n).Ie(),e,t)}function fR(n,t,e,i,r,c){return nan(n,t,e,i,r,0,c)}function lR(){lR=O,RKn=VQ(KKn,TEn,217,256,0,1)}function bR(){bR=O,XKn=VQ(JKn,TEn,162,256,0,1)}function wR(){wR=O,ZKn=VQ(nFn,TEn,184,256,0,1)}function dR(){dR=O,FKn=VQ(BKn,TEn,172,128,0,1)}function gR(){hD(this,!1,!1,!1,!1)}function pR(n){VF(),this.a=(XH(),new bb(MF(n)))}function vR(n){for(MF(n);n.Ob();)n.Pb(),n.Qb()}function mR(n){this.c=n,this.b=this.c.d.vc().Kc()}function yR(n){this.c=n,this.a=new TE(this.c.a)}function kR(n){this.a=new kE(n.gc()),C2(this,n)}function jR(n){Mb.call(this,new bW),C2(this,n)}function ER(n,t){return n.a+=Vnn(t,0,t.length),n}function TR(n,t){return $z(t,n.c.length),n.c[t]}function MR(n,t){return $z(t,n.a.length),n.a[t]}function SR(n,t){HE(),ZQ.call(this,n),this.a=t}function PR(n,t){return function(n,t){return ytn(t7(ytn(n.a).a,t.a))}(Yx(n,162),Yx(t,162))}function IR(n){return n.c-Yx(TR(n.a,n.b),287).b}function CR(n){return n.q?n.q:(XH(),XH(),MFn)}function OR(n){return n.e.Hd().gc()*n.c.Hd().gc()}function AR(n,t,i){return e.Math.min(i/n,1/t)}function $R(n,t){return n?0:e.Math.max(0,t-1)}function LR(n){var t;return(t=han(n))?LR(t):n}function NR(n,t){return null==n.a&&qdn(n),n.a[t]}function xR(n){return n.c?n.c.f:n.e.b}function DR(n){return n.c?n.c.g:n.e.a}function RR(n){FZ.call(this,n.gc()),jF(this,n)}function _R(n,t){WC(),zg.call(this,t),this.a=n}function KR(n,t,e){this.a=n,XO.call(this,t,e,2)}function FR(n,t,e,i){fD(this,n,t,e,i)}function BR(n,t){Ljn(),np.call(this,n),this.a=t}function HR(n){this.b=new ME,this.a=n,this.c=-1}function qR(){this.d=new QS(0,0),this.e=new Qp}function GR(n){i$.call(this,0,0),this.a=n,this.b=0}function zR(n){this.a=n,this.c=new rp,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),rO(i&BTn,r&BTn,c&HTn)}(tC(n)?W3(n):n,t))}function X_(n,t){return function(n,t){return TA(),n==t?0:n?1:-1}((vB(n),n),(vB(t),t))}function W_(n,t){return $9((vB(n),n),(vB(t),t))}function V_(n,t){return MF(t),n.a.Ad(t)&&!n.b.Ad(t)}function Q_(n,t){return W8(n,(vB(t),new Pb(t)))}function Y_(n,t){return W8(n,(vB(t),new Ib(t)))}function J_(n){return Q2(),0!=Yx(n,11).e.c.length}function Z_(n){return Q2(),0!=Yx(n,11).g.c.length}function nK(n,t,e){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=Yx(TR(t.e,0),17).c.i)==(a=Yx(TR(e.e,0),17).c.i))return eO(Yx(Aun(Yx(TR(t.e,0),17),(Ojn(),IQn)),19).a,Yx(Aun(Yx(TR(e.e,0),17),IQn),19).a);for(f=0,l=(h=n.a).length;fu?1:0:(n.b&&(n.b._b(c)&&(r=Yx(n.b.xc(c),19).a),n.b._b(o)&&(u=Yx(n.b.xc(o),19).a)),ru?1:0)):0!=t.e.c.length&&0!=e.g.c.length?1:-1}(n,Yx(t,11),Yx(e,11))}function tK(n){return n.e?oQ(n.e):null}function eK(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function iK(n,t){if(n<0||n>=t)throw hp(new Gp)}function rK(n,t,e){return udn(),s3(n,t)&&s3(n,e)}function cK(n){return Chn(),!n.Hc(pit)&&!n.Hc(mit)}function aK(n){return new QS(n.c+n.b/2,n.d+n.a/2)}function uK(n,t){return t.kh()?P8(n.b,Yx(t,49)):t}function oK(n,t){this.e=n,this.d=0!=(64&t)?t|MEn:t}function sK(n,t){this.c=0,this.d=n,this.b=64|t|MEn}function hK(n){this.b=new pQ(11),this.a=(WH(),n)}function fK(n){this.b=null,this.a=(WH(),n||IFn)}function lK(n){this.a=xen(n.a),this.b=new sx(n.b)}function bK(n){this.b=n,a$.call(this,n),FO(this)}function wK(n){this.b=n,o$.call(this,n),BO(this)}function dK(n,t,e){this.a=n,EN.call(this,t,e,5,6)}function gK(n,t,e,i){this.b=n,XO.call(this,t,e,i)}function pK(n,t,e,i,r){kY.call(this,n,t,e,i,r,-1)}function vK(n,t,e,i,r){jY.call(this,n,t,e,i,r,-1)}function mK(n,t,e,i){XO.call(this,n,t,e),this.b=i}function yK(n,t,e,i){TD.call(this,n,t,e),this.b=i}function kK(n){WP.call(this,n,!1),this.a=!1}function jK(n,t){this.b=n,ol.call(this,n.b),this.a=t}function EK(n,t){VF(),Jj.call(this,n,$8(new ay(t)))}function TK(n,t){return Ljn(),new rB(n,t,0)}function MK(n,t){return Ljn(),new rB(6,n,t)}function SK(n,t){return KN(n.substr(0,t.length),t)}function PK(n,t){return aI(t)?hq(n,t):!!Dq(n.f,t)}function IK(n,t){for(vB(t);n.Ob();)t.td(n.Pb())}function CK(n,t,e){bdn(),this.e=n,this.d=t,this.a=e}function OK(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function AK(n){var t;for(t=n;t.f;)t=t.f;return t}function $K(n){var t;return S$(null!=(t=T5(n))),t}function LK(n){var t;return S$(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,DF(n.a,n.c,null),t)}(n))),t}function NK(n,t){var e;return qV(t,e=n.a.gc()),e-t}function xK(n,t){var e;for(e=0;en||n>t)throw hp(new Py("fromIndex: 0, toIndex: "+n+MMn+t))}(t,n.length),new qD(n,t)}(n,n.length))}function WK(n){return new $_(new sA(n.a.length,n.a))}function VK(n){return typeof n===Ujn||typeof n===Qjn}function QK(n,t){return k8(n,t)<0?-1:k8(n,t)>0?1:0}function YK(n,t,e){return jmn(n,Yx(t,46),Yx(e,167))}function JK(n,t){return Yx(__(D_(n.a)).Xb(t),42).cd()}function ZK(n,t){this.d=n,UO.call(this,n),this.e=t}function nF(n){this.d=(vB(n),n),this.a=0,this.c=IEn}function tF(n,t){np.call(this,1),this.a=n,this.b=t}function eF(n,t){return n.c?eF(n.c,t):eD(n.b,t),n}function iF(n,t,e){var i;return i=VJ(n,t),ZX(n,t,e),i}function rF(n,t){return aJ(n.slice(0,t),n)}function cF(n,t,e){var i;for(i=0;i=14&&e<=16);case 11:return null!=t&&typeof t===Qjn;case 12:return null!=t&&(typeof t===Ujn||typeof t==Qjn);case 0:return Oen(t,n.__elementTypeId$);case 2:return VK(t)&&!(t.im===C);case 1:return VK(t)&&!(t.im===C)||Oen(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function RF(n,t){var e;return HU(t,e=n.a.gc()),e-1-t}function _F(n,t){return n.a+=String.fromCharCode(t),n}function KF(n,t){return n.a+=String.fromCharCode(t),n}function FF(n,t){for(vB(t);n.c0?(den(n,e,0),e.a+=String.fromCharCode(i),den(n,e,r=htn(t,c)),c+=r-1):39==i?c+1=n.g}function ZF(n,t,e){return tgn(n,h2(n,t,e))}function nB(n,t){var e;VJ(n,e=n.a.length),ZX(n,e,t)}function tB(n,t){console[n].call(console,t)}function eB(n,t){var e;++n.j,e=n.Vi(),n.Ii(n.oi(e,t))}function iB(n,t,e){zg.call(this,t),this.a=n,this.b=e}function rB(n,t,e){np.call(this,n),this.a=t,this.b=e}function cB(n,t,e){this.a=n,Gg.call(this,t),this.b=e}function aB(n,t,e){this.a=n,lX.call(this,8,t,null,e)}function uB(n){this.a=(vB(nRn),nRn),this.b=n,new Xv}function oB(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function sB(n){this.c=n,this.b=n.a.d.a,tL(n.a.e,this)}function hB(n){M$(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function fB(n){return e.Math.sqrt(n.a*n.a+n.b*n.b)}function lB(n,t){return iK(t,n.a.c.length),TR(n.a,t)}function bB(n,t){return iI(n)===iI(t)||null!=n&&Q8(n,t)}function wB(n){return n?n.dc():!n.Kc().Ob()}function dB(n){return!n.a&&n.c?n.c.b:n.a}function gB(n){return!n.a&&(n.a=new XO(Wrt,n,4)),n.a}function pB(n){return!n.d&&(n.d=new XO(hat,n,1)),n.d}function vB(n){if(null==n)throw hp(new Np);return n}function mB(n){n.c?n.c.He():(n.d=!0,function(n){var t,e,i,r,c;if(c=new ip,WZ(n.b,new Gb(c)),n.b.c=VQ(U_n,iEn,1,0,5,1),0!=c.c.length){for($z(0,c.c.length),t=Yx(c.c[0],78),e=1,i=c.c.length;e0;)n=n<<1|(n<0?1:0);return n}function qB(n,t){return iI(n)===iI(t)||null!=n&&Q8(n,t)}function GB(n,t){return r_(n.a,t)?n.b[Yx(t,22).g]:null}function zB(n,t,e,i){n.a=l$(n.a,0,t)+""+i+lI(n.a,e)}function UB(n,t){n.u.Hc((Chn(),pit))&&function(n,t){var i,r,c,a;for(i=(a=Yx(GB(n.b,t),124)).a,c=Yx(Yx(KV(n.r,t),21),84).Kc();c.Ob();)(r=Yx(c.Pb(),111)).c&&(i.a=e.Math.max(i.a,WD(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=Yx(GB(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}(n,t)}function XB(n,t){return Lz(t,n.length),n.charCodeAt(t)}function WB(){Im.call(this,"There is no more element.")}function VB(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function QB(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function YB(n,t,e,i){return h3(n,t,e,!1),f9(n,i),n}function JB(n){return!n.n&&(n.n=new mK(act,n,1,7)),n.n}function ZB(n){return!n.c&&(n.c=new mK(oct,n,9,9)),n.c}function nH(n){return n.e==qRn&&function(n,t){n.e=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),gxn)))?i:t.ne()}(n.g,n.b)),n.e}function tH(n){return n.f==qRn&&function(n,t){n.f=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))?(i=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),RRn)),KN(_Rn,i)?O_(n,i1(t.Hj())):i):null}(n.g,n.b)),n.f}function eH(n){var t;return!(t=n.b)&&(n.b=t=new Qf(n)),t}function iH(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function rH(n){if(A7(n.d),n.d.d!=n.c)throw hp(new Dp)}function cH(n,t){this.b=n,this.c=t,this.a=new TE(this.b)}function aH(n,t,e){this.a=oTn,this.d=n,this.b=t,this.c=e}function uH(n,t){this.d=(vB(n),n),this.a=16449,this.c=t}function oH(n,t){Q9(n,ty(q1(t,"x")),ty(q1(t,"y")))}function sH(n,t){Q9(n,ty(q1(t,"x")),ty(q1(t,"y")))}function hH(n,t){return W9(n),new SR(n,new KY(t,n.a))}function fH(n,t){return W9(n),new SR(n,new JV(t,n.a))}function lH(n,t){return W9(n),new pL(n,new QV(t,n.a))}function bH(n,t){return W9(n),new vL(n,new YV(t,n.a))}function wH(n){this.a=new ip,this.e=VQ(Wot,TEn,48,n,0,2)}function dH(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function gH(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function pH(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function vH(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function mH(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function yH(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function kH(n,t,e,i){Uj.call(this,n,t),this.a=e,this.b=i}function jH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function EH(n,t,i){(function(n,t){var e,i,r,c;for(function(n){var t;for(t=0;t(i=oG(e))&&++i,i}function SH(n){var t;return b1(t=new up,n),t}function PH(n){var t;return Xun(t=new up,n),t}function IH(n){return function(n){var t;return CO(t=Aun(n,(Ojn(),CQn)),160)?W7(Yx(t,160)):null}(n)||null}function CH(n){return!n.b&&(n.b=new mK(nct,n,12,3)),n.b}function OH(n,t,e){e.a?N1(n,t.b-n.f/2):L1(n,t.a-n.g/2)}function AH(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function $H(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function LH(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function NH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function xH(n,t,e,i){WC(),AV.call(this,t,e,i),this.a=n}function DH(n,t,e,i){WC(),AV.call(this,t,e,i),this.a=n}function RH(n,t){this.a=n,gL.call(this,n,Yx(n.d,15).Zc(t))}function _H(n){this.f=n,this.c=this.f.e,n.f>0&&Icn(this)}function KH(n,t,e,i){this.b=n,this.c=i,PI.call(this,t,e)}function FH(n){return S$(n.b0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),n=new d,pKn=t?new E:n}function Lq(n,t){var e;return e=Nk(n.gm),null==t?e:e+": "+t}function Nq(n,t){var e;return pW(e=n.b.Qc(t),n.b.gc()),e}function xq(n,t){if(null==n)throw hp(new Zm(t));return n}function Dq(n,t){return q6(n,t,function(n,t){var e;return null==(e=n.a.get(t))?new Array:e}(n,null==t?0:n.b.se(t)))}function Rq(n,t,e){return e>=0&&KN(n.substr(e,t.length),t)}function _q(n,t,e,i,r,c,a){return new oW(n.e,t,e,i,r,c,a)}function Kq(n,t,e,i,r,c){this.a=n,E0.call(this,t,e,i,r,c)}function Fq(n,t,e,i,r,c){this.a=n,E0.call(this,t,e,i,r,c)}function Bq(n,t){this.g=n,this.d=x4(Gy(Gzn,1),kIn,10,0,[t])}function Hq(n,t){this.e=n,this.a=U_n,this.b=Zdn(t),this.c=t}function qq(n,t){sN.call(this),YZ(this),this.a=n,this.c=t}function Gq(n,t,e,i){DF(n.c[t.g],e.g,i),DF(n.c[e.g],t.g,i)}function zq(n,t,e,i){DF(n.c[t.g],t.g,e),DF(n.b[t.g],t.g,i)}function Uq(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function Xq(n){return 0==n.b.b?n.a.$e():mD(n.b)}function Wq(n){return iI(n.a)===iI((W2(),Gat))&&function(n){var t,e,i,r,c,a,u,o,s,h;for(t=new To,e=new To,s=KN(ZDn,(r=dpn(n.b,nRn))?lL(ynn((!r.b&&(r.b=new z$((xjn(),Dat),out,r)),r.b),tRn)):null),o=0;o=0?n.sh(i,e):pbn(n,t,e)}function wG(n,t,e){KG(),n&&xB(Sct,n,t),n&&xB(Mct,n,e)}function dG(n,t,e){this.i=new ip,this.b=n,this.g=t,this.a=e}function gG(n,t,e){this.c=new ip,this.e=n,this.f=t,this.b=e}function pG(n,t,e){this.a=new ip,this.e=n,this.f=t,this.c=e}function vG(n,t){jO(this),this.f=t,this.g=n,qH(this),this._d()}function mG(n,t){var e;e=n.q.getHours(),n.q.setDate(t),Ivn(n,e)}function yG(n,t){var e;for(MF(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function kG(n){var t;return L5(t=new Xk(IZ(n.length)),n),t}function jG(n,t){if(null==t)throw hp(new Np);return function(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(r5(),SKn)[typeof e];return r?r(e):Z6(typeof e)}(n,t)}function EG(n){return n.Db>>16!=3?null:Yx(n.Cb,33)}function TG(n){return n.Db>>16!=9?null:Yx(n.Cb,33)}function MG(n){return n.Db>>16!=6?null:Yx(n.Cb,79)}function SG(n){return n.Db>>16!=7?null:Yx(n.Cb,235)}function PG(n){return n.Db>>16!=7?null:Yx(n.Cb,160)}function IG(n){return n.Db>>16!=11?null:Yx(n.Cb,33)}function CG(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):zhn(n,t)}function OG(n,t){var e;return Eun(e=new jR(t),n),new sx(e)}function AG(n){var t;return t=n.d,t=n.si(n.f),fY(n,t),t.Ob()}function $G(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function LG(n,t){return e.Math.abs(n)>16!=3?null:Yx(n.Cb,147)}function BG(n){return n.Db>>16!=6?null:Yx(n.Cb,235)}function HG(n){return n.Db>>16!=17?null:Yx(n.Cb,26)}function qG(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function GG(n,t,e){return null==t?Ysn(n.f,null,e):r7(n.g,t,e)}function zG(n,t,e,i,r,c){return new yJ(n.e,t,n.aj(),e,i,r,c)}function UG(n,t,e){return n.a=l$(n.a,0,t)+""+e+lI(n.a,t),n}function XG(n,t,e){return eD(n.a,(_B(),gin(t,e),new Wj(t,e))),n}function WG(n){return jA(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function VG(n){return jA(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function QG(n,t){n.d&&uJ(n.d.e,n),n.d=t,n.d&&eD(n.d.e,n)}function YG(n,t){n.c&&uJ(n.c.g,n),n.c=t,n.c&&eD(n.c.g,n)}function JG(n,t){n.c&&uJ(n.c.a,n),n.c=t,n.c&&eD(n.c.a,n)}function ZG(n,t){n.i&&uJ(n.i.j,n),n.i=t,n.i&&eD(n.i.j,n)}function nz(n,t,e){this.a=t,this.c=n,this.b=(MF(e),new sx(e))}function tz(n,t,e){this.a=t,this.c=n,this.b=(MF(e),new sx(e))}function ez(n,t){this.a=n,this.c=dO(this.a),this.b=new Tq(t)}function iz(n,t){if(n<0||n>t)throw hp(new Hm(RMn+n+_Mn+t))}function rz(n,t){return c_(n.a,t)?_K(n,Yx(t,22).g,null):null}function cz(){cz=O,oKn=z6((pm(),x4(Gy(sKn,1),XEn,538,0,[aKn])))}function az(){az=O,A3n=y_(new fX,($un(),tzn),($jn(),iXn))}function uz(){uz=O,$3n=y_(new fX,($un(),tzn),($jn(),iXn))}function oz(){oz=O,N3n=y_(new fX,($un(),tzn),($jn(),iXn))}function sz(){sz=O,c4n=oR(new fX,($un(),tzn),($jn(),CUn))}function hz(){hz=O,h4n=oR(new fX,($un(),tzn),($jn(),CUn))}function fz(){fz=O,b4n=oR(new fX,($un(),tzn),($jn(),CUn))}function lz(){lz=O,j4n=oR(new fX,($un(),tzn),($jn(),CUn))}function bz(){bz=O,c6n=y_(new fX,(_rn(),n5n),(ysn(),c5n))}function wz(n,t,e,i){this.c=n,this.d=i,pz(this,t),vz(this,e)}function dz(n){this.c=new ME,this.b=n.b,this.d=n.c,this.a=n.a}function gz(n){this.a=e.Math.cos(n),this.b=e.Math.sin(n)}function pz(n,t){n.a&&uJ(n.a.k,n),n.a=t,n.a&&eD(n.a.k,n)}function vz(n,t){n.b&&uJ(n.b.f,n),n.b=t,n.b&&eD(n.b.f,n)}function mz(n,t){(function(n,t,e){Yx(t.b,65),WZ(t.a,new xx(n,e,t))})(n,n.b,n.c),Yx(n.b.b,65),t&&Yx(t.b,65).b}function yz(n,t){CO(n.Cb,88)&&rhn(bV(Yx(n.Cb,88)),4),E2(n,t)}function kz(n,t){CO(n.Cb,179)&&(Yx(n.Cb,179).tb=null),E2(n,t)}function jz(n,t){return TT(),GJ(t)?new cR(t,n):new VP(t,n)}function Ez(n){var t;return Rk(),b1(t=new up,n),t}function Tz(n){var t;return Rk(),b1(t=new up,n),t}function Mz(n,t){var e;return e=new qF(n),t.c[t.c.length]=e,e}function Sz(n,t){var e;return(e=Yx(x8(QH(n.a),t),14))?e.gc():0}function Pz(n){return W9(n),WH(),WH(),HZ(n,CFn)}function Iz(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function Cz(n,t){cm.call(this,new kE(IZ(n))),g0(t,EEn),this.a=t}function Oz(n,t,e){i9(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function Az(n,t,e){var i;i9(t,e,n.c.length),i=e-t,uj(n.c,t,i)}function $z(n,t){if(n<0||n>=t)throw hp(new Hm(RMn+n+_Mn+t))}function Lz(n,t){if(n<0||n>=t)throw hp(new Ly(RMn+n+_Mn+t))}function Nz(n,t){this.b=(vB(n),n),this.a=0==(t&nMn)?64|t|MEn:t}function xz(n){$C(this),zp(this.a,j5(e.Math.max(8,n))<<1)}function Dz(n){return $5(x4(Gy(B7n,1),TEn,8,0,[n.i.n,n.n,n.a]))}function Rz(n,t){return function(n,t,e){var i,r,c,a,u,o;if(a=new go,u=dwn(n.e.Tg(),t),i=Yx(n.g,119),TT(),Yx(t,66).Oj())for(c=0;c0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function PU(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function IU(n){return hR(n.e.Hd().gc()*n.c.Hd().gc(),16,new qf(n))}function CU(n){return Yx(Htn(n,VQ(Nzn,yIn,17,n.c.length,0,1)),474)}function OU(n){return Yx(Htn(n,VQ(Gzn,kIn,10,n.c.length,0,1)),193)}function AU(n,t,e){MF(n),function(n){var t,e,i;for(XH(),JC(n.c,n.a),i=new pb(n.c);i.a=0&&d=t)throw hp(new Hm(function(n,t){if(n<0)return ngn(eEn,x4(Gy(U_n,1),iEn,1,5,["index",d9(n)]));if(t<0)throw hp(new Qm(rEn+t));return ngn("%s (%s) must be less than size (%s)",x4(Gy(U_n,1),iEn,1,5,["index",d9(n),d9(t)]))}(n,t)));return n}function qU(n,t,e){if(n<0||te)throw hp(new Hm(function(n,t,e){return n<0||n>e?Usn(n,e,"start index"):t<0||t>e?Usn(t,e,"end index"):ngn("end index (%s) must not be less than start index (%s)",x4(Gy(U_n,1),iEn,1,5,[d9(t),d9(n)]))}(n,t,e)))}function GU(n,t){if(KK(n.a,t),t.d)throw hp(new Im(GMn));t.d=n}function zU(n,t){if(t.$modCount!=n.$modCount)throw hp(new Dp)}function UU(n,t){return!!CO(t,42)&&Fin(n.a,Yx(t,42))}function XU(n,t){return!!CO(t,42)&&Fin(n.a,Yx(t,42))}function WU(n,t){return!!CO(t,42)&&Fin(n.a,Yx(t,42))}function VU(n){var t;return tC(n)?-0==(t=n)?0:t:function(n){return gcn(n,(LJ(),AKn))<0?-function(n){return n.l+n.m*GTn+n.h*zTn}(h5(n)):n.l+n.m*GTn+n.h*zTn}(n)}function QU(n){var t;return yB(n),t=new F,Qk(n.a,new Kb(t)),t}function YU(n){var t;return yB(n),t=new K,Qk(n.a,new _b(t)),t}function JU(n,t){this.a=n,Vl.call(this,n),iz(t,n.gc()),this.b=t}function ZU(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function nX(n){return new pQ((g0(n,VEn),PZ(t7(t7(5,n),n/10|0))))}function tX(n){return Yx(Htn(n,VQ(rUn,jIn,11,n.c.length,0,1)),1943)}function eX(n,t,e){n.d&&uJ(n.d.e,n),n.d=t,n.d&&ZR(n.d.e,e,n)}function iX(n,t){(function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(m=0,0==t.f.b)for(p=new pb(n);p.a2e3&&(kKn=n,jKn=e.setTimeout(Ij,10)),0==yKn++&&(function(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=Zon(t,e)}while(n.a);n.a=e}}((py(),gKn)),!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=Zon(t,e)}while(n.b);n.b=e}}((py(),gKn)),--yKn,n&&-1!=jKn&&(function(n){e.clearTimeout(n)}(jKn),jKn=-1)}(r)}}function hX(n){var t;t=n.Wg(),this.a=CO(t,69)?Yx(t,69).Zh():t.Kc()}function fX(){hm.call(this),this.j.c=VQ(U_n,iEn,1,0,5,1),this.a=-1}function lX(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function bX(n,t,e,i){this.e=i,this.d=null,this.c=n,this.a=t,this.b=e}function wX(n,t,e){this.d=new sd(this),this.e=n,this.i=t,this.f=e}function dX(){dX=O,zVn=new nS(pSn,0),UVn=new nS("TOP_LEFT",1)}function gX(){gX=O,_3n=RB(d9(1),d9(4)),R3n=RB(d9(1),d9(2))}function pX(){pX=O,l9n=z6((eT(),x4(Gy(d9n,1),XEn,551,0,[h9n])))}function vX(){vX=O,s9n=z6((tT(),x4(Gy(f9n,1),XEn,482,0,[u9n])))}function mX(){mX=O,a7n=z6((iT(),x4(Gy(s7n,1),XEn,530,0,[r7n])))}function yX(){yX=O,yqn=z6((BE(),x4(Gy(Bqn,1),XEn,481,0,[vqn])))}function kX(n,t,e,i){return CO(e,54)?new C$(n,t,e,i):new L_(n,t,e,i)}function jX(n,t){return Yx(qA(Q_(Yx(KV(n.k,t),15).Oc(),hWn)),113)}function EX(n,t){return Yx(qA(Y_(Yx(KV(n.k,t),15).Oc(),hWn)),113)}function TX(n){return new Nz(function(n,t){var e,i;for(XH(),i=new ip,e=0;e0}function IX(n){return S$(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function CX(n,t){vB(t),DF(n.a,n.c,t),n.c=n.c+1&n.a.length-1,vrn(n)}function OX(n,t){vB(t),n.b=n.b-1&n.a.length-1,DF(n.a,n.b,t),vrn(n)}function AX(n,t){var e;for(e=n.j.c.length;e0&&smn(n.g,0,t,0,n.i),t}function KX(n,t){var e;return MT(),!(e=Yx(BF(Nct,n),55))||e.wj(t)}function FX(n){var t;for(t=0;n.Ob();)n.Pb(),t=t7(t,1);return PZ(t)}function BX(n,t){var e;return e=new $y,n.xd(e),e.a+="..",t.yd(e),e.a}function HX(n,t,e){return fvn(n,t,e,CO(t,99)&&0!=(Yx(t,18).Bb&eMn))}function qX(n,t,e){return function(n,t,e,i){var r,c,a,u,o,s;if(u=new go,o=dwn(n.e.Tg(),t),r=Yx(n.g,119),TT(),Yx(t,66).Oj())for(a=0;an.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=function(n){return(n.c+n.a)/2}(($z(i=function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;if(c=e,e=e&&(i=t,c=(o=(u.c+u.a)/2)-e,u.c<=o-e&&ZR(n,i++,new Lx(u.c,c)),(a=o+e)<=u.a&&(r=new Lx(a,u.a),iz(i,n.c.length),GT(n.c,i,r)))}(t,i,e)),o}(r,e,i))),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new wz((iQ(),_4n),t,c,1),new wz(_4n,c,a,1),r=new pb(e);r.a0;)i+=n.a[e],e-=e&-e;return i}function UW(n,t){var e;for(e=t;e;)$$(n,-e.i,-e.j),e=IG(e);return n}function XW(n,t){var e,i;for(vB(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function WW(n,t){var e;return new Wj(e=t.cd(),n.e.pc(e,Yx(t.dd(),14)))}function VW(n,t,e,i){var r;(r=new $).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function QW(n,t,e){var i;return $z(t,n.c.length),i=n.c[t],n.c[t]=e,i}function YW(n){return n.c&&n.d?Yz(n.c)+"->"+Yz(n.d):"e_"+KA(n)}function JW(n,t){return(W9(n),ej(new SR(n,new KY(t,n.a)))).sd(dBn)}function ZW(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function nV(n){if(!n.c.Sb())throw hp(new _p);return n.a=!0,n.c.Ub()}function tV(n){n.i=0,qT(n.b,null),qT(n.c,null),n.a=null,n.e=null,++n.g}function eV(n){_T.call(this,null==n?aEn:I7(n),CO(n,78)?Yx(n,78):null)}function iV(n){Tjn(),sp(this),this.a=new ME,a6(this,n),_D(this.a,n)}function rV(){AC(this),this.b=new QS(JTn,JTn),this.a=new QS(ZTn,ZTn)}function cV(n,t){this.c=0,this.b=t,SI.call(this,n,17493),this.a=this.c}function aV(n){uV(),hBn||(this.c=n,this.e=!0,this.a=new ip)}function uV(){uV=O,hBn=!0,oBn=!1,sBn=!1,lBn=!1,fBn=!1}function oV(n,t){return!!CO(t,149)&&KN(n.c,Yx(t,149).c)}function sV(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function hV(n,t){return Yx(UJ(n.d,t),23)||Yx(UJ(n.e,t),23)}function fV(n){this.b=n,UO.call(this,n),this.a=Yx(H3(this.b.a,4),126)}function lV(n){this.b=n,u$.call(this,n),this.a=Yx(H3(this.b.a,4),126)}function bV(n){return n.t||(n.t=new _g(n),y9(new Um(n),0,n.t)),n.t}function wV(){var n,t;wV=O,Rk(),t=new Bp,gut=t,n=new qv,put=n}function dV(n){var t;return n.c||CO(t=n.r,88)&&(n.c=Yx(t,26)),n.c}function gV(n){return rO(n&BTn,n>>22&BTn,n<0?HTn:0)}function pV(n,t){var e,i;(e=Yx(function(n,t){MF(n);try{return n.Bc(t)}catch(n){if(CO(n=j4(n),205)||CO(n,173))return null;throw hp(n)}}(n.c,t),14))&&(i=e.gc(),e.$b(),n.d-=i)}function vV(n,t){var e;return!!(e=c6(n,t.cd()))&&qB(e.e,t.dd())}function mV(n,t){return 0==t||0==n.e?n:t>0?Nnn(n,t):Own(n,-t)}function yV(n,t){return 0==t||0==n.e?n:t>0?Own(n,t):Nnn(n,-t)}function kV(n){if(Vfn(n))return n.c=n.a,n.a.Pb();throw hp(new _p)}function jV(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(bon(),Kzn)&&e.k==Kzn}function EV(n){var t;return o4(t=new jq,n),b5(t,(gjn(),$1n),null),t}function TV(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):tfn(n,t,e)}function MV(n,t,e,i){var r;for(r=0;rt)throw hp(new Hm(Usn(n,t,"index")));return n}function GV(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;for(c=0,a=0;an.d[r.p]&&(e+=zW(n.b,i)*Yx(a.b,19).a,OX(n.a,d9(i)));for(;!ry(n.a);)eZ(n.b,Yx($K(n.a),19).a)}return e}(n,e)}function uQ(n){var t;return n.a||CO(t=n.r,148)&&(n.a=Yx(t,148)),n.a}function oQ(n){return n.a?n.e?oQ(n.e):null:n}function sQ(n,t){return vB(t),n.c=0,"Initial capacity must not be negative")}function vQ(){vQ=O,oHn=z6((JZ(),x4(Gy(sHn,1),XEn,232,0,[rHn,cHn,aHn])))}function mQ(){mQ=O,dHn=z6((BY(),x4(Gy(gHn,1),XEn,461,0,[fHn,hHn,lHn])))}function yQ(){yQ=O,kHn=z6((OJ(),x4(Gy(GHn,1),XEn,462,0,[mHn,vHn,pHn])))}function kQ(){kQ=O,bBn=z6((C6(),x4(Gy(wBn,1),XEn,132,0,[cBn,aBn,uBn])))}function jQ(){jQ=O,XGn=z6((CJ(),x4(Gy(ezn,1),XEn,379,0,[GGn,qGn,zGn])))}function EQ(){EQ=O,Ozn=z6((e9(),x4(Gy(Lzn,1),XEn,423,0,[Izn,Pzn,Szn])))}function TQ(){TQ=O,PWn=z6((O0(),x4(Gy(AWn,1),XEn,314,0,[TWn,EWn,MWn])))}function MQ(){MQ=O,$Wn=z6((f0(),x4(Gy(_Wn,1),XEn,337,0,[IWn,OWn,CWn])))}function SQ(){SQ=O,WWn=z6((i5(),x4(Gy(tVn,1),XEn,450,0,[zWn,GWn,UWn])))}function PQ(){PQ=O,ZXn=z6((v2(),x4(Gy(oWn,1),XEn,361,0,[YXn,QXn,VXn])))}function IQ(){IQ=O,GVn=z6((AJ(),x4(Gy(XVn,1),XEn,303,0,[BVn,HVn,FVn])))}function CQ(){CQ=O,KVn=z6((r4(),x4(Gy(qVn,1),XEn,292,0,[DVn,RVn,xVn])))}function OQ(){OQ=O,E2n=z6((i8(),x4(Gy(I2n,1),XEn,378,0,[m2n,y2n,k2n])))}function AQ(){AQ=O,f3n=z6((d3(),x4(Gy(w3n,1),XEn,375,0,[u3n,o3n,s3n])))}function $Q(){$Q=O,Y2n=z6((k5(),x4(Gy(n3n,1),XEn,339,0,[W2n,X2n,V2n])))}function LQ(){LQ=O,a3n=z6((h0(),x4(Gy(h3n,1),XEn,452,0,[r3n,e3n,i3n])))}function NQ(){NQ=O,O3n=z6((F4(),x4(Gy(F3n,1),XEn,377,0,[P3n,I3n,S3n])))}function xQ(){xQ=O,y3n=z6(($6(),x4(Gy(T3n,1),XEn,336,0,[g3n,p3n,v3n])))}function DQ(){DQ=O,M3n=z6((V2(),x4(Gy(C3n,1),XEn,338,0,[E3n,k3n,j3n])))}function RQ(){RQ=O,W3n=z6((l0(),x4(Gy(V3n,1),XEn,454,0,[G3n,z3n,U3n])))}function _Q(){_Q=O,v6n=z6((m7(),x4(Gy(k6n,1),XEn,442,0,[g6n,w6n,d6n])))}function KQ(){KQ=O,P6n=z6((I6(),x4(Gy(r8n,1),XEn,380,0,[E6n,T6n,M6n])))}function FQ(){FQ=O,g8n=z6((p7(),x4(Gy(W8n,1),XEn,381,0,[b8n,w8n,l8n])))}function BQ(){BQ=O,h8n=z6((w3(),x4(Gy(f8n,1),XEn,293,0,[u8n,o8n,a8n])))}function HQ(){HQ=O,a9n=z6((v7(),x4(Gy(o9n,1),XEn,437,0,[e9n,i9n,r9n])))}function qQ(){qQ=O,Det=z6((O8(),x4(Gy(Bet,1),XEn,334,0,[Let,$et,Net])))}function GQ(){GQ=O,set=z6((ZZ(),x4(Gy(det,1),XEn,272,0,[cet,aet,uet])))}function zQ(n,t){return!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),mnn(n.o,t)}function UQ(n){return!n.g&&(n.g=new oo),!n.g.c&&(n.g.c=new Rg(n)),n.g.c}function XQ(n,t,e){var i,r;if(null!=e)for(i=0;i=r){for(a=1;ae||t=0?n._g(e,!0,!0):tfn(n,t,!0)}function MY(){MY=O,a6n=ltn(ltn(bT(new fX,(_rn(),J4n)),(ysn(),h5n)),a5n)}function SY(n){for(;!n.a;)if(!HN(n.c,new Fb(n)))return!1;return!0}function PY(n){return MF(n),CO(n,198)?Yx(n,198):new al(n)}function IY(){var n,t,e,i;IY=O,d7n=new bu,p7n=new wu,Cjn(),n=Ttt,t=d7n,e=itt,i=p7n,_B(),g7n=new Em(x4(Gy(iKn,1),DEn,42,0,[(gin(n,t),new Wj(n,t)),(gin(e,i),new Wj(e,i))]))}function CY(){CY=O,m6n=new xS("LEAF_NUMBER",0),y6n=new xS("NODE_SIZE",1)}function OY(n){n.a=VQ(Wot,MTn,25,n.b+1,15,1),n.c=VQ(Wot,MTn,25,n.b,15,1),n.d=0}function AY(n,t){if(null==n.g||t>=n.i)throw hp(new BI(t,n.i));return n.g[t]}function $Y(n,t,e){if(k6(n,e),null!=e&&!n.wj(e))throw hp(new Op);return e}function LY(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)c1(n,t);return _X(n)}function NY(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function xY(n,t){var e;return nW(t),(e=aJ(n.slice(0,t),n)).length=t,e}function DY(n,t,e,i){WH(),i=i||IFn,Xsn(n.slice(t,e),n,t,e,-t,i)}function RY(n,t,e,i,r){return t<0?tfn(n,e,i):Yx(e,66).Nj().Pj(n,n.yh(),t,i,r)}function _Y(n,t){if(t.a)throw hp(new Im(GMn));KK(n.a,t),t.a=n,!n.j&&(n.j=t)}function KY(n,t){PI.call(this,t.rd(),-16449&t.qd()),vB(n),this.a=n,this.c=t}function FY(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),bQ(n,i,e)}function BY(){BY=O,fHn=new oM(ySn,0),hHn=new oM(pSn,1),lHn=new oM(kSn,2)}function HY(){HY=O,WFn=new KT("All",0),VFn=new CC,QFn=new hO,YFn=new OC}function qY(){qY=O,ZFn=z6((HY(),x4(Gy(nBn,1),XEn,297,0,[WFn,VFn,QFn,YFn])))}function GY(){GY=O,vzn=z6((K4(),x4(Gy(Czn,1),XEn,405,0,[bzn,gzn,wzn,dzn])))}function zY(){zY=O,ZHn=z6((e4(),x4(Gy(rqn,1),XEn,406,0,[YHn,WHn,VHn,QHn])))}function UY(){UY=O,cqn=z6((Sen(),x4(Gy(aqn,1),XEn,323,0,[tqn,nqn,eqn,iqn])))}function XY(){XY=O,pqn=z6((Pen(),x4(Gy(mqn,1),XEn,394,0,[bqn,lqn,wqn,dqn])))}function WY(){WY=O,e5n=z6((_rn(),x4(Gy(i5n,1),XEn,393,0,[Y4n,J4n,Z4n,n5n])))}function VY(){VY=O,jXn=z6((R4(),x4(Gy(AXn,1),XEn,360,0,[yXn,vXn,mXn,pXn])))}function QY(){QY=O,c8n=z6((Hin(),x4(Gy(s8n,1),XEn,340,0,[i8n,t8n,e8n,n8n])))}function YY(){YY=O,RXn=z6((_4(),x4(Gy(qXn,1),XEn,411,0,[$Xn,LXn,NXn,xXn])))}function JY(){JY=O,C2n=z6((Hen(),x4(Gy(x2n,1),XEn,197,0,[S2n,P2n,M2n,T2n])))}function ZY(){ZY=O,Srt=z6((P6(),x4(Gy(Crt,1),XEn,396,0,[jrt,Ert,krt,Trt])))}function nJ(){nJ=O,Het=z6((Frn(),x4(Gy(Jet,1),XEn,285,0,[Fet,Ret,_et,Ket])))}function tJ(){tJ=O,get=z6((g7(),x4(Gy(Eet,1),XEn,218,0,[wet,fet,het,bet])))}function eJ(){eJ=O,mrt=z6((unn(),x4(Gy(yrt,1),XEn,311,0,[prt,wrt,grt,drt])))}function iJ(){iJ=O,ert=z6((Ann(),x4(Gy(lrt,1),XEn,374,0,[Zit,nrt,Jit,Yit])))}function rJ(){rJ=O,Jvn(),iot=JTn,eot=ZTn,cot=new ib(JTn),rot=new ib(ZTn)}function cJ(){cJ=O,rVn=new WM(fIn,0),iVn=new WM("IMPROVE_STRAIGHTNESS",1)}function aJ(n,t){return 10!=QJ(t)&&x4(V5(t),t.hm,t.__elementTypeId$,QJ(t),n),n}function uJ(n,t){var e;return-1!=(e=hJ(n,t,0))&&(_V(n,e),!0)}function oJ(n,t){var e;return(e=Yx(zV(n.e,t),387))?(KD(e),e.e):null}function sJ(n){var t;return tC(n)&&(t=0-n,!isNaN(t))?t:$3(h5(n))}function hJ(n,t,e){for(;e0?(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])):u&&(n.f[s.p]=l)}}(n,t,i),0==n.a.c.length||function(n,t){var e,i,r,c,a,u,o,s,h,f;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new pb(n.a);u.a=0?$en(n,e,!0,!0):tfn(n,t,!0)}function KJ(n,t){var e,i;return JE(),e=SX(n),i=SX(t),!!e&&!!i&&!Een(e.k,i.k)}function FJ(n){(this.q?this.q:(XH(),XH(),MFn)).Ac(n.q?n.q:(XH(),XH(),MFn))}function BJ(n,t){sqn=new it,gqn=t,Yx((oqn=n).b,65),QQ(oqn,sqn,null),Bmn(oqn)}function HJ(n,t,e){var i;return i=n.g[t],KO(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function qJ(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function GJ(n){var t;return n.d!=n.r&&(t=fcn(n),n.e=!!t&&t.Cj()==_Dn,n.d=t),n.e}function zJ(n,t){var e;for(MF(n),MF(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function UJ(n,t){var e;return(e=Yx(BF(n.e,t),387))?(OO(n,e),e.e):null}function XJ(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function WJ(n,t){return W9(n),new SR(n,new VN(new JV(t,n.a)))}function VJ(n,t){var e=n.a[t],i=(r5(),SKn)[typeof e];return i?i(e):Z6(typeof e)}function QJ(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function YJ(n){var t;return null!=(t=0==n.b.c.length?null:TR(n.b,0))&&e2(n,0),t}function JJ(n,t){for(;t[0]=0;)++t[0]}function ZJ(n,t){this.e=t,this.a=h4(n),this.a<54?this.f=VU(n):this.c=Utn(n)}function nZ(n,t,e,i){Ljn(),np.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function tZ(n,t,e){var i,r;for(i=10,r=0;rn.a[i]&&(i=e);return i}function uZ(n,t){return 0==t.e||0==n.e?pFn:(jfn(),Vbn(n,t))}function oZ(){oZ=O,kzn=new St,jzn=new Tt,mzn=new At,yzn=new $t,Ezn=new Lt}function sZ(){sZ=O,$Bn=new cM("BY_SIZE",0),LBn=new cM("BY_SIZE_AND_SHAPE",1)}function hZ(){hZ=O,Qqn=new fM("EADES",0),Yqn=new fM("FRUCHTERMAN_REINGOLD",1)}function fZ(){fZ=O,FWn=new zM("READING_DIRECTION",0),BWn=new zM("ROTATION",1)}function lZ(){lZ=O,KWn=z6((min(),x4(Gy(HWn,1),XEn,335,0,[NWn,LWn,DWn,RWn,xWn])))}function bZ(){bZ=O,D2n=z6((ain(),x4(Gy(z2n,1),XEn,315,0,[N2n,A2n,$2n,O2n,L2n])))}function wZ(){wZ=O,GXn=z6((Tan(),x4(Gy(JXn,1),XEn,363,0,[KXn,BXn,HXn,FXn,_Xn])))}function dZ(){dZ=O,cYn=z6((d7(),x4(Gy(p2n,1),XEn,163,0,[iYn,ZQn,nYn,tYn,eYn])))}function gZ(){gZ=O,E9n=z6((Aon(),x4(Gy(c7n,1),XEn,316,0,[p9n,v9n,k9n,m9n,y9n])))}function pZ(){pZ=O,P7n=z6((Qtn(),x4(Gy(D7n,1),XEn,175,0,[T7n,E7n,k7n,M7n,j7n])))}function vZ(){vZ=O,t9n=z6((xbn(),x4(Gy(c9n,1),XEn,355,0,[Q8n,V8n,J8n,Y8n,Z8n])))}function mZ(){mZ=O,izn=z6(($un(),x4(Gy(azn,1),XEn,356,0,[YGn,JGn,ZGn,nzn,tzn])))}function yZ(){yZ=O,ret=z6((t9(),x4(Gy(oet,1),XEn,103,0,[tet,net,Ztt,Jtt,eet])))}function kZ(){kZ=O,ait=z6((Ytn(),x4(Gy(bit,1),XEn,249,0,[eit,rit,nit,tit,iit])))}function jZ(){jZ=O,zit=z6((Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])))}function EZ(n,t){var e;return(e=Yx(BF(n.a,t),134))||(e=new Zn,xB(n.a,t,e)),e}function TZ(n){var t;return!!(t=Yx(Aun(n,(Ojn(),YVn)),305))&&t.a==n}function MZ(n){var t;return!!(t=Yx(Aun(n,(Ojn(),YVn)),305))&&t.i==n}function SZ(n,t){return vB(t),eK(n),!!n.d.Ob()&&(t.td(n.d.Pb()),!0)}function PZ(n){return k8(n,Yjn)>0?Yjn:k8(n,nTn)<0?nTn:WR(n)}function IZ(n){return n<3?(g0(n,GEn),n+1):n=0&&t=-.01&&n.a<=SSn&&(n.a=0),n.b>=-.01&&n.b<=SSn&&(n.b=0),n}function $Z(n,t){return t==(bx(),bx(),KFn)?n.toLocaleLowerCase():n.toLowerCase()}function LZ(n){return(0!=(2&n.i)?"interface ":0!=(1&n.i)?"":"class ")+(sL(n),n.o)}function NZ(n){var t;t=new zv,fY((!n.q&&(n.q=new mK(fat,n,11,10)),n.q),t)}function xZ(n){this.g=n,this.f=new ip,this.a=e.Math.min(this.g.c.c,this.g.d.c)}function DZ(n){this.b=new ip,this.a=new ip,this.c=new ip,this.d=new ip,this.e=n}function RZ(n,t){this.a=new rp,this.e=new rp,this.b=(i8(),k2n),this.c=n,this.b=t}function _Z(n,t,e){sN.call(this),YZ(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function KZ(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(pm(),aKn)}function FZ(n){if(n<0)throw hp(new Qm("Illegal Capacity: "+n));this.g=this.ri(n)}function BZ(n){var t;M$(!!n.c),t=n.c.a,VZ(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function HZ(n,t){var e;return W9(n),e=new KH(n,n.a.rd(),4|n.a.qd(),t),new SR(n,e)}function qZ(n,t){var e;for(e=n.Kc();e.Ob();)b5(Yx(e.Pb(),70),(Ojn(),kQn),t)}function GZ(n){var t;return(t=ty(fL(Aun(n,(gjn(),y1n)))))<0&&b5(n,y1n,t=0),t}function zZ(n,t,e,i,r,c){var a;YG(a=EV(i),r),QG(a,c),Qhn(n.a,i,new jx(a,t,e.f))}function UZ(n,t){var e;if(!(e=Ybn(n.Tg(),t)))throw hp(new Qm(mNn+t+jNn));return e}function XZ(n,t){var e;for(e=n;IG(e);)if((e=IG(e))==t)return!0;return!1}function WZ(n,t){var e,i,r,c;for(vB(t),r=0,c=(i=n.c).length;r>16!=6?null:Yx(Bfn(n),235)}(n))&&!t.kh()&&(n.w=t),t)}function r1(n){var t;return null==n?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(a=VQ(Xot,sTn,25,2*t,15,1),i=0,r=0;i>4&15,c=15&n[i],a[r++]=zrt[e],a[r++]=zrt[c];return Vnn(a,0,a.length)}(t=Yx(n,190),t.length)}function c1(n,t){if(null==n.g||t>=n.i)throw hp(new BI(t,n.i));return n.li(t,n.g[t])}function a1(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)n2(n.b,t),t=A9(t);n2(n.b,t)}function u1(n,t){var e,i,r,c;for(r=0,c=(i=n.d).length;r=14&&t<=16)),n}function f1(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function l1(n,t,e){var i,r;i=t;do{r=ty(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function b1(n,t){var e,i;i=n.a,e=function(n,t,e){var i,r;return r=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new pK(n,1,5,r,n.a),e?Pan(e,i):e=i),e}(n,t,null),i!=t&&!n.e&&(e=zyn(n,t,e)),e&&e.Fi()}function w1(n,t){return XC(),o0(ZEn),e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)}function d1(n,t){return XC(),o0(ZEn),e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)}function g1(n,t){return function(n){return n?n.i:null}(_2(n,t,WR(e7(BEn,HB(WR(e7(null==t?0:W5(t),HEn)),15)))))}function p1(){p1=O,zzn=z6((bon(),x4(Gy(Uzn,1),XEn,267,0,[Hzn,Bzn,Kzn,qzn,Fzn,_zn])))}function v1(){v1=O,dnt=z6((dan(),x4(Gy(iet,1),XEn,291,0,[bnt,lnt,fnt,snt,ont,hnt])))}function m1(){m1=O,V7n=z6((qen(),x4(Gy(wnt,1),XEn,248,0,[H7n,z7n,U7n,X7n,q7n,G7n])))}function y1(){y1=O,vWn=z6((psn(),x4(Gy(kWn,1),XEn,227,0,[bWn,dWn,lWn,wWn,gWn,fWn])))}function k1(){k1=O,jVn=z6((uon(),x4(Gy(LVn,1),XEn,275,0,[mVn,gVn,yVn,vVn,pVn,dVn])))}function j1(){j1=O,wVn=z6((Wcn(),x4(Gy(kVn,1),XEn,274,0,[hVn,sVn,lVn,oVn,fVn,uVn])))}function E1(){E1=O,v2n=z6((nun(),x4(Gy(j2n,1),XEn,313,0,[d2n,b2n,f2n,l2n,g2n,w2n])))}function T1(){T1=O,eVn=z6((pon(),x4(Gy(cVn,1),XEn,276,0,[QWn,VWn,JWn,YWn,nVn,ZWn])))}function M1(){M1=O,l5n=z6((ysn(),x4(Gy(Z5n,1),XEn,327,0,[h5n,a5n,o5n,u5n,s5n,c5n])))}function S1(){S1=O,jit=z6((Chn(),x4(Gy(Git,1),XEn,273,0,[mit,pit,vit,git,dit,yit])))}function P1(){P1=O,Tet=z6((vun(),x4(Gy(xet,1),XEn,312,0,[ket,met,jet,pet,yet,vet])))}function I1(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,0,e,n.a))}function C1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,1,e,n.b))}function O1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,3,e,n.b))}function A1(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,3,e,n.f))}function $1(n,t){var e;e=n.g,n.g=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,4,e,n.g))}function L1(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,5,e,n.i))}function N1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,6,e,n.j))}function x1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,1,e,n.j))}function D1(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,4,e,n.c))}function R1(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new aW(n,2,e,n.k))}function _1(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,2,e,n.d))}function K1(n,t){var e;e=n.s,n.s=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,4,e,n.s))}function F1(n,t){var e;e=n.t,n.t=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,5,e,n.t))}function B1(n,t){var e;e=n.F,n.F=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,5,e,t))}function H1(n,t){var e;return(e=Yx(BF((MT(),Nct),n),55))?e.xj(t):VQ(U_n,iEn,1,t,5,1)}function q1(n,t){var e;return t in n.a&&(e=jG(n,t).he())?e.a:null}function G1(n,t){var e,i;return xk(),i=new uo,!!t&&Xbn(i,t),x0(e=i,n),e}function z1(n,t,e){if(k6(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw hp(new Op);return e}function U1(n,t){return n.n=t,n.n?(n.f=new ip,n.e=new ip):(n.f=null,n.e=null),n}function X1(n,t,e,i,r,c){var a;return e0(e,a=TF(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function W1(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 V1(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 Q1(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 Y1(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 J1(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 Z1(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0),function(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,E$(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,DF(n.a,t,n.a[i]),t=i;DF(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,DF(n.a,t,n.a[i]),t=i;DF(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 u0(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=J6(n.f)),n.c).e}function o0(n){if(!(n>=0))throw hp(new Qm("tolerance ("+n+") must be >= 0"));return n}function s0(){return m7n||h6(m7n=new Jdn,x4(Gy(ZBn,1),iEn,130,0,[new $f])),m7n}function h0(){h0=O,r3n=new sS(MSn,0),e3n=new sS("INPUT",1),i3n=new sS("OUTPUT",2)}function f0(){f0=O,IWn=new qM("ARD",0),OWn=new qM("MSD",1),CWn=new qM("MANUAL",2)}function l0(){l0=O,G3n=new dS("BARYCENTER",0),z3n=new dS(_In,1),U3n=new dS(KIn,2)}function b0(n,t){var e;if(e=n.gc(),t<0||t>e)throw hp(new jN(t,e));return new WN(n,t)}function w0(n,t){var e;return CO(t,42)?n.c.Mc(t):(e=mnn(n,t),ttn(n,t),e)}function d0(n,t,e){return a8(n,t),E2(n,e),K1(n,0),F1(n,1),l9(n,!0),s9(n,!0),n}function g0(n,t){if(n<0)throw hp(new Qm(t+" cannot be negative but was: "+n));return n}function p0(n,t){var e,i;for(e=0,i=n.gc();e0?Yx(TR(e.a,i-1),10):null}function $0(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,2,e,n.k))}function L0(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,8,e,n.f))}function N0(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,7,e,n.i))}function x0(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,8,e,n.a))}function D0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,0,e,n.b))}function R0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,0,e,n.b))}function _0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,1,e,n.c))}function K0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,1,e,n.c))}function F0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,4,e,n.c))}function B0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,1,e,n.d))}function H0(n,t){var e;e=n.D,n.D=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,2,e,n.D))}function q0(n,t){n.r>0&&n.c0&&0!=n.g&&q0(n.i,t/n.r*n.i.d))}function G0(n,t){return Lwn(n.e,t)?(TT(),GJ(t)?new cR(t,n):new VP(t,n)):new JP(t,n)}function z0(n,t){return function(n){return n?n.g:null}(K2(n.a,t,WR(e7(BEn,HB(WR(e7(null==t?0:W5(t),HEn)),15)))))}function U0(n){var t;return(n=e.Math.max(n,2))>(t=j5(n))?(t<<=1)>0?t:zEn:t}function X0(n){switch(kA(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 W0(n,t){var e;return!!CO(t,8)&&(e=Yx(t,8),n.a==e.a&&n.b==e.b)}function V0(n,t,e){var i,r;return r=t>>5,i=31&t,Gz(U_(n.n[e][r],WR(G_(i,1))),3)}function Q0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,21,e,n.b))}function Y0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,11,e,n.d))}function J0(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,13,e,n.j))}function Z0(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?t-1:t,pk(function(n,t){return n.j=t,n}(U1(xD(new am,e),n.n),n.j),n.k)}(n,n.g),_D(n.a,e),e.i=n,n.d=t,e)}function Z2(n,t,e){run(e,"DFS Treeifying phase",1),function(n,t){var e,i,r;for(r=t.b.b,n.a=new ME,n.b=VQ(Wot,MTn,25,r,15,1),e=0,i=Ztn(t.b,0);i.b!=i.d.c;)Yx(IX(i),86).g=e++}(n,t),function(n,t){var e,i,r,c,a;for(a=Yx(Aun(t,(cln(),X5n)),425),c=Ztn(t.b,0);c.b!=c.d.c;)if(r=Yx(IX(c),86),0==n.b[r.g]){switch(a.g){case 0:yin(n,r);break;case 1:gln(n,r)}n.b[r.g]=2}for(i=Ztn(n.a,0);i.b!=i.d.c;)V7((e=Yx(IX(i),188)).b.d,e,!0),V7(e.c.b,e,!0);b5(t,(ryn(),S5n),n.a)}(n,t),n.a=null,n.b=null,Ron(e)}function n3(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new ip,function(n){var t,e,i,r;for(r=V8(n.d,n.e).Kc();r.Ob();)for(i=Yx(r.Pb(),11),e=new pb(n.e==(Ikn(),qit)?i.e:i.g);e.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function e3(n,t){CD.call(this,sut,n,t),this.b=this,this.a=dwn(n.Tg(),CZ(this.e.Tg(),this.c))}function i3(n,t){var e,i;for(vB(t),i=t.vc().Kc();i.Ob();)e=Yx(i.Pb(),42),n.zc(e.cd(),e.dd())}function r3(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 c3(n){switch(n.g){case 2:return Ikn(),qit;case 4:return Ikn(),Eit;default:return n}}function a3(n){switch(n.g){case 1:return Ikn(),Bit;case 3:return Ikn(),Tit;default:return n}}function u3(n,t){return TA(),aI(n)?FV(n,lL(t)):cI(n)?W_(n,fL(t)):rI(n)?X_(n,hL(t)):n.wd(t)}function o3(n,t){t.q=n,n.d=e.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),eD(n.a,t)}function s3(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b0||h.j==qit&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new pb(h.g);r.a=0x8000000000000000?(LJ(),IKn):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=zTn&&(n-=(e=oG(n/zTn))*zTn),t=0,n>=GTn&&(n-=(t=oG(n/GTn))*GTn),r=rO(oG(n),t,e),i&&A5(r),r)}(n))}function R3(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}function _3(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw hp(new _p)}function W3(n){var t,e,i;return e=0,(i=n)<0&&(i+=zTn,e=HTn),t=oG(i/GTn),rO(oG(i-t*GTn),t,e)}function V3(n){var t,e,i;for(i=0,e=new TE(n.a);e.a>22),r=n.h-t.h+(i>>22),rO(e&BTn,i&BTn,r&HTn)}function k4(n){var t;return n<128?(!(t=(dR(),FKn)[n])&&(t=FKn[n]=new eb(n)),t):new eb(n)}function j4(n){var t;return CO(n,78)?n:((t=n&&n.__java$exception)||Sp(t=new n8(n)),t)}function E4(n){if(CO(n,186))return Yx(n,118);if(n)return null;throw hp(new Zm(pxn))}function T4(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(Q8(t,w8(n)))return!0;return!1}function M4(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new ZU(n.e.f),n.a.Ob())}function S4(n,t){var e;return 0!=(e=t.Pc()).length&&(sD(n.c,n.c.length,e),!0)}function P4(n,t){var e;for(e=new pb(n.b);e.a=0,"Negative initial capacity"),jD(t>=0,"Non-positive load factor"),UK(this)}function a5(n,t,e){return!(n>=128)&&hI(n<64?Gz(G_(1,n),e):Gz(G_(1,n-64),t),0)}function u5(n,t){return!(!n||!t||n==t)&&y7(n.b.c,t.b.c+t.b.b)<0&&y7(t.b.c,n.b.c+n.b.b)<0}function o5(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new mH(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function s5(n){var t,i;for(null==n.j&&(n.j=($q(),function(n){var t,i,r;for(t="Sz",i="ez",r=e.Math.min(n.length,5)-1;r>=0;r--)if(KN(n[r].d,t)||KN(n[r].d,i)){n.length>=r+1&&n.splice(0,r+1);break}return n}(pKn.ce(n)))),t=0,i=n.j.length;t(i=n.gc()))throw hp(new jN(t,i));return n.hi()&&(e=OG(n,e)),n.Vh(t,e)}function l5(n,t,e){return null==e?(!n.q&&(n.q=new rp),zV(n.q,t)):(!n.q&&(n.q=new rp),xB(n.q,t,e)),n}function b5(n,t,e){return null==e?(!n.q&&(n.q=new rp),zV(n.q,t)):(!n.q&&(n.q=new rp),xB(n.q,t,e)),n}function w5(n){var t,i;return o4(i=new XV,n),b5(i,(d2(),EGn),n),function(n,t,i){var r,c,a,u,o;for(r=0,a=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));a.e!=a.i.gc();)u="",0==(!(c=Yx(hen(a),33)).n&&(c.n=new mK(act,c,1,7)),c.n).i||(u=Yx(c1((!c.n&&(c.n=new mK(act,c,1,7)),c.n),0),137).a),o4(o=new GF(u),c),b5(o,(d2(),EGn),c),o.b=r++,o.d.a=c.i+c.g/2,o.d.b=c.j+c.f/2,o.e.a=e.Math.max(c.g,1),o.e.b=e.Math.max(c.f,1),eD(t.e,o),Ysn(i.f,c,o),Yx(jln(c,(Bdn(),fGn)),98),Ran()}(n,i,t=new rp),function(n,t,i){var r,c,a,u,o,s,f,l;for(s=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new $_(bA(lbn(o=Yx(hen(s),33)).a.Kc(),new h));Vfn(c);){if(!(r=Yx(kV(c),79)).b&&(r.b=new AN(Zrt,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new AN(Zrt,r,5,8)),r.c.i<=1)))throw hp(new by("Graph must not contain hyperedges."));if(!Rfn(r)&&o!=iun(Yx(c1((!r.c&&(r.c=new AN(Zrt,r,5,8)),r.c),0),82)))for(o4(f=new rN,r),b5(f,(d2(),EGn),r),Cl(f,Yx(eI(Dq(i.f,o)),144)),Ol(f,Yx(BF(i,iun(Yx(c1((!r.c&&(r.c=new AN(Zrt,r,5,8)),r.c),0),82))),144)),eD(t.c,f),u=new UO((!r.n&&(r.n=new mK(act,r,1,7)),r.n));u.e!=u.i.gc();)o4(l=new wW(f,(a=Yx(hen(u),137)).a),a),b5(l,EGn,a),l.e.a=e.Math.max(a.g,1),l.e.b=e.Math.max(a.f,1),Wvn(l),eD(t.d,l)}}(n,i,t),i}function d5(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r>=1);return t}function E5(n){var t,e;return 32==(e=Yhn(n.h))?32==(t=Yhn(n.m))?Yhn(n.l)+32:t+20-10:e-12}function T5(n){var t;return null==(t=n.a[n.b])?null:(DF(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function M5(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 S5(n,t,e){var i,r;return i=new nY(t,e),r=new q,n.b=Hwn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function P5(n,t,e){var i,r,c;for(c=0,r=V8(t,e).Kc();r.Ob();)i=Yx(r.Pb(),11),xB(n.c,i,d9(c++))}function I5(n){var t,e;for(e=new pb(n.a.b);e.ae&&(e=n[t]);return e}function x5(n,t,e){var i;return Swn(n,t,i=new ip,(Ikn(),Eit),!0,!1),Swn(n,e,i,qit,!1,!1),i}function D5(n,t,e){var i,r;return r=cX(t,"labels"),function(n,t,e){var i,r,c,a;if(e)for(r=((i=new N_(e.a.length)).b-i.a)*i.c<0?(PT(),Fot):new oA(i);r.Ob();)(c=aX(e,Yx(r.Pb(),19).a))&&(a=G1(oX(c,zNn),t),xB(n.f,a,c),rxn in c.a&&$0(a,oX(c,rxn)),eun(c,a),ihn(c,a))}((i=new AP(n,e)).a,i.b,r),r}function R5(n,t){var e;for(e=0;e1||t>=0&&n.b<3)}function U5(n){var t,e;for(t=new Nv,e=Ztn(n,0);e.b!=e.d.c;)A$(t,0,new fC(Yx(IX(e),8)));return t}function X5(n){var t;for(t=new pb(n.a.b);t.a=n.b.c.length||(l6(n,2*t+1),(e=2*t+2)=0&&n[i]===t[i];i--);return i<0?0:LT(Gz(n[i],uMn),Gz(t[i],uMn))?-1:1}function d6(n,t){var e,i;return i=Yx(H3(n.a,4),126),e=VQ(Oct,vDn,415,t,0,1),null!=i&&smn(i,0,e,0,i.length),e}function g6(n,t){var e;return e=new xdn(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function p6(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(Nin(n,c,a))return!0;return!1}function v6(n,t,e){var i,r,c,a;for(vB(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function m6(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=Yx(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function y6(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&&H5(n,t,e)}(n.c,t,e);break;case 0:!function(n,t,e){n.i=0,n.e=0,t!=e&&q5(n,t,e)}(n.c,t,e)}else YX(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 k6(n,t){if(!n.ai()&&null==t)throw hp(new Qm("The 'no null' constraint is violated"));return t}function j6(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),H0(n,null==t?null:(vB(t),t)),n.C&&n.yk(null)}function E6(n,t){return!(!n||n==t||!O$(t,(Ojn(),vQn)))&&Yx(Aun(t,(Ojn(),vQn)),10)!=n}function T6(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function M6(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function S6(n){vG.call(this,"The given string does not match the expected format for individual spacings.",n)}function P6(){P6=O,jrt=new yP("ELK",0),Ert=new yP("JSON",1),krt=new yP("DOT",2),Trt=new yP("SVG",3)}function I6(){I6=O,E6n=new DS(fIn,0),T6n=new DS("RADIAL_COMPACTION",1),M6n=new DS("WEDGE_COMPACTION",2)}function C6(){C6=O,cBn=new FT("CONCURRENT",0),aBn=new FT("IDENTITY_FINISH",1),uBn=new FT("UNORDERED",2)}function O6(){O6=O,BE(),jqn=new FI(ePn,Eqn=vqn),kqn=new Og(iPn),Tqn=new Og(rPn),Mqn=new Og(cPn)}function A6(){A6=O,SXn=new ji,PXn=new Ei,MXn=new Ti,TXn=new Mi,vB(new Si),EXn=new D}function $6(){$6=O,g3n=new lS("CONSERVATIVE",0),p3n=new lS("CONSERVATIVE_SOFT",1),v3n=new lS("SLOPPY",2)}function L6(){L6=O,Oet=new RC(15),Cet=new DC((Cjn(),utt),Oet),Aet=Ott,Met=ynt,Set=Jnt,Iet=ttt,Pet=ntt}function N6(n,t,e){var i,r;for(i=new ME,r=Ztn(e,0);r.b!=r.d.c;)_D(i,new fC(Yx(IX(r),8)));v6(n,t,i)}function x6(n){var t;return!n.a&&(n.a=new mK(sat,n,9,5)),0!=(t=n.a).i?function(n){return n.b?n.b:n.a}(Yx(c1(t,0),678)):null}function D6(n,t){var e;return e=t7(n,t),LT(Uz(n,t),0)|function(n,t){return k8(n,t)>=0}(Uz(n,e),0)?e:t7(IEn,Uz(U_(e,63),1))}function R6(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e0)return iK(t-1,n.a.c.length),_V(n.a,t-1);throw hp(new Rp)}function K6(n,t,e){if(n>t)throw hp(new Qm(NMn+n+xMn+t));if(n<0||t>e)throw hp(new Py(NMn+n+DMn+t+MMn+e))}function F6(n){if(!n.a||0==(8&n.a.i))throw hp(new Ym("Enumeration class expected for layout option "+n.f))}function B6(n){var t;++n.j,0==n.i?n.g=null:n.in$n?n-i>n$n:i-n>n$n)}function Q6(n,t){return n?t&&!n.j||CO(n,124)&&0==Yx(n,124).a.b?0:n.Re():0}function Y6(n,t){return n?t&&!n.k||CO(n,124)&&0==Yx(n,124).a.a?0:n.Se():0}function J6(n){return bdn(),n<0?-1!=n?new jen(-1,-n):lFn:n<=10?wFn[oG(n)]:new jen(1,n)}function Z6(n){throw r5(),hp(new Cm("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function n8(n){vy(),jO(this),qH(this),this.e=n,Cwn(this,n),this.g=null==n?aEn:I7(n),this.a="",this.b=n,this.a=""}function t8(){this.a=new nu,this.f=new _d(this),this.b=new Kd(this),this.i=new Fd(this),this.e=new Bd(this)}function e8(){vm.call(this,new tY(IZ(16))),g0(2,EEn),this.b=2,this.a=new IB(null,null,0,null),kp(this.a,this.a)}function i8(){i8=O,m2n=new eS("DUMMY_NODE_OVER",0),y2n=new eS("DUMMY_NODE_UNDER",1),k2n=new eS("EQUAL",2)}function r8(){r8=O,uzn=kG(x4(Gy(oet,1),XEn,103,0,[(t9(),Ztt),net])),ozn=kG(x4(Gy(oet,1),XEn,103,0,[eet,Jtt]))}function c8(n){return(Ikn(),xit).Hc(n.j)?ty(fL(Aun(n,(Ojn(),XQn)))):$5(x4(Gy(B7n,1),TEn,8,0,[n.i.n,n.n,n.a])).b}function a8(n,t){var e,i;e=n.nk(t,null),i=null,t&&(Rk(),b1(i=new up,n.r)),(e=fun(n,i,e))&&e.Fi()}function u8(n,t){var e,i,r;return i=!1,e=t.q.d,t.dr&&(san(t.q,r),i=e!=t.q.d)),i}function o8(n,t){var i,r,c,a,u;return a=t.i,u=t.j,r=a-(i=n.f).i,c=u-i.j,e.Math.sqrt(r*r+c*c)}function s8(n,t){var e;return(e=rtn(n))||(!Xrt&&(Xrt=new Oo),Cmn(),fY((e=new Yg(xsn(t))).Vk(),n)),e}function h8(n,t){var e,i;return(e=Yx(n.c.Bc(t),14))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function f8(n,t){var e;for(e=0;e=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 C8(n){var t,e,i,r;if(null!=n)for(e=0;e0&&a6(Yx(TR(n.a,n.a.c.length-1),570),t)||eD(n.a,new iV(t))}function K8(n){var t;return(t=new Ay).a+="VerticalSegment ",mI(t,n.e),t.a+=" ",yI(t,lA(new Ty,new pb(n.k))),t.a}function F8(n){var t;return(t=Yx(UJ(n.c.c,""),229))||(t=new dz(ok(uk(new pu,""),"Other")),Gtn(n.c.c,"",t)),t}function B8(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new MA(_ln(n))).a+=" (name: ",pI(t,n.zb),t.a+=")",t.a)}function H8(n,t,e){var i,r;return r=n.sb,n.sb=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new pK(n,1,4,r,t),e?e.Ei(i):e=i),e}function q8(n,t){var e,i;for(e=0,i=i7(n,t).Kc();i.Ob();)e+=null!=Aun(Yx(i.Pb(),11),(Ojn(),RQn))?1:0;return e}function G8(n,t,e){var i,r,c;for(i=0,c=Ztn(n,0);c.b!=c.d.c&&!((r=ty(fL(IX(c))))>e);)r>=t&&++i;return i}function z8(n,t,e){var i,r;return r=n.r,n.r=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new pK(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function U8(n,t){var e,i;return!(i=(e=Yx(t,676)).vk())&&e.wk(i=CO(t,88)?new UP(n,Yx(t,26)):new mU(n,Yx(t,148))),i}function X8(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&smn(n.g,t,n.g,t+1,n.i-t),DF(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function W8(n,t){var e;return e=new sn,n.a.sd(e)?(qO(),new Am(vB(fJ(n,e.a,t)))):(yB(n),qO(),qO(),FFn)}function V8(n,t){switch(t.g){case 2:case 1:return i7(n,t);case 3:case 4:return I3(i7(n,t))}return XH(),XH(),TFn}function Q8(n,t){return aI(n)?KN(n,t):cI(n)?_N(n,t):rI(n)?(vB(n),iI(n)===iI(t)):I_(n)?n.Fb(t):u_(n)?WI(n,t):Jz(n,t)}function Y8(n,t,e,i,r){0!=t&&0!=i&&(1==t?r[i]=Gen(r,e,i,n[0]):1==i?r[t]=Gen(r,n,t,e[0]):function(n,t,e,i,r){var c,a,u,o;if(iI(n)!==iI(t)||i!=r)for(u=0;ue)throw hp(new Hm(NMn+n+DMn+t+", size: "+e));if(n>t)throw hp(new Qm(NMn+n+xMn+t))}function r9(n,t,e){if(t<0)Ehn(n,e);else{if(!e.Ij())throw hp(new Qm(mNn+e.ne()+yNn));Yx(e,66).Nj().Vj(n,n.yh(),t)}}function c9(n,t,e,i,r,c){this.e=new ip,this.f=(h0(),r3n),eD(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function a9(n,t){var e,i;for(i=new UO(n);i.e!=i.i.gc();)if(e=Yx(hen(i),26),iI(t)===iI(e))return!0;return!1}function u9(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function o9(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new MA(_ln(n))).a+=" (source: ",pI(t,n.d),t.a+=")",t.a)}function s9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,2,e,t))}function h9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,8,e,t))}function f9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,8,e,t))}function l9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,3,e,t))}function b9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,9,e,t))}function w9(n,t){var e;return-1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):tnn(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function d9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(ZD(),GKn)[t])&&(e=GKn[t]=new rb(n)),e):new rb(n)}function g9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(wR(),ZKn)[t])&&(e=ZKn[t]=new ab(n)),e):new ab(n)}function p9(n){var t;return n.k==(bon(),Kzn)&&((t=Yx(Aun(n,(Ojn(),hQn)),61))==(Ikn(),Tit)||t==Bit)}function v9(n,t,e){var i,r;return(r=Hln(n.b,t))&&(i=Yx(Imn(SJ(n,r),""),26))?Lln(n,i,t,e):null}function m9(n,t){var e,i;for(i=new UO(n);i.e!=i.i.gc();)if(e=Yx(hen(i),138),iI(t)===iI(e))return!0;return!1}function y9(n,t,e){var i;if(t>(i=n.gc()))throw hp(new jN(t,i));if(n.hi()&&n.Hc(e))throw hp(new Qm(kxn));n.Xh(t,e)}function k9(n,t){var e;if(CO(e=Ybn(n,t),322))return Yx(e,34);throw hp(new Qm(mNn+t+"' is not a valid attribute"))}function j9(n){var t,e,i;for(t=new ip,i=new pb(n.b);i.at?1:n==t?0==n?$9(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function L9(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=Vhn(n,t,e),n.$i(n.Zi(7,d9(e),i,t,r)),i):Vhn(n,t,e)}function N9(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.cd(),function(n,t,e){++n.e,--n.f,Yx(n.d[t].$c(e),133).dd()}(n,i=((e=t.Sh())&Yjn)%n.d.length,Bln(n,i,e,r)))}function x9(n,t){var e;e=0!=(n.Bb&DNn),t?n.Bb|=DNn:n.Bb&=-1025,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,10,e,t))}function D9(n,t){var e;e=0!=(n.Bb&nMn),t?n.Bb|=nMn:n.Bb&=-4097,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,12,e,t))}function R9(n,t){var e;e=0!=(n.Bb&KDn),t?n.Bb|=KDn:n.Bb&=-8193,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,15,e,t))}function _9(n,t){var e;e=0!=(n.Bb&FDn),t?n.Bb|=FDn:n.Bb&=-2049,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new OV(n,1,11,e,t))}function K9(n){var t,e;for(e=Vln(i1(n)).Kc();e.Ob();)if(dpn(n,t=lL(e.Pb())))return dW((pT(),Jct),t);return null}function F9(n,t,e){var i;if(n.c)Pun(n.c,t,e);else for(i=new pb(n.b);i.a>10)+iMn&fTn,t[1]=56320+(1023&n)&fTn,Vnn(t,0,t.length)}function X9(n){var t;return(t=Yx(Aun(n,(gjn(),a1n)),103))==(t9(),tet)?ty(fL(Aun(n,RZn)))>=1?net:Jtt:t}function W9(n){if(n.c)W9(n.c);else if(n.d)throw hp(new Ym("Stream already terminated, can't be modified or used"))}function V9(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new MA(_ln(n))).a+=" (identifier: ",pI(t,n.k),t.a+=")",t.a)}function Q9(n,t,e){var i;return xk(),I1(i=new ro,t),C1(i,e),n&&fY((!n.a&&(n.a=new XO(Qrt,n,5)),n.a),i),i}function Y9(n,t,e,i){var r,c;return vB(i),vB(e),null==(c=null==(r=n.xc(t))?e:PE(Yx(r,15),Yx(e,14)))?n.Bc(t):n.zc(t,c),c}function J9(n){var t,e,i,r;return n2(e=new cx(t=Yx(Ak((r=(i=n.gm).f)==uKn?i:r),9),Yx(eN(t,t.length),9),0),n),e}function Z9(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=Yx(r.Pb(),10),m4(e,Yx(TR(t,i.p),14)))return i;return null}function n7(n,t){var e;return tC(n)&&tC(t)&&XTn<(e=n-t)&&e>22),r=n.h+t.h+(i>>22),rO(e&BTn,i&BTn,r&HTn)}(tC(n)?W3(n):n,tC(t)?W3(t):t))}function e7(n,t){var e;return tC(n)&&tC(t)&&XTn<(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*(u=8191&t.l),p=r*u,v=c*u,m=a*u,0!=(o=t.l>>13|(15&t.m)<<9)&&(g+=e*o,p+=i*o,v+=r*o,m+=c*o),0!=(s=t.m>>4&8191)&&(p+=e*s,v+=i*s,m+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(v+=e*h,m+=i*h),0!=(f=(1048320&t.h)>>8)&&(m+=e*f),b=((d=e*u)>>22)+(g>>9)+((262143&p)<<4)+((31&v)<<17),w=(p>>18)+(v>>5)+((4095&m)<<8),w+=(b+=(l=(d&BTn)+((511&g)<<13))>>22)>>22,rO(l&=BTn,b&=BTn,w&=HTn)}(tC(n)?W3(n):n,tC(t)?W3(t):t))}function i7(n,t){var e;return n.i||yhn(n),(e=Yx(GB(n.g,t),46))?new Oz(n.j,Yx(e.a,19).a,Yx(e.b,19).a):(XH(),XH(),TFn)}function r7(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,gq(n.b)):++n.d,i}function c7(){var n,t,i;Qan(),i=XFn+++Date.now(),n=oG(e.Math.floor(i*jMn))&TMn,t=oG(i-n*EMn),this.a=1502^n,this.b=t^kMn}function a7(n){var t,e;for(t=new ip,e=new pb(n.j);e.a>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function f7(n){var t,e,i;for(t=new UL(n.Hd().gc()),i=0,e=PY(n.Hd().Kc());e.Ob();)XG(t,e.Pb(),d9(i++));return function(n){var t;switch(_B(),n.c.length){case 0:return eKn;case 1:return function(n,t){return _B(),gin(n,t),new OB(n,t)}((t=Yx(vhn(new pb(n)),42)).cd(),t.dd());default:return new Em(Yx(Htn(n,VQ(iKn,DEn,42,n.c.length,0,1)),165))}}(t.a)}function l7(n,t){0==n.n.c.length&&eD(n.n,new gG(n.s,n.t,n.i)),eD(n.b,t),Cin(Yx(TR(n.n,n.n.c.length-1),211),t),uvn(n,t)}function b7(n){return n.c==n.b.b&&n.i==n.g.b||(n.a.c=VQ(U_n,iEn,1,0,5,1),S4(n.a,n.b),S4(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function w7(n,t){var e,i;for(i=0,e=Yx(t.Kb(n),20).Kc();e.Ob();)ny(hL(Aun(Yx(e.Pb(),17),(Ojn(),HQn))))||++i;return i}function d7(){d7=O,iYn=new cS(fIn,0),ZQn=new cS("FIRST",1),nYn=new cS(qIn,2),tYn=new cS("LAST",3),eYn=new cS(GIn,4)}function g7(){g7=O,wet=new tP(MSn,0),fet=new tP("POLYLINE",1),het=new tP("ORTHOGONAL",2),bet=new tP("SPLINES",3)}function p7(){p7=O,b8n=new KS("ASPECT_RATIO_DRIVEN",0),w8n=new KS("MAX_SCALE_DRIVEN",1),l8n=new KS("AREA_DRIVEN",2)}function v7(){v7=O,e9n=new BS("P1_STRUCTURE",0),i9n=new BS("P2_PROCESSING_ORDER",1),r9n=new BS("P3_EXECUTION",2)}function m7(){m7=O,g6n=new NS("OVERLAP_REMOVAL",0),w6n=new NS("COMPACTION",1),d6n=new NS("GRAPH_SIZE_CALCULATION",2)}function y7(n,t){return XC(),o0(ZEn),e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:QI(isNaN(n),isNaN(t))}function k7(n,t){var e,i;for(e=Ztn(n,0);e.b!=e.d.c;){if((i=ey(fL(IX(e))))==t)return;if(i>t){MU(e);break}}oF(e,t)}function j7(n,t){var e,i,r,c,a;if(e=t.f,Gtn(n.c.d,e,t),null!=t.g)for(c=0,a=(r=t.g).length;c>>0).toString(16):n.toString()}function C7(n){var t;this.a=new cx(t=Yx(n.e&&n.e(),9),Yx(eN(t,t.length),9),0),this.b=VQ(U_n,iEn,1,this.a.a.length,5,1)}function O7(n){var t,e,i;for(this.a=new oC,i=new pb(n);i.a=c)return t.c+i;return t.c+t.b.gc()}function x7(n,t){var e,i,r,c,a,u;for(i=0,e=0,a=0,u=(c=t).length;a0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function D7(n){var t,e,i;for((i=new Cy).a+="[",t=0,e=n.gc();tPPn,S=e.Math.abs(b.b-d.b)>PPn,(!i&&M&&S||i&&(M||S))&&_D(p.a,k)),C2(p.a,r),0==r.b?b=k:(S$(0!=r.b),b=Yx(r.c.b.c,8)),l4(w,l,g),G2(c)==T&&(dB(T.i)!=c.a&&dsn(g=new Pk,dB(T.i),m),b5(p,YQn,g)),Mon(w,p,m),f.a.zc(w,f);YG(p,j),QG(p,T)}for(h=f.a.ec().Kc();h.Ob();)YG(s=Yx(h.Pb(),17),null),QG(s,null);Ron(t)}(t,J2(r,1)),Ron(r)}function F7(n,t,e,i,r,c){this.a=n,this.c=t,this.b=e,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&AR(this.c,this.b,this.a)}function B7(n){cnn(),this.c=DV(x4(Gy(v7n,1),iEn,831,0,[o2n])),this.b=new rp,this.a=n,xB(this.b,s2n,1),WZ(h2n,new Qd(this))}function H7(n,t){var e;return n.d?PK(n.b,t)?Yx(BF(n.b,t),51):(e=t.Kf(),xB(n.b,t,e),e):t.Kf()}function q7(n,t){var e;return iI(n)===iI(t)||!!CO(t,91)&&(e=Yx(t,91),n.e==e.e&&n.d==e.d&&function(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function G7(n){switch(Ikn(),n.g){case 4:return Tit;case 1:return Eit;case 3:return Bit;case 2:return qit;default:return Hit}}function z7(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return z3(n,t)}function U7(n){switch(n.g){case 0:return new qa;case 1:return new Ua;default:throw hp(new Qm(FIn+(null!=n.f?n.f:""+n.g)))}}function X7(n){switch(n.g){case 0:return new om;case 1:return new Lv;default:throw hp(new Qm(V$n+(null!=n.f?n.f:""+n.g)))}}function W7(n){var t,e,i;return(e=n.zg())?CO(t=n.Ug(),160)&&null!=(i=W7(Yx(t,160)))?i+"."+e:e:null}function V7(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),iI(t)===iI(i)||null!=t&&Q8(t,i))return e&&r.Qb(),!0;return!1}function Q7(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function Y7(n,t){var e;if(t){for(e=0;eo.d&&(f=o.d+o.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),SE(new SR(null,new Nz(n.d,16)),new Jb(n)),t}function nnn(n){var t;return 0!=(64&n.Db)?B8(n):((t=new MA(B8(n))).a+=" (instanceClassName: ",pI(t,n.D),t.a+=")",t.a)}function tnn(n,t){var e,i,r;if(null==n.i&&svn(n),e=n.i,-1!=(i=t.aj()))for(r=e.length;i>1,this.k=t-1>>1}function fnn(n,t,e){var i,r;for(i=Gz(e,uMn),r=0;0!=k8(i,0)&&r0&&(t.lengthn.i&&DF(t,n.i,null),t}function wnn(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),X8(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):X8(n,n.i,t),e}function dnn(n){var t;return PL(),t=new fC(Yx(n.e.We((Cjn(),ttt)),8)),n.B.Hc((Vgn(),crt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function gnn(n){return Hen(),(n.q?n.q:(XH(),XH(),MFn))._b((gjn(),Y1n))?Yx(Aun(n,Y1n),197):Yx(Aun(dB(n),J1n),197)}function pnn(n,t){var e,i;return i=null,O$(n,(gjn(),K0n))&&(e=Yx(Aun(n,K0n),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=Aun(dB(n),t)),i}function vnn(n,t){var e,i,r;return!!CO(t,42)&&(i=(e=Yx(t,42)).cd(),bB(r=x8(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function mnn(n,t){var e;return n.f>0&&(n.qj(),-1!=Bln(n,((e=null==t?0:W5(t))&Yjn)%n.d.length,e,t))}function ynn(n,t){var e,i;return n.f>0&&(n.qj(),e=efn(n,((i=null==t?0:W5(t))&Yjn)%n.d.length,i,t))?e.dd():null}function knn(n,t){var e,i,r,c;for(c=dwn(n.e.Tg(),t),e=Yx(n.g,119),r=0;r>5,t&=31,r=n.d+e+(0==t?0:1),function(n,t,e,i){var r,c,a;if(0==i)smn(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]<=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Rnn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function _nn(n,t,e,i){var r,c,a;return r=!1,function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;return l=n.c[t],b=n.c[e],!((w=Yx(Aun(l,(Ojn(),mQn)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(bon(),Bzn)&&b.k!=Bzn,v=(g=Yx(Aun(l,vQn),10))!=(p=Yx(Aun(b,vQn),10)),m=!!g&&g!=l||!!p&&p!=b,y=Iin(l,(Ikn(),Tit)),k=Iin(b,Bit),m|=Iin(l,Bit)||Iin(b,Tit),d&&(m&&v||y||k))||l.k==(bon(),qzn)&&b.k==Hzn||b.k==(bon(),qzn)&&l.k==Hzn)&&(h=n.c[t],c=n.c[e],r=Acn(n.e,h,c,(Ikn(),qit)),o=Acn(n.i,h,c,Eit),function(n,t,e){n.d=0,n.b=0,t.k==(bon(),qzn)&&e.k==qzn&&Yx(Aun(t,(Ojn(),CQn)),10)==Yx(Aun(e,CQn),10)&&(lJ(t).j==(Ikn(),Tit)?Wln(n,t,e):Wln(n,e,t)),t.k==qzn&&e.k==Bzn?lJ(t).j==(Ikn(),Tit)?n.d=1:n.b=1:e.k==qzn&&t.k==Bzn&&(lJ(e).j==(Ikn(),Tit)?n.b=1:n.d=1),function(n,t,e){t.k==(bon(),Hzn)&&e.k==Bzn&&(n.d=q8(t,(Ikn(),Bit)),n.b=q8(t,Tit)),e.k==Hzn&&t.k==Bzn&&(n.d=q8(e,(Ikn(),Tit)),n.b=q8(e,Bit))}(n,t,e)}(n.f,h,c),s=y6(n.b,h,c)+Yx(r.a,19).a+Yx(o.a,19).a+n.f.d,u=y6(n.b,c,h)+Yx(r.b,19).a+Yx(o.b,19).a+n.f.b,n.a&&(f=Yx(Aun(h,CQn),11),a=Yx(Aun(c,CQn),11),s+=Yx((i=Drn(n.g,f,a)).a,19).a,u+=Yx(i.b,19).a),s>u)}(n.f,e,i)&&(function(n,t,e){var i,r;Sun(n.e,t,e,(Ikn(),qit)),Sun(n.i,t,e,Eit),n.a&&(r=Yx(Aun(t,(Ojn(),CQn)),11),i=Yx(Aun(e,CQn),11),tU(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 Knn(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=Yx($K(t),10),u=Yx(i7(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Fnn(n,t,i){var r,c,a,u,o;return u=n.k,o=t.k,c=fL(pnn(n,r=i[u.g][o.g])),a=fL(pnn(t,r)),e.Math.max((vB(c),c),(vB(a),a))}function Bnn(n,t,e){var i,r,c;for(r=Yx(BF(n.b,e),177),i=0,c=new pb(t.j);c.at?1:QI(isNaN(n),isNaN(t)))>0}function Unn(n,t){return XC(),XC(),o0(ZEn),(e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:QI(isNaN(n),isNaN(t)))<0}function Xnn(n,t){return XC(),XC(),o0(ZEn),(e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:QI(isNaN(n),isNaN(t)))<=0}function Wnn(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];ecMn)return e.fh();if((i=e.Zg())||e==n)break}return i}function ctn(n){return KG(),CO(n,156)?Yx(BF(Mct,NFn),288).vg(n):PK(Mct,V5(n))?Yx(BF(Mct,V5(n)),288).vg(n):null}function atn(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw hp(new Qm("Input edge is not connected to the input port."))}function utn(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 stn(n,t){var e;return iI(t)===iI(n)||!!CO(t,21)&&(e=Yx(t,21)).gc()==n.gc()&&n.Ic(e)}function htn(n,t){var e,i;for(Lz(t,n.length),e=n.charCodeAt(t),i=t+1;i=2*t&&eD(e,new Lx(a[i-1]+t,a[i]-t));return e}(e,i),SE(HZ(new SR(null,new Nz(function(n){var t,e,i,r,c,a,u;for(c=new oC,e=new pb(n);e.a2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}(t),1)),new ja),new yH(n,e,r,i)))}function wtn(n,t,e){var i;0!=(n.Db&t)?null==e?function(n,t){var e,i,r,c,a,u,o;if(1==(i=h7(254&n.Db)))n.Eb=null;else if(c=h1(n.Eb),2==i)r=Vin(n,t),n.Eb=c[0==r?1:0];else{for(a=VQ(U_n,iEn,1,i-1,5,1),e=2,u=0,o=0;e<=128;e<<=1)e==t?++u:0!=(n.Db&e)&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Vin(n,t))?n.Eb=e:DF(h1(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,u,o;if(0==(r=h7(254&n.Db)))n.Eb=e;else{if(1==r)a=VQ(U_n,iEn,1,2,5,1),0==Vin(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=VQ(U_n,iEn,1,r+1,5,1),c=h1(n.Eb),i=2,u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:0!=(n.Db&i)&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}(n,t,e)}function dtn(n){var t;return 0==(32&n.Db)&&0!=(t=vF(Yx(H3(n,16),26)||n.zh())-vF(n.zh()))&&wtn(n,32,VQ(U_n,iEn,1,t,5,1)),n}function gtn(n){var t,e;for(t=new pb(n.g);t.a0&&k8(n,128)<0?(t=WR(n)+128,!(e=(bR(),XKn)[t])&&(e=XKn[t]=new cb(n)),e):new cb(n)}function ktn(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),gxn)))?i:t.ne()}function jtn(n,t){var e,i;for(lz(),i=new $_(bA(a7(n).a.Kc(),new h));Vfn(i);)if((e=Yx(kV(i),17)).d.i==t||e.c.i==t)return e;return null}function Etn(n,t,e){this.c=n,this.f=new ip,this.e=new Pk,this.j=new gR,this.n=new gR,this.b=t,this.g=new mH(t.c,t.d,t.b,t.a),this.a=e}function Ttn(n){var t,e,i,r;for(this.a=new oC,this.d=new Qp,this.e=0,i=0,r=(e=n).length;iE&&(d.c=E-d.b),eD(u.d,new f_(d,P9(u,d))),m=t==Tit?e.Math.max(m,g.b+h.b.rf().b):e.Math.min(m,g.b));for(m+=t==Tit?n.t:-n.t,(y=Z7((u.e=m,u)))>0&&(Yx(GB(n.b,t),124).a.b=y),f=b.Kc();f.Ob();)!(h=Yx(f.Pb(),111)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else kkn(n,t)}(n,t):kkn(n,t):n.u.Hc(mit)&&(i?function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=Yx(Yx(KV(n.r,t),21),84)).gc()<=2||t==(Ikn(),Eit)||t==(Ikn(),qit))qkn(n,t);else{for(g=n.u.Hc((Chn(),yit)),i=t==(Ikn(),Tit)?(e4(),YHn):(e4(),WHn),v=t==Tit?(OJ(),pHn):(OJ(),mHn),r=Qy(Ox(i),n.s),p=t==Tit?JTn:ZTn,h=f.Kc();h.Ob();)!(o=Yx(h.Pb(),111)).c||o.c.d.c.length<=0||(d=o.b.rf(),w=o.e,(b=(l=o.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(u=l.n,l.e.b+u.d+u.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,xq(v,jSn),l.f=v,lY(l,(BY(),lHn)),eD(r.d,new f_(b,P9(r,b))),p=t==Tit?e.Math.min(p,w.b):e.Math.max(p,w.b+o.b.rf().b));for(p+=t==Tit?-n.t:n.t,Z7((r.e=p,r)),s=f.Kc();s.Ob();)!(o=Yx(s.Pb(),111)).c||o.c.d.c.length<=0||((b=o.c.i).c-=o.e.a,b.d-=o.e.b)}}(n,t):qkn(n,t))}function xtn(n,t){var e,i;++n.j,null!=t&&function(n,t){var e,i,r;if(iI(n)===iI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e=(r=n.length))return r;for(t=t>0?t:0;ti&&DF(t,i,null),t}function qtn(n,t){var e,i;for(i=n.a.length,t.lengthi&&DF(t,i,null),t}function Gtn(n,t,e){var i,r,c;return(r=Yx(BF(n.e,t),387))?(c=YL(r,e),OO(n,r),c):(i=new oD(n,t,e),xB(n.e,t,i),iG(i),null)}function ztn(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u;if(kdn(),null==n)return null;if((r=n.length)%2!=0)return null;for(t=xJ(n),e=VQ(Yot,LNn,25,c=r/2|0,15,1),i=0;i>24}return e}(Vvn(n,!0))))throw hp(new fy("Invalid hexBinary value: '"+n+"'"));return t}function Utn(n){return bdn(),k8(n,0)<0?0!=k8(n,-1)?new pan(-1,sJ(n)):lFn:k8(n,10)<=0?wFn[WR(n)]:new pan(1,n)}function Xtn(){return Njn(),x4(Gy(JHn,1),XEn,159,0,[BHn,FHn,HHn,$Hn,AHn,LHn,DHn,xHn,NHn,KHn,_Hn,RHn,CHn,IHn,OHn,SHn,MHn,PHn,EHn,jHn,THn,qHn])}function Wtn(n){var t;this.d=new ip,this.j=new Pk,this.g=new Pk,t=n.g.b,this.f=Yx(Aun(dB(t),(gjn(),a1n)),103),this.e=ty(fL(cen(t,F0n)))}function Vtn(n){this.b=new ip,this.e=new ip,this.d=n,this.a=!ej(hH(new SR(null,new nF(new UV(n.b))),new Cb(new Gr))).sd((HE(),dBn))}function Qtn(){Qtn=O,T7n=new US("PARENTS",0),E7n=new US("NODES",1),k7n=new US("EDGES",2),M7n=new US("PORTS",3),j7n=new US("LABELS",4)}function Ytn(){Ytn=O,eit=new aP("DISTRIBUTED",0),rit=new aP("JUSTIFIED",1),nit=new aP("BEGIN",2),tit=new aP(pSn,3),iit=new aP("END",4)}function Jtn(n){switch(n.g){case 1:return t9(),eet;case 4:return t9(),Ztt;case 2:return t9(),net;case 3:return t9(),Jtt}return t9(),tet}function Ztn(n,t){var e,i;if(iz(t,n.b),t>=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=64&&t<128&&(r=zz(r,G_(1,t-64)));return r}function cen(n,t){var e,i;return i=null,O$(n,(Cjn(),Htt))&&(e=Yx(Aun(n,Htt),94)).Xe(t)&&(i=e.We(t)),null==i&&dB(n)&&(i=Aun(dB(n),t)),i}function aen(n,t){var e,i,r;(i=(r=t.d.i).k)!=(bon(),Hzn)&&i!=_zn&&Vfn(e=new $_(bA(o7(r).a.Kc(),new h)))&&xB(n.k,t,Yx(kV(e),17))}function uen(n,t){var e,i,r;return i=CZ(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):zhn(n,i):e<0?zhn(n,i):Yx(i,66).Nj().Sj(n,n.yh(),e)}function oen(n){var t;if(CO(n.a,4)){if(null==(t=ctn(n.a)))throw hp(new Ym(ELn+n.b+"'. "+mLn+(sL(Ict),Ict.k)+yLn));return t}return n.a}function sen(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Jpn(),null==n)return null;if((w=function(n){var t,e,i;for(i=0,e=n.length,t=0;t>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return Pj(a=c[h++])&&Pj(u=c[h++])?(t=sot[a],e=sot[u],o=c[h++],s=c[h++],-1==sot[o]||-1==sot[s]?61==o&&61==s?0!=(15&e)?null:(smn(f,0,g=VQ(Yot,LNn,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=o&&61==s?0!=(3&(i=sot[o]))?null:(smn(f,0,g=VQ(Yot,LNn,25,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=sot[o],r=sot[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}(Vvn(n,!0))))throw hp(new fy("Invalid base64Binary value: '"+n+"'"));return t}function hen(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(t){throw CO(t=j4(t),73)?(n.mj(),hp(new _p)):hp(t)}}function fen(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(t){throw CO(t=j4(t),73)?(n.mj(),hp(new _p)):hp(t)}}function len(){len=O,Cjn(),Rqn=_tt,Aqn=Nnt,Sqn=mnt,$qn=utt,pcn(),xqn=KBn,Nqn=RBn,Dqn=BBn,Lqn=DBn,O6(),Iqn=jqn,Pqn=kqn,Cqn=Tqn,Oqn=Mqn}function ben(n){switch(VE(),this.c=new ip,this.d=n,n.g){case 0:case 2:this.a=DB(Tzn),this.b=JTn;break;case 3:case 1:this.a=Tzn,this.b=ZTn}}function wen(n,t,e){var i;if(n.c)L1(n.c,n.c.i+t),N1(n.c,n.c.j+e);else for(i=new pb(n.b);i.a0&&(eD(n.b,new iD(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=IO(VQ(Xot,sTn,25,-i,15,1))))}function gen(n,t){var e,i,r;for(e=n.o,r=Yx(Yx(KV(n.r,t),21),84).Kc();r.Ob();)(i=Yx(r.Pb(),111)).e.a=mrn(i,e.a),i.e.b=e.b*ty(fL(i.b.We(XHn)))}function pen(n,t){var e;return e=Yx(Aun(n,(gjn(),$1n)),74),MO(t,$zn)?e?BH(e):(e=new Nv,b5(n,$1n,e)):e&&b5(n,$1n,null),e}function ven(n){var t;return(t=new Ay).a+="n",n.k!=(bon(),Hzn)&&yI(yI((t.a+="(",t),d$(n.k).toLowerCase()),")"),yI((t.a+="_",t),yrn(n)),t.a}function men(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function yen(n,t){switch(t){case 7:return!n.e&&(n.e=new AN(nct,n,7,4)),void Hmn(n.e);case 8:return!n.d&&(n.d=new AN(nct,n,8,5)),void Hmn(n.d)}rnn(n,t)}function ken(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(n){throw CO(n=j4(n),109)?hp(new Hm("Can't get element "+t)):hp(n)}}function jen(n,t){this.e=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 Sen(){Sen=O,tqn=new iM(NSn,0),nqn=new iM(xSn,1),eqn=new iM(DSn,2),iqn=new iM(RSn,3),tqn.a=!1,nqn.a=!0,eqn.a=!1,iqn.a=!0}function Pen(){Pen=O,bqn=new eM(NSn,0),lqn=new eM(xSn,1),wqn=new eM(DSn,2),dqn=new eM(RSn,3),bqn.a=!1,lqn.a=!0,wqn.a=!1,dqn.a=!0}function Ien(n){var t,e,i;if(e=0,0==(i=idn(n)).c.length)return 1;for(t=new pb(i);t.ae.b)return!0}return!1}function Oen(n,t){return aI(n)?!!zjn[t]:n.hm?!!n.hm[t]:cI(n)?!!Gjn[t]:!!rI(n)&&!!qjn[t]}function Aen(n,t,e){return null==e?(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),ttn(n.o,t)):(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),xcn(n.o,t,e)),n}function $en(n,t,e,i){var r,c,a;return c=CZ(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):tfn(n,c,e):Yx(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Len(n,t,e,i){var r,c;e.mh(t)&&(TT(),GJ(t)?function(n,t){var e,i,r,c;for(i=0,r=t.gc();i=0)return i;if(n.Fk())for(e=0;e=(r=n.gc()))throw hp(new jN(t,r));if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw hp(new Qm(kxn));return n.mi(t,e)}function Ken(n,t){if(this.a=Yx(MF(n),245),this.b=Yx(MF(t),245),n.vd(t)>0||n==(dm(),Z_n)||t==(wm(),nKn))throw hp(new Qm("Invalid range: "+BX(n,t)))}function Fen(n){var t,e;for(this.b=new ip,this.c=n,this.a=!1,e=new pb(n.a);e.a0),(t&-t)==t)return oG(t*Xln(n,31)*4.656612873077393e-10);do{i=(e=Xln(n,31))%t}while(e-i+(t-1)<0);return oG(i)}function Xen(n){var t,e,i;return lx(),null!=(i=vBn[e=":"+n])?oG((vB(i),i)):(t=null==(i=pBn[e])?function(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e0)for(i=new sx(Yx(KV(n.a,c),21)),XH(),JC(i,new ow(t)),r=new JU(c.b,0);r.b1&&(r=function(n,t){var e,i,r;for(e=HA(new ev,n),r=new pb(t);r.a(o=null==n.d?0:n.d.length)){for(h=n.d,n.d=VQ(Ect,yDn,63,2*o+4,0,1),c=0;cYAn;){for(a=t,u=0;e.Math.abs(t-a)0),c.a.Xb(c.c=--c.b),rvn(n,n.b-u,a,r,c),S$(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(i=0;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function gin(n,t){if(null==n)throw hp(new Zm("null key in entry: null="+t));if(null==t)throw hp(new Zm("null value in entry: "+n+"=null"))}function pin(n,t){var i;return i=x4(Gy(Jot,1),rMn,25,15,[Q6(n.a[0],t),Q6(n.a[1],t),Q6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function vin(n,t){var i;return i=x4(Gy(Jot,1),rMn,25,15,[Y6(n.a[0],t),Y6(n.a[1],t),Y6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function min(){min=O,NWn=new GM("GREEDY",0),LWn=new GM(iCn,1),DWn=new GM(eCn,2),RWn=new GM("MODEL_ORDER",3),xWn=new GM("GREEDY_MODEL_ORDER",4)}function yin(n,t){var e,i,r;for(n.b[t.g]=1,i=Ztn(t.d,0);i.b!=i.d.c;)r=(e=Yx(IX(i),188)).c,1==n.b[r.g]?_D(n.a,e):2==n.b[r.g]?n.b[r.g]=1:yin(n,r)}function kin(n,t,e){var i,r,c,a;for(a=n.r+t,n.r+=t,n.d+=e,i=e/n.n.c.length,r=0,c=new pb(n.n);c.a0||!a&&0==u))}(n,e,i.d,r,c,a,u)&&t.Fc(i),(s=i.a[1])&&Lin(n,t,e,s,r,c,a,u))}function Nin(n,t,e){try{return sI(V0(n,t,e),1)}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function xin(n,t,e){try{return sI(V0(n,t,e),0)}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function Din(n,t,e){try{return sI(V0(n,t,e),2)}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function Rin(n,t){if(-1==n.g)throw hp(new Lp);n.mj();try{n.d._c(n.g,t),n.f=n.d.j}catch(n){throw CO(n=j4(n),73)?hp(new Dp):hp(n)}}function _in(n,t,i){run(i,"Linear segments node placement",1),n.b=Yx(Aun(t,(Ojn(),zQn)),304),function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(O=new ip,w=new pb(t.b);w.a=0){for(o=null,u=new JU(h.a,s+1);u.b0&&s[r]&&(d=lO(n.b,s[r],c)),g=e.Math.max(g,c.c.c.b+d);for(a=new pb(f.e);a.ak)?(s=2,u=Yjn):0==s?(s=1,u=E):(s=0,u=E):(b=E>=u||u-E0?(f=Yx(TR(l.c.a,a-1),10),T=lO(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+T)):g=l.n.b-l.d.d,s=e.Math.min(g,s),ac&&DF(t,c,null),t}function Fin(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!(!(iI(r)===iI(i)||null!=r&&Q8(r,i))||null==i&&!n._b(e))}function Bin(n,t,e,i){var r,c;this.a=t,this.c=i,function(n,t){n.b=t}(this,new QS(-(r=n.a).c,-r.d)),mN(this.b,e),c=i/2,t.a?N$(this.b,0,c):N$(this.b,c,0),eD(n.c,this)}function Hin(){Hin=O,i8n=new RS(fIn,0),t8n=new RS(rCn,1),e8n=new RS("EDGE_LENGTH_BY_POSITION",2),n8n=new RS("CROSSING_MINIMIZATION_BY_POSITION",3)}function qin(n,t){var e,i;if(e=Yx(g1(n.g,t),33))return e;if(i=Yx(g1(n.j,t),118))return i;throw hp(new hy("Referenced shape does not exist: "+t))}function Gin(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw hp(new Qm("Node 'one' must be either source or target of edge 'edge'."))}function zin(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw hp(new Qm("Node "+t+" is neither source nor target of edge "+n))}function Uin(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b0&&(o+=r),s[h]=a,a+=u*(o+i)}function Win(n){var t,e,i;for(i=n.f,n.n=VQ(Jot,rMn,25,i,15,1),n.d=VQ(Jot,rMn,25,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function irn(n,t){var i;return i=x4(Gy(Jot,1),rMn,25,15,[zen(n,(JZ(),rHn),t),zen(n,cHn,t),zen(n,aHn,t)]),n.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function rrn(n,t,e){try{cgn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw CO(n=j4(n),73)?hp(new Hm(n.g+qSn+t+tEn+e+").")):hp(n)}}function crn(n,t,e){try{cgn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw CO(n=j4(n),73)?hp(new Hm(n.g+qSn+t+tEn+e+").")):hp(n)}}function arn(n){var t;O$(n,(gjn(),U1n))&&((t=Yx(Aun(n,U1n),21)).Hc((Eln(),Get))?(t.Mc(Get),t.Fc(Uet)):t.Hc(Uet)&&(t.Mc(Uet),t.Fc(Get)))}function urn(n){var t;O$(n,(gjn(),U1n))&&((t=Yx(Aun(n,U1n),21)).Hc((Eln(),Yet))?(t.Mc(Yet),t.Fc(Vet)):t.Hc(Vet)&&(t.Mc(Vet),t.Fc(Yet)))}function orn(n,t,e,i){var r,c;for(r=t;r0&&(c.b+=t),c}function brn(n,t){var i,r,c;for(c=new Pk,r=n.Kc();r.Ob();)bgn(i=Yx(r.Pb(),37),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 wrn(n){var t,i,r;for(r=Yjn,i=new pb(n.a);i.a>16==6?n.Cb.ih(n,5,cct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function vrn(n){var t,i,r;n.b==n.c&&(r=n.a.length,i=j5(e.Math.max(8,r))<<1,0!=n.b?(Z0(n,t=eN(n.a,i),r),n.a=t,n.b=0):zp(n.a,i),n.c=r)}function mrn(n,t){var e;return(e=n.b).Xe((Cjn(),ytt))?e.Hf()==(Ikn(),qit)?-e.rf().a-ty(fL(e.We(ytt))):t+ty(fL(e.We(ytt))):e.Hf()==(Ikn(),qit)?-e.rf().a:t}function yrn(n){var t;return 0!=n.b.c.length&&Yx(TR(n.b,0),70).a?Yx(TR(n.b,0),70).a:null!=(t=IH(n))?t:""+(n.c?hJ(n.c.a,n,0):-1)}function krn(n){var t;return 0!=n.f.c.length&&Yx(TR(n.f,0),70).a?Yx(TR(n.f,0),70).a:null!=(t=IH(n))?t:""+(n.i?hJ(n.i.j,n,0):-1)}function jrn(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 Mrn(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),n.o):(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),UQ(n.o)):$en(n,t,e,i)}function Srn(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&BTn,n.m=i&BTn,n.h=r&HTn,0)))}function Crn(n,t,e){var i,r;return a8(r=new Uv,t),E2(r,e),fY((!n.c&&(n.c=new mK(lat,n,12,10)),n.c),r),K1(i=r,0),F1(i,1),l9(i,!0),s9(i,!0),i}function Orn(n,t){var e,i;if(t>=n.i)throw hp(new BI(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&smn(n.g,t+1,n.g,t,i),DF(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function Arn(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,rat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function $rn(n){var t,e,i,r,c;for(r=Yjn,c=null,i=new pb(n.d);i.ae.a.c.length))throw hp(new Qm("index must be >= 0 and <= layer node count"));n.c&&uJ(n.c.a,n),n.c=e,e&&ZR(e.a,t,n)}function qrn(n,t){var e,i,r;for(i=new $_(bA(a7(n).a.Kc(),new h));Vfn(i);)return e=Yx(kV(i),17),new Bf(MF((r=Yx(t.Kb(e),10)).n.b+r.o.b/2));return gm(),gm(),z_n}function Grn(n,t){this.c=new rp,this.a=n,this.b=t,this.d=Yx(Aun(n,(Ojn(),zQn)),304),iI(Aun(n,(gjn(),X1n)))===iI((cJ(),iVn))?this.e=new Cv:this.e=new Iv}function zrn(n,t){var e,i;return i=null,n.Xe((Cjn(),Htt))&&(e=Yx(n.We(Htt),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=oen(t)),i}function Urn(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw CO(n=j4(n),109)?hp(new Hm("Can't remove element "+t)):hp(n)}}function Xrn(n,t){var e,i,r;for(vB(t),T$(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),eD(n.b,vB(e));return r!=n.b.c.length&&(l6(n,0),!0)}function Wrn(){Wrn=O,Cjn(),xGn=Hnt,new DC(Cnt,(TA(),!0)),_Gn=Jnt,KGn=ttt,FGn=itt,RGn=Qnt,BGn=att,HGn=Mtt,Lrn(),NGn=CGn,$Gn=SGn,LGn=IGn,DGn=OGn,AGn=MGn}function Vrn(n,t,e,i){var r,c,a;for(JG(t,Yx(i.Xb(0),29)),a=i.bd(1,i.gc()),c=Yx(e.Kb(t),20).Kc();c.Ob();)Vrn(n,(r=Yx(c.Pb(),17)).c.i==t?r.d.i:r.c.i,e,a)}function Qrn(n){var t;return t=new rp,O$(n,(Ojn(),QQn))?Yx(Aun(n,QQn),83):(SE(hH(new SR(null,new Nz(n.j,16)),new tr),new Kw(t)),b5(n,QQn,t),t)}function Yrn(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,6,nct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),xrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Jrn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,Yrt,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),Rrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Zrn(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,uct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),Krt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ncn(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,oat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Tat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function tcn(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,ect,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),pat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ecn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,cct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Lat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function icn(){this.a=new lo,this.g=new iin,this.j=new iin,this.b=new rp,this.d=new iin,this.i=new iin,this.k=new rp,this.c=new rp,this.e=new rp,this.f=new rp}function rcn(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;rcMn)return ccn(n,i);if(i==n)return!0}}return!1}function acn(n,t){var i,r,c;for(uJ(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=d$n,r=new pb(n.a);r.a>16==3?n.Cb.ih(n,12,uct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),Nrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ocn(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,uct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),_rt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function scn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,rat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Aat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function hcn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,fat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Nat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function fcn(n){var t;return 0==(1&n.Bb)&&n.r&&n.r.kh()&&(t=Yx(n.r,49),n.r=Yx(P8(n,t),138),n.r!=t&&0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,9,8,t,n.r))),n.r}function lcn(n,t,i){var r;return r=x4(Gy(Jot,1),rMn,25,15,[yun(n,(JZ(),rHn),t,i),yun(n,cHn,t,i),yun(n,aHn,t,i)]),n.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function bcn(n,t){var e,i,r;if(0!=(r=function(n,t){var e,i,r;for(r=new pQ(t.gc()),i=t.Kc();i.Ob();)(e=Yx(i.Pb(),286)).c==e.f?nsn(n,e,e.c):Von(n,e)||(r.c[r.c.length]=e);return r}(n,t)).c.length)for(JC(r,new ti),e=r.c.length,i=0;i>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function pcn(){pcn=O,$dn(),BBn=new FI(uSn,HBn=VBn),sZ(),KBn=new FI(oSn,FBn=LBn),nen(),RBn=new FI(sSn,_Bn=CBn),DBn=new FI(hSn,(TA(),!0))}function vcn(n,t,e){var i,r;i=t*e,CO(n.g,145)?(r=SX(n)).f.d?r.f.a||(n.d.a+=i+SSn):(n.d.d-=i+SSn,n.d.a+=i+SSn):CO(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function mcn(n,t,i){var r,c,a,u,o;for(c=n[i.g],o=new pb(t.d);o.a0?n.g:0),++i;t.b=r,t.e=c}function kcn(n){var t,e,i;if(i=n.b,mE(n.i,i.length)){for(e=2*i.length,n.b=VQ(cKn,qEn,317,e,0,1),n.c=VQ(cKn,qEn,317,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)phn(n,t,t);++n.g}}function jcn(n,t,e){var i;(i=t.c.i).k==(bon(),Bzn)?(b5(n,(Ojn(),TQn),Yx(Aun(i,TQn),11)),b5(n,MQn,Yx(Aun(i,MQn),11))):(b5(n,(Ojn(),TQn),t.c),b5(n,MQn,e.d))}function Ecn(n,t,i){var r,c,a,u,o,s;return udn(),u=t/2,a=i/2,o=1,s=1,(r=e.Math.abs(n.a))>u&&(o=u/r),(c=e.Math.abs(n.b))>a&&(s=a/c),_O(n,e.Math.min(o,s)),n}function Tcn(){uE.call(this),this.e=-1,this.a=!1,this.p=nTn,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=nTn}function Mcn(){Mcn=O,WGn=y_(oR(oR(oR(new fX,($un(),nzn),($jn(),NUn)),nzn,_Un),tzn,zUn),tzn,jUn),QGn=oR(oR(new fX,nzn,lUn),nzn,EUn),VGn=y_(new fX,tzn,MUn)}function Scn(n,t){var e,i,r,c;for(c=new rp,t.e=null,t.f=null,i=new pb(t.i);i.a0)try{i=ipn(t,nTn,Yjn)}catch(n){throw CO(n=j4(n),127)?hp(new mJ(n)):hp(n)}return!n.a&&(n.a=new Vg(n)),i<(e=n.a).i&&i>=0?Yx(c1(e,i),56):null}(n,0==(r=t.c.length)?"":($z(0,t.c.length),lL(t.c[0]))),i=1;i0&&(r=efn(n,(c&Yjn)%n.d.length,c,t))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function Dcn(n,t){var e,i,r,c;switch(U8(n,t)._k()){case 3:case 2:for(r=0,c=(e=emn(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)/I8(2.718281828459045,n))}function Fcn(n,t){var e;if(n.ni()&&null!=t){for(e=0;e0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=e.Math.min(r,c))}function Ucn(n,t){var e;if(e=!1,aI(t)&&(e=!0,nB(n,new zF(lL(t)))),e||CO(t,236)&&(e=!0,nB(n,new Tl(tx(Yx(t,236))))),!e)throw hp(new Gm(ixn))}function Xcn(n){var t,e;switch(Yx(Aun(dB(n),(gjn(),A1n)),420).g){case 0:return t=n.n,e=n.o,new QS(t.a+e.a/2,t.b+e.b/2);case 1:return new fC(n.n);default:return null}}function Wcn(){Wcn=O,hVn=new VM(fIn,0),sVn=new VM("LEFTUP",1),lVn=new VM("RIGHTUP",2),oVn=new VM("LEFTDOWN",3),fVn=new VM("RIGHTDOWN",4),uVn=new VM("BALANCED",5)}function Vcn(n,t,e){switch(t){case 1:return!n.n&&(n.n=new mK(act,n,1,7)),Hmn(n.n),!n.n&&(n.n=new mK(act,n,1,7)),void jF(n.n,Yx(e,14));case 2:return void $0(n,lL(e))}J5(n,t,e)}function Qcn(n,t,e){switch(t){case 3:return void A1(n,ty(fL(e)));case 4:return void $1(n,ty(fL(e)));case 5:return void L1(n,ty(fL(e)));case 6:return void N1(n,ty(fL(e)))}Vcn(n,t,e)}function Ycn(n,t,e){var i,r;(i=fun(r=new Uv,t,null))&&i.Fi(),E2(r,e),fY((!n.c&&(n.c=new mK(lat,n,12,10)),n.c),r),K1(r,0),F1(r,1),l9(r,!0),s9(r,!0)}function Jcn(n,t){var e,i;return CO(e=NT(n.g,t),235)?((i=Yx(e,235)).Qh(),i.Nh()):CO(e,498)?i=Yx(e,1938).b:null}function Zcn(n,t,e,i){var r,c;return MF(t),MF(e),EJ(!!(c=Yx(nx(n.d,t),19)),"Row %s not in %s",t,n.e),EJ(!!(r=Yx(nx(n.b,e),19)),"Column %s not in %s",e,n.c),N4(n,c.a,r.a,i)}function nan(n,t,e,i,r,c,a){var u,o,s,h,f;if(f=Zin(u=(s=c==a-1)?i:0,h=r[c]),10!=i&&x4(Gy(n,a-c),t[c],e[c],u,f),!s)for(++c,o=0;o0?n.i:0)),++t;for(function(n,t){var e,i;for(vB(t),e=!1,i=new pb(n);i.a1||-1==u?(c=Yx(o,15),r.Wb(function(n,t){var e,i,r;for(i=new pQ(t.gc()),e=t.Kc();e.Ob();)(r=Qgn(n,Yx(e.Pb(),56)))&&(i.c[i.c.length]=r);return i}(n,c))):r.Wb(Qgn(n,Yx(o,56))))}function ban(n){switch(Yx(Aun(n.b,(gjn(),g1n)),375).g){case 1:SE(fH(WJ(new SR(null,new Nz(n.d,16)),new Kr),new Fr),new Br);break;case 2:!function(n){var t,e,i,r,c,a,u;for(i=0,u=0,a=new pb(n.d);a.a0&&Nrn(this,this.c-1,(Ikn(),Eit)),this.c0&&n[0].length>0&&(this.c=ny(hL(Aun(dB(n[0][0]),(Ojn(),yQn))))),this.a=VQ(B3n,TEn,2018,n.length,0,2),this.b=VQ(X3n,TEn,2019,n.length,0,2),this.d=new e8}function Nan(n){return 0!=n.c.length&&(($z(0,n.c.length),Yx(n.c[0],17)).c.i.k==(bon(),Bzn)||JW(fH(new SR(null,new Nz(n,16)),new _c),new Kc))}function xan(n,t,e){return run(e,"Tree layout",1),KU(n.b),qK(n.b,(_rn(),Y4n),Y4n),qK(n.b,J4n,J4n),qK(n.b,Z4n,Z4n),qK(n.b,n5n,n5n),n.a=Zmn(n.b,t),function(n,t,e){var i,r,c;if(!(r=e)&&(r=new am),run(r,"Layout",n.a.c.length),ny(hL(Aun(t,(cln(),R5n)))))for(oE(),i=0;i=0?(e=Bcn(n,UTn),i=Snn(n,UTn)):(e=Bcn(t=U_(n,1),5e8),i=t7(G_(i=Snn(t,5e8),1),Gz(n,1))),zz(G_(i,32),Gz(e,uMn))}function Xan(n,t,e){var i;switch(S$(0!=t.b),i=Yx(VZ(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 oF(Ztn(t,0),i),t}function Wan(n,t,e,i){var r,c,a,u,o;switch(o=n.b,u=_tn(a=(c=t.d).j,o.d[a.g],e),r=mN(dO(c.n),c.a),c.j.g){case 1:case 3:u.a+=r.a;break;case 2:case 4:u.b+=r.b}VW(i,u,i.c.b,i.c)}function Van(n,t,e){var i,r,c,a;for(a=hJ(n.e,t,0),(c=new pv).b=e,i=new JU(n.e,a);i.b=0;t--)zFn[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)GFn[n]=e,e*=.5}function Yan(n){var t,e;if(ny(hL(jln(n,(gjn(),I1n)))))for(e=new $_(bA(lbn(n).a.Kc(),new h));Vfn(e);)if(Whn(t=Yx(kV(e),79))&&ny(hL(jln(t,C1n))))return!0;return!1}function Jan(n,t){var e,i,r;KK(n.f,t)&&(t.b=n,i=t.c,-1!=hJ(n.j,i,0)||eD(n.j,i),r=t.d,-1!=hJ(n.j,r,0)||eD(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new Wtn(n)),function(n,t){var e,i;for(i=new pb(t);i.a=n.f)break;c.c[c.c.length]=e}return c}function oun(n){var t,e,i,r;for(t=null,r=new pb(n.wf());r.a0&&smn(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;rc&&SK(s,$Z(e[u],_Fn))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function dun(n,t,e){run(e,"Grow Tree",1),n.b=t.f,ny(hL(Aun(t,(y3(),hqn))))?(n.c=new it,mz(n,null)):n.c=new it,n.a=!1,iwn(n,t.f),b5(t,fqn,(TA(),!!n.a)),Ron(e)}function gun(n){var t,e;return n>=eMn?(t=iMn+(n-eMn>>10&1023)&fTn,e=56320+(n-eMn&1023)&fTn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&fTn)}function pun(n,t,e,i,r){var c,a,u;for(c=Vwn(n,t,e,i,r),u=!1;!c;)Nln(n,r,!0),u=!0,c=Vwn(n,t,e,i,r);u&&Nln(n,r,!1),0!=(a=G4(r)).c.length&&(n.d&&n.d.lg(a),pun(n,r,e,i,a))}function vun(){vun=O,ket=new eP(fIn,0),met=new eP("DIRECTED",1),jet=new eP("UNDIRECTED",2),pet=new eP("ASSOCIATION",3),yet=new eP("GENERALIZATION",4),vet=new eP("DEPENDENCY",5)}function mun(n,t){var e,i;for(vB(t),i=n.b.c.length,eD(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.ue(TR(n.b,i),t)<=0)return QW(n.b,e,t),!0;QW(n.b,e,TR(n.b,i))}return QW(n.b,i,t),!0}function yun(n,t,i,r){var c,a;if(c=0,i)c=Y6(n.a[i.g][t.g],r);else for(a=0;a=a)}function jun(n,t,e,i){var r;if(r=!1,aI(i)&&(r=!0,ND(t,e,lL(i))),r||rI(i)&&(r=!0,jun(n,t,e,i)),r||CO(i,236)&&(r=!0,nq(t,e,Yx(i,236))),!r)throw hp(new Gm(ixn))}function Eun(n,t){var e,i,r,c;if(vB(t),(c=n.a.gc())=hTn?"error":"warn",n.a),n.b&&Jbn(t,e,n.b,"Exception: ",!0))}function Aun(n,t){var e,i;return!n.q&&(n.q=new rp),null!=(i=BF(n.q,t))?i:(CO(e=t.wg(),4)&&(null==e?(!n.q&&(n.q=new rp),zV(n.q,t)):(!n.q&&(n.q=new rp),xB(n.q,t,e))),e)}function $un(){$un=O,YGn=new bM("P1_CYCLE_BREAKING",0),JGn=new bM("P2_LAYERING",1),ZGn=new bM("P3_NODE_ORDERING",2),nzn=new bM("P4_NODE_PLACEMENT",3),tzn=new bM("P5_EDGE_ROUTING",4)}function Lun(n,t){var e,i,r,c;for(i=(1==t?ozn:uzn).a.ec().Kc();i.Ob();)for(e=Yx(i.Pb(),103),c=Yx(KV(n.f.c,e),21).Kc();c.Ob();)r=Yx(c.Pb(),46),uJ(n.b.b,r.b),uJ(n.b.a,Yx(r.b,81).d)}function Nun(n,t){var e;if(oZ(),n.c==t.c){if(n.b==t.b||function(n,t){return K4(),n==bzn&&t==gzn||n==gzn&&t==bzn||n==dzn&&t==wzn||n==wzn&&t==dzn}(n.b,t.b)){if(e=function(n){return n==bzn||n==gzn}(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return eO(n.b.g,t.b.g)}return $9(n.c,t.c)}function xun(n,t){var e,i;if(zun(n,t))return!0;for(i=new pb(t);i.a=(r=n.Vi())||t<0)throw hp(new Hm(jxn+t+Exn+r));if(e>=r||e<0)throw hp(new Hm(Txn+e+Exn+r));return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function qun(n){var t,e,i;if(i=n,n)for(t=0,e=n.Ug();e;e=e.Ug()){if(++t>cMn)return qun(e);if(i=e,e==n)throw hp(new Ym("There is a cycle in the containment hierarchy of "+n))}return i}function Gun(n){var t,e,i;for(i=new J3(tEn,"[","]"),e=n.Kc();e.Ob();)HV(i,iI(t=e.Pb())===iI(n)?"(this Collection)":null==t?aEn:I7(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function zun(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;ei&&(Lz(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||t1&&(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 Qun(){Qun=O,UXn=x4(Gy(trt,1),lIn,61,0,[(Ikn(),Tit),Eit,Bit]),zXn=x4(Gy(trt,1),lIn,61,0,[Eit,Bit,qit]),XXn=x4(Gy(trt,1),lIn,61,0,[Bit,qit,Tit]),WXn=x4(Gy(trt,1),lIn,61,0,[qit,Tit,Eit])}function Yun(n,t,e,i){var r,c,a,u,o;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(o=n.b,r=c.j,u=null;r!=a.j;)u=0==t?A9(r):C9(r),_D(i,mN(_tn(r,o.d[r.g],e),_tn(u,o.d[u.g],e))),r=u}function Jun(n,t,e,i){var r,c,a,u,o;return u=Yx((a=Drn(n.a,t,e)).a,19).a,c=Yx(a.b,19).a,i&&(o=Yx(Aun(t,(Ojn(),RQn)),10),r=Yx(Aun(e,RQn),10),o&&r&&(YX(n.b,o,r),u+=n.b.i,c+=n.b.e)),u>c}function Zun(n){var t,e,i,r,c,a,u,o;for(this.a=xen(n),this.b=new ip,i=0,r=(e=n).length;i0&&(n.a[q.p]=J++)}for(rn=0,N=0,R=(A=i).length;N0;){for(S$(X.b>0),U=0,o=new pb((q=Yx(X.a.Xb(X.c=--X.b),11)).e);o.a0&&(q.j==(Ikn(),Tit)?(n.a[q.p]=rn,++rn):(n.a[q.p]=rn+_+F,++F))}rn+=F}for(z=new rp,d=new oC,$=0,x=(C=t).length;$h.b&&(h.b=W)):q.i.c==Y&&(Wh.c&&(h.c=W));for(DY(g,0,g.length,null),en=VQ(Wot,MTn,25,g.length,15,1),r=VQ(Wot,MTn,25,rn+1,15,1),v=0;v0;)T%2>0&&(c+=un[T+1]),++un[T=(T-1)/2|0];for(S=VQ(i4n,iEn,362,2*g.length,0,1),k=0;kTL(n.d).c?(n.i+=n.g.c,Cnn(n.d)):TL(n.d).c>TL(n.g).c?(n.e+=n.d.c,Cnn(n.g)):(n.i+=IR(n.g),n.e+=IR(n.d),Cnn(n.g),Cnn(n.d))}function ion(n,t,i,r){n.a.d=e.Math.min(t,i),n.a.a=e.Math.max(t,r)-n.a.d,to&&(s=o/r),(c=e.Math.abs(t.b-n.b))>a&&(h=a/c),u=e.Math.min(s,h),n.a+=u*(t.a-n.a),n.b+=u*(t.b-n.b)}function son(n,t,e,i,r){var c,a;for(a=!1,c=Yx(TR(e.b,0),33);Svn(n,t,c,i,r)&&(a=!0,oan(e,c),0!=e.b.c.length);)c=Yx(TR(e.b,0),33);return 0==e.b.c.length&&acn(e.j,e),a&&ern(t.q),a}function hon(n,t){var e,i,r,c;if(udn(),t.b<2)return!1;for(i=e=Yx(IX(c=Ztn(t,0)),8);c.b!=c.d.c;){if(Rbn(n,i,r=Yx(IX(c),8)))return!0;i=r}return!!Rbn(n,i,e)}function fon(n,t,e,i){return 0==e?(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),YN(n.o,t,i)):Yx(CZ(Yx(H3(n,16),26)||n.zh(),e),66).Nj().Rj(n,dtn(n),e-vF(n.zh()),t,i)}function lon(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=Yx(n.sb,49).ih(n,1,ict,e)),t&&(e=Yx(t,49).gh(n,1,ict,e)),(e=H8(n,t,e))&&e.Fi()):0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,4,t,t))}function bon(){bon=O,Hzn=new gM("NORMAL",0),Bzn=new gM("LONG_EDGE",1),Kzn=new gM("EXTERNAL_PORT",2),qzn=new gM("NORTH_SOUTH_PORT",3),Fzn=new gM("LABEL",4),_zn=new gM("BREAKING_POINT",5)}function won(n,t,e){var i;run(e,"Self-Loop routing",1),i=function(n){switch(Yx(Aun(n,(gjn(),b1n)),218).g){case 1:return new ic;case 3:return new oc;default:return new ec}}(t),dI(Aun(t,(tQ(),_7n))),SE(fH(hH(hH(WJ(new SR(null,new Nz(t.b,16)),new zi),new Ui),new Xi),new Wi),new yM(n,i)),Ron(e)}function don(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 hp(new Qm("k must be smaller than n"));return 0==t||t==n?1:0==n?0:Kcn(n)/(Kcn(t)*Kcn(n-t))}function mon(n,t){var e,i,r,c;for(e=new SC(n);null!=e.g||e.c?null==e.g||0!=e.i&&Yx(e.g[e.i-1],47).Ob():AG(e);)if(CO(c=Yx(abn(e),56),160))for(i=Yx(c,160),r=0;r0&&ygn(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=W_(i.a,r.a))<0?ygn(n,t,e):c>0&&ygn(n,e,t),c):null!=i.a?(ygn(n,t,e),-1):null!=r.a?(ygn(n,e,t),1):0}(n,t,e)}function xon(n,t,e){var i,r,c,a;if(0!=t.b){for(i=new ME,a=Ztn(t,0);a.b!=a.d.c;)C2(i,q4(c=Yx(IX(a),86))),(r=c.e).a=Yx(Aun(c,(ryn(),O5n)),19).a,r.b=Yx(Aun(c,A5n),19).a;xon(n,i,J2(e,i.b/n.a|0))}}function Don(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(function(n,t,e){var i;return(i=omn(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 Bon(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 Hon(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function qon(n){if(CO(n,149))return function(n){var t,e,i,r,c;return c=cun(n),null!=n.a&&ND(c,"category",n.a),!Sj(new Yl(n.d))&&(OZ(c,"knownOptions",i=new Sl),t=new Mg(i),XW(new Yl(n.d),t)),!Sj(n.g)&&(OZ(c,"supportedFeatures",r=new Sl),e=new Sg(r),XW(n.g,e)),c}(Yx(n,149));if(CO(n,229))return function(n){var t,e,i;return i=cun(n),!Sj(n.c)&&(OZ(i,"knownLayouters",e=new Sl),t=new Pg(e),XW(n.c,t)),i}(Yx(n,229));if(CO(n,23))return function(n){var t,e,i;return i=cun(n),null!=n.e&&ND(i,dxn,n.e),!!n.k&&ND(i,"type",d$(n.k)),!Sj(n.j)&&(e=new Sl,OZ(i,VNn,e),t=new Ig(e),XW(n.j,t)),i}(Yx(n,23));throw hp(new Qm(axn+Gun(new ay(x4(Gy(U_n,1),iEn,1,5,[n])))))}function Gon(n,t,e,i){var r,c;if(t.k==(bon(),Bzn))for(c=new $_(bA(u7(t).a.Kc(),new h));Vfn(c);)if((r=Yx(kV(c),17)).c.i.k==Bzn&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function zon(n,t,e,i){var r;this.b=i,this.e=n==(l0(),z3n),r=t[e],this.d=fR(Vot,[TEn,wSn],[177,25],16,[r.length,r.length],2),this.a=fR(Wot,[TEn,MTn],[48,25],15,[r.length,r.length],2),this.c=new $an(t,e)}function Uon(n){var t,e,i;for(n.k=new Cz((Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])).length,n.j.c.length),i=new pb(n.j);i.a=e)return nsn(n,t,i.p),!0;return!1}function Qon(n){var t;return 0!=(64&n.Db)?yon(n):(t=new SA(wNn),!n.a||yI(yI((t.a+=' "',t),n.a),'"'),yI(tj(yI(tj(yI(tj(yI(tj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function Yon(n,t,e){var i,r,c,a,u;for(u=dwn(n.e.Tg(),t),r=Yx(n.g,119),i=0,a=0;a0&&esn(n,c,e));t.p=0}function isn(n){var t;this.c=new ME,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 cx(t=Yx(Ak(D7n),9),Yx(eN(t,t.length),9),0),this.g=n.f}function rsn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i=0?n.Bh(r):Ehn(n,i)}else r9(n,e,i)}function osn(n){var t,e;if(e=null,t=!1,CO(n,204)&&(t=!0,e=Yx(n,204).a),t||CO(n,258)&&(t=!0,e=""+Yx(n,258).a),t||CO(n,483)&&(t=!0,e=""+Yx(n,483).a),!t)throw hp(new Gm(ixn));return e}function ssn(n,t){var e,i;if(n.f){for(;t.Ob();)if(CO(i=(e=Yx(t.Pb(),72)).ak(),99)&&0!=(Yx(i,18).Bb&MNn)&&(!n.e||i.Gj()!=Vrt||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}return t.Ob()}function hsn(n,t){var e,i;if(n.f){for(;t.Sb();)if(CO(i=(e=Yx(t.Ub(),72)).ak(),99)&&0!=(Yx(i,18).Bb&MNn)&&(!n.e||i.Gj()!=Vrt||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}return t.Sb()}function fsn(n,t,e){var i,r,c,a,u,o;for(o=dwn(n.e.Tg(),t),i=0,u=n.i,r=Yx(n.g,119),a=0;a=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)WG(this);this.b=t,this.a=null}function Esn(n,t){var e,i;t.a?function(n,t){var e;if(!uF(n.b,t.b))throw hp(new Ym("Invalid hitboxes for scanline constraint calculation."));(C4(t.b,Yx(function(n,t){return $k(Rnn(n.a,t,!0))}(n.b,t.b),57))||C4(t.b,Yx(function(n,t){return $k(Dnn(n.a,t,!0))}(n.b,t.b),57)))&&(oE(),t.b),n.a[t.b.f]=Yx(BN(n.b,t.b),57),(e=Yx(FN(n.b,t.b),57))&&(n.a[e.f]=t.b)}(n,t):(!!(e=Yx(BN(n.b,t.b),57))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=Yx(FN(n.b,t.b),57))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),RA(n.b,t.b))}function Tsn(n,t){var e,i;if(e=Yx(GB(n.b,t),124),Yx(Yx(KV(n.r,t),21),84).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((Ann(),nrt))&&Xdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Yx(Yx(KV(n.r,t),21),84).Kc();i.Ob();)r+=(e=Yx(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),hdn(n,t)==(Ytn(),eit)&&(i+=2*n.w),e.a.a=i}function Msn(n,t){var e,i;if(e=Yx(GB(n.b,t),124),Yx(Yx(KV(n.r,t),21),84).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((Ann(),nrt))&&Wdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Yx(Yx(KV(n.r,t),21),84).Kc();i.Ob();)r+=(e=Yx(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),hdn(n,t)==(Ytn(),eit)&&(i+=2*n.w),e.a.b=i}function Ssn(n,t){var e,i,r,c;for(c=new ip,i=new pb(t);i.a=0&&KN(n.substr(u,2),"//")?(o=Btn(n,u+=2,Wct,Vct),i=n.substr(u,o-u),u=o):null==f||u!=n.length&&(Lz(u,n.length),47==n.charCodeAt(u))||(a=!1,-1==(o=NA(n,gun(35),u))&&(o=n.length),i=n.substr(u,o-u),u=o);if(!e&&u0&&58==XB(h,h.length-1)&&(r=h,u=o)),u0&&(Lz(0,e.length),47!=e.charCodeAt(0))))throw hp(new Qm("invalid opaquePart: "+e));if(n&&(null==t||!fE(Rct,t.toLowerCase()))&&null!=e&&$7(e,Wct,Vct))throw hp(new Qm(EDn+e));if(n&&null!=t&&fE(Rct,t.toLowerCase())&&!function(n){if(null!=n&&n.length>0&&33==XB(n,n.length-1))try{return null==xsn(l$(n,0,n.length-1)).e}catch(n){if(!CO(n=j4(n),32))throw hp(n)}return!1}(e))throw hp(new Qm(EDn+e));if(!function(n){var t;return null==n||(t=n.length)>0&&(Lz(t-1,n.length),58==n.charCodeAt(t-1))&&!$7(n,Wct,Vct)}(i))throw hp(new Qm("invalid device: "+i));if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;te.a&&(i.Hc((dan(),ont))?r=(t.a-e.a)/2:i.Hc(hnt)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((dan(),lnt))?c=(t.b-e.b)/2:i.Hc(fnt)&&(c=t.b-e.b)),Pun(n,r,c)}function Gsn(n,t,e,i,r,c,a,u,o,s,h,f,l){CO(n.Cb,88)&&rhn(bV(Yx(n.Cb,88)),4),E2(n,e),n.f=a,D9(n,u),_9(n,o),x9(n,s),R9(n,h),l9(n,f),H9(n,l),s9(n,!0),K1(n,r),n.ok(c),a8(n,t),null!=i&&(n.i=null,J0(n,i))}function zsn(n){var t,e;if(n.f){for(;n.n>0;){if(CO(e=(t=Yx(n.k.Xb(n.n-1),72)).ak(),99)&&0!=(Yx(e,18).Bb&MNn)&&(!n.e||e.Gj()!=Vrt||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}return n.n>0}function Usn(n,t,e){if(n<0)return ngn(eEn,x4(Gy(U_n,1),iEn,1,5,[e,d9(n)]));if(t<0)throw hp(new Qm(rEn+t));return ngn("%s (%s) must not be greater than size (%s)",x4(Gy(U_n,1),iEn,1,5,[e,d9(n),d9(t)]))}function Xsn(n,t,e,i,r,c){var a,u,o;if(i-e<7)!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.ue(n[c-1],n[c])>0;--c)a=n[c],DF(n,c,n[c-1]),DF(n,c-1,a)}(t,e,i,c);else if(Xsn(t,n,u=e+r,o=u+((a=i+r)-u>>1),-r,c),Xsn(t,n,o,a,-r,c),c.ue(n[o-1],n[o])<=0)for(;e=i||t=0?n.sh(c,e):pbn(n,r,e)}else E7(n,i,r,e)}function Qsn(n){var t,e,i,r,c;if(e=Yx(n,49).qh())try{if(i=null,(t=Hln((mT(),aat),spn(null==(c=e).e?c:(!c.c&&(c.c=new xdn(0!=(256&c.f),c.i,c.a,c.d,0!=(16&c.f),c.j,c.g,null)),c.c))))&&(r=t.rh())&&(i=r.Wk(function(n){return vB(n),n}(e.e))),i&&i!=n)return Qsn(i)}catch(c){if(!CO(c=j4(c),60))throw hp(c)}return n}function Ysn(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?new Array:i).length)n.a.set(a,r);else if(c=q6(n,t,r))return c.ed(e);return DF(r,r.length,new zT(t,e)),++n.c,gq(n.b),null}function Jsn(n,t){var e;return KU(n.a),qK(n.a,(p2(),h6n),h6n),qK(n.a,f6n,f6n),oR(e=new fX,f6n,(m7(),g6n)),iI(jln(t,(Krn(),F6n)))!==iI((I6(),E6n))&&oR(e,f6n,w6n),oR(e,f6n,d6n),aC(n.a,e),Zmn(n.a,t)}function Zsn(n){if(!n)return yy(),MKn;var t=n.valueOf?n.valueOf():n;if(t!==n){var i=SKn[typeof t];return i?i(t):Z6(typeof t)}return n instanceof Array||n instanceof e.Array?new jl(n):new Ml(n)}function nhn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Yx(GB(n.p,i),244)).i).b=Rhn(r),c.a=Dhn(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}cvn(r),hvn(r)}function thn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Yx(GB(n.p,i),244)).i).b=Rhn(r),c.a=Dhn(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}cvn(r),hvn(r)}function ehn(n,t){var e,i,r,c;if(udn(),t.b<2)return!1;for(i=e=Yx(IX(c=Ztn(t,0)),8);c.b!=c.d.c;){if(r=Yx(IX(c),8),!s3(n,i)||!s3(n,r))return!1;i=r}return!(!s3(n,i)||!s3(n,e))}function ihn(n,t){var e,i,r,c,a;return e=q1(a=n,"x"),function(n,t){L1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new lg(t).a,e),i=q1(a,"y"),function(n,t){N1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new bg(t).a,i),r=q1(a,qNn),function(n,t){$1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new wg(t).a,r),c=q1(a,HNn),function(n,t){A1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new dg(t).a,c),c}function rhn(n,t){Gdn(n,t),0!=(1&n.b)&&(n.a.a=null),0!=(2&n.b)&&(n.a.f=null),0!=(4&n.b)&&(n.a.g=null,n.a.i=null),0!=(16&n.b)&&(n.a.d=null,n.a.e=null),0!=(8&n.b)&&(n.a.b=null),0!=(32&n.b)&&(n.a.j=null,n.a.c=null)}function chn(n){var t,e,i,r,c;if(null==n)return aEn;for(c=new J3(tEn,"[","]"),i=0,r=(e=n).length;i0)for(a=n.c.d,r=_O(yN(new QS((u=n.d.d).a,u.b),a),1/(i+1)),c=new QS(a.a,a.b),e=new pb(n.a);e.a($z(c+1,t.c.length),Yx(t.c[c+1],19)).a-i&&++u,eD(r,($z(c+u,t.c.length),Yx(t.c[c+u],19))),a+=($z(c+u,t.c.length),Yx(t.c[c+u],19)).a-i,++e;e=0?n._g(e,!0,!0):tfn(n,r,!0),153),Yx(i,215).ol(t)}function Thn(n){var t,i;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),i=oG(e.Math.floor(e.Math.log(n)/.6931471805599453)),(!t||n!=e.Math.pow(2,i))&&++i,i):h4(D3(n))}function Mhn(n,t){var e,i,r;return o4(i=new rin(n),t),b5(i,(Ojn(),sQn),t),b5(i,(gjn(),g0n),(Ran(),oit)),b5(i,xZn,(qen(),G7n)),Al(i,(bon(),Kzn)),ZG(e=new Ion,i),whn(e,(Ikn(),qit)),ZG(r=new Ion,i),whn(r,Eit),i}function Shn(n){switch(n.g){case 0:return new zm((l0(),G3n));case 1:return new bf;case 2:return new yf;default:throw hp(new Qm("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function Phn(n,t){var e,i,r,c;for(n.c[t.p]=!0,eD(n.a,t),c=new pb(t.j);c.a=(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=By(F2(lH(hH(XK(n.a),new Mn),new Sn)));return a>0?a+n.n.d+n.n.a:0}function Rhn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=By(F2(lH(hH(XK(n.a),new En),new Tn)));else{for(t=0,r=0,c=(i=vin(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 _hn(n){var t,e;return(e=new Ay).a+="e_",null!=(t=function(n){return 0!=n.b.c.length&&Yx(TR(n.b,0),70).a?Yx(TR(n.b,0),70).a:IH(n)}(n))&&(e.a+=""+t),n.c&&n.d&&(yI((e.a+=" ",e),krn(n.c)),yI(mI((e.a+="[",e),n.c.i),"]"),yI((e.a+=pIn,e),krn(n.d)),yI(mI((e.a+="[",e),n.d.i),"]")),e.a}function Khn(n){switch(n.g){case 0:return new df;case 1:return new gf;case 2:return new wf;case 3:return new pf;default:throw hp(new Qm("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function Fhn(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 Bhn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=fcn(n))&&(TT(),t.Cj()==_Dn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function Hhn(n,t){var e,i,r,c;if(kjn(n),0!=n.c||123!=n.a)throw hp(new wy(_jn((GC(),Hxn))));if(c=112==t,i=n.d,(e=b$(n.i,125,i))<0)throw hp(new wy(_jn((GC(),qxn))));return r=l$(n.i,i,e),n.d=e+1,bY(r,c,512==(512&n.e))}function qhn(n,t,e,i,r){var c,a,u,o;return iI(o=nL(n,Yx(r,56)))!==iI(r)?(u=Yx(n.g[e],72),KO(n,e,zan(n,0,c=VX(t,o))),gC(n.e)&&(Pan(a=_q(n,9,c.ak(),r,o,i,!1),new yJ(n.e,9,n.c,u,c,i,!1)),vJ(a)),o):r}function Ghn(n,t){var e,i;try{return function(n,t){var e;return T$(!!(e=(vB(n),n).g)),vB(t),e(t)}(n.a,t)}catch(r){if(CO(r=j4(r),32)){try{if(i=ipn(t,nTn,Yjn),e=Ak(n.a),i>=0&&i=0?n._g(e,!0,!0):tfn(n,r,!0),153),Yx(i,215).ll(t);throw hp(new Qm(mNn+t.ne()+jNn))}function Uhn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(Lz(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)Lz(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function Xhn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=($5(x4(Gy(B7n,1),TEn,8,0,[c.i.n,c.n,c.a])).b+$5(x4(Gy(B7n,1),TEn,8,0,[a.i.n,a.n,a.a])).b)/2,i=c.j==(Ikn(),Eit)?new QS(t+c.i.c.c.a+e,r):new QS(t-e,r),A$(n.a,0,i)}function Whn(n){var t,e,i;for(t=null,e=WK(n0(x4(Gy(Q_n,1),iEn,20,0,[(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c)])));Vfn(e);)if(i=iun(Yx(kV(e),82)),t){if(t!=i)return!1}else t=i;return!0}function Vhn(n,t,e){var i;if(++n.j,t>=n.i)throw hp(new Hm(jxn+t+Exn+n.i));if(e>=n.i)throw hp(new Hm(Txn+e+Exn+n.i));return i=n.g[e],t!=e&&(t>16)>>16&16),e+=t=(n>>=t)-256>>16&8,e+=t=(n<<=t)-nMn>>16&4,(e+=t=(n<<=t)-MEn>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function Jhn(n){var t,e,i,r;for(UH(),Fqn=new ip,Kqn=new rp,_qn=new ip,!n.a&&(n.a=new mK(uct,n,10,11)),function(n){var t,e,i,r,c,a,u,o,s,f;for(t=new rp,a=new UO(n);a.e!=a.i.gc();){for(c=Yx(hen(a),33),e=new Qp,xB(Kqn,c,e),f=new ut,i=Yx(kW(new SR(null,new nF(new $_(bA(fbn(c).a.Kc(),new h)))),i_(f,mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[(C6(),aBn)])))),83),i0(e,Yx(i.xc((TA(),!0)),14),new ot),r=Yx(kW(hH(Yx(i.xc(!1),15).Lc(),new st),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[aBn]))),15).Kc();r.Ob();)(s=Kun(Yx(r.Pb(),79)))&&((u=Yx(eI(Dq(t.f,s)),21))||(u=Awn(s),Ysn(t.f,s,u)),C2(e,u));for(i=Yx(kW(new SR(null,new nF(new $_(bA(lbn(c).a.Kc(),new h)))),i_(f,mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[aBn])))),83),i0(e,Yx(i.xc(!0),14),new ht),o=Yx(kW(hH(Yx(i.xc(!1),15).Lc(),new ft),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[aBn]))),15).Kc();o.Ob();)(s=Fun(Yx(o.Pb(),79)))&&((u=Yx(eI(Dq(t.f,s)),21))||(u=Awn(s),Ysn(t.f,s,u)),C2(e,u))}}(t=n.a),r=new UO(t);r.e!=r.i.gc();)i=Yx(hen(r),33),-1==hJ(Fqn,i,0)&&(e=new ip,eD(_qn,e),$tn(i,e));return _qn}function Zhn(n,t){var i,r,c,a,u,o,s,h;for(h=ty(fL(Aun(t,(gjn(),W0n)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,o=1;o0?1:QI(isNaN(r),isNaN(0)))>=0^(o0(UAn),(e.Math.abs(o)<=UAn||0==o||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:QI(isNaN(o),isNaN(0)))>=0)?e.Math.max(o,r):(o0(UAn),(e.Math.abs(r)<=UAn||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:QI(isNaN(r),isNaN(0)))>0?e.Math.sqrt(o*o+r*r):-e.Math.sqrt(o*o+r*r))}(a=r.b,u=c.b))>=0?i:(o=fB(yN(new QS(u.c+u.b/2,u.d+u.a/2),new QS(a.c+a.b/2,a.d+a.a/2))),-(Ppn(a,u)-1)*o)}function tfn(n,t,e){var i,r,c;if(c=iyn((wsn(),wut),n.Tg(),t))return TT(),Yx(c,66).Oj()||(c=Bz(PJ(wut,c))),r=Yx((i=n.Yg(c))>=0?n._g(i,!0,!0):tfn(n,c,!0),153),Yx(r,215).hl(t,e);throw hp(new Qm(mNn+t.ne()+jNn))}function efn(n,t,e,i){var r,c,a,u,o;if(r=n.d[t])if(c=r.g,o=r.i,null!=i){for(u=0;u>5),15,1))[e]=1<1;t>>=1)0!=(1&t)&&(i=uZ(i,e)),e=1==e.d?uZ(e,e):new Mtn(fpn(e.a,e.d,VQ(Wot,MTn,25,e.d<<1,15,1)));return uZ(i,e)}(n,t)}function rfn(n){var t,e,i;for(WE(),this.b=szn,this.c=(t9(),tet),this.f=(XE(),czn),this.a=n,Yy(this,new It),qbn(this),i=new pb(n.b);i.a=null.jm()?(abn(n),ufn(n)):t.Ob()}function ofn(n,t,i){var r,c,a,u;if(!(u=i)&&(u=xD(new am,0)),run(u,rIn,1),$yn(n.c,t),1==(a=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(n.c=n.d,l=null==(b=hL(Aun(t,(gjn(),C0n))))||(vB(b),b),c=Yx(Aun(t,(Ojn(),bQn)),21).Hc((edn(),SVn)),e=!((r=Yx(Aun(t,g0n),98))==(Ran(),uit)||r==sit||r==oit),!l||!e&&c)f=new ay(x4(Gy(Dzn,1),bIn,37,0,[t]));else{for(h=new pb(t.a);h.at.a&&(i.Hc((dan(),ont))?n.c.a+=(e.a-t.a)/2:i.Hc(hnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((dan(),lnt))?n.c.b+=(e.b-t.b)/2:i.Hc(fnt)&&(n.c.b+=e.b-t.b)),Yx(Aun(n,(Ojn(),bQn)),21).Hc((edn(),SVn))&&(e.a>t.a||e.b>t.b))for(u=new pb(n.a);u.a0?G7(e):O9(G7(e)),Aen(t,k0n,r)}function mfn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&JC(a,new Ur),r=a.c.length/2|0,i=0;i=0;)i=e[c],a.rl(i.ak())&&fY(r,i);!Xkn(n,r)&&gC(n.e)&&Xp(n,t.$j()?_q(n,6,t,(XH(),TFn),null,-1,!1):_q(n,t.Kj()?2:1,t,null,null,-1,!1))}function jfn(){var n,t;for(jfn=O,kFn=VQ(EFn,TEn,91,32,0,1),jFn=VQ(EFn,TEn,91,32,0,1),n=1,t=0;t<=18;t++)kFn[t]=Utn(n),jFn[t]=Utn(G_(n,t)),n=e7(n,5);for(;tc)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function Tfn(n){var t,e,i,r,c,a;for(lz(),e=new bW,i=new pb(n.e.b);i.a1?n.e*=ty(n.a):n.f/=ty(n.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new nbn(Yx(t.Pb(),561),n.e,n.f),eD(n.g,e)}(n),gtn(n),function(n){var t,i,r,c,a,u,o,s,h,f;for(i=function(n){var t,i,r,c,a,u,o,s,h,f;for(i=n.o,t=n.p,u=Yjn,c=nTn,o=Yjn,a=nTn,h=0;h=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(Yx(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&_3(n,new pK(n,9,e,c,r)),r):c}function Hfn(n){var t,e,i,r,c,a,u;for(c=0,r=n.f.e,e=0;e>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=r3(n)))return!1;e=i==r?-e:~e}return 0!=(e&t)}function Xfn(n,t){var e,i,r,c,a,u,o;if(c=t.e)for(e=Bfn(c),i=Yx(n.g,674),a=0;a>16)),15).Xc(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?HTn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?HTn:0,c=i?BTn:0,r=e>>t-44),rO(r&BTn,c&BTn,a&HTn)}function eln(n){var t,i,r,c,a,u;for(this.c=new ip,this.d=n,r=JTn,c=JTn,t=ZTn,i=ZTn,u=Ztn(n,0);u.b!=u.d.c;)a=Yx(IX(u),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 mH(r,c,t-r,i-c)}function iln(n,t){var e,i,r,c;for(i=new pb(n.b);i.a0&&CO(t,42)&&(n.a.qj(),c=null==(o=(s=Yx(t,42)).cd())?0:W5(o),a=_L(n.a,c),e=n.a.d[a]))for(i=Yx(e.g,367),h=e.i,u=0;u=2)for(t=fL((i=c.Kc()).Pb());i.Ob();)a=t,t=fL(i.Pb()),r=e.Math.min(r,(vB(t),t-(vB(a),a)));return r}function gln(n,t){var e,i,r,c,a;VW(i=new ME,t,i.c.b,i.c);do{for(S$(0!=i.b),e=Yx(VZ(i,i.a.a),86),n.b[e.g]=1,c=Ztn(e.d,0);c.b!=c.d.c;)a=(r=Yx(IX(c),188)).c,1==n.b[a.g]?_D(n.a,r):2==n.b[a.g]?n.b[a.g]=1:VW(i,a,i.c.b,i.c)}while(0!=i.b)}function pln(n,t){var e,i,r;if(iI(t)===iI(MF(n)))return!0;if(!CO(t,15))return!1;if(i=Yx(t,15),(r=n.gc())!=i.gc())return!1;if(CO(i,54)){for(e=0;e0&&(r=e),a=new pb(n.f.e);a.a0&&c0):c<0&&-c0)}function Oln(n,t,e,i){var r,c,a,u,o,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new pb(n.c);s.a=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 Dln(n,t){var e,i,r,c,a,u;for(c=(1==t?ozn:uzn).a.ec().Kc();c.Ob();)for(r=Yx(c.Pb(),103),u=Yx(KV(n.f.c,r),21).Kc();u.Ob();)switch(a=Yx(u.Pb(),46),i=Yx(a.b,81),e=Yx(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function Rln(n,t){var e,i,r,c,a,u,o,s,h;for(s=-1,h=0,u=0,o=(a=n).length;u0&&++h;++s}return h}function _ln(n){var t;return(t=new SA(Nk(n.gm))).a+="@",yI(t,(W5(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",mI(t,n.qh()),n.$g()&&(t.a+=" eClass: ",mI(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",mI(t,n.$g()),t.a+=")"),t.a}function Kln(n){var t,e,i;if(n.e)throw hp(new Ym((sL(OBn),UMn+OBn.k+XMn)));for(n.d==(t9(),tet)&&ekn(n,Ztt),e=new pb(n.a.a);e.a=0)return r;for(c=1,a=new pb(t.j);a.a0&&t.ue(($z(r-1,n.c.length),Yx(n.c[r-1],10)),c)>0;)QW(n,r,($z(r-1,n.c.length),Yx(n.c[r-1],10))),--r;$z(r,n.c.length),n.c[r]=c}e.a=new rp,e.b=new rp}function zln(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==(Ikn(),Tit)||t==Eit?(qZ(Yx(T5(n),15),(Frn(),Ret)),qZ(Yx(T5(n),15),_et)):(qZ(Yx(T5(n),15),(Frn(),_et)),qZ(Yx(T5(n),15),Ret));else for(i=new VB(n);i.a!=i.b;)qZ(Yx(w8(i),15),e)}function Uln(n,t){var e,i,r,c,a,u;for(a=new JU(i=Jx(new $g(n)),i.c.length),u=new JU(r=Jx(new $g(t)),r.c.length),c=null;a.b>0&&u.b>0&&(S$(a.b>0),e=Yx(a.a.Xb(a.c=--a.b),33),S$(u.b>0),e==Yx(u.a.Xb(u.c=--u.b),33));)c=e;return c}function Xln(n,t){var i,r,c,a;return c=n.a*kMn+1502*n.b,a=n.b*kMn+11,c+=i=e.Math.floor(a*jMn),a-=i*EMn,c%=EMn,n.a=c,n.b=a,t<=24?e.Math.floor(n.a*GFn[t]):((r=n.a*(1<=2147483648&&(r-=oMn),r)}function Wln(n,t,e){var i,r,c,a;Wz(n,t)>Wz(n,e)?(i=i7(e,(Ikn(),Eit)),n.d=i.dc()?0:tR(Yx(i.Xb(0),11)),a=i7(t,qit),n.b=a.dc()?0:tR(Yx(a.Xb(0),11))):(r=i7(e,(Ikn(),qit)),n.d=r.dc()?0:tR(Yx(r.Xb(0),11)),c=i7(t,Eit),n.b=c.dc()?0:tR(Yx(c.Xb(0),11)))}function Vln(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(hRn))&&null!=(a=lL(ynn((!t.b&&(t.b=new z$((xjn(),Dat),out,t)),t.b),"conversionDelegates")))){for(u=new ip,r=0,c=(i=Ogn(a,"\\w+")).length;r>1,n.k=i-1>>1}(this,this.d,this.c),function(n){var t,e,i,r,c,a,u;for(e=KC(n.e),c=_O(N$(dO(_C(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,u=0;u0&&tyn(this,c)}function tbn(n,t,e,i,r,c){var a,u,o;if(!r[t.b]){for(r[t.b]=!0,!(a=i)&&(a=new XV),eD(a.e,t),o=c[t.b].Kc();o.Ob();)(u=Yx(o.Pb(),282)).d!=e&&u.c!=e&&(u.c!=t&&tbn(n,u.c,t,a,r,c),u.d!=t&&tbn(n,u.d,t,a,r,c),eD(a.c,u),S4(a.d,u.b));return a}return null}function ebn(n){var t,e,i;for(t=0,e=new pb(n.e);e.a=2}function ibn(n){var t,e;try{return null==n?aEn:I7(n)}catch(i){if(CO(i=j4(i),102))return t=i,e=Nk(V5(n))+"@"+(oE(),(Nen(n)>>>0).toString(16)),Ltn(O4(),(KE(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+Nk(t.gm)+">";throw hp(i)}}function rbn(n){switch(n.g){case 0:return new af;case 1:return new nf;case 2:return new cT;case 3:return new Cc;case 4:return new lN;case 5:return new uf;default:throw hp(new Qm("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function cbn(n,t,e){var i,r,c;for(c=new pb(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&_D(t,i.b));for(r=new pb(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&_D(e,i.a))}function abn(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),fY(n,n.d),n.c))return n.f;if(i=(t=Yx(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,fY(n,e);else for(n.d=null;!t.Ob()&&(DF(n.g,--n.i,null),0!=n.i);)t=Yx(n.g[n.i-1],47);return i}function ubn(n,t,i,r){var c,a,u;for(Al(c=new rin(n),(bon(),Fzn)),b5(c,(Ojn(),CQn),t),b5(c,BQn,r),b5(c,(gjn(),g0n),(Ran(),oit)),b5(c,TQn,t.c),b5(c,MQn,t.d),Bwn(t,c),u=e.Math.floor(i/2),a=new pb(c.j);a.a=0?n._g(i,!0,!0):tfn(n,c,!0),153),Yx(r,215).ml(t,e)}function vbn(n,t,e){run(e,"Eades radial",1),e.n&&t&&nU(e,RU(t),(P6(),jrt)),n.d=Yx(jln(t,(eL(),s6n)),33),n.c=ty(fL(jln(t,(Krn(),Q6n)))),n.e=Ven(Yx(jln(t,Y6n),293)),n.a=function(n){switch(n.g){case 0:return new Ga;case 1:return new za;default:throw hp(new Qm(y$n+(null!=n.f?n.f:""+n.g)))}}(Yx(jln(t,Z6n),426)),n.b=function(n){switch(n.g){case 1:return new Ka;case 2:return new Fa;case 3:return new _a;case 0:return null;default:throw hp(new Qm(y$n+(null!=n.f?n.f:""+n.g)))}}(Yx(jln(t,U6n),340)),function(n){var t,e,i,r,c;if(i=0,r=wPn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,qgn(n,n.d,0,0,w$n,e),(c=n.b.ig(n.d))0),c.a.Xb(c.c=--c.b),ZL(c,r),S$(c.b0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(ccn(n,t))throw hp(new Qm(CNn+Mfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Yrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,6,i)),(i=$L(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,6,t,t))}function Mbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(ccn(n,t))throw hp(new Qm(CNn+ogn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Zrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,9,i)),(i=LL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,9,t,t))}function Sbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(ccn(n,t))throw hp(new Qm(CNn+bmn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ucn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,12,i)),(i=AL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,3,t,t))}function Pbn(n){var t,e,i,r,c;if(i=fcn(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(CO(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=Yx(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(t){if(!CO(t=j4(t),78))throw hp(t);n.g=null}n.i=r}return n.g}return null}function Ibn(n){var t;return eD(t=new ip,new ZT(new QS(n.c,n.d),new QS(n.c+n.b,n.d))),eD(t,new ZT(new QS(n.c,n.d),new QS(n.c,n.d+n.a))),eD(t,new ZT(new QS(n.c+n.b,n.d+n.a),new QS(n.c+n.b,n.d))),eD(t,new ZT(new QS(n.c+n.b,n.d+n.a),new QS(n.c,n.d+n.a))),t}function Cbn(n,t,e,i){var r,c,a;if(a=Hcn(t,e),i.c[i.c.length]=t,-1==n.j[a.p]||2==n.j[a.p]||n.a[t.p])return i;for(n.j[a.p]=-1,c=new $_(bA(a7(a).a.Kc(),new h));Vfn(c);)if(!ZW(r=Yx(kV(c),17))&&(ZW(r)||r.c.i.c!=r.d.i.c)&&r!=t)return Cbn(n,r,a,i);return i}function Obn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=Yx(r.Pb(),79),!Yx(BF(n.b,i),266)&&(IG(_un(i))==IG(Bun(i))?Wwn(n,i,e):_un(i)==IG(Bun(i))?null==BF(n.c,i)&&null!=BF(n.b,Bun(i))&&Gyn(n,i,e,!1):null==BF(n.d,i)&&null!=BF(n.b,_un(i))&&Gyn(n,i,e,!0))}function Abn(n,t){var e,i,r,c,a,u,o;for(r=n.Kc();r.Ob();)for(i=Yx(r.Pb(),10),ZG(u=new Ion,i),whn(u,(Ikn(),Eit)),b5(u,(Ojn(),DQn),(TA(),!0)),a=t.Kc();a.Ob();)c=Yx(a.Pb(),10),ZG(o=new Ion,c),whn(o,qit),b5(o,DQn,!0),b5(e=new jq,DQn,!0),YG(e,u),QG(e,o)}function $bn(n,t,e,i){var r,c,a,u;r=Bnn(n,t,e),c=Bnn(n,e,t),a=Yx(BF(n.c,t),112),u=Yx(BF(n.c,e),112),r0&&w.a<=0){o.c=VQ(U_n,iEn,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=VQ(U_n,iEn,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=Yx(TR(o,Uen(r,o.c.length)),112),fG(m.a,a),a.g=h++,evn(a,t,e,i),o.c=VQ(U_n,iEn,1,0,5,1))}for(g=n.c.length+1,l=new pb(n);l.ai.b.g&&(c.c[c.c.length]=i);return c}function xbn(){xbn=O,Q8n=new FS("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),V8n=new FS("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),J8n=new FS("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),Y8n=new FS("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),Z8n=new FS("WHOLE_DRAWING",4)}function Dbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(ccn(n,t))throw hp(new Qm(CNn+ugn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ocn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,10,i)),(i=vN(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,11,t,t))}function Rbn(n,t,e){return udn(),(!s3(n,t)||!s3(n,e))&&(nkn(new QS(n.c,n.d),new QS(n.c+n.b,n.d),t,e)||nkn(new QS(n.c+n.b,n.d),new QS(n.c+n.b,n.d+n.a),t,e)||nkn(new QS(n.c+n.b,n.d+n.a),new QS(n.c,n.d+n.a),t,e)||nkn(new QS(n.c,n.d+n.a),new QS(n.c,n.d),t,e))}function _bn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e>16!=7&&t){if(ccn(n,t))throw hp(new Qm(CNn+Qon(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Jrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Yx(t,49).gh(n,1,Yrt,i)),(i=k_(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,7,t,t))}function Wbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(ccn(n,t))throw hp(new Qm(CNn+o9(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?tcn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Yx(t,49).gh(n,0,ect,i)),(i=j_(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,3,t,t))}function Vbn(n,t){var e,i,r,c,a,u,o,s,h;return jfn(),t.d>n.d&&(u=n,n=t,t=u),t.d<63?function(n,t){var e,i,r,c,a,u,o,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=WR(o=e7(Gz(n.a[0],uMn),Gz(t.a[0],uMn))),0==(s=WR(U_(o,32)))?new wQ(a,h):new CK(a,2,x4(Gy(Wot,1),MTn,25,15,[h,s]))):(Y8(n.a,e,t.a,i,r=VQ(Wot,MTn,25,c,15,1)),SU(u=new CK(a,c,r)),u)}(n,t):(s=yV(n,a=(-2&n.d)<<4),h=yV(t,a),i=Evn(n,mV(s,a)),r=Evn(t,mV(h,a)),o=Vbn(s,h),e=Vbn(i,r),c=mV(c=Smn(Smn(c=Vbn(Evn(s,i),Evn(r,h)),o),e),a),Smn(Smn(o=mV(o,a<<1),c),e))}function Qbn(n,t,e){var i,r,c,a,u;for(a=V8(n,e),u=VQ(Gzn,kIn,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)ny(hL(Aun(r=Yx(c.Pb(),11),(Ojn(),gQn))))&&(u[i++]=Yx(Aun(r,RQn),10));if(i=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!ny(hL(Aun(t.j,(Ojn(),lQn))))&&!ny(hL(Aun(t.j,(Ojn(),qQn))))),c|=t.q._f(u,r,e),c|=zdn(n,u[r],e,i);return KK(n.c,t),c}function nwn(n,t,e){var i,r,c,a,u,o,s,h;for(s=0,h=(o=tX(n.j)).length;s1&&(n.a=!0),h_(Yx(e.b,65),mN(dO(Yx(t.b,65).c),_O(yN(dO(Yx(e.b,65).a),Yx(t.b,65).a),r))),mz(n,t),iwn(n,e)}function rwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}XH(),JC(n.j,new bi)}function awn(n,t){var e,i,r,c,a,u,o,s,h;for(u=t.j,a=t.g,o=Yx(TR(u,u.c.length-1),113),$z(0,u.c.length),s=srn(n,a,o,h=Yx(u.c[0],113)),c=1;cs&&(o=e,h=r,s=i);t.a=h,t.c=o}function uwn(n){if(!n.a.d||!n.a.e)throw hp(new Ym((sL(eHn),eHn.k+" must have a source and target "+(sL(iHn),iHn.k+" specified."))));if(n.a.d==n.a.e)throw hp(new Ym("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return WA(n.a.d.g,n.a),WA(n.a.e.b,n.a),n.a}function own(n,t,e){var i,r,c,a,u,o;if(i=0,0!=t.b&&0!=e.b){c=Ztn(t,0),a=Ztn(e,0),u=ty(fL(IX(c))),o=ty(fL(IX(a))),r=!0;do{if(u>o-n.b&&uo-n.a&&ut.a&&(i.Hc((dan(),ont))?n.c.a+=(e.a-t.a)/2:i.Hc(hnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((dan(),lnt))?n.c.b+=(e.b-t.b)/2:i.Hc(fnt)&&(n.c.b+=e.b-t.b)),Yx(Aun(n,(Ojn(),bQn)),21).Hc((edn(),SVn))&&(e.a>t.a||e.b>t.b))for(a=new pb(n.a);a.a0&&++l;++f}return l}function dwn(n,t){var e,i,r,c;return TT(),t?t==(ayn(),Zut)||(t==xut||t==Lut||t==Nut)&&n!=$ut?new ykn(n,t):((e=(i=Yx(t,677)).pk())||(nH(PJ((wsn(),wut),t)),e=i.pk()),!e.i&&(e.i=new rp),!(r=Yx(eI(Dq((c=e.i).f,n)),1942))&&xB(c,n,r=new ykn(n,t)),r):kut}function gwn(n,t){var e,i,r,c,a,u,o,s;for(u=Yx(Aun(n,(Ojn(),CQn)),11),o=$5(x4(Gy(B7n,1),TEn,8,0,[u.i.n,u.n,u.a])).a,s=n.i.n.b,r=0,c=(i=CU(n.e)).length;r0&&(c+=(a=Yx(TR(this.b,0),167)).o,r+=a.p),c*=2,r*=2,t>1?c=oG(e.Math.ceil(c*t)):r=oG(e.Math.ceil(r/t)),this.a=new hnn(c,r)}function Mwn(n,t,i,r,c,a){var u,o,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=Yx(BF(n.f,t.A),57)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,i.q&&i.o?(s=(b=Yx(BF(n.f,i.C),57)).d.c,++f):s=i.a.c,w=d+(o=(s-d)/e.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(u=t[a],o=i==(Ikn(),Eit)?r?i7(u,i):I3(i7(u,i)):r?I3(i7(u,i)):i7(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=Yx(f.Pb(),11),n.d[h.p]=s++;S4(e,o)}}function Pwn(n,t,e){var i,r,c,a,u,o,s,h;for(c=ty(fL(n.b.Kc().Pb())),s=ty(fL(function(n){var t;if(n){if((t=n).dc())throw hp(new _p);return t.Xb(t.gc()-1)}return Iz(n.Kc())}(t.b))),i=_O(dO(n.a),s-e),r=_O(dO(t.a),e-c),_O(h=mN(i,r),1/(s-c)),this.a=h,this.b=new ip,u=!0,(a=n.b.Kc()).Pb();a.Ob();)o=ty(fL(a.Pb())),u&&o-e>YAn&&(this.b.Fc(e),u=!1),this.b.Fc(o);u&&this.b.Fc(e)}function Iwn(n){var t,i,r,c;if(function(n,t){var i,r,c,a,u,o,s;for(c=VQ(Wot,MTn,25,n.e.a.c.length,15,1),u=new pb(n.e.a);u.a0){for(oy(n.c);Yfn(n,Yx(Hz(new pb(n.e.a)),121))>5,t&=31,i>=n.d)return n.e<0?(bdn(),lFn):(bdn(),pFn);if(c=n.d-i,function(n,t,e,i,r){var c,a,u;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}}(r=VQ(Wot,MTn,25,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t!=0){for(e=0;e=0)&&(!(e=iyn((wsn(),wut),r,t))||((i=e.Zj())>1||-1==i)&&3!=TB(PJ(wut,e))))}function Nwn(n,t,e,i){var r,c,a,u,o;return u=iun(Yx(c1((!t.b&&(t.b=new AN(Zrt,t,4,7)),t.b),0),82)),o=iun(Yx(c1((!t.c&&(t.c=new AN(Zrt,t,5,8)),t.c),0),82)),IG(u)==IG(o)||XZ(o,u)?null:(a=EG(t))==e?i:(c=Yx(BF(n.a,a),10))&&(r=c.e)?r:null}function xwn(n,t,e){var i,r,c,a,u;if((c=n[function(n,t){return n?t-1:0}(e,n.length)])[0].k==(bon(),Kzn))for(r=Zy(e,c.length),u=t.j,i=0;i>24}(n));break;case 2:n.g=k4(function(n){if(2!=n.p)throw hp(new Lp);return WR(n.f)&fTn}(n));break;case 3:n.g=function(n){if(3!=n.p)throw hp(new Lp);return n.e}(n);break;case 4:n.g=new ib(function(n){if(4!=n.p)throw hp(new Lp);return n.e}(n));break;case 6:n.g=ytn(function(n){if(6!=n.p)throw hp(new Lp);return n.f}(n));break;case 5:n.g=d9(function(n){if(5!=n.p)throw hp(new Lp);return WR(n.f)}(n));break;case 7:n.g=g9(function(n){if(7!=n.p)throw hp(new Lp);return WR(n.f)<<16>>16}(n))}return n.g}function _wn(n){if(null==n.n)switch(n.p){case 0:n.n=function(n){if(0!=n.p)throw hp(new Lp);return hI(n.k,0)}(n)?(TA(),LKn):(TA(),$Kn);break;case 1:n.n=iZ(function(n){if(1!=n.p)throw hp(new Lp);return WR(n.k)<<24>>24}(n));break;case 2:n.n=k4(function(n){if(2!=n.p)throw hp(new Lp);return WR(n.k)&fTn}(n));break;case 3:n.n=function(n){if(3!=n.p)throw hp(new Lp);return n.j}(n);break;case 4:n.n=new ib(function(n){if(4!=n.p)throw hp(new Lp);return n.j}(n));break;case 6:n.n=ytn(function(n){if(6!=n.p)throw hp(new Lp);return n.k}(n));break;case 5:n.n=d9(function(n){if(5!=n.p)throw hp(new Lp);return WR(n.k)}(n));break;case 7:n.n=g9(function(n){if(7!=n.p)throw hp(new Lp);return WR(n.k)<<16>>16}(n))}return n.n}function Kwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&(i[0]+=n.d,u-=i[0]),i[2]>0&&(i[2]+=n.d,u-=i[2]),a=e.Math.max(0,u),i[1]=e.Math.max(i[1],u),SV(n,cHn,c.c+r.b+i[0]-(i[1]-u)/2,i),t==cHn&&(n.c.b=a,n.c.c=c.c+r.b+(a-u)/2)}function Gwn(){this.c=VQ(Jot,rMn,25,(Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])).length,15,1),this.b=VQ(Jot,rMn,25,x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit]).length,15,1),this.a=VQ(Jot,rMn,25,x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit]).length,15,1),HT(this.c,JTn),HT(this.b,ZTn),HT(this.a,ZTn)}function zwn(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=VQ(Wot,MTn,25,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=VQ(Wot,MTn,25,i+2,15,1),smn(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||xln(n)}}function Uwn(n,t,e){var i,r,c,a,u,o;if(!MX(t)){for(run(o=J2(e,(CO(t,14)?Yx(t,14).gc():FX(t.Kc()))/n.a|0),a$n,1),u=new Ca,a=0,c=t.Kc();c.Ob();)i=Yx(c.Pb(),86),u=n0(x4(Gy(Q_n,1),iEn,20,0,[u,new Dd(i)])),a1;)tdn(r,r.i-1);return i}function Jwn(n,t){var e,i,r,c,a,u;for(e=new ep,r=new pb(n.b);r.an.d[a.p]&&(e+=zW(n.b,c),OX(n.a,d9(c)));for(;!ry(n.a);)eZ(n.b,Yx($K(n.a),19).a)}return e}function ndn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new mK(uct,t,10,11)),t.a).i,r=new UO((!t.a&&(t.a=new mK(uct,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=Yx(hen(r),33)).a&&(i.a=new mK(uct,i,10,11)),i.a).i||(c+=ndn(n,i,!1));if(e)for(a=IG(t);a;)c+=(!a.a&&(a.a=new mK(uct,a,10,11)),a.a).i,a=IG(a);return c}function tdn(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=Orn(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e),c):(c=Orn(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi(),c)}function edn(){edn=O,TVn=new YM("COMMENTS",0),SVn=new YM("EXTERNAL_PORTS",1),PVn=new YM("HYPEREDGES",2),IVn=new YM("HYPERNODES",3),CVn=new YM("NON_FREE_PORTS",4),OVn=new YM("NORTH_SOUTH_PORTS",5),$Vn=new YM(cCn,6),EVn=new YM("CENTER_LABELS",7),MVn=new YM("END_LABELS",8),AVn=new YM("PARTITIONS",9)}function idn(n){var t,e,i,r,c;for(r=new ip,t=new kR((!n.a&&(n.a=new mK(uct,n,10,11)),n.a)),i=new $_(bA(lbn(n).a.Kc(),new h));Vfn(i);)CO(c1((!(e=Yx(kV(i),79)).b&&(e.b=new AN(Zrt,e,4,7)),e.b),0),186)||(c=iun(Yx(c1((!e.c&&(e.c=new AN(Zrt,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function rdn(n){var t,e,i,r,c;for(r=new Qp,t=new kR((!n.a&&(n.a=new mK(uct,n,10,11)),n.a)),i=new $_(bA(lbn(n).a.Kc(),new h));Vfn(i);)CO(c1((!(e=Yx(kV(i),79)).b&&(e.b=new AN(Zrt,e,4,7)),e.b),0),186)||(c=iun(Yx(c1((!e.c&&(e.c=new AN(Zrt,e,5,8)),e.c),0),82)),t.a._b(c)||r.a.zc(c,r));return r}function cdn(n,t){var i,r,c;IG(n)&&(c=Yx(Aun(t,(gjn(),n0n)),174),iI(jln(n,g0n))===iI((Ran(),lit))&&Aen(n,g0n,fit),dT(),r=hkn(new Xm(IG(n)),new e$(IG(n)?new Xm(IG(n)):null,n),!1,!0),n2(c,(Ann(),Yit)),(i=Yx(Aun(t,e0n),8)).a=e.Math.max(r.a,i.a),i.b=e.Math.max(r.b,i.b))}function adn(){adn=O,tWn=new kH(NSn,0,(Ikn(),Tit),Tit),rWn=new kH(DSn,1,Bit,Bit),nWn=new kH(xSn,2,Eit,Eit),uWn=new kH(RSn,3,qit,qit),iWn=new kH("NORTH_WEST_CORNER",4,qit,Tit),eWn=new kH("NORTH_EAST_CORNER",5,Tit,Eit),aWn=new kH("SOUTH_WEST_CORNER",6,Bit,qit),cWn=new kH("SOUTH_EAST_CORNER",7,Eit,Bit)}function udn(){udn=O,K7n=x4(Gy(Qot,1),tMn,25,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 odn(n,t){var e,i,r,c,a;if(0==n.c.length)return new mP(d9(0),d9(0));for(e=($z(0,n.c.length),Yx(n.c[0],11)).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 hdn(n,t){var e;switch(e=null,t.g){case 1:n.e.Xe((Cjn(),gtt))&&(e=Yx(n.e.We(gtt),249));break;case 3:n.e.Xe((Cjn(),ptt))&&(e=Yx(n.e.We(ptt),249));break;case 2:n.e.Xe((Cjn(),dtt))&&(e=Yx(n.e.We(dtt),249));break;case 4:n.e.Xe((Cjn(),vtt))&&(e=Yx(n.e.We(vtt),249))}return!e&&(e=Yx(n.e.We((Cjn(),btt)),249)),e}function fdn(n,t,e){var i,r,c,a,u,o;for(t.p=1,r=t.c,o=inn(t,(h0(),i3n)).Kc();o.Ob();)for(i=new pb(Yx(o.Pb(),11).g);i.a$$n?JC(s,n.b):r<=$$n&&r>L$n?JC(s,n.d):r<=L$n&&r>N$n?JC(s,n.c):r<=N$n&&JC(s,n.a),a=ldn(n,s,a);return c}function bdn(){var n;for(bdn=O,bFn=new wQ(1,1),dFn=new wQ(1,10),pFn=new wQ(0,0),lFn=new wQ(-1,1),wFn=x4(Gy(EFn,1),TEn,91,0,[pFn,bFn,new wQ(1,2),new wQ(1,3),new wQ(1,4),new wQ(1,5),new wQ(1,6),new wQ(1,7),new wQ(1,8),new wQ(1,9),dFn]),gFn=VQ(EFn,TEn,91,32,0,1),n=0;n1&&(i=new QS(r,e.b),_D(t.a,i)),r0(t.a,x4(Gy(B7n,1),TEn,8,0,[f,h]))}function ydn(n){uT(n,new tun(rk(nk(ik(ek(new du,nNn),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Qu))),DU(n,nNn,fPn,Wit),DU(n,nNn,LPn,15),DU(n,nNn,xPn,d9(0)),DU(n,nNn,hPn,OPn)}function kdn(){var n,t,e,i,r,c;for(kdn=O,fot=VQ(Yot,LNn,25,255,15,1),lot=VQ(Xot,sTn,25,16,15,1),t=0;t<255;t++)fot[t]=-1;for(e=57;e>=48;e--)fot[e]=e-48<<24>>24;for(i=70;i>=65;i--)fot[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)fot[r]=r-97+10<<24>>24;for(c=0;c<10;c++)lot[c]=48+c&fTn;for(n=10;n<=15;n++)lot[n]=65+n-10&fTn}function jdn(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u=0;--i)for(t=e[i],r=0;r>19!=0)return"-"+Mdn(h5(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=Jmn(e,gV(UTn),!0),t=""+rj(PKn),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 Sdn(n,t,i,r){var c,a,u,o;if(FX((Ax(),new $_(bA(a7(t).a.Kc(),new h))))>=n.a)return-1;if(!Ban(t,i))return-1;if(MX(Yx(r.Kb(t),20)))return 1;for(c=0,u=Yx(r.Kb(t),20).Kc();u.Ob();){if(-1==(o=Sdn(n,(a=Yx(u.Pb(),17)).c.i==t?a.d.i:a.c.i,i,r)))return-1;if((c=e.Math.max(c,o))>n.c-1)return-1}return c+1}function Pdn(n,t){var e,i,r,c,a,u;if(iI(t)===iI(n))return!0;if(!CO(t,15))return!1;if(i=Yx(t,15),u=n.gc(),i.gc()!=u)return!1;if(a=i.Kc(),n.ni()){for(e=0;e0)if(n.qj(),null!=t){for(c=0;c0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=Ayn(new gF(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}(n,t,r),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new ip,f=new pb(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 hp(new Iy("Invalid hexadecimal"))}}function Adn(n,t,e){var i,r,c,a;for(run(e,"Processor order nodes",2),n.a=ty(fL(Aun(t,(cln(),V5n)))),r=new ME,a=Ztn(t.b,0);a.b!=a.d.c;)ny(hL(Aun(c=Yx(IX(a),86),(ryn(),C5n))))&&VW(r,c,r.c.b,r.c);S$(0!=r.b),Omn(n,i=Yx(r.a.a.c,86)),!e.b&&q0(e,1),agn(n,i,0-ty(fL(Aun(i,(ryn(),k5n))))/2,0),!e.b&&q0(e,1),Ron(e)}function $dn(){$dn=O,YBn=new aM("SPIRAL",0),UBn=new aM("LINE_BY_LINE",1),XBn=new aM("MANHATTAN",2),zBn=new aM("JITTER",3),VBn=new aM("QUADRANTS_LINE_BY_LINE",4),QBn=new aM("QUADRANTS_MANHATTAN",5),WBn=new aM("QUADRANTS_JITTER",6),GBn=new aM("COMBINE_LINE_BY_LINE_MANHATTAN",7),qBn=new aM("COMBINE_JITTER_MANHATTAN",8)}function Ldn(n,t,e,i){var r,c,a,u,o,s;for(o=qcn(n,e),s=qcn(t,e),r=!1;o&&s&&(i||Ern(o,s,e));)a=qcn(o,e),u=qcn(s,e),pJ(t),pJ(n),c=o.c,lyn(o,!1),lyn(s,!1),e?(Hrn(t,s.p,c),t.p=s.p,Hrn(n,o.p+1,c),n.p=o.p):(Hrn(n,o.p,c),n.p=o.p,Hrn(t,s.p+1,c),t.p=s.p),JG(o,null),JG(s,null),o=a,s=u,r=!0;return r}function Ndn(n,t,e,i){var r,c,a,u,o;for(r=!1,c=!1,u=new pb(i.j);u.a=t.length)throw hp(new Hm("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new rx(i),h2(this.e,this.c,(Ikn(),qit)),this.i=new rx(i),h2(this.i,this.c,Eit),this.f=new zR(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(bon(),Kzn),this.a&&function(n,t,e){var i,r,c,a,u,o,s;u=(c=n.d.p).e,o=c.r,n.g=new rx(o),i=(a=n.d.o.c.p)>0?u[a-1]:VQ(Gzn,kIn,10,0,0,1),r=u[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=Yx(BF(n.f,a.d.i),57),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new $_(bA(u7(b).a.Kc(),new h));Vfn(u);)0!=(a=Yx(kV(u),17)).a.b&&(t=Yx(p$(a.a),8),a.d.j==(Ikn(),Tit)&&((g=new Kvn(t,new QS(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==Bit&&((g=new Kvn(t,new QS(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}(n);break;case 3:r=new ip,SE(hH(fH(WJ(WJ(new SR(null,new Nz(n.d.b,16)),new Or),new Ar),new $r),new pr),new Yw(r)),i=r;break;default:throw hp(new Ym("Compaction not supported for "+t+" edges."))}(function(n,t){var i,r,c,a,u,o,s;if(0!=t.c.length){for(XH(),JR(t.c,t.c.length,null),r=Yx(Hz(c=new pb(t)),145);c.a0&&t0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:cK(n.u)&&((i=oun(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}(n,t),c=null,s=null,o){for(s=c=Yx((a=u.Kc()).Pb(),111);a.Ob();)s=Yx(a.Pb(),111);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=Yx(a.Pb(),111),t=e.Math.max(t,r.d.b),i=e.Math.max(i,r.d.c);for(c=n.Kc();c.Ob();)(r=Yx(c.Pb(),111)).d.b=t,r.d.c=i}(u),o&&(c.d.b=0,s.d.c=0))}function Wdn(n,t){var i,r,c,a,u,o,s,h,f,l;if(u=Yx(Yx(KV(n.r,t),21),84),o=n.u.Hc((Chn(),mit)),i=n.u.Hc(git),r=n.u.Hc(dit),s=n.u.Hc(yit),l=n.B.Hc((Vgn(),frt)),h=!i&&!r&&(s||2==u.gc()),function(n,t){var i,r,c,a,u,o,s;for(o=Yx(Yx(KV(n.r,t),21),84).Kc();o.Ob();)(r=(u=Yx(o.Pb(),111)).c?XD(u.c):0)>0?u.a?r>(s=u.b.rf().b)&&(n.v||1==u.c.d.c.length?(a=(r-s)/2,u.d.d=a,u.d.a=a):(i=(Yx(TR(u.c.d,0),181).rf().b-s)/2,u.d.d=e.Math.max(0,i),u.d.a=r-i-s)):u.d.a=n.t+r:cK(n.u)&&((c=oun(u.b)).d<0&&(u.d.d=-c.d),c.d+c.a>u.b.rf().b&&(u.d.a=c.d+c.a-u.b.rf().b))}(n,t),f=null,c=null,o){for(c=f=Yx((a=u.Kc()).Pb(),111);a.Ob();)c=Yx(a.Pb(),111);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=Yx(a.Pb(),111),i=e.Math.max(i,r.d.d),t=e.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=Yx(c.Pb(),111)).d.d=i,r.d.a=t}(u),o&&(f.d.d=0,c.d.a=0))}function Vdn(n,t,e){var i,r,c,a,u;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,eD(e.e,t),i==(bon(),Bzn)||i==qzn)for(r=new pb(t.j);r.a1||-1==a)&&(c|=16),0!=(r.Bb&MNn)&&(c|=64)),0!=(e.Bb&eMn)&&(c|=FDn),c|=DNn):CO(t,457)?c|=512:(i=t.Bj())&&0!=(1&i.i)&&(c|=256),0!=(512&n.Bb)&&(c|=128),c}function ngn(n,t){var e,i,r,c,a;for(n=null==n?aEn:(vB(n),n),r=0;rn.d[u.p]&&(e+=zW(n.b,c),OX(n.a,d9(c))):++a;for(e+=n.b.d*a;!ry(n.a);)eZ(n.b,Yx($K(n.a),19).a)}return e}function egn(n){var t,e,i,r,c,a,u;for(u=new rp,i=new pb(n.a.b);i.a=n.o)throw hp(new Gp);a=t>>5,c=G_(1,WR(G_(31&t,1))),n.n[e][a]=r?zz(n.n[e][a],c):Gz(n.n[e][a],wD(c)),c=G_(c,1),n.n[e][a]=i?zz(n.n[e][a],c):Gz(n.n[e][a],wD(c))}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function agn(n,t,i,r){var c,a;t&&(c=ty(fL(Aun(t,(ryn(),M5n))))+r,a=i+ty(fL(Aun(t,k5n)))/2,b5(t,O5n,d9(WR(D3(e.Math.round(c))))),b5(t,A5n,d9(WR(D3(e.Math.round(a))))),0==t.d.b||agn(n,Yx(PO(new Rd(Ztn(new Dd(t).a.d,0))),86),i+ty(fL(Aun(t,k5n)))+n.a,r+ty(fL(Aun(t,j5n)))),null!=Aun(t,I5n)&&agn(n,Yx(Aun(t,I5n),86),i,r))}function ugn(n){var t,e,i;return 0!=(64&n.Db)?yon(n):(t=new SA(dNn),(e=n.k)?yI(yI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new mK(act,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new mK(act,n,1,7)),Yx(c1(n.n,0),137)).a)||yI(yI((t.a+=' "',t),i),'"'))),yI(tj(yI(tj(yI(tj(yI(tj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function ogn(n){var t,e,i;return 0!=(64&n.Db)?yon(n):(t=new SA(gNn),(e=n.k)?yI(yI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new mK(act,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new mK(act,n,1,7)),Yx(c1(n.n,0),137)).a)||yI(yI((t.a+=' "',t),i),'"'))),yI(tj(yI(tj(yI(tj(yI(tj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function sgn(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=Yx(aG(n.a,t),149))){for(i=new ub(new Zl(n.b).a.vc().Kc());i.a.Ob();)if(c=Yx(i.a.Pb(),42),a=(e=Yx(c.dd(),149)).c,u=t.length,KN(a.substr(a.length-u,u),t)&&(t.length==a.length||46==XB(a,a.length-t.length-1))){if(r)return null;r=e}r&&GG(n.a,t,r)}return r}function hgn(n){var t,e,i;O$(n,(gjn(),U1n))&&((i=Yx(Aun(n,U1n),21)).dc()||(e=new cx(t=Yx(Ak(cit),9),Yx(eN(t,t.length),9),0),i.Hc((Eln(),Xet))?n2(e,Xet):n2(e,Wet),i.Hc(zet)||n2(e,zet),i.Hc(Get)?n2(e,Yet):i.Hc(qet)?n2(e,Qet):i.Hc(Uet)&&n2(e,Vet),i.Hc(Yet)?n2(e,Get):i.Hc(Qet)?n2(e,qet):i.Hc(Vet)&&n2(e,Uet),b5(n,U1n,e)))}function fgn(n){var t,e,i,r,c,a,u;for(r=Yx(Aun(n,(Ojn(),vQn)),10),$z(0,(i=n.j).c.length),e=Yx(i.c[0],11),a=new pb(r.j);a.ar.p?(whn(c,Bit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==Bit&&r.p>n.p&&(whn(c,Tit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}function lgn(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(CO(t,239)||CO(t,354)||CO(t,186)))throw hp(new Qm("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,_D(c=new Nv,new QS(o,h)),_D(c,new QS(o,f)),_D(c,new QS(s,f)),_D(c,new QS(s,h)),o4(u=new eln(c),t),e&&xB(n.b,t,u),u}function bgn(n,t,e){var i,r,c,a,u,o,s,h;for(c=new QS(t,e),s=new pb(n.a);s.a1&&(i=new QS(r,e.b),_D(t.a,i)),r0(t.a,x4(Gy(B7n,1),TEn,8,0,[f,h]))}function Ign(n,t,e){var i,r,c,a,u,o;if(t){if(e<=-1){if(CO(i=CZ(t.Tg(),-1-e),99))return Yx(i,18);for(u=0,o=(a=Yx(t.ah(i),153)).gc();u0){for(r=o.length;r>0&&""==o[r-1];)--r;r=40)&&function(n){var t,e,i,r,c,a,u;for(n.o=new ep,i=new ME,a=new pb(n.e.a);a.a0,u=T7(t,c),VA(e?u.b:u.g,t),1==b7(u).c.length&&VW(i,u,i.c.b,i.c),r=new mP(c,t),OX(n.o,r),uJ(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new pb(n.e.a);c.a0&&_D(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&_D(n.e,c))))}function Xgn(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new pQ(t.c.length),s=new pb(t);s.a=0&&o0&&(Lz(0,n.length),45==n.charCodeAt(0)||(Lz(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw hp(new Iy(YTn+n+'"'));return a}function rpn(n){switch(n){case 100:return Rjn(T_n,!0);case 68:return Rjn(T_n,!1);case 119:return Rjn(M_n,!0);case 87:return Rjn(M_n,!1);case 115:return Rjn(S_n,!0);case 83:return Rjn(S_n,!1);case 99:return Rjn(P_n,!0);case 67:return Rjn(P_n,!1);case 105:return Rjn(I_n,!0);case 73:return Rjn(I_n,!1);default:throw hp(new Im(E_n+n.toString(16)))}}function cpn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&Yx(n.a[n.b],10).k==(bon(),Fzn)?Kpn(Yx(n.a[n.b],10),(Frn(),Ret)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&Yx(n.a[n.c-1&n.a.length-1],10).k==(bon(),Fzn)?Kpn(Yx(n.a[n.c-1&n.a.length-1],10),(Frn(),_et)):2==(n.c-n.b&n.a.length-1)?(Kpn(Yx(T5(n),10),(Frn(),Ret)),Kpn(Yx(T5(n),10),_et)):function(n,t){var e,i,r,c,a,u,o,s,h;for(o=h$(n.c-n.b&n.a.length-1),s=null,h=null,c=new VB(n);c.a!=c.b;)r=Yx(w8(c),10),e=(u=Yx(Aun(r,(Ojn(),TQn)),11))?u.i:null,i=(a=Yx(Aun(r,MQn),11))?a.i:null,s==e&&h==i||(vln(o,t),s=e,h=i),o.c[o.c.length]=r;vln(o,t)}(n,r),iW(n)}function apn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(XB(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=Uhn(n,t))&&t[0]==c)return!1;if(t[0]=0&&u!=e&&(c=new pK(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new pK(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function spn(n){var t,e,i;if(null==n.b){if(i=new Cy,null!=n.i&&(pI(i,n.i),i.a+=":"),0!=(256&n.f)){for(0!=(256&n.f)&&null!=n.a&&(function(n){return null!=n&&fE(Rct,n.toLowerCase())}(n.i)||(i.a+="//"),pI(i,n.a)),null!=n.d&&(i.a+="/",pI(i,n.d)),0!=(16&n.f)&&(i.a+="/"),t=0,e=n.j.length;t0&&(t.td(e),e.i&&T9(e))}(r=vwn(n,t),(a=Yx(ken(r,0),214)).c.Rf()?a.c.Lf()?new dd(n):new gd(n):new wd(n)),function(n){var t,e,i;for(i=new pb(n.b);i.a>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;rs)&&(o+u+omn(i,s,!1).a<=t.b&&(pY(e,c-e.s),e.c=!0,pY(i,c-e.s),Qen(i,e.s,e.t+e.d+u),i.k=!0,o3(e.q,i),h=!0,r&&(c0(t,i),i.j=t,n.c.length>a&&(acn(($z(a,n.c.length),Yx(n.c[a],200)),i),0==($z(a,n.c.length),Yx(n.c[a],200)).a.c.length&&_V(n,a)))),h)}function wpn(n,t,e){var i,r,c,a,u;if(0==t.p){for(t.p=1,(r=e)||(r=new mP(new ip,new cx(i=Yx(Ak(trt),9),Yx(eN(i,i.length),9),0))),Yx(r.a,15).Fc(t),t.k==(bon(),Kzn)&&Yx(r.b,21).Fc(Yx(Aun(t,(Ojn(),hQn)),61)),a=new pb(t.j);a.a0)if(r=Yx(n.Ab.g,1934),null==t){for(c=0;c1)for(i=new pb(r);i.ai.s&&o=0&&s>=0&&oa)return Ikn(),Eit;break;case 4:case 3:if(h<0)return Ikn(),Tit;if(h+e>c)return Ikn(),Bit}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(Ikn(),qit):o+i>=1&&o-i>=0?(Ikn(),Eit):i<.5?(Ikn(),Tit):(Ikn(),Bit)}function Mpn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(e=!1,o=ty(fL(Aun(t,(gjn(),G0n)))),l=ZEn*o,r=new pb(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 Spn(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new hC,o=t.Kc();o.Ob();)for(h=new pb(Yx(o.Pb(),839).wf());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 Ipn(n,t){var i,r,c,a,u,o;return(c=u0(n))==(o=u0(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)*aMn)+1)-(t.d>0?t.d:e.Math.floor((t.a-1)*aMn)+1))>r+1?c:i0&&(u=uZ(u,xvn(r))),utn(a,u))):c0&&n.d!=(CJ(),zGn)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(CJ(),qGn)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new QS(u/c,t.d.b);case 2:return new QS(t.d.a,o/c);default:return new QS(u/c,o/c)}}function Opn(n,t){var e,i,r,c;if(A6(),c=Yx(Aun(n.i,(gjn(),g0n)),98),0!=n.j.g-t.j.g||c!=(Ran(),uit)&&c!=sit&&c!=oit)return 0;if(c==(Ran(),uit)&&(e=Yx(Aun(n,p0n),19),i=Yx(Aun(t,p0n),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return $9(n.n.a,t.n.a);case 2:return $9(n.n.b,t.n.b);case 3:return $9(t.n.a,n.n.a);case 4:return $9(t.n.b,n.n.b);default:throw hp(new Ym(mIn))}}function Apn(n){var t,e,i,r,c;for(eD(c=new pQ((!n.a&&(n.a=new XO(Qrt,n,5)),n.a).i+2),new QS(n.j,n.k)),SE(new SR(null,(!n.a&&(n.a=new XO(Qrt,n,5)),new Nz(n.a,16))),new Jd(c)),eD(c,new QS(n.b,n.c)),t=1;t0&&(Y4(o,!1,(t9(),Ztt)),Y4(o,!0,net)),WZ(t.g,new PM(n,e)),xB(n.g,t,e)}function Lpn(){var n;for(Lpn=O,WKn=x4(Gy(Wot,1),MTn,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),VKn=VQ(Wot,MTn,25,37,15,1),QKn=x4(Gy(Wot,1),MTn,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),YKn=VQ(Qot,tMn,25,37,14,1),n=2;n<=36;n++)VKn[n]=oG(e.Math.pow(n,WKn[n])),YKn[n]=Bcn(IEn,VKn[n])}function Npn(n){var t;if(1!=(!n.a&&(n.a=new mK(tct,n,6,6)),n.a).i)throw hp(new Qm(eNn+(!n.a&&(n.a=new mK(tct,n,6,6)),n.a).i));return t=new Nv,E4(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82))&&C2(t,mjn(n,E4(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)),!1)),E4(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82))&&C2(t,mjn(n,E4(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82)),!0)),t}function xpn(n,t){var e,i,r;for(r=!1,i=new $_(bA((t.d?n.a.c==(Jq(),d4n)?u7(t.b):o7(t.b):n.a.c==(Jq(),w4n)?u7(t.b):o7(t.b)).a.Kc(),new h));Vfn(i);)if(e=Yx(kV(i),17),(ny(n.a.f[n.a.g[t.b.p].p])||ZW(e)||e.c.i.c!=e.d.i.c)&&!ny(n.a.n[n.a.g[t.b.p].p])&&!ny(n.a.n[n.a.g[t.b.p].p])&&(r=!0,gE(n.b,n.a.g[zin(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function Dpn(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej())if(o=n.fj(),Q7(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new Ek(i),c=t+i,r=t;r0){for(u=0;u>16==-15&&n.Cb.nh()&&vJ(new kY(n.Cb,9,13,e,n.c,Ren(IJ(Yx(n.Cb,59)),n))):CO(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(CO(t=n.c,88)||(xjn(),t=Oat),CO(e,88)||(xjn(),e=Oat),vJ(new kY(n.Cb,9,10,e,t,Ren(tW(Yx(n.Cb,26)),n)))))),n.c}function Hpn(n,t,e){var i,r,c,a,u,o,s,h;for(run(e,"Hyperedge merging",1),function(n,t){var e,i,r,c;for((c=Yx(kW(WJ(WJ(new SR(null,new Nz(t.b,16)),new Re),new _e),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[(C6(),aBn)]))),15)).Jc(new Ke),e=0,r=c.Kc();r.Ob();)-1==(i=Yx(r.Pb(),11)).p&&wln(n,i,e++)}(n,t),u=new JU(t.b,0);u.be);return r}function Gpn(n,t){var e,i,r;i=0!=Xln(n.d,1),!ny(hL(Aun(t.j,(Ojn(),lQn))))&&!ny(hL(Aun(t.j,qQn)))||iI(Aun(t.j,(gjn(),XZn)))===iI((k5(),W2n))?t.c.Tf(t.e,i):i=ny(hL(Aun(t.j,lQn))),Zbn(n,t,i,!0),ny(hL(Aun(t.j,qQn)))&&b5(t.j,qQn,(TA(),!1)),ny(hL(Aun(t.j,lQn)))&&(b5(t.j,lQn,(TA(),!1)),b5(t.j,qQn,!0)),e=Rsn(n,t);do{if(k2(n),0==e)return 0;r=e,Zbn(n,t,i=!i,!1),e=Rsn(n,t)}while(r>e);return r}function zpn(n,t,e){var i,r,c,a,u,o,s;if(t==e)return!0;if(t=Xfn(n,t),e=Xfn(n,e),i=win(t)){if((o=win(e))!=i)return!!o&&(a=i.Dj())==o.Dj()&&null!=a;if(!t.d&&(t.d=new XO(hat,t,1)),r=(c=t.d).i,!e.d&&(e.d=new XO(hat,e,1)),r==(s=e.d).i)for(u=0;u0&&(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}((IG(n)&&(dT(),new Xm(IG(n))),dT(),new e$(IG(n)?new Xm(IG(n)):null,n)),net),a=Yx(Aun(r,c0n),116),$G(i=r.d,a),$G(i,c),r}function Vpn(n,t){var i,r,c,a;return r=e.Math.abs(aK(n.b).a-aK(t.b).a),a=e.Math.abs(aK(n.b).b-aK(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 Qpn(n){var t,i,r;for(gkn(n,n.e,n.f,(Yq(),X4n),!0,n.c,n.i),gkn(n,n.e,n.f,X4n,!1,n.c,n.i),gkn(n,n.e,n.f,W4n,!0,n.c,n.i),gkn(n,n.e,n.f,W4n,!1,n.c,n.i),function(n,t,e,i,r){var c,a,u,o,s,h,f;for(a=new pb(t);a.a=w&&(v>w&&(b.c=VQ(U_n,iEn,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=Yx(TR(b,Uen(t,b.c.length)),128),P.a.Bc(l),l.s=d++,cbn(l,M,j),b.c=VQ(U_n,iEn,1,0,5,1))}for(y=n.c.length+1,u=new pb(n);u.aS.s&&(hB(e),uJ(S.i,i),i.c>0&&(i.a=S,eD(S.t,i),i.b=E,eD(E.i,i)))})(n.i,Yx(Aun(n.d,(Ojn(),FQn)),230)),function(n){var t,i,r,c,a,u,o,s,h;for(s=new ME,u=new ME,c=new pb(n);c.a-1){for(r=Ztn(u,0);r.b!=r.d.c;)(i=Yx(IX(r),128)).v=a;for(;0!=u.b;)for(t=new pb((i=Yx(Urn(u,0),128)).i);t.a=65;e--)sot[e]=e-65<<24>>24;for(i=122;i>=97;i--)sot[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)sot[r]=r-48+52<<24>>24;for(sot[43]=62,sot[47]=63,c=0;c<=25;c++)hot[c]=65+c&fTn;for(a=26,o=0;a<=51;++a,o++)hot[a]=97+o&fTn;for(n=52,u=0;n<=61;++n,u++)hot[n]=48+u&fTn;hot[62]=43,hot[63]=47}function Zpn(n,t){var e,i,r,c,a,u,o;if(!TG(n))throw hp(new Ym(tNn));if(c=(i=TG(n)).g,r=i.f,c<=0&&r<=0)return Ikn(),Hit;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return Ikn(),qit;if(u+n.g>c)return Ikn(),Eit;break;case 4:case 3:if(o<0)return Ikn(),Tit;if(o+n.f>r)return Ikn(),Bit}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(Ikn(),qit):a+e>=1&&a-e>=0?(Ikn(),Eit):e<.5?(Ikn(),Tit):(Ikn(),Bit)}function nvn(n){var t,e,i,r,c,a;if(Ljn(),4!=n.e&&5!=n.e)throw hp(new Qm("Token#complementRanges(): must be RANGE: "+n.e));for(xln(c=n),Lmn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==j_n&&(i-=2),(r=new cU(4)).b=VQ(Wot,MTn,25,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(_l(o,o.d-r.d),r.c==(iQ(),_4n)&&Dl(o,o.a-r.d),o.d<=0&&o.i>0&&VW(t,o,t.c.b,t.c));for(c=new pb(n.f);c.a0&&(Kl(u,u.i-r.d),r.c==(iQ(),_4n)&&Rl(u,u.b-r.d),u.i<=0&&u.d>0&&VW(e,u,e.c.b,e.c))}function ivn(n,t,e){var i,r,c,a,u,o,s,h;for(run(e,"Processor compute fanout",1),UK(n.b),UK(n.a),u=null,c=Ztn(t.b,0);!u&&c.b!=c.d.c;)ny(hL(Aun(s=Yx(IX(c),86),(ryn(),C5n))))&&(u=s);for(VW(o=new ME,u,o.c.b,o.c),Ckn(n,o),h=Ztn(t.b,0);h.b!=h.d.c;)a=lL(Aun(s=Yx(IX(h),86),(ryn(),v5n))),r=null!=aG(n.b,a)?Yx(aG(n.b,a),19).a:0,b5(s,p5n,d9(r)),i=1+(null!=aG(n.a,a)?Yx(aG(n.a,a),19).a:0),b5(s,d5n,d9(i));Ron(e)}function rvn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(f=function(n,t){var e,i,r;for(r=new JU(n.e,0),e=0;r.bYAn)return e;i>-1e-6&&++e}return e}(n,e),u=0;u0),i.a.Xb(i.c=--i.b),h>f+u&&hB(i);for(c=new pb(l);c.a0),i.a.Xb(i.c=--i.b)}}function cvn(n){var t,i,r,c,a,u,o,s,h,f,l,b,w;if(i=n.i,t=n.n,0==n.b)for(w=i.c+t.b,b=i.b-t.b-t.c,s=0,f=(u=n.a).length;s0&&(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),v_(n.a[1],i.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(o=0,h=(a=n.a).length;oa&&(a=r,s.c=VQ(U_n,iEn,1,0,5,1)),r==a&&eD(s,new mP(e.c.i,e)));XH(),JC(s,n.c),ZR(n.b,u.p,s)}}(l,n),l.f=h$(l.d),function(n,t){var e,i,r,c,a,u,o,s;for(c=new pb(t.b);c.aa&&(a=r,s.c=VQ(U_n,iEn,1,0,5,1)),r==a&&eD(s,new mP(e.d.i,e)));XH(),JC(s,n.c),ZR(n.f,u.p,s)}}(l,n),l}function uvn(n,t){var i,r,c;for(c=Yx(TR(n.n,n.n.c.length-1),211).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 pb(n.n);i.a1)for(i=Ztn(r,0);i.b!=i.d.c;)for(c=0,u=new pb((e=Yx(IX(i),231)).e);u.a0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=e.Math.max(t[1],l),m_(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=(u=n.a).length;s=0&&c!=e)throw hp(new Qm(kxn));for(r=0,o=0;o0||0==y7(c.b.d,n.b.d+n.b.a)&&r.b<0||0==y7(c.b.d+c.b.a,n.b.d)&&r.b>0){o=0;break}}else o=e.Math.min(o,bhn(n,c,r));o=e.Math.min(o,bvn(n,a,o,r))}return o}function wvn(n,t){var e,i,r,c,a,u;if(n.b<2)throw hp(new Qm("The vector chain must contain at least a source and a target point."));for(S$(0!=n.b),TC(t,(i=Yx(n.a.a.c,8)).a,i.b),u=new a$((!t.a&&(t.a=new XO(Qrt,t,5)),t.a)),c=Ztn(n,1);c.aty(NO(a.g,a.d[0]).a)?(S$(o.b>0),o.a.Xb(o.c=--o.b),ZL(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(!u.e&&(u.e=new ip),u.e).Mc(t),s=(!u.e&&(u.e=new ip),u.e).Mc(e),(c||s)&&((!u.e&&(u.e=new ip),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)}function kvn(n){var t,e,i;if(dC(Yx(Aun(n,(gjn(),g0n)),98)))for(e=new pb(n.j);e.a>>0).toString(16),t.length-2,t.length):n>=eMn?"\\v"+l$(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&fTn)}return e}function Evn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new CK(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=Gz(n.a[0],uMn),i=Gz(t.a[0],uMn),a<0&&(e=sJ(e)),o<0&&(i=sJ(i)),Utn(n7(e,i));if(-1==(r=c!=u?c>u?1:-1:w6(n.a,t.a,c)))f=-o,h=a==o?GV(t.a,u,n.a,c):WQ(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return bdn(),pFn;h=GV(n.a,c,t.a,u)}else h=WQ(n.a,c,t.a,u);return SU(s=new CK(f,h.length,h)),s}function Tvn(n){var t,e,i,r,c,a;for(this.e=new ip,this.a=new ip,e=n.b-1;e<3;e++)A$(n,0,Yx(ken(n,0),8));if(n.b<4)throw hp(new Qm("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(n,t){var e,i,r,c,a;if(t<2*n.b)throw hp(new Qm("The knot vector must have at least two time the dimension elements."));for(n.f=1,r=0;r=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=Yx(TR(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(Yx(TR(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return l7(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return eD(t.b,e),a=Yx(TR(t.n,t.n.c.length-1),211),eD(t.n,new gG(t.s,a.f+a.a+t.i,t.i)),Cin(Yx(TR(t.n,t.n.c.length-1),211),e),uvn(t,e),!0}return!1}function Pvn(n,t,e){var i,r,c,a;return n.ej()?(r=null,c=n.fj(),i=n.Zi(1,a=HJ(n,t,e),e,t,c),n.bj()&&!(n.ni()&&null!=a?Q8(a,e):iI(a)===iI(e))?(null!=a&&(r=n.dj(a,r)),r=n.cj(e,r),n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):(n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)),a):(a=HJ(n,t,e),n.bj()&&!(n.ni()&&null!=a?Q8(a,e):iI(a)===iI(e))&&(r=null,null!=a&&(r=n.dj(a,null)),(r=n.cj(e,r))&&r.Fi()),a)}function Ivn(n,t){var i,r,c,a,u,o,s;t%=24,n.q.getHours()!=t&&((i=new e.Date(n.q.getTime())).setDate(i.getDate()+1),(u=n.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(o=u/60|0,s=u%60,r=n.q.getDate(),n.q.getHours()+o>=24&&++r,c=new e.Date(n.q.getFullYear(),n.q.getMonth(),r,t+o,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 Cvn(n,t){var e,i,r,c;if(run(t,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new rln(n)).i&&(r.i=D2(r,new kc)),e=ty(r.i)*r.f/(null==r.i&&(r.i=D2(r,new kc)),ty(r.i)),r.b>e)Ron(t);else{switch(Yx(Aun(n,(gjn(),t2n)),337).g){case 2:c=new Tc;break;case 0:c=new wc;break;default:c=new Mc}if(i=c.Vf(n,r),!c.Wf())switch(Yx(Aun(n,u2n),338).g){case 2:i=dhn(r,i);break;case 1:i=uun(r,i)}(function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=Yx((i=e.Kc()).Pb(),19).a;a1||-1==w)if(f=Yx(d,69),l=Yx(h,69),f.dc())l.$b();else for(a=!!nin(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=Yx(u.Pb(),56),(r=Yx(UJ(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c);else null==d?h.Wb(null):null==(r=UJ(n,d))?n.b&&!nin(t)&&h.Wb(d):h.Wb(r)}function Nvn(n,t){var i,r,c,a,u,o,s,f;for(i=new Le,c=new $_(bA(u7(t).a.Kc(),new h));Vfn(c);)if(!ZW(r=Yx(kV(c),17))&&Ban(o=r.c.i,uUn)){if(-1==(f=Sdn(n,o,uUn,aUn)))continue;i.b=e.Math.max(i.b,f),!i.a&&(i.a=new ip),eD(i.a,o)}for(u=new $_(bA(o7(t).a.Kc(),new h));Vfn(u);)if(!ZW(a=Yx(kV(u),17))&&Ban(s=a.d.i,aUn)){if(-1==(f=Sdn(n,s,aUn,uUn)))continue;i.d=e.Math.max(i.d,f),!i.c&&(i.c=new ip),eD(i.c,s)}return i}function xvn(n){var t,e,i,r;if(jfn(),t=oG(n),n1e6)throw hp(new Bm("power of ten too big"));if(n<=Yjn)return mV(ifn(kFn[1],t),t);for(r=i=ifn(kFn[1],Yjn),e=D3(n-Yjn),t=oG(n%Yjn);k8(e,Yjn)>0;)r=uZ(r,i),e=n7(e,Yjn);for(r=mV(r=uZ(r,ifn(kFn[1],t)),Yjn),e=D3(n-Yjn);k8(e,Yjn)>0;)r=mV(r,Yjn),e=n7(e,Yjn);return mV(r,t)}function Dvn(n,t){var e,i,r,c,a;run(t,"Layer constraint postprocessing",1),0!=(a=n.b).c.length&&($z(0,a.c.length),function(n,t,e,i,r){var c,a,u,o,s,h;for(c=new pb(n.b);c.a1)););(u>0||l.Hc((Chn(),pit))&&(!c.n&&(c.n=new mK(act,c,1,7)),c.n).i>0)&&(o=!0),u>1&&(s=!0)}o&&t.Fc((edn(),SVn)),s&&t.Fc((edn(),PVn))}(t,i=Yx(Aun(r,(Ojn(),bQn)),21)),i.Hc((edn(),SVn)))for(e=new UO((!t.c&&(t.c=new mK(oct,t,9,9)),t.c));e.e!=e.i.gc();)bkn(n,t,r,Yx(hen(e),118));return 0!=Yx(jln(t,(gjn(),n0n)),174).gc()&&cdn(t,r),ny(hL(Aun(r,u0n)))&&i.Fc(AVn),O$(r,O0n)&&Rm(new B7(ty(fL(Aun(r,O0n)))),r),iI(jln(t,E1n))===iI((O8(),$et))?function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(a=new ME,v=Yx(Aun(e,(gjn(),a1n)),103),w=0,C2(a,(!t.a&&(t.a=new mK(uct,t,10,11)),t.a));0!=a.b;)s=Yx(0==a.b?null:(S$(0!=a.b),VZ(a,a.a.a)),33),(iI(jln(t,XZn))!==iI((k5(),W2n))||iI(jln(t,r1n))===iI((min(),RWn))||iI(jln(t,r1n))===iI((min(),xWn))||ny(hL(jln(t,VZn)))||iI(jln(t,HZn))!==iI((e9(),Izn)))&&!ny(hL(jln(s,UZn)))&&Aen(s,(Ojn(),IQn),d9(w++)),!ny(hL(jln(s,r0n)))&&(f=0!=(!s.a&&(s.a=new mK(uct,s,10,11)),s.a).i,b=Yan(s),l=iI(jln(s,E1n))===iI((O8(),$et)),g=null,(T=!zQ(s,(Cjn(),gnt))||KN(lL(jln(s,gnt)),CIn))&&l&&(f||b)&&(b5(g=Wpn(s),a1n,v),O$(g,O0n)&&Rm(new B7(ty(fL(Aun(g,O0n)))),g),0!=Yx(jln(s,n0n),174).gc()&&(h=g,SE(new SR(null,(!s.c&&(s.c=new mK(oct,s,9,9)),new Nz(s.c,16))),new gw(h)),cdn(s,g))),m=e,(y=Yx(BF(n.a,IG(s)),10))&&(m=y.e),d=Qyn(n,s,m),g&&(d.e=g,g.e=d,C2(a,(!s.a&&(s.a=new mK(uct,s,10,11)),s.a))));for(w=0,VW(a,t,a.c.b,a.c);0!=a.b;){for(o=new UO((!(c=Yx(0==a.b?null:(S$(0!=a.b),VZ(a,a.a.a)),33)).b&&(c.b=new mK(nct,c,12,3)),c.b));o.e!=o.i.gc();)dgn(u=Yx(hen(o),79)),(iI(jln(t,XZn))!==iI((k5(),W2n))||iI(jln(t,r1n))===iI((min(),RWn))||iI(jln(t,r1n))===iI((min(),xWn))||ny(hL(jln(t,VZn)))||iI(jln(t,HZn))!==iI((e9(),Izn)))&&Aen(u,(Ojn(),IQn),d9(w++)),j=iun(Yx(c1((!u.b&&(u.b=new AN(Zrt,u,4,7)),u.b),0),82)),E=iun(Yx(c1((!u.c&&(u.c=new AN(Zrt,u,5,8)),u.c),0),82)),ny(hL(jln(u,r0n)))||ny(hL(jln(j,r0n)))||ny(hL(jln(E,r0n)))||(p=c,Whn(u)&&ny(hL(jln(j,I1n)))&&ny(hL(jln(u,C1n)))||XZ(E,j)?p=j:XZ(j,E)&&(p=E),m=e,(y=Yx(BF(n.a,p),10))&&(m=y.e),b5(Ijn(n,u,p,m),(Ojn(),nQn),Nwn(n,u,t,e)));if(l=iI(jln(c,E1n))===iI((O8(),$et)))for(r=new UO((!c.a&&(c.a=new mK(uct,c,10,11)),c.a));r.e!=r.i.gc();)T=!zQ(i=Yx(hen(r),33),(Cjn(),gnt))||KN(lL(jln(i,gnt)),CIn),k=iI(jln(i,E1n))===iI($et),T&&k&&VW(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new UO((!t.a&&(t.a=new mK(uct,t,10,11)),t.a));r.e!=r.i.gc();)ny(hL(jln(i=Yx(hen(r),33),(gjn(),r0n))))||(iI(jln(t,XZn))===iI((k5(),W2n))&&iI(jln(t,r1n))!==iI((min(),RWn))&&iI(jln(t,r1n))!==iI((min(),xWn))&&!ny(hL(jln(t,VZn)))&&iI(jln(t,HZn))===iI((e9(),Izn))||ny(hL(jln(i,UZn)))||(Aen(i,(Ojn(),IQn),d9(f)),++f),Qyn(n,i,e));for(f=0,s=new UO((!t.b&&(t.b=new mK(nct,t,12,3)),t.b));s.e!=s.i.gc();)u=Yx(hen(s),79),(iI(jln(t,(gjn(),XZn)))!==iI((k5(),W2n))||iI(jln(t,r1n))===iI((min(),RWn))||iI(jln(t,r1n))===iI((min(),xWn))||ny(hL(jln(t,VZn)))||iI(jln(t,HZn))!==iI((e9(),Izn)))&&(Aen(u,(Ojn(),IQn),d9(f)),++f),w=_un(u),d=Bun(u),h=ny(hL(jln(w,I1n))),b=!ny(hL(jln(u,r0n))),l=h&&Whn(u)&&ny(hL(jln(u,C1n))),c=IG(w)==t&&IG(w)==IG(d),a=(IG(w)==t&&d==t)^(IG(d)==t&&w==t),b&&!l&&(a||c)&&Ijn(n,u,t,e);if(IG(t))for(o=new UO(CH(IG(t)));o.e!=o.i.gc();)(w=_un(u=Yx(hen(o),79)))==t&&Whn(u)&&(l=ny(hL(jln(w,(gjn(),I1n))))&&ny(hL(jln(u,C1n))))&&Ijn(n,u,t,e)}(n,t,r),r}function Kvn(n,t,i,r){var c,a,u;if(this.j=new ip,this.k=new ip,this.b=new ip,this.c=new ip,this.e=new hC,this.i=new Nv,this.f=new cp,this.d=new ip,this.g=new ip,eD(this.b,n),eD(this.b,t),this.e.c=e.Math.min(n.a,t.a),this.e.d=e.Math.min(n.b,t.b),this.e.b=e.Math.abs(n.a-t.a),this.e.a=e.Math.abs(n.b-t.b),c=Yx(Aun(r,(gjn(),$1n)),74))for(u=Ztn(c,0);u.b!=u.d.c;)w1((a=Yx(IX(u),8)).a,n.a)&&_D(this.i,a);i&&eD(this.j,i),eD(this.k,r)}function Fvn(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(h=new hK(new rw(e)),xK(u=VQ(Vot,wSn,25,n.f.e.c.length,16,1),u.length),e[t.b]=0,s=new pb(n.f.e);s.as&&i>s)){r=!1,e.n&&LD(e,"bk node placement breaks on "+u+" which should have been after "+h);break}h=u,s=ty(t.p[u.p])+ty(t.d[u.p])+u.o.b+u.d.a}if(!r)break}return e.n&&LD(e,t+" is feasible: "+r),r}function Hvn(n,t,e,i){var r,c,a,u,o,s,h;if(e.d.i!=t.i){for(Al(r=new rin(n),(bon(),Bzn)),b5(r,(Ojn(),CQn),e),b5(r,(gjn(),g0n),(Ran(),oit)),i.c[i.c.length]=r,ZG(a=new Ion,r),whn(a,(Ikn(),qit)),ZG(u=new Ion,r),whn(u,Eit),h=e.d,QG(e,a),o4(c=new jq,e),b5(c,$1n,null),YG(c,u),QG(c,h),s=new JU(e.b,0);s.b=g&&n.e[s.p]>w*n.b||m>=i*g)&&(l.c[l.c.length]=o,o=new ip,C2(u,a),a.a.$b(),h-=f,b=e.Math.max(b,h*n.b+d),h+=m,v=m,m=0,f=0,d=0);return new mP(b,l)}function zvn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(e=new ub(new Zl(n.c.b).a.vc().Kc());e.a.Ob();)u=Yx(e.a.Pb(),42),null==(r=(t=Yx(u.dd(),149)).a)&&(r=""),!(i=EL(n.c,r))&&0==r.length&&(i=F8(n)),i&&!V7(i.c,t,!1)&&_D(i.c,t);for(a=Ztn(n.a,0);a.b!=a.d.c;)c=Yx(IX(a),478),s=hV(n.c,c.a),l=hV(n.c,c.b),s&&l&&_D(s.c,new mP(l,c.c));for(BH(n.a),f=Ztn(n.b,0);f.b!=f.d.c;)h=Yx(IX(f),478),t=jL(n.c,h.a),o=hV(n.c,h.b),t&&o&&sT(t,o,h.c);BH(n.b)}function Uvn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Mo,c=new Mo,null==(t=Hat).a.zc(n,t)){for(r=new UO(Iq(n));r.e!=r.i.gc();)jF(a,Uvn(Yx(hen(r),26)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new mK(tat,n,21,17)),i=new UO(n.s);i.e!=i.i.gc();)CO(e=Yx(hen(i),170),99)&&fY(c,Yx(e,18));B6(c),n.r=new ID(n,(Yx(c1(aq((YF(),gat).o),6),18),c.i),c.g),jF(a,n.r),B6(a),n.f=new HI((Yx(c1(aq(gat.o),5),18),a.i),a.g),bV(n).b&=-3}return n.f}function Xvn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w;for(a=n.o,i=VQ(Wot,MTn,25,a,15,1),r=VQ(Wot,MTn,25,a,15,1),e=n.p,t=VQ(Wot,MTn,25,e,15,1),c=VQ(Wot,MTn,25,e,15,1),s=0;s=0&&!Nin(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!Nin(n,u,w);)--u;c[w]=u}for(o=0;ot[l]&&li[o]&&cgn(n,o,l,!1,!0)}function Wvn(n){var t,e,i,r,c,a,u,o;e=ny(hL(Aun(n,(Bdn(),tGn)))),c=n.a.c.d,u=n.a.d.d,e?(a=_O(yN(new QS(u.a,u.b),c),.5),o=_O(dO(n.e),.5),t=yN(mN(new QS(c.a,c.b),a),o),x$(n.d,t)):(r=ty(fL(Aun(n.a,vGn))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function Vvn(n,t){var e,i,r,c,a,u,o;if(null==n)return null;if(0==(c=n.length))return"";for(o=VQ(Xot,sTn,25,c,15,1),YQ(0,c,n.length),YQ(0,c,o.length),aF(n,0,c,o,0),e=null,u=t,r=0,a=0;r0?l$(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function Qvn(n){uT(n,new tun(rk(nk(ik(ek(new du,uPn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new at))),DU(n,uPn,oPn,oen(Rqn)),DU(n,uPn,sPn,oen(Aqn)),DU(n,uPn,hPn,oen(Sqn)),DU(n,uPn,fPn,oen($qn)),DU(n,uPn,oSn,oen(xqn)),DU(n,uPn,sSn,oen(Nqn)),DU(n,uPn,uSn,oen(Dqn)),DU(n,uPn,hSn,oen(Lqn)),DU(n,uPn,ePn,oen(Iqn)),DU(n,uPn,iPn,oen(Pqn)),DU(n,uPn,rPn,oen(Cqn)),DU(n,uPn,cPn,oen(Oqn))}function Yvn(n,t,e,i){var r,c,a,u,o,s,h;if(Al(c=new rin(n),(bon(),qzn)),b5(c,(gjn(),g0n),(Ran(),oit)),r=0,t){for(b5(a=new Ion,(Ojn(),CQn),t),b5(c,CQn,t.i),whn(a,(Ikn(),qit)),ZG(a,c),s=0,h=(o=CU(t.e)).length;s=0&&l<=1&&b>=0&&b<=1?mN(new QS(n.a,n.b),_O(new QS(t.a,t.b),l)):null}function nmn(n){var t,i,r,c,a,u,o,s,h,f;for(s=new Jl(new Yl(Tfn(n)).a.vc().Kc());s.a.Ob();){for(r=Yx(s.a.Pb(),42),h=0,f=0,h=(o=Yx(r.cd(),10)).d.d,f=o.o.b+o.d.a,n.d[o.p]=0,t=o;(c=n.a[t.p])!=o;)i=jtn(t,c),0,u=n.c==(Jq(),w4n)?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=ty(n.d[t.p])+u,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=o;do{n.d[t.p]=ty(n.d[t.p])+h,t=n.a[t.p]}while(t!=o);n.b[o.p]=h+f}}function tmn(n){var t,i,r,c,a,u,o,s,h,f,l;for(n.b=!1,f=JTn,o=ZTn,l=JTn,s=ZTn,i=n.e.a.ec().Kc();i.Ob();)for(r=(t=Yx(i.Pb(),266)).a,f=e.Math.min(f,r.c),o=e.Math.max(o,r.c+r.b),l=e.Math.min(l,r.d),s=e.Math.max(s,r.d+r.a),a=new pb(t.c);a.a=($z(c,n.c.length),Yx(n.c[c],200)).e,!((s=omn(i,f,!1).a)>t.b&&!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,pY(e,Don(e,s))):(san(e.q,u),e.c=!0),pY(i,r-(e.s+e.r)),Qen(i,e.q.e+e.q.d,t.f),c0(t,i),n.c.length>c&&(acn(($z(c,n.c.length),Yx(n.c[c],200)),i),0==($z(c,n.c.length),Yx(n.c[c],200)).a.c.length&&_V(n,c)),h=!0),h))}function rmn(n,t,e,i){var r,c,a,u,o,s,h;if(h=dwn(n.e.Tg(),t),r=0,c=Yx(n.g,119),o=null,TT(),Yx(t,66).Oj()){for(u=0;u0?n.i:0)>t&&s>0&&(a=0,u+=s+n.i,c=e.Math.max(c,b),r+=s+n.i,s=0,b=0,i&&(++l,eD(n.n,new gG(n.s,u,n.i))),o=0),b+=h.g+(o>0?n.i:0),s=e.Math.max(s,h.f),i&&Cin(Yx(TR(n.n,l),211),h),a+=h.g+(o>0?n.i:0),++o;return c=e.Math.max(c,b),r+=s,i&&(n.r=c,n.d=r,Trn(n.j)),new mH(n.s,n.t,c,r)}function smn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(oE(),BK(n,"src"),BK(e,"dest"),l=V5(n),o=V5(e),kD(0!=(4&l.i),"srcType is not an array"),kD(0!=(4&o.i),"destType is not an array"),f=l.c,a=o.c,kD(0!=(1&f.i)?f==a:0==(1&a.i),"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw hp(new Cp);if(0==(1&f.i)&&l!=o)if(h=h1(n),c=h1(e),iI(n)===iI(e)&&ti;)DF(c,u,h[--t]);else for(u=i+r;i0&&hhn(n,t,e,i,r,!0)}function hmn(){hmn=O,mFn=x4(Gy(Wot,1),MTn,25,15,[nTn,1162261467,zEn,1220703125,362797056,1977326743,zEn,387420489,UTn,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,zEn,1291467969,1544804416,1838265625,60466176]),yFn=x4(Gy(Wot,1),MTn,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function fmn(n,t){var e,i,r,c,a;if(a=Yx(t,136),xln(n),xln(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=VQ(Wot,MTn,25,a.b.length,15,1),void smn(a.b,0,n.b,0,a.b.length);for(c=VQ(Wot,MTn,25,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&&(!(r=(!n.n&&(n.n=new mK(act,n,1,7)),Yx(c1(n.n,0),137)).a)||yI(yI((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new AN(Zrt,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",yI(t,lA(new Ty,new UO(n.b))),e&&(t.a+="]"),t.a+=pIn,e&&(t.a+="["),yI(t,lA(new Ty,new UO(n.c))),e&&(t.a+="]"),t.a)}function wmn(n,t){var e,i,r,c,a,u,o;if(n.a){if(o=null,null!=(u=n.a.ne())?t.a+=""+u:null!=(a=n.a.Dj())&&(-1!=(c=VI(a,gun(91)))?(o=a.substr(c),t.a+=""+l$(null==a?aEn:(vB(a),a),0,c)):t.a+=""+a),n.d&&0!=n.d.i){for(r=!0,t.a+="<",i=new UO(n.d);i.e!=i.i.gc();)e=Yx(hen(i),87),r?r=!1:t.a+=tEn,wmn(e,t);t.a+=">"}null!=o&&(t.a+=""+o)}else n.e?null!=(u=n.e.zb)&&(t.a+=""+u):(t.a+="?",n.b?(t.a+=" super ",wmn(n.b,t)):n.f&&(t.a+=" extends ",wmn(n.f,t)))}function dmn(n,t,e,i){var r,c,a,u,o,s;if(c=X9(i),!ny(hL(Aun(i,(gjn(),q1n))))&&!ny(hL(Aun(n,P1n)))||dC(Yx(Aun(n,g0n),98)))switch(ZG(u=new Ion,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,Hon(s,0,0,n.o.a,n.o.b),whn(u,Tpn(u,c))):(r=G7(c),whn(u,e==(h0(),i3n)?r:O9(r))),a=Yx(Aun(i,(Ojn(),bQn)),21),o=u.j,c.g){case 2:case 1:(o==(Ikn(),Tit)||o==Bit)&&a.Fc((edn(),OVn));break;case 4:case 3:(o==(Ikn(),Eit)||o==qit)&&a.Fc((edn(),OVn))}else r=G7(c),u=vpn(n,e,e==(h0(),i3n)?r:O9(r));return u}function gmn(n,t,i){var r,c,a,u,o,s,h;return e.Math.abs(t.s-t.c)h?new wz((iQ(),K4n),i,t,s-h):s>0&&h>0&&(new wz((iQ(),K4n),t,i,0),new wz(K4n,i,t,0))),a)}function pmn(n,t){var i,r,c,a,u;for(u=new t6(new Ql(n.f.b).a);u.b;){if(c=Yx((a=s1(u)).cd(),594),1==t){if(c.gf()!=(t9(),eet)&&c.gf()!=Jtt)continue}else if(c.gf()!=(t9(),Ztt)&&c.gf()!=net)continue;switch(r=Yx(Yx(a.dd(),46).b,81),i=Yx(Yx(a.dd(),46).a,189).c,c.gf().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 vmn(n,t){var e,i,r,c,a,u,o,s,f,l,b;for(i=new $_(bA(lbn(t).a.Kc(),new h));Vfn(i);)CO(c1((!(e=Yx(kV(i),79)).b&&(e.b=new AN(Zrt,e,4,7)),e.b),0),186)||(o=iun(Yx(c1((!e.c&&(e.c=new AN(Zrt,e,5,8)),e.c),0),82)),Rfn(e)||(a=t.i+t.g/2,u=t.j+t.f/2,f=o.i+o.g/2,l=o.j+o.f/2,(b=new Pk).a=f-a,b.b=l-u,Ecn(c=new QS(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,u=l-b.b,Ecn(s=new QS(b.a,b.b),o.g,o.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=u+b.b,x1(r=Ywn(e,!0,!0),a),R1(r,u),O1(r,f),D1(r,l),vmn(n,o)))}function mmn(n){uT(n,new tun(rk(nk(ik(ek(new du,J$n),"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 tu))),DU(n,J$n,Z$n,oen(x9n)),DU(n,J$n,nLn,oen($9n)),DU(n,J$n,tLn,oen(A9n)),DU(n,J$n,eLn,oen(C9n)),DU(n,J$n,iLn,oen(O9n)),DU(n,J$n,fPn,I9n),DU(n,J$n,LPn,8),DU(n,J$n,rLn,oen(N9n)),DU(n,J$n,cLn,oen(T9n)),DU(n,J$n,aLn,oen(M9n)),DU(n,J$n,oAn,(TA(),!1))}function ymn(n,t,e){var i,r,c,a,u,o,s,h;return i=n.a.o==(RG(),m4n)?JTn:ZTn,!(u=xpn(n,new TS(t,e))).a&&u.c?(_D(n.d,u),i):u.a?(r=u.a.c,o=u.a.d,e?(s=n.a.c==(Jq(),d4n)?o:r,c=n.a.c==d4n?r:o,a=n.a.g[c.i.p],h=ty(n.a.p[a.p])+ty(n.a.d[c.i.p])+c.n.b+c.a.b-ty(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(Jq(),w4n)?o:r,c=n.a.c==w4n?r:o,h=ty(n.a.p[n.a.g[c.i.p].p])+ty(n.a.d[c.i.p])+c.n.b+c.a.b-ty(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(TA(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h):i}function kmn(n,t,e){var i,r,c,a,u,o,s;if(Lwn(n.e,t))TT(),kfn((u=Yx(t,66).Oj()?new cR(t,n):new VP(t,n)).c,u.b),TO(u,Yx(e,14));else{for(s=dwn(n.e.Tg(),t),i=Yx(n.g,119),c=0;cn.o.b)return!1;if(e=i7(n,Eit),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function Smn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return e=Gz(n.a[0],uMn),i=Gz(t.a[0],uMn),a==o?(w=WR(h=t7(e,i)),0==(b=WR(U_(h,32)))?new wQ(a,w):new CK(a,2,x4(Gy(Wot,1),MTn,25,15,[w,b]))):Utn(a<0?n7(i,e):n7(e,i));if(a==o)l=a,f=c>=u?WQ(n.a,c,t.a,u):WQ(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:w6(n.a,t.a,c)))return bdn(),pFn;1==r?(l=a,f=GV(n.a,c,t.a,u)):(l=o,f=GV(t.a,u,n.a,c))}return SU(s=new CK(l,f.length,f)),s}function Pmn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w;return l=ny(hL(Aun(t,(gjn(),G1n)))),b=null,a==(h0(),e3n)&&r.c.i==i?b=r.c:a==i3n&&r.d.i==i&&(b=r.d),(h=u)&&l&&!b?(eD(h.e,r),w=e.Math.max(ty(fL(Aun(h.d,y1n))),ty(fL(Aun(r,y1n)))),b5(h.d,y1n,w)):(Ikn(),f=Hit,b?f=b.j:dC(Yx(Aun(i,g0n),98))&&(f=a==e3n?qit:Eit),s=function(n,t,e,i,r,c){var a,u,o,s,h,f;return a=null,s=i==(h0(),e3n)?c.c:c.d,o=X9(t),s.i==e?(a=Yx(BF(n.b,s),10))||(b5(a=Jkn(s,Yx(Aun(e,(gjn(),g0n)),98),r,function(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=ny(hL(Aun(u=n.i,(gjn(),I1n)))),h=0,i=0,s=new pb(n.g);s.a=n.b[r+1])r+=2;else{if(!(e=eMn?pI(e,U9(i)):_F(e,i&fTn),c=new nG(10,null,0),function(n,t,e){iK(e,n.a.c.length),QW(n.a,e,t)}(n.a,c,a-1)):(c.bm().length,pI(e=new Oy,c.bm())),0==t.e?(i=t._l())>=eMn?pI(e,U9(i)):_F(e,i&fTn):pI(e,t.bm()),Yx(c,521).b=e.a):Up(n.a,t);else for(r=0;r0&&k8(r,-6)>=0){if(k8(r,0)>=0){for(c=e+WR(r),u=h-1;u>=c;u--)f[u+1]=f[u];return f[++c]=46,o&&(f[--e]=45),Vnn(f,e,h-e+1)}for(a=2;LT(a,t7(sJ(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,o&&(f[--e]=45),Vnn(f,e,h-e)}return w=e+1,i=h,l=new $y,o&&(l.a+="-"),i-w>=1?(KF(l,f[e]),l.a+=".",l.a+=Vnn(f,e+1,h-e-1)):l.a+=Vnn(f,e,h-e),l.a+="E",k8(r,0)>0&&(l.a+="+"),l.a+=""+H_(r),l.a}(D3(n.f),oG(n.e)),n.g):(r=pjn((!n.c&&(n.c=J6(n.f)),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=J6(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new Ay).a+=""+r,n.e>0&&i>=-6?i>=0?UG(c,e-oG(n.e),String.fromCharCode(46)):(c.a=l$(c.a,0,t-1)+"0."+lI(c.a,t-1),UG(c,t+1,Vnn(rFn,0,-oG(i)-1))):(e-t>=1&&(UG(c,t,String.fromCharCode(46)),++e),UG(c,e,String.fromCharCode(69)),i>0&&UG(c,++e,String.fromCharCode(43)),UG(c,++e,""+H_(D3(i)))),n.g=c.a,n.g))}function Kmn(n,t,i){var r,c,a;if((c=Yx(Aun(t,(gjn(),BZn)),275))!=(uon(),mVn)){switch(run(i,"Horizontal Compaction",1),n.a=t,function(n,t){n.g=t}(r=new wfn(((a=new dJ).d=t,a.c=Yx(Aun(a.d,b1n),218),function(n){var t,e,i,r,c,a,u;for(t=!1,e=0,r=new pb(n.d.b);r.a0&&Y4(o,!0,(t9(),net)),a.k==(bon(),Kzn)&&QB(o),xB(n.f,a,t)):((s=(i=Yx(fq(a7(a)),17)).c.i)==a&&(s=i.d.i),f=new mP(s,yN(dO(a.n),s.n)),xB(n.b,a,f))}(a),Fdn(a),a.a)),n.b),1===Yx(Aun(t,FZn),422).g?Uy(r,new a2(n.a)):Uy(r,(VH(),MBn)),c.g){case 1:Kln(r);break;case 2:Kln(ekn(r,(t9(),net)));break;case 3:Kln(zy(ekn(Kln(r),(t9(),net)),new gr));break;case 4:Kln(zy(ekn(Kln(r),(t9(),net)),new Gw(a)));break;case 5:Kln(function(n,t){return n.b=t,n}(r,IXn))}ekn(r,(t9(),Ztt)),r.e=!0,function(n){var t,i,r,c;for(SE(hH(new SR(null,new Nz(n.a.b,16)),new yr),new kr),function(n){var t,e,i,r,c;for(i=new t6(new Ql(n.b).a);i.b;)t=Yx((e=s1(i)).cd(),10),c=Yx(Yx(e.dd(),46).a,10),r=Yx(Yx(e.dd(),46).b,8),mN(OI(t.n),mN(dO(c.n),r))}(n),SE(hH(new SR(null,new Nz(n.a.b,16)),new jr),new Er),n.c==(g7(),bet)&&(SE(hH(WJ(new SR(null,new Nz(new Yl(n.f),1)),new Tr),new Mr),new Ww(n)),SE(hH(fH(WJ(WJ(new SR(null,new Nz(n.d.b,16)),new Sr),new Pr),new Ir),new Cr),new Qw(n))),c=new QS(JTn,JTn),t=new QS(ZTn,ZTn),r=new pb(n.a.b);r.a1&&(s=h.mg(s,n.a,o));return 1==s.c.length?Yx(TR(s,s.c.length-1),220):2==s.c.length?function(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p;return a=n.f,f=t.f,u=a==(xbn(),V8n)||a==Y8n,o=a==Q8n||a==V8n,l=f==Q8n||f==V8n,!u||f!=V8n&&f!=Y8n?a!=Q8n&&a!=J8n||f!=Q8n&&f!=J8n?o&&l?(a==Q8n?(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==Q8n?n:t:n.f==V8n?n:t):n:n.f==J8n?n:t:n.f==Y8n?n:t}(($z(0,s.c.length),Yx(s.c[0],220)),($z(1,s.c.length),Yx(s.c[1],220)),u,a):null}function Bmn(n){var t,i,r,c,a,u;for(WZ(n.a,new nt),i=new pb(n.a);i.a=e.Math.abs(r.b)?(r.b=0,a.d+a.a>u.d&&a.du.c&&a.c0){if(t=new QP(n.i,n.g),c=(e=n.i)<100?null:new Ek(e),n.ij())for(i=0;i0){for(u=n.g,s=n.i,xV(n),c=s<100?null:new Ek(s),i=0;i4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=Yx(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg())for(r=0;r0)if(t=new t3(n.Gi()),c=(e=h)<100?null:new Ek(e),NL(n,e,t.g),r=1==e?n.Zi(4,c1(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new UO(t);i.e!=i.i.gc();)c=n.dj(hen(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r);else NL(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(XH(),TFn),null,-1,o));else if(n.bj())if((h=n.Vi())>0){for(u=n.Wi(),s=h,NL(n,h,u),c=s<100?null:new Ek(s),i=0;i2*c?(h=new e1(f),s=DR(a)/xR(a),o=njn(h,t,new Sv,e,i,r,s),mN(OI(h.e),o),f.c=VQ(U_n,iEn,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=DR(h)*xR(h)+DR(a)*xR(a)):(f.c[f.c.length]=a,c+=DR(a)*xR(a));return f}(u,t,f.a,f.b,(s=r,vB(c),s));break;case 1:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(XH(),JC(n,new zu),a=nD(n),b=new ip,l=new ip,u=null,o=0;0!=a.b;)c=Yx(0==a.b?null:(S$(0!=a.b),VZ(a,a.a.a)),157),!u||DR(u)*xR(u)/21&&(o>DR(u)*xR(u)/2||0==a.b)&&(f=new e1(l),h=DR(u)/xR(u),s=njn(f,t,new Sv,e,i,r,h),mN(OI(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=VQ(U_n,iEn,1,0,5,1)));return S4(b,l),b}(u,t,f.a,f.b,(h=r,vB(c),h));break;default:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=VQ(Jot,rMn,25,n.c.length,15,1),Xrn(l=new hK(new Uu),n),s=0,b=new ip;0!=l.b.c.length;)if(a=Yx(0==l.b.c.length?null:TR(l.b,0),157),s>1&&DR(a)*xR(a)/2>u[0]){for(c=0;cu[c];)++c;f=new e1(new Oz(b,0,c+1)),h=DR(a)/xR(a),o=njn(f,t,new Sv,e,i,r,h),mN(OI(f.e),o),JQ(mun(l,f)),Xrn(l,new Oz(b,c+1,b.c.length)),b.c=VQ(U_n,iEn,1,0,5,1),s=0,n_(u,u.length,0)}else null!=(0==l.b.c.length?null:TR(l.b,0))&&e2(l,0),s>0&&(u[s]=u[s-1]),u[s]+=DR(a)*xR(a),++s,b.c[b.c.length]=a;return b}(u,t,f.a,f.b,(o=r,vB(c),o))}xkn(n,(b=njn(new e1(w),t,i,f.a,f.b,r,(vB(c),c))).a,b.b,!1,!0)}function Qmn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(c=0,a=0,s=new pb(n.a);s.a.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=u.d.b)&&(p=r),d=u.d.c,p>g.a-d-h&&(p=g.a-d-h),u.n.a=t+p}}function Ymn(n,t){var e,i,r,c,a,u,o,s,h;return s="",0==t.length?n.de(oTn,aTn,-1,-1):(KN((h=Wun(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=Wun(h.substr(a+1)),h=Wun(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=Wun(h.substr(0,a))),-1!=(a=VI(h,gun(46)))&&(h=h.substr(a+1)),(0==h.length||KN(h,"Anonymous function"))&&(h=aTn),u=LA(s,gun(58)),r=qN(s,gun(58),u-1),o=-1,i=-1,c=oTn,-1!=u&&-1!=r&&(c=s.substr(0,r),o=f$(s.substr(r+1,u-(r+1))),i=f$(s.substr(u+1))),n.de(c,h,o,i))}function Jmn(n,t,e){var i,r,c,a,u,o;if(0==t.l&&0==t.m&&0==t.h)throw hp(new Bm("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return e&&(PKn=rO(0,0,0)),rO(0,0,0);if(t.h==qTn&&0==t.m&&0==t.l)return function(n,t){return n.h==qTn&&0==n.m&&0==n.l?(t&&(PKn=rO(0,0,0)),JI((LJ(),OKn))):(t&&(PKn=rO(n.l,n.m,n.h)),rO(0,0,0))}(n,e);if(o=!1,t.h>>19!=0&&(t=h5(t),o=!o),a=function(n){var t,e,i;return 0!=((e=n.l)&e-1)||0!=((i=n.m)&i-1)||0!=((t=n.h)&t-1)||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?m0(e):0==t&&0!=i&&0==e?m0(i)+22:0!=t&&0==i&&0==e?m0(t)+44:-1}(t),c=!1,r=!1,i=!1,n.h==qTn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=tln(n,a),o&&A5(u),e&&(PKn=rO(0,0,0)),u;n=JI((LJ(),IKn)),i=!0,o=!o}else n.h>>19!=0&&(c=!0,n=h5(n),i=!0,o=!o);return-1!=a?K5(n,a,o,c,e):gcn(n,t)<0?(e&&(PKn=c?h5(n):rO(n.l,n.m,n.h)),rO(0,0,0)):function(n,t,e,i,r,c){var a,u,o,s,h,f;for(a=don(t,o=E5(t)-E5(n)),u=rO(0,0,0);o>=0&&(!Irn(n,a)||(o<22?u.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&A5(u),c&&(i?(PKn=h5(n),r&&(PKn=y4(PKn,(LJ(),OKn)))):PKn=rO(n.l,n.m,n.h)),u}(i?n:rO(n.l,n.m,n.h),t,o,c,r,e)}function Zmn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(n.e&&n.c.ct.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=Yx(a.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=Yx(u.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=Yx(o.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,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=Yx(c.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return r=function(n,t){var e;if(CO(e=Ybn(n.Tg(),t),99))return Yx(e,18);throw hp(new Qm(mNn+t+"' is not a valid reference"))}(n,t.substr(1,c-1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(o=new ip,f=t.length,a=O5(e),s=0;s=0?n._g(s,!1,!0):tfn(n,e,!1),58).Kc();c.Ob();){for(r=Yx(c.Pb(),56),h=0;h=0){i=Yx(TV(n,UZ(n,t.substr(1,e-1)),!1),58),o=0;try{o=ipn(t.substr(e+1),nTn,Yjn)}catch(n){throw CO(n=j4(n),127)?hp(new mJ(n)):hp(n)}if(o=0)return e;switch(TB(PJ(n,e))){case 2:if(KN("",U8(n,e.Hj()).ne())){if(o=$ln(n,t,u=tH(PJ(n,e)),nH(PJ(n,e))))return o;for(a=0,s=(r=Agn(n,t)).gc();a1,h=new UV(b.b);ZC(h.a)||ZC(h.b);)l=(s=Yx(ZC(h.a)?Hz(h.a):Hz(h.b),17)).c==b?s.d:s.c,e.Math.abs($5(x4(Gy(B7n,1),TEn,8,0,[l.i.n,l.n,l.a])).b-u.b)>1&&jwn(n,s,u,a,b)}}function ayn(){ayn=O,$ut=(Kk(),Aut).b,xut=Yx(c1(aq(Aut.b),0),34),Lut=Yx(c1(aq(Aut.b),1),34),Nut=Yx(c1(aq(Aut.b),2),34),zut=Aut.bb,Yx(c1(aq(Aut.bb),0),34),Yx(c1(aq(Aut.bb),1),34),Xut=Aut.fb,Wut=Yx(c1(aq(Aut.fb),0),34),Yx(c1(aq(Aut.fb),1),34),Yx(c1(aq(Aut.fb),2),18),Qut=Aut.qb,Zut=Yx(c1(aq(Aut.qb),0),34),Yx(c1(aq(Aut.qb),1),18),Yx(c1(aq(Aut.qb),2),18),Yut=Yx(c1(aq(Aut.qb),3),34),Jut=Yx(c1(aq(Aut.qb),4),34),tot=Yx(c1(aq(Aut.qb),6),34),not=Yx(c1(aq(Aut.qb),5),18),Dut=Aut.j,Rut=Aut.k,_ut=Aut.q,Kut=Aut.w,Fut=Aut.B,But=Aut.A,Hut=Aut.C,qut=Aut.D,Gut=Aut._,Uut=Aut.cb,Vut=Aut.hb}function uyn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,j6(n,null)):(n.F=(vB(t),t),-1!=(i=VI(t,gun(60)))?(r=t.substr(0,i),-1==VI(t,gun(46))&&!KN(r,Xjn)&&!KN(r,BDn)&&!KN(r,HDn)&&!KN(r,qDn)&&!KN(r,GDn)&&!KN(r,zDn)&&!KN(r,UDn)&&!KN(r,XDn)&&(r=WDn),-1!=(e=LA(t,gun(62)))&&(r+=""+t.substr(e+1)),j6(n,r)):(r=t,-1==VI(t,gun(46))&&(-1!=(i=VI(t,gun(91)))&&(r=t.substr(0,i)),KN(r,Xjn)||KN(r,BDn)||KN(r,HDn)||KN(r,qDn)||KN(r,GDn)||KN(r,zDn)||KN(r,UDn)||KN(r,XDn)?r=t:(r=WDn,-1!=i&&(r+=""+t.substr(i)))),j6(n,r),r==t&&(n.F=n.D))),0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new pK(n,1,5,c,t))}function oyn(n,t){var e;if(null==t||KN(t,aEn))return null;if(0==t.length&&n.k!=(lsn(),A7n))return null;switch(n.k.g){case 1:return vtn(t,kLn)?(TA(),LKn):vtn(t,jLn)?(TA(),$Kn):null;case 2:try{return d9(ipn(t,nTn,Yjn))}catch(n){if(CO(n=j4(n),127))return null;throw hp(n)}case 4:try{return gon(t)}catch(n){if(CO(n=j4(n),127))return null;throw hp(n)}case 3:return t;case 5:return F6(n),Ghn(n,t);case 6:return F6(n),function(n,t,e){var i,r,c,a,u,o,s;for(s=new cx(i=Yx(t.e&&t.e(),9),Yx(eN(i,i.length),9),0),a=0,u=(c=Ogn(e,"[\\[\\]\\s,]+")).length;a-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&ny(hL(t))!=hI(n.k,0);case 1:return null!=t&&Yx(t,217).a!=WR(n.k)<<24>>24;case 2:return null!=t&&Yx(t,172).a!=(WR(n.k)&fTn);case 6:return null!=t&&hI(Yx(t,162).a,n.k);case 5:return null!=t&&Yx(t,19).a!=WR(n.k);case 7:return null!=t&&Yx(t,184).a!=WR(n.k)<<16>>16;case 3:return null!=t&&ty(fL(t))!=n.j;case 4:return null!=t&&Yx(t,155).a!=n.j;default:return null==t?null!=n.n:!Q8(t,n.n)}}function hyn(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&iI(a=uK(n,Yx(e,56)))!==iI(e)?(n.Oi(t),n.Ui(t,$Y(n,0,a)),n.rk()&&(r=Yx(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,nin(Yx(CZ(Cq(n.b),n.aj()),18)).n,Yx(CZ(Cq(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,tnn(r.Tg(),nin(Yx(CZ(Cq(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),!Yx(a,49).eh()&&(i=Yx(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,nin(Yx(CZ(Cq(n.b),n.aj()),18)).n,Yx(CZ(Cq(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,tnn(i.Tg(),nin(Yx(CZ(Cq(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),gC(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function fyn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=ty(fL(Aun(n,(gjn(),R0n)))),r=ty(fL(Aun(n,Y0n))),b5(b=new Yu,R0n,f+r),v=(h=t).d,g=h.c.i,m=h.d.i,p=eC(g.c),y=eC(m.c),c=new ip,l=p;l<=y;l++)Al(o=new rin(n),(bon(),Bzn)),b5(o,(Ojn(),CQn),h),b5(o,g0n,(Ran(),oit)),b5(o,K0n,b),w=Yx(TR(n.b,l),29),l==p?Hrn(o,w.a.c.length-i,w):JG(o,w),(k=ty(fL(Aun(h,y1n))))<0&&b5(h,y1n,k=0),o.o.b=k,d=e.Math.floor(k/2),whn(u=new Ion,(Ikn(),qit)),ZG(u,o),u.n.b=d,whn(s=new Ion,Eit),ZG(s,o),s.n.b=d,QG(h,u),o4(a=new jq,h),b5(a,$1n,null),YG(a,s),QG(a,v),jcn(o,h,a),c.c[c.c.length]=a,h=a;return c}function lyn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(u=Yx($on(n,(Ikn(),qit)).Kc().Pb(),11).e,f=Yx($on(n,Eit).Kc().Pb(),11).g,a=u.c.length,g=Dz(Yx(TR(n.j,0),11));a-- >0;){for($z(0,u.c.length),b=Yx(u.c[0],17),$z(0,f.c.length),r=hJ((i=Yx(f.c[0],17)).d.e,i,0),eX(b,i.d,r),YG(i,null),QG(i,null),l=b.a,t&&_D(l,new fC(g)),e=Ztn(i.a,0);e.b!=e.d.c;)_D(l,new fC(Yx(IX(e),8)));for(d=b.b,h=new pb(i.b);h.a0&&(u=e.Math.max(u,X2(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),u=e.Math.max(u,(XC(),o0(SSn),e.Math.abs(l-1)<=SSn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),i.n.b=0,i.a.a=u}function wyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w;if(i=Yx(GB(n.b,t),124),(s=Yx(Yx(KV(n.r,t),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(h=n.u.Hc((Chn(),pit)),u=0,n.A.Hc((Ann(),nrt))&&Wdn(n,t),o=s.Kc(),f=null,b=0,l=0;o.Ob();)a=ty(fL((r=Yx(o.Pb(),111)).b.We((XA(),XHn)))),c=r.b.rf().b,f?(w=l+f.d.a+n.w+r.d.d,u=e.Math.max(u,(XC(),o0(SSn),e.Math.abs(b-a)<=SSn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(u=e.Math.max(u,X2(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),u=e.Math.max(u,(XC(),o0(SSn),e.Math.abs(b-1)<=SSn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),i.n.d=0,i.a.b=u}function dyn(n,t,e){var i,r,c,a,u,o;for(this.g=n,u=t.d.length,o=e.d.length,this.d=VQ(Gzn,kIn,10,u+o,0,1),a=0;a0?u1(this,this.f/this.a):null!=NO(t.g,t.d[0]).a&&null!=NO(e.g,e.d[0]).a?u1(this,(ty(NO(t.g,t.d[0]).a)+ty(NO(e.g,e.d[0]).a))/2):null!=NO(t.g,t.d[0]).a?u1(this,NO(t.g,t.d[0]).a):null!=NO(e.g,e.d[0]).a&&u1(this,NO(e.g,e.d[0]).a)}function gyn(n,t){var e,i,r,c,a,u,o,s,h;for(n.a=new HF(function(n){var t;return new cx(t=Yx(n.e&&n.e(),9),Yx(rF(t,t.length),9),t.length)}(oet)),i=new pb(t.a);i.a=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,b5(n,(gjn(),n0n),(Ann(),new cx(i=Yx(Ak(lrt),9),Yx(eN(i,i.length),9),0)))}function myn(n){var t,e,i,r,c,a,u,o,s,h;for(i=new ip,a=new pb(n.e.a);a.a1)for(d=VQ(Wot,MTn,25,n.b.b.c.length,15,1),f=0,h=new pb(n.b.b);h.a=u&&r<=o)u<=r&&c<=o?(e[h++]=r,e[h++]=c,i+=2):u<=r?(e[h++]=r,e[h++]=o,n.b[i]=o+1,a+=2):c<=o?(e[h++]=u,e[h++]=c,i+=2):(e[h++]=u,e[h++]=o,n.b[i]=o+1);else{if(!(oZEn)&&o<10);Yy(n.c,new Et),jyn(n),function(n){ikn(n,(t9(),Ztt)),n.d=!0}(n.c),function(n){var t,i,r,c,a,u,o,s;for(a=new pb(n.a.b);a.a=2){for(a=Yx(IX(o=Ztn(e,0)),8),u=Yx(IX(o),8);u.a0&&eD(n.p,l),eD(n.o,l);d=s+(t-=r),f+=t*n.e,QW(n.a,o,d9(d)),QW(n.b,o,f),n.j=e.Math.max(n.j,d),n.k=e.Math.max(n.k,f),n.d+=t,t+=p}}(n),n.q=Yx(Aun(t,(gjn(),F1n)),260),l=Yx(Aun(n.g,K1n),19).a,a=new hi,n.q.g){case 2:case 1:default:Amn(n,a);break;case 3:for(n.q=(Kbn(),G2n),Amn(n,a),s=0,o=new pb(n.a);o.an.j&&(n.q=_2n,Amn(n,a));break;case 4:for(n.q=(Kbn(),G2n),Amn(n,a),f=0,c=new pb(n.b);c.an.k&&(n.q=B2n,Amn(n,a));break;case 6:Amn(n,new Aw(oG(e.Math.ceil(n.f.length*l/100))));break;case 5:Amn(n,new $w(oG(e.Math.ceil(n.d*l/100))))}(function(n,t){var e,i,r,c,a,u;for(r=new ip,e=0;e<=n.i;e++)(i=new qF(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new pb(n.o);u.a=e}(this.k)}function Oyn(n,t){var e,i,r,c,a,u,o,s,f;for(u=!0,r=0,o=n.f[t.p],s=t.o.b+n.n,e=n.c[t.p][2],QW(n.a,o,d9(Yx(TR(n.a,o),19).a-1+e)),QW(n.b,o,ty(fL(TR(n.b,o)))-s+e*n.e),++o>=n.i?(++n.i,eD(n.a,d9(1)),eD(n.b,s)):(i=n.c[t.p][1],QW(n.a,o,d9(Yx(TR(n.a,o),19).a+1-i)),QW(n.b,o,ty(fL(TR(n.b,o)))+s-i*n.e)),(n.q==(Kbn(),_2n)&&(Yx(TR(n.a,o),19).a>n.j||Yx(TR(n.a,o-1),19).a>n.j)||n.q==B2n&&(ty(fL(TR(n.b,o)))>n.k||ty(fL(TR(n.b,o-1)))>n.k))&&(u=!1),c=new $_(bA(u7(t).a.Kc(),new h));Vfn(c);)a=Yx(kV(c),17).c.i,n.f[a.p]==o&&(r+=Yx((f=Oyn(n,a)).a,19).a,u=u&&ny(hL(f.b)));return n.f[t.p]=o,new mP(d9(r+=n.c[t.p][0]),(TA(),!!u))}function Ayn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(l=new rp,u=new ip,jhn(n,i,n.d.fg(),u,l),jhn(n,r,n.d.gg(),u,l),n.b=.2*(g=dln(WJ(new SR(null,new Nz(u,16)),new Sa)),p=dln(WJ(new SR(null,new Nz(u,16)),new Pa)),e.Math.min(g,p)),a=0,o=0;o=2&&(v=Nbn(u,!0,b),!n.e&&(n.e=new xd(n)),btn(n.e,v,u,n.b)),Han(u,b),function(n){var t,i,r,c,a,u,o,s,h;for(s=new ip,u=new ip,a=new pb(n);a.a-1){for(c=new pb(u);c.a0||(Fl(o,e.Math.min(o.o,r.o-1)),Kl(o,o.i-1),0==o.i&&(u.c[u.c.length]=o))}}(u),w=-1,f=new pb(u);f.ae))}(n)&&(i=(iI(Aun(n,E1n))===iI($et)?Yx(Aun(n,YZn),292):Yx(Aun(n,JZn),292))==(r4(),DVn)?($jn(),YUn):($jn(),fXn),oR(t,($un(),nzn),i)),Yx(Aun(n,c2n),377).g){case 1:oR(t,($un(),nzn),($jn(),sXn));break;case 2:y_(oR(oR(t,($un(),ZGn),($jn(),sUn)),nzn,hUn),tzn,fUn)}return iI(Aun(n,XZn))!==iI((k5(),W2n))&&oR(t,($un(),ZGn),($jn(),hXn)),t}(t)),b5(t,KQn,Zmn(n.a,t))}function Lyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(h=JTn,f=JTn,o=ZTn,s=ZTn,b=new pb(t.i);b.a=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[h++]=r,e[h++]=u-1,i+=2):(e[h++]=r,e[h++]=u-1,n.b[i]=o+1,a+=2);else{if(!(o0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(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,o,a,h=new nY(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=o.a[1],n.b&&(n.b.b=!1),e.b}function Byn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(i)for(r=-1,f=new JU(t,0);f.b0&&0==e.c&&(!t&&(t=new ip),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=Yx(_V(t,0),233)).b&&e.b.c.length>0)for(!e.b&&(e.b=new ip),c=new pb(e.b);c.ahJ(n,e,0))return new mP(r,e)}else if(ty(NO(r.g,r.d[0]).a)>ty(NO(e.g,e.d[0]).a))return new mP(r,e);for(u=(!e.e&&(e.e=new ip),e.e).Kc();u.Ob();)!(a=Yx(u.Pb(),233)).b&&(a.b=new ip),iz(0,(o=a.b).c.length),GT(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}function qyn(n,t){var e,i,r,c,a,u;if(null==n)return aEn;if(null!=t.a.zc(n,t))return"[...]";for(e=new J3(tEn,"[","]"),c=0,a=(r=n).length;c=14&&u<=16?CO(i,177)?HV(e,ohn(Yx(i,177))):CO(i,190)?HV(e,_an(Yx(i,190))):CO(i,195)?HV(e,jon(Yx(i,195))):CO(i,2012)?HV(e,Kan(Yx(i,2012))):CO(i,48)?HV(e,uhn(Yx(i,48))):CO(i,364)?HV(e,Ahn(Yx(i,364))):CO(i,832)?HV(e,ahn(Yx(i,832))):CO(i,104)&&HV(e,chn(Yx(i,104))):t.a._b(i)?(e.a?yI(e.a,e.b):e.a=new SA(e.d),vI(e.a,"[...]")):HV(e,qyn(h1(i),new kR(t))):HV(e,null==i?aEn:I7(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function Gyn(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;for(w=_on(Ywn(t,!1,!1)),r&&(w=U5(w)),g=ty(fL(jln(t,(len(),Aqn)))),S$(0!=w.b),b=Yx(w.a.a.c,8),h=Yx(ken(w,1),8),w.b>2?(S4(s=new ip,new Oz(w,1,w.b)),o4(d=new eln(yjn(s,g+n.a)),t),i.c[i.c.length]=d):d=Yx(BF(n.b,r?_un(t):Bun(t)),266),u=_un(t),r&&(u=Bun(t)),a=function(n,t){var i,r,c;return c=wPn,Pen(),r=bqn,c=e.Math.abs(n.b),(i=e.Math.abs(t.f-n.b))>16==-10?e=Yx(n.Cb,284).nk(t,e):n.Db>>16==-15&&(!t&&(xjn(),t=Pat),!u&&(xjn(),u=Pat),n.Cb.nh()&&(a=new yJ(n.Cb,1,13,u,t,Ren(IJ(Yx(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(CO(n.Cb,88))n.Db>>16==-23&&(CO(t,88)||(xjn(),t=Oat),CO(u,88)||(xjn(),u=Oat),n.Cb.nh()&&(a=new yJ(n.Cb,1,10,u,t,Ren(tW(Yx(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(CO(n.Cb,444))for(!(c=Yx(n.Cb,836)).b&&(c.b=new Xg(new Wv)),r=new Wg(new t6(new Ql(c.b.a).a));r.a.b;)e=zyn(i=Yx(s1(r.a).cd(),87),dbn(i,c),e);return e}function Uyn(n){var t,i,r,c,a,u,o,s,h,f,l,b;if((b=Yx(jln(n,(Cjn(),Jnt)),21)).dc())return null;if(o=0,u=0,b.Hc((Ann(),Zit))){for(f=Yx(jln(n,ktt),98),r=2,i=2,c=2,a=2,t=IG(n)?Yx(jln(IG(n),Pnt),103):Yx(jln(n,Pnt),103),h=new UO((!n.c&&(n.c=new mK(oct,n,9,9)),n.c));h.e!=h.i.gc();)if(s=Yx(hen(h),118),(l=Yx(jln(s,Itt),61))==(Ikn(),Hit)&&(l=Zpn(s,t),Aen(s,Itt,l)),f==(Ran(),oit))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}o=e.Math.max(r,c),u=e.Math.max(i,a)}return xkn(n,o,u,!0,!0)}function Xyn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(m=Yx(kW(HZ(hH(new SR(null,new Nz(t.d,16)),new td(i)),new ed(i)),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[(C6(),aBn)]))),15),l=Yjn,f=nTn,s=new pb(t.b.j);s.a0)?s&&(h=d.p,a?++h:--h,f=!(Rbn(i=o5(Yx(TR(d.c.a,h),10)),y,e[0])||rK(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p0&&(t.a+=tEn),Jyn(Yx(hen(a),160),t);for(t.a+=pIn,u=new a$((!i.c&&(i.c=new AN(Zrt,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=tEn),Jyn(Yx(hen(u),160),t);t.a+=")"}}}function Zyn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(c=Yx(Aun(n,(Ojn(),CQn)),79)){for(i=n.a,mN(r=new fC(e),function(n){var t,e,i,r;if(r=Yx(Aun(n,(Ojn(),nQn)),37)){for(i=new Pk,t=dB(n.c.i);t!=r;)t=dB(e=t.e),$$(mN(mN(i,e.n),t.c),t.d.b,t.d.d);return i}return nUn}(n)),K3(n.d.i,n.c.i)?(l=n.c,yN(f=$5(x4(Gy(B7n,1),TEn,8,0,[l.n,l.a])),e)):f=Dz(n.c),VW(i,f,i.a,i.a.a),b=Dz(n.d),null!=Aun(n,YQn)&&mN(b,Yx(Aun(n,YQn),8)),VW(i,b,i.c.b,i.c),o1(i,r),L0(a=Ywn(c,!0,!0),Yx(c1((!c.b&&(c.b=new AN(Zrt,c,4,7)),c.b),0),82)),N0(a,Yx(c1((!c.c&&(c.c=new AN(Zrt,c,5,8)),c.c),0),82)),wvn(i,a),h=new pb(n.b);h.aa?1:QI(isNaN(0),isNaN(a)))<0&&(o0(UAn),(e.Math.abs(a-1)<=UAn||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:QI(isNaN(a),isNaN(1)))<0)&&(o0(UAn),(e.Math.abs(0-u)<=UAn||0==u||isNaN(0)&&isNaN(u)?0:0u?1:QI(isNaN(0),isNaN(u)))<0)&&(o0(UAn),(e.Math.abs(u-1)<=UAn||1==u||isNaN(u)&&isNaN(1)?0:u<1?-1:u>1?1:QI(isNaN(u),isNaN(1)))<0))}function tkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;if(p=function(n,t,e){var i,r,c,a,u,o,s,h;for(h=new ip,c=0,c0(s=new dU(0,e),new n6(0,0,s,e)),r=0,o=new UO(n);o.e!=o.i.gc();)u=Yx(hen(o),33),i=Yx(TR(s.a,s.a.c.length-1),187),r+u.g+(0==Yx(TR(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,c0(s=new dU(c,e),i=new n6(0,s.f,s,e)),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?l7(i,u):(c0(s,a=new n6(i.s+i.r+e,s.f,s,e)),l7(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}(t,i,n.g),c.n&&c.n&&a&&nU(c,RU(a),(P6(),jrt)),n.b)for(g=0;g0?n.g:0),++i;n.c=c,n.d=r}(n,p),c.n&&c.n&&a&&nU(c,RU(a),(P6(),jrt)),m=e.Math.max(n.d,r.a-(u.b+u.c)),o=(l=e.Math.max(n.c,r.b-(u.d+u.a)))-n.c,n.e&&n.f&&(m/l0&&(n.c[t.c.p][t.p].d+=Xln(n.i,24)*jMn*.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 okn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(E=0,w=0,l=new pb(t.e);l.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o));if(i)for(u=new pb(m.e);u.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o))}o>0&&(E+=b/o,++w)}w>0?(t.a=c*E/w,t.g=w):(t.a=0,t.g=0)}function skn(n,t){var i,r,c,a,u,o,s,h,f,l;for(r=new pb(n.a.b);r.aZTn||t.o==v4n&&hr.d,r.d=e.Math.max(r.d,t),o&&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),o&&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),o&&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),o&&i&&(r.b=e.Math.max(r.b,r.c),r.c=r.b+c)}}}(o),function(n){switch(n.q.g){case 5:Rcn(n,(Ikn(),Tit)),Rcn(n,Bit);break;case 4:byn(n,(Ikn(),Tit)),byn(n,Bit);break;default:Tsn(n,(Ikn(),Tit)),Tsn(n,Bit)}}(o),function(n){switch(n.q.g){case 5:_cn(n,(Ikn(),Eit)),_cn(n,qit);break;case 4:wyn(n,(Ikn(),Eit)),wyn(n,qit);break;default:Msn(n,(Ikn(),Eit)),Msn(n,qit)}}(o),function(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc((Ann(),Zit))&&(Yx(GB(n.b,(Ikn(),Tit)),124).k=!0,Yx(GB(n.b,Bit),124).k=!0,t=n.q!=(Ran(),sit)&&n.q!=oit,Il(Yx(GB(n.b,Eit),124),t),Il(Yx(GB(n.b,qit),124),t),Il(n.g,t),n.A.Hc(nrt)&&(Yx(GB(n.b,Tit),124).j=!0,Yx(GB(n.b,Bit),124).j=!0,Yx(GB(n.b,Eit),124).k=!0,Yx(GB(n.b,qit),124).k=!0,n.g.k=!0)),n.A.Hc(Jit))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((Vgn(),ort)),c=0,a=(r=Xtn()).length;c0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}b5(n,(Ojn(),_Qn),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=fit&&t!=lit&&u!=Hit)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}(s,c,r,Yx(jln(t,w0n),8)),o=new UO((!t.n&&(t.n=new mK(act,t,1,7)),t.n));o.e!=o.i.gc();)!ny(hL(jln(u=Yx(hen(o),137),r0n)))&&u.a&&eD(s.f,d8(u));switch(r.g){case 2:case 1:(s.j==(Ikn(),Tit)||s.j==Bit)&&i.Fc((edn(),OVn));break;case 4:case 3:(s.j==(Ikn(),Eit)||s.j==qit)&&i.Fc((edn(),OVn))}return s}function gkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;for(l=null,r==(Yq(),X4n)?l=t:r==W4n&&(l=i),d=l.a.ec().Kc();d.Ob();){for(w=Yx(d.Pb(),11),g=$5(x4(Gy(B7n,1),TEn,8,0,[w.i.n,w.n,w.a])).b,m=new Qp,o=new Qp,h=new UV(w.b);ZC(h.a)||ZC(h.b);)if(ny(hL(Aun(s=Yx(ZC(h.a)?Hz(h.a):Hz(h.b),17),(Ojn(),HQn))))==c&&-1!=hJ(a,s,0)){if(p=s.d==w?s.c:s.d,v=$5(x4(Gy(B7n,1),TEn,8,0,[p.i.n,p.n,p.a])).b,e.Math.abs(v-g)<.2)continue;v1)for(XW(m,new PS(n,b=new qmn(w,m,r))),u.c[u.c.length]=b,f=m.a.ec().Kc();f.Ob();)uJ(a,Yx(f.Pb(),46).b);if(o.a.gc()>1)for(XW(o,new IS(n,b=new qmn(w,o,r))),u.c[u.c.length]=b,f=o.a.ec().Kc();f.Ob();)uJ(a,Yx(f.Pb(),46).b)}}function pkn(n){uT(n,new tun(tk(rk(nk(ik(ek(new du,C$n),"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 Ha),C$n))),DU(n,C$n,AAn,oen(V6n)),DU(n,C$n,LPn,oen(J6n)),DU(n,C$n,HPn,oen(H6n)),DU(n,C$n,eIn,oen(q6n)),DU(n,C$n,BPn,oen(G6n)),DU(n,C$n,qPn,oen(B6n)),DU(n,C$n,FPn,oen(z6n)),DU(n,C$n,GPn,oen(W6n)),DU(n,C$n,M$n,oen(K6n)),DU(n,C$n,T$n,oen(F6n)),DU(n,C$n,I$n,oen(U6n)),DU(n,C$n,j$n,oen(X6n)),DU(n,C$n,E$n,oen(Q6n)),DU(n,C$n,S$n,oen(Y6n)),DU(n,C$n,P$n,oen(Z6n))}function vkn(n){var t;if(this.r=function(n,t){return new Mq(Yx(MF(n),62),Yx(MF(t),62))}(new Pn,new In),this.b=new C7(Yx(MF(trt),290)),this.p=new C7(Yx(MF(trt),290)),this.i=new C7(Yx(MF(JHn),290)),this.e=n,this.o=new fC(n.rf()),this.D=n.Df()||ny(hL(n.We((Cjn(),Fnt)))),this.A=Yx(n.We((Cjn(),Jnt)),21),this.B=Yx(n.We(itt),21),this.q=Yx(n.We(ktt),98),this.u=Yx(n.We(Mtt),21),!function(n){return Chn(),!(V3(sG(t_(pit,x4(Gy(Git,1),XEn,273,0,[mit])),n))>1||V3(sG(t_(git,x4(Gy(Git,1),XEn,273,0,[dit,yit])),n))>1)}(this.u))throw hp(new ly("Invalid port label placement: "+this.u));if(this.v=ny(hL(n.We(Ptt))),this.j=Yx(n.We(Qnt),21),!function(n){return Eln(),!(V3(sG(t_(Xet,x4(Gy(cit,1),XEn,93,0,[Wet])),n))>1||V3(sG(t_(Get,x4(Gy(cit,1),XEn,93,0,[qet,Uet])),n))>1||V3(sG(t_(Yet,x4(Gy(cit,1),XEn,93,0,[Qet,Vet])),n))>1)}(this.j))throw hp(new ly("Invalid node label placement: "+this.j));this.n=Yx(zrn(n,Wnt),116),this.k=ty(fL(zrn(n,Gtt))),this.d=ty(fL(zrn(n,qtt))),this.w=ty(fL(zrn(n,Ytt))),this.s=ty(fL(zrn(n,ztt))),this.t=ty(fL(zrn(n,Utt))),this.C=Yx(zrn(n,Vtt),142),this.c=2*this.d,t=!this.B.Hc((Vgn(),irt)),this.f=new Stn(0,t,0),this.g=new Stn(1,t,0),Nm(this.f,(JZ(),cHn),this.g)}function mkn(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw hp(new Iy(aEn));if(s=n,o=!1,(c=n.length)>0&&(Lz(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(n=n.substr(1),--c,o=45==t)),0==c)throw hp(new Iy(YTn+s+'"'));for(;n.length>0&&(Lz(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(Lpn(),QKn)[10])throw hp(new Iy(YTn+s+'"'));for(r=0;r0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(k8(f,u)<0)throw hp(new Iy(YTn+s+'"'));f=e7(f,h)}f=n7(f,i)}if(k8(f,0)>0)throw hp(new Iy(YTn+s+'"'));if(!o&&k8(f=sJ(f),0)<0)throw hp(new Iy(YTn+s+'"'));return f}function ykn(n,t){var e,i,r,c,a,u,o;if(YD(),this.a=new yO(this),this.b=n,this.c=t,this.f=GK(PJ((wsn(),wut),t)),this.f.dc())if((u=Dcn(wut,n))==t)for(this.e=!0,this.d=new ip,this.f=new fo,this.f.Fc(BRn),Yx(Imn(SJ(wut,i1(n)),""),26)==n&&this.f.Fc(O_(wut,i1(n))),r=$gn(wut,n).Kc();r.Ob();)switch(i=Yx(r.Pb(),170),TB(PJ(wut,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(GK(PJ(wut,i)))}else if(TT(),Yx(t,66).Oj())for(this.e=!0,this.f=null,this.d=new ip,a=0,o=(null==n.i&&svn(n),n.i).length;a=0&&a0&&(Yx(GB(n.b,t),124).a.b=i)}function jkn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(Lz(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(o=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(Lz(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=KN("%",a=t.substr(1,h-1))?null:$kn(a),i=0,o)try{i=ipn(t.substr(h+2),nTn,Yjn)}catch(n){throw CO(n=j4(n),127)?hp(new mJ(n)):hp(n)}for(d=b2(n.Wg());d.Ob();)if(CO(b=X3(d),510)&&(p=(r=Yx(b,590)).d,(null==v?null==p:KN(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=ipn(t.substr(s+1),nTn,Yjn)}catch(n){if(!CO(n=j4(n),127))throw hp(n);l=t}for(l=KN("%",l)?null:$kn(l),w=b2(n.Wg());w.Ob();)if(CO(b=X3(w),191)&&(g=(c=Yx(b,191)).ne(),(null==l?null==g:KN(l,g))&&0==e--))return c;return null}return eyn(n,t)}function Ekn(){var n,t,e;for(Ekn=O,new ZJ(1,0),new ZJ(10,0),new ZJ(0,0),iFn=VQ(vFn,TEn,240,11,0,1),rFn=VQ(Xot,sTn,25,100,15,1),cFn=x4(Gy(Jot,1),rMn,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),aFn=VQ(Wot,MTn,25,cFn.length,15,1),uFn=x4(Gy(Jot,1),rMn,25,15,[1,10,100,hTn,1e4,cMn,1e6,1e7,1e8,UTn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),oFn=VQ(Wot,MTn,25,uFn.length,15,1),sFn=VQ(vFn,TEn,240,11,0,1),n=0;nr+2&&a5((Lz(r+1,n.length),n.charCodeAt(r+1)),Gct,zct)&&a5((Lz(r+2,n.length),n.charCodeAt(r+2)),Gct,zct))if(e=$D((Lz(r+1,n.length),n.charCodeAt(r+1)),(Lz(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[u++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[u++]=e<<24>>24,i=2):224==(240&e)?(t[u++]=e<<24>>24,i=3):240==(248&e)&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:KF(o,((31&t[0])<<6|63&t[1])&fTn);break;case 3:KF(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&fTn)}u=0,i=0}}else{for(c=0;c0){if(a+i>n.length)return!1;u=Uhn(n.substr(0,a+i),t)}else u=Uhn(n,t);switch(c){case 71:return u=wun(n,a,x4(Gy(fFn,1),TEn,2,6,[STn,PTn]),t),r.e=u,!0;case 77:case 76:return function(n,t,e,i,r){return i<0?((i=wun(n,r,x4(Gy(fFn,1),TEn,2,6,[lTn,bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn]),t))<0&&(i=wun(n,r,x4(Gy(fFn,1),TEn,2,6,["Jan","Feb","Mar","Apr",gTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}(n,t,r,u,a);case 69:case 99:return function(n,t,e,i){var r;return(r=wun(n,e,x4(Gy(fFn,1),TEn,2,6,[ITn,CTn,OTn,ATn,$Tn,LTn,NTn]),t))<0&&(r=wun(n,e,x4(Gy(fFn,1),TEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}(n,t,a,r);case 97:return u=wun(n,a,x4(Gy(fFn,1),TEn,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return function(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length)return!1;if(43!=(u=XB(n,t[0]))&&45!=u)return!1;if(++t[0],(i=Uhn(n,t))<0)return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new uE).q.getFullYear()-TTn+TTn-80)%100,c.a=i==a,i+=100*(o/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:return!(u<0||(r.f=u,r.g=!1,0));case 107:return!(u<0||(r.f=u,r.g=!0,0));case 109:return!(u<0||(r.j=u,0));case 115:return!(u<0||(r.n=u,0));case 90:if(a=0&&KN(n.substr(t,3),"GMT")||t>=0&&KN(n.substr(t,3),"UTC")?(e[0]=t+3,apn(n,e,i)):apn(n,e,i)}(n,a,t,r);default:return!1}}function Nkn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=VQ(U_n,iEn,1,0,5,1),n.i.c=VQ(U_n,iEn,1,0,5,1),n.g.a.$b(),t)for(a=new pb(t.a);a.a=1&&(j-h>0&&d>=0?(L1(l,l.i+k),N1(l,l.j+s*h)):j-h<0&&w>=0&&(L1(l,l.i+k*j),N1(l,l.j+s)));return Aen(n,(Cjn(),Jnt),(Ann(),new cx(a=Yx(Ak(lrt),9),Yx(eN(a,a.length),9),0))),new QS(E,f)}function Dkn(n){var t,i,r,c,a,u,o,s,h,f,l;if(f=IG(iun(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)))==IG(iun(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82))),u=new Pk,(t=Yx(jln(n,(L6(),Met)),74))&&t.b>=2){if(0==(!n.a&&(n.a=new mK(tct,n,6,6)),n.a).i)xk(),i=new co,fY((!n.a&&(n.a=new mK(tct,n,6,6)),n.a),i);else if((!n.a&&(n.a=new mK(tct,n,6,6)),n.a).i>1)for(l=new a$((!n.a&&(n.a=new mK(tct,n,6,6)),n.a));l.e!=l.i.gc();)tan(l);wvn(t,Yx(c1((!n.a&&(n.a=new mK(tct,n,6,6)),n.a),0),202))}if(f)for(r=new UO((!n.a&&(n.a=new mK(tct,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new UO((!(i=Yx(hen(r),202)).a&&(i.a=new XO(Qrt,i,5)),i.a));s.e!=s.i.gc();)o=Yx(hen(s),469),u.a=e.Math.max(u.a,o.a),u.b=e.Math.max(u.b,o.b);for(a=new UO((!n.n&&(n.n=new mK(act,n,1,7)),n.n));a.e!=a.i.gc();)c=Yx(hen(a),137),(h=Yx(jln(c,Aet),8))&&jC(c,h.a,h.b),f&&(u.a=e.Math.max(u.a,c.i+c.g),u.b=e.Math.max(u.b,c.j+c.f));return u}function Rkn(n,t,e){var i,r,c,a,u;switch(i=t.i,c=n.i.o,r=n.i.d,u=n.n,a=$5(x4(Gy(B7n,1),TEn,8,0,[u,n.a])),n.j.g){case 1:OL(t,(OJ(),pHn)),i.d=-r.d-e-i.a,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(lY(t,(BY(),lHn)),i.c=a.a-ty(fL(Aun(n,PQn)))-e-i.b):(lY(t,(BY(),fHn)),i.c=a.a+ty(fL(Aun(n,PQn)))+e);break;case 2:lY(t,(BY(),fHn)),i.c=c.a+r.c+e,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(OL(t,(OJ(),pHn)),i.d=a.b-ty(fL(Aun(n,PQn)))-e-i.a):(OL(t,(OJ(),mHn)),i.d=a.b+ty(fL(Aun(n,PQn)))+e);break;case 3:OL(t,(OJ(),mHn)),i.d=c.b+r.a+e,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(lY(t,(BY(),lHn)),i.c=a.a-ty(fL(Aun(n,PQn)))-e-i.b):(lY(t,(BY(),fHn)),i.c=a.a+ty(fL(Aun(n,PQn)))+e);break;case 4:lY(t,(BY(),lHn)),i.c=-r.b-e-i.b,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(OL(t,(OJ(),pHn)),i.d=a.b-ty(fL(Aun(n,PQn)))-e-i.a):(OL(t,(OJ(),mHn)),i.d=a.b+ty(fL(Aun(n,PQn)))+e)}}function _kn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(w=0,S=0,s=new pb(n);s.aw&&(a&&(EI(j,b),EI(T,d9(h.b-1))),C=i.b,O+=b+t,b=0,f=e.Math.max(f,i.b+i.c+I)),L1(o,C),N1(o,O),f=e.Math.max(f,C+I+i.c),b=e.Math.max(b,l),C+=I+t;if(f=e.Math.max(f,r),(P=O+b+i.a)o&&(y=0,k+=u+v,u=0),zgn(g,i,y,k),t=e.Math.max(t,y+p.a),u=e.Math.max(u,p.b),y+=p.a+v;return g}function Fkn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;switch(h=new Nv,n.a.g){case 3:l=Yx(Aun(t.e,(Ojn(),WQn)),15),b=Yx(Aun(t.j,WQn),15),w=Yx(Aun(t.f,WQn),15),e=Yx(Aun(t.e,UQn),15),i=Yx(Aun(t.j,UQn),15),r=Yx(Aun(t.f,UQn),15),S4(a=new ip,l),b.Jc(new yc),S4(a,CO(b,152)?RV(Yx(b,152)):CO(b,131)?Yx(b,131).a:CO(b,54)?new Tm(b):new rE(b)),S4(a,w),S4(c=new ip,e),S4(c,CO(i,152)?RV(Yx(i,152)):CO(i,131)?Yx(i,131).a:CO(i,54)?new Tm(i):new rE(i)),S4(c,r),b5(t.f,WQn,a),b5(t.f,UQn,c),b5(t.f,VQn,t.f),b5(t.e,WQn,null),b5(t.e,UQn,null),b5(t.j,WQn,null),b5(t.j,UQn,null);break;case 1:C2(h,t.e.a),_D(h,t.i.n),C2(h,I3(t.j.a)),_D(h,t.a.n),C2(h,t.f.a);break;default:C2(h,t.e.a),C2(h,I3(t.j.a)),C2(h,t.f.a)}BH(t.f.a),C2(t.f.a,h),YG(t.f,t.e.c),u=Yx(Aun(t.e,(gjn(),$1n)),74),s=Yx(Aun(t.j,$1n),74),o=Yx(Aun(t.f,$1n),74),(u||s||o)&&(HK(f=new Nv,o),HK(f,s),HK(f,u),b5(t.f,$1n,f)),YG(t.j,null),QG(t.j,null),YG(t.e,null),QG(t.e,null),JG(t.a,null),JG(t.i,null),t.g&&Fkn(n,t.g)}function Bkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;return y=n.c[($z(0,t.c.length),Yx(t.c[0],17)).p],T=n.c[($z(1,t.c.length),Yx(t.c[1],17)).p],!(y.a.e.e-y.a.a-(y.b.e.e-y.b.a)==0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)==0||!CO(v=y.b.e.f,10)||(p=Yx(v,10),j=n.i[p.p],E=p.c?hJ(p.c.a,p,0):-1,a=JTn,E>0&&(c=Yx(TR(p.c.a,E-1),10),u=n.i[c.p],M=e.Math.ceil(lO(n.n,c,p)),a=j.a.e-p.d.d-(u.a.e+c.o.b+c.d.a)-M),h=JTn,E0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)<0,d=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)>0,w=y.a.e.e+y.b.aT.b.e.e+T.a.a,k=0,!g&&!d&&(b?a+l>0?k=l:h-r>0&&(k=r):w&&(a+o>0?k=o:h-m>0&&(k=m))),j.a.e+=k,j.b&&(j.d.e+=k),1)))}function Hkn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(r=new mH(t.qf().a,t.qf().b,t.rf().a,t.rf().b),c=new hC,n.c)for(u=new pb(t.wf());u.a=2&&(i=Yx(r.Kc().Pb(),111),e=n.u.Hc((Chn(),git)),c=n.u.Hc(yit),!i.a&&!e&&(2==r.gc()||c))}(n,t),e=n.u.Hc((Chn(),dit)),o=s.Kc();o.Ob();)if((u=Yx(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.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:u.a?(f.c=(l.a-f.b)/2,lY(h,(BY(),hHn))):a||e?(f.c=-f.b-n.s,lY(h,(BY(),lHn))):(f.c=l.a+n.s,lY(h,(BY(),fHn))),f.d=-f.a-n.t,OL(h,(OJ(),pHn));break;case 3:u.a?(f.c=(l.a-f.b)/2,lY(h,(BY(),hHn))):a||e?(f.c=-f.b-n.s,lY(h,(BY(),lHn))):(f.c=l.a+n.s,lY(h,(BY(),fHn))),f.d=l.b+n.t,OL(h,(OJ(),mHn));break;case 2:u.a?(i=n.v?f.a:Yx(TR(h.d,0),181).rf().b,f.d=(l.b-i)/2,OL(h,(OJ(),vHn))):a||e?(f.d=-f.a-n.t,OL(h,(OJ(),pHn))):(f.d=l.b+n.t,OL(h,(OJ(),mHn))),f.c=l.a+n.s,lY(h,(BY(),fHn));break;case 4:u.a?(i=n.v?f.a:Yx(TR(h.d,0),181).rf().b,f.d=(l.b-i)/2,OL(h,(OJ(),vHn))):a||e?(f.d=-f.a-n.t,OL(h,(OJ(),pHn))):(f.d=l.b+n.t,OL(h,(OJ(),mHn))),f.c=-f.b-n.s,lY(h,(BY(),lHn))}a=!1}}function Gkn(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(Ljn(),0==hE(vot)){for(f=VQ(Got,TEn,117,yot.length,0,1),a=0;as&&(i.a+=IO(VQ(Xot,sTn,25,-s,15,1))),i.a+="Is",VI(o,gun(32))>=0)for(r=0;r=i.o.b/2}p?(g=Yx(Aun(i,(Ojn(),JQn)),15))?l?c=g:(r=Yx(Aun(i,QVn),15))?c=g.gc()<=r.gc()?g:r:(c=new ip,b5(i,QVn,c)):(c=new ip,b5(i,JQn,c)):(r=Yx(Aun(i,(Ojn(),QVn)),15))?f?c=r:(g=Yx(Aun(i,JQn),15))?c=r.gc()<=g.gc()?r:g:(c=new ip,b5(i,JQn,c)):(c=new ip,b5(i,QVn,c)),c.Fc(n),b5(n,(Ojn(),JVn),e),t.d==e?(QG(t,null),e.e.c.length+e.g.c.length==0&&ZG(e,null),function(n){var t,e;(t=Yx(Aun(n,(Ojn(),RQn)),10))&&(uJ((e=t.c).a,t),0==e.a.c.length&&uJ(dB(t).b,e))}(e)):(YG(t,null),e.e.c.length+e.g.c.length==0&&ZG(e,null)),BH(t.a)}function Ukn(n,t,i){var r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(run(i,"MinWidth layering",1),d=t.b,M=t.a,$=Yx(Aun(t,(gjn(),R1n)),19).a,o=Yx(Aun(t,_1n),19).a,n.b=ty(fL(Aun(t,N0n))),n.d=JTn,j=new pb(M);j.a0){for(l=h<100?null:new Ek(h),w=new t3(t).g,g=VQ(Wot,MTn,25,h,15,1),i=0,m=new FZ(h),r=0;r=0;)if(null!=b?Q8(b,w[o]):iI(b)===iI(w[o])){g.length<=i&&smn(g,0,g=VQ(Wot,MTn,25,2*g.length,15,1),0,i),g[i++]=r,fY(m,w[o]);break n}if(iI(b)===iI(u))break}}if(s=m,w=m.g,h=i,i>g.length&&smn(g,0,g=VQ(Wot,MTn,25,i,15,1),0,i),i>0){for(v=!0,c=0;c=0;)Orn(n,g[a]);if(i!=h){for(r=h;--r>=i;)Orn(s,r);smn(g,0,g=VQ(Wot,MTn,25,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return iL(),iL(),$ct;for(e=new HL(n,t.gc()),r=new UO(n);r.e!=r.i.gc();)i=hen(r),t.Hc(i)&&fY(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(Orn(n,r),v=!0);if(v){if(null!=g){for(f=1==(e=t.gc())?zG(n,4,t.Kc().Pb(),null,g[0],d):zG(n,6,t,g,g[0],d),l=e<100?null:new Ek(e),r=t.Kc();r.Ob();)l=JN(n,Yx(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):_3(n.e,f)}else{for(l=function(n){return n<100?null:new Ek(n)}(t.gc()),r=t.Kc();r.Ob();)l=JN(n,Yx(b=r.Pb(),72),l);l&&l.Fi()}return!0}return!1}function Wkn(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y;for((i=new Fen(t)).a||function(n){var t,i,r,c,a;switch(c=Yx(TR(n.a,0),10),t=new rin(n),eD(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,Yx(Aun(c,(Ojn(),hQn)),61).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}ZG(r=new Ion,t),YG(i=new jq,a=Yx(TR(c.j,0),11)),QG(i,r),mN(OI(r.n),a.n),mN(OI(r.a),a.a)}(t),f=function(n){var t,e,i,r,c,a,u;for(u=new rV,a=new pb(n.a);a.a=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new ben((K4(),bzn)),$U(n,jzn,new ay(x4(Gy(lzn,1),iEn,369,0,[i]))),a=new ben(gzn),$U(n,kzn,new ay(x4(Gy(lzn,1),iEn,369,0,[a]))),r=new ben(wzn),$U(n,yzn,new ay(x4(Gy(lzn,1),iEn,369,0,[r]))),c=new ben(dzn),$U(n,mzn,new ay(x4(Gy(lzn,1),iEn,369,0,[c]))),kbn(i.c,bzn),kbn(r.c,wzn),kbn(c.c,dzn),kbn(a.c,gzn),u.a.c=VQ(U_n,iEn,1,0,5,1),S4(u.a,i.c),S4(u.a,I3(r.c)),S4(u.a,c.c),S4(u.a,I3(a.c)),u}(f)),i}function Vkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(null==i.p[t.p]){o=!0,i.p[t.p]=0,u=t,d=i.o==(RG(),v4n)?ZTn:JTn;do{c=n.b.e[u.p],a=u.c.a.c.length,i.o==v4n&&c>0||i.o==m4n&&c(a=uan(n,e))?mgn(n,t,e):mgn(n,e,t),ra?1:0}return(i=Yx(Aun(t,(Ojn(),IQn)),19).a)>(c=Yx(Aun(e,IQn),19).a)?mgn(n,t,e):mgn(n,e,t),ic?1:0}function Ykn(n,t,e,i){var r,c,a,u,o,s,f,l,b,w,d,g;if(ny(hL(jln(t,(Cjn(),ctt)))))return XH(),XH(),TFn;if(o=0!=(!t.a&&(t.a=new mK(uct,t,10,11)),t.a).i,s=!(f=function(n){var t,e,i;if(ny(hL(jln(n,(Cjn(),Fnt))))){for(i=new ip,e=new $_(bA(lbn(n).a.Kc(),new h));Vfn(e);)Whn(t=Yx(kV(e),79))&&ny(hL(jln(t,Bnt)))&&(i.c[i.c.length]=t);return i}return XH(),XH(),TFn}(t)).dc(),o||s){if(!(r=Yx(jln(t,Ltt),149)))throw hp(new ly("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(g=zS(r,(zfn(),dct)),Otn(t),!o&&s&&!g)return XH(),XH(),TFn;if(u=new ip,iI(jln(t,Rnt))===iI((O8(),$et))&&(zS(r,lct)||zS(r,fct)))for(b=Udn(n,t),C2(w=new ME,(!t.a&&(t.a=new mK(uct,t,10,11)),t.a));0!=w.b;)Otn(l=Yx(0==w.b?null:(S$(0!=w.b),VZ(w,w.a.a)),33)),iI(jln(l,Rnt))===iI(Net)||zQ(l,gnt)&&!oV(r,jln(l,Ltt))?(S4(u,Ykn(n,l,e,i)),Aen(l,Rnt,Net),Fgn(l)):C2(w,(!l.a&&(l.a=new mK(uct,l,10,11)),l.a));else for(b=(!t.a&&(t.a=new mK(uct,t,10,11)),t.a).i,a=new UO((!t.a&&(t.a=new mK(uct,t,10,11)),t.a));a.e!=a.i.gc();)S4(u,Ykn(n,c=Yx(hen(a),33),e,i)),Fgn(c);for(d=new pb(u);d.a=0?G7(u):O9(G7(u)),n.Ye(k0n,b)),s=new Pk,l=!1,n.Xe(w0n)?(x$(s,Yx(n.We(w0n),8)),l=!0):function(n,t,e){n.a=t,n.b=e}(s,a.a/2,a.b/2),b.g){case 4:b5(h,x1n,(d7(),nYn)),b5(h,rQn,(i5(),UWn)),h.o.b=a.b,d<0&&(h.o.a=-d),whn(f,(Ikn(),Eit)),l||(s.a=a.a),s.a-=a.a;break;case 2:b5(h,x1n,(d7(),eYn)),b5(h,rQn,(i5(),GWn)),h.o.b=a.b,d<0&&(h.o.a=-d),whn(f,(Ikn(),qit)),l||(s.a=0);break;case 1:b5(h,pQn,(AJ(),HVn)),h.o.a=a.a,d<0&&(h.o.b=-d),whn(f,(Ikn(),Bit)),l||(s.b=a.b),s.b-=a.b;break;case 3:b5(h,pQn,(AJ(),FVn)),h.o.a=a.a,d<0&&(h.o.b=-d),whn(f,(Ikn(),Tit)),l||(s.b=0)}if(x$(f.n,s),b5(h,w0n,s),t==uit||t==sit||t==oit){if(w=0,t==uit&&n.Xe(p0n))switch(b.g){case 1:case 2:w=Yx(n.We(p0n),19).a;break;case 3:case 4:w=-Yx(n.We(p0n),19).a}else switch(b.g){case 4:case 2:w=c.b,t==sit&&(w/=r.b);break;case 1:case 3:w=c.a,t==sit&&(w/=r.a)}b5(h,_Qn,w)}return b5(h,hQn,b),h}function Zkn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;for(f=!1,s=n+1,$z(n,t.c.length),a=(h=Yx(t.c[n],200)).a,u=null,c=0;cs&&0==($z(s,t.c.length),Yx(t.c[s],200)).a.c.length;)uJ(t,($z(s,t.c.length),t.c[s]));if(!o){--c;continue}if(bpn(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(imn(t,h,r,o,e,s,i)){f=!0;continue}if(u8(h,r)){r.c=!0,f=!0;continue}}else if(u8(h,r)){r.c=!0,f=!0;continue}if(f)continue}u8(h,r)?(r.c=!0,f=!0,o&&(o.k=!1)):ern(r.q)}else oE(),acn(h,r),--c,f=!0;return f}function njn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A;for(g=0,P=0,h=new pb(n.b);h.ag&&(a&&(EI(E,w),EI(M,d9(f.b-1)),eD(n.d,d),o.c=VQ(U_n,iEn,1,0,5,1)),O=i.b,A+=w+t,w=0,l=e.Math.max(l,i.b+i.c+C)),o.c[o.c.length]=s,wen(s,O,A),l=e.Math.max(l,O+C+i.c),w=e.Math.max(w,b),O+=C+t,d=s;if(S4(n.a,o),eD(n.d,Yx(TR(o,o.c.length-1),157)),l=e.Math.max(l,r),(I=A+w+i.a)1&&(u=e.Math.min(u,e.Math.abs(Yx(ken(o.a,1),8).b-f.b)))));else for(d=new pb(t.j);d.ac&&(a=b.a-c,u=Yjn,r.c=VQ(U_n,iEn,1,0,5,1),c=b.a),b.a>=c&&(r.c[r.c.length]=o,o.a.b>1&&(u=e.Math.min(u,e.Math.abs(Yx(ken(o.a,o.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&u>t.o.b/2){for(ZG(w=new Ion,t),whn(w,(Ikn(),Tit)),w.n.a=t.o.a/2,ZG(g=new Ion,t),whn(g,Bit),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new pb(r);s.a=h.b?YG(o,g):YG(o,w)):(h=Yx(yD(o.a),8),(0==o.a.b?Dz(o.c):Yx(p$(o.a),8)).b>=h.b?QG(o,g):QG(o,w)),(l=Yx(Aun(o,(gjn(),$1n)),74))&&V7(l,h,!0);t.n.a=c-t.o.a/2}}function ejn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(s=t,$0(o=UX(n,RX(e),s),oX(s,rxn)),h=Yx(g1(n.g,Nhn(jG(s,KNn))),33),i=null,(a=jG(s,"sourcePort"))&&(i=Nhn(a)),f=Yx(g1(n.j,i),118),!h)throw hp(new hy("An edge must have a source node (edge id: '"+itn(s)+sxn));if(f&&!bB(TG(f),h))throw hp(new hy("The source port of an edge must be a port of the edge's source node (edge id: '"+oX(s,rxn)+sxn));if(!o.b&&(o.b=new AN(Zrt,o,4,7)),fY(o.b,f||h),l=Yx(g1(n.g,Nhn(jG(s,lxn))),33),r=null,(u=jG(s,"targetPort"))&&(r=Nhn(u)),b=Yx(g1(n.j,r),118),!l)throw hp(new hy("An edge must have a target node (edge id: '"+itn(s)+sxn));if(b&&!bB(TG(b),l))throw hp(new hy("The target port of an edge must be a port of the edge's target node (edge id: '"+oX(s,rxn)+sxn));if(!o.c&&(o.c=new AN(Zrt,o,5,8)),fY(o.c,b||l),0==(!o.b&&(o.b=new AN(Zrt,o,4,7)),o.b).i||0==(!o.c&&(o.c=new AN(Zrt,o,5,8)),o.c).i)throw c=oX(s,rxn),hp(new hy(oxn+c+sxn));return eun(s,o),Iln(s,o),D5(n,s,o)}function ijn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;return l=function(n,t){var i,r,c,a,u,o,s,h,f,l,b;if(n.dc())return new Pk;for(s=0,f=0,r=n.Kc();r.Ob();)c=Yx(r.Pb(),37).f,s=e.Math.max(s,c.a),f+=c.a*c.b;for(s=e.Math.max(s,e.Math.sqrt(f)*ty(fL(Aun(Yx(n.Kc().Pb(),37),(gjn(),RZn))))),l=0,b=0,o=0,i=t,u=n.Kc();u.Ob();)l+(h=(a=Yx(u.Pb(),37)).f).a>s&&(l=0,b+=o+t,o=0),bgn(a,l,b),i=e.Math.max(i,l+h.a),o=e.Math.max(o,h.b),l+=h.a+t;return new QS(i+t,b+o+t)}(QA(n,(Ikn(),Cit)),t),d=lrn(QA(n,Oit),t),k=lrn(QA(n,_it),t),M=brn(QA(n,Fit),t),b=brn(QA(n,Mit),t),m=lrn(QA(n,Rit),t),g=lrn(QA(n,Ait),t),E=lrn(QA(n,Kit),t),j=lrn(QA(n,Sit),t),S=brn(QA(n,Iit),t),v=lrn(QA(n,xit),t),y=lrn(QA(n,Nit),t),T=lrn(QA(n,Pit),t),P=brn(QA(n,Dit),t),w=brn(QA(n,$it),t),p=lrn(QA(n,Lit),t),i=N5(x4(Gy(Jot,1),rMn,25,15,[m.a,M.a,E.a,P.a])),r=N5(x4(Gy(Jot,1),rMn,25,15,[d.a,l.a,k.a,p.a])),c=v.a,a=N5(x4(Gy(Jot,1),rMn,25,15,[g.a,b.a,j.a,w.a])),h=N5(x4(Gy(Jot,1),rMn,25,15,[m.b,d.b,g.b,y.b])),s=N5(x4(Gy(Jot,1),rMn,25,15,[M.b,l.b,b.b,p.b])),f=S.b,o=N5(x4(Gy(Jot,1),rMn,25,15,[E.b,k.b,j.b,T.b])),wY(QA(n,Cit),i+c,h+f),wY(QA(n,Lit),i+c,h+f),wY(QA(n,Oit),i+c,0),wY(QA(n,_it),i+c,h+f+s),wY(QA(n,Fit),0,h+f),wY(QA(n,Mit),i+c+r,h+f),wY(QA(n,Ait),i+c+r,0),wY(QA(n,Kit),0,h+f+s),wY(QA(n,Sit),i+c+r,h+f+s),wY(QA(n,Iit),0,h),wY(QA(n,xit),i,0),wY(QA(n,Pit),0,h+f+s),wY(QA(n,$it),i+c+r,0),(u=new Pk).a=N5(x4(Gy(Jot,1),rMn,25,15,[i+r+c+a,S.a,y.a,T.a])),u.b=N5(x4(Gy(Jot,1),rMn,25,15,[h+s+f+o,v.b,P.b,w.b])),u}function rjn(n,t,i){var r,c,a,u,o,s,f;if(run(i,"Network simplex node placement",1),n.e=t,n.n=Yx(Aun(t,(Ojn(),zQn)),304),function(n){var t,i,r,c,a,u,o,s,f,l,b,w;for(n.f=new Zp,o=0,r=0,c=new pb(n.e.b);c.a=s.c.c.length?GX((bon(),Hzn),Bzn):GX((bon(),Bzn),Bzn),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 mln(u),Mmn(($z(0,u.c.length),Yx(u.c[0],17)).d.i)||eD(n.o,u)}(n),Ron(a)),Yen(n.f),c=Yx(Aun(t,V0n),19).a*n.f.a.c.length,Ggn(Xy(Wy(Cx(n.f),c),!1),J2(i,1)),0!=n.d.a.gc()){for(run(a=J2(i,1),"Flexible Where Space Processing",1),u=Yx(qA(Y_(fH(new SR(null,new Nz(n.f.a,16)),new qc),new Dc)),19).a,o=Yx(qA(Q_(fH(new SR(null,new Nz(n.f.a,16)),new Gc),new Rc)),19).a-u,s=HA(new ev,n.f),f=HA(new ev,n.f),uwn(NE(LE($E(xE(new tv,2e4),o),s),f)),SE(hH(hH(XK(n.i),new zc),new Uc),new vH(u,s,o,f)),r=n.d.a.ec().Kc();r.Ob();)Yx(r.Pb(),213).g=1;Ggn(Xy(Wy(Cx(n.f),c),!1),J2(a,1)),Ron(a)}ny(hL(Aun(t,V1n)))&&(run(a=J2(i,1),"Straight Edges Post-Processing",1),function(n){var t,e,i;for(C2(e=new ME,n.o),i=new kv;0!=e.b;)Bkn(n,t=Yx(0==e.b?null:(S$(0!=e.b),VZ(e,e.a.a)),508),!0)&&eD(i.a,t);for(;0!=i.a.c.length;)Bkn(n,t=Yx(_6(i),508),!1)}(n),Ron(a)),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(e=new pb(n.e.b);e.a0)if(r=f.gc(),s=oG(e.Math.floor((r+1)/2))-1,c=oG(e.Math.ceil((r+1)/2))-1,t.o==m4n)for(h=c;h>=s;h--)t.a[y.p]==y&&(d=Yx(f.Xb(h),46),w=Yx(d.a,10),!gE(i,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(TA(),!!(ny(t.f[t.g[y.p].p])&y.k==(bon(),Bzn))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[y.p]==y&&(p=Yx(f.Xb(h),46),g=Yx(p.a,10),!gE(i,p.b)&&b=48&&t<=57))throw hp(new wy(_jn((GC(),oDn))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw hp(new wy(_jn((GC(),lDn))));if(e=i,44==t){if(r>=n.j)throw hp(new wy(_jn((GC(),hDn))));if((t=XB(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw hp(new wy(_jn((GC(),lDn))));if(i>e)throw hp(new wy(_jn((GC(),fDn))))}else e=-1}if(125!=t)throw hp(new wy(_jn((GC(),sDn))));n.sl(r)?(Ljn(),Ljn(),c=new cW(9,c),n.d=r+1):(Ljn(),Ljn(),c=new cW(3,c),n.d=r),c.dm(i),c.cm(e),kjn(n)}}return c}function ojn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(w=new pQ(t.b),v=new pQ(t.b),l=new pQ(t.b),j=new pQ(t.b),d=new pQ(t.b),k=Ztn(t,0);k.b!=k.d.c;)for(u=new pb((m=Yx(IX(k),11)).g);u.a0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new pb(w);b.a1)for(b=new a$((!n.a&&(n.a=new mK(tct,n,6,6)),n.a));b.e!=b.i.gc();)tan(b);for(d=I,I>y+m?d=y+m:Ik+w?g=k+w:Cy-m&&dk-w&&gI+P?E=I+P:yC+j?T=C+j:kI-P&&EC-j&&Ti&&(f=i-1),(l=L+Xln(t,24)*jMn*h-h/2)<0?l=1:l>r&&(l=r-1),xk(),I1(c=new ro,f),C1(c,l),fY((!u.a&&(u.a=new XO(Qrt,u,5)),u.a),c)}function gjn(){gjn=O,Cjn(),A0n=Dtt,$0n=Rtt,L0n=_tt,N0n=Ktt,D0n=Ftt,R0n=Btt,F0n=qtt,H0n=ztt,q0n=Utt,B0n=Gtt,G0n=Xtt,U0n=Wtt,W0n=Ytt,K0n=Htt,Ajn(),O0n=ZJn,x0n=nZn,_0n=tZn,z0n=eZn,T0n=new DC(Att,d9(0)),M0n=QJn,S0n=YJn,P0n=JJn,c2n=SZn,Y0n=cZn,J0n=oZn,t2n=gZn,Z0n=fZn,n2n=bZn,u2n=AZn,a2n=IZn,i2n=jZn,e2n=yZn,r2n=TZn,Y1n=BJn,J1n=HJn,v1n=JYn,m1n=tJn,a0n=new RC(12),c0n=new DC(utt,a0n),g7(),b1n=new DC($nt,w1n=het),d0n=new DC(ytt,0),I0n=new DC($tt,d9(1)),RZn=new DC(mnt,OPn),r0n=ctt,g0n=ktt,k0n=Itt,c1n=Snt,xZn=pnt,E1n=Rnt,C0n=new DC(xtt,(TA(),!0)),I1n=Fnt,C1n=Bnt,n0n=Jnt,i0n=itt,t0n=ntt,t9(),a1n=new DC(Pnt,o1n=tet),U1n=Qnt,z1n=Wnt,m0n=Mtt,v0n=Ttt,y0n=Ptt,Ytn(),new DC(btt,s0n=rit),f0n=gtt,l0n=ptt,b0n=vtt,h0n=dtt,Q0n=rZn,B1n=SJn,F1n=TJn,V0n=iZn,x1n=gJn,r1n=_Yn,i1n=DYn,VZn=kYn,QZn=jYn,JZn=PYn,YZn=EYn,e1n=NYn,q1n=IJn,G1n=CJn,A1n=sJn,Z1n=UJn,W1n=LJn,k1n=rJn,Q1n=KJn,g1n=WYn,p1n=QYn,WZn=Tnt,X1n=OJn,BZn=hYn,FZn=oYn,KZn=uYn,M1n=uJn,T1n=aJn,S1n=oJn,e0n=ttt,$1n=Gnt,y1n=Nnt,f1n=Ont,h1n=Cnt,ZZn=OYn,p0n=Ett,_Zn=Ent,P1n=Knt,w0n=mtt,u0n=stt,o0n=ftt,R1n=mJn,_1n=kJn,E0n=Ott,DZn=aYn,K1n=EJn,l1n=GYn,s1n=HYn,H1n=Unt,L1n=bJn,V1n=DJn,X0n=Vtt,u1n=FYn,j0n=WJn,d1n=UYn,N1n=dJn,n1n=$Yn,O1n=qnt,D1n=vJn,t1n=LYn,XZn=mYn,zZn=gYn,qZn=wYn,GZn=dYn,UZn=vYn,HZn=lYn,j1n=cJn}function pjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(hmn(),T=n.e,w=n.d,r=n.a,0==T)switch(t){case 0:return"0";case 1:return sMn;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(j=new Ay).a+=t<0?"0E+":"0E",j.a+=-t,j.a}if(y=VQ(Xot,sTn,25,1+(m=10*w+1+7),15,1),e=m,1==w)if((u=r[0])<0){I=Gz(u,uMn);do{d=I,I=Bcn(I,10),y[--e]=48+WR(n7(d,e7(I,10)))&fTn}while(0!=k8(I,0))}else{I=u;do{d=I,I=I/10|0,y[--e]=d-10*I+48&fTn}while(0!=I)}else{smn(r,0,S=VQ(Wot,MTn,25,w,15,1),0,P=w);n:for(;;){for(E=0,s=P-1;s>=0;s--)p=Uan(t7(G_(E,32),Gz(S[s],uMn))),S[s]=WR(p),E=WR(z_(p,32));v=WR(E),g=e;do{y[--e]=48+v%10&fTn}while(0!=(v=v/10|0)&&0!=e);for(i=9-g+e,o=0;o0;o++)y[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==y[e];)++e}if(b=T<0,a=m-e-t-1,0==t)return b&&(y[--e]=45),Vnn(y,e,m-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=m-1;l>=h;l--)y[l+1]=y[l];return y[++h]=46,b&&(y[--e]=45),Vnn(y,e,m-e+1)}for(f=2;f<1-a;f++)y[--e]=48;return y[--e]=46,y[--e]=48,b&&(y[--e]=45),Vnn(y,e,m-e)}return M=e+1,c=m,k=new $y,b&&(k.a+="-"),c-M>=1?(KF(k,y[e]),k.a+=".",k.a+=Vnn(y,e+1,m-e-1)):k.a+=Vnn(y,e,m-e),k.a+="E",a>0&&(k.a+="+"),k.a+=""+a,k.a}function vjn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;switch(n.c=t,n.g=new rp,dT(),R7(new Qb(new Xm(n.c))),v=lL(jln(n.c,(Dun(),C9n))),u=Yx(jln(n.c,A9n),316),y=Yx(jln(n.c,$9n),429),c=Yx(jln(n.c,T9n),482),m=Yx(jln(n.c,O9n),430),n.j=ty(fL(jln(n.c,L9n))),a=n.a,u.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 hp(new Qm(V$n+(null!=u.f?u.f:""+u.g)))}if(n.d=new dG(a,y,c),b5(n.d,(y3(),hqn),hL(jln(n.c,S9n))),n.d.c=ny(hL(jln(n.c,M9n))),0==uq(n.c).i)return n.d;for(h=new UO(uq(n.c));h.e!=h.i.gc();){for(l=(s=Yx(hen(h),33)).g/2,f=s.f/2,k=new QS(s.i+l,s.j+f);PK(n.g,k);)$$(k,(e.Math.random()-.5)*PPn,(e.Math.random()-.5)*PPn);w=Yx(jln(s,(Cjn(),Unt)),142),d=new ez(k,new mH(k.a-l-n.j/2-w.b,k.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),eD(n.d.i,d),xB(n.g,k,new mP(d,s))}switch(m.g){case 0:if(null==v)n.d.d=Yx(TR(n.d.i,0),65);else for(p=new pb(n.d.i);p.a1&&VW(f,v,f.c.b,f.c),BZ(c)));v=m}return f}function yjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new ip,u=new ip,g=t/2,b=n.gc(),r=Yx(n.Xb(0),8),p=Yx(n.Xb(1),8),eD(i,($z(0,(w=kln(r.a,r.b,p.a,p.b,g)).c.length),Yx(w.c[0],8))),eD(u,($z(1,w.c.length),Yx(w.c[1],8))),s=2;s=0;o--)_D(e,($z(o,a.c.length),Yx(a.c[o],8)));return e}function kjn(n){var t,e,i;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(t=XB(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!=XB(n.i,n.d))break;if(++n.d>=n.j)throw hp(new wy(_jn((GC(),$xn))));switch(t=XB(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 hp(new wy(_jn((GC(),$xn))));if(61==(t=XB(n.i,n.d++)))i=16;else{if(33!=t)throw hp(new wy(_jn((GC(),Lxn))));i=17}break;case 35:for(;n.d=n.j)throw hp(new wy(_jn((GC(),Axn))));n.a=XB(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw hp(new wy(_jn((GC(),Axn))));n.a=XB(n.i,n.d++);break;case 45:512==(512&n.e)&&n.d=j||!qnn(v,i))&&(i=Mz(t,f)),JG(v,i),c=new $_(bA(u7(v).a.Kc(),new h));Vfn(c);)r=Yx(kV(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&JQ(mun(w,g)));for(s=f.c.length-1;s>=0;--s)eD(t.b,($z(s,f.c.length),Yx(f.c[s],29)));t.a.c=VQ(U_n,iEn,1,0,5,1),Ron(e)}else Ron(e)}function Ejn(n){var t,e,i,r,c,a,u,o;for(n.b=1,kjn(n),t=null,0==n.c&&94==n.a?(kjn(n),Ljn(),Ljn(),zwn(t=new cU(4),0,j_n),a=new cU(4)):(Ljn(),Ljn(),a=new cU(4)),r=!0;1!=(o=n.c);){if(0==o&&93==n.a&&!r){t&&(Kyn(t,a),a=t);break}if(e=n.a,i=!1,10==o)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:fmn(a,rpn(e)),i=!0;break;case 105:case 73:case 99:case 67:fmn(a,rpn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(u=Hhn(n,e)))throw hp(new wy(_jn((GC(),zxn))));fmn(a,u),i=!0;break;default:e=Tdn(n)}else if(24==o&&!r){if(t&&(Kyn(t,a),a=t),Kyn(a,Ejn(n)),0!=n.c||93!=n.a)throw hp(new wy(_jn((GC(),Vxn))));break}if(kjn(n),!i){if(0==o){if(91==e)throw hp(new wy(_jn((GC(),Qxn))));if(93==e)throw hp(new wy(_jn((GC(),Yxn))));if(45==e&&!r&&93!=n.a)throw hp(new wy(_jn((GC(),Jxn))))}if(0!=n.c||45!=n.a||45==e&&r)zwn(a,e,e);else{if(kjn(n),1==(o=n.c))throw hp(new wy(_jn((GC(),Xxn))));if(0==o&&93==n.a)zwn(a,e,e),zwn(a,45,45);else{if(0==o&&93==n.a||24==o)throw hp(new wy(_jn((GC(),Jxn))));if(c=n.a,0==o){if(91==c)throw hp(new wy(_jn((GC(),Qxn))));if(93==c)throw hp(new wy(_jn((GC(),Yxn))));if(45==c)throw hp(new wy(_jn((GC(),Jxn))))}else 10==o&&(c=Tdn(n));if(kjn(n),e>c)throw hp(new wy(_jn((GC(),tDn))));zwn(a,e,c)}}}r=!1}if(1==n.c)throw hp(new wy(_jn((GC(),Xxn))));return xln(a),Lmn(a),n.b=0,kjn(n),a}function Tjn(){Tjn=O,ljn(),Qhn(Azn=new Zq,(Ikn(),Oit),Cit),Qhn(Azn,Fit,Cit),Qhn(Azn,Ait,Cit),Qhn(Azn,Rit,Cit),Qhn(Azn,Dit,Cit),Qhn(Azn,Nit,Cit),Qhn(Azn,Rit,Oit),Qhn(Azn,Cit,Mit),Qhn(Azn,Oit,Mit),Qhn(Azn,Fit,Mit),Qhn(Azn,Ait,Mit),Qhn(Azn,xit,Mit),Qhn(Azn,Rit,Mit),Qhn(Azn,Dit,Mit),Qhn(Azn,Nit,Mit),Qhn(Azn,Iit,Mit),Qhn(Azn,Cit,_it),Qhn(Azn,Oit,_it),Qhn(Azn,Mit,_it),Qhn(Azn,Fit,_it),Qhn(Azn,Ait,_it),Qhn(Azn,xit,_it),Qhn(Azn,Rit,_it),Qhn(Azn,Iit,_it),Qhn(Azn,Kit,_it),Qhn(Azn,Dit,_it),Qhn(Azn,$it,_it),Qhn(Azn,Nit,_it),Qhn(Azn,Oit,Fit),Qhn(Azn,Ait,Fit),Qhn(Azn,Rit,Fit),Qhn(Azn,Nit,Fit),Qhn(Azn,Oit,Ait),Qhn(Azn,Fit,Ait),Qhn(Azn,Rit,Ait),Qhn(Azn,Ait,Ait),Qhn(Azn,Dit,Ait),Qhn(Azn,Cit,Sit),Qhn(Azn,Oit,Sit),Qhn(Azn,Mit,Sit),Qhn(Azn,_it,Sit),Qhn(Azn,Fit,Sit),Qhn(Azn,Ait,Sit),Qhn(Azn,xit,Sit),Qhn(Azn,Rit,Sit),Qhn(Azn,Kit,Sit),Qhn(Azn,Iit,Sit),Qhn(Azn,Nit,Sit),Qhn(Azn,Dit,Sit),Qhn(Azn,Lit,Sit),Qhn(Azn,Cit,Kit),Qhn(Azn,Oit,Kit),Qhn(Azn,Mit,Kit),Qhn(Azn,Fit,Kit),Qhn(Azn,Ait,Kit),Qhn(Azn,xit,Kit),Qhn(Azn,Rit,Kit),Qhn(Azn,Iit,Kit),Qhn(Azn,Nit,Kit),Qhn(Azn,$it,Kit),Qhn(Azn,Lit,Kit),Qhn(Azn,Oit,Iit),Qhn(Azn,Fit,Iit),Qhn(Azn,Ait,Iit),Qhn(Azn,Rit,Iit),Qhn(Azn,Kit,Iit),Qhn(Azn,Nit,Iit),Qhn(Azn,Dit,Iit),Qhn(Azn,Cit,Pit),Qhn(Azn,Oit,Pit),Qhn(Azn,Mit,Pit),Qhn(Azn,Fit,Pit),Qhn(Azn,Ait,Pit),Qhn(Azn,xit,Pit),Qhn(Azn,Rit,Pit),Qhn(Azn,Iit,Pit),Qhn(Azn,Nit,Pit),Qhn(Azn,Oit,Dit),Qhn(Azn,Mit,Dit),Qhn(Azn,_it,Dit),Qhn(Azn,Ait,Dit),Qhn(Azn,Cit,$it),Qhn(Azn,Oit,$it),Qhn(Azn,_it,$it),Qhn(Azn,Fit,$it),Qhn(Azn,Ait,$it),Qhn(Azn,xit,$it),Qhn(Azn,Rit,$it),Qhn(Azn,Rit,Lit),Qhn(Azn,Ait,Lit),Qhn(Azn,Iit,Cit),Qhn(Azn,Iit,Fit),Qhn(Azn,Iit,Mit),Qhn(Azn,xit,Cit),Qhn(Azn,xit,Oit),Qhn(Azn,xit,_it)}function Mjn(n,t){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new eq(n.b,n.a,t,n.c);case 1:return new WO(n.a,t,tnn(t.Tg(),n.c));case 43:return new QO(n.a,t,tnn(t.Tg(),n.c));case 3:return new XO(n.a,t,tnn(t.Tg(),n.c));case 45:return new VO(n.a,t,tnn(t.Tg(),n.c));case 41:return new yY(Yx(fcn(n.c),26),n.a,t,tnn(t.Tg(),n.c));case 50:return new j0(Yx(fcn(n.c),26),n.a,t,tnn(t.Tg(),n.c));case 5:return new TN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 47:return new MN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 7:return new mK(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 49:return new EN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 9:return new tA(n.a,t,tnn(t.Tg(),n.c));case 11:return new nA(n.a,t,tnn(t.Tg(),n.c));case 13:return new ZO(n.a,t,tnn(t.Tg(),n.c));case 15:return new CD(n.a,t,tnn(t.Tg(),n.c));case 17:return new eA(n.a,t,tnn(t.Tg(),n.c));case 19:return new JO(n.a,t,tnn(t.Tg(),n.c));case 21:return new YO(n.a,t,tnn(t.Tg(),n.c));case 23:return new TD(n.a,t,tnn(t.Tg(),n.c));case 25:return new $N(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 27:return new AN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 29:return new CN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 31:return new SN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 33:return new ON(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 35:return new IN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 37:return new PN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 39:return new yK(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 40:return new e3(t,tnn(t.Tg(),n.c));default:throw hp(new Im("Unknown feature style: "+n.e))}}function Sjn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;switch(run(i,"Brandes & Koepf node placement",1),n.a=t,n.c=avn(t),r=Yx(Aun(t,(gjn(),W1n)),274),w=ny(hL(Aun(t,V1n))),n.d=r==(Wcn(),hVn)&&!w||r==uVn,function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=VQ(Wot,MTn,25,d,15,1),f=0,h=new pb(t.b);h.aa)&&KK(n.b,Yx(g.b,17));++u}c=a}}}(n,t),k=null,j=null,p=null,v=null,g0(4,UEn),g=new pQ(4),Yx(Aun(t,W1n),274).g){case 3:p=new Bgn(t,n.c.d,(RG(),v4n),(Jq(),w4n)),g.c[g.c.length]=p;break;case 1:v=new Bgn(t,n.c.d,(RG(),m4n),(Jq(),w4n)),g.c[g.c.length]=v;break;case 4:k=new Bgn(t,n.c.d,(RG(),v4n),(Jq(),d4n)),g.c[g.c.length]=k;break;case 2:j=new Bgn(t,n.c.d,(RG(),m4n),(Jq(),d4n)),g.c[g.c.length]=j;break;default:p=new Bgn(t,n.c.d,(RG(),v4n),(Jq(),w4n)),v=new Bgn(t,n.c.d,m4n,w4n),k=new Bgn(t,n.c.d,v4n,d4n),j=new Bgn(t,n.c.d,m4n,d4n),g.c[g.c.length]=k,g.c[g.c.length]=j,g.c[g.c.length]=p,g.c[g.c.length]=v}for(c=new kS(t,n.c),o=new pb(g);o.aE[s]&&(d=s),f=new pb(n.a.b);f.aAln(a))&&(l=a);for(!l&&($z(0,g.c.length),l=Yx(g.c[0],180)),d=new pb(t.b);d.a=-1900?1:0,yI(n,i>=4?x4(Gy(fFn,1),TEn,2,6,[STn,PTn])[u]:x4(Gy(fFn,1),TEn,2,6,["BC","AD"])[u]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-TTn+TTn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:tZ(n,i%100,2);break;default:tZ(n,i,t)}}(n,i,r);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:yI(n,x4(Gy(fFn,1),TEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:yI(n,x4(Gy(fFn,1),TEn,2,6,[lTn,bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn])[i]);break;case 3:yI(n,x4(Gy(fFn,1),TEn,2,6,["Jan","Feb","Mar","Apr",gTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:tZ(n,i+1,t)}}(n,i,r);break;case 107:tZ(n,0==(o=c.q.getHours())?24:o,i);break;case 83:!function(n,t,i){var r,c;k8(r=D3(i.q.getTime()),0)<0?(c=hTn-WR(Snn(sJ(r),hTn)))==hTn&&(c=0):c=WR(Snn(r,hTn)),1==t?KF(n,48+(c=e.Math.min((c+50)/100|0,9))&fTn):2==t?tZ(n,c=e.Math.min((c+5)/10|0,99),2):(tZ(n,c,3),t>3&&tZ(n,0,t-3))}(n,i,c);break;case 69:s=r.q.getDay(),yI(n,5==i?x4(Gy(fFn,1),TEn,2,6,["S","M","T","W","T","F","S"])[s]:4==i?x4(Gy(fFn,1),TEn,2,6,[ITn,CTn,OTn,ATn,$Tn,LTn,NTn])[s]:x4(Gy(fFn,1),TEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[s]);break;case 97:c.q.getHours()>=12&&c.q.getHours()<24?yI(n,x4(Gy(fFn,1),TEn,2,6,["AM","PM"])[1]):yI(n,x4(Gy(fFn,1),TEn,2,6,["AM","PM"])[0]);break;case 104:tZ(n,0==(h=c.q.getHours()%12)?12:h,i);break;case 75:tZ(n,c.q.getHours()%12,i);break;case 72:tZ(n,c.q.getHours(),i);break;case 99:f=r.q.getDay(),5==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["S","M","T","W","T","F","S"])[f]):4==i?yI(n,x4(Gy(fFn,1),TEn,2,6,[ITn,CTn,OTn,ATn,$Tn,LTn,NTn])[f]):3==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):tZ(n,f,1);break;case 76:l=r.q.getMonth(),5==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[l]):4==i?yI(n,x4(Gy(fFn,1),TEn,2,6,[lTn,bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn])[l]):3==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["Jan","Feb","Mar","Apr",gTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l]):tZ(n,l+1,i);break;case 81:b=r.q.getMonth()/3|0,yI(n,i<4?x4(Gy(fFn,1),TEn,2,6,["Q1","Q2","Q3","Q4"])[b]:x4(Gy(fFn,1),TEn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[b]);break;case 100:tZ(n,r.q.getDate(),i);break;case 109:tZ(n,c.q.getMinutes(),i);break;case 115:tZ(n,c.q.getSeconds(),i);break;case 122:yI(n,i<4?a.c[0]:a.c[1]);break;case 118:yI(n,a.b);break;case 90:yI(n,i<3?function(n){var t,e;return e=-n.a,t=x4(Gy(Xot,1),sTn,25,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&fTn,t[2]=t[2]+(e/60|0)%10&fTn,t[3]=t[3]+(e%60/10|0)&fTn,t[4]=t[4]+e%10&fTn,Vnn(t,0,t.length)}(a):3==i?function(n){var t,e;return e=-n.a,t=x4(Gy(Xot,1),sTn,25,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&fTn,t[2]=t[2]+(e/60|0)%10&fTn,t[4]=t[4]+(e%60/10|0)&fTn,t[5]=t[5]+e%10&fTn,Vnn(t,0,t.length)}(a):function(n){var t;return t=x4(Gy(Xot,1),sTn,25,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)&fTn,t[5]=t[5]+(n/60|0)%10&fTn,t[7]=t[7]+(n%60/10|0)&fTn,t[8]=t[8]+n%10&fTn,Vnn(t,0,t.length)}(a.a));break;default:return!1}return!0}function Ijn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(dgn(t),o=Yx(c1((!t.b&&(t.b=new AN(Zrt,t,4,7)),t.b),0),82),h=Yx(c1((!t.c&&(t.c=new AN(Zrt,t,5,8)),t.c),0),82),u=iun(o),s=iun(h),a=0==(!t.a&&(t.a=new mK(tct,t,6,6)),t.a).i?null:Yx(c1((!t.a&&(t.a=new mK(tct,t,6,6)),t.a),0),202),j=Yx(BF(n.a,u),10),S=Yx(BF(n.a,s),10),E=null,P=null,CO(o,186)&&(CO(k=Yx(BF(n.a,o),299),11)?E=Yx(k,11):CO(k,10)&&(j=Yx(k,10),E=Yx(TR(j.j,0),11))),CO(h,186)&&(CO(M=Yx(BF(n.a,h),299),11)?P=Yx(M,11):CO(M,10)&&(S=Yx(M,10),P=Yx(TR(S.j,0),11))),!j||!S)throw hp(new by("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(o4(d=new jq,t),b5(d,(Ojn(),CQn),t),b5(d,(gjn(),$1n),null),b=Yx(Aun(i,bQn),21),j==S&&b.Fc((edn(),$Vn)),E||(h0(),y=i3n,T=null,a&&dC(Yx(Aun(j,g0n),98))&&(XX(T=new QS(a.j,a.k),EG(t)),UW(T,e),XZ(s,u)&&(y=e3n,mN(T,j.n))),E=dmn(j,T,y,i)),P||(h0(),y=e3n,I=null,a&&dC(Yx(Aun(S,g0n),98))&&(XX(I=new QS(a.b,a.c),EG(t)),UW(I,e)),P=dmn(S,I,y,dB(S))),YG(d,E),QG(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((edn(),PVn)),l=new UO((!t.n&&(t.n=new mK(act,t,1,7)),t.n));l.e!=l.i.gc();)if(!ny(hL(jln(f=Yx(hen(l),137),r0n)))&&f.a)switch(g=d8(f),eD(d.b,g),Yx(Aun(g,f1n),272).g){case 1:case 2:b.Fc((edn(),MVn));break;case 0:b.Fc((edn(),EVn)),b5(g,f1n,(ZZ(),cet))}if(c=Yx(Aun(i,i1n),314),p=Yx(Aun(i,Z1n),315),r=c==(O0(),EWn)||p==(ain(),A2n),a&&0!=(!a.a&&(a.a=new XO(Qrt,a,5)),a.a).i&&r){for(v=_on(a),w=new Nv,m=Ztn(v,0);m.b!=m.d.c;)_D(w,new fC(Yx(IX(m),8)));b5(d,OQn,w)}return d}function Cjn(){var n,t;Cjn=O,gnt=new Og(CLn),Ltt=new Og(OLn),qen(),pnt=new FI(sAn,vnt=H7n),new tp,mnt=new FI(hPn,null),ynt=new Og(ALn),dan(),Mnt=t_(bnt,x4(Gy(iet,1),XEn,291,0,[snt])),Tnt=new FI(jAn,Mnt),Snt=new FI(oAn,(TA(),!1)),t9(),Pnt=new FI(bAn,Int=tet),g7(),$nt=new FI(xOn,Lnt=wet),Dnt=new FI(U$n,!1),O8(),Rnt=new FI(OOn,_nt=Let),ott=new RC(12),utt=new FI(fPn,ott),Hnt=new FI(RPn,!1),qnt=new FI(NAn,!1),att=new FI(FPn,!1),Ran(),ktt=new FI(_Pn,jtt=lit),Ott=new Og(AAn),Att=new Og($Pn),$tt=new Og(xPn),xtt=new Og(DPn),znt=new Nv,Gnt=new FI(EAn,znt),Ent=new FI(SAn,!1),Knt=new FI(PAn,!1),new Og($Ln),Xnt=new Mv,Unt=new FI($An,Xnt),ctt=new FI(aAn,!1),new tp,Ntt=new FI(LLn,1),new FI(NLn,!0),d9(0),new FI(xLn,d9(100)),new FI(DLn,!1),d9(0),new FI(RLn,d9(4e3)),d9(0),new FI(_Ln,d9(400)),new FI(KLn,!1),new FI(FLn,!1),new FI(BLn,!0),new FI(HLn,!1),unn(),knt=new FI(ILn,jnt=prt),Dtt=new FI(WOn,10),Rtt=new FI(VOn,10),_tt=new FI(oPn,20),Ktt=new FI(QOn,10),Ftt=new FI(NPn,2),Btt=new FI(YOn,10),qtt=new FI(JOn,0),Gtt=new FI(tAn,5),ztt=new FI(ZOn,1),Utt=new FI(nAn,1),Xtt=new FI(LPn,20),Wtt=new FI(eAn,10),Ytt=new FI(iAn,10),Htt=new Og(rAn),Qtt=new sC,Vtt=new FI(LAn,Qtt),ftt=new Og(OAn),stt=new FI(CAn,htt=!1),Vnt=new RC(5),Wnt=new FI(wAn,Vnt),Eln(),t=Yx(Ak(cit),9),Ynt=new cx(t,Yx(eN(t,t.length),9),0),Qnt=new FI(qPn,Ynt),Ytn(),btt=new FI(pAn,wtt=eit),gtt=new Og(vAn),ptt=new Og(mAn),vtt=new Og(yAn),dtt=new Og(kAn),n=Yx(Ak(lrt),9),Znt=new cx(n,Yx(eN(n,n.length),9),0),Jnt=new FI(HPn,Znt),rtt=J9((Vgn(),crt)),itt=new FI(BPn,rtt),ett=new QS(0,0),ttt=new FI(eIn,ett),ntt=new FI(lAn,!1),ZZ(),Ont=new FI(TAn,Ant=cet),Cnt=new FI(KPn,!1),new Og(qLn),d9(1),new FI(GLn,null),mtt=new Og(IAn),Ett=new Og(MAn),Ikn(),Itt=new FI(uAn,Ctt=Hit),ytt=new Og(cAn),Chn(),Stt=J9(mit),Mtt=new FI(GPn,Stt),Ttt=new FI(dAn,!1),Ptt=new FI(gAn,!0),Fnt=new FI(hAn,!1),Bnt=new FI(fAn,!1),Nnt=new FI(sPn,1),vun(),new FI(zLn,xnt=ket),ltt=!0}function Ojn(){var n,t;Ojn=O,CQn=new Og(zPn),nQn=new Og("coordinateOrigin"),KQn=new Og("processors"),ZVn=new KL("compoundNode",(TA(),!1)),gQn=new KL("insideConnections",!1),OQn=new Og("originalBendpoints"),AQn=new Og("originalDummyNodePosition"),$Qn=new Og("originalLabelEdge"),BQn=new Og("representedLabels"),cQn=new Og("endLabels"),aQn=new Og("endLabel.origin"),kQn=new KL("labelSide",(Frn(),Fet)),PQn=new KL("maxEdgeThickness",0),HQn=new KL("reversed",!1),FQn=new Og(UPn),TQn=new KL("longEdgeSource",null),MQn=new KL("longEdgeTarget",null),EQn=new KL("longEdgeHasLabelDummies",!1),jQn=new KL("longEdgeBeforeLabelDummy",!1),rQn=new KL("edgeConstraint",(i5(),zWn)),vQn=new Og("inLayerLayoutUnit"),pQn=new KL("inLayerConstraint",(AJ(),BVn)),mQn=new KL("inLayerSuccessorConstraint",new ip),yQn=new KL("inLayerSuccessorConstraintBetweenNonDummies",!1),RQn=new Og("portDummy"),tQn=new KL("crossingHint",d9(0)),bQn=new KL("graphProperties",new cx(t=Yx(Ak(_Vn),9),Yx(eN(t,t.length),9),0)),hQn=new KL("externalPortSide",(Ikn(),Hit)),fQn=new KL("externalPortSize",new Pk),oQn=new Og("externalPortReplacedDummies"),sQn=new Og("externalPortReplacedDummy"),uQn=new KL("externalPortConnections",new cx(n=Yx(Ak(trt),9),Yx(eN(n,n.length),9),0)),_Qn=new KL(OSn,0),VVn=new Og("barycenterAssociates"),JQn=new Og("TopSideComments"),QVn=new Og("BottomSideComments"),JVn=new Og("CommentConnectionPort"),dQn=new KL("inputCollect",!1),xQn=new KL("outputCollect",!1),iQn=new KL("cyclic",!1),eQn=new Og("crossHierarchyMap"),YQn=new Og("targetOffset"),new KL("splineLabelSize",new Pk),zQn=new Og("spacings"),DQn=new KL("partitionConstraint",!1),YVn=new Og("breakingPoint.info"),VQn=new Og("splines.survivingEdge"),WQn=new Og("splines.route.start"),UQn=new Og("splines.edgeChain"),NQn=new Og("originalPortConstraints"),GQn=new Og("selfLoopHolder"),XQn=new Og("splines.nsPortY"),IQn=new Og("modelOrder"),SQn=new Og("longEdgeTargetNode"),lQn=new KL(aCn,!1),qQn=new KL(aCn,!1),wQn=new Og("layerConstraints.hiddenNodes"),LQn=new Og("layerConstraints.opposidePort"),QQn=new Og("targetNode.modelOrder")}function Ajn(){Ajn=O,fZ(),FYn=new FI(uCn,BYn=FWn),rJn=new FI(oCn,(TA(),!1)),dX(),sJn=new FI(sCn,hJn=zVn),IJn=new FI(hCn,!1),CJn=new FI(fCn,!0),aYn=new FI(lCn,!1),$J(),WJn=new FI(bCn,VJn=J2n),d9(1),iZn=new FI(wCn,d9(7)),rZn=new FI(dCn,!1),cJn=new FI(gCn,!1),min(),_Yn=new FI(pCn,KYn=NWn),nun(),SJn=new FI(vCn,PJn=d2n),d7(),gJn=new FI(mCn,pJn=iYn),d9(-1),dJn=new FI(yCn,d9(-1)),d9(-1),vJn=new FI(kCn,d9(-1)),d9(-1),mJn=new FI(jCn,d9(4)),d9(-1),kJn=new FI(ECn,d9(2)),Kbn(),TJn=new FI(TCn,MJn=q2n),d9(0),EJn=new FI(MCn,d9(0)),bJn=new FI(SCn,d9(Yjn)),O0(),DYn=new FI(PCn,RYn=TWn),kYn=new FI(ICn,!1),OYn=new FI(CCn,.1),NYn=new FI(OCn,!1),d9(-1),$Yn=new FI(ACn,d9(-1)),d9(-1),LYn=new FI($Cn,d9(-1)),d9(0),jYn=new FI(LCn,d9(40)),r4(),PYn=new FI(NCn,IYn=RVn),EYn=new FI(xCn,TYn=xVn),ain(),UJn=new FI(DCn,XJn=O2n),DJn=new Og(RCn),cJ(),OJn=new FI(_Cn,AJn=iVn),Wcn(),LJn=new FI(KCn,NJn=hVn),new tp,KJn=new FI(FCn,.3),BJn=new Og(BCn),Hen(),HJn=new FI(HCn,qJn=S2n),d3(),WYn=new FI(qCn,VYn=o3n),rQ(),QYn=new FI(GCn,YYn=b3n),$6(),JYn=new FI(zCn,ZYn=v3n),tJn=new FI(UCn,.2),UYn=new FI(XCn,2),ZJn=new FI(WCn,null),tZn=new FI(VCn,10),nZn=new FI(QCn,10),eZn=new FI(YCn,20),d9(0),QJn=new FI(JCn,d9(0)),d9(0),YJn=new FI(ZCn,d9(0)),d9(0),JJn=new FI(nOn,d9(0)),uYn=new FI(tOn,!1),uon(),hYn=new FI(eOn,fYn=mVn),aY(),oYn=new FI(iOn,sYn=yWn),uJn=new FI(rOn,!1),d9(0),aJn=new FI(cOn,d9(16)),d9(0),oJn=new FI(aOn,d9(5)),F4(),SZn=new FI(uOn,PZn=P3n),cZn=new FI(oOn,10),oZn=new FI(sOn,1),f0(),gZn=new FI(hOn,pZn=OWn),fZn=new Og(fOn),wZn=d9(1),d9(0),bZn=new FI(lOn,wZn),V2(),AZn=new FI(bOn,$Zn=k3n),IZn=new Og(wOn),jZn=new FI(dOn,!0),yZn=new FI(gOn,2),TZn=new FI(pOn,!0),pon(),GYn=new FI(vOn,zYn=ZWn),psn(),HYn=new FI(mOn,qYn=bWn),k5(),mYn=new FI(yOn,yYn=W2n),vYn=new FI(kOn,!1),e9(),lYn=new FI(jOn,bYn=Izn),i8(),gYn=new FI(EOn,pYn=m2n),wYn=new FI(TOn,0),dYn=new FI(MOn,0),lJn=DWn,fJn=EWn,yJn=w2n,jJn=w2n,wJn=f2n,O8(),AYn=$et,xYn=TWn,CYn=TWn,MYn=TWn,SYn=$et,RJn=L2n,_Jn=O2n,$Jn=O2n,xJn=O2n,FJn=$2n,zJn=L2n,GJn=L2n,g7(),nJn=bet,eJn=bet,iJn=v3n,XYn=fet,aZn=I3n,uZn=S3n,sZn=I3n,hZn=S3n,vZn=I3n,mZn=S3n,lZn=CWn,dZn=OWn,LZn=I3n,NZn=S3n,CZn=I3n,OZn=S3n,EZn=S3n,kZn=S3n,MZn=S3n}function $jn(){$jn=O,vUn=new vM("DIRECTION_PREPROCESSOR",0),dUn=new vM("COMMENT_PREPROCESSOR",1),mUn=new vM("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),xUn=new vM("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),nXn=new vM("PARTITION_PREPROCESSOR",4),KUn=new vM("LABEL_DUMMY_INSERTER",5),aXn=new vM("SELF_LOOP_PREPROCESSOR",6),GUn=new vM("LAYER_CONSTRAINT_PREPROCESSOR",7),JUn=new vM("PARTITION_MIDPROCESSOR",8),OUn=new vM("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),WUn=new vM("NODE_PROMOTION",10),qUn=new vM("LAYER_CONSTRAINT_POSTPROCESSOR",11),ZUn=new vM("PARTITION_POSTPROCESSOR",12),SUn=new vM("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),oXn=new vM("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),sUn=new vM("BREAKING_POINT_INSERTER",15),XUn=new vM("LONG_EDGE_SPLITTER",16),eXn=new vM("PORT_SIDE_PROCESSOR",17),DUn=new vM("INVERTED_PORT_PROCESSOR",18),tXn=new vM("PORT_LIST_SORTER",19),hXn=new vM("SORT_BY_INPUT_ORDER_OF_MODEL",20),QUn=new vM("NORTH_SOUTH_PORT_PREPROCESSOR",21),hUn=new vM("BREAKING_POINT_PROCESSOR",22),YUn=new vM(_In,23),fXn=new vM(KIn,24),rXn=new vM("SELF_LOOP_PORT_RESTORER",25),sXn=new vM("SINGLE_EDGE_GRAPH_WRAPPER",26),RUn=new vM("IN_LAYER_CONSTRAINT_PROCESSOR",27),EUn=new vM("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),_Un=new vM("LABEL_AND_NODE_SIZE_PROCESSOR",29),NUn=new vM("INNERMOST_NODE_MARGIN_CALCULATOR",30),uXn=new vM("SELF_LOOP_ROUTER",31),bUn=new vM("COMMENT_NODE_MARGIN_CALCULATOR",32),kUn=new vM("END_LABEL_PREPROCESSOR",33),BUn=new vM("LABEL_DUMMY_SWITCHER",34),lUn=new vM("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),HUn=new vM("LABEL_SIDE_SELECTOR",36),$Un=new vM("HYPEREDGE_DUMMY_MERGER",37),PUn=new vM("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),zUn=new vM("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),CUn=new vM("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),gUn=new vM("CONSTRAINTS_POSTPROCESSOR",41),wUn=new vM("COMMENT_POSTPROCESSOR",42),LUn=new vM("HYPERNODE_PROCESSOR",43),IUn=new vM("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),UUn=new vM("LONG_EDGE_JOINER",45),cXn=new vM("SELF_LOOP_POSTPROCESSOR",46),fUn=new vM("BREAKING_POINT_REMOVER",47),VUn=new vM("NORTH_SOUTH_PORT_POSTPROCESSOR",48),AUn=new vM("HORIZONTAL_COMPACTOR",49),FUn=new vM("LABEL_DUMMY_REMOVER",50),TUn=new vM("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),jUn=new vM("END_LABEL_SORTER",52),iXn=new vM("REVERSED_EDGE_RESTORER",53),yUn=new vM("END_LABEL_POSTPROCESSOR",54),MUn=new vM("HIERARCHICAL_NODE_RESIZER",55),pUn=new vM("DIRECTION_POSTPROCESSOR",56)}function Ljn(){Ljn=O,Tot=new np(7),Mot=new BR(8,94),new BR(8,64),Sot=new BR(8,36),$ot=new BR(8,65),Lot=new BR(8,122),Not=new BR(8,90),Rot=new BR(8,98),Oot=new BR(8,66),xot=new BR(8,60),_ot=new BR(8,62),Eot=new np(11),zwn(jot=new cU(4),48,57),zwn(Dot=new cU(4),48,57),zwn(Dot,65,90),zwn(Dot,95,95),zwn(Dot,97,122),zwn(Aot=new cU(4),9,9),zwn(Aot,10,10),zwn(Aot,12,12),zwn(Aot,13,13),zwn(Aot,32,32),Pot=nvn(jot),Cot=nvn(Dot),Iot=nvn(Aot),vot=new rp,mot=new rp,yot=x4(Gy(fFn,1),TEn,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"]),pot=x4(Gy(fFn,1),TEn,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",A_n,"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"]),kot=x4(Gy(Wot,1),MTn,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function Njn(){Njn=O,BHn=new U2("OUT_T_L",0,(BY(),fHn),(OJ(),pHn),(JZ(),rHn),rHn,x4(Gy(Y_n,1),iEn,21,0,[t_((Eln(),Wet),x4(Gy(cit,1),XEn,93,0,[Yet,Get]))])),FHn=new U2("OUT_T_C",1,hHn,pHn,rHn,cHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Yet,qet])),t_(Wet,x4(Gy(cit,1),XEn,93,0,[Yet,qet,zet]))])),HHn=new U2("OUT_T_R",2,lHn,pHn,rHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Yet,Uet]))])),$Hn=new U2("OUT_B_L",3,fHn,mHn,aHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,Get]))])),AHn=new U2("OUT_B_C",4,hHn,mHn,aHn,cHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,qet])),t_(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,qet,zet]))])),LHn=new U2("OUT_B_R",5,lHn,mHn,aHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,Uet]))])),DHn=new U2("OUT_L_T",6,lHn,mHn,rHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Yet,zet]))])),xHn=new U2("OUT_L_C",7,lHn,vHn,cHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Qet])),t_(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Qet,zet]))])),NHn=new U2("OUT_L_B",8,lHn,pHn,aHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Vet,zet]))])),KHn=new U2("OUT_R_T",9,fHn,mHn,rHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Yet,zet]))])),_Hn=new U2("OUT_R_C",10,fHn,vHn,cHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Qet])),t_(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Qet,zet]))])),RHn=new U2("OUT_R_B",11,fHn,pHn,aHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Vet,zet]))])),CHn=new U2("IN_T_L",12,fHn,mHn,rHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Get])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Get,zet]))])),IHn=new U2("IN_T_C",13,hHn,mHn,rHn,cHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,qet])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,qet,zet]))])),OHn=new U2("IN_T_R",14,lHn,mHn,rHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Uet])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Uet,zet]))])),SHn=new U2("IN_C_L",15,fHn,vHn,cHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Get])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Get,zet]))])),MHn=new U2("IN_C_C",16,hHn,vHn,cHn,cHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,qet])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,qet,zet]))])),PHn=new U2("IN_C_R",17,lHn,vHn,cHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Uet])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Uet,zet]))])),EHn=new U2("IN_B_L",18,fHn,pHn,aHn,rHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Get])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Get,zet]))])),jHn=new U2("IN_B_C",19,hHn,pHn,aHn,cHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,qet])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,qet,zet]))])),THn=new U2("IN_B_R",20,lHn,pHn,aHn,aHn,x4(Gy(Y_n,1),iEn,21,0,[t_(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Uet])),t_(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Uet,zet]))])),qHn=new U2(MSn,21,null,null,null,null,x4(Gy(Y_n,1),iEn,21,0,[]))}function xjn(){xjn=O,vat=(YF(),gat).b,Yx(c1(aq(gat.b),0),34),Yx(c1(aq(gat.b),1),18),pat=gat.a,Yx(c1(aq(gat.a),0),34),Yx(c1(aq(gat.a),1),18),Yx(c1(aq(gat.a),2),18),Yx(c1(aq(gat.a),3),18),Yx(c1(aq(gat.a),4),18),mat=gat.o,Yx(c1(aq(gat.o),0),34),Yx(c1(aq(gat.o),1),34),kat=Yx(c1(aq(gat.o),2),18),Yx(c1(aq(gat.o),3),18),Yx(c1(aq(gat.o),4),18),Yx(c1(aq(gat.o),5),18),Yx(c1(aq(gat.o),6),18),Yx(c1(aq(gat.o),7),18),Yx(c1(aq(gat.o),8),18),Yx(c1(aq(gat.o),9),18),Yx(c1(aq(gat.o),10),18),Yx(c1(aq(gat.o),11),18),Yx(c1(aq(gat.o),12),18),Yx(c1(aq(gat.o),13),18),Yx(c1(aq(gat.o),14),18),Yx(c1(aq(gat.o),15),18),Yx(c1(cq(gat.o),0),59),Yx(c1(cq(gat.o),1),59),Yx(c1(cq(gat.o),2),59),Yx(c1(cq(gat.o),3),59),Yx(c1(cq(gat.o),4),59),Yx(c1(cq(gat.o),5),59),Yx(c1(cq(gat.o),6),59),Yx(c1(cq(gat.o),7),59),Yx(c1(cq(gat.o),8),59),Yx(c1(cq(gat.o),9),59),yat=gat.p,Yx(c1(aq(gat.p),0),34),Yx(c1(aq(gat.p),1),34),Yx(c1(aq(gat.p),2),34),Yx(c1(aq(gat.p),3),34),Yx(c1(aq(gat.p),4),18),Yx(c1(aq(gat.p),5),18),Yx(c1(cq(gat.p),0),59),Yx(c1(cq(gat.p),1),59),jat=gat.q,Yx(c1(aq(gat.q),0),34),Eat=gat.v,Yx(c1(aq(gat.v),0),18),Yx(c1(cq(gat.v),0),59),Yx(c1(cq(gat.v),1),59),Yx(c1(cq(gat.v),2),59),Tat=gat.w,Yx(c1(aq(gat.w),0),34),Yx(c1(aq(gat.w),1),34),Yx(c1(aq(gat.w),2),34),Yx(c1(aq(gat.w),3),18),Mat=gat.B,Yx(c1(aq(gat.B),0),18),Yx(c1(cq(gat.B),0),59),Yx(c1(cq(gat.B),1),59),Yx(c1(cq(gat.B),2),59),Iat=gat.Q,Yx(c1(aq(gat.Q),0),18),Yx(c1(cq(gat.Q),0),59),Cat=gat.R,Yx(c1(aq(gat.R),0),34),Oat=gat.S,Yx(c1(cq(gat.S),0),59),Yx(c1(cq(gat.S),1),59),Yx(c1(cq(gat.S),2),59),Yx(c1(cq(gat.S),3),59),Yx(c1(cq(gat.S),4),59),Yx(c1(cq(gat.S),5),59),Yx(c1(cq(gat.S),6),59),Yx(c1(cq(gat.S),7),59),Yx(c1(cq(gat.S),8),59),Yx(c1(cq(gat.S),9),59),Yx(c1(cq(gat.S),10),59),Yx(c1(cq(gat.S),11),59),Yx(c1(cq(gat.S),12),59),Yx(c1(cq(gat.S),13),59),Yx(c1(cq(gat.S),14),59),Aat=gat.T,Yx(c1(aq(gat.T),0),18),Yx(c1(aq(gat.T),2),18),$at=Yx(c1(aq(gat.T),3),18),Yx(c1(aq(gat.T),4),18),Yx(c1(cq(gat.T),0),59),Yx(c1(cq(gat.T),1),59),Yx(c1(aq(gat.T),1),18),Lat=gat.U,Yx(c1(aq(gat.U),0),34),Yx(c1(aq(gat.U),1),34),Yx(c1(aq(gat.U),2),18),Yx(c1(aq(gat.U),3),18),Yx(c1(aq(gat.U),4),18),Yx(c1(aq(gat.U),5),18),Yx(c1(cq(gat.U),0),59),Nat=gat.V,Yx(c1(aq(gat.V),0),18),xat=gat.W,Yx(c1(aq(gat.W),0),34),Yx(c1(aq(gat.W),1),34),Yx(c1(aq(gat.W),2),34),Yx(c1(aq(gat.W),3),18),Yx(c1(aq(gat.W),4),18),Yx(c1(aq(gat.W),5),18),Rat=gat.bb,Yx(c1(aq(gat.bb),0),34),Yx(c1(aq(gat.bb),1),34),Yx(c1(aq(gat.bb),2),34),Yx(c1(aq(gat.bb),3),34),Yx(c1(aq(gat.bb),4),34),Yx(c1(aq(gat.bb),5),34),Yx(c1(aq(gat.bb),6),34),Yx(c1(aq(gat.bb),7),18),Yx(c1(cq(gat.bb),0),59),Yx(c1(cq(gat.bb),1),59),_at=gat.eb,Yx(c1(aq(gat.eb),0),34),Yx(c1(aq(gat.eb),1),34),Yx(c1(aq(gat.eb),2),34),Yx(c1(aq(gat.eb),3),34),Yx(c1(aq(gat.eb),4),34),Yx(c1(aq(gat.eb),5),34),Yx(c1(aq(gat.eb),6),18),Yx(c1(aq(gat.eb),7),18),Dat=gat.ab,Yx(c1(aq(gat.ab),0),34),Yx(c1(aq(gat.ab),1),34),Sat=gat.H,Yx(c1(aq(gat.H),0),18),Yx(c1(aq(gat.H),1),18),Yx(c1(aq(gat.H),2),18),Yx(c1(aq(gat.H),3),18),Yx(c1(aq(gat.H),4),18),Yx(c1(aq(gat.H),5),18),Yx(c1(cq(gat.H),0),59),Kat=gat.db,Yx(c1(aq(gat.db),0),18),Pat=gat.M}function Djn(n){uT(n,new tun(ck(tk(rk(nk(ik(ek(new du,CIn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Ic),CIn),t_((zfn(),vct),x4(Gy(kct,1),XEn,237,0,[dct,gct,wct,pct,lct,fct]))))),DU(n,CIn,WOn,oen(A0n)),DU(n,CIn,VOn,oen($0n)),DU(n,CIn,oPn,oen(L0n)),DU(n,CIn,QOn,oen(N0n)),DU(n,CIn,NPn,oen(D0n)),DU(n,CIn,YOn,oen(R0n)),DU(n,CIn,JOn,oen(F0n)),DU(n,CIn,ZOn,oen(H0n)),DU(n,CIn,nAn,oen(q0n)),DU(n,CIn,tAn,oen(B0n)),DU(n,CIn,LPn,oen(G0n)),DU(n,CIn,eAn,oen(U0n)),DU(n,CIn,iAn,oen(W0n)),DU(n,CIn,rAn,oen(K0n)),DU(n,CIn,WCn,oen(O0n)),DU(n,CIn,QCn,oen(x0n)),DU(n,CIn,VCn,oen(_0n)),DU(n,CIn,YCn,oen(z0n)),DU(n,CIn,$Pn,d9(0)),DU(n,CIn,JCn,oen(M0n)),DU(n,CIn,ZCn,oen(S0n)),DU(n,CIn,nOn,oen(P0n)),DU(n,CIn,uOn,oen(c2n)),DU(n,CIn,oOn,oen(Y0n)),DU(n,CIn,sOn,oen(J0n)),DU(n,CIn,hOn,oen(t2n)),DU(n,CIn,fOn,oen(Z0n)),DU(n,CIn,lOn,oen(n2n)),DU(n,CIn,bOn,oen(u2n)),DU(n,CIn,wOn,oen(a2n)),DU(n,CIn,dOn,oen(i2n)),DU(n,CIn,gOn,oen(e2n)),DU(n,CIn,pOn,oen(r2n)),DU(n,CIn,BCn,oen(Y1n)),DU(n,CIn,HCn,oen(J1n)),DU(n,CIn,zCn,oen(v1n)),DU(n,CIn,UCn,oen(m1n)),DU(n,CIn,fPn,a0n),DU(n,CIn,xOn,w1n),DU(n,CIn,cAn,0),DU(n,CIn,xPn,d9(1)),DU(n,CIn,hPn,OPn),DU(n,CIn,aAn,oen(r0n)),DU(n,CIn,_Pn,oen(g0n)),DU(n,CIn,uAn,oen(k0n)),DU(n,CIn,oAn,oen(c1n)),DU(n,CIn,sAn,oen(xZn)),DU(n,CIn,OOn,oen(E1n)),DU(n,CIn,DPn,(TA(),!0)),DU(n,CIn,hAn,oen(I1n)),DU(n,CIn,fAn,oen(C1n)),DU(n,CIn,HPn,oen(n0n)),DU(n,CIn,BPn,oen(i0n)),DU(n,CIn,lAn,oen(t0n)),DU(n,CIn,bAn,o1n),DU(n,CIn,qPn,oen(U1n)),DU(n,CIn,wAn,oen(z1n)),DU(n,CIn,GPn,oen(m0n)),DU(n,CIn,dAn,oen(v0n)),DU(n,CIn,gAn,oen(y0n)),DU(n,CIn,pAn,s0n),DU(n,CIn,vAn,oen(f0n)),DU(n,CIn,mAn,oen(l0n)),DU(n,CIn,yAn,oen(b0n)),DU(n,CIn,kAn,oen(h0n)),DU(n,CIn,dCn,oen(Q0n)),DU(n,CIn,vCn,oen(B1n)),DU(n,CIn,TCn,oen(F1n)),DU(n,CIn,wCn,oen(V0n)),DU(n,CIn,mCn,oen(x1n)),DU(n,CIn,pCn,oen(r1n)),DU(n,CIn,PCn,oen(i1n)),DU(n,CIn,ICn,oen(VZn)),DU(n,CIn,LCn,oen(QZn)),DU(n,CIn,NCn,oen(JZn)),DU(n,CIn,xCn,oen(YZn)),DU(n,CIn,OCn,oen(e1n)),DU(n,CIn,hCn,oen(q1n)),DU(n,CIn,fCn,oen(G1n)),DU(n,CIn,sCn,oen(A1n)),DU(n,CIn,DCn,oen(Z1n)),DU(n,CIn,KCn,oen(W1n)),DU(n,CIn,oCn,oen(k1n)),DU(n,CIn,FCn,oen(Q1n)),DU(n,CIn,qCn,oen(g1n)),DU(n,CIn,GCn,oen(p1n)),DU(n,CIn,jAn,oen(WZn)),DU(n,CIn,_Cn,oen(X1n)),DU(n,CIn,eOn,oen(BZn)),DU(n,CIn,iOn,oen(FZn)),DU(n,CIn,tOn,oen(KZn)),DU(n,CIn,rOn,oen(M1n)),DU(n,CIn,cOn,oen(T1n)),DU(n,CIn,aOn,oen(S1n)),DU(n,CIn,eIn,oen(e0n)),DU(n,CIn,EAn,oen($1n)),DU(n,CIn,sPn,oen(y1n)),DU(n,CIn,TAn,oen(f1n)),DU(n,CIn,KPn,oen(h1n)),DU(n,CIn,CCn,oen(ZZn)),DU(n,CIn,MAn,oen(p0n)),DU(n,CIn,SAn,oen(_Zn)),DU(n,CIn,PAn,oen(P1n)),DU(n,CIn,IAn,oen(w0n)),DU(n,CIn,CAn,oen(u0n)),DU(n,CIn,OAn,oen(o0n)),DU(n,CIn,jCn,oen(R1n)),DU(n,CIn,ECn,oen(_1n)),DU(n,CIn,AAn,oen(E0n)),DU(n,CIn,lCn,oen(DZn)),DU(n,CIn,MCn,oen(K1n)),DU(n,CIn,vOn,oen(l1n)),DU(n,CIn,mOn,oen(s1n)),DU(n,CIn,$An,oen(H1n)),DU(n,CIn,SCn,oen(L1n)),DU(n,CIn,RCn,oen(V1n)),DU(n,CIn,LAn,oen(X0n)),DU(n,CIn,uCn,oen(u1n)),DU(n,CIn,bCn,oen(j0n)),DU(n,CIn,XCn,oen(d1n)),DU(n,CIn,yCn,oen(N1n)),DU(n,CIn,ACn,oen(n1n)),DU(n,CIn,NAn,oen(O1n)),DU(n,CIn,kCn,oen(D1n)),DU(n,CIn,$Cn,oen(t1n)),DU(n,CIn,yOn,oen(XZn)),DU(n,CIn,EOn,oen(zZn)),DU(n,CIn,TOn,oen(qZn)),DU(n,CIn,MOn,oen(GZn)),DU(n,CIn,kOn,oen(UZn)),DU(n,CIn,jOn,oen(HZn)),DU(n,CIn,gCn,oen(j1n))}function Rjn(n,t){var e;return dot||(dot=new rp,got=new rp,Ljn(),Ljn(),$nn(e=new cU(4),"\t\n\r\r "),GG(dot,S_n,e),GG(got,S_n,nvn(e)),$nn(e=new cU(4),C_n),GG(dot,T_n,e),GG(got,T_n,nvn(e)),$nn(e=new cU(4),C_n),GG(dot,T_n,e),GG(got,T_n,nvn(e)),$nn(e=new cU(4),O_n),fmn(e,Yx(aG(dot,T_n),117)),GG(dot,M_n,e),GG(got,M_n,nvn(e)),$nn(e=new cU(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),GG(dot,P_n,e),GG(got,P_n,nvn(e)),$nn(e=new cU(4),O_n),zwn(e,95,95),zwn(e,58,58),GG(dot,I_n,e),GG(got,I_n,nvn(e))),Yx(aG(t?dot:got,n),136)}function _jn(n){return KN("_UI_EMFDiagnostic_marker",n)?"EMF Problem":KN("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":KN(Cxn,n)?"Wrong character.":KN(Oxn,n)?"Invalid reference number.":KN(Axn,n)?"A character is required after \\.":KN($xn,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":KN(Lxn,n)?"'(?<' or '(? toIndex: ",DMn=", toIndex: ",RMn="Index: ",_Mn=", Size: ",KMn="org.eclipse.elk.alg.common",FMn={62:1},BMn="org.eclipse.elk.alg.common.compaction",HMn="Scanline/EventHandler",qMn="org.eclipse.elk.alg.common.compaction.oned",GMn="CNode belongs to another CGroup.",zMn="ISpacingsHandler/1",UMn="The ",XMn=" instance has been finished already.",WMn="The direction ",VMn=" is not supported by the CGraph instance.",QMn="OneDimensionalCompactor",YMn="OneDimensionalCompactor/lambda$0$Type",JMn="Quadruplet",ZMn="ScanlineConstraintCalculator",nSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",tSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",eSn="ScanlineConstraintCalculator/Timestamp",iSn="ScanlineConstraintCalculator/lambda$0$Type",rSn={169:1,45:1},cSn="org.eclipse.elk.alg.common.compaction.options",aSn="org.eclipse.elk.core.data",uSn="org.eclipse.elk.polyomino.traversalStrategy",oSn="org.eclipse.elk.polyomino.lowLevelSort",sSn="org.eclipse.elk.polyomino.highLevelSort",hSn="org.eclipse.elk.polyomino.fill",fSn={130:1},lSn="polyomino",bSn="org.eclipse.elk.alg.common.networksimplex",wSn={177:1,3:1,4:1},dSn="org.eclipse.elk.alg.common.nodespacing",gSn="org.eclipse.elk.alg.common.nodespacing.cellsystem",pSn="CENTER",vSn={212:1,326:1},mSn={3:1,4:1,5:1,595:1},ySn="LEFT",kSn="RIGHT",jSn="Vertical alignment cannot be null",ESn="BOTTOM",TSn="org.eclipse.elk.alg.common.nodespacing.internal",MSn="UNDEFINED",SSn=.01,PSn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",ISn="LabelPlacer/lambda$0$Type",CSn="LabelPlacer/lambda$1$Type",OSn="portRatioOrPosition",ASn="org.eclipse.elk.alg.common.overlaps",$Sn="DOWN",LSn="org.eclipse.elk.alg.common.polyomino",NSn="NORTH",xSn="EAST",DSn="SOUTH",RSn="WEST",_Sn="org.eclipse.elk.alg.common.polyomino.structures",KSn="Direction",FSn="Grid is only of size ",BSn=". Requested point (",HSn=") is out of bounds.",qSn=" Given center based coordinates were (",GSn="org.eclipse.elk.graph.properties",zSn="IPropertyHolder",USn={3:1,94:1,134:1},XSn="org.eclipse.elk.alg.common.spore",WSn="org.eclipse.elk.alg.common.utils",VSn={209:1},QSn="org.eclipse.elk.core",YSn="Connected Components Compaction",JSn="org.eclipse.elk.alg.disco",ZSn="org.eclipse.elk.alg.disco.graph",nPn="org.eclipse.elk.alg.disco.options",tPn="CompactionStrategy",ePn="org.eclipse.elk.disco.componentCompaction.strategy",iPn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",rPn="org.eclipse.elk.disco.debug.discoGraph",cPn="org.eclipse.elk.disco.debug.discoPolys",aPn="componentCompaction",uPn="org.eclipse.elk.disco",oPn="org.eclipse.elk.spacing.componentComponent",sPn="org.eclipse.elk.edge.thickness",hPn="org.eclipse.elk.aspectRatio",fPn="org.eclipse.elk.padding",lPn="org.eclipse.elk.alg.disco.transform",bPn=1.5707963267948966,wPn=17976931348623157e292,dPn={3:1,4:1,5:1,192:1},gPn={3:1,6:1,4:1,5:1,106:1,120:1},pPn="org.eclipse.elk.alg.force",vPn="ComponentsProcessor",mPn="ComponentsProcessor/1",yPn="org.eclipse.elk.alg.force.graph",kPn="Component Layout",jPn="org.eclipse.elk.alg.force.model",EPn="org.eclipse.elk.force.model",TPn="org.eclipse.elk.force.iterations",MPn="org.eclipse.elk.force.repulsivePower",SPn="org.eclipse.elk.force.temperature",PPn=.001,IPn="org.eclipse.elk.force.repulsion",CPn="org.eclipse.elk.alg.force.options",OPn=1.600000023841858,APn="org.eclipse.elk.force",$Pn="org.eclipse.elk.priority",LPn="org.eclipse.elk.spacing.nodeNode",NPn="org.eclipse.elk.spacing.edgeLabel",xPn="org.eclipse.elk.randomSeed",DPn="org.eclipse.elk.separateConnectedComponents",RPn="org.eclipse.elk.interactive",_Pn="org.eclipse.elk.portConstraints",KPn="org.eclipse.elk.edgeLabels.inline",FPn="org.eclipse.elk.omitNodeMicroLayout",BPn="org.eclipse.elk.nodeSize.options",HPn="org.eclipse.elk.nodeSize.constraints",qPn="org.eclipse.elk.nodeLabels.placement",GPn="org.eclipse.elk.portLabels.placement",zPn="origin",UPn="random",XPn="boundingBox.upLeft",WPn="boundingBox.lowRight",VPn="org.eclipse.elk.stress.fixed",QPn="org.eclipse.elk.stress.desiredEdgeLength",YPn="org.eclipse.elk.stress.dimension",JPn="org.eclipse.elk.stress.epsilon",ZPn="org.eclipse.elk.stress.iterationLimit",nIn="org.eclipse.elk.stress",tIn="ELK Stress",eIn="org.eclipse.elk.nodeSize.minimum",iIn="org.eclipse.elk.alg.force.stress",rIn="Layered layout",cIn="org.eclipse.elk.alg.layered",aIn="org.eclipse.elk.alg.layered.compaction.components",uIn="org.eclipse.elk.alg.layered.compaction.oned",oIn="org.eclipse.elk.alg.layered.compaction.oned.algs",sIn="org.eclipse.elk.alg.layered.compaction.recthull",hIn="org.eclipse.elk.alg.layered.components",fIn="NONE",lIn={3:1,6:1,4:1,9:1,5:1,122:1},bIn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},wIn="org.eclipse.elk.alg.layered.compound",dIn={51:1},gIn="org.eclipse.elk.alg.layered.graph",pIn=" -> ",vIn="Not supported by LGraph",mIn="Port side is undefined",yIn={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},kIn={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},jIn={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},EIn="([{\"' \t\r\n",TIn=")]}\"' \t\r\n",MIn="The given string contains parts that cannot be parsed as numbers.",SIn="org.eclipse.elk.core.math",PIn={3:1,4:1,142:1,207:1,414:1},IIn={3:1,4:1,116:1,207:1,414:1},CIn="org.eclipse.elk.layered",OIn="org.eclipse.elk.alg.layered.graph.transform",AIn="ElkGraphImporter",$In="ElkGraphImporter/lambda$0$Type",LIn="ElkGraphImporter/lambda$1$Type",NIn="ElkGraphImporter/lambda$2$Type",xIn="ElkGraphImporter/lambda$4$Type",DIn="Node margin calculation",RIn="org.eclipse.elk.alg.layered.intermediate",_In="ONE_SIDED_GREEDY_SWITCH",KIn="TWO_SIDED_GREEDY_SWITCH",FIn="No implementation is available for the layout processor ",BIn="IntermediateProcessorStrategy",HIn="Node '",qIn="FIRST_SEPARATE",GIn="LAST_SEPARATE",zIn="Odd port side processing",UIn="org.eclipse.elk.alg.layered.intermediate.compaction",XIn="org.eclipse.elk.alg.layered.intermediate.greedyswitch",WIn="org.eclipse.elk.alg.layered.p3order.counting",VIn={225:1},QIn="org.eclipse.elk.alg.layered.intermediate.loops",YIn="org.eclipse.elk.alg.layered.intermediate.loops.ordering",JIn="org.eclipse.elk.alg.layered.intermediate.loops.routing",ZIn="org.eclipse.elk.alg.layered.intermediate.preserveorder",nCn="org.eclipse.elk.alg.layered.intermediate.wrapping",tCn="org.eclipse.elk.alg.layered.options",eCn="INTERACTIVE",iCn="DEPTH_FIRST",rCn="EDGE_LENGTH",cCn="SELF_LOOPS",aCn="firstTryWithInitialOrder",uCn="org.eclipse.elk.layered.directionCongruency",oCn="org.eclipse.elk.layered.feedbackEdges",sCn="org.eclipse.elk.layered.interactiveReferencePoint",hCn="org.eclipse.elk.layered.mergeEdges",fCn="org.eclipse.elk.layered.mergeHierarchyEdges",lCn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",bCn="org.eclipse.elk.layered.portSortingStrategy",wCn="org.eclipse.elk.layered.thoroughness",dCn="org.eclipse.elk.layered.unnecessaryBendpoints",gCn="org.eclipse.elk.layered.generatePositionAndLayerIds",pCn="org.eclipse.elk.layered.cycleBreaking.strategy",vCn="org.eclipse.elk.layered.layering.strategy",mCn="org.eclipse.elk.layered.layering.layerConstraint",yCn="org.eclipse.elk.layered.layering.layerChoiceConstraint",kCn="org.eclipse.elk.layered.layering.layerId",jCn="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",ECn="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",TCn="org.eclipse.elk.layered.layering.nodePromotion.strategy",MCn="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",SCn="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",PCn="org.eclipse.elk.layered.crossingMinimization.strategy",ICn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",CCn="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",OCn="org.eclipse.elk.layered.crossingMinimization.semiInteractive",ACn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",$Cn="org.eclipse.elk.layered.crossingMinimization.positionId",LCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",NCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",xCn="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",DCn="org.eclipse.elk.layered.nodePlacement.strategy",RCn="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",_Cn="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",KCn="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",FCn="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",BCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",HCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",qCn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",GCn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",zCn="org.eclipse.elk.layered.edgeRouting.splines.mode",UCn="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",XCn="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",WCn="org.eclipse.elk.layered.spacing.baseValue",VCn="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",QCn="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",YCn="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",JCn="org.eclipse.elk.layered.priority.direction",ZCn="org.eclipse.elk.layered.priority.shortness",nOn="org.eclipse.elk.layered.priority.straightness",tOn="org.eclipse.elk.layered.compaction.connectedComponents",eOn="org.eclipse.elk.layered.compaction.postCompaction.strategy",iOn="org.eclipse.elk.layered.compaction.postCompaction.constraints",rOn="org.eclipse.elk.layered.highDegreeNodes.treatment",cOn="org.eclipse.elk.layered.highDegreeNodes.threshold",aOn="org.eclipse.elk.layered.highDegreeNodes.treeHeight",uOn="org.eclipse.elk.layered.wrapping.strategy",oOn="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",sOn="org.eclipse.elk.layered.wrapping.correctionFactor",hOn="org.eclipse.elk.layered.wrapping.cutting.strategy",fOn="org.eclipse.elk.layered.wrapping.cutting.cuts",lOn="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",bOn="org.eclipse.elk.layered.wrapping.validify.strategy",wOn="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",dOn="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",gOn="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",pOn="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",vOn="org.eclipse.elk.layered.edgeLabels.sideSelection",mOn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",yOn="org.eclipse.elk.layered.considerModelOrder.strategy",kOn="org.eclipse.elk.layered.considerModelOrder.noModelOrder",jOn="org.eclipse.elk.layered.considerModelOrder.components",EOn="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",TOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",MOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",SOn="layering",POn="layering.minWidth",IOn="layering.nodePromotion",COn="crossingMinimization",OOn="org.eclipse.elk.hierarchyHandling",AOn="crossingMinimization.greedySwitch",$On="nodePlacement",LOn="nodePlacement.bk",NOn="edgeRouting",xOn="org.eclipse.elk.edgeRouting",DOn="spacing",ROn="priority",_On="compaction",KOn="compaction.postCompaction",FOn="Specifies whether and how post-process compaction is applied.",BOn="highDegreeNodes",HOn="wrapping",qOn="wrapping.cutting",GOn="wrapping.validify",zOn="wrapping.multiEdge",UOn="edgeLabels",XOn="considerModelOrder",WOn="org.eclipse.elk.spacing.commentComment",VOn="org.eclipse.elk.spacing.commentNode",QOn="org.eclipse.elk.spacing.edgeEdge",YOn="org.eclipse.elk.spacing.edgeNode",JOn="org.eclipse.elk.spacing.labelLabel",ZOn="org.eclipse.elk.spacing.labelPortHorizontal",nAn="org.eclipse.elk.spacing.labelPortVertical",tAn="org.eclipse.elk.spacing.labelNode",eAn="org.eclipse.elk.spacing.nodeSelfLoop",iAn="org.eclipse.elk.spacing.portPort",rAn="org.eclipse.elk.spacing.individual",cAn="org.eclipse.elk.port.borderOffset",aAn="org.eclipse.elk.noLayout",uAn="org.eclipse.elk.port.side",oAn="org.eclipse.elk.debugMode",sAn="org.eclipse.elk.alignment",hAn="org.eclipse.elk.insideSelfLoops.activate",fAn="org.eclipse.elk.insideSelfLoops.yo",lAn="org.eclipse.elk.nodeSize.fixedGraphSize",bAn="org.eclipse.elk.direction",wAn="org.eclipse.elk.nodeLabels.padding",dAn="org.eclipse.elk.portLabels.nextToPortIfPossible",gAn="org.eclipse.elk.portLabels.treatAsGroup",pAn="org.eclipse.elk.portAlignment.default",vAn="org.eclipse.elk.portAlignment.north",mAn="org.eclipse.elk.portAlignment.south",yAn="org.eclipse.elk.portAlignment.west",kAn="org.eclipse.elk.portAlignment.east",jAn="org.eclipse.elk.contentAlignment",EAn="org.eclipse.elk.junctionPoints",TAn="org.eclipse.elk.edgeLabels.placement",MAn="org.eclipse.elk.port.index",SAn="org.eclipse.elk.commentBox",PAn="org.eclipse.elk.hypernode",IAn="org.eclipse.elk.port.anchor",CAn="org.eclipse.elk.partitioning.activate",OAn="org.eclipse.elk.partitioning.partition",AAn="org.eclipse.elk.position",$An="org.eclipse.elk.margins",LAn="org.eclipse.elk.spacing.portsSurrounding",NAn="org.eclipse.elk.interactiveLayout",xAn="org.eclipse.elk.core.util",DAn={3:1,4:1,5:1,593:1},RAn="NETWORK_SIMPLEX",_An={123:1,51:1},KAn="org.eclipse.elk.alg.layered.p1cycles",FAn="org.eclipse.elk.alg.layered.p2layers",BAn={402:1,225:1},HAn={832:1,3:1,4:1},qAn="org.eclipse.elk.alg.layered.p3order",GAn="org.eclipse.elk.alg.layered.p4nodes",zAn={3:1,4:1,5:1,840:1},UAn=1e-5,XAn="org.eclipse.elk.alg.layered.p4nodes.bk",WAn="org.eclipse.elk.alg.layered.p5edges",VAn="org.eclipse.elk.alg.layered.p5edges.orthogonal",QAn="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",YAn=1e-6,JAn="org.eclipse.elk.alg.layered.p5edges.splines",ZAn=.09999999999999998,n$n=1e-8,t$n=4.71238898038469,e$n=3.141592653589793,i$n="org.eclipse.elk.alg.mrtree",r$n="org.eclipse.elk.alg.mrtree.graph",c$n="org.eclipse.elk.alg.mrtree.intermediate",a$n="Set neighbors in level",u$n="DESCENDANTS",o$n="org.eclipse.elk.mrtree.weighting",s$n="org.eclipse.elk.mrtree.searchOrder",h$n="org.eclipse.elk.alg.mrtree.options",f$n="org.eclipse.elk.mrtree",l$n="org.eclipse.elk.tree",b$n="org.eclipse.elk.alg.radial",w$n=6.283185307179586,d$n=5e-324,g$n="org.eclipse.elk.alg.radial.intermediate",p$n="org.eclipse.elk.alg.radial.intermediate.compaction",v$n={3:1,4:1,5:1,106:1},m$n="org.eclipse.elk.alg.radial.intermediate.optimization",y$n="No implementation is available for the layout option ",k$n="org.eclipse.elk.alg.radial.options",j$n="org.eclipse.elk.radial.orderId",E$n="org.eclipse.elk.radial.radius",T$n="org.eclipse.elk.radial.compactor",M$n="org.eclipse.elk.radial.compactionStepSize",S$n="org.eclipse.elk.radial.sorter",P$n="org.eclipse.elk.radial.wedgeCriteria",I$n="org.eclipse.elk.radial.optimizationCriteria",C$n="org.eclipse.elk.radial",O$n="org.eclipse.elk.alg.radial.p1position.wedge",A$n="org.eclipse.elk.alg.radial.sorting",$$n=5.497787143782138,L$n=3.9269908169872414,N$n=2.356194490192345,x$n="org.eclipse.elk.alg.rectpacking",D$n="org.eclipse.elk.alg.rectpacking.firstiteration",R$n="org.eclipse.elk.alg.rectpacking.options",_$n="org.eclipse.elk.rectpacking.optimizationGoal",K$n="org.eclipse.elk.rectpacking.lastPlaceShift",F$n="org.eclipse.elk.rectpacking.currentPosition",B$n="org.eclipse.elk.rectpacking.desiredPosition",H$n="org.eclipse.elk.rectpacking.onlyFirstIteration",q$n="org.eclipse.elk.rectpacking.rowCompaction",G$n="org.eclipse.elk.rectpacking.expandToAspectRatio",z$n="org.eclipse.elk.rectpacking.targetWidth",U$n="org.eclipse.elk.expandNodes",X$n="org.eclipse.elk.rectpacking",W$n="org.eclipse.elk.alg.rectpacking.util",V$n="No implementation available for ",Q$n="org.eclipse.elk.alg.spore",Y$n="org.eclipse.elk.alg.spore.options",J$n="org.eclipse.elk.sporeCompaction",Z$n="org.eclipse.elk.underlyingLayoutAlgorithm",nLn="org.eclipse.elk.processingOrder.treeConstruction",tLn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",eLn="org.eclipse.elk.processingOrder.preferredRoot",iLn="org.eclipse.elk.processingOrder.rootSelection",rLn="org.eclipse.elk.structure.structureExtractionStrategy",cLn="org.eclipse.elk.compaction.compactionStrategy",aLn="org.eclipse.elk.compaction.orthogonal",uLn="org.eclipse.elk.overlapRemoval.maxIterations",oLn="org.eclipse.elk.overlapRemoval.runScanline",sLn="processingOrder",hLn="overlapRemoval",fLn="org.eclipse.elk.sporeOverlap",lLn="org.eclipse.elk.alg.spore.p1structure",bLn="org.eclipse.elk.alg.spore.p2processingorder",wLn="org.eclipse.elk.alg.spore.p3execution",dLn="Invalid index: ",gLn="org.eclipse.elk.core.alg",pLn={331:1},vLn={288:1},mLn="Make sure its type is registered with the ",yLn=" utility class.",kLn="true",jLn="false",ELn="Couldn't clone property '",TLn=.05,MLn="org.eclipse.elk.core.options",SLn=1.2999999523162842,PLn="org.eclipse.elk.box",ILn="org.eclipse.elk.box.packingMode",CLn="org.eclipse.elk.algorithm",OLn="org.eclipse.elk.resolvedAlgorithm",ALn="org.eclipse.elk.bendPoints",$Ln="org.eclipse.elk.labelManager",LLn="org.eclipse.elk.scaleFactor",NLn="org.eclipse.elk.animate",xLn="org.eclipse.elk.animTimeFactor",DLn="org.eclipse.elk.layoutAncestors",RLn="org.eclipse.elk.maxAnimTime",_Ln="org.eclipse.elk.minAnimTime",KLn="org.eclipse.elk.progressBar",FLn="org.eclipse.elk.validateGraph",BLn="org.eclipse.elk.validateOptions",HLn="org.eclipse.elk.zoomToFit",qLn="org.eclipse.elk.font.name",GLn="org.eclipse.elk.font.size",zLn="org.eclipse.elk.edge.type",ULn="partitioning",XLn="nodeLabels",WLn="portAlignment",VLn="nodeSize",QLn="port",YLn="portLabels",JLn="insideSelfLoops",ZLn="org.eclipse.elk.fixed",nNn="org.eclipse.elk.random",tNn="port must have a parent node to calculate the port side",eNn="The edge needs to have exactly one edge section. Found: ",iNn="org.eclipse.elk.core.util.adapters",rNn="org.eclipse.emf.ecore",cNn="org.eclipse.elk.graph",aNn="EMapPropertyHolder",uNn="ElkBendPoint",oNn="ElkGraphElement",sNn="ElkConnectableShape",hNn="ElkEdge",fNn="ElkEdgeSection",lNn="EModelElement",bNn="ENamedElement",wNn="ElkLabel",dNn="ElkNode",gNn="ElkPort",pNn={92:1,90:1},vNn="org.eclipse.emf.common.notify.impl",mNn="The feature '",yNn="' is not a valid changeable feature",kNn="Expecting null",jNn="' is not a valid feature",ENn="The feature ID",TNn=" is not a valid feature ID",MNn=32768,SNn={105:1,92:1,90:1,56:1,49:1,97:1},PNn="org.eclipse.emf.ecore.impl",INn="org.eclipse.elk.graph.impl",CNn="Recursive containment not allowed for ",ONn="The datatype '",ANn="' is not a valid classifier",$Nn="The value '",LNn={190:1,3:1,4:1},NNn="The class '",xNn="http://www.eclipse.org/elk/ElkGraph",DNn=1024,RNn="property",_Nn="value",KNn="source",FNn="properties",BNn="identifier",HNn="height",qNn="width",GNn="parent",zNn="text",UNn="children",XNn="hierarchical",WNn="sources",VNn="targets",QNn="sections",YNn="bendPoints",JNn="outgoingShape",ZNn="incomingShape",nxn="outgoingSections",txn="incomingSections",exn="org.eclipse.emf.common.util",ixn="Severe implementation error in the Json to ElkGraph importer.",rxn="id",cxn="org.eclipse.elk.graph.json",axn="Unhandled parameter types: ",uxn="startPoint",oxn="An edge must have at least one source and one target (edge id: '",sxn="').",hxn="Referenced edge section does not exist: ",fxn=" (edge id: '",lxn="target",bxn="sourcePoint",wxn="targetPoint",dxn="group",gxn="name",pxn="connectableShape cannot be null",vxn="edge cannot be null",mxn="Passed edge is not 'simple'.",yxn="org.eclipse.elk.graph.util",kxn="The 'no duplicates' constraint is violated",jxn="targetIndex=",Exn=", size=",Txn="sourceIndex=",Mxn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},Sxn={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},Pxn="logging",Ixn="measureExecutionTime",Cxn="parser.parse.1",Oxn="parser.parse.2",Axn="parser.next.1",$xn="parser.next.2",Lxn="parser.next.3",Nxn="parser.next.4",xxn="parser.factor.1",Dxn="parser.factor.2",Rxn="parser.factor.3",_xn="parser.factor.4",Kxn="parser.factor.5",Fxn="parser.factor.6",Bxn="parser.atom.1",Hxn="parser.atom.2",qxn="parser.atom.3",Gxn="parser.atom.4",zxn="parser.atom.5",Uxn="parser.cc.1",Xxn="parser.cc.2",Wxn="parser.cc.3",Vxn="parser.cc.5",Qxn="parser.cc.6",Yxn="parser.cc.7",Jxn="parser.cc.8",Zxn="parser.ope.1",nDn="parser.ope.2",tDn="parser.ope.3",eDn="parser.descape.1",iDn="parser.descape.2",rDn="parser.descape.3",cDn="parser.descape.4",aDn="parser.descape.5",uDn="parser.process.1",oDn="parser.quantifier.1",sDn="parser.quantifier.2",hDn="parser.quantifier.3",fDn="parser.quantifier.4",lDn="parser.quantifier.5",bDn="org.eclipse.emf.common.notify",wDn={415:1,672:1},dDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},gDn={366:1,143:1},pDn="index=",vDn={3:1,4:1,5:1,126:1},mDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},yDn={3:1,6:1,4:1,5:1,192:1},kDn={3:1,4:1,5:1,165:1,367:1},jDn=";/?:@&=+$,",EDn="invalid authority: ",TDn="EAnnotation",MDn="ETypedElement",SDn="EStructuralFeature",PDn="EAttribute",IDn="EClassifier",CDn="EEnumLiteral",ODn="EGenericType",ADn="EOperation",$Dn="EParameter",LDn="EReference",NDn="ETypeParameter",xDn="org.eclipse.emf.ecore.util",DDn={76:1},RDn={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},_Dn="org.eclipse.emf.ecore.util.FeatureMap$Entry",KDn=8192,FDn=2048,BDn="byte",HDn="char",qDn="double",GDn="float",zDn="int",UDn="long",XDn="short",WDn="java.lang.Object",VDn={3:1,4:1,5:1,247:1},QDn={3:1,4:1,5:1,673:1},YDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},JDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},ZDn="mixed",nRn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",tRn="kind",eRn={3:1,4:1,5:1,674:1},iRn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},rRn={20:1,28:1,52:1,14:1,15:1,58:1,69:1},cRn={47:1,125:1,279:1},aRn={72:1,332:1},uRn="The value of type '",oRn="' must be of type '",sRn=1316,hRn="http://www.eclipse.org/emf/2002/Ecore",fRn=-32768,lRn="constraints",bRn="baseType",wRn="getEStructuralFeature",dRn="getFeatureID",gRn="feature",pRn="getOperationID",vRn="operation",mRn="defaultValue",yRn="eTypeParameters",kRn="isInstance",jRn="getEEnumLiteral",ERn="eContainingClass",TRn={55:1},MRn={3:1,4:1,5:1,119:1},SRn="org.eclipse.emf.ecore.resource",PRn={92:1,90:1,591:1,1935:1},IRn="org.eclipse.emf.ecore.resource.impl",CRn="unspecified",ORn="simple",ARn="attribute",$Rn="attributeWildcard",LRn="element",NRn="elementWildcard",xRn="collapse",DRn="itemType",RRn="namespace",_Rn="##targetNamespace",KRn="whiteSpace",FRn="wildcards",BRn="http://www.eclipse.org/emf/2003/XMLType",HRn="##any",qRn="uninitialized",GRn="The multiplicity constraint is violated",zRn="org.eclipse.emf.ecore.xml.type",URn="ProcessingInstruction",XRn="SimpleAnyType",WRn="XMLTypeDocumentRoot",VRn="org.eclipse.emf.ecore.xml.type.impl",QRn="INF",YRn="processing",JRn="ENTITIES_._base",ZRn="minLength",n_n="ENTITY",t_n="NCName",e_n="IDREFS_._base",i_n="integer",r_n="token",c_n="pattern",a_n="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",u_n="\\i\\c*",o_n="[\\i-[:]][\\c-[:]]*",s_n="nonPositiveInteger",h_n="maxInclusive",f_n="NMTOKEN",l_n="NMTOKENS_._base",b_n="nonNegativeInteger",w_n="minInclusive",d_n="normalizedString",g_n="unsignedByte",p_n="unsignedInt",v_n="18446744073709551615",m_n="unsignedShort",y_n="processingInstruction",k_n="org.eclipse.emf.ecore.xml.type.internal",j_n=1114111,E_n="Internal Error: shorthands: \\u",T_n="xml:isDigit",M_n="xml:isWord",S_n="xml:isSpace",P_n="xml:isNameChar",I_n="xml:isInitialNameChar",C_n="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",O_n="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",A_n="Private Use",$_n="ASSIGNED",L_n="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",N_n="UNASSIGNED",x_n={3:1,117:1},D_n="org.eclipse.emf.ecore.xml.type.util",R_n={3:1,4:1,5:1,368:1},__n="org.eclipse.xtext.xbase.lib",K_n="Cannot add elements to a Range",F_n="Cannot set elements in a Range",B_n="Cannot remove elements from a Range",H_n="locale",q_n="default",G_n="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,Bjn={},!Array.isArray&&(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Wfn(1,null,{},r),Fjn.Fb=function(n){return WI(this,n)},Fjn.Gb=function(){return this.gm},Fjn.Hb=function(){return KA(this)},Fjn.Ib=function(){return Nk(V5(this))+"@"+(W5(this)>>>0).toString(16)},Fjn.equals=function(n){return this.Fb(n)},Fjn.hashCode=function(){return this.Hb()},Fjn.toString=function(){return this.Ib()},Wfn(290,1,{290:1,2026:1},m5),Fjn.le=function(n){var t;return(t=new m5).i=4,t.c=n>1?qG(this,n-1):this,t},Fjn.me=function(){return sL(this),this.b},Fjn.ne=function(){return Nk(this)},Fjn.oe=function(){return sL(this),this.k},Fjn.pe=function(){return 0!=(4&this.i)},Fjn.qe=function(){return 0!=(1&this.i)},Fjn.Ib=function(){return LZ(this)},Fjn.i=0;var z_n,U_n=EF(Jjn,"Object",1),X_n=EF(Jjn,"Class",290);Wfn(1998,1,Zjn),EF(nEn,"Optional",1998),Wfn(1170,1998,Zjn,c),Fjn.Fb=function(n){return n===this},Fjn.Hb=function(){return 2040732332},Fjn.Ib=function(){return"Optional.absent()"},Fjn.Jb=function(n){return MF(n),gm(),z_n},EF(nEn,"Absent",1170),Wfn(628,1,{},Ty),EF(nEn,"Joiner",628);var W_n=aR(nEn,"Predicate");Wfn(582,1,{169:1,582:1,3:1,45:1},Ff),Fjn.Mb=function(n){return R5(this,n)},Fjn.Lb=function(n){return R5(this,n)},Fjn.Fb=function(n){var t;return!!CO(n,582)&&(t=Yx(n,582),sln(this.a,t.a))},Fjn.Hb=function(){return _5(this.a)+306654252},Fjn.Ib=function(){return function(n){var t,e,i,r;for(t=KF(yI(new SA("Predicates."),"and"),40),e=!0,r=new Vl(n);r.b0},Fjn.Pb=function(){if(this.c>=this.d)throw hp(new _p);return this.Xb(this.c++)},Fjn.Tb=function(){return this.c},Fjn.Ub=function(){if(this.c<=0)throw hp(new _p);return this.Xb(--this.c)},Fjn.Vb=function(){return this.c-1},Fjn.c=0,Fjn.d=0,EF(oEn,"AbstractIndexedListIterator",386),Wfn(699,198,uEn),Fjn.Ob=function(){return X0(this)},Fjn.Pb=function(){return bJ(this)},Fjn.e=1,EF(oEn,"AbstractIterator",699),Wfn(1986,1,{224:1}),Fjn.Zb=function(){return this.f||(this.f=this.ac())},Fjn.Fb=function(n){return f6(this,n)},Fjn.Hb=function(){return W5(this.Zb())},Fjn.dc=function(){return 0==this.gc()},Fjn.ec=function(){return F_(this)},Fjn.Ib=function(){return I7(this.Zb())},EF(oEn,"AbstractMultimap",1986),Wfn(726,1986,hEn),Fjn.$b=function(){v0(this)},Fjn._b=function(n){return Ok(this,n)},Fjn.ac=function(){return new Xj(this,this.c)},Fjn.ic=function(n){return this.hc()},Fjn.bc=function(){return new iA(this,this.c)},Fjn.jc=function(){return this.mc(this.hc())},Fjn.kc=function(){return new tm(this)},Fjn.lc=function(){return lun(this.c.vc().Nc(),new u,64,this.d)},Fjn.cc=function(n){return KV(this,n)},Fjn.fc=function(n){return h8(this,n)},Fjn.gc=function(){return this.d},Fjn.mc=function(n){return XH(),new fb(n)},Fjn.nc=function(){return new nm(this)},Fjn.oc=function(){return lun(this.c.Cc().Nc(),new a,64,this.d)},Fjn.pc=function(n,t){return new dQ(this,n,t,null)},Fjn.d=0,EF(oEn,"AbstractMapBasedMultimap",726),Wfn(1631,726,hEn),Fjn.hc=function(){return new pQ(this.a)},Fjn.jc=function(){return XH(),XH(),TFn},Fjn.cc=function(n){return Yx(KV(this,n),15)},Fjn.fc=function(n){return Yx(h8(this,n),15)},Fjn.Zb=function(){return QH(this)},Fjn.Fb=function(n){return f6(this,n)},Fjn.qc=function(n){return Yx(KV(this,n),15)},Fjn.rc=function(n){return Yx(h8(this,n),15)},Fjn.mc=function(n){return lq(Yx(n,15))},Fjn.pc=function(n,t){return kX(this,n,Yx(t,15),null)},EF(oEn,"AbstractListMultimap",1631),Wfn(732,1,fEn),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return this.c.Ob()||this.e.Ob()},Fjn.Pb=function(){var n;return this.e.Ob()||(n=Yx(this.c.Pb(),42),this.b=n.cd(),this.a=Yx(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Fjn.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},EF(oEn,"AbstractMapBasedMultimap/Itr",732),Wfn(1099,732,fEn,nm),Fjn.sc=function(n,t){return t},EF(oEn,"AbstractMapBasedMultimap/1",1099),Wfn(1100,1,{},a),Fjn.Kb=function(n){return Yx(n,14).Nc()},EF(oEn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),Wfn(1101,732,fEn,tm),Fjn.sc=function(n,t){return new Wj(n,t)},EF(oEn,"AbstractMapBasedMultimap/2",1101);var V_n=aR(lEn,"Map");Wfn(1967,1,bEn),Fjn.wc=function(n){S3(this,n)},Fjn.yc=function(n,t,e){return Y9(this,n,t,e)},Fjn.$b=function(){this.vc().$b()},Fjn.tc=function(n){return Fin(this,n)},Fjn._b=function(n){return!!Ian(this,n,!1)},Fjn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=Yx(t.Pb(),42).dd(),iI(n)===iI(e)||null!=n&&Q8(n,e))return!0;return!1},Fjn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!CO(n,83))return!1;if(i=Yx(n,83),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=Yx(e.Pb(),42),!this.tc(t))return!1;return!0},Fjn.xc=function(n){return eI(Ian(this,n,!1))},Fjn.Hb=function(){return W4(this.vc())},Fjn.dc=function(){return 0==this.gc()},Fjn.ec=function(){return new Yl(this)},Fjn.zc=function(n,t){throw hp(new sy("Put not supported on this map"))},Fjn.Ac=function(n){i3(this,n)},Fjn.Bc=function(n){return eI(Ian(this,n,!0))},Fjn.gc=function(){return this.vc().gc()},Fjn.Ib=function(){return Fan(this)},Fjn.Cc=function(){return new Zl(this)},EF(lEn,"AbstractMap",1967),Wfn(1987,1967,bEn),Fjn.bc=function(){return new eE(this)},Fjn.vc=function(){return K_(this)},Fjn.ec=function(){return this.g||(this.g=this.bc())},Fjn.Cc=function(){return this.i||(this.i=new iE(this))},EF(oEn,"Maps/ViewCachingAbstractMap",1987),Wfn(389,1987,bEn,Xj),Fjn.xc=function(n){return function(n,t){var e,i;return(e=Yx(x8(n.d,t),14))?(i=t,n.e.pc(i,e)):null}(this,n)},Fjn.Bc=function(n){return function(n,t){var e,i;return(e=Yx(n.d.Bc(t),14))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}(this,n)},Fjn.$b=function(){this.d==this.e.c?this.e.$b():vR(new mR(this))},Fjn._b=function(n){return R8(this.d,n)},Fjn.Ec=function(){return new zf(this)},Fjn.Dc=function(){return this.Ec()},Fjn.Fb=function(n){return this===n||Q8(this.d,n)},Fjn.Hb=function(){return W5(this.d)},Fjn.ec=function(){return this.e.ec()},Fjn.gc=function(){return this.d.gc()},Fjn.Ib=function(){return I7(this.d)},EF(oEn,"AbstractMapBasedMultimap/AsMap",389);var Q_n=aR(Jjn,"Iterable");Wfn(28,1,wEn),Fjn.Jc=function(n){XW(this,n)},Fjn.Lc=function(){return this.Oc()},Fjn.Nc=function(){return new Nz(this,0)},Fjn.Oc=function(){return new SR(null,this.Nc())},Fjn.Fc=function(n){throw hp(new sy("Add not supported on this collection"))},Fjn.Gc=function(n){return C2(this,n)},Fjn.$b=function(){iH(this)},Fjn.Hc=function(n){return V7(this,n,!1)},Fjn.Ic=function(n){return m4(this,n)},Fjn.dc=function(){return 0==this.gc()},Fjn.Mc=function(n){return V7(this,n,!0)},Fjn.Pc=function(){return C_(this)},Fjn.Qc=function(n){return Kin(this,n)},Fjn.Ib=function(){return Gun(this)},EF(lEn,"AbstractCollection",28);var Y_n=aR(lEn,"Set");Wfn(dEn,28,gEn),Fjn.Nc=function(){return new Nz(this,1)},Fjn.Fb=function(n){return stn(this,n)},Fjn.Hb=function(){return W4(this)},EF(lEn,"AbstractSet",dEn),Wfn(1970,dEn,gEn),EF(oEn,"Sets/ImprovedAbstractSet",1970),Wfn(1971,1970,gEn),Fjn.$b=function(){this.Rc().$b()},Fjn.Hc=function(n){return vnn(this,n)},Fjn.dc=function(){return this.Rc().dc()},Fjn.Mc=function(n){var t;return!!this.Hc(n)&&(t=Yx(n,42),this.Rc().ec().Mc(t.cd()))},Fjn.gc=function(){return this.Rc().gc()},EF(oEn,"Maps/EntrySet",1971),Wfn(1097,1971,gEn,zf),Fjn.Hc=function(n){return D8(this.a.d.vc(),n)},Fjn.Kc=function(){return new mR(this.a)},Fjn.Rc=function(){return this.a},Fjn.Mc=function(n){var t;return!!D8(this.a.d.vc(),n)&&(t=Yx(n,42),pV(this.a.e,t.cd()),!0)},Fjn.Nc=function(){return Vx(this.a.d.vc().Nc(),new Uf(this.a))},EF(oEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),Wfn(1098,1,{},Uf),Fjn.Kb=function(n){return WW(this.a,Yx(n,42))},EF(oEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),Wfn(730,1,fEn,mR),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){var n;return n=Yx(this.b.Pb(),42),this.a=Yx(n.dd(),14),WW(this.c,n)},Fjn.Ob=function(){return this.b.Ob()},Fjn.Qb=function(){x3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},EF(oEn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),Wfn(532,1970,gEn,eE),Fjn.$b=function(){this.b.$b()},Fjn.Hc=function(n){return this.b._b(n)},Fjn.Jc=function(n){MF(n),this.b.wc(new gl(n))},Fjn.dc=function(){return this.b.dc()},Fjn.Kc=function(){return new Mm(this.b.vc().Kc())},Fjn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},Fjn.gc=function(){return this.b.gc()},EF(oEn,"Maps/KeySet",532),Wfn(318,532,gEn,iA),Fjn.$b=function(){vR(new $j(this,this.b.vc().Kc()))},Fjn.Ic=function(n){return this.b.ec().Ic(n)},Fjn.Fb=function(n){return this===n||Q8(this.b.ec(),n)},Fjn.Hb=function(){return W5(this.b.ec())},Fjn.Kc=function(){return new $j(this,this.b.vc().Kc())},Fjn.Mc=function(n){var t,e;return e=0,(t=Yx(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},Fjn.Nc=function(){return this.b.ec().Nc()},EF(oEn,"AbstractMapBasedMultimap/KeySet",318),Wfn(731,1,fEn,$j),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return this.c.Ob()},Fjn.Pb=function(){return this.a=Yx(this.c.Pb(),42),this.a.cd()},Fjn.Qb=function(){var n;x3(!!this.a),n=Yx(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},EF(oEn,"AbstractMapBasedMultimap/KeySet/1",731),Wfn(491,389,{83:1,161:1},wL),Fjn.bc=function(){return this.Sc()},Fjn.ec=function(){return this.Tc()},Fjn.Sc=function(){return new Oj(this.c,this.Uc())},Fjn.Tc=function(){return this.b||(this.b=this.Sc())},Fjn.Uc=function(){return Yx(this.d,161)},EF(oEn,"AbstractMapBasedMultimap/SortedAsMap",491),Wfn(542,491,pEn,dL),Fjn.bc=function(){return new Aj(this.a,Yx(Yx(this.d,161),171))},Fjn.Sc=function(){return new Aj(this.a,Yx(Yx(this.d,161),171))},Fjn.ec=function(){return Yx(this.b||(this.b=new Aj(this.a,Yx(Yx(this.d,161),171))),271)},Fjn.Tc=function(){return Yx(this.b||(this.b=new Aj(this.a,Yx(Yx(this.d,161),171))),271)},Fjn.Uc=function(){return Yx(Yx(this.d,161),171)},EF(oEn,"AbstractMapBasedMultimap/NavigableAsMap",542),Wfn(490,318,vEn,Oj),Fjn.Nc=function(){return this.b.ec().Nc()},EF(oEn,"AbstractMapBasedMultimap/SortedKeySet",490),Wfn(388,490,mEn,Aj),EF(oEn,"AbstractMapBasedMultimap/NavigableKeySet",388),Wfn(541,28,wEn,dQ),Fjn.Fc=function(n){var t,e;return A7(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&tN(this)),t},Fjn.Gc=function(n){var t,e,i;return!n.dc()&&(A7(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&tN(this)),t)},Fjn.$b=function(){var n;A7(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,o_(this))},Fjn.Hc=function(n){return A7(this),this.d.Hc(n)},Fjn.Ic=function(n){return A7(this),this.d.Ic(n)},Fjn.Fb=function(n){return n===this||(A7(this),Q8(this.d,n))},Fjn.Hb=function(){return A7(this),W5(this.d)},Fjn.Kc=function(){return A7(this),new rD(this)},Fjn.Mc=function(n){var t;return A7(this),(t=this.d.Mc(n))&&(--this.f.d,o_(this)),t},Fjn.gc=function(){return bI(this)},Fjn.Nc=function(){return A7(this),this.d.Nc()},Fjn.Ib=function(){return A7(this),I7(this.d)},EF(oEn,"AbstractMapBasedMultimap/WrappedCollection",541);var J_n=aR(lEn,"List");Wfn(728,541,{20:1,28:1,14:1,15:1},L_),Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return A7(this),this.d.Nc()},Fjn.Vc=function(n,t){var e;A7(this),e=this.d.dc(),Yx(this.d,15).Vc(n,t),++this.a.d,e&&tN(this)},Fjn.Wc=function(n,t){var e,i,r;return!t.dc()&&(A7(this),r=this.d.gc(),(e=Yx(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&tN(this)),e)},Fjn.Xb=function(n){return A7(this),Yx(this.d,15).Xb(n)},Fjn.Xc=function(n){return A7(this),Yx(this.d,15).Xc(n)},Fjn.Yc=function(){return A7(this),new VC(this)},Fjn.Zc=function(n){return A7(this),new RH(this,n)},Fjn.$c=function(n){var t;return A7(this),t=Yx(this.d,15).$c(n),--this.a.d,o_(this),t},Fjn._c=function(n,t){return A7(this),Yx(this.d,15)._c(n,t)},Fjn.bd=function(n,t){return A7(this),kX(this.a,this.e,Yx(this.d,15).bd(n,t),this.b?this.b:this)},EF(oEn,"AbstractMapBasedMultimap/WrappedList",728),Wfn(1096,728,{20:1,28:1,14:1,15:1,54:1},C$),EF(oEn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),Wfn(620,1,fEn,rD),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return rH(this),this.b.Ob()},Fjn.Pb=function(){return rH(this),this.b.Pb()},Fjn.Qb=function(){gA(this)},EF(oEn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),Wfn(729,620,yEn,VC,RH),Fjn.Qb=function(){gA(this)},Fjn.Rb=function(n){var t;t=0==bI(this.a),(rH(this),Yx(this.b,125)).Rb(n),++this.a.a.d,t&&tN(this.a)},Fjn.Sb=function(){return(rH(this),Yx(this.b,125)).Sb()},Fjn.Tb=function(){return(rH(this),Yx(this.b,125)).Tb()},Fjn.Ub=function(){return(rH(this),Yx(this.b,125)).Ub()},Fjn.Vb=function(){return(rH(this),Yx(this.b,125)).Vb()},Fjn.Wb=function(n){(rH(this),Yx(this.b,125)).Wb(n)},EF(oEn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),Wfn(727,541,vEn,yL),Fjn.Nc=function(){return A7(this),this.d.Nc()},EF(oEn,"AbstractMapBasedMultimap/WrappedSortedSet",727),Wfn(1095,727,mEn,PC),EF(oEn,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),Wfn(1094,541,gEn,kL),Fjn.Nc=function(){return A7(this),this.d.Nc()},EF(oEn,"AbstractMapBasedMultimap/WrappedSet",1094),Wfn(1103,1,{},u),Fjn.Kb=function(n){return function(n){var t;return t=n.cd(),Vx(Yx(n.dd(),14).Nc(),new Xf(t))}(Yx(n,42))},EF(oEn,"AbstractMapBasedMultimap/lambda$1$Type",1103),Wfn(1102,1,{},Xf),Fjn.Kb=function(n){return new Wj(this.a,n)},EF(oEn,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Z_n,nKn,tKn,eKn,iKn=aR(lEn,"Map/Entry");Wfn(345,1,kEn),Fjn.Fb=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),bB(this.cd(),t.cd())&&bB(this.dd(),t.dd()))},Fjn.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:W5(n))^(null==t?0:W5(t))},Fjn.ed=function(n){throw hp(new xp)},Fjn.Ib=function(){return this.cd()+"="+this.dd()},EF(oEn,jEn,345),Wfn(1988,28,wEn),Fjn.$b=function(){this.fd().$b()},Fjn.Hc=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),function(n,t,e){var i;return!!(i=Yx(n.Zb().xc(t),14))&&i.Hc(e)}(this.fd(),t.cd(),t.dd()))},Fjn.Mc=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),jU(this.fd(),t.cd(),t.dd()))},Fjn.gc=function(){return this.fd().d},EF(oEn,"Multimaps/Entries",1988),Wfn(733,1988,wEn,Wf),Fjn.Kc=function(){return this.a.kc()},Fjn.fd=function(){return this.a},Fjn.Nc=function(){return this.a.lc()},EF(oEn,"AbstractMultimap/Entries",733),Wfn(734,733,gEn,em),Fjn.Nc=function(){return this.a.lc()},Fjn.Fb=function(n){return Kon(this,n)},Fjn.Hb=function(){return O2(this)},EF(oEn,"AbstractMultimap/EntrySet",734),Wfn(735,28,wEn,Vf),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(Yx(e.Pb(),14).Hc(t))return!0;return!1}(this.a,n)},Fjn.Kc=function(){return this.a.nc()},Fjn.gc=function(){return this.a.d},Fjn.Nc=function(){return this.a.oc()},EF(oEn,"AbstractMultimap/Values",735),Wfn(1989,28,{835:1,20:1,28:1,14:1}),Fjn.Jc=function(n){MF(n),eH(this).Jc(new dl(n))},Fjn.Nc=function(){var n;return lun(n=eH(this).Nc(),new y,64|1296&n.qd(),this.a.d)},Fjn.Fc=function(n){return jy(),!0},Fjn.Gc=function(n){return MF(this),MF(n),CO(n,543)?BU(Yx(n,835)):!n.dc()&&zJ(this,n.Kc())},Fjn.Hc=function(n){var t;return((t=Yx(x8(QH(this.a),n),14))?t.gc():0)>0},Fjn.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(CO(t,543)){if(r=Yx(t,835),n.a.d!=r.a.d||eH(n).gc()!=eH(r).gc())return!1;for(i=eH(r).Kc();i.Ob();)if(Sz(n,(e=Yx(i.Pb(),416)).a.cd())!=Yx(e.a.dd(),14).gc())return!1;return!0}return!1}(this,n)},Fjn.Hb=function(){return W5(eH(this))},Fjn.dc=function(){return eH(this).dc()},Fjn.Mc=function(n){return xhn(this,n,1)>0},Fjn.Ib=function(){return I7(eH(this))},EF(oEn,"AbstractMultiset",1989),Wfn(1991,1970,gEn),Fjn.$b=function(){v0(this.a.a)},Fjn.Hc=function(n){var t;return!(!CO(n,492)||(t=Yx(n,416),Yx(t.a.dd(),14).gc()<=0||Sz(this.a,t.a.cd())!=Yx(t.a.dd(),14).gc()))},Fjn.Mc=function(n){var t,e,i;return!(!CO(n,492)||(t=(e=Yx(n,416)).a.cd(),0==(i=Yx(e.a.dd(),14).gc())))&&function(n,t,e){var i,r,c;return g0(e,"oldCount"),g0(0,"newCount"),((i=Yx(x8(QH(n.a),t),14))?i.gc():0)==e&&(g0(0,"count"),(c=-((r=Yx(x8(QH(n.a),t),14))?r.gc():0))>0?jy():c<0&&xhn(n,t,-c),!0)}(this.a,t,i)},EF(oEn,"Multisets/EntrySet",1991),Wfn(1109,1991,gEn,Qf),Fjn.Kc=function(){return new Pm(K_(QH(this.a.a)).Kc())},Fjn.gc=function(){return QH(this.a.a).gc()},EF(oEn,"AbstractMultiset/EntrySet",1109),Wfn(619,726,hEn),Fjn.hc=function(){return this.gd()},Fjn.jc=function(){return this.hd()},Fjn.cc=function(n){return this.jd(n)},Fjn.fc=function(n){return this.kd(n)},Fjn.Zb=function(){return this.f||(this.f=this.ac())},Fjn.hd=function(){return XH(),XH(),SFn},Fjn.Fb=function(n){return f6(this,n)},Fjn.jd=function(n){return Yx(KV(this,n),21)},Fjn.kd=function(n){return Yx(h8(this,n),21)},Fjn.mc=function(n){return XH(),new Ny(Yx(n,21))},Fjn.pc=function(n,t){return new kL(this,n,Yx(t,21))},EF(oEn,"AbstractSetMultimap",619),Wfn(1657,619,hEn),Fjn.hc=function(){return new Vk(this.b)},Fjn.gd=function(){return new Vk(this.b)},Fjn.jc=function(){return LF(new Vk(this.b))},Fjn.hd=function(){return LF(new Vk(this.b))},Fjn.cc=function(n){return Yx(Yx(KV(this,n),21),84)},Fjn.jd=function(n){return Yx(Yx(KV(this,n),21),84)},Fjn.fc=function(n){return Yx(Yx(h8(this,n),21),84)},Fjn.kd=function(n){return Yx(Yx(h8(this,n),21),84)},Fjn.mc=function(n){return CO(n,271)?LF(Yx(n,271)):(XH(),new CA(Yx(n,84)))},Fjn.Zb=function(){return this.f||(this.f=CO(this.c,171)?new dL(this,Yx(this.c,171)):CO(this.c,161)?new wL(this,Yx(this.c,161)):new Xj(this,this.c))},Fjn.pc=function(n,t){return CO(t,271)?new PC(this,n,Yx(t,271)):new yL(this,n,Yx(t,84))},EF(oEn,"AbstractSortedSetMultimap",1657),Wfn(1658,1657,hEn),Fjn.Zb=function(){return Yx(Yx(this.f||(this.f=CO(this.c,171)?new dL(this,Yx(this.c,171)):CO(this.c,161)?new wL(this,Yx(this.c,161)):new Xj(this,this.c)),161),171)},Fjn.ec=function(){return Yx(Yx(this.i||(this.i=CO(this.c,171)?new Aj(this,Yx(this.c,171)):CO(this.c,161)?new Oj(this,Yx(this.c,161)):new iA(this,this.c)),84),271)},Fjn.bc=function(){return CO(this.c,171)?new Aj(this,Yx(this.c,171)):CO(this.c,161)?new Oj(this,Yx(this.c,161)):new iA(this,this.c)},EF(oEn,"AbstractSortedKeySortedSetMultimap",1658),Wfn(2010,1,{1947:1}),Fjn.Fb=function(n){return function(n,t){var e;return t===n||!!CO(t,664)&&(e=Yx(t,1947),stn(n.g||(n.g=new Yf(n)),e.g||(e.g=new Yf(e))))}(this,n)},Fjn.Hb=function(){return W4(this.g||(this.g=new Yf(this)))},Fjn.Ib=function(){return Fan(this.f||(this.f=new uA(this)))},EF(oEn,"AbstractTable",2010),Wfn(665,dEn,gEn,Yf),Fjn.$b=function(){Ey()},Fjn.Hc=function(n){var t,e;return!!CO(n,468)&&(t=Yx(n,682),!!(e=Yx(x8(PF(this.a),uI(t.c.e,t.b)),83))&&D8(e.vc(),new Wj(uI(t.c.c,t.a),bQ(t.c,t.b,t.a))))},Fjn.Kc=function(){return new rA(n=this.a,n.e.Hd().gc()*n.c.Hd().gc());var n},Fjn.Mc=function(n){var t,e;return!!CO(n,468)&&(t=Yx(n,682),!!(e=Yx(x8(PF(this.a),uI(t.c.e,t.b)),83))&&function(n,t){MF(n);try{return n.Mc(t)}catch(n){if(CO(n=j4(n),205)||CO(n,173))return!1;throw hp(n)}}(e.vc(),new Wj(uI(t.c.c,t.a),bQ(t.c,t.b,t.a))))},Fjn.gc=function(){return OR(this.a)},Fjn.Nc=function(){return hR((n=this.a).e.Hd().gc()*n.c.Hd().gc(),273,new Hf(n));var n},EF(oEn,"AbstractTable/CellSet",665),Wfn(1928,28,wEn,Jf),Fjn.$b=function(){Ey()},Fjn.Hc=function(n){return function(n,t){var e,i,r,c,a,u,o;for(u=0,o=(a=n.a).length;u=0?"+":"")+(i/60|0),t=YI(e.Math.abs(i)%60),(Cun(),AFn)[this.q.getDay()]+" "+$Fn[this.q.getMonth()]+" "+YI(this.q.getDate())+" "+YI(this.q.getHours())+":"+YI(this.q.getMinutes())+":"+YI(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var EKn,TKn,MKn,SKn,PKn,IKn,CKn,OKn,AKn,$Kn,LKn,NKn=EF(lEn,"Date",199);Wfn(1915,199,KTn,Tcn),Fjn.a=!1,Fjn.b=0,Fjn.c=0,Fjn.d=0,Fjn.e=0,Fjn.f=0,Fjn.g=!1,Fjn.i=0,Fjn.j=0,Fjn.k=0,Fjn.n=0,Fjn.o=0,Fjn.p=0,EF("com.google.gwt.i18n.shared.impl","DateRecord",1915),Wfn(1966,1,{}),Fjn.fe=function(){return null},Fjn.ge=function(){return null},Fjn.he=function(){return null},Fjn.ie=function(){return null},Fjn.je=function(){return null},EF(FTn,"JSONValue",1966),Wfn(216,1966,{216:1},Sl,jl),Fjn.Fb=function(n){return!!CO(n,216)&&Jz(this.a,Yx(n,216).a)},Fjn.ee=function(){return fp},Fjn.Hb=function(){return sq(this.a)},Fjn.fe=function(){return this},Fjn.Ib=function(){var n,t,e;for(e=new SA("["),t=0,n=this.a.length;t0&&(e.a+=","),mI(e,VJ(this,t));return e.a+="]",e.a},EF(FTn,"JSONArray",216),Wfn(483,1966,{483:1},El),Fjn.ee=function(){return lp},Fjn.ge=function(){return this},Fjn.Ib=function(){return TA(),""+this.a},Fjn.a=!1,EF(FTn,"JSONBoolean",483),Wfn(985,60,eTn,Cm),EF(FTn,"JSONException",985),Wfn(1023,1966,{},v),Fjn.ee=function(){return pp},Fjn.Ib=function(){return aEn},EF(FTn,"JSONNull",1023),Wfn(258,1966,{258:1},Tl),Fjn.Fb=function(n){return!!CO(n,258)&&this.a==Yx(n,258).a},Fjn.ee=function(){return bp},Fjn.Hb=function(){return ZI(this.a)},Fjn.he=function(){return this},Fjn.Ib=function(){return this.a+""},Fjn.a=0,EF(FTn,"JSONNumber",258),Wfn(183,1966,{183:1},Om,Ml),Fjn.Fb=function(n){return!!CO(n,183)&&Jz(this.a,Yx(n,183).a)},Fjn.ee=function(){return wp},Fjn.Hb=function(){return sq(this.a)},Fjn.ie=function(){return this},Fjn.Ib=function(){var n,t,e,i,r,c;for(c=new SA("{"),n=!0,i=0,r=(e=l2(this,VQ(fFn,TEn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},Fjn.c=0;var tFn=EF(Jjn,"StackTraceElement",310);zjn={3:1,475:1,35:1,2:1};var eFn,iFn,rFn,cFn,aFn,uFn,oFn,sFn,hFn,fFn=EF(Jjn,rTn,2);Wfn(107,418,{475:1},Cy,Oy,MA),EF(Jjn,"StringBuffer",107),Wfn(100,418,{475:1},Ay,$y,SA),EF(Jjn,"StringBuilder",100),Wfn(687,73,VTn,Ly),EF(Jjn,"StringIndexOutOfBoundsException",687),Wfn(2043,1,{}),Wfn(844,1,{},x),Fjn.Kb=function(n){return Yx(n,78).e},EF(Jjn,"Throwable/lambda$0$Type",844),Wfn(41,60,{3:1,102:1,60:1,78:1,41:1},xp,sy),EF(Jjn,"UnsupportedOperationException",41),Wfn(240,236,{3:1,35:1,236:1,240:1},ZJ,Wk),Fjn.wd=function(n){return Ipn(this,Yx(n,240))},Fjn.ke=function(){return gon(_mn(this))},Fjn.Fb=function(n){var t;return this===n||!!CO(n,240)&&(t=Yx(n,240),this.e==t.e&&0==Ipn(this,t))},Fjn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=D3(this.f),this.b=WR(Gz(n,-1)),this.b=33*this.b+WR(Gz(z_(n,32),-1)),this.b=17*this.b+oG(this.e),this.b):(this.b=17*b8(this.c)+oG(this.e),this.b)},Fjn.Ib=function(){return _mn(this)},Fjn.a=0,Fjn.b=0,Fjn.d=0,Fjn.e=0,Fjn.f=0;var lFn,bFn,wFn,dFn,gFn,pFn,vFn=EF("java.math","BigDecimal",240);Wfn(91,236,{3:1,35:1,236:1,91:1},jen,wQ,CK,pan,Mtn,IC),Fjn.wd=function(n){return utn(this,Yx(n,91))},Fjn.ke=function(){return gon(pjn(this,0))},Fjn.Fb=function(n){return q7(this,n)},Fjn.Hb=function(){return b8(this)},Fjn.Ib=function(){return pjn(this,0)},Fjn.b=-2,Fjn.c=0,Fjn.d=0,Fjn.e=0;var mFn,yFn,kFn,jFn,EFn=EF("java.math","BigInteger",91);Wfn(488,1967,bEn),Fjn.$b=function(){UK(this)},Fjn._b=function(n){return PK(this,n)},Fjn.uc=function(n){return m6(this,n,this.g)||m6(this,n,this.f)},Fjn.vc=function(){return new Ql(this)},Fjn.xc=function(n){return BF(this,n)},Fjn.zc=function(n,t){return xB(this,n,t)},Fjn.Bc=function(n){return zV(this,n)},Fjn.gc=function(){return hE(this)},EF(lEn,"AbstractHashMap",488),Wfn(261,dEn,gEn,Ql),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return XU(this,n)},Fjn.Kc=function(){return new t6(this.a)},Fjn.Mc=function(n){var t;return!!XU(this,n)&&(t=Yx(n,42).cd(),this.a.Bc(t),!0)},Fjn.gc=function(){return this.a.gc()},EF(lEn,"AbstractHashMap/EntrySet",261),Wfn(262,1,fEn,t6),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){return s1(this)},Fjn.Ob=function(){return this.b},Fjn.Qb=function(){oY(this)},Fjn.b=!1,EF(lEn,"AbstractHashMap/EntrySetIterator",262),Wfn(417,1,fEn,Vl),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return OT(this)},Fjn.Pb=function(){return FH(this)},Fjn.Qb=function(){hB(this)},Fjn.b=0,Fjn.c=-1,EF(lEn,"AbstractList/IteratorImpl",417),Wfn(96,417,yEn,JU),Fjn.Qb=function(){hB(this)},Fjn.Rb=function(n){ZL(this,n)},Fjn.Sb=function(){return this.b>0},Fjn.Tb=function(){return this.b},Fjn.Ub=function(){return S$(this.b>0),this.a.Xb(this.c=--this.b)},Fjn.Vb=function(){return this.b-1},Fjn.Wb=function(n){M$(-1!=this.c),this.a._c(this.c,n)},EF(lEn,"AbstractList/ListIteratorImpl",96),Wfn(219,52,WEn,Oz),Fjn.Vc=function(n,t){iz(n,this.b),this.c.Vc(this.a+n,t),++this.b},Fjn.Xb=function(n){return $z(n,this.b),this.c.Xb(this.a+n)},Fjn.$c=function(n){var t;return $z(n,this.b),t=this.c.$c(this.a+n),--this.b,t},Fjn._c=function(n,t){return $z(n,this.b),this.c._c(this.a+n,t)},Fjn.gc=function(){return this.b},Fjn.a=0,Fjn.b=0,EF(lEn,"AbstractList/SubList",219),Wfn(384,dEn,gEn,Yl),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return this.a._b(n)},Fjn.Kc=function(){return new Jl(this.a.vc().Kc())},Fjn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},Fjn.gc=function(){return this.a.gc()},EF(lEn,"AbstractMap/1",384),Wfn(691,1,fEn,Jl),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return this.a.Ob()},Fjn.Pb=function(){return Yx(this.a.Pb(),42).cd()},Fjn.Qb=function(){this.a.Qb()},EF(lEn,"AbstractMap/1/1",691),Wfn(226,28,wEn,Zl),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return this.a.uc(n)},Fjn.Kc=function(){return new ub(this.a.vc().Kc())},Fjn.gc=function(){return this.a.gc()},EF(lEn,"AbstractMap/2",226),Wfn(294,1,fEn,ub),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return this.a.Ob()},Fjn.Pb=function(){return Yx(this.a.Pb(),42).dd()},Fjn.Qb=function(){this.a.Qb()},EF(lEn,"AbstractMap/2/1",294),Wfn(484,1,{484:1,42:1}),Fjn.Fb=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),qB(this.d,t.cd())&&qB(this.e,t.dd()))},Fjn.cd=function(){return this.d},Fjn.dd=function(){return this.e},Fjn.Hb=function(){return NC(this.d)^NC(this.e)},Fjn.ed=function(n){return YL(this,n)},Fjn.Ib=function(){return this.d+"="+this.e},EF(lEn,"AbstractMap/AbstractEntry",484),Wfn(383,484,{484:1,383:1,42:1},zT),EF(lEn,"AbstractMap/SimpleEntry",383),Wfn(1984,1,hMn),Fjn.Fb=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),qB(this.cd(),t.cd())&&qB(this.dd(),t.dd()))},Fjn.Hb=function(){return NC(this.cd())^NC(this.dd())},Fjn.Ib=function(){return this.cd()+"="+this.dd()},EF(lEn,jEn,1984),Wfn(1992,1967,pEn),Fjn.tc=function(n){return vV(this,n)},Fjn._b=function(n){return XN(this,n)},Fjn.vc=function(){return new hb(this)},Fjn.xc=function(n){return eI(c6(this,n))},Fjn.ec=function(){return new ob(this)},EF(lEn,"AbstractNavigableMap",1992),Wfn(739,dEn,gEn,hb),Fjn.Hc=function(n){return CO(n,42)&&vV(this.b,Yx(n,42))},Fjn.Kc=function(){return new gN(this.b)},Fjn.Mc=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),iY(this.b,t))},Fjn.gc=function(){return this.b.c},EF(lEn,"AbstractNavigableMap/EntrySet",739),Wfn(493,dEn,mEn,ob),Fjn.Nc=function(){return new RT(this)},Fjn.$b=function(){$m(this.a)},Fjn.Hc=function(n){return XN(this.a,n)},Fjn.Kc=function(){return new sb(new gN(new UA(this.a).b))},Fjn.Mc=function(n){return!!XN(this.a,n)&&(fG(this.a,n),!0)},Fjn.gc=function(){return this.a.c},EF(lEn,"AbstractNavigableMap/NavigableKeySet",493),Wfn(494,1,fEn,sb),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return OT(this.a.a)},Fjn.Pb=function(){return m$(this.a).cd()},Fjn.Qb=function(){hx(this.a)},EF(lEn,"AbstractNavigableMap/NavigableKeySet/1",494),Wfn(2004,28,wEn),Fjn.Fc=function(n){return JQ(mun(this,n)),!0},Fjn.Gc=function(n){return vB(n),jD(n!=this,"Can't add a queue to itself"),C2(this,n)},Fjn.$b=function(){for(;null!=YJ(this););},EF(lEn,"AbstractQueue",2004),Wfn(302,28,{4:1,20:1,28:1,14:1},ep,xz),Fjn.Fc=function(n){return CX(this,n),!0},Fjn.$b=function(){iW(this)},Fjn.Hc=function(n){return T4(new VB(this),n)},Fjn.dc=function(){return ry(this)},Fjn.Kc=function(){return new VB(this)},Fjn.Mc=function(n){return function(n,t){return!!T4(n,t)&&(a0(n),!0)}(new VB(this),n)},Fjn.gc=function(){return this.c-this.b&this.a.length-1},Fjn.Nc=function(){return new Nz(this,272)},Fjn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&DF(n,t,null),n},Fjn.b=0,Fjn.c=0,EF(lEn,"ArrayDeque",302),Wfn(446,1,fEn,VB),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return this.a!=this.b},Fjn.Pb=function(){return w8(this)},Fjn.Qb=function(){a0(this)},Fjn.a=0,Fjn.b=0,Fjn.c=-1,EF(lEn,"ArrayDeque/IteratorImpl",446),Wfn(12,52,fMn,ip,pQ,sx),Fjn.Vc=function(n,t){ZR(this,n,t)},Fjn.Fc=function(n){return eD(this,n)},Fjn.Wc=function(n,t){return H6(this,n,t)},Fjn.Gc=function(n){return S4(this,n)},Fjn.$b=function(){this.c=VQ(U_n,iEn,1,0,5,1)},Fjn.Hc=function(n){return-1!=hJ(this,n,0)},Fjn.Jc=function(n){WZ(this,n)},Fjn.Xb=function(n){return TR(this,n)},Fjn.Xc=function(n){return hJ(this,n,0)},Fjn.dc=function(){return 0==this.c.length},Fjn.Kc=function(){return new pb(this)},Fjn.$c=function(n){return _V(this,n)},Fjn.Mc=function(n){return uJ(this,n)},Fjn.Ud=function(n,t){Az(this,n,t)},Fjn._c=function(n,t){return QW(this,n,t)},Fjn.gc=function(){return this.c.length},Fjn.ad=function(n){JC(this,n)},Fjn.Pc=function(){return w$(this)},Fjn.Qc=function(n){return Htn(this,n)};var TFn,MFn,SFn,PFn,IFn,CFn,OFn,AFn,$Fn,LFn=EF(lEn,"ArrayList",12);Wfn(7,1,fEn,pb),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return ZC(this)},Fjn.Pb=function(){return Hz(this)},Fjn.Qb=function(){zK(this)},Fjn.a=0,Fjn.b=-1,EF(lEn,"ArrayList/1",7),Wfn(2013,e.Function,{},T),Fjn.te=function(n,t){return $9(n,t)},Wfn(154,52,lMn,ay),Fjn.Hc=function(n){return-1!=p0(this,n)},Fjn.Jc=function(n){var t,e,i,r;for(vB(n),i=0,r=(e=this.a).length;i>>0).toString(16))},Fjn.f=0,Fjn.i=ZTn;var EBn,TBn,MBn,SBn,PBn=EF(qMn,"CNode",57);Wfn(814,1,{},uv),EF(qMn,"CNode/CNodeBuilder",814),Wfn(1525,1,{},dn),Fjn.Oe=function(n,t){return 0},Fjn.Pe=function(n,t){return 0},EF(qMn,zMn,1525),Wfn(1790,1,{},gn),Fjn.Le=function(n){var t,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(h=JTn,r=new pb(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},Fjn.Se=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].Se());else if(this.g)c=x7(this,lcn(this,null,!0));else for(JZ(),i=0,r=(t=x4(Gy(sHn,1),XEn,232,0,[rHn,cHn,aHn])).length;i0?c+this.n.b+this.n.c:0},Fjn.Te=function(){var n,t,e,i,r;if(this.g)for(n=lcn(this,null,!1),JZ(),i=0,r=(e=x4(Gy(sHn,1),XEn,232,0,[rHn,cHn,aHn])).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),MV(this,cHn,t.d+n.d+r[0]-(r[1]-i)/2,r)},Fjn.b=null,Fjn.d=0,Fjn.e=!1,Fjn.f=!1,Fjn.g=!1;var hHn,fHn,lHn,bHn=0,wHn=0;EF(gSn,"GridContainerCell",1473),Wfn(461,22,{3:1,35:1,22:1,461:1},oM);var dHn,gHn=X1(gSn,"HorizontalLabelAlignment",461,uKn,(function(){return BY(),x4(Gy(gHn,1),XEn,461,0,[fHn,hHn,lHn])}),(function(n){return BY(),rZ((mQ(),dHn),n)}));Wfn(306,212,{212:1,306:1},eG,_Z,qq),Fjn.Re=function(){return XD(this)},Fjn.Se=function(){return WD(this)},Fjn.a=0,Fjn.c=!1;var pHn,vHn,mHn,yHn=EF(gSn,"LabelCell",306);Wfn(244,326,{212:1,326:1,244:1},Stn),Fjn.Re=function(){return Dhn(this)},Fjn.Se=function(){return Rhn(this)},Fjn.Te=function(){cvn(this)},Fjn.Ue=function(){hvn(this)},Fjn.b=0,Fjn.c=0,Fjn.d=!1,EF(gSn,"StripContainerCell",244),Wfn(1626,1,YEn,En),Fjn.Mb=function(n){return function(n){return!!n&&n.k}(Yx(n,212))},EF(gSn,"StripContainerCell/lambda$0$Type",1626),Wfn(1627,1,{},Tn),Fjn.Fe=function(n){return Yx(n,212).Se()},EF(gSn,"StripContainerCell/lambda$1$Type",1627),Wfn(1628,1,YEn,Mn),Fjn.Mb=function(n){return function(n){return!!n&&n.j}(Yx(n,212))},EF(gSn,"StripContainerCell/lambda$2$Type",1628),Wfn(1629,1,{},Sn),Fjn.Fe=function(n){return Yx(n,212).Re()},EF(gSn,"StripContainerCell/lambda$3$Type",1629),Wfn(462,22,{3:1,35:1,22:1,462:1},sM);var kHn,jHn,EHn,THn,MHn,SHn,PHn,IHn,CHn,OHn,AHn,$Hn,LHn,NHn,xHn,DHn,RHn,_Hn,KHn,FHn,BHn,HHn,qHn,GHn=X1(gSn,"VerticalLabelAlignment",462,uKn,(function(){return OJ(),x4(Gy(GHn,1),XEn,462,0,[mHn,vHn,pHn])}),(function(n){return OJ(),rZ((yQ(),kHn),n)}));Wfn(789,1,{},vkn),Fjn.c=0,Fjn.d=0,Fjn.k=0,Fjn.s=0,Fjn.t=0,Fjn.v=!1,Fjn.w=0,Fjn.D=!1,EF(TSn,"NodeContext",789),Wfn(1471,1,FMn,Pn),Fjn.ue=function(n,t){return nC(Yx(n,61),Yx(t,61))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(TSn,"NodeContext/0methodref$comparePortSides$Type",1471),Wfn(1472,1,FMn,In),Fjn.ue=function(n,t){return function(n,t){var e;if(0!=(e=nC(n.b.Hf(),t.b.Hf())))return e;switch(n.b.Hf().g){case 1:case 2:return eO(n.b.sf(),t.b.sf());case 3:case 4:return eO(t.b.sf(),n.b.sf())}return 0}(Yx(n,111),Yx(t,111))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(TSn,"NodeContext/1methodref$comparePortContexts$Type",1472),Wfn(159,22,{3:1,35:1,22:1,159:1},U2);var zHn,UHn,XHn,WHn,VHn,QHn,YHn,JHn=X1(TSn,"NodeLabelLocation",159,uKn,Xtn,(function(n){return Njn(),rZ((LI(),zHn),n)}));Wfn(111,1,{111:1},gfn),Fjn.a=!1,EF(TSn,"PortContext",111),Wfn(1476,1,PEn,Cn),Fjn.td=function(n){oj(Yx(n,306))},EF(PSn,ISn,1476),Wfn(1477,1,YEn,On),Fjn.Mb=function(n){return!!Yx(n,111).c},EF(PSn,CSn,1477),Wfn(1478,1,PEn,An),Fjn.td=function(n){oj(Yx(n,111).c)},EF(PSn,"LabelPlacer/lambda$2$Type",1478),Wfn(1475,1,PEn,Ln),Fjn.td=function(n){PL(),function(n){n.b.tf(n.e)}(Yx(n,111))},EF(PSn,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),Wfn(790,1,PEn,kx),Fjn.td=function(n){hT(this.b,this.c,this.a,Yx(n,181))},Fjn.a=!1,Fjn.c=!1,EF(PSn,"NodeLabelCellCreator/lambda$0$Type",790),Wfn(1474,1,PEn,Yb),Fjn.td=function(n){!function(n,t){Fon(n.c,t)}(this.a,Yx(n,181))},EF(PSn,"PortContextCreator/lambda$0$Type",1474),Wfn(1829,1,{},Nn),EF(ASn,"GreedyRectangleStripOverlapRemover",1829),Wfn(1830,1,FMn,$n),Fjn.ue=function(n,t){return function(n,t){return $9(n.c.d,t.c.d)}(Yx(n,222),Yx(t,222))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(ASn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),Wfn(1786,1,{},lv),Fjn.a=5,Fjn.e=0,EF(ASn,"RectangleStripOverlapRemover",1786),Wfn(1787,1,FMn,Dn),Fjn.ue=function(n,t){return function(n,t){return $9(n.c.c,t.c.c)}(Yx(n,222),Yx(t,222))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(ASn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),Wfn(1789,1,FMn,Rn),Fjn.ue=function(n,t){return function(n,t){return $9(n.c.c+n.c.b,t.c.c+t.c.b)}(Yx(n,222),Yx(t,222))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(ASn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),Wfn(406,22,{3:1,35:1,22:1,406:1},hM);var ZHn,nqn,tqn,eqn,iqn,rqn=X1(ASn,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,uKn,(function(){return e4(),x4(Gy(rqn,1),XEn,406,0,[YHn,WHn,VHn,QHn])}),(function(n){return e4(),rZ((zY(),ZHn),n)}));Wfn(222,1,{222:1},f_),EF(ASn,"RectangleStripOverlapRemover/RectangleNode",222),Wfn(1788,1,PEn,Jb),Fjn.td=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,Yx(n,222))},EF(ASn,"RectangleStripOverlapRemover/lambda$1$Type",1788),Wfn(1304,1,FMn,_n),Fjn.ue=function(n,t){return function(n,t){var e,i,r,c;return e=new Kn,1==(r=2==(r=(i=Yx(kW(fH(new SR(null,new Nz(n.f,16)),e),kJ(new Q,new Y,new cn,new an,x4(Gy(wBn,1),XEn,132,0,[(C6(),uBn),aBn]))),21)).gc())?1:0)&&sI(Snn(Yx(kW(hH(i.Lc(),new Fn),k3(ytn(0),new en)),162).a,2),0)&&(r=0),1==(c=2==(c=(i=Yx(kW(fH(new SR(null,new Nz(t.f,16)),e),kJ(new Q,new Y,new cn,new an,x4(Gy(wBn,1),XEn,132,0,[uBn,aBn]))),21)).gc())?1:0)&&sI(Snn(Yx(kW(hH(i.Lc(),new Bn),k3(ytn(0),new en)),162).a,2),0)&&(c=0),r0?YK(n.a,t,e):YK(n.b,t,e)}(this,Yx(n,46),Yx(t,167))},EF(LSn,"SuccessorCombination",777),Wfn(644,1,{},Wn),Fjn.Ce=function(n,t){var i;return function(n){var t,i,r,c,a;return i=c=Yx(n.a,19).a,r=a=Yx(n.b,19).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 mP(d9(i),d9(r))}((i=Yx(n,46),Yx(t,167),i))},EF(LSn,"SuccessorJitter",644),Wfn(643,1,{},Vn),Fjn.Ce=function(n,t){var i;return function(n){var t,i;if(t=Yx(n.a,19).a,i=Yx(n.b,19).a,t>=0){if(t==i)return new mP(d9(-t-1),d9(-t-1));if(t==-i)return new mP(d9(-t),d9(i+1))}return e.Math.abs(t)>e.Math.abs(i)?new mP(d9(-t),d9(t<0?i:i+1)):new mP(d9(t+1),d9(i))}((i=Yx(n,46),Yx(t,167),i))},EF(LSn,"SuccessorLineByLine",643),Wfn(568,1,{},Qn),Fjn.Ce=function(n,t){var e;return function(n){var t,e,i,r;return t=i=Yx(n.a,19).a,e=r=Yx(n.b,19).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 mP(d9(t),d9(e))}((e=Yx(n,46),Yx(t,167),e))},EF(LSn,"SuccessorManhattan",568),Wfn(1356,1,{},Yn),Fjn.Ce=function(n,t){var i;return function(n){var t,i,r;return i=Yx(n.a,19).a,r=Yx(n.b,19).a,i<(t=e.Math.max(e.Math.abs(i),e.Math.abs(r)))&&r==-t?new mP(d9(i+1),d9(r)):i==t&&r=-t&&r==t?new mP(d9(i-1),d9(r)):new mP(d9(i),d9(r-1))}((i=Yx(n,46),Yx(t,167),i))},EF(LSn,"SuccessorMaxNormWindingInMathPosSense",1356),Wfn(400,1,{},Zb),Fjn.Ce=function(n,t){return YK(this,n,t)},Fjn.c=!1,Fjn.d=!1,Fjn.e=!1,Fjn.f=!1,EF(LSn,"SuccessorQuadrantsGeneric",400),Wfn(1357,1,{},Jn),Fjn.Kb=function(n){return Yx(n,324).a},EF(LSn,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),Wfn(323,22,{3:1,35:1,22:1,323:1},iM),Fjn.a=!1;var cqn,aqn=X1(_Sn,KSn,323,uKn,(function(){return Sen(),x4(Gy(aqn,1),XEn,323,0,[tqn,nqn,eqn,iqn])}),(function(n){return Sen(),rZ((UY(),cqn),n)}));Wfn(1298,1,{}),Fjn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=d9(0),r=0;r0&&L1(p,y*j),k>0&&N1(p,k*E);for(S3(n.b,new lt),t=new ip,u=new t6(new Ql(n.c).a);u.b;)i=Yx((a=s1(u)).cd(),79),e=Yx(a.dd(),395).a,r=Ywn(i,!1,!1),wvn(f=Xan(_un(i),_on(r),e),r),(m=Kun(i))&&-1==hJ(t,m,0)&&(t.c[t.c.length]=m,OH(m,(S$(0!=f.b),Yx(f.a.a.c,8)),e));for(g=new t6(new Ql(n.d).a);g.b;)i=Yx((d=s1(g)).cd(),79),e=Yx(d.dd(),395).a,r=Ywn(i,!1,!1),f=Xan(Bun(i),U5(_on(r)),e),wvn(f=U5(f),r),(m=Fun(i))&&-1==hJ(t,m,0)&&(t.c[t.c.length]=m,OH(m,(S$(0!=f.b),Yx(f.c.b.c,8)),e))}(r),Aen(n,Cqn,this.b),Ron(t)},Fjn.a=0,EF(JSn,"DisCoLayoutProvider",1132),Wfn(1244,1,{},ct),Fjn.c=!1,Fjn.e=0,Fjn.f=0,EF(JSn,"DisCoPolyominoCompactor",1244),Wfn(561,1,{561:1},qR),Fjn.b=!0,EF(ZSn,"DCComponent",561),Wfn(394,22,{3:1,35:1,22:1,394:1},eM),Fjn.a=!1;var pqn,vqn,mqn=X1(ZSn,"DCDirection",394,uKn,(function(){return Pen(),x4(Gy(mqn,1),XEn,394,0,[bqn,lqn,wqn,dqn])}),(function(n){return Pen(),rZ((XY(),pqn),n)}));Wfn(266,134,{3:1,266:1,94:1,134:1},eln),EF(ZSn,"DCElement",266),Wfn(395,1,{395:1},Bin),Fjn.c=0,EF(ZSn,"DCExtension",395),Wfn(755,134,USn,jk),EF(ZSn,"DCGraph",755),Wfn(481,22,{3:1,35:1,22:1,481:1},I$);var yqn,kqn,jqn,Eqn,Tqn,Mqn,Sqn,Pqn,Iqn,Cqn,Oqn,Aqn,$qn,Lqn,Nqn,xqn,Dqn,Rqn,_qn,Kqn,Fqn,Bqn=X1(nPn,tPn,481,uKn,(function(){return BE(),x4(Gy(Bqn,1),XEn,481,0,[vqn])}),(function(n){return BE(),rZ((yX(),yqn),n)}));Wfn(854,1,fSn,Fh),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ePn),aPn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Eqn),(lsn(),O7n)),Bqn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,iPn),aPn),"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."),N7n),fFn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,rPn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),L7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,cPn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),L7n),U_n),J9(T7n)))),Qvn((new Bh,n))},EF(nPn,"DisCoMetaDataProvider",854),Wfn(998,1,fSn,Bh),Fjn.Qe=function(n){Qvn(n)},EF(nPn,"DisCoOptions",998),Wfn(999,1,{},at),Fjn.$e=function(){return new rt},Fjn._e=function(n){},EF(nPn,"DisCoOptions/DiscoFactory",999),Wfn(562,167,{321:1,167:1,562:1},nbn),Fjn.a=0,Fjn.b=0,Fjn.c=0,Fjn.d=0,EF("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),Wfn(1268,1,YEn,ut),Fjn.Mb=function(n){return $I(n)},EF(lPn,"ElkGraphComponentsProcessor/lambda$0$Type",1268),Wfn(1269,1,{},ot),Fjn.Kb=function(n){return UH(),_un(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$1$Type",1269),Wfn(1270,1,YEn,st),Fjn.Mb=function(n){return function(n){return UH(),_un(n)==IG(Bun(n))}(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$2$Type",1270),Wfn(1271,1,{},ht),Fjn.Kb=function(n){return UH(),Bun(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$3$Type",1271),Wfn(1272,1,YEn,ft),Fjn.Mb=function(n){return function(n){return UH(),Bun(n)==IG(_un(n))}(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$4$Type",1272),Wfn(1273,1,YEn,tw),Fjn.Mb=function(n){return function(n,t){return UH(),n==IG(_un(t))||n==IG(Bun(t))}(this.a,Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$5$Type",1273),Wfn(1274,1,{},ew),Fjn.Kb=function(n){return function(n,t){return UH(),n==_un(t)?Bun(t):_un(t)}(this.a,Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$6$Type",1274),Wfn(1241,1,{},rW),Fjn.a=0,EF(lPn,"ElkGraphTransformer",1241),Wfn(1242,1,{},lt),Fjn.Od=function(n,t){!function(n,t,e){var i,r,c,a;n.a=e.b.d,CO(t,352)?(XW(c=_on(r=Ywn(Yx(t,79),!1,!1)),i=new iw(n)),wvn(c,r),null!=t.We((Cjn(),Gnt))&&XW(Yx(t.We(Gnt),74),i)):((a=Yx(t,470)).Hg(a.Dg()+n.a.a),a.Ig(a.Eg()+n.a.b))}(this,Yx(n,160),Yx(t,266))},EF(lPn,"ElkGraphTransformer/OffsetApplier",1242),Wfn(1243,1,PEn,iw),Fjn.td=function(n){!function(n,t){$$(t,n.a.a.a,n.a.a.b)}(this,Yx(n,8))},EF(lPn,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),Wfn(753,1,{},bt),EF(pPn,vPn,753),Wfn(1232,1,FMn,wt),Fjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Yx(Aun(t,(Bdn(),bGn)),19).a-Yx(Aun(n,bGn),19).a)?(i=yN(dO(Yx(Aun(n,(d2(),kGn)),8)),Yx(Aun(n,jGn),8)),r=yN(dO(Yx(Aun(t,kGn),8)),Yx(Aun(t,jGn),8)),$9(i.a*i.b,r.a*r.b)):e}(Yx(n,231),Yx(t,231))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(pPn,mPn,1232),Wfn(740,209,VSn,iv),Fjn.Ze=function(n,t){bbn(this,n,t)},EF(pPn,"ForceLayoutProvider",740),Wfn(357,134,{3:1,357:1,94:1,134:1}),EF(yPn,"FParticle",357),Wfn(559,357,{3:1,559:1,357:1,94:1,134:1},dF),Fjn.Ib=function(){var n;return this.a?(n=hJ(this.a.a,this,0))>=0?"b"+n+"["+YW(this.a)+"]":"b["+YW(this.a)+"]":"b_"+KA(this)},EF(yPn,"FBendpoint",559),Wfn(282,134,{3:1,282:1,94:1,134:1},rN),Fjn.Ib=function(){return YW(this)},EF(yPn,"FEdge",282),Wfn(231,134,{3:1,231:1,94:1,134:1},XV);var Hqn,qqn,Gqn,zqn,Uqn,Xqn,Wqn,Vqn,Qqn,Yqn,Jqn=EF(yPn,"FGraph",231);Wfn(447,357,{3:1,447:1,357:1,94:1,134:1},wW),Fjn.Ib=function(){return null==this.b||0==this.b.length?"l["+YW(this.a)+"]":"l_"+this.b},EF(yPn,"FLabel",447),Wfn(144,357,{3:1,144:1,357:1,94:1,134:1},GF),Fjn.Ib=function(){return Yz(this)},Fjn.b=0,EF(yPn,"FNode",144),Wfn(2003,1,{}),Fjn.bf=function(n){_pn(this,n)},Fjn.cf=function(){trn(this)},Fjn.d=0,EF(jPn,"AbstractForceModel",2003),Wfn(631,2003,{631:1},Z3),Fjn.af=function(n,t){var i,r,c,a;return mhn(this.f,n,t),c=yN(dO(t.d),n.d),a=e.Math.sqrt(c.a*c.a+c.b*c.b),r=e.Math.max(0,a-fB(n.e)/2-fB(t.e)/2),_O(c,((i=F5(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)*Yx(Aun(n,(Bdn(),bGn)),19).a)/a),c},Fjn.bf=function(n){_pn(this,n),this.a=Yx(Aun(n,(Bdn(),iGn)),19).a,this.c=ty(fL(Aun(n,mGn))),this.b=ty(fL(Aun(n,dGn)))},Fjn.df=function(n){return n0?t*t/n:t*t*100}(r=e.Math.max(0,u-fB(n.e)/2-fB(t.e)/2),this.a)*Yx(Aun(n,(Bdn(),bGn)),19).a,(i=F5(this.e,n,t))>0&&(a-=function(n,t){return n*n/t}(r,this.a)*i),_O(c,a*this.b/u),c},Fjn.bf=function(n){var t,i,r,c,a,u,o;for(_pn(this,n),this.b=ty(fL(Aun(n,(Bdn(),yGn)))),this.c=this.b/Yx(Aun(n,iGn),19).a,r=n.e.c.length,a=0,c=0,o=new pb(n.e);o.a0},Fjn.a=0,Fjn.b=0,Fjn.c=0,EF(jPn,"FruchtermanReingoldModel",632),Wfn(849,1,fSn,qh),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,EPn),""),"Force Model"),"Determines the model for force calculation."),Gqn),(lsn(),O7n)),UGn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TPn),""),"Iterations"),"The number of iterations on the force model."),d9(300)),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,MPn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),d9(0)),$7n),UKn),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,SPn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),PPn),C7n),HKn),J9(T7n)))),xU(n,SPn,EPn,Vqn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,IPn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),C7n),HKn),J9(T7n)))),xU(n,IPn,EPn,Uqn),Mkn((new Gh,n))},EF(CPn,"ForceMetaDataProvider",849),Wfn(424,22,{3:1,35:1,22:1,424:1},fM);var Zqn,nGn,tGn,eGn,iGn,rGn,cGn,aGn,uGn,oGn,sGn,hGn,fGn,lGn,bGn,wGn,dGn,gGn,pGn,vGn,mGn,yGn,kGn,jGn,EGn,TGn,MGn,SGn,PGn,IGn,CGn,OGn,AGn,$Gn,LGn,NGn,xGn,DGn,RGn,_Gn,KGn,FGn,BGn,HGn,qGn,GGn,zGn,UGn=X1(CPn,"ForceModelStrategy",424,uKn,(function(){return hZ(),x4(Gy(UGn,1),XEn,424,0,[Qqn,Yqn])}),(function(n){return hZ(),rZ((MW(),Zqn),n)}));Wfn(988,1,fSn,Gh),Fjn.Qe=function(n){Mkn(n)},EF(CPn,"ForceOptions",988),Wfn(989,1,{},dt),Fjn.$e=function(){return new iv},Fjn._e=function(n){},EF(CPn,"ForceOptions/ForceFactory",989),Wfn(850,1,fSn,zh),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,VPn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(TA(),!1)),(lsn(),I7n)),DKn),J9((Qtn(),E7n))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,QPn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),C7n),HKn),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[k7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,YPn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),PGn),O7n),ezn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,JPn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),PPn),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ZPn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),d9(Yjn)),$7n),UKn),J9(T7n)))),_yn((new Uh,n))},EF(CPn,"StressMetaDataProvider",850),Wfn(992,1,fSn,Uh),Fjn.Qe=function(n){_yn(n)},EF(CPn,"StressOptions",992),Wfn(993,1,{},gt),Fjn.$e=function(){return new cN},Fjn._e=function(n){},EF(CPn,"StressOptions/StressFactory",993),Wfn(1128,209,VSn,cN),Fjn.Ze=function(n,t){var e,i,r,c;for(run(t,tIn,1),ny(hL(jln(n,(Wrn(),xGn))))?ny(hL(jln(n,BGn)))||rG(new Xb((dT(),new Xm(n)))):bbn(new iv,n,J2(t,1)),i=w5(n),c=(e=ovn(this.a,i)).Kc();c.Ob();)(r=Yx(c.Pb(),231)).e.c.length<=1||($mn(this.b,r),Mln(this.b),WZ(r.d,new pt));Okn(i=Kkn(e)),Ron(t)},EF(iIn,"StressLayoutProvider",1128),Wfn(1129,1,PEn,pt),Fjn.td=function(n){Wvn(Yx(n,447))},EF(iIn,"StressLayoutProvider/lambda$0$Type",1129),Wfn(990,1,{},Hp),Fjn.c=0,Fjn.e=0,Fjn.g=0,EF(iIn,"StressMajorization",990),Wfn(379,22,{3:1,35:1,22:1,379:1},lM);var XGn,WGn,VGn,QGn,YGn,JGn,ZGn,nzn,tzn,ezn=X1(iIn,"StressMajorization/Dimension",379,uKn,(function(){return CJ(),x4(Gy(ezn,1),XEn,379,0,[GGn,qGn,zGn])}),(function(n){return CJ(),rZ((jQ(),XGn),n)}));Wfn(991,1,FMn,rw),Fjn.ue=function(n,t){return function(n,t,e){return $9(n[t.b],n[e.b])}(this.a,Yx(n,144),Yx(t,144))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(iIn,"StressMajorization/lambda$0$Type",991),Wfn(1229,1,{},gU),EF(cIn,"ElkLayered",1229),Wfn(1230,1,PEn,vt),Fjn.td=function(n){!function(n){var t;if((t=Yx(Aun(n,(gjn(),i1n)),314))==(O0(),TWn))throw hp(new by("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}(Yx(n,37))},EF(cIn,"ElkLayered/lambda$0$Type",1230),Wfn(1231,1,PEn,cw),Fjn.td=function(n){!function(n,t){b5(t,(gjn(),YZn),n)}(this.a,Yx(n,37))},EF(cIn,"ElkLayered/lambda$1$Type",1231),Wfn(1263,1,{},fO),EF(cIn,"GraphConfigurator",1263),Wfn(759,1,PEn,aw),Fjn.td=function(n){ron(this.a,Yx(n,10))},EF(cIn,"GraphConfigurator/lambda$0$Type",759),Wfn(760,1,{},mt),Fjn.Kb=function(n){return Mcn(),new SR(null,new Nz(Yx(n,29).a,16))},EF(cIn,"GraphConfigurator/lambda$1$Type",760),Wfn(761,1,PEn,uw),Fjn.td=function(n){ron(this.a,Yx(n,10))},EF(cIn,"GraphConfigurator/lambda$2$Type",761),Wfn(1127,209,VSn,cv),Fjn.Ze=function(n,t){var e;e=_vn(new wv,n),iI(jln(n,(gjn(),E1n)))===iI((O8(),$et))?K7(this.a,e,t):ofn(this.a,e,t),Tkn(new Wh,e)},EF(cIn,"LayeredLayoutProvider",1127),Wfn(356,22,{3:1,35:1,22:1,356:1},bM);var izn,rzn,czn,azn=X1(cIn,"LayeredPhases",356,uKn,(function(){return $un(),x4(Gy(azn,1),XEn,356,0,[YGn,JGn,ZGn,nzn,tzn])}),(function(n){return $un(),rZ((mZ(),izn),n)}));Wfn(1651,1,{},y0),Fjn.i=0,EF(aIn,"ComponentsToCGraphTransformer",1651),Wfn(1652,1,{},yt),Fjn.ef=function(n,t){return e.Math.min(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},Fjn.ff=function(n,t){return e.Math.min(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},EF(aIn,"ComponentsToCGraphTransformer/1",1652),Wfn(81,1,{81:1}),Fjn.i=0,Fjn.k=!0,Fjn.o=ZTn;var uzn,ozn,szn,hzn=EF(uIn,"CNode",81);Wfn(460,81,{460:1,81:1},zA,Etn),Fjn.Ib=function(){return""},EF(aIn,"ComponentsToCGraphTransformer/CRectNode",460),Wfn(1623,1,{},kt),EF(aIn,"OneDimensionalComponentsCompaction",1623),Wfn(1624,1,{},jt),Fjn.Kb=function(n){return function(n){return r8(),TA(),0!=Yx(n.a,81).d.e}(Yx(n,46))},Fjn.Fb=function(n){return this===n},EF(aIn,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),Wfn(1625,1,{},Et),Fjn.Kb=function(n){return function(n){return r8(),TA(),!!(M7(Yx(n.a,81).j,Yx(n.b,103))||0!=Yx(n.a,81).d.e&&M7(Yx(n.a,81).j,Yx(n.b,103)))}(Yx(n,46))},Fjn.Fb=function(n){return this===n},EF(aIn,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),Wfn(1654,1,{},HF),EF(uIn,"CGraph",1654),Wfn(189,1,{189:1},Ttn),Fjn.b=0,Fjn.c=0,Fjn.e=0,Fjn.g=!0,Fjn.i=ZTn,EF(uIn,"CGroup",189),Wfn(1653,1,{},Pt),Fjn.ef=function(n,t){return e.Math.max(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},Fjn.ff=function(n,t){return e.Math.max(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},EF(uIn,zMn,1653),Wfn(1655,1,{},rfn),Fjn.d=!1;var fzn=EF(uIn,QMn,1655);Wfn(1656,1,{},It),Fjn.Kb=function(n){return WE(),TA(),0!=Yx(Yx(n,46).a,81).d.e},Fjn.Fb=function(n){return this===n},EF(uIn,YMn,1656),Wfn(823,1,{},gR),Fjn.a=!1,Fjn.b=!1,Fjn.c=!1,Fjn.d=!1,EF(uIn,JMn,823),Wfn(1825,1,{},l_),EF(oIn,ZMn,1825);var lzn=aR(sIn,HMn);Wfn(1826,1,{369:1},yq),Fjn.Ke=function(n){!function(n,t){var e,i,r;t.a?(uF(n.b,t.b),n.a[t.b.i]=Yx(BN(n.b,t.b),81),(e=Yx(FN(n.b,t.b),81))&&(n.a[e.i]=t.b)):(!!(i=Yx(BN(n.b,t.b),81))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=Yx(FN(n.b,t.b),81))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),RA(n.b,t.b))}(this,Yx(n,466))},EF(oIn,nSn,1826),Wfn(1827,1,FMn,Ct),Fjn.ue=function(n,t){return function(n,t){return $9(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}(Yx(n,81),Yx(t,81))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(oIn,tSn,1827),Wfn(466,1,{466:1},CM),Fjn.a=!1,EF(oIn,eSn,466),Wfn(1828,1,FMn,Ot),Fjn.ue=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=$9(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}(Yx(n,466),Yx(t,466))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(oIn,iSn,1828),Wfn(140,1,{140:1},LM,ED),Fjn.Fb=function(n){var t;return null!=n&&pzn==V5(n)&&(t=Yx(n,140),qB(this.c,t.c)&&qB(this.d,t.d))},Fjn.Hb=function(){return G6(x4(Gy(U_n,1),iEn,1,5,[this.c,this.d]))},Fjn.Ib=function(){return"("+this.c+tEn+this.d+(this.a?"cx":"")+this.b+")"},Fjn.a=!0,Fjn.c=0,Fjn.d=0;var bzn,wzn,dzn,gzn,pzn=EF(sIn,"Point",140);Wfn(405,22,{3:1,35:1,22:1,405:1},wM);var vzn,mzn,yzn,kzn,jzn,Ezn,Tzn,Mzn,Szn,Pzn,Izn,Czn=X1(sIn,"Point/Quadrant",405,uKn,(function(){return K4(),x4(Gy(Czn,1),XEn,405,0,[bzn,gzn,wzn,dzn])}),(function(n){return K4(),rZ((GY(),vzn),n)}));Wfn(1642,1,{},ov),Fjn.b=null,Fjn.c=null,Fjn.d=null,Fjn.e=null,Fjn.f=null,EF(sIn,"RectilinearConvexHull",1642),Wfn(574,1,{369:1},ben),Fjn.Ke=function(n){!function(n,t){n.a.ue(t.d,n.b)>0&&(eD(n.c,new ED(t.c,t.d,n.d)),n.b=t.d)}(this,Yx(n,140))},Fjn.b=0,EF(sIn,"RectilinearConvexHull/MaximalElementsEventHandler",574),Wfn(1644,1,FMn,Mt),Fjn.ue=function(n,t){return function(n,t){return VE(),$9((vB(n),n),(vB(t),t))}(fL(n),fL(t))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),Wfn(1643,1,{369:1},xZ),Fjn.Ke=function(n){zbn(this,Yx(n,140))},Fjn.a=0,Fjn.b=null,Fjn.c=null,Fjn.d=null,Fjn.e=null,EF(sIn,"RectilinearConvexHull/RectangleEventHandler",1643),Wfn(1645,1,FMn,St),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(t.d,n.d):$9(n.c,t.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$0$Type",1645),Wfn(1646,1,FMn,Tt),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(n.d,t.d):$9(n.c,t.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$1$Type",1646),Wfn(1647,1,FMn,At),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(t.d,n.d):$9(t.c,n.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$2$Type",1647),Wfn(1648,1,FMn,$t),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(n.d,t.d):$9(t.c,n.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$3$Type",1648),Wfn(1649,1,FMn,Lt),Fjn.ue=function(n,t){return Nun(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$4$Type",1649),Wfn(1650,1,{},tz),EF(sIn,"Scanline",1650),Wfn(2005,1,{}),EF(hIn,"AbstractGraphPlacer",2005),Wfn(325,1,{325:1},F$),Fjn.mf=function(n){return!!this.nf(n)&&(Qhn(this.b,Yx(Aun(n,(Ojn(),uQn)),21),n),!0)},Fjn.nf=function(n){var t,e,i;for(t=Yx(Aun(n,(Ojn(),uQn)),21),i=Yx(KV(Mzn,t),21).Kc();i.Ob();)if(e=Yx(i.Pb(),21),!Yx(KV(this.b,e),15).dc())return!1;return!0},EF(hIn,"ComponentGroup",325),Wfn(765,2005,{},sv),Fjn.of=function(n){var t;for(t=new pb(this.a);t.ai?1:0}(Yx(n,37),Yx(t,37))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(hIn,"ComponentsProcessor/lambda$0$Type",1265),Wfn(570,325,{325:1,570:1},iV),Fjn.mf=function(n){return a6(this,n)},Fjn.nf=function(n){return Fbn(this,n)},EF(hIn,"ModelOrderComponentGroup",570),Wfn(1291,2005,{},Dt),Fjn.lf=function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;if(1!=n.gc()){if(n.dc())return t.a.c=VQ(U_n,iEn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(iI(Aun(t,(gjn(),HZn)))===iI((e9(),Izn))){for(s=n.Kc();s.Ob();){for(p=0,d=new pb((u=Yx(s.Pb(),37)).a);d.ab&&(k=0,j+=l+c,l=0),bgn(u,k+(g=u.c).a,j+g.b),OI(g),i=e.Math.max(i,k+v.a),l=e.Math.max(l,v.b),k+=v.a+c;if(t.f.a=i,t.f.b=j+l,ny(hL(Aun(a,KZn)))){for(bjn(r=new Nt,n,c),f=n.Kc();f.Ob();)mN(OI(Yx(f.Pb(),37).c),r.e);mN(OI(t.f),r.a)}dY(t,n)}else(m=Yx(n.Xb(0),37))!=t&&(t.a.c=VQ(U_n,iEn,1,0,5,1),Dgn(t,m,0,0),o4(t,m),HH(t.d,m.d),t.f.a=m.f.a,t.f.b=m.f.b)},EF(hIn,"SimpleRowGraphPlacer",1291),Wfn(1292,1,FMn,Rt),Fjn.ue=function(n,t){return function(n,t){var e;return 0==(e=t.p-n.p)?$9(n.f.a*n.f.b,t.f.a*t.f.b):e}(Yx(n,37),Yx(t,37))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(hIn,"SimpleRowGraphPlacer/1",1292),Wfn(1262,1,rSn,_t),Fjn.Lb=function(n){var t;return!!(t=Yx(Aun(Yx(n,243).b,(gjn(),$1n)),74))&&0!=t.b},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){var t;return!!(t=Yx(Aun(Yx(n,243).b,(gjn(),$1n)),74))&&0!=t.b},EF(wIn,"CompoundGraphPostprocessor/1",1262),Wfn(1261,1,dIn,dv),Fjn.pf=function(n,t){Wen(this,Yx(n,37),t)},EF(wIn,"CompoundGraphPreprocessor",1261),Wfn(441,1,{441:1},c9),Fjn.c=!1,EF(wIn,"CompoundGraphPreprocessor/ExternalPort",441),Wfn(243,1,{243:1},jx),Fjn.Ib=function(){return d$(this.c)+":"+_hn(this.b)},EF(wIn,"CrossHierarchyEdge",243),Wfn(763,1,FMn,ow),Fjn.ue=function(n,t){return function(n,t,e){var i,r;return t.c==(h0(),i3n)&&e.c==e3n?-1:t.c==e3n&&e.c==i3n?1:(i=X6(t.a,n.a),r=X6(e.a,n.a),t.c==i3n?r-i:i-r)}(this,Yx(n,243),Yx(t,243))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(wIn,"CrossHierarchyEdgeComparator",763),Wfn(299,134,{3:1,299:1,94:1,134:1}),Fjn.p=0,EF(gIn,"LGraphElement",299),Wfn(17,299,{3:1,17:1,299:1,94:1,134:1},jq),Fjn.Ib=function(){return _hn(this)};var Nzn=EF(gIn,"LEdge",17);Wfn(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},k0),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new pb(this.b)},Fjn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Gun(this.a):0==this.a.c.length?"G-layered"+Gun(this.b):"G[layerless"+Gun(this.a)+", layers"+Gun(this.b)+"]"};var xzn,Dzn=EF(gIn,"LGraph",37);Wfn(657,1,{}),Fjn.qf=function(){return this.e.n},Fjn.We=function(n){return Aun(this.e,n)},Fjn.rf=function(){return this.e.o},Fjn.sf=function(){return this.e.p},Fjn.Xe=function(n){return O$(this.e,n)},Fjn.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},Fjn.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},Fjn.vf=function(n){this.e.p=n},EF(gIn,"LGraphAdapters/AbstractLShapeAdapter",657),Wfn(577,1,{839:1},sw),Fjn.wf=function(){var n,t;if(!this.b)for(this.b=h$(this.a.b.c.length),t=new pb(this.a.b);t.a0&&l8((Lz(t-1,n.length),n.charCodeAt(t-1)),TIn);)--t;if(r> ",n),krn(e)),yI(mI((n.a+="[",n),e.i),"]")),n.a},Fjn.c=!0,Fjn.d=!1;var nUn,tUn,eUn,iUn,rUn=EF(gIn,"LPort",11);Wfn(397,1,$En,fw),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new lw(new pb(this.a.e))},EF(gIn,"LPort/1",397),Wfn(1290,1,fEn,lw),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){return Yx(Hz(this.a),17).c},Fjn.Ob=function(){return ZC(this.a)},Fjn.Qb=function(){zK(this.a)},EF(gIn,"LPort/1/1",1290),Wfn(359,1,$En,bw),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new ww(new pb(this.a.g))},EF(gIn,"LPort/2",359),Wfn(762,1,fEn,ww),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){return Yx(Hz(this.a),17).d},Fjn.Ob=function(){return ZC(this.a)},Fjn.Qb=function(){zK(this.a)},EF(gIn,"LPort/2/1",762),Wfn(1283,1,$En,IM),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new UV(this)},EF(gIn,"LPort/CombineIter",1283),Wfn(201,1,fEn,UV),Fjn.Nb=function(n){IK(this,n)},Fjn.Qb=function(){Bk()},Fjn.Ob=function(){return YA(this)},Fjn.Pb=function(){return ZC(this.a)?Hz(this.a):Hz(this.b)},EF(gIn,"LPort/CombineIter/1",201),Wfn(1285,1,rSn,Bt),Fjn.Lb=function(n){return J_(n)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),0!=Yx(n,11).e.c.length},EF(gIn,"LPort/lambda$0$Type",1285),Wfn(1284,1,rSn,Ht),Fjn.Lb=function(n){return Z_(n)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),0!=Yx(n,11).g.c.length},EF(gIn,"LPort/lambda$1$Type",1284),Wfn(1286,1,rSn,qt),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Tit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Tit)},EF(gIn,"LPort/lambda$2$Type",1286),Wfn(1287,1,rSn,Gt),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Eit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Eit)},EF(gIn,"LPort/lambda$3$Type",1287),Wfn(1288,1,rSn,zt),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Bit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Bit)},EF(gIn,"LPort/lambda$4$Type",1288),Wfn(1289,1,rSn,Ut),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),qit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),qit)},EF(gIn,"LPort/lambda$5$Type",1289),Wfn(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},qF),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new pb(this.a)},Fjn.Ib=function(){return"L_"+hJ(this.b.b,this,0)+Gun(this.a)},EF(gIn,"Layer",29),Wfn(1342,1,{},wv),EF(OIn,AIn,1342),Wfn(1346,1,{},Xt),Fjn.Kb=function(n){return iun(Yx(n,82))},EF(OIn,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),Wfn(1349,1,{},Wt),Fjn.Kb=function(n){return iun(Yx(n,82))},EF(OIn,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),Wfn(1343,1,PEn,dw),Fjn.td=function(n){vfn(this.a,Yx(n,118))},EF(OIn,$In,1343),Wfn(1344,1,PEn,gw),Fjn.td=function(n){vfn(this.a,Yx(n,118))},EF(OIn,LIn,1344),Wfn(1345,1,{},Vt),Fjn.Kb=function(n){return new SR(null,new Nz(function(n){return!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c}(Yx(n,79)),16))},EF(OIn,NIn,1345),Wfn(1347,1,YEn,pw),Fjn.Mb=function(n){return function(n,t){return XZ(t,TG(n))}(this.a,Yx(n,33))},EF(OIn,xIn,1347),Wfn(1348,1,{},Qt),Fjn.Kb=function(n){return new SR(null,new Nz(function(n){return!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b}(Yx(n,79)),16))},EF(OIn,"ElkGraphImporter/lambda$5$Type",1348),Wfn(1350,1,YEn,vw),Fjn.Mb=function(n){return function(n,t){return XZ(t,TG(n))}(this.a,Yx(n,33))},EF(OIn,"ElkGraphImporter/lambda$7$Type",1350),Wfn(1351,1,YEn,Yt),Fjn.Mb=function(n){return function(n){return Whn(n)&&ny(hL(jln(n,(gjn(),C1n))))}(Yx(n,79))},EF(OIn,"ElkGraphImporter/lambda$8$Type",1351),Wfn(1278,1,{},Wh),EF(OIn,"ElkGraphLayoutTransferrer",1278),Wfn(1279,1,YEn,mw),Fjn.Mb=function(n){return function(n,t){return UE(),!K3(t.d.i,n)}(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),Wfn(1280,1,PEn,yw),Fjn.td=function(n){UE(),eD(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),Wfn(1281,1,YEn,kw),Fjn.Mb=function(n){return function(n,t){return UE(),K3(t.d.i,n)}(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),Wfn(1282,1,PEn,jw),Fjn.td=function(n){UE(),eD(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),Wfn(1485,1,dIn,Jt),Fjn.pf=function(n,t){!function(n,t){run(t,DIn,1),SE(WJ(new SR(null,new Nz(n.b,16)),new Zt),new ne),Ron(t)}(Yx(n,37),t)},EF(RIn,"CommentNodeMarginCalculator",1485),Wfn(1486,1,{},Zt),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,29).a,16))},EF(RIn,"CommentNodeMarginCalculator/lambda$0$Type",1486),Wfn(1487,1,PEn,ne),Fjn.td=function(n){!function(n){var t,i,r,c,a,u,o,s,h,f,l,b;if(o=n.d,l=Yx(Aun(n,(Ojn(),JQn)),15),t=Yx(Aun(n,QVn),15),l||t){if(a=ty(fL(pnn(n,(gjn(),A0n)))),u=ty(fL(pnn(n,$0n))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=Yx(c.Pb(),10),h=e.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),o.d+=h+u}if(i=0,t){for(h=0,c=t.Kc();c.Ob();)r=Yx(c.Pb(),10),h=e.Math.max(h,r.o.b),i+=r.o.a;i+=a*(t.gc()-1),o.a+=h+u}(s=e.Math.max(b,i))>n.o.a&&(f=(s-n.o.a)/2,o.b=e.Math.max(o.b,f),o.c=e.Math.max(o.c,f))}}(Yx(n,10))},EF(RIn,"CommentNodeMarginCalculator/lambda$1$Type",1487),Wfn(1488,1,dIn,te),Fjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(run(t,"Comment post-processing",1),c=new pb(n.b);c.a0&&Jgn(($z(0,e.c.length),Yx(e.c[0],29)),n),e.c.length>1&&Jgn(Yx(TR(e,e.c.length-1),29),n),Ron(t)}(Yx(n,37),t)},EF(RIn,"HierarchicalPortPositionProcessor",1517),Wfn(1518,1,dIn,Vh),Fjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(n.b=t,n.a=Yx(Aun(t,(gjn(),T1n)),19).a,n.c=Yx(Aun(t,S1n),19).a,0==n.c&&(n.c=Yjn),g=new JU(t.b,0);g.b=n.a&&(r=Nvn(n,v),l=e.Math.max(l,r.b),y=e.Math.max(y,r.d),eD(o,new mP(v,r)));for(E=new ip,f=0;f0),g.a.Xb(g.c=--g.b),ZL(g,T=new qF(n.b)),S$(g.b=2){for(b=!0,e=Yx(Hz(h=new pb(r.j)),11),f=null;h.a0)}(Yx(n,17))},EF(RIn,"PartitionPreprocessor/lambda$2$Type",1577),Wfn(1578,1,PEn,ki),Fjn.td=function(n){!function(n){var t;mvn(n,!0),t=hTn,O$(n,(gjn(),M0n))&&(t+=Yx(Aun(n,M0n),19).a),b5(n,M0n,d9(t))}(Yx(n,17))},EF(RIn,"PartitionPreprocessor/lambda$3$Type",1578),Wfn(1579,1,dIn,rf),Fjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(run(t,"Port order processing",1),u=Yx(Aun(n,(gjn(),j0n)),421),e=new pb(n.b);e.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;uwn(NE(LE(xE($E(new tv,1),100),b),g))}}}(this),function(n){var t,e,i,r,c,a,u;for(c=new ME,r=new pb(n.d.a);r.a1)for(t=HA((e=new ev,++n.b,e),n.d),u=Ztn(c,0);u.b!=u.d.c;)a=Yx(IX(u),121),uwn(NE(LE(xE($E(new tv,1),0),t),a))}(this),Ggn(Cx(this.d),new am),c=new pb(this.a.a.b);c.a=g&&(eD(a,d9(f)),m=e.Math.max(m,y[f-1]-l),o+=d,p+=y[f-1]-p,l=y[f-1],d=s[f]),d=e.Math.max(d,s[f]),++f;o+=d}(w=e.Math.min(1/m,1/t.b/o))>r&&(r=w,i=a)}return i},Fjn.Wf=function(){return!1},EF(nCn,"MSDCutIndexHeuristic",802),Wfn(1617,1,dIn,Sc),Fjn.pf=function(n,t){Cvn(Yx(n,37),t)},EF(nCn,"SingleEdgeGraphWrapper",1617),Wfn(227,22,{3:1,35:1,22:1,227:1},FM);var vWn,mWn,yWn,kWn=X1(tCn,"CenterEdgeLabelPlacementStrategy",227,uKn,(function(){return psn(),x4(Gy(kWn,1),XEn,227,0,[bWn,dWn,lWn,wWn,gWn,fWn])}),(function(n){return psn(),rZ((y1(),vWn),n)}));Wfn(422,22,{3:1,35:1,22:1,422:1},BM);var jWn,EWn,TWn,MWn,SWn=X1(tCn,"ConstraintCalculationStrategy",422,uKn,(function(){return aY(),x4(Gy(SWn,1),XEn,422,0,[mWn,yWn])}),(function(n){return aY(),rZ((AW(),jWn),n)}));Wfn(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},HM),Fjn.Kf=function(){return Shn(this)},Fjn.Xf=function(){return Shn(this)};var PWn,IWn,CWn,OWn,AWn=X1(tCn,"CrossingMinimizationStrategy",314,uKn,(function(){return O0(),x4(Gy(AWn,1),XEn,314,0,[TWn,EWn,MWn])}),(function(n){return O0(),rZ((TQ(),PWn),n)}));Wfn(337,22,{3:1,35:1,22:1,337:1},qM);var $Wn,LWn,NWn,xWn,DWn,RWn,_Wn=X1(tCn,"CuttingStrategy",337,uKn,(function(){return f0(),x4(Gy(_Wn,1),XEn,337,0,[IWn,OWn,CWn])}),(function(n){return f0(),rZ((MQ(),$Wn),n)}));Wfn(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},GM),Fjn.Kf=function(){return fln(this)},Fjn.Xf=function(){return fln(this)};var KWn,FWn,BWn,HWn=X1(tCn,"CycleBreakingStrategy",335,uKn,(function(){return min(),x4(Gy(HWn,1),XEn,335,0,[NWn,LWn,DWn,RWn,xWn])}),(function(n){return min(),rZ((lZ(),KWn),n)}));Wfn(419,22,{3:1,35:1,22:1,419:1},zM);var qWn,GWn,zWn,UWn,XWn=X1(tCn,"DirectionCongruency",419,uKn,(function(){return fZ(),x4(Gy(XWn,1),XEn,419,0,[FWn,BWn])}),(function(n){return fZ(),rZ((PW(),qWn),n)}));Wfn(450,22,{3:1,35:1,22:1,450:1},UM);var WWn,VWn,QWn,YWn,JWn,ZWn,nVn,tVn=X1(tCn,"EdgeConstraint",450,uKn,(function(){return i5(),x4(Gy(tVn,1),XEn,450,0,[zWn,GWn,UWn])}),(function(n){return i5(),rZ((SQ(),WWn),n)}));Wfn(276,22,{3:1,35:1,22:1,276:1},XM);var eVn,iVn,rVn,cVn=X1(tCn,"EdgeLabelSideSelection",276,uKn,(function(){return pon(),x4(Gy(cVn,1),XEn,276,0,[QWn,VWn,JWn,YWn,nVn,ZWn])}),(function(n){return pon(),rZ((T1(),eVn),n)}));Wfn(479,22,{3:1,35:1,22:1,479:1},WM);var aVn,uVn,oVn,sVn,hVn,fVn,lVn,bVn=X1(tCn,"EdgeStraighteningStrategy",479,uKn,(function(){return cJ(),x4(Gy(bVn,1),XEn,479,0,[rVn,iVn])}),(function(n){return cJ(),rZ((IW(),aVn),n)}));Wfn(274,22,{3:1,35:1,22:1,274:1},VM);var wVn,dVn,gVn,pVn,vVn,mVn,yVn,kVn=X1(tCn,"FixedAlignment",274,uKn,(function(){return Wcn(),x4(Gy(kVn,1),XEn,274,0,[hVn,sVn,lVn,oVn,fVn,uVn])}),(function(n){return Wcn(),rZ((j1(),wVn),n)}));Wfn(275,22,{3:1,35:1,22:1,275:1},QM);var jVn,EVn,TVn,MVn,SVn,PVn,IVn,CVn,OVn,AVn,$Vn,LVn=X1(tCn,"GraphCompactionStrategy",275,uKn,(function(){return uon(),x4(Gy(LVn,1),XEn,275,0,[mVn,gVn,yVn,vVn,pVn,dVn])}),(function(n){return uon(),rZ((k1(),jVn),n)}));Wfn(256,22,{3:1,35:1,22:1,256:1},YM);var NVn,xVn,DVn,RVn,_Vn=X1(tCn,"GraphProperties",256,uKn,(function(){return edn(),x4(Gy(_Vn,1),XEn,256,0,[TVn,SVn,PVn,IVn,CVn,OVn,$Vn,EVn,MVn,AVn])}),(function(n){return edn(),rZ((n5(),NVn),n)}));Wfn(292,22,{3:1,35:1,22:1,292:1},JM);var KVn,FVn,BVn,HVn,qVn=X1(tCn,"GreedySwitchType",292,uKn,(function(){return r4(),x4(Gy(qVn,1),XEn,292,0,[DVn,RVn,xVn])}),(function(n){return r4(),rZ((CQ(),KVn),n)}));Wfn(303,22,{3:1,35:1,22:1,303:1},ZM);var GVn,zVn,UVn,XVn=X1(tCn,"InLayerConstraint",303,uKn,(function(){return AJ(),x4(Gy(XVn,1),XEn,303,0,[BVn,HVn,FVn])}),(function(n){return AJ(),rZ((IQ(),GVn),n)}));Wfn(420,22,{3:1,35:1,22:1,420:1},nS);var WVn,VVn,QVn,YVn,JVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn,uQn,oQn,sQn,hQn,fQn,lQn,bQn,wQn,dQn,gQn,pQn,vQn,mQn,yQn,kQn,jQn,EQn,TQn,MQn,SQn,PQn,IQn,CQn,OQn,AQn,$Qn,LQn,NQn,xQn,DQn,RQn,_Qn,KQn,FQn,BQn,HQn,qQn,GQn,zQn,UQn,XQn,WQn,VQn,QQn,YQn,JQn,ZQn,nYn,tYn,eYn,iYn,rYn=X1(tCn,"InteractiveReferencePoint",420,uKn,(function(){return dX(),x4(Gy(rYn,1),XEn,420,0,[zVn,UVn])}),(function(n){return dX(),rZ(($W(),WVn),n)}));Wfn(163,22,{3:1,35:1,22:1,163:1},cS);var cYn,aYn,uYn,oYn,sYn,hYn,fYn,lYn,bYn,wYn,dYn,gYn,pYn,vYn,mYn,yYn,kYn,jYn,EYn,TYn,MYn,SYn,PYn,IYn,CYn,OYn,AYn,$Yn,LYn,NYn,xYn,DYn,RYn,_Yn,KYn,FYn,BYn,HYn,qYn,GYn,zYn,UYn,XYn,WYn,VYn,QYn,YYn,JYn,ZYn,nJn,tJn,eJn,iJn,rJn,cJn,aJn,uJn,oJn,sJn,hJn,fJn,lJn,bJn,wJn,dJn,gJn,pJn,vJn,mJn,yJn,kJn,jJn,EJn,TJn,MJn,SJn,PJn,IJn,CJn,OJn,AJn,$Jn,LJn,NJn,xJn,DJn,RJn,_Jn,KJn,FJn,BJn,HJn,qJn,GJn,zJn,UJn,XJn,WJn,VJn,QJn,YJn,JJn,ZJn,nZn,tZn,eZn,iZn,rZn,cZn,aZn,uZn,oZn,sZn,hZn,fZn,lZn,bZn,wZn,dZn,gZn,pZn,vZn,mZn,yZn,kZn,jZn,EZn,TZn,MZn,SZn,PZn,IZn,CZn,OZn,AZn,$Zn,LZn,NZn,xZn,DZn,RZn,_Zn,KZn,FZn,BZn,HZn,qZn,GZn,zZn,UZn,XZn,WZn,VZn,QZn,YZn,JZn,ZZn,n1n,t1n,e1n,i1n,r1n,c1n,a1n,u1n,o1n,s1n,h1n,f1n,l1n,b1n,w1n,d1n,g1n,p1n,v1n,m1n,y1n,k1n,j1n,E1n,T1n,M1n,S1n,P1n,I1n,C1n,O1n,A1n,$1n,L1n,N1n,x1n,D1n,R1n,_1n,K1n,F1n,B1n,H1n,q1n,G1n,z1n,U1n,X1n,W1n,V1n,Q1n,Y1n,J1n,Z1n,n0n,t0n,e0n,i0n,r0n,c0n,a0n,u0n,o0n,s0n,h0n,f0n,l0n,b0n,w0n,d0n,g0n,p0n,v0n,m0n,y0n,k0n,j0n,E0n,T0n,M0n,S0n,P0n,I0n,C0n,O0n,A0n,$0n,L0n,N0n,x0n,D0n,R0n,_0n,K0n,F0n,B0n,H0n,q0n,G0n,z0n,U0n,X0n,W0n,V0n,Q0n,Y0n,J0n,Z0n,n2n,t2n,e2n,i2n,r2n,c2n,a2n,u2n,o2n,s2n,h2n,f2n,l2n,b2n,w2n,d2n,g2n,p2n=X1(tCn,"LayerConstraint",163,uKn,(function(){return d7(),x4(Gy(p2n,1),XEn,163,0,[iYn,ZQn,nYn,tYn,eYn])}),(function(n){return d7(),rZ((dZ(),cYn),n)}));Wfn(848,1,fSn,of),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,uCn),""),"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."),BYn),(lsn(),O7n)),XWn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oCn),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(TA(),!1)),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sCn),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),hJn),O7n),rYn),J9(T7n)))),xU(n,sCn,pCn,lJn),xU(n,sCn,PCn,fJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,hCn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,fCn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(function(n,t){return n.f=t,n}(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,lCn),""),"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),I7n),DKn),J9(M7n)),x4(Gy(fFn,1),TEn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,bCn),""),"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."),VJn),O7n),c3n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,wCn),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),d9(7)),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,dCn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,gCn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,pCn),"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)."),KYn),O7n),HWn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,vCn),SOn),"Node Layering Strategy"),"Strategy for node layering."),PJn),O7n),j2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,mCn),SOn),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),pJn),O7n),p2n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,yCn),SOn),"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."),d9(-1)),$7n),UKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,kCn),SOn),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),d9(-1)),$7n),UKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,jCn),POn),"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."),d9(4)),$7n),UKn),J9(T7n)))),xU(n,jCn,vCn,yJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ECn),POn),"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."),d9(2)),$7n),UKn),J9(T7n)))),xU(n,ECn,vCn,jJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TCn),IOn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),MJn),O7n),Q2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,MCn),IOn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),d9(0)),$7n),UKn),J9(T7n)))),xU(n,MCn,TCn,null),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,SCn),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),d9(Yjn)),$7n),UKn),J9(T7n)))),xU(n,SCn,vCn,wJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,PCn),COn),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),RYn),O7n),AWn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ICn),COn),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,CCn),COn),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),C7n),HKn),J9(T7n)))),xU(n,CCn,OOn,AYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,OCn),COn),"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),I7n),DKn),J9(T7n)))),xU(n,OCn,PCn,xYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ACn),COn),"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."),d9(-1)),$7n),UKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,$Cn),COn),"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."),d9(-1)),$7n),UKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LCn),AOn),"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."),d9(40)),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NCn),AOn),"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."),IYn),O7n),qVn),J9(T7n)))),xU(n,NCn,PCn,CYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,xCn),"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."),TYn),O7n),qVn),J9(T7n)))),xU(n,xCn,PCn,MYn),xU(n,xCn,OOn,SYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,DCn),$On),"Node Placement Strategy"),"Strategy for node placement."),XJn),O7n),z2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,RCn),$On),"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."),I7n),DKn),J9(T7n)))),xU(n,RCn,DCn,RJn),xU(n,RCn,DCn,_Jn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,_Cn),LOn),"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."),AJn),O7n),bVn),J9(T7n)))),xU(n,_Cn,DCn,$Jn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,KCn),LOn),"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."),NJn),O7n),kVn),J9(T7n)))),xU(n,KCn,DCn,xJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,FCn),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),C7n),HKn),J9(T7n)))),xU(n,FCn,DCn,FJn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,BCn),"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."),O7n),x2n),J9(E7n)))),xU(n,BCn,DCn,zJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,HCn),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),qJn),O7n),x2n),J9(T7n)))),xU(n,HCn,DCn,GJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,qCn),NOn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),VYn),O7n),w3n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,GCn),NOn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),YYn),O7n),m3n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,zCn),"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."),ZYn),O7n),T3n),J9(T7n)))),xU(n,zCn,xOn,nJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,UCn),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),C7n),HKn),J9(T7n)))),xU(n,UCn,xOn,eJn),xU(n,UCn,zCn,iJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,XCn),"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),C7n),HKn),J9(T7n)))),xU(n,XCn,xOn,XYn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,WCn),DOn),"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."),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,VCn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,QCn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,YCn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,JCn),ROn),"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."),d9(0)),$7n),UKn),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ZCn),ROn),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),d9(0)),$7n),UKn),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,nOn),ROn),"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."),d9(0)),$7n),UKn),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,tOn),_On),YSn),"Tries to further compact components (disconnected sub-graphs)."),!1),I7n),DKn),J9(T7n)))),xU(n,tOn,DPn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,eOn),KOn),"Post Compaction Strategy"),FOn),fYn),O7n),LVn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,iOn),KOn),"Post Compaction Constraint Calculation"),FOn),sYn),O7n),SWn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,rOn),BOn),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,cOn),BOn),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),d9(16)),$7n),UKn),J9(T7n)))),xU(n,cOn,rOn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,aOn),BOn),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),d9(5)),$7n),UKn),J9(T7n)))),xU(n,aOn,rOn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,uOn),HOn),"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'."),PZn),O7n),F3n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oOn),HOn),"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),C7n),HKn),J9(T7n)))),xU(n,oOn,uOn,aZn),xU(n,oOn,uOn,uZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sOn),HOn),"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),C7n),HKn),J9(T7n)))),xU(n,sOn,uOn,sZn),xU(n,sOn,uOn,hZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,hOn),qOn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),pZn),O7n),_Wn),J9(T7n)))),xU(n,hOn,uOn,vZn),xU(n,hOn,uOn,mZn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,fOn),qOn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),L7n),J_n),J9(T7n)))),xU(n,fOn,hOn,lZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,lOn),"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."),wZn),$7n),UKn),J9(T7n)))),xU(n,lOn,hOn,dZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,bOn),GOn),"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."),$Zn),O7n),C3n),J9(T7n)))),xU(n,bOn,uOn,LZn),xU(n,bOn,uOn,NZn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,wOn),GOn),"Valid Indices for Wrapping"),null),L7n),J_n),J9(T7n)))),xU(n,wOn,uOn,CZn),xU(n,wOn,uOn,OZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,dOn),zOn),"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),I7n),DKn),J9(T7n)))),xU(n,dOn,uOn,EZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,gOn),zOn),"Distance Penalty When Improving Cuts"),null),2),C7n),HKn),J9(T7n)))),xU(n,gOn,uOn,kZn),xU(n,gOn,dOn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,pOn),zOn),"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),I7n),DKn),J9(T7n)))),xU(n,pOn,uOn,MZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,vOn),UOn),"Edge Label Side Selection"),"Method to decide on edge label sides."),zYn),O7n),cVn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,mOn),UOn),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),qYn),O7n),kWn),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,yOn),XOn),"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."),yYn),O7n),n3n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,kOn),XOn),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),I7n),DKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,jOn),XOn),"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."),bYn),O7n),Lzn),J9(T7n)))),xU(n,jOn,DPn,null),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,EOn),XOn),"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."),pYn),O7n),I2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TOn),XOn),"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),C7n),HKn),J9(T7n)))),xU(n,TOn,yOn,null),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,MOn),XOn),"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),C7n),HKn),J9(T7n)))),xU(n,MOn,yOn,null),Djn((new ff,n))},EF(tCn,"LayeredMetaDataProvider",848),Wfn(986,1,fSn,ff),Fjn.Qe=function(n){Djn(n)},EF(tCn,"LayeredOptions",986),Wfn(987,1,{},Ic),Fjn.$e=function(){return new cv},Fjn._e=function(n){},EF(tCn,"LayeredOptions/LayeredFactory",987),Wfn(1372,1,{}),Fjn.a=0,EF(xAn,"ElkSpacings/AbstractSpacingsBuilder",1372),Wfn(779,1372,{},B7),EF(tCn,"LayeredSpacings/LayeredSpacingsBuilder",779),Wfn(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},tS),Fjn.Kf=function(){return rbn(this)},Fjn.Xf=function(){return rbn(this)};var v2n,m2n,y2n,k2n,j2n=X1(tCn,"LayeringStrategy",313,uKn,(function(){return nun(),x4(Gy(j2n,1),XEn,313,0,[d2n,b2n,f2n,l2n,g2n,w2n])}),(function(n){return nun(),rZ((E1(),v2n),n)}));Wfn(378,22,{3:1,35:1,22:1,378:1},eS);var E2n,T2n,M2n,S2n,P2n,I2n=X1(tCn,"LongEdgeOrderingStrategy",378,uKn,(function(){return i8(),x4(Gy(I2n,1),XEn,378,0,[m2n,y2n,k2n])}),(function(n){return i8(),rZ((OQ(),E2n),n)}));Wfn(197,22,{3:1,35:1,22:1,197:1},iS);var C2n,O2n,A2n,$2n,L2n,N2n,x2n=X1(tCn,"NodeFlexibility",197,uKn,(function(){return Hen(),x4(Gy(x2n,1),XEn,197,0,[S2n,P2n,M2n,T2n])}),(function(n){return Hen(),rZ((JY(),C2n),n)}));Wfn(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},rS),Fjn.Kf=function(){return hln(this)},Fjn.Xf=function(){return hln(this)};var D2n,R2n,_2n,K2n,F2n,B2n,H2n,q2n,G2n,z2n=X1(tCn,"NodePlacementStrategy",315,uKn,(function(){return ain(),x4(Gy(z2n,1),XEn,315,0,[N2n,A2n,$2n,O2n,L2n])}),(function(n){return ain(),rZ((bZ(),D2n),n)}));Wfn(260,22,{3:1,35:1,22:1,260:1},aS);var U2n,X2n,W2n,V2n,Q2n=X1(tCn,"NodePromotionStrategy",260,uKn,(function(){return Kbn(),x4(Gy(Q2n,1),XEn,260,0,[q2n,_2n,B2n,K2n,F2n,R2n,H2n,G2n])}),(function(n){return Kbn(),rZ((g3(),U2n),n)}));Wfn(339,22,{3:1,35:1,22:1,339:1},uS);var Y2n,J2n,Z2n,n3n=X1(tCn,"OrderingStrategy",339,uKn,(function(){return k5(),x4(Gy(n3n,1),XEn,339,0,[W2n,X2n,V2n])}),(function(n){return k5(),rZ(($Q(),Y2n),n)}));Wfn(421,22,{3:1,35:1,22:1,421:1},oS);var t3n,e3n,i3n,r3n,c3n=X1(tCn,"PortSortingStrategy",421,uKn,(function(){return $J(),x4(Gy(c3n,1),XEn,421,0,[J2n,Z2n])}),(function(n){return $J(),rZ((OW(),t3n),n)}));Wfn(452,22,{3:1,35:1,22:1,452:1},sS);var a3n,u3n,o3n,s3n,h3n=X1(tCn,"PortType",452,uKn,(function(){return h0(),x4(Gy(h3n,1),XEn,452,0,[r3n,e3n,i3n])}),(function(n){return h0(),rZ((LQ(),a3n),n)}));Wfn(375,22,{3:1,35:1,22:1,375:1},hS);var f3n,l3n,b3n,w3n=X1(tCn,"SelfLoopDistributionStrategy",375,uKn,(function(){return d3(),x4(Gy(w3n,1),XEn,375,0,[u3n,o3n,s3n])}),(function(n){return d3(),rZ((AQ(),f3n),n)}));Wfn(376,22,{3:1,35:1,22:1,376:1},fS);var d3n,g3n,p3n,v3n,m3n=X1(tCn,"SelfLoopOrderingStrategy",376,uKn,(function(){return rQ(),x4(Gy(m3n,1),XEn,376,0,[b3n,l3n])}),(function(n){return rQ(),rZ((CW(),d3n),n)}));Wfn(304,1,{304:1},pyn),EF(tCn,"Spacings",304),Wfn(336,22,{3:1,35:1,22:1,336:1},lS);var y3n,k3n,j3n,E3n,T3n=X1(tCn,"SplineRoutingMode",336,uKn,(function(){return $6(),x4(Gy(T3n,1),XEn,336,0,[g3n,p3n,v3n])}),(function(n){return $6(),rZ((xQ(),y3n),n)}));Wfn(338,22,{3:1,35:1,22:1,338:1},bS);var M3n,S3n,P3n,I3n,C3n=X1(tCn,"ValidifyStrategy",338,uKn,(function(){return V2(),x4(Gy(C3n,1),XEn,338,0,[E3n,k3n,j3n])}),(function(n){return V2(),rZ((DQ(),M3n),n)}));Wfn(377,22,{3:1,35:1,22:1,377:1},wS);var O3n,A3n,$3n,L3n,N3n,x3n,D3n,R3n,_3n,K3n,F3n=X1(tCn,"WrappingStrategy",377,uKn,(function(){return F4(),x4(Gy(F3n,1),XEn,377,0,[P3n,I3n,S3n])}),(function(n){return F4(),rZ((NQ(),O3n),n)}));Wfn(1383,1,_An,lf),Fjn.Yf=function(n){return Yx(n,37),A3n},Fjn.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(run(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new ip,n.d=VQ(Vot,wSn,25,o,16,1),n.a=VQ(Vot,wSn,25,o,16,1),n.b=new ip,c=0,u=new pb(s);u.a0?S+1:1);for(a=new pb(k.g);a.a0?S+1:1)}0==n.c[s]?_D(n.e,d):0==n.a[s]&&_D(n.f,d),++s}for(w=-1,b=1,f=new ip,n.d=Yx(Aun(t,(Ojn(),FQn)),230);A>0;){for(;0!=n.e.b;)I=Yx(mD(n.e),10),n.b[I.p]=w--,Ugn(n,I),--A;for(;0!=n.f.b;)C=Yx(mD(n.f),10),n.b[C.p]=b++,Ugn(n,C),--A;if(A>0){for(l=nTn,v=new pb(m);v.a=l&&(y>l&&(f.c=VQ(U_n,iEn,1,0,5,1),l=y),f.c[f.c.length]=d);h=n.Zf(f),n.b[h.p]=b++,Ugn(n,h),--A}}for(P=m.c.length+1,s=0;sn.b[O]&&(mvn(i,!0),b5(t,iQn,(TA(),!0)));n.a=null,n.c=null,n.b=null,BH(n.f),BH(n.e),Ron(e)}(this,Yx(n,37),t)},Fjn.Zf=function(n){return Yx(TR(n,Uen(this.d,n.c.length)),10)},EF(KAn,"GreedyCycleBreaker",782),Wfn(1386,782,_An,_P),Fjn.Zf=function(n){var t,e,i,r;for(r=null,t=Yjn,i=new pb(n);i.a0&&esn(n,u,h);for(r=new pb(h);r.a=s){S$(v.b>0),v.a.Xb(v.c=--v.b);break}g.a>h&&(c?(S4(c.b,g.b),c.a=e.Math.max(c.a,g.a),hB(v)):(eD(g.b,l),g.c=e.Math.min(g.c,h),g.a=e.Math.max(g.a,s),c=g))}c||((c=new gv).c=h,c.a=s,ZL(v,c),eD(c.b,l))}for(o=t.b,f=0,p=new pb(r);p.at.p?-1:0}(Yx(n,10),Yx(t,10))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(FAn,"StretchWidthLayerer/1",1394),Wfn(402,1,BAn),Fjn.Nf=function(n,t,e,i,r,c){},Fjn._f=function(n,t,e){return Zgn(this,n,t,e)},Fjn.Mf=function(){this.g=VQ(Zot,HAn,25,this.d,15,1),this.f=VQ(Zot,HAn,25,this.d,15,1)},Fjn.Of=function(n,t){this.e[n]=VQ(Wot,MTn,25,t[n].length,15,1)},Fjn.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},Fjn.Qf=function(n,t,e,i){Yx(TR(i[n][t].j,e),11).p=this.d++},Fjn.b=0,Fjn.c=0,Fjn.d=0,EF(qAn,"AbstractBarycenterPortDistributor",402),Wfn(1633,1,FMn,od),Fjn.ue=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:$9(i,r))}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(qAn,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),Wfn(817,1,VIn,wX),Fjn.Nf=function(n,t,e,i,r,c){},Fjn.Pf=function(n,t,e){},Fjn.Qf=function(n,t,e,i){},Fjn.Lf=function(){return!1},Fjn.Mf=function(){this.c=this.e.a,this.g=this.f.g},Fjn.Of=function(n,t){t[n][0].c.p=n},Fjn.Rf=function(){return!1},Fjn.ag=function(n,t,e,i){e?Ocn(this,n):(Gcn(this,n,i),Byn(this,n,t)),n.c.length>1&&(ny(hL(Aun(dB(($z(0,n.c.length),Yx(n.c[0],10))),(gjn(),VZn))))?Gln(n,this.d,Yx(this,660)):(XH(),JC(n,this.d)),u4(this.e,n))},Fjn.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=$R(e,n.length)&&(c=n[t-(e?1:-1)],lQ(this.f,c,e?(h0(),i3n):(h0(),e3n))),r=n[t][0],h=!i||r.k==(bon(),Kzn),s=DV(n[t]),this.ag(s,h,!1,e),a=0,o=new pb(s);o.a"),n0?DG(this.a,n[t-1],n[t]):!e&&t0&&(e+=o.n.a+o.o.a/2,++f),b=new pb(o.j);b.a0&&(e/=f),g=VQ(Jot,rMn,25,i.a.c.length,15,1),u=0,s=new pb(i.a);s.a1&&(ny(hL(Aun(dB(($z(0,n.c.length),Yx(n.c[0],10))),(gjn(),VZn))))?Gln(n,this.d,this):(XH(),JC(n,this.d)),ny(hL(Aun(dB(($z(0,n.c.length),Yx(n.c[0],10))),VZn)))||u4(this.e,n))},EF(qAn,"ModelOrderBarycenterHeuristic",660),Wfn(1803,1,FMn,pd),Fjn.ue=function(n,t){return Non(this.a,Yx(n,10),Yx(t,10))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(qAn,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),Wfn(1403,1,_An,yf),Fjn.Yf=function(n){var t;return Yx(n,37),oR(t=vC(Q3n),($un(),ZGn),($jn(),tXn)),t},Fjn.pf=function(n,t){!function(n){run(n,"No crossing minimization",1),Ron(n)}((Yx(n,37),t))},EF(qAn,"NoCrossingMinimizer",1403),Wfn(796,402,BAn,yk),Fjn.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new pb(n.j);h.a1&&(r.j==(Ikn(),Eit)?this.b[n]=!0:r.j==qit&&n>0&&(this.b[n-1]=!0))},Fjn.f=0,EF(WIn,"AllCrossingsCounter",1798),Wfn(587,1,{},s2),Fjn.b=0,Fjn.d=0,EF(WIn,"BinaryIndexedTree",587),Wfn(524,1,{},rx),EF(WIn,"CrossingsCounter",524),Wfn(1906,1,FMn,vd),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$0$Type",1906),Wfn(1907,1,FMn,md),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$1$Type",1907),Wfn(1908,1,FMn,yd),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$2$Type",1908),Wfn(1909,1,FMn,kd),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$3$Type",1909),Wfn(1910,1,PEn,jd),Fjn.td=function(n){!function(n,t){dD(),eD(n,new mP(t,d9(t.e.c.length+t.g.c.length)))}(this.a,Yx(n,11))},EF(WIn,"CrossingsCounter/lambda$4$Type",1910),Wfn(1911,1,YEn,Ed),Fjn.Mb=function(n){return function(n,t){return dD(),t!=n}(this.a,Yx(n,11))},EF(WIn,"CrossingsCounter/lambda$5$Type",1911),Wfn(1912,1,PEn,Td),Fjn.td=function(n){NP(this,n)},EF(WIn,"CrossingsCounter/lambda$6$Type",1912),Wfn(1913,1,PEn,pS),Fjn.td=function(n){var t;dD(),OX(this.b,(t=this.a,Yx(n,11),t))},EF(WIn,"CrossingsCounter/lambda$7$Type",1913),Wfn(826,1,rSn,xc),Fjn.Lb=function(n){return dD(),O$(Yx(n,11),(Ojn(),RQn))},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return dD(),O$(Yx(n,11),(Ojn(),RQn))},EF(WIn,"CrossingsCounter/lambda$8$Type",826),Wfn(1905,1,{},Md),EF(WIn,"HyperedgeCrossingsCounter",1905),Wfn(467,1,{35:1,467:1},fN),Fjn.wd=function(n){return function(n,t){return n.et.e?1:n.ft.f?1:W5(n)-W5(t)}(this,Yx(n,467))},Fjn.b=0,Fjn.c=0,Fjn.e=0,Fjn.f=0;var n4n=EF(WIn,"HyperedgeCrossingsCounter/Hyperedge",467);Wfn(362,1,{35:1,362:1},gH),Fjn.wd=function(n){return function(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?W5(n.a)-W5(t.a):n.d==(GW(),e4n)&&t.d==t4n?-1:n.d==t4n&&t.d==e4n?1:0}(this,Yx(n,362))},Fjn.b=0,Fjn.c=0;var t4n,e4n,i4n=EF(WIn,"HyperedgeCrossingsCounter/HyperedgeCorner",362);Wfn(523,22,{3:1,35:1,22:1,523:1},gS);var r4n,c4n,a4n,u4n,o4n,s4n=X1(WIn,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,uKn,(function(){return GW(),x4(Gy(s4n,1),XEn,523,0,[e4n,t4n])}),(function(n){return GW(),rZ((NW(),r4n),n)}));Wfn(1405,1,_An,hf),Fjn.Yf=function(n){return Yx(Aun(Yx(n,37),(Ojn(),bQn)),21).Hc((edn(),SVn))?c4n:null},Fjn.pf=function(n,t){!function(n,t,e){var i;for(run(e,"Interactive node placement",1),n.a=Yx(Aun(t,(Ojn(),zQn)),304),i=new pb(t.b);i.a1},EF(GAn,"NetworkSimplexPlacer/lambda$18$Type",1431),Wfn(1432,1,PEn,vH),Fjn.td=function(n){!function(n,t,e,i,r){hz(),uwn(NE(LE($E(xE(new tv,0),r.d.e-n),t),r.d)),uwn(NE(LE($E(xE(new tv,0),e-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,Yx(n,401))},Fjn.c=0,Fjn.d=0,EF(GAn,"NetworkSimplexPlacer/lambda$19$Type",1432),Wfn(1415,1,{},Xc),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$2$Type",1415),Wfn(1433,1,PEn,Cd),Fjn.td=function(n){!function(n,t){hz(),t.n.b+=n}(this.a,Yx(n,11))},Fjn.a=0,EF(GAn,"NetworkSimplexPlacer/lambda$20$Type",1433),Wfn(1434,1,{},Wc),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$21$Type",1434),Wfn(1435,1,PEn,Od),Fjn.td=function(n){RO(this.a,Yx(n,10))},EF(GAn,"NetworkSimplexPlacer/lambda$22$Type",1435),Wfn(1436,1,YEn,Vc),Fjn.Mb=function(n){return SL(n)},EF(GAn,"NetworkSimplexPlacer/lambda$23$Type",1436),Wfn(1437,1,{},Qc),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$24$Type",1437),Wfn(1438,1,YEn,Ad),Fjn.Mb=function(n){return function(n,t){return 2==n.j[t.p]}(this.a,Yx(n,10))},EF(GAn,"NetworkSimplexPlacer/lambda$25$Type",1438),Wfn(1439,1,PEn,yS),Fjn.td=function(n){!function(n,t,e){var i,r,c;for(r=new $_(bA(a7(e).a.Kc(),new h));Vfn(r);)ZW(i=Yx(kV(r),17))||!ZW(i)&&i.c.i.c==i.d.i.c||(c=Cbn(n,i,e,new yv)).c.length>1&&(t.c[t.c.length]=c)}(this.a,this.b,Yx(n,10))},EF(GAn,"NetworkSimplexPlacer/lambda$26$Type",1439),Wfn(1440,1,YEn,Yc),Fjn.Mb=function(n){return hz(),!ZW(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$27$Type",1440),Wfn(1441,1,YEn,Jc),Fjn.Mb=function(n){return hz(),!ZW(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$28$Type",1441),Wfn(1442,1,{},$d),Fjn.Ce=function(n,t){return AO(this.a,Yx(n,29),Yx(t,29))},EF(GAn,"NetworkSimplexPlacer/lambda$29$Type",1442),Wfn(1416,1,{},Zc),Fjn.Kb=function(n){return hz(),new SR(null,new nF(new $_(bA(o7(Yx(n,10)).a.Kc(),new h))))},EF(GAn,"NetworkSimplexPlacer/lambda$3$Type",1416),Wfn(1417,1,YEn,na),Fjn.Mb=function(n){return hz(),function(n){return hz(),!(ZW(n)||!ZW(n)&&n.c.i.c==n.d.i.c)}(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$4$Type",1417),Wfn(1418,1,PEn,Ld),Fjn.td=function(n){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b;i=HA(new ev,n.f),o=n.i[t.c.i.p],l=n.i[t.d.i.p],u=t.c,f=t.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=oG(e.Math.max(0,a-h)),c=oG(e.Math.max(0,h-a)),b=e.Math.max(1,Yx(Aun(t,(gjn(),P0n)),19).a)*GX(t.c.i.k,t.d.i.k),r=new vS(uwn(NE(LE($E(xE(new tv,b),c),i),Yx(BF(n.k,t.c),121))),uwn(NE(LE($E(xE(new tv,b),s),i),Yx(BF(n.k,t.d),121)))),n.c[t.p]=r}(this.a,Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$5$Type",1418),Wfn(1419,1,{},ta),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$6$Type",1419),Wfn(1420,1,YEn,ea),Fjn.Mb=function(n){return hz(),Yx(n,10).k==(bon(),Hzn)},EF(GAn,"NetworkSimplexPlacer/lambda$7$Type",1420),Wfn(1421,1,{},ia),Fjn.Kb=function(n){return hz(),new SR(null,new nF(new $_(bA(a7(Yx(n,10)).a.Kc(),new h))))},EF(GAn,"NetworkSimplexPlacer/lambda$8$Type",1421),Wfn(1422,1,YEn,ra),Fjn.Mb=function(n){return hz(),function(n){return!ZW(n)&&n.c.i.c==n.d.i.c}(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$9$Type",1422),Wfn(1404,1,_An,Sf),Fjn.Yf=function(n){return Yx(Aun(Yx(n,37),(Ojn(),bQn)),21).Hc((edn(),SVn))?b4n:null},Fjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l;for(run(t,"Simple node placement",1),l=Yx(Aun(n,(Ojn(),zQn)),304),o=0,a=new pb(n.b);a.a0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),b0&&(k-=d),Qmn(u,k),l=0,w=new pb(u.a);w.a0),o.a.Xb(o.c=--o.b)),s=.4*r*l,!a&&o.b"+this.b+" ("+((null!=(n=this.c).f?n.f:""+n.g)+")");var n},Fjn.d=0,EF(VAn,"HyperEdgeSegmentDependency",129),Wfn(520,22,{3:1,35:1,22:1,520:1},MS);var B4n,H4n,q4n,G4n,z4n,U4n,X4n,W4n,V4n=X1(VAn,"HyperEdgeSegmentDependency/DependencyType",520,uKn,(function(){return iQ(),x4(Gy(V4n,1),XEn,520,0,[K4n,_4n])}),(function(n){return iQ(),rZ((LW(),B4n),n)}));Wfn(1815,1,{},xd),EF(VAn,"HyperEdgeSegmentSplitter",1815),Wfn(1816,1,{},Ik),Fjn.a=0,Fjn.b=0,EF(VAn,"HyperEdgeSegmentSplitter/AreaRating",1816),Wfn(329,1,{329:1},Lx),Fjn.a=0,Fjn.b=0,Fjn.c=0,EF(VAn,"HyperEdgeSegmentSplitter/FreeArea",329),Wfn(1817,1,FMn,ja),Fjn.ue=function(n,t){return function(n,t){return $9(n.c-n.s,t.c-t.s)}(Yx(n,112),Yx(t,112))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(VAn,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),Wfn(1818,1,PEn,yH),Fjn.td=function(n){QX(this.a,this.d,this.c,this.b,Yx(n,112))},Fjn.b=0,EF(VAn,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),Wfn(1819,1,{},Ea),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).e,16))},EF(VAn,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),Wfn(1820,1,{},Ta),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).j,16))},EF(VAn,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),Wfn(1821,1,{},Ma),Fjn.Fe=function(n){return ty(fL(n))},EF(VAn,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),Wfn(655,1,{},gF),Fjn.a=0,Fjn.b=0,Fjn.c=0,EF(VAn,"OrthogonalRoutingGenerator",655),Wfn(1638,1,{},Sa),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).e,16))},EF(VAn,"OrthogonalRoutingGenerator/lambda$0$Type",1638),Wfn(1639,1,{},Pa),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).j,16))},EF(VAn,"OrthogonalRoutingGenerator/lambda$1$Type",1639),Wfn(661,1,{}),EF(QAn,"BaseRoutingDirectionStrategy",661),Wfn(1807,661,{},Ov),Fjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aPPn&&(c=n,r=new QS(l,a=f),_D(u.a,r),kpn(this,u,c,r,!1),(b=n.r)&&(r=new QS(w=ty(fL(ken(b.e,0))),a),_D(u.a,r),kpn(this,u,c,r,!1),c=b,r=new QS(w,a=t+b.o*i),_D(u.a,r),kpn(this,u,c,r,!1)),r=new QS(g,a),_D(u.a,r),kpn(this,u,c,r,!1)))},Fjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Fjn.fg=function(){return Ikn(),Bit},Fjn.gg=function(){return Ikn(),Tit},EF(QAn,"NorthToSouthRoutingStrategy",1807),Wfn(1808,661,{},Av),Fjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*i,h=new pb(n.n);h.aPPn&&(c=n,r=new QS(l,a=f),_D(u.a,r),kpn(this,u,c,r,!1),(b=n.r)&&(r=new QS(w=ty(fL(ken(b.e,0))),a),_D(u.a,r),kpn(this,u,c,r,!1),c=b,r=new QS(w,a=t-b.o*i),_D(u.a,r),kpn(this,u,c,r,!1)),r=new QS(g,a),_D(u.a,r),kpn(this,u,c,r,!1)))},Fjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Fjn.fg=function(){return Ikn(),Tit},Fjn.gg=function(){return Ikn(),Bit},EF(QAn,"SouthToNorthRoutingStrategy",1808),Wfn(1806,661,{},$v),Fjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aPPn&&(c=n,r=new QS(a=f,l),_D(u.a,r),kpn(this,u,c,r,!0),(b=n.r)&&(r=new QS(a,w=ty(fL(ken(b.e,0)))),_D(u.a,r),kpn(this,u,c,r,!0),c=b,r=new QS(a=t+b.o*i,w),_D(u.a,r),kpn(this,u,c,r,!0)),r=new QS(a,g),_D(u.a,r),kpn(this,u,c,r,!0)))},Fjn.eg=function(n){return n.i.n.b+n.n.b+n.a.b},Fjn.fg=function(){return Ikn(),Eit},Fjn.gg=function(){return Ikn(),qit},EF(QAn,"WestToEastRoutingStrategy",1806),Wfn(813,1,{},Tvn),Fjn.Ib=function(){return Gun(this.a)},Fjn.b=0,Fjn.c=!1,Fjn.d=!1,Fjn.f=0,EF(JAn,"NubSpline",813),Wfn(407,1,{407:1},Pwn,Qq),EF(JAn,"NubSpline/PolarCP",407),Wfn(1453,1,_An,grn),Fjn.Yf=function(n){return function(n){var t,e;return T3(t=new fX,H4n),(e=Yx(Aun(n,(Ojn(),bQn)),21)).Hc((edn(),$Vn))&&T3(t,U4n),e.Hc(EVn)&&T3(t,q4n),e.Hc(OVn)&&T3(t,z4n),e.Hc(MVn)&&T3(t,G4n),t}(Yx(n,37))},Fjn.pf=function(n,t){!function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(run(i,"Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void Ron(i);v=ty(fL(Aun(t,(gjn(),z0n)))),o=ty(fL(Aun(t,_0n))),u=ty(fL(Aun(t,x0n))),T=Yx(Aun(t,v1n),336)==($6(),v3n),E=ty(fL(Aun(t,m1n))),n.d=t,n.j.c=VQ(U_n,iEn,1,0,5,1),n.a.c=VQ(U_n,iEn,1,0,5,1),UK(n.k),f=oI((s=Yx(TR(t.b,0),29)).a,(ywn(),D4n)),l=oI((d=Yx(TR(t.b,t.b.c.length-1),29)).a,D4n),g=new pb(t.b),p=null,I=0;do{for(Nkn(n,p,m=g.a0?(h=0,p&&(h+=o),h+=(M-1)*u,m&&(h+=o),T&&m&&(h=e.Math.max(h,hwn(m,u,v,E))),h("+this.c+") "+this.b},Fjn.c=0,EF(JAn,"SplineEdgeRouter/Dependency",268),Wfn(455,22,{3:1,35:1,22:1,455:1},SS);var Q4n,Y4n,J4n,Z4n,n5n,t5n=X1(JAn,"SplineEdgeRouter/SideToProcess",455,uKn,(function(){return Yq(),x4(Gy(t5n,1),XEn,455,0,[X4n,W4n])}),(function(n){return Yq(),rZ((RW(),Q4n),n)}));Wfn(1454,1,YEn,ya),Fjn.Mb=function(n){return kwn(),!Yx(n,128).o},EF(JAn,"SplineEdgeRouter/lambda$0$Type",1454),Wfn(1455,1,{},ma),Fjn.Ge=function(n){return kwn(),Yx(n,128).v+1},EF(JAn,"SplineEdgeRouter/lambda$1$Type",1455),Wfn(1456,1,PEn,PS),Fjn.td=function(n){!function(n,t,e){xB(n.b,Yx(e.b,17),t)}(this.a,this.b,Yx(n,46))},EF(JAn,"SplineEdgeRouter/lambda$2$Type",1456),Wfn(1457,1,PEn,IS),Fjn.td=function(n){!function(n,t,e){xB(n.b,Yx(e.b,17),t)}(this.a,this.b,Yx(n,46))},EF(JAn,"SplineEdgeRouter/lambda$3$Type",1457),Wfn(128,1,{35:1,128:1},_sn,qmn),Fjn.wd=function(n){return function(n,t){return n.s-t.s}(this,Yx(n,128))},Fjn.b=0,Fjn.e=!1,Fjn.f=0,Fjn.g=0,Fjn.j=!1,Fjn.k=!1,Fjn.n=0,Fjn.o=!1,Fjn.p=!1,Fjn.q=!1,Fjn.s=0,Fjn.u=0,Fjn.v=0,Fjn.F=0,EF(JAn,"SplineSegment",128),Wfn(459,1,{459:1},ka),Fjn.a=0,Fjn.b=!1,Fjn.c=!1,Fjn.d=!1,Fjn.e=!1,Fjn.f=0,EF(JAn,"SplineSegment/EdgeInformation",459),Wfn(1234,1,{},da),EF(i$n,vPn,1234),Wfn(1235,1,FMn,ga),Fjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Yx(Aun(t,(cln(),U5n)),19).a-Yx(Aun(n,U5n),19).a)?(i=yN(dO(Yx(Aun(n,(ryn(),b5n)),8)),Yx(Aun(n,w5n),8)),r=yN(dO(Yx(Aun(t,b5n),8)),Yx(Aun(t,w5n),8)),$9(i.a*i.b,r.a*r.b)):e}(Yx(n,135),Yx(t,135))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(i$n,mPn,1235),Wfn(1233,1,{},fj),EF(i$n,"MrTree",1233),Wfn(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},CS),Fjn.Kf=function(){return Khn(this)},Fjn.Xf=function(){return Khn(this)};var e5n,i5n=X1(i$n,"TreeLayoutPhases",393,uKn,(function(){return _rn(),x4(Gy(i5n,1),XEn,393,0,[Y4n,J4n,Z4n,n5n])}),(function(n){return _rn(),rZ((WY(),e5n),n)}));Wfn(1130,209,VSn,wN),Fjn.Ze=function(n,t){var i,r,c,a,u,o;for(ny(hL(jln(n,(cln(),H5n))))||rG(new Xb((dT(),new Xm(n)))),o4(u=new nQ,n),b5(u,(ryn(),E5n),n),function(n,t,i){var r,c,a,u,o;for(a=0,c=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));c.e!=c.i.gc();)u="",0==(!(r=Yx(hen(c),33)).n&&(r.n=new mK(act,r,1,7)),r.n).i||(u=Yx(c1((!r.n&&(r.n=new mK(act,r,1,7)),r.n),0),137).a),o4(o=new Z5(a++,t,u),r),b5(o,(ryn(),E5n),r),o.e.b=r.j+r.f/2,o.f.a=e.Math.max(r.g,1),o.e.a=r.i+r.g/2,o.f.b=e.Math.max(r.f,1),_D(t.b,o),Ysn(i.f,r,o)}(n,u,o=new rp),function(n,t,e){var i,r,c,a,u,o,s;for(a=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new $_(bA(lbn(c=Yx(hen(a),33)).a.Kc(),new h));Vfn(r);)Rfn(i=Yx(kV(r),79))||Rfn(i)||Whn(i)||(o=Yx(eI(Dq(e.f,c)),86),s=Yx(BF(e,iun(Yx(c1((!i.c&&(i.c=new AN(Zrt,i,5,8)),i.c),0),82))),86),o&&s&&(b5(u=new iq(o,s),(ryn(),E5n),i),o4(u,i),_D(o.d,u),_D(s.b,u),_D(t.a,u)))}(n,u,o),a=u,r=new pb(c=gpn(this.a,a));r.al&&(P=0,I+=f+E,f=0),gbn(k,u,P,I),t=e.Math.max(t,P+j.a),f=e.Math.max(f,j.b),P+=j.a+E;for(y=new rp,i=new rp,M=new pb(n);M.a"+Qz(this.c):"e_"+W5(this)},EF(r$n,"TEdge",188),Wfn(135,134,{3:1,135:1,94:1,134:1},nQ),Fjn.Ib=function(){var n,t,e,i,r;for(r=null,i=Ztn(this.b,0);i.b!=i.d.c;)r+=(null==(e=Yx(IX(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=Ztn(this.a,0);t.b!=t.d.c;)r+=((n=Yx(IX(t),188)).b&&n.c?Qz(n.b)+"->"+Qz(n.c):"e_"+W5(n))+"\n";return r};var r5n=EF(r$n,"TGraph",135);Wfn(633,502,{3:1,502:1,633:1,94:1,134:1}),EF(r$n,"TShape",633),Wfn(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Z5),Fjn.Ib=function(){return Qz(this)};var c5n,a5n,u5n,o5n,s5n,h5n,f5n=EF(r$n,"TNode",86);Wfn(255,1,$En,Dd),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new Rd(Ztn(this.a.d,0))},EF(r$n,"TNode/2",255),Wfn(358,1,fEn,Rd),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){return Yx(IX(this.a),188).c},Fjn.Ob=function(){return ij(this.a)},Fjn.Qb=function(){BZ(this.a)},EF(r$n,"TNode/2/1",358),Wfn(1840,1,dIn,bN),Fjn.pf=function(n,t){ivn(this,Yx(n,135),t)},EF(c$n,"FanProcessor",1840),Wfn(327,22,{3:1,35:1,22:1,327:1,234:1},OS),Fjn.Kf=function(){switch(this.g){case 0:return new sm;case 1:return new bN;case 2:return new Oa;case 3:return new Ia;case 4:return new $a;case 5:return new La;default:throw hp(new Qm(FIn+(null!=this.f?this.f:""+this.g)))}};var l5n,b5n,w5n,d5n,g5n,p5n,v5n,m5n,y5n,k5n,j5n,E5n,T5n,M5n,S5n,P5n,I5n,C5n,O5n,A5n,$5n,L5n,N5n,x5n,D5n,R5n,_5n,K5n,F5n,B5n,H5n,q5n,G5n,z5n,U5n,X5n,W5n,V5n,Q5n,Y5n,J5n,Z5n=X1(c$n,BIn,327,uKn,(function(){return ysn(),x4(Gy(Z5n,1),XEn,327,0,[h5n,a5n,o5n,u5n,s5n,c5n])}),(function(n){return ysn(),rZ((M1(),l5n),n)}));Wfn(1843,1,dIn,Ia),Fjn.pf=function(n,t){Pln(this,Yx(n,135),t)},Fjn.a=0,EF(c$n,"LevelHeightProcessor",1843),Wfn(1844,1,$En,Ca),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return XH(),sE(),PFn},EF(c$n,"LevelHeightProcessor/1",1844),Wfn(1841,1,dIn,Oa),Fjn.pf=function(n,t){Nsn(this,Yx(n,135),t)},Fjn.a=0,EF(c$n,"NeighborsProcessor",1841),Wfn(1842,1,$En,Aa),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return XH(),sE(),PFn},EF(c$n,"NeighborsProcessor/1",1842),Wfn(1845,1,dIn,$a),Fjn.pf=function(n,t){Sln(this,Yx(n,135),t)},Fjn.a=0,EF(c$n,"NodePositionProcessor",1845),Wfn(1839,1,dIn,sm),Fjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(n.a.c=VQ(U_n,iEn,1,0,5,1),i=Ztn(t.b,0);i.b!=i.d.c;)0==(e=Yx(IX(i),86)).b.b&&(b5(e,(ryn(),C5n),(TA(),!0)),eD(n.a,e));switch(n.a.c.length){case 0:b5(r=new Z5(0,t,"DUMMY_ROOT"),(ryn(),C5n),(TA(),!0)),b5(r,g5n,!0),_D(t.b,r);break;case 1:break;default:for(c=new Z5(0,t,"SUPER_ROOT"),u=new pb(n.a);u.aw$n&&(c-=w$n),h=(o=Yx(jln(r,Ott),8)).a,l=o.b+n,(a=e.Math.atan2(l,h))<0&&(a+=w$n),(a+=t)>w$n&&(a-=w$n),XC(),o0(1e-10),e.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:QI(isNaN(c),isNaN(a))}(this.a,this.b,Yx(n,33),Yx(t,33))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},Fjn.a=0,Fjn.b=0,EF(b$n,"RadialUtil/lambda$0$Type",549),Wfn(1375,1,dIn,Da),Fjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(run(t,"Calculate Graph Size",1),t.n&&n&&nU(t,RU(n),(P6(),jrt)),o=wPn,s=wPn,a=d$n,u=d$n,l=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));l.e!=l.i.gc();)d=(h=Yx(hen(l),33)).i,g=h.j,v=h.g,r=h.f,c=Yx(jln(h,(Cjn(),Unt)),142),o=e.Math.min(o,d-c.b),s=e.Math.min(s,g-c.d),a=e.Math.max(a,d+v+c.c),u=e.Math.max(u,g+r+c.a);for(b=new QS(o-(w=Yx(jln(n,(Cjn(),utt)),116)).b,s-w.d),f=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));f.e!=f.i.gc();)L1(h=Yx(hen(f),33),h.i-b.a),N1(h,h.j-b.b);p=a-o+(w.b+w.c),i=u-s+(w.d+w.a),$1(n,p),A1(n,i),t.n&&n&&nU(t,RU(n),(P6(),jrt))}(Yx(n,33),t)},EF(g$n,"CalculateGraphSize",1375),Wfn(442,22,{3:1,35:1,22:1,442:1,234:1},NS),Fjn.Kf=function(){switch(this.g){case 0:return new Ba;case 1:return new xa;case 2:return new Da;default:throw hp(new Qm(FIn+(null!=this.f?this.f:""+this.g)))}};var v6n,m6n,y6n,k6n=X1(g$n,BIn,442,uKn,(function(){return m7(),x4(Gy(k6n,1),XEn,442,0,[g6n,w6n,d6n])}),(function(n){return m7(),rZ((_Q(),v6n),n)}));Wfn(645,1,{}),Fjn.e=1,Fjn.g=0,EF(p$n,"AbstractRadiusExtensionCompaction",645),Wfn(1772,645,{},rL),Fjn.hg=function(n){var t,e,i,r,c,a,u,o,s;for(this.c=Yx(jln(n,(eL(),s6n)),33),function(n,t){n.f=t}(this,this.c),this.d=Ven(Yx(jln(n,(Krn(),Y6n)),293)),(o=Yx(jln(n,K6n),19))&&Bl(this,o.a),Hl(this,(vB(u=fL(jln(n,(Cjn(),Xtt)))),u)),s=idn(this.c),this.d&&this.d.lg(s),function(n,t){var e,i,r;for(i=new pb(t);i.ai?1:0}(Yx(n,33),Yx(t,33))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(x$n,"RectPackingLayoutProvider/lambda$0$Type",1137),Wfn(1256,1,{},Nx),Fjn.a=0,Fjn.c=!1,EF(D$n,"AreaApproximation",1256);var l8n,b8n,w8n,d8n=aR(D$n,"BestCandidateFilter");Wfn(638,1,{526:1},Qa),Fjn.mg=function(n,t,i){var r,c,a,u,o,s;for(s=new ip,a=JTn,o=new pb(n);o.a1)for(i=new pb(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},Fjn.Jf=function(n){var t,e,i;for(e=0;e0&&f8((Lz(t-1,n.length),n.charCodeAt(t-1)),TIn);)--t;if(e>=t)throw hp(new Qm("The given string does not contain any numbers."));if(2!=(i=Ogn(n.substr(e,t-e),",|;|\r|\n")).length)throw hp(new Qm("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=gon(Wun(i[0])),this.b=gon(Wun(i[1]))}catch(n){throw CO(n=j4(n),127)?hp(new Qm(MIn+n)):hp(n)}},Fjn.Ib=function(){return"("+this.a+","+this.b+")"},Fjn.a=0,Fjn.b=0;var B7n=EF(SIn,"KVector",8);Wfn(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},Nv,kk,K$),Fjn.Pc=function(){return function(n){var t,e,i;for(t=0,i=VQ(B7n,TEn,8,n.b,0,1),e=Ztn(n,0);e.b!=e.d.c;)i[t++]=Yx(IX(e),8);return i}(this)},Fjn.Jf=function(n){var t,e,i,r,c;e=Ogn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),BH(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=gon(e[t]):c=gon(e[t]),r>0&&r%2!=0&&_D(this,new QS(i,c)),++r),++t}catch(n){throw CO(n=j4(n),127)?hp(new Qm("The given string does not match the expected format for vectors."+n)):hp(n)}},Fjn.Ib=function(){var n,t,e;for(n=new SA("("),t=Ztn(this,0);t.b!=t.d.c;)yI(n,(e=Yx(IX(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var H7n,q7n,G7n,z7n,U7n,X7n,W7n=EF(SIn,"KVectorChain",74);Wfn(248,22,{3:1,35:1,22:1,248:1},YS);var V7n,Q7n,Y7n,J7n,Z7n,nnt,tnt,ent,int,rnt,cnt,ant,unt,ont,snt,hnt,fnt,lnt,bnt,wnt=X1(MLn,"Alignment",248,uKn,(function(){return qen(),x4(Gy(wnt,1),XEn,248,0,[H7n,z7n,U7n,X7n,q7n,G7n])}),(function(n){return qen(),rZ((m1(),V7n),n)}));Wfn(979,1,fSn,Af),Fjn.Qe=function(n){Epn(n)},EF(MLn,"BoxLayouterOptions",979),Wfn(980,1,{},xu),Fjn.$e=function(){return new Gu},Fjn._e=function(n){},EF(MLn,"BoxLayouterOptions/BoxFactory",980),Wfn(291,22,{3:1,35:1,22:1,291:1},JS);var dnt,gnt,pnt,vnt,mnt,ynt,knt,jnt,Ent,Tnt,Mnt,Snt,Pnt,Int,Cnt,Ont,Ant,$nt,Lnt,Nnt,xnt,Dnt,Rnt,_nt,Knt,Fnt,Bnt,Hnt,qnt,Gnt,znt,Unt,Xnt,Wnt,Vnt,Qnt,Ynt,Jnt,Znt,ntt,ttt,ett,itt,rtt,ctt,att,utt,ott,stt,htt,ftt,ltt,btt,wtt,dtt,gtt,ptt,vtt,mtt,ytt,ktt,jtt,Ett,Ttt,Mtt,Stt,Ptt,Itt,Ctt,Ott,Att,$tt,Ltt,Ntt,xtt,Dtt,Rtt,_tt,Ktt,Ftt,Btt,Htt,qtt,Gtt,ztt,Utt,Xtt,Wtt,Vtt,Qtt,Ytt,Jtt,Ztt,net,tet,eet,iet=X1(MLn,"ContentAlignment",291,uKn,(function(){return dan(),x4(Gy(iet,1),XEn,291,0,[bnt,lnt,fnt,snt,ont,hnt])}),(function(n){return dan(),rZ((v1(),dnt),n)}));Wfn(684,1,fSn,$f),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,CLn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(lsn(),N7n)),fFn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,OLn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),L7n),y7n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sAn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),vnt),O7n),wnt),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,hPn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,ALn),""),"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."),L7n),W7n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,jAn),""),"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."),Mnt),A7n),iet),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oAn),""),"Debug Mode"),"Whether additional debug information shall be generated."),(TA(),!1)),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,bAn),""),KSn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Int),O7n),oet),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,xOn),""),"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."),Lnt),O7n),Eet),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,U$n),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,OOn),""),"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`."),_nt),O7n),Bet),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,fPn),""),"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."),ott),L7n),Zzn),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,RPn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NAn),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,FPn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,_Pn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),jtt),O7n),kit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,AAn),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),L7n),B7n),t_(E7n,x4(Gy(D7n,1),XEn,175,0,[M7n,j7n]))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,$Pn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),$7n),UKn),t_(E7n,x4(Gy(D7n,1),XEn,175,0,[k7n]))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,xPn),""),"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)."),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,DPn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,EAn),""),"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."),znt),L7n),W7n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,SAn),""),"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),I7n),DKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,PAn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),I7n),DKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,$Ln),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),L7n),tst),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,$An),""),"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."),Xnt),L7n),Rzn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,aAn),""),"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),I7n),DKn),t_(E7n,x4(Gy(D7n,1),XEn,175,0,[k7n,M7n,j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LLn),""),"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),C7n),HKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NLn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,xLn),""),"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'."),d9(100)),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,DLn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,RLn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),d9(4e3)),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,_Ln),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),d9(400)),$7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,KLn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,FLn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,BLn),""),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,HLn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ILn),"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."),jnt),O7n),yrt),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,WOn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,VOn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oPn),DOn),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,QOn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NPn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,YOn),DOn),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,JOn),DOn),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,tAn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ZOn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,nAn),DOn),"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),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LPn),DOn),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,eAn),DOn),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),C7n),HKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,iAn),DOn),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),C7n),HKn),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,rAn),DOn),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),L7n),Mrt),t_(E7n,x4(Gy(D7n,1),XEn,175,0,[k7n,M7n,j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LAn),DOn),"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."),Qtt),L7n),Rzn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,OAn),ULn),"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)."),$7n),UKn),t_(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),xU(n,OAn,CAn,ltt),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,CAn),ULn),"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."),htt),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,wAn),XLn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Vnt),L7n),Zzn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,qPn),XLn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Ynt),A7n),cit),t_(E7n,x4(Gy(D7n,1),XEn,175,0,[j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,pAn),WLn),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),wtt),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,vAn),WLn),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,mAn),WLn),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,yAn),WLn),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,kAn),WLn),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,HPn),VLn),"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."),Znt),A7n),lrt),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,BPn),VLn),"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."),rtt),A7n),vrt),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,eIn),VLn),"Node Size Minimum"),"The minimal size to which a node can be reduced."),ett),L7n),B7n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,lAn),VLn),"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),I7n),DKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TAn),UOn),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Ant),O7n),det),J9(j7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,KPn),UOn),"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),I7n),DKn),J9(j7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,qLn),"font"),"Font Name"),"Font name used for a label."),N7n),fFn),J9(j7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,GLn),"font"),"Font Size"),"Font size used for a label."),$7n),UKn),J9(j7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,IAn),QLn),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),L7n),B7n),J9(M7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,MAn),QLn),"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."),$7n),UKn),J9(M7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,uAn),QLn),"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."),Ctt),O7n),trt),J9(M7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,cAn),QLn),"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."),C7n),HKn),J9(M7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,GPn),YLn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Stt),A7n),Git),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,dAn),YLn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),I7n),DKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,gAn),YLn),"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),I7n),DKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,hAn),JLn),"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),I7n),DKn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,fAn),JLn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),I7n),DKn),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sPn),"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),C7n),HKn),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,zLn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),xnt),O7n),xet),J9(k7n)))),oT(n,new dz(ak(ok(uk(new pu,CIn),"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.'))),oT(n,new dz(ak(ok(uk(new pu,"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.'))),oT(n,new dz(ak(ok(uk(new pu,APn),"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."))),oT(n,new dz(ak(ok(uk(new pu,"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."))),oT(n,new dz(ak(ok(uk(new pu,l$n),"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."))),oT(n,new dz(ak(ok(uk(new pu,"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."))),oT(n,new dz(ak(ok(uk(new pu,C$n),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Mgn((new Lf,n)),Epn((new Af,n)),ydn((new Nf,n))},EF(MLn,"CoreOptions",684),Wfn(103,22,{3:1,35:1,22:1,103:1},ZS);var ret,cet,aet,uet,oet=X1(MLn,KSn,103,uKn,(function(){return t9(),x4(Gy(oet,1),XEn,103,0,[tet,net,Ztt,Jtt,eet])}),(function(n){return t9(),rZ((yZ(),ret),n)}));Wfn(272,22,{3:1,35:1,22:1,272:1},nP);var set,het,fet,bet,wet,det=X1(MLn,"EdgeLabelPlacement",272,uKn,(function(){return ZZ(),x4(Gy(det,1),XEn,272,0,[cet,aet,uet])}),(function(n){return ZZ(),rZ((GQ(),set),n)}));Wfn(218,22,{3:1,35:1,22:1,218:1},tP);var get,pet,vet,met,yet,ket,jet,Eet=X1(MLn,"EdgeRouting",218,uKn,(function(){return g7(),x4(Gy(Eet,1),XEn,218,0,[wet,fet,het,bet])}),(function(n){return g7(),rZ((tJ(),get),n)}));Wfn(312,22,{3:1,35:1,22:1,312:1},eP);var Tet,Met,Set,Pet,Iet,Cet,Oet,Aet,$et,Let,Net,xet=X1(MLn,"EdgeType",312,uKn,(function(){return vun(),x4(Gy(xet,1),XEn,312,0,[ket,met,jet,pet,yet,vet])}),(function(n){return vun(),rZ((P1(),Tet),n)}));Wfn(977,1,fSn,Lf),Fjn.Qe=function(n){Mgn(n)},EF(MLn,"FixedLayouterOptions",977),Wfn(978,1,{},Vu),Fjn.$e=function(){return new Hu},Fjn._e=function(n){},EF(MLn,"FixedLayouterOptions/FixedFactory",978),Wfn(334,22,{3:1,35:1,22:1,334:1},iP);var Det,Ret,_et,Ket,Fet,Bet=X1(MLn,"HierarchyHandling",334,uKn,(function(){return O8(),x4(Gy(Bet,1),XEn,334,0,[Let,$et,Net])}),(function(n){return O8(),rZ((qQ(),Det),n)}));Wfn(285,22,{3:1,35:1,22:1,285:1},rP);var Het,qet,Get,zet,Uet,Xet,Wet,Vet,Qet,Yet,Jet=X1(MLn,"LabelSide",285,uKn,(function(){return Frn(),x4(Gy(Jet,1),XEn,285,0,[Fet,Ret,_et,Ket])}),(function(n){return Frn(),rZ((nJ(),Het),n)}));Wfn(93,22,{3:1,35:1,22:1,93:1},cP);var Zet,nit,tit,eit,iit,rit,cit=X1(MLn,"NodeLabelPlacement",93,uKn,(function(){return Eln(),x4(Gy(cit,1),XEn,93,0,[Get,qet,Uet,Yet,Qet,Vet,Xet,Wet,zet])}),(function(n){return Eln(),rZ((n4(),Zet),n)}));Wfn(249,22,{3:1,35:1,22:1,249:1},aP);var ait,uit,oit,sit,hit,fit,lit,bit=X1(MLn,"PortAlignment",249,uKn,(function(){return Ytn(),x4(Gy(bit,1),XEn,249,0,[eit,rit,nit,tit,iit])}),(function(n){return Ytn(),rZ((kZ(),ait),n)}));Wfn(98,22,{3:1,35:1,22:1,98:1},uP);var wit,dit,git,pit,vit,mit,yit,kit=X1(MLn,"PortConstraints",98,uKn,(function(){return Ran(),x4(Gy(kit,1),XEn,98,0,[lit,fit,hit,uit,sit,oit])}),(function(n){return Ran(),rZ((n1(),wit),n)}));Wfn(273,22,{3:1,35:1,22:1,273:1},oP);var jit,Eit,Tit,Mit,Sit,Pit,Iit,Cit,Oit,Ait,$it,Lit,Nit,xit,Dit,Rit,_it,Kit,Fit,Bit,Hit,qit,Git=X1(MLn,"PortLabelPlacement",273,uKn,(function(){return Chn(),x4(Gy(Git,1),XEn,273,0,[mit,pit,vit,git,dit,yit])}),(function(n){return Chn(),rZ((S1(),jit),n)}));Wfn(61,22,{3:1,35:1,22:1,61:1},sP);var zit,Uit,Xit,Wit,Vit,Qit,Yit,Jit,Zit,nrt,trt=X1(MLn,"PortSide",61,uKn,(function(){return Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])}),(function(n){return Ikn(),rZ((jZ(),zit),n)}));Wfn(981,1,fSn,Nf),Fjn.Qe=function(n){ydn(n)},EF(MLn,"RandomLayouterOptions",981),Wfn(982,1,{},Qu),Fjn.$e=function(){return new no},Fjn._e=function(n){},EF(MLn,"RandomLayouterOptions/RandomFactory",982),Wfn(374,22,{3:1,35:1,22:1,374:1},hP);var ert,irt,rrt,crt,art,urt,ort,srt,hrt,frt,lrt=X1(MLn,"SizeConstraint",374,uKn,(function(){return Ann(),x4(Gy(lrt,1),XEn,374,0,[Zit,nrt,Jit,Yit])}),(function(n){return Ann(),rZ((iJ(),ert),n)}));Wfn(259,22,{3:1,35:1,22:1,259:1},fP);var brt,wrt,drt,grt,prt,vrt=X1(MLn,"SizeOptions",259,uKn,(function(){return Vgn(),x4(Gy(vrt,1),XEn,259,0,[crt,urt,rrt,ort,srt,frt,hrt,art,irt])}),(function(n){return Vgn(),rZ((t5(),brt),n)}));Wfn(370,1,{1949:1},am),Fjn.b=!1,Fjn.c=0,Fjn.d=-1,Fjn.e=null,Fjn.f=null,Fjn.g=-1,Fjn.j=!1,Fjn.k=!1,Fjn.n=!1,Fjn.o=0,Fjn.q=0,Fjn.r=0,EF(xAn,"BasicProgressMonitor",370),Wfn(972,209,VSn,Gu),Fjn.Ze=function(n,t){var e,i,r,c,a,u,o,s,h;run(t,"Box layout",2),r=ey(fL(jln(n,(Run(),unt)))),c=Yx(jln(n,rnt),116),e=ny(hL(jln(n,Z7n))),i=ny(hL(jln(n,nnt))),0===Yx(jln(n,Y7n),311).g?(u=new sx((!n.a&&(n.a=new mK(uct,n,10,11)),n.a)),XH(),JC(u,new Vd(i)),a=u,o=Asn(n),(null==(s=fL(jln(n,Q7n)))||(vB(s),s<=0))&&(s=1.3),xkn(n,(h=_kn(a,r,c,o.a,o.b,e,(vB(s),s))).a,h.b,!1,!0)):Vmn(n,r,c,e),Ron(t)},EF(xAn,"BoxLayoutProvider",972),Wfn(973,1,FMn,Vd),Fjn.ue=function(n,t){return function(n,t,e){var i,r,c;if(!(r=Yx(jln(t,(Run(),ant)),19))&&(r=d9(0)),!(c=Yx(jln(e,ant),19))&&(c=d9(0)),r.a>c.a)return-1;if(r.a0&&d.b>0&&xkn(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 UO((!g.n&&(g.n=new mK(act,g,1,7)),g.n));f.e!=f.i.gc();)o=Yx(hen(f),137),(T=Yx(jln(o,Aet),8))&&jC(o,T.a,T.b),b=e.Math.max(b,g.i+o.i+o.g),w=e.Math.max(w,g.j+o.j+o.f);for(k=new UO((!g.c&&(g.c=new mK(oct,g,9,9)),g.c));k.e!=k.i.gc();)for(y=Yx(hen(k),118),(T=Yx(jln(y,Aet),8))&&jC(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,b=e.Math.max(b,j+y.g),w=e.Math.max(w,E+y.f),s=new UO((!y.n&&(y.n=new mK(act,y,1,7)),y.n));s.e!=s.i.gc();)o=Yx(hen(s),137),(T=Yx(jln(o,Aet),8))&&jC(o,T.a,T.b),b=e.Math.max(b,j+o.i+o.g),w=e.Math.max(w,E+o.j+o.f);for(c=new $_(bA(lbn(g).a.Kc(),new h));Vfn(c);)l=Dkn(i=Yx(kV(c),79)),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b);for(r=new $_(bA(fbn(g).a.Kc(),new h));Vfn(r);)IG(_un(i=Yx(kV(r),79)))!=n&&(l=Dkn(i),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b))}if(a==(g7(),het))for(p=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new $_(bA(lbn(g=Yx(hen(p),33)).a.Kc(),new h));Vfn(r);)0==(u=Npn(i=Yx(kV(r),79))).b?Aen(i,Gnt,null):Aen(i,Gnt,u);ny(hL(jln(n,(L6(),Pet))))||xkn(n,b+(m=Yx(jln(n,Cet),116)).b+m.c,w+m.d+m.a,!0,!0),Ron(t)},EF(xAn,"FixedLayoutProvider",1138),Wfn(373,134,{3:1,414:1,373:1,94:1,134:1},Yu,FJ),Fjn.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(a=Ogn(n,";,;"),r=0,c=(i=a).length;r>16&fTn|n^(e&fTn)<<16},Fjn.Kc=function(){return new Zd(this)},Fjn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+I7(this.b)+")":null==this.b?"pair("+I7(this.a)+",null)":"pair("+I7(this.a)+","+I7(this.b)+")"},EF(xAn,"Pair",46),Wfn(983,1,fEn,Zd),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},Fjn.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 hp(new _p)},Fjn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),hp(new Lp)},Fjn.b=!1,Fjn.c=!1,EF(xAn,"Pair/1",983),Wfn(448,1,{448:1},jH),Fjn.Fb=function(n){return qB(this.a,Yx(n,448).a)&&qB(this.c,Yx(n,448).c)&&qB(this.d,Yx(n,448).d)&&qB(this.b,Yx(n,448).b)},Fjn.Hb=function(){return G6(x4(Gy(U_n,1),iEn,1,5,[this.a,this.c,this.d,this.b]))},Fjn.Ib=function(){return"("+this.a+tEn+this.c+tEn+this.d+tEn+this.b+")"},EF(xAn,"Quadruple",448),Wfn(1126,209,VSn,no),Fjn.Ze=function(n,t){var i;run(t,"Random Layout",1),0!=(!n.a&&(n.a=new mK(uct,n,10,11)),n.a).i?(function(n,t,i,r,c){var a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(y=0,g=0,d=0,w=1,m=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));m.e!=m.i.gc();)w+=FX(new $_(bA(lbn(p=Yx(hen(m),33)).a.Kc(),new h))),T=p.g,g=e.Math.max(g,T),b=p.f,d=e.Math.max(d,b),y+=T*b;for(u=y+2*r*r*w*(!n.a&&(n.a=new mK(uct,n,10,11)),n.a).i,a=e.Math.sqrt(u),s=e.Math.max(a*i,g),o=e.Math.max(a/i,d),v=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));v.e!=v.i.gc();)p=Yx(hen(v),33),M=c.b+(Xln(t,26)*mMn+Xln(t,27)*yMn)*(s-p.g),S=c.b+(Xln(t,26)*mMn+Xln(t,27)*yMn)*(o-p.f),L1(p,M),N1(p,S);for(E=s+(c.b+c.c),j=o+(c.d+c.a),k=new UO((!n.a&&(n.a=new mK(uct,n,10,11)),n.a));k.e!=k.i.gc();)for(l=new $_(bA(lbn(Yx(hen(k),33)).a.Kc(),new h));Vfn(l);)Rfn(f=Yx(kV(l),79))||djn(f,t,E,j);xkn(n,E+=c.b+c.c,j+=c.d+c.a,!1,!0)}(n,(i=Yx(jln(n,(Onn(),Vit)),19))&&0!=i.a?new jW(i.a):new c7,ey(fL(jln(n,Uit))),ey(fL(jln(n,Qit))),Yx(jln(n,Xit),116)),Ron(t)):Ron(t)},EF(xAn,"RandomLayoutProvider",1126),Wfn(553,1,{}),Fjn.qf=function(){return new QS(this.f.i,this.f.j)},Fjn.We=function(n){return Oq(n,(Cjn(),ytt))?jln(this.f,Irt):jln(this.f,n)},Fjn.rf=function(){return new QS(this.f.g,this.f.f)},Fjn.sf=function(){return this.g},Fjn.Xe=function(n){return zQ(this.f,n)},Fjn.tf=function(n){L1(this.f,n.a),N1(this.f,n.b)},Fjn.uf=function(n){$1(this.f,n.a),A1(this.f,n.b)},Fjn.vf=function(n){this.g=n},Fjn.g=0,EF(iNn,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),Wfn(554,1,{839:1},ng),Fjn.wf=function(){var n,t;if(!this.b)for(this.b=nX(JB(this.a).i),t=new UO(JB(this.a));t.e!=t.i.gc();)n=Yx(hen(t),137),eD(this.b,new Wm(n));return this.b},Fjn.b=null,EF(iNn,"ElkGraphAdapters/ElkEdgeAdapter",554),Wfn(301,553,{},Xm),Fjn.xf=function(){return hrn(this)},Fjn.a=null,EF(iNn,"ElkGraphAdapters/ElkGraphAdapter",301),Wfn(630,553,{181:1},Wm),EF(iNn,"ElkGraphAdapters/ElkLabelAdapter",630),Wfn(629,553,{680:1},e$),Fjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=nX(Yx(n.f,33).Ag().i),e=new UO(Yx(n.f,33).Ag());e.e!=e.i.gc();)t=Yx(hen(e),137),eD(n.b,new Wm(t));return n.b}(this)},Fjn.Af=function(){var n;return!(n=Yx(jln(this.f,(Cjn(),Unt)),142))&&(n=new Mv),n},Fjn.Cf=function(){return function(n){var t,e;if(!n.e)for(n.e=nX(ZB(Yx(n.f,33)).i),e=new UO(ZB(Yx(n.f,33)));e.e!=e.i.gc();)t=Yx(hen(e),118),eD(n.e,new Ag(t));return n.e}(this)},Fjn.Ef=function(n){var t;t=new yx(n),Aen(this.f,(Cjn(),Unt),t)},Fjn.Ff=function(n){Aen(this.f,(Cjn(),utt),new mx(n))},Fjn.yf=function(){return this.d},Fjn.zf=function(){var n,t;if(!this.a)for(this.a=new ip,t=new $_(bA(fbn(Yx(this.f,33)).a.Kc(),new h));Vfn(t);)n=Yx(kV(t),79),eD(this.a,new ng(n));return this.a},Fjn.Bf=function(){var n,t;if(!this.c)for(this.c=new ip,t=new $_(bA(lbn(Yx(this.f,33)).a.Kc(),new h));Vfn(t);)n=Yx(kV(t),79),eD(this.c,new ng(n));return this.c},Fjn.Df=function(){return 0!=uq(Yx(this.f,33)).i||ny(hL(Yx(this.f,33).We((Cjn(),Fnt))))},Fjn.Gf=function(){MJ(this,(dT(),Prt))},Fjn.a=null,Fjn.b=null,Fjn.c=null,Fjn.d=null,Fjn.e=null,EF(iNn,"ElkGraphAdapters/ElkNodeAdapter",629),Wfn(1266,553,{838:1},Ag),Fjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=nX(Yx(n.f,118).Ag().i),e=new UO(Yx(n.f,118).Ag());e.e!=e.i.gc();)t=Yx(hen(e),137),eD(n.b,new Wm(t));return n.b}(this)},Fjn.zf=function(){var n,t;if(!this.a)for(this.a=h$(Yx(this.f,118).xg().i),t=new UO(Yx(this.f,118).xg());t.e!=t.i.gc();)n=Yx(hen(t),79),eD(this.a,new ng(n));return this.a},Fjn.Bf=function(){var n,t;if(!this.c)for(this.c=h$(Yx(this.f,118).yg().i),t=new UO(Yx(this.f,118).yg());t.e!=t.i.gc();)n=Yx(hen(t),79),eD(this.c,new ng(n));return this.c},Fjn.Hf=function(){return Yx(Yx(this.f,118).We((Cjn(),Itt)),61)},Fjn.If=function(){var n,t,e,i,r,c,a;for(i=TG(Yx(this.f,118)),e=new UO(Yx(this.f,118).yg());e.e!=e.i.gc();)for(a=new UO((!(n=Yx(hen(e),79)).c&&(n.c=new AN(Zrt,n,5,8)),n.c));a.e!=a.i.gc();){if(XZ(iun(c=Yx(hen(a),82)),i))return!0;if(iun(c)==i&&ny(hL(jln(n,(Cjn(),Bnt)))))return!0}for(t=new UO(Yx(this.f,118).xg());t.e!=t.i.gc();)for(r=new UO((!(n=Yx(hen(t),79)).b&&(n.b=new AN(Zrt,n,4,7)),n.b));r.e!=r.i.gc();)if(XZ(iun(Yx(hen(r),82)),i))return!0;return!1},Fjn.a=null,Fjn.b=null,Fjn.c=null,EF(iNn,"ElkGraphAdapters/ElkPortAdapter",1266),Wfn(1267,1,FMn,to),Fjn.ue=function(n,t){return function(n,t){var e,i,r,c;if(0!=(c=Yx(jln(n,(Cjn(),Itt)),61).g-Yx(jln(t,Itt),61).g))return c;if(e=Yx(jln(n,Ett),19),i=Yx(jln(t,Ett),19),e&&i&&0!=(r=e.a-i.a))return r;switch(Yx(jln(n,Itt),61).g){case 1:return $9(n.i,t.i);case 2:return $9(n.j,t.j);case 3:return $9(t.i,n.i);case 4:return $9(t.j,n.j);default:throw hp(new Ym(mIn))}}(Yx(n,118),Yx(t,118))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(iNn,"ElkGraphAdapters/PortComparator",1267);var Ort,Art,$rt,Lrt,Nrt,xrt,Drt,Rrt,_rt,Krt,Frt,Brt,Hrt,qrt,Grt,zrt,Urt,Xrt,Wrt=aR(rNn,"EObject"),Vrt=aR(cNn,aNn),Qrt=aR(cNn,uNn),Yrt=aR(cNn,oNn),Jrt=aR(cNn,"ElkShape"),Zrt=aR(cNn,sNn),nct=aR(cNn,hNn),tct=aR(cNn,fNn),ect=aR(rNn,lNn),ict=aR(rNn,"EFactory"),rct=aR(rNn,bNn),cct=aR(rNn,"EPackage"),act=aR(cNn,wNn),uct=aR(cNn,dNn),oct=aR(cNn,gNn);Wfn(90,1,pNn),Fjn.Jg=function(){return this.Kg(),null},Fjn.Kg=function(){return null},Fjn.Lg=function(){return this.Kg(),!1},Fjn.Mg=function(){return!1},Fjn.Ng=function(n){_3(this,n)},EF(vNn,"BasicNotifierImpl",90),Wfn(97,90,SNn),Fjn.nh=function(){return gC(this)},Fjn.Og=function(n,t){return n},Fjn.Pg=function(){throw hp(new xp)},Fjn.Qg=function(n){var t;return t=nin(Yx(CZ(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,n)},Fjn.Rg=function(n,t){throw hp(new xp)},Fjn.Sg=function(n,t,e){return opn(this,n,t,e)},Fjn.Tg=function(){var n;return this.Pg()&&(n=this.Pg().ck())?n:this.zh()},Fjn.Ug=function(){return Bfn(this)},Fjn.Vg=function(){throw hp(new xp)},Fjn.Wg=function(){var n,t;return!(t=this.ph().dk())&&this.Pg().ik((kT(),t=null==(n=Wq(svn(this.Tg())))?Vat:new n$(this,n))),t},Fjn.Xg=function(n,t){return n},Fjn.Yg=function(n){return n.Gj()?n.aj():tnn(this.Tg(),n)},Fjn.Zg=function(){var n;return(n=this.Pg())?n.fk():null},Fjn.$g=function(){return this.Pg()?this.Pg().ck():null},Fjn._g=function(n,t,e){return $en(this,n,t,e)},Fjn.ah=function(n){return TY(this,n)},Fjn.bh=function(n,t){return TV(this,n,t)},Fjn.dh=function(){var n;return!!(n=this.Pg())&&n.gk()},Fjn.eh=function(){throw hp(new xp)},Fjn.fh=function(){return rtn(this)},Fjn.gh=function(n,t,e,i){return men(this,n,t,i)},Fjn.hh=function(n,t,e){return Yx(CZ(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),n,e)},Fjn.ih=function(n,t,e,i){return Uq(this,n,t,i)},Fjn.jh=function(n,t,e){return Yx(CZ(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),n,e)},Fjn.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},Fjn.lh=function(n){return uen(this,n)},Fjn.mh=function(n){return CG(this,n)},Fjn.oh=function(n){return eyn(this,n)},Fjn.ph=function(){throw hp(new xp)},Fjn.qh=function(){return this.Pg()?this.Pg().ek():null},Fjn.rh=function(){return rtn(this)},Fjn.sh=function(n,t){Vsn(this,n,t)},Fjn.th=function(n){this.ph().hk(n)},Fjn.uh=function(n){this.ph().kk(n)},Fjn.vh=function(n){this.ph().jk(n)},Fjn.wh=function(n,t){var e,i,r,c;return(c=this.Zg())&&n&&(t=Ten(c.Vk(),this,t),c.Zk(this)),(i=this.eh())&&(0!=(Ign(this,this.eh(),this.Vg()).Bb&eMn)?(r=i.fh())&&(n?!c&&r.Zk(this):r.Yk(this)):(t=(e=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},Fjn.xh=function(n){var t,e,i,r,c,a,u;if((c=tnn(e=this.Tg(),n))>=(t=this.Ah()))return Yx(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(!(a=iyn((wsn(),wut),e,n)))throw hp(new Qm(mNn+n.ne()+jNn));if(TT(),Yx(a,66).Oj()||(a=Bz(PJ(wut,a))),r=Yx((i=this.Yg(a))>=0?this._g(i,!0,!0):tfn(this,a,!0),153),(u=a.Zj())>1||-1==u)return Yx(Yx(r,215).hl(n,!1),76)}else if(n.$j())return Yx((i=this.Yg(n))>=0?this._g(i,!1,!0):tfn(this,n,!1),76);return new qP(this,n)},Fjn.yh=function(){return DJ(this)},Fjn.zh=function(){return(YF(),gat).S},Fjn.Ah=function(){return vF(this.zh())},Fjn.Bh=function(n){usn(this,n)},Fjn.Ib=function(){return _ln(this)},EF(PNn,"BasicEObjectImpl",97),Wfn(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),Fjn.Ch=function(n){return RJ(this)[n]},Fjn.Dh=function(n,t){DF(RJ(this),n,t)},Fjn.Eh=function(n){DF(RJ(this),n,null)},Fjn.Jg=function(){return Yx(H3(this,4),126)},Fjn.Kg=function(){throw hp(new xp)},Fjn.Lg=function(){return 0!=(4&this.Db)},Fjn.Pg=function(){throw hp(new xp)},Fjn.Fh=function(n){wtn(this,2,n)},Fjn.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},Fjn.Tg=function(){return Cq(this)},Fjn.Vg=function(){return this.Db>>16},Fjn.Wg=function(){var n;return kT(),null==(n=Wq(svn(Yx(H3(this,16),26)||this.zh())))?Vat:new n$(this,n)},Fjn.Mg=function(){return 0==(1&this.Db)},Fjn.Zg=function(){return Yx(H3(this,128),1935)},Fjn.$g=function(){return Yx(H3(this,16),26)},Fjn.dh=function(){return 0!=(32&this.Db)},Fjn.eh=function(){return Yx(H3(this,2),49)},Fjn.kh=function(){return 0!=(64&this.Db)},Fjn.ph=function(){throw hp(new xp)},Fjn.qh=function(){return Yx(H3(this,64),281)},Fjn.th=function(n){wtn(this,16,n)},Fjn.uh=function(n){wtn(this,128,n)},Fjn.vh=function(n){wtn(this,64,n)},Fjn.yh=function(){return dtn(this)},Fjn.Db=0,EF(PNn,"MinimalEObjectImpl",114),Wfn(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn.Fh=function(n){this.Cb=n},Fjn.eh=function(){return this.Cb},EF(PNn,"MinimalEObjectImpl/Container",115),Wfn(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return Mrn(this,n,t,e)},Fjn.jh=function(n,t,e){return fon(this,n,t,e)},Fjn.lh=function(n){return Zz(this,n)},Fjn.sh=function(n,t){J5(this,n,t)},Fjn.zh=function(){return ajn(),Hrt},Fjn.Bh=function(n){Q4(this,n)},Fjn.Ve=function(){return een(this)},Fjn.We=function(n){return jln(this,n)},Fjn.Xe=function(n){return zQ(this,n)},Fjn.Ye=function(n,t){return Aen(this,n,t)},EF(INn,"EMapPropertyHolderImpl",1985),Wfn(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ro),Fjn._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return $en(this,n,t,e)},Fjn.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return uen(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return void I1(this,ty(fL(t)));case 1:return void C1(this,ty(fL(t)))}Vsn(this,n,t)},Fjn.zh=function(){return ajn(),$rt},Fjn.Bh=function(n){switch(n){case 0:return void I1(this,0);case 1:return void C1(this,0)}usn(this,n)},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):((n=new MA(_ln(this))).a+=" (x: ",Jk(n,this.a),n.a+=", y: ",Jk(n,this.b),n.a+=")",n.a)},Fjn.a=0,Fjn.b=0,EF(INn,"ElkBendPointImpl",567),Wfn(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return n9(this,n,t,e)},Fjn.hh=function(n,t,e){return sun(this,n,t,e)},Fjn.jh=function(n,t,e){return d4(this,n,t,e)},Fjn.lh=function(n){return z3(this,n)},Fjn.sh=function(n,t){Vcn(this,n,t)},Fjn.zh=function(){return ajn(),Drt},Fjn.Bh=function(n){A8(this,n)},Fjn.zg=function(){return this.k},Fjn.Ag=function(){return JB(this)},Fjn.Ib=function(){return V9(this)},Fjn.k=null,EF(INn,"ElkGraphElementImpl",723),Wfn(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return S7(this,n,t,e)},Fjn.lh=function(n){return z7(this,n)},Fjn.sh=function(n,t){Qcn(this,n,t)},Fjn.zh=function(){return ajn(),Brt},Fjn.Bh=function(n){rnn(this,n)},Fjn.Bg=function(){return this.f},Fjn.Cg=function(){return this.g},Fjn.Dg=function(){return this.i},Fjn.Eg=function(){return this.j},Fjn.Fg=function(n,t){kC(this,n,t)},Fjn.Gg=function(n,t){jC(this,n,t)},Fjn.Hg=function(n){L1(this,n)},Fjn.Ig=function(n){N1(this,n)},Fjn.Ib=function(){return yon(this)},Fjn.f=0,Fjn.g=0,Fjn.i=0,Fjn.j=0,EF(INn,"ElkShapeImpl",724),Wfn(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return bin(this,n,t,e)},Fjn.hh=function(n,t,e){return Lcn(this,n,t,e)},Fjn.jh=function(n,t,e){return Ncn(this,n,t,e)},Fjn.lh=function(n){return B5(this,n)},Fjn.sh=function(n,t){oln(this,n,t)},Fjn.zh=function(){return ajn(),Lrt},Fjn.Bh=function(n){yen(this,n)},Fjn.xg=function(){return!this.d&&(this.d=new AN(nct,this,8,5)),this.d},Fjn.yg=function(){return!this.e&&(this.e=new AN(nct,this,7,4)),this.e},EF(INn,"ElkConnectableShapeImpl",725),Wfn(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},io),Fjn.Qg=function(n){return ucn(this,n)},Fjn._g=function(n,t,e){switch(n){case 3:return EG(this);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new mK(tct,this,6,6)),this.a;case 7:return TA(),!this.b&&(this.b=new AN(Zrt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),this.c.i<=1));case 8:return TA(),!!Rfn(this);case 9:return TA(),!!Whn(this);case 10:return TA(),!this.b&&(this.b=new AN(Zrt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),0!=this.c.i)}return n9(this,n,t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ucn(this,e):this.Cb.ih(this,-1-i,null,e)),AL(this,Yx(n,33),e);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),wnn(this.b,n,e);case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),wnn(this.c,n,e);case 6:return!this.a&&(this.a=new mK(tct,this,6,6)),wnn(this.a,n,e)}return sun(this,n,t,e)},Fjn.jh=function(n,t,e){switch(t){case 3:return AL(this,null,e);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),Ten(this.b,n,e);case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),Ten(this.c,n,e);case 6:return!this.a&&(this.a=new mK(tct,this,6,6)),Ten(this.a,n,e)}return d4(this,n,t,e)},Fjn.lh=function(n){switch(n){case 3:return!!EG(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 AN(Zrt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),this.c.i<=1));case 8:return Rfn(this);case 9:return Whn(this);case 10:return!this.b&&(this.b=new AN(Zrt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),0!=this.c.i)}return z3(this,n)},Fjn.sh=function(n,t){switch(n){case 3:return void Sbn(this,Yx(t,33));case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),Hmn(this.b),!this.b&&(this.b=new AN(Zrt,this,4,7)),void jF(this.b,Yx(t,14));case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),Hmn(this.c),!this.c&&(this.c=new AN(Zrt,this,5,8)),void jF(this.c,Yx(t,14));case 6:return!this.a&&(this.a=new mK(tct,this,6,6)),Hmn(this.a),!this.a&&(this.a=new mK(tct,this,6,6)),void jF(this.a,Yx(t,14))}Vcn(this,n,t)},Fjn.zh=function(){return ajn(),Nrt},Fjn.Bh=function(n){switch(n){case 3:return void Sbn(this,null);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),void Hmn(this.b);case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),void Hmn(this.c);case 6:return!this.a&&(this.a=new mK(tct,this,6,6)),void Hmn(this.a)}A8(this,n)},Fjn.Ib=function(){return bmn(this)},EF(INn,"ElkEdgeImpl",352),Wfn(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},co),Fjn.Qg=function(n){return Yrn(this,n)},Fjn._g=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 XO(Qrt,this,5)),this.a;case 6:return MG(this);case 7:return t?Zen(this):this.i;case 8:return t?Jen(this):this.f;case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),this.g;case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),this.e;case 11:return this.d}return Mrn(this,n,t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Yrn(this,e):this.Cb.ih(this,-1-i,null,e)),$L(this,Yx(n,79),e);case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),wnn(this.g,n,e);case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),wnn(this.e,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(ajn(),xrt),t),66).Nj().Qj(this,dtn(this),t-vF((ajn(),xrt)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),Ten(this.a,n,e);case 6:return $L(this,null,e);case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),Ten(this.g,n,e);case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),Ten(this.e,n,e)}return fon(this,n,t,e)},Fjn.lh=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!!MG(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 Zz(this,n)},Fjn.sh=function(n,t){switch(n){case 1:return void x1(this,ty(fL(t)));case 2:return void R1(this,ty(fL(t)));case 3:return void O1(this,ty(fL(t)));case 4:return void D1(this,ty(fL(t)));case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),Hmn(this.a),!this.a&&(this.a=new XO(Qrt,this,5)),void jF(this.a,Yx(t,14));case 6:return void Tbn(this,Yx(t,79));case 7:return void N0(this,Yx(t,82));case 8:return void L0(this,Yx(t,82));case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),Hmn(this.g),!this.g&&(this.g=new AN(tct,this,9,10)),void jF(this.g,Yx(t,14));case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),Hmn(this.e),!this.e&&(this.e=new AN(tct,this,10,9)),void jF(this.e,Yx(t,14));case 11:return void Y0(this,lL(t))}J5(this,n,t)},Fjn.zh=function(){return ajn(),xrt},Fjn.Bh=function(n){switch(n){case 1:return void x1(this,0);case 2:return void R1(this,0);case 3:return void O1(this,0);case 4:return void D1(this,0);case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),void Hmn(this.a);case 6:return void Tbn(this,null);case 7:return void N0(this,null);case 8:return void L0(this,null);case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),void Hmn(this.g);case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),void Hmn(this.e);case 11:return void Y0(this,null)}Q4(this,n)},Fjn.Ib=function(){return Mfn(this)},Fjn.b=0,Fjn.c=0,Fjn.d=null,Fjn.j=0,Fjn.k=0,EF(INn,"ElkEdgeSectionImpl",439),Wfn(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Fjn._g=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab):RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.hh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e)):Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Qj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.jh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e)):Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.oh=function(n){return jkn(this,n)},Fjn.sh=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.uh=function(n){wtn(this,128,n)},Fjn.zh=function(){return xjn(),Iat},Fjn.Bh=function(n){if(0===n)return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.Gh=function(){this.Bb|=1},Fjn.Hh=function(n){return dpn(this,n)},Fjn.Bb=0,EF(PNn,"EModelElementImpl",150),Wfn(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},xf),Fjn.Ih=function(n,t){return Dyn(this,n,t)},Fjn.Jh=function(n){var t,e,i,r;if(this.a!=i1(n)||0!=(256&n.Bb))throw hp(new Qm(NNn+n.zb+ANn));for(e=Iq(n);0!=tW(e.a).i;){if(frn(t=Yx(hyn(e,0,CO(r=Yx(c1(tW(e.a),0),87).c,88)?Yx(r,26):(xjn(),Oat)),26)))return Yx(i=i1(t).Nh().Jh(t),49).th(n),i;e=Iq(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new rR(n):new SD(n)},Fjn.Kh=function(n,t){return fjn(this,n,t)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.a}return RY(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n),t,e)},Fjn.hh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 1:return this.a&&(e=Yx(this.a,49).ih(this,4,cct,e)),T8(this,Yx(n,235),e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Mat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Mat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 1:return T8(this,null,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Mat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Mat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return xX(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void Uun(this,Yx(t,235))}E7(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n),t)},Fjn.zh=function(){return xjn(),Mat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void Uun(this,null)}r9(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n))},EF(PNn,"EFactoryImpl",704),Wfn(DNn,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},ao),Fjn.Ih=function(n,t){switch(n.yj()){case 12:return Yx(t,146).tg();case 13:return I7(t);default:throw hp(new Qm(ONn+n.ne()+ANn))}},Fjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=i1(n))?Ren(t.Mh(),n):-1),n.G){case 4:return new uo;case 6:return new xv;case 7:return new Dv;case 8:return new io;case 9:return new ro;case 10:return new co;case 11:return new so;default:throw hp(new Qm(NNn+n.zb+ANn))}},Fjn.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw hp(new Qm(ONn+n.ne()+ANn))}},EF(INn,"ElkGraphFactoryImpl",DNn),Wfn(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Fjn.Wg=function(){var n;return null==(n=Wq(svn(Yx(H3(this,16),26)||this.zh())))?(kT(),kT(),Vat):new B$(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.ne()}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void this.Lh(lL(t))}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),Cat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void this.Lh(null)}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.ne=function(){return this.zb},Fjn.Lh=function(n){E2(this,n)},Fjn.Ib=function(){return B8(this)},Fjn.zb=null,EF(PNn,"ENamedElementImpl",438),Wfn(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Sq),Fjn.Qg=function(n){return ecn(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,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 dK(this,iat,this)),this.rb;case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?Yx(this.Cb,235):null:SG(this)}return RY(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 4:return this.sb&&(e=Yx(this.sb,49).ih(this,1,ict,e)),H8(this,Yx(n,471),e);case 5:return!this.rb&&(this.rb=new dK(this,iat,this)),wnn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),wnn(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?ecn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,7,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Lat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Lat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 4:return H8(this,null,e);case 5:return!this.rb&&(this.rb=new dK(this,iat,this)),Ten(this.rb,n,e);case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),Ten(this.vb,n,e);case 7:return opn(this,null,7,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Lat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Lat)),n,e)},Fjn.lh=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!!SG(this)}return xX(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n))},Fjn.oh=function(n){return function(n,t){var e,i,r,c,a,u;if(!n.tb){for(!n.rb&&(n.rb=new dK(n,iat,n)),u=new kE((c=n.rb).i),r=new UO(c);r.e!=r.i.gc();)i=Yx(hen(r),138),(e=Yx(null==(a=i.ne())?Ysn(u.f,null,i):r7(u.g,a,i),138))&&(null==a?Ysn(u.f,null,e):r7(u.g,a,e));n.tb=u}return Yx(aG(n.tb,t),138)}(this,n)||jkn(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return void M2(this,lL(t));case 3:return void T2(this,lL(t));case 4:return void lon(this,Yx(t,471));case 5:return!this.rb&&(this.rb=new dK(this,iat,this)),Hmn(this.rb),!this.rb&&(this.rb=new dK(this,iat,this)),void jF(this.rb,Yx(t,14));case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),Hmn(this.vb),!this.vb&&(this.vb=new EN(cct,this,6,7)),void jF(this.vb,Yx(t,14))}E7(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n),t)},Fjn.vh=function(n){var t,e;if(n&&this.rb)for(e=new UO(this.rb);e.e!=e.i.gc();)CO(t=hen(e),351)&&(Yx(t,351).w=null);wtn(this,64,n)},Fjn.zh=function(){return xjn(),Lat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return void M2(this,null);case 3:return void T2(this,null);case 4:return void lon(this,null);case 5:return!this.rb&&(this.rb=new dK(this,iat,this)),void Hmn(this.rb);case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),void Hmn(this.vb)}r9(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n))},Fjn.Gh=function(){Srn(this)},Fjn.Mh=function(){return!this.rb&&(this.rb=new dK(this,iat,this)),this.rb},Fjn.Nh=function(){return this.sb},Fjn.Oh=function(){return this.ub},Fjn.Ph=function(){return this.xb},Fjn.Qh=function(){return this.yb},Fjn.Rh=function(n){this.ub=n},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?B8(this):((n=new MA(B8(this))).a+=" (nsURI: ",pI(n,this.yb),n.a+=", nsPrefix: ",pI(n,this.xb),n.a+=")",n.a)},Fjn.xb=null,Fjn.yb=null,EF(PNn,"EPackageImpl",179),Wfn(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Gfn),Fjn.q=!1,Fjn.r=!1;var sct=!1;EF(INn,"ElkGraphPackageImpl",555),Wfn(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},uo),Fjn.Qg=function(n){return Jrn(this,n)},Fjn._g=function(n,t,e){switch(n){case 7:return PG(this);case 8:return this.a}return S7(this,n,t,e)},Fjn.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Jrn(this,e):this.Cb.ih(this,-1-i,null,e)),k_(this,Yx(n,160),e)):sun(this,n,t,e)},Fjn.jh=function(n,t,e){return 7==t?k_(this,null,e):d4(this,n,t,e)},Fjn.lh=function(n){switch(n){case 7:return!!PG(this);case 8:return!KN("",this.a)}return z7(this,n)},Fjn.sh=function(n,t){switch(n){case 7:return void Xbn(this,Yx(t,160));case 8:return void x0(this,lL(t))}Qcn(this,n,t)},Fjn.zh=function(){return ajn(),Rrt},Fjn.Bh=function(n){switch(n){case 7:return void Xbn(this,null);case 8:return void x0(this,"")}rnn(this,n)},Fjn.Ib=function(){return Qon(this)},Fjn.a="",EF(INn,"ElkLabelImpl",354),Wfn(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},xv),Fjn.Qg=function(n){return ocn(this,n)},Fjn._g=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new mK(oct,this,9,9)),this.c;case 10:return!this.a&&(this.a=new mK(uct,this,10,11)),this.a;case 11:return IG(this);case 12:return!this.b&&(this.b=new mK(nct,this,12,3)),this.b;case 13:return TA(),!this.a&&(this.a=new mK(uct,this,10,11)),this.a.i>0}return bin(this,n,t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new mK(oct,this,9,9)),wnn(this.c,n,e);case 10:return!this.a&&(this.a=new mK(uct,this,10,11)),wnn(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?ocn(this,e):this.Cb.ih(this,-1-i,null,e)),vN(this,Yx(n,33),e);case 12:return!this.b&&(this.b=new mK(nct,this,12,3)),wnn(this.b,n,e)}return Lcn(this,n,t,e)},Fjn.jh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new mK(oct,this,9,9)),Ten(this.c,n,e);case 10:return!this.a&&(this.a=new mK(uct,this,10,11)),Ten(this.a,n,e);case 11:return vN(this,null,e);case 12:return!this.b&&(this.b=new mK(nct,this,12,3)),Ten(this.b,n,e)}return Ncn(this,n,t,e)},Fjn.lh=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!!IG(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new mK(uct,this,10,11)),this.a.i>0}return B5(this,n)},Fjn.sh=function(n,t){switch(n){case 9:return!this.c&&(this.c=new mK(oct,this,9,9)),Hmn(this.c),!this.c&&(this.c=new mK(oct,this,9,9)),void jF(this.c,Yx(t,14));case 10:return!this.a&&(this.a=new mK(uct,this,10,11)),Hmn(this.a),!this.a&&(this.a=new mK(uct,this,10,11)),void jF(this.a,Yx(t,14));case 11:return void Dbn(this,Yx(t,33));case 12:return!this.b&&(this.b=new mK(nct,this,12,3)),Hmn(this.b),!this.b&&(this.b=new mK(nct,this,12,3)),void jF(this.b,Yx(t,14))}oln(this,n,t)},Fjn.zh=function(){return ajn(),_rt},Fjn.Bh=function(n){switch(n){case 9:return!this.c&&(this.c=new mK(oct,this,9,9)),void Hmn(this.c);case 10:return!this.a&&(this.a=new mK(uct,this,10,11)),void Hmn(this.a);case 11:return void Dbn(this,null);case 12:return!this.b&&(this.b=new mK(nct,this,12,3)),void Hmn(this.b)}yen(this,n)},Fjn.Ib=function(){return ugn(this)},EF(INn,"ElkNodeImpl",239),Wfn(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Dv),Fjn.Qg=function(n){return Zrn(this,n)},Fjn._g=function(n,t,e){return 9==n?TG(this):bin(this,n,t,e)},Fjn.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Zrn(this,e):this.Cb.ih(this,-1-i,null,e)),LL(this,Yx(n,33),e)):Lcn(this,n,t,e)},Fjn.jh=function(n,t,e){return 9==t?LL(this,null,e):Ncn(this,n,t,e)},Fjn.lh=function(n){return 9==n?!!TG(this):B5(this,n)},Fjn.sh=function(n,t){9!==n?oln(this,n,t):Mbn(this,Yx(t,33))},Fjn.zh=function(){return ajn(),Krt},Fjn.Bh=function(n){9!==n?yen(this,n):Mbn(this,null)},Fjn.Ib=function(){return ogn(this)},EF(INn,"ElkPortImpl",186);var hct=aR(exn,"BasicEMap/Entry");Wfn(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},so),Fjn.Fb=function(n){return this===n},Fjn.cd=function(){return this.b},Fjn.Hb=function(){return KA(this)},Fjn.Uh=function(n){D0(this,Yx(n,146))},Fjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return $en(this,n,t,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return uen(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return void D0(this,Yx(t,146));case 1:return void K0(this,t)}Vsn(this,n,t)},Fjn.zh=function(){return ajn(),Frt},Fjn.Bh=function(n){switch(n){case 0:return void D0(this,null);case 1:return void K0(this,null)}usn(this,n)},Fjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=n?W5(n):0),this.a},Fjn.dd=function(){return this.c},Fjn.Th=function(n){this.a=n},Fjn.ed=function(n){var t;return t=this.c,K0(this,n),t},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):(yI(yI(yI(n=new Ay,this.b?this.b.tg():aEn),pIn),xA(this.c)),n.a)},Fjn.a=-1,Fjn.c=null;var fct,lct,bct,wct,dct,gct,pct,vct,mct=EF(INn,"ElkPropertyToValueMapEntryImpl",1092);Wfn(984,1,{},lo),EF(cxn,"JsonAdapter",984),Wfn(210,60,eTn,hy),EF(cxn,"JsonImportException",210),Wfn(857,1,{},icn),EF(cxn,"JsonImporter",857),Wfn(891,1,{},kP),EF(cxn,"JsonImporter/lambda$0$Type",891),Wfn(892,1,{},jP),EF(cxn,"JsonImporter/lambda$1$Type",892),Wfn(900,1,{},tg),EF(cxn,"JsonImporter/lambda$10$Type",900),Wfn(902,1,{},EP),EF(cxn,"JsonImporter/lambda$11$Type",902),Wfn(903,1,{},TP),EF(cxn,"JsonImporter/lambda$12$Type",903),Wfn(909,1,{},$H),EF(cxn,"JsonImporter/lambda$13$Type",909),Wfn(908,1,{},AH),EF(cxn,"JsonImporter/lambda$14$Type",908),Wfn(904,1,{},MP),EF(cxn,"JsonImporter/lambda$15$Type",904),Wfn(905,1,{},SP),EF(cxn,"JsonImporter/lambda$16$Type",905),Wfn(906,1,{},PP),EF(cxn,"JsonImporter/lambda$17$Type",906),Wfn(907,1,{},IP),EF(cxn,"JsonImporter/lambda$18$Type",907),Wfn(912,1,{},eg),EF(cxn,"JsonImporter/lambda$19$Type",912),Wfn(893,1,{},ig),EF(cxn,"JsonImporter/lambda$2$Type",893),Wfn(910,1,{},rg),EF(cxn,"JsonImporter/lambda$20$Type",910),Wfn(911,1,{},cg),EF(cxn,"JsonImporter/lambda$21$Type",911),Wfn(915,1,{},ag),EF(cxn,"JsonImporter/lambda$22$Type",915),Wfn(913,1,{},ug),EF(cxn,"JsonImporter/lambda$23$Type",913),Wfn(914,1,{},og),EF(cxn,"JsonImporter/lambda$24$Type",914),Wfn(917,1,{},sg),EF(cxn,"JsonImporter/lambda$25$Type",917),Wfn(916,1,{},hg),EF(cxn,"JsonImporter/lambda$26$Type",916),Wfn(918,1,PEn,CP),Fjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=jG(n,e))&&(r=osn(i)),Ftn(t,e,r)}(this.b,this.a,lL(n))},EF(cxn,"JsonImporter/lambda$27$Type",918),Wfn(919,1,PEn,OP),Fjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=jG(n,e))&&(r=osn(i)),Ftn(t,e,r)}(this.b,this.a,lL(n))},EF(cxn,"JsonImporter/lambda$28$Type",919),Wfn(920,1,{},AP),EF(cxn,"JsonImporter/lambda$29$Type",920),Wfn(896,1,{},fg),EF(cxn,"JsonImporter/lambda$3$Type",896),Wfn(921,1,{},$P),EF(cxn,"JsonImporter/lambda$30$Type",921),Wfn(922,1,{},lg),EF(cxn,"JsonImporter/lambda$31$Type",922),Wfn(923,1,{},bg),EF(cxn,"JsonImporter/lambda$32$Type",923),Wfn(924,1,{},wg),EF(cxn,"JsonImporter/lambda$33$Type",924),Wfn(925,1,{},dg),EF(cxn,"JsonImporter/lambda$34$Type",925),Wfn(859,1,{},gg),EF(cxn,"JsonImporter/lambda$35$Type",859),Wfn(929,1,{},Rx),EF(cxn,"JsonImporter/lambda$36$Type",929),Wfn(926,1,PEn,pg),Fjn.td=function(n){!function(n,t){var e;nq(e=new Om,"x",t.a),nq(e,"y",t.b),nB(n,e)}(this.a,Yx(n,469))},EF(cxn,"JsonImporter/lambda$37$Type",926),Wfn(927,1,PEn,FP),Fjn.td=function(n){!function(n,t,e){Ucn(t,ksn(n,e))}(this.a,this.b,Yx(n,202))},EF(cxn,"JsonImporter/lambda$38$Type",927),Wfn(928,1,PEn,BP),Fjn.td=function(n){!function(n,t,e){Ucn(t,ksn(n,e))}(this.a,this.b,Yx(n,202))},EF(cxn,"JsonImporter/lambda$39$Type",928),Wfn(894,1,{},vg),EF(cxn,"JsonImporter/lambda$4$Type",894),Wfn(930,1,PEn,mg),Fjn.td=function(n){!function(n,t){var e;nq(e=new Om,"x",t.a),nq(e,"y",t.b),nB(n,e)}(this.a,Yx(n,8))},EF(cxn,"JsonImporter/lambda$40$Type",930),Wfn(895,1,{},yg),EF(cxn,"JsonImporter/lambda$5$Type",895),Wfn(899,1,{},kg),EF(cxn,"JsonImporter/lambda$6$Type",899),Wfn(897,1,{},jg),EF(cxn,"JsonImporter/lambda$7$Type",897),Wfn(898,1,{},Eg),EF(cxn,"JsonImporter/lambda$8$Type",898),Wfn(901,1,{},Tg),EF(cxn,"JsonImporter/lambda$9$Type",901),Wfn(948,1,PEn,Mg),Fjn.td=function(n){nB(this.a,new zF(lL(n)))},EF(cxn,"JsonMetaDataConverter/lambda$0$Type",948),Wfn(949,1,PEn,Sg),Fjn.td=function(n){!function(n,t){nB(n,new zF(null!=t.f?t.f:""+t.g))}(this.a,Yx(n,237))},EF(cxn,"JsonMetaDataConverter/lambda$1$Type",949),Wfn(950,1,PEn,Pg),Fjn.td=function(n){!function(n,t){null!=t.c&&nB(n,new zF(t.c))}(this.a,Yx(n,149))},EF(cxn,"JsonMetaDataConverter/lambda$2$Type",950),Wfn(951,1,PEn,Ig),Fjn.td=function(n){!function(n,t){nB(n,new zF(null!=t.f?t.f:""+t.g))}(this.a,Yx(n,175))},EF(cxn,"JsonMetaDataConverter/lambda$3$Type",951),Wfn(237,22,{3:1,35:1,22:1,237:1},KP);var yct,kct=X1(GSn,"GraphFeature",237,uKn,(function(){return zfn(),x4(Gy(kct,1),XEn,237,0,[vct,dct,gct,wct,pct,lct,fct,bct])}),(function(n){return zfn(),rZ((m3(),yct),n)}));Wfn(13,1,{35:1,146:1},Og,KL,FI,DC),Fjn.wd=function(n){return function(n,t){return FV(n.b,t.tg())}(this,Yx(n,146))},Fjn.Fb=function(n){return Oq(this,n)},Fjn.wg=function(){return oen(this)},Fjn.tg=function(){return this.b},Fjn.Hb=function(){return Xen(this.b)},Fjn.Ib=function(){return this.b},EF(GSn,"Property",13),Wfn(818,1,FMn,Cg),Fjn.ue=function(n,t){return function(n,t,e){var i,r;return i=Yx(t.We(n.a),35),r=Yx(e.We(n.a),35),null!=i&&null!=r?u3(i,r):null!=i?-1:null!=r?1:0}(this,Yx(n,94),Yx(t,94))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(GSn,"PropertyHolderComparator",818),Wfn(695,1,fEn,$g),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){return function(n){var t;if(!n.a)throw hp(new WB);return t=n.a,n.a=IG(n.a),t}(this)},Fjn.Qb=function(){Bk()},Fjn.Ob=function(){return!!this.a},EF(yxn,"ElkGraphUtil/AncestorIterator",695);var jct=aR(exn,"EList");Wfn(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),Fjn.Vc=function(n,t){y9(this,n,t)},Fjn.Fc=function(n){return fY(this,n)},Fjn.Wc=function(n,t){return f5(this,n,t)},Fjn.Gc=function(n){return jF(this,n)},Fjn.Zh=function(){return new u$(this)},Fjn.$h=function(){return new o$(this)},Fjn._h=function(n){return b0(this,n)},Fjn.ai=function(){return!0},Fjn.bi=function(n,t){},Fjn.ci=function(){},Fjn.di=function(n,t){XQ(this,n,t)},Fjn.ei=function(n,t,e){},Fjn.fi=function(n,t){},Fjn.gi=function(n,t,e){},Fjn.Fb=function(n){return Pdn(this,n)},Fjn.Hb=function(){return L4(this)},Fjn.hi=function(){return!1},Fjn.Kc=function(){return new UO(this)},Fjn.Yc=function(){return new a$(this)},Fjn.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw hp(new jN(n,t));return new ZK(this,n)},Fjn.ji=function(n,t){this.ii(n,this.Xc(t))},Fjn.Mc=function(n){return qJ(this,n)},Fjn.li=function(n,t){return t},Fjn._c=function(n,t){return _en(this,n,t)},Fjn.Ib=function(){return D7(this)},Fjn.ni=function(){return!0},Fjn.oi=function(n,t){return k6(this,t)},EF(exn,"AbstractEList",67),Wfn(63,67,Mxn,go,FZ,t3),Fjn.Vh=function(n,t){return hun(this,n,t)},Fjn.Wh=function(n){return $in(this,n)},Fjn.Xh=function(n,t){X8(this,n,t)},Fjn.Yh=function(n){NV(this,n)},Fjn.pi=function(n){return AY(this,n)},Fjn.$b=function(){xV(this)},Fjn.Hc=function(n){return Fcn(this,n)},Fjn.Xb=function(n){return c1(this,n)},Fjn.qi=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.$c(t),!0)},Fjn.mi=function(n,t){return this.Ui(n,this.oi(n,t))},Fjn.gc=function(){return this.Vi()},Fjn.Pc=function(){return this.Wi()},Fjn.Qc=function(n){return this.Xi(n)},Fjn.Ib=function(){return this.Yi()},EF(exn,"DelegatingEList",1995),Wfn(1996,1995,dDn),Fjn.Vh=function(n,t){return Dpn(this,n,t)},Fjn.Wh=function(n){return this.Vh(this.Vi(),n)},Fjn.Xh=function(n,t){Kfn(this,n,t)},Fjn.Yh=function(n){yfn(this,n)},Fjn.ai=function(){return!this.bj()},Fjn.$b=function(){Wmn(this)},Fjn.Zi=function(n,t,e,i,r){return new Kq(this,n,t,e,i,r)},Fjn.$i=function(n){_3(this.Ai(),n)},Fjn._i=function(){return null},Fjn.aj=function(){return-1},Fjn.Ai=function(){return null},Fjn.bj=function(){return!1},Fjn.cj=function(n,t){return t},Fjn.dj=function(n,t){return t},Fjn.ej=function(){return!1},Fjn.fj=function(){return!this.Ri()},Fjn.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=Hun(this,n,t),this.$i(this.Zi(7,d9(t),e,n,i)),e):Hun(this,n,t)},Fjn.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=uR(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t),r):(r=uR(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi(),r)},Fjn.mi=function(n,t){return Rpn(this,n,t)},EF(vNn,"DelegatingNotifyingListImpl",1996),Wfn(143,1,gDn),Fjn.Ei=function(n){return Pan(this,n)},Fjn.Fi=function(){vJ(this)},Fjn.xi=function(){return this.d},Fjn._i=function(){return null},Fjn.gj=function(){return null},Fjn.yi=function(n){return-1},Fjn.zi=function(){return Rwn(this)},Fjn.Ai=function(){return null},Fjn.Bi=function(){return _wn(this)},Fjn.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Fjn.hj=function(){return!1},Fjn.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(iI(n.Ai())===iI(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&iI(n.Ai())===iI(this.Ai())&&this.yi(null)==n.yi(null))return a=syn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new FZ(2),c<=i?(fY(o,this.n),fY(o,n.Bi()),this.g=x4(Gy(Wot,1),MTn,25,15,[this.o=c,i+1])):(fY(o,n.Bi()),fY(o,this.n),this.g=x4(Gy(Wot,1),MTn,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&iI(n.Ai())===iI(this.Ai())&&this.yi(null)==n.yi(null)){for(a=syn(this),i=n.Ci(),u=Yx(this.g,48),e=VQ(Wot,MTn,25,u.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:Zk(e,this.d)}if(Tgn(this)&&(e.a+=", touch: true"),e.a+=", position: ",Zk(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",gI(e,this.Ai()),e.a+=", feature: ",gI(e,this._i()),e.a+=", oldValue: ",gI(e,_wn(this)),e.a+=", newValue: ",6==this.d&&CO(this.g,48)){for(t=Yx(this.g,48),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new kR(this),this.a=this.j),gE(this.b,n)):Fcn(this,n)},Fjn.ni=function(){return!0},Fjn.a=0,EF(exn,"AbstractEList/1",953),Wfn(295,73,VTn,jN),EF(exn,"AbstractEList/BasicIndexOutOfBoundsException",295),Wfn(40,1,fEn,UO),Fjn.Nb=function(n){IK(this,n)},Fjn.mj=function(){if(this.i.j!=this.f)throw hp(new Dp)},Fjn.nj=function(){return hen(this)},Fjn.Ob=function(){return this.e!=this.i.gc()},Fjn.Pb=function(){return this.nj()},Fjn.Qb=function(){tan(this)},Fjn.e=0,Fjn.f=0,Fjn.g=-1,EF(exn,"AbstractEList/EIterator",40),Wfn(278,40,yEn,a$,ZK),Fjn.Qb=function(){tan(this)},Fjn.Rb=function(n){Enn(this,n)},Fjn.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(n){throw CO(n=j4(n),73)?(this.mj(),hp(new _p)):hp(n)}},Fjn.pj=function(n){Rin(this,n)},Fjn.Sb=function(){return 0!=this.e},Fjn.Tb=function(){return this.e},Fjn.Ub=function(){return this.oj()},Fjn.Vb=function(){return this.e-1},Fjn.Wb=function(n){this.pj(n)},EF(exn,"AbstractEList/EListIterator",278),Wfn(341,40,fEn,u$),Fjn.nj=function(){return fen(this)},Fjn.Qb=function(){throw hp(new xp)},EF(exn,"AbstractEList/NonResolvingEIterator",341),Wfn(385,278,yEn,o$,WN),Fjn.Rb=function(n){throw hp(new xp)},Fjn.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(n){throw CO(n=j4(n),73)?(this.mj(),hp(new _p)):hp(n)}},Fjn.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(n){throw CO(n=j4(n),73)?(this.mj(),hp(new _p)):hp(n)}},Fjn.Qb=function(){throw hp(new xp)},Fjn.Wb=function(n){throw hp(new xp)},EF(exn,"AbstractEList/NonResolvingEListIterator",385),Wfn(1982,67,mDn),Fjn.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=(i=t.gc())){for(e=d6(this,(s=null==(o=Yx(H3(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&smn(o,n,e,n+i,h),u=t.Kc(),c=0;ce)throw hp(new jN(n,e));return new PB(this,n)},Fjn.$b=function(){var n,t;++this.j,t=null==(n=Yx(H3(this.a,4),126))?0:n.length,xtn(this,null),XQ(this,t,n)},Fjn.Hc=function(n){var t,e,i,r;if(null!=(t=Yx(H3(this.a,4),126)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=Yx(H3(this.a,4),126))?0:t.length))throw hp(new jN(n,e));return t[n]},Fjn.Xc=function(n){var t,e,i;if(null!=(t=Yx(H3(this.a,4),126)))if(null!=n){for(e=0,i=t.length;ee)throw hp(new jN(n,e));return new SB(this,n)},Fjn.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=Hnn(this))?0:e.length))throw hp(new Hm(jxn+n+Exn+r));if(t>=r)throw hp(new Hm(Txn+t+Exn+r));return i=e[t],n!=t&&(n=(a=null==(e=Yx(H3(n.a,4),126))?0:e.length))throw hp(new jN(t,a));return r=e[t],1==a?i=null:(smn(e,0,i=VQ(Oct,vDn,415,a-1,0,1),0,t),(c=a-t-1)>0&&smn(e,t+1,i,t,c)),xtn(n,i),Ksn(n,t,r),r}(this,n)},Fjn.mi=function(n,t){var e,i;return i=(e=Hnn(this))[n],FC(e,n,k6(this,t)),xtn(this,e),i},Fjn.gc=function(){var n;return null==(n=Yx(H3(this.a,4),126))?0:n.length},Fjn.Pc=function(){var n,t,e;return e=null==(n=Yx(H3(this.a,4),126))?0:n.length,t=VQ(Oct,vDn,415,e,0,1),e>0&&smn(n,0,t,0,e),t},Fjn.Qc=function(n){var t,e;return(e=null==(t=Yx(H3(this.a,4),126))?0:t.length)>0&&(n.lengthe&&DF(n,e,null),n},EF(exn,"ArrayDelegatingEList",1982),Wfn(1038,40,fEn,fV),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},Fjn.Qb=function(){tan(this),this.a=Yx(H3(this.b.a,4),126)},EF(exn,"ArrayDelegatingEList/EIterator",1038),Wfn(706,278,yEn,bK,SB),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},Fjn.pj=function(n){Rin(this,n),this.a=Yx(H3(this.b.a,4),126)},Fjn.Qb=function(){tan(this),this.a=Yx(H3(this.b.a,4),126)},EF(exn,"ArrayDelegatingEList/EListIterator",706),Wfn(1039,341,fEn,lV),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},EF(exn,"ArrayDelegatingEList/NonResolvingEIterator",1039),Wfn(707,385,yEn,wK,PB),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},EF(exn,"ArrayDelegatingEList/NonResolvingEListIterator",707),Wfn(606,295,VTn,BI),EF(exn,"BasicEList/BasicIndexOutOfBoundsException",606),Wfn(696,63,Mxn,QP),Fjn.Vc=function(n,t){throw hp(new xp)},Fjn.Fc=function(n){throw hp(new xp)},Fjn.Wc=function(n,t){throw hp(new xp)},Fjn.Gc=function(n){throw hp(new xp)},Fjn.$b=function(){throw hp(new xp)},Fjn.qi=function(n){throw hp(new xp)},Fjn.Kc=function(){return this.Zh()},Fjn.Yc=function(){return this.$h()},Fjn.Zc=function(n){return this._h(n)},Fjn.ii=function(n,t){throw hp(new xp)},Fjn.ji=function(n,t){throw hp(new xp)},Fjn.$c=function(n){throw hp(new xp)},Fjn.Mc=function(n){throw hp(new xp)},Fjn._c=function(n,t){throw hp(new xp)},EF(exn,"BasicEList/UnmodifiableEList",696),Wfn(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),Fjn.Vc=function(n,t){!function(n,t,e){n.c.Vc(t,Yx(e,133))}(this,n,Yx(t,42))},Fjn.Fc=function(n){return function(n,t){return n.c.Fc(Yx(t,133))}(this,Yx(n,42))},Fjn.Jc=function(n){XW(this,n)},Fjn.Xb=function(n){return Yx(c1(this.c,n),133)},Fjn.ii=function(n,t){return Yx(this.c.ii(n,t),42)},Fjn.ji=function(n,t){!function(n,t,e){n.c.ji(t,Yx(e,133))}(this,n,Yx(t,42))},Fjn.Lc=function(){return new SR(null,new Nz(this,16))},Fjn.$c=function(n){return Yx(this.c.$c(n),42)},Fjn._c=function(n,t){return function(n,t,e){return Yx(n.c._c(t,Yx(e,133)),42)}(this,n,Yx(t,42))},Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return new Nz(this,16)},Fjn.Oc=function(){return new SR(null,new Nz(this,16))},Fjn.Wc=function(n,t){return this.c.Wc(n,t)},Fjn.Gc=function(n){return this.c.Gc(n)},Fjn.$b=function(){this.c.$b()},Fjn.Hc=function(n){return this.c.Hc(n)},Fjn.Ic=function(n){return m4(this.c,n)},Fjn.qj=function(){var n,t;if(null==this.d){for(this.d=VQ(Ect,yDn,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)tin(this,Yx(n.nj(),133));this.e=t}},Fjn.Fb=function(n){return UN(this,n)},Fjn.Hb=function(){return L4(this.c)},Fjn.Xc=function(n){return this.c.Xc(n)},Fjn.rj=function(){this.c=new Lg(this)},Fjn.dc=function(){return 0==this.f},Fjn.Kc=function(){return this.c.Kc()},Fjn.Yc=function(){return this.c.Yc()},Fjn.Zc=function(n){return this.c.Zc(n)},Fjn.sj=function(){return UQ(this)},Fjn.tj=function(n,t,e){return new _x(n,t,e)},Fjn.uj=function(){return new vo},Fjn.Mc=function(n){return w0(this,n)},Fjn.gc=function(){return this.f},Fjn.bd=function(n,t){return new Oz(this.c,n,t)},Fjn.Pc=function(){return this.c.Pc()},Fjn.Qc=function(n){return this.c.Qc(n)},Fjn.Ib=function(){return D7(this.c)},Fjn.e=0,Fjn.f=0,EF(exn,"BasicEMap",705),Wfn(1033,63,Mxn,Lg),Fjn.bi=function(n,t){!function(n,t){tin(n.a,t)}(this,Yx(t,133))},Fjn.ei=function(n,t,e){++(this,Yx(t,133),this).a.e},Fjn.fi=function(n,t){!function(n,t){N9(n.a,t)}(this,Yx(t,133))},Fjn.gi=function(n,t,e){!function(n,t,e){N9(n.a,e),tin(n.a,t)}(this,Yx(t,133),Yx(e,133))},Fjn.di=function(n,t){A3(this.a)},EF(exn,"BasicEMap/1",1033),Wfn(1034,63,Mxn,vo),Fjn.ri=function(n){return VQ(Lct,kDn,612,n,0,1)},EF(exn,"BasicEMap/2",1034),Wfn(1035,dEn,gEn,Ng),Fjn.$b=function(){this.a.c.$b()},Fjn.Hc=function(n){return mnn(this.a,n)},Fjn.Kc=function(){return 0==this.a.f?(iL(),$ct.a):new Tk(this.a)},Fjn.Mc=function(n){var t;return t=this.a.f,ttn(this.a,n),this.a.f!=t},Fjn.gc=function(){return this.a.f},EF(exn,"BasicEMap/3",1035),Wfn(1036,28,wEn,xg),Fjn.$b=function(){this.a.c.$b()},Fjn.Hc=function(n){return Idn(this.a,n)},Fjn.Kc=function(){return 0==this.a.f?(iL(),$ct.a):new Mk(this.a)},Fjn.gc=function(){return this.a.f},EF(exn,"BasicEMap/4",1036),Wfn(1037,dEn,gEn,Dg),Fjn.$b=function(){this.a.c.$b()},Fjn.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&CO(n,42)&&(this.a.qj(),r=null==(u=(o=Yx(n,42)).cd())?0:W5(u),c=_L(this.a,r),t=this.a.d[c]))for(e=Yx(t.g,367),s=t.i,a=0;a"+this.c},Fjn.a=0;var $ct,Lct=EF(exn,"BasicEMap/EntryImpl",612);Wfn(536,1,{},oo),EF(exn,"BasicEMap/View",536),Wfn(768,1,{}),Fjn.Fb=function(n){return sln((XH(),TFn),n)},Fjn.Hb=function(){return _5((XH(),TFn))},Fjn.Ib=function(){return Gun((XH(),TFn))},EF(exn,"ECollections/BasicEmptyUnmodifiableEList",768),Wfn(1312,1,yEn,mo),Fjn.Nb=function(n){IK(this,n)},Fjn.Rb=function(n){throw hp(new xp)},Fjn.Ob=function(){return!1},Fjn.Sb=function(){return!1},Fjn.Pb=function(){throw hp(new _p)},Fjn.Tb=function(){return 0},Fjn.Ub=function(){throw hp(new _p)},Fjn.Vb=function(){return-1},Fjn.Qb=function(){throw hp(new xp)},Fjn.Wb=function(n){throw hp(new xp)},EF(exn,"ECollections/BasicEmptyUnmodifiableEList/1",1312),Wfn(1310,768,{20:1,14:1,15:1,58:1},Rv),Fjn.Vc=function(n,t){wj()},Fjn.Fc=function(n){return dj()},Fjn.Wc=function(n,t){return gj()},Fjn.Gc=function(n){return pj()},Fjn.$b=function(){vj()},Fjn.Hc=function(n){return!1},Fjn.Ic=function(n){return!1},Fjn.Jc=function(n){XW(this,n)},Fjn.Xb=function(n){return CI((XH(),n)),null},Fjn.Xc=function(n){return-1},Fjn.dc=function(){return!0},Fjn.Kc=function(){return this.a},Fjn.Yc=function(){return this.a},Fjn.Zc=function(n){return this.a},Fjn.ii=function(n,t){return mj()},Fjn.ji=function(n,t){yj()},Fjn.Lc=function(){return new SR(null,new Nz(this,16))},Fjn.$c=function(n){return kj()},Fjn.Mc=function(n){return jj()},Fjn._c=function(n,t){return Ej()},Fjn.gc=function(){return 0},Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return new Nz(this,16)},Fjn.Oc=function(){return new SR(null,new Nz(this,16))},Fjn.bd=function(n,t){return XH(),new Oz(TFn,n,t)},Fjn.Pc=function(){return C_((XH(),TFn))},Fjn.Qc=function(n){return XH(),Kin(TFn,n)},EF(exn,"ECollections/EmptyUnmodifiableEList",1310),Wfn(1311,768,{20:1,14:1,15:1,58:1,589:1},_v),Fjn.Vc=function(n,t){wj()},Fjn.Fc=function(n){return dj()},Fjn.Wc=function(n,t){return gj()},Fjn.Gc=function(n){return pj()},Fjn.$b=function(){vj()},Fjn.Hc=function(n){return!1},Fjn.Ic=function(n){return!1},Fjn.Jc=function(n){XW(this,n)},Fjn.Xb=function(n){return CI((XH(),n)),null},Fjn.Xc=function(n){return-1},Fjn.dc=function(){return!0},Fjn.Kc=function(){return this.a},Fjn.Yc=function(){return this.a},Fjn.Zc=function(n){return this.a},Fjn.ii=function(n,t){return mj()},Fjn.ji=function(n,t){yj()},Fjn.Lc=function(){return new SR(null,new Nz(this,16))},Fjn.$c=function(n){return kj()},Fjn.Mc=function(n){return jj()},Fjn._c=function(n,t){return Ej()},Fjn.gc=function(){return 0},Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return new Nz(this,16)},Fjn.Oc=function(){return new SR(null,new Nz(this,16))},Fjn.bd=function(n,t){return XH(),new Oz(TFn,n,t)},Fjn.Pc=function(){return C_((XH(),TFn))},Fjn.Qc=function(n){return XH(),Kin(TFn,n)},Fjn.sj=function(){return XH(),XH(),MFn},EF(exn,"ECollections/EmptyUnmodifiableEMap",1311);var Nct,xct=aR(exn,"Enumerator");Wfn(281,1,{281:1},xdn),Fjn.Fb=function(n){var t;return this===n||!!CO(n,281)&&(t=Yx(n,281),this.f==t.f&&function(n,t){return null==n?null==t:vtn(n,t)}(this.i,t.i)&&QR(this.a,0!=(256&this.f)?0!=(256&t.f)?t.a:null:0!=(256&t.f)?null:t.a)&&QR(this.d,t.d)&&QR(this.g,t.g)&&QR(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.Bh(e):Ehn(n,t)},EF(PNn,"BasicEObjectImpl/4",1027),Wfn(1983,1,{108:1}),Fjn.bk=function(n){this.e=0==n?Fat:VQ(U_n,iEn,1,n,5,1)},Fjn.Ch=function(n){return this.e[n]},Fjn.Dh=function(n,t){this.e[n]=t},Fjn.Eh=function(n){this.e[n]=null},Fjn.ck=function(){return this.c},Fjn.dk=function(){throw hp(new xp)},Fjn.ek=function(){throw hp(new xp)},Fjn.fk=function(){return this.d},Fjn.gk=function(){return null!=this.e},Fjn.hk=function(n){this.c=n},Fjn.ik=function(n){throw hp(new xp)},Fjn.jk=function(n){throw hp(new xp)},Fjn.kk=function(n){this.d=n},EF(PNn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),Wfn(185,1983,{108:1},Df),Fjn.dk=function(){return this.a},Fjn.ek=function(){return this.b},Fjn.ik=function(n){this.a=n},Fjn.jk=function(n){this.b=n},EF(PNn,"BasicEObjectImpl/EPropertiesHolderImpl",185),Wfn(506,97,SNn,yo),Fjn.Kg=function(){return this.f},Fjn.Pg=function(){return this.k},Fjn.Rg=function(n,t){this.g=n,this.i=t},Fjn.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},Fjn.Vg=function(){return this.i},Fjn.Mg=function(){return 0!=(1&this.j)},Fjn.eh=function(){return this.g},Fjn.kh=function(){return 0!=(4&this.j)},Fjn.ph=function(){return!this.k&&(this.k=new Df),this.k},Fjn.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},Fjn.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},Fjn.zh=function(){return(YF(),gat).S},Fjn.i=0,Fjn.j=1,EF(PNn,"EObjectImpl",506),Wfn(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},SD),Fjn.Ch=function(n){return this.e[n]},Fjn.Dh=function(n,t){this.e[n]=t},Fjn.Eh=function(n){this.e[n]=null},Fjn.Tg=function(){return this.d},Fjn.Yg=function(n){return tnn(this.d,n)},Fjn.$g=function(){return this.d},Fjn.dh=function(){return null!=this.e},Fjn.ph=function(){return!this.k&&(this.k=new ko),this.k},Fjn.th=function(n){this.d=n},Fjn.yh=function(){var n;return null==this.e&&(n=vF(this.d),this.e=0==n?Bat:VQ(U_n,iEn,1,n,5,1)),this},Fjn.Ah=function(){return 0},EF(PNn,"DynamicEObjectImpl",780),Wfn(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},rR),Fjn.Fb=function(n){return this===n},Fjn.Hb=function(){return KA(this)},Fjn.th=function(n){this.d=n,this.b=Ybn(n,"key"),this.c=Ybn(n,_Nn)},Fjn.Sh=function(){var n;return-1==this.a&&(n=_J(this,this.b),this.a=null==n?0:W5(n)),this.a},Fjn.cd=function(){return _J(this,this.b)},Fjn.dd=function(){return _J(this,this.c)},Fjn.Th=function(n){this.a=n},Fjn.Uh=function(n){bG(this,this.b,n)},Fjn.ed=function(n){var t;return t=_J(this,this.c),bG(this,this.c,n),t},Fjn.a=0,EF(PNn,"DynamicEObjectImpl/BasicEMapEntry",1376),Wfn(1377,1,{108:1},ko),Fjn.bk=function(n){throw hp(new xp)},Fjn.Ch=function(n){throw hp(new xp)},Fjn.Dh=function(n,t){throw hp(new xp)},Fjn.Eh=function(n){throw hp(new xp)},Fjn.ck=function(){throw hp(new xp)},Fjn.dk=function(){return this.a},Fjn.ek=function(){return this.b},Fjn.fk=function(){return this.c},Fjn.gk=function(){throw hp(new xp)},Fjn.hk=function(n){throw hp(new xp)},Fjn.ik=function(n){this.a=n},Fjn.jk=function(n){this.b=n},Fjn.kk=function(n){this.c=n},EF(PNn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),Wfn(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},jo),Fjn.Qg=function(n){return tcn(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new z$((xjn(),Dat),out,this)),this.b):(!this.b&&(this.b=new z$((xjn(),Dat),out,this)),UQ(this.b));case 3:return FG(this);case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),this.a;case 5:return!this.c&&(this.c=new JO(Wrt,this,5)),this.c}return RY(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?tcn(this,e):this.Cb.ih(this,-1-i,null,e)),j_(this,Yx(n,147),e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),pat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),pat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 2:return!this.b&&(this.b=new z$((xjn(),Dat),out,this)),YN(this.b,n,e);case 3:return j_(this,null,e);case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),Ten(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),pat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),pat)),n,e)},Fjn.lh=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!!FG(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return xX(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void function(n,t){B0(n,null==t?null:(vB(t),t))}(this,lL(t));case 2:return!this.b&&(this.b=new z$((xjn(),Dat),out,this)),void P3(this.b,t);case 3:return void Wbn(this,Yx(t,147));case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),Hmn(this.a),!this.a&&(this.a=new XO(Wrt,this,4)),void jF(this.a,Yx(t,14));case 5:return!this.c&&(this.c=new JO(Wrt,this,5)),Hmn(this.c),!this.c&&(this.c=new JO(Wrt,this,5)),void jF(this.c,Yx(t,14))}E7(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n),t)},Fjn.zh=function(){return xjn(),pat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void B0(this,null);case 2:return!this.b&&(this.b=new z$((xjn(),Dat),out,this)),void this.b.c.$b();case 3:return void Wbn(this,null);case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),void Hmn(this.a);case 5:return!this.c&&(this.c=new JO(Wrt,this,5)),void Hmn(this.c)}r9(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n))},Fjn.Ib=function(){return o9(this)},Fjn.d=null,EF(PNn,"EAnnotationImpl",510),Wfn(151,705,RDn,yY),Fjn.Xh=function(n,t){!function(n,t,e){Yx(n.c,69).Xh(t,e)}(this,n,Yx(t,42))},Fjn.lk=function(n,t){return function(n,t,e){return Yx(n.c,69).lk(t,e)}(this,Yx(n,42),t)},Fjn.pi=function(n){return Yx(Yx(this.c,69).pi(n),133)},Fjn.Zh=function(){return Yx(this.c,69).Zh()},Fjn.$h=function(){return Yx(this.c,69).$h()},Fjn._h=function(n){return Yx(this.c,69)._h(n)},Fjn.mk=function(n,t){return YN(this,n,t)},Fjn.Wj=function(n){return Yx(this.c,76).Wj(n)},Fjn.rj=function(){},Fjn.fj=function(){return Yx(this.c,76).fj()},Fjn.tj=function(n,t,e){var i;return(i=Yx(i1(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},Fjn.uj=function(){return new Jg(this)},Fjn.Wb=function(n){P3(this,n)},Fjn.Xj=function(){Yx(this.c,76).Xj()},EF(xDn,"EcoreEMap",151),Wfn(158,151,RDn,z$),Fjn.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=VQ(Ect,yDn,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=Yx(e.nj(),133)).Sh()&Yjn)%r.length])&&(n=r[i]=new Jg(this)),n.Fc(t);this.d=r}},EF(PNn,"EAnnotationImpl/1",158),Wfn(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),!!this.$j();case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i)}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void this.Lh(lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void K1(this,Yx(t,19).a);case 5:return void this.ok(Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi())}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),_at},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void this.Lh(null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void K1(this,0);case 5:return void this.ok(1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi())}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.Gh=function(){fcn(this),this.Bb|=1},Fjn.Yj=function(){return fcn(this)},Fjn.Zj=function(){return this.t},Fjn.$j=function(){var n;return(n=this.t)>1||-1==n},Fjn.hi=function(){return 0!=(512&this.Bb)},Fjn.nk=function(n,t){return z8(this,n,t)},Fjn.ok=function(n){F1(this,n)},Fjn.Ib=function(){return Sfn(this)},Fjn.s=0,Fjn.t=1,EF(PNn,"ETypedElementImpl",284),Wfn(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),Fjn.Qg=function(n){return Arn(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),!!this.$j();case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return TA(),0!=(this.Bb&DNn);case 11:return TA(),0!=(this.Bb&FDn);case 12:return TA(),0!=(this.Bb&nMn);case 13:return this.j;case 14:return Pbn(this);case 15:return TA(),0!=(this.Bb&KDn);case 16:return TA(),0!=(this.Bb&MEn);case 17:return HG(this)}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?Arn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,17,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Qj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e);case 17:return opn(this,null,17,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return 0==(this.Bb&DNn);case 11:return 0!=(this.Bb&FDn);case 12:return 0!=(this.Bb&nMn);case 13:return null!=this.j;case 14:return null!=Pbn(this);case 15:return 0!=(this.Bb&KDn);case 16:return 0!=(this.Bb&MEn);case 17:return!!HG(this)}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void yz(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void K1(this,Yx(t,19).a);case 5:return void this.ok(Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 10:return void x9(this,ny(hL(t)));case 11:return void _9(this,ny(hL(t)));case 12:return void D9(this,ny(hL(t)));case 13:return void ZP(this,lL(t));case 15:return void R9(this,ny(hL(t)));case 16:return void H9(this,ny(hL(t)))}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),Rat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),4),void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void K1(this,0);case 5:return void this.ok(1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 10:return void x9(this,!0);case 11:return void _9(this,!1);case 12:return void D9(this,!1);case 13:return this.i=null,void J0(this,null);case 15:return void R9(this,!1);case 16:return void H9(this,!1)}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.Gh=function(){nH(PJ((wsn(),wut),this)),fcn(this),this.Bb|=1},Fjn.Gj=function(){return this.f},Fjn.zj=function(){return Pbn(this)},Fjn.Hj=function(){return HG(this)},Fjn.Lj=function(){return null},Fjn.pk=function(){return this.k},Fjn.aj=function(){return this.n},Fjn.Mj=function(){return fan(this)},Fjn.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=HG(this)).i&&svn(e),e.i).length,(i=this.Lj())&&vF(HG(i)),n=(a=(r=fcn(this)).Bj())?0!=(1&a.i)?a==Vot?DKn:a==Wot?UKn:a==Zot?qKn:a==Jot?HKn:a==Qot?JKn:a==nst?nFn:a==Yot?KKn:BKn:a:null,t=Pbn(this),u=r.zj(),s7(this),0!=(this.Bb&MEn)&&((c=Dcn((wsn(),wut),e))&&c!=this||(c=Bz(PJ(wut,this))))?this.p=new zP(this,c):this.$j()?this.rk()?i?0!=(this.Bb&KDn)?n?this.sk()?this.p=new LH(47,n,this,i):this.p=new LH(5,n,this,i):this.sk()?this.p=new sW(46,this,i):this.p=new sW(4,this,i):n?this.sk()?this.p=new LH(49,n,this,i):this.p=new LH(7,n,this,i):this.sk()?this.p=new sW(48,this,i):this.p=new sW(6,this,i):0!=(this.Bb&KDn)?n?n==iKn?this.p=new Kx(50,hct,this):this.sk()?this.p=new Kx(43,n,this):this.p=new Kx(1,n,this):this.sk()?this.p=new Hq(42,this):this.p=new Hq(0,this):n?n==iKn?this.p=new Kx(41,hct,this):this.sk()?this.p=new Kx(45,n,this):this.p=new Kx(3,n,this):this.sk()?this.p=new Hq(44,this):this.p=new Hq(2,this):CO(r,148)?n==Xat?this.p=new Hq(40,this):0!=(512&this.Bb)?0!=(this.Bb&KDn)?this.p=n?new Kx(9,n,this):new Hq(8,this):this.p=n?new Kx(11,n,this):new Hq(10,this):0!=(this.Bb&KDn)?this.p=n?new Kx(13,n,this):new Hq(12,this):this.p=n?new Kx(15,n,this):new Hq(14,this):i?(o=i.t)>1||-1==o?this.sk()?0!=(this.Bb&KDn)?this.p=n?new LH(25,n,this,i):new sW(24,this,i):this.p=n?new LH(27,n,this,i):new sW(26,this,i):0!=(this.Bb&KDn)?this.p=n?new LH(29,n,this,i):new sW(28,this,i):this.p=n?new LH(31,n,this,i):new sW(30,this,i):this.sk()?0!=(this.Bb&KDn)?this.p=n?new LH(33,n,this,i):new sW(32,this,i):this.p=n?new LH(35,n,this,i):new sW(34,this,i):0!=(this.Bb&KDn)?this.p=n?new LH(37,n,this,i):new sW(36,this,i):this.p=n?new LH(39,n,this,i):new sW(38,this,i):this.sk()?0!=(this.Bb&KDn)?this.p=n?new Kx(17,n,this):new Hq(16,this):this.p=n?new Kx(19,n,this):new Hq(18,this):0!=(this.Bb&KDn)?this.p=n?new Kx(21,n,this):new Hq(20,this):this.p=n?new Kx(23,n,this):new Hq(22,this):this.qk()?this.sk()?this.p=new Fx(Yx(r,26),this,i):this.p=new tG(Yx(r,26),this,i):CO(r,148)?n==Xat?this.p=new Hq(40,this):0!=(this.Bb&KDn)?this.p=n?new S_(t,u,this,(onn(),a==Wot?rut:a==Vot?Zat:a==Qot?cut:a==Zot?iut:a==Jot?eut:a==nst?uut:a==Yot?nut:a==Xot?tut:aut)):new DH(Yx(r,148),t,u,this):this.p=n?new M_(t,u,this,(onn(),a==Wot?rut:a==Vot?Zat:a==Qot?cut:a==Zot?iut:a==Jot?eut:a==nst?uut:a==Yot?nut:a==Xot?tut:aut)):new xH(Yx(r,148),t,u,this):this.rk()?i?0!=(this.Bb&KDn)?this.sk()?this.p=new Ux(Yx(r,26),this,i):this.p=new zx(Yx(r,26),this,i):this.sk()?this.p=new Gx(Yx(r,26),this,i):this.p=new Bx(Yx(r,26),this,i):0!=(this.Bb&KDn)?this.sk()?this.p=new V$(Yx(r,26),this):this.p=new W$(Yx(r,26),this):this.sk()?this.p=new X$(Yx(r,26),this):this.p=new U$(Yx(r,26),this):this.sk()?i?0!=(this.Bb&KDn)?this.p=new Xx(Yx(r,26),this,i):this.p=new Hx(Yx(r,26),this,i):0!=(this.Bb&KDn)?this.p=new Y$(Yx(r,26),this):this.p=new Q$(Yx(r,26),this):i?0!=(this.Bb&KDn)?this.p=new Wx(Yx(r,26),this,i):this.p=new qx(Yx(r,26),this,i):0!=(this.Bb&KDn)?this.p=new J$(Yx(r,26),this):this.p=new _R(Yx(r,26),this)),this.p},Fjn.Ij=function(){return 0!=(this.Bb&DNn)},Fjn.qk=function(){return!1},Fjn.rk=function(){return!1},Fjn.Jj=function(){return 0!=(this.Bb&MEn)},Fjn.Oj=function(){return GJ(this)},Fjn.sk=function(){return!1},Fjn.Kj=function(){return 0!=(this.Bb&KDn)},Fjn.tk=function(n){this.k=n},Fjn.Lh=function(n){yz(this,n)},Fjn.Ib=function(){return Qdn(this)},Fjn.e=!1,Fjn.n=0,EF(PNn,"EStructuralFeatureImpl",449),Wfn(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},qv),Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),!!Bhn(this);case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return TA(),0!=(this.Bb&DNn);case 11:return TA(),0!=(this.Bb&FDn);case 12:return TA(),0!=(this.Bb&nMn);case 13:return this.j;case 14:return Pbn(this);case 15:return TA(),0!=(this.Bb&KDn);case 16:return TA(),0!=(this.Bb&MEn);case 17:return HG(this);case 18:return TA(),0!=(this.Bb&MNn);case 19:return t?v4(this):uQ(this)}return RY(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n),t,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Bhn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return 0==(this.Bb&DNn);case 11:return 0!=(this.Bb&FDn);case 12:return 0!=(this.Bb&nMn);case 13:return null!=this.j;case 14:return null!=Pbn(this);case 15:return 0!=(this.Bb&KDn);case 16:return 0!=(this.Bb&MEn);case 17:return!!HG(this);case 18:return 0!=(this.Bb&MNn);case 19:return!!uQ(this)}return xX(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void yz(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void K1(this,Yx(t,19).a);case 5:return void Ck(this,Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 10:return void x9(this,ny(hL(t)));case 11:return void _9(this,ny(hL(t)));case 12:return void D9(this,ny(hL(t)));case 13:return void ZP(this,lL(t));case 15:return void R9(this,ny(hL(t)));case 16:return void H9(this,ny(hL(t)));case 18:return void q9(this,ny(hL(t)))}E7(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n),t)},Fjn.zh=function(){return xjn(),vat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),4),void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void K1(this,0);case 5:return this.b=0,void F1(this,1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 10:return void x9(this,!0);case 11:return void _9(this,!1);case 12:return void D9(this,!1);case 13:return this.i=null,void J0(this,null);case 15:return void R9(this,!1);case 16:return void H9(this,!1);case 18:return void q9(this,!1)}r9(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n))},Fjn.Gh=function(){v4(this),nH(PJ((wsn(),wut),this)),fcn(this),this.Bb|=1},Fjn.$j=function(){return Bhn(this)},Fjn.nk=function(n,t){return this.b=0,this.a=null,z8(this,n,t)},Fjn.ok=function(n){Ck(this,n)},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Qdn(this):((n=new MA(Qdn(this))).a+=" (iD: ",nj(n,0!=(this.Bb&MNn)),n.a+=")",n.a)},Fjn.b=0,EF(PNn,"EAttributeImpl",322),Wfn(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),Fjn.uk=function(n){return n.Tg()==this},Fjn.Qg=function(n){return prn(this,n)},Fjn.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frn(this);case 4:return this.zj();case 5:return this.F;case 6:return t?i1(this):BG(this);case 7:return!this.A&&(this.A=new VO(zat,this,7)),this.A}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?prn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,6,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Qj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 6:return opn(this,null,6,e);case 7:return!this.A&&(this.A=new VO(zat,this,7)),Ten(this.A,n,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=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!!frn(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!BG(this);case 7:return!!this.A&&0!=this.A.i}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void kz(this,lL(t));case 2:return void MC(this,lL(t));case 5:return void uyn(this,lL(t));case 7:return!this.A&&(this.A=new VO(zat,this,7)),Hmn(this.A),!this.A&&(this.A=new VO(zat,this,7)),void jF(this.A,Yx(t,14))}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),yat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,179)&&(Yx(this.Cb,179).tb=null),void E2(this,null);case 2:return j6(this,null),void B1(this,this.D);case 5:return void uyn(this,null);case 7:return!this.A&&(this.A=new VO(zat,this,7)),void Hmn(this.A)}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.yj=function(){var n;return-1==this.G&&(this.G=(n=i1(this))?Ren(n.Mh(),this):-1),this.G},Fjn.zj=function(){return null},Fjn.Aj=function(){return i1(this)},Fjn.vk=function(){return this.v},Fjn.Bj=function(){return frn(this)},Fjn.Cj=function(){return null!=this.D?this.D:this.B},Fjn.Dj=function(){return this.F},Fjn.wj=function(n){return Ypn(this,n)},Fjn.wk=function(n){this.v=n},Fjn.xk=function(n){N2(this,n)},Fjn.yk=function(n){this.C=n},Fjn.Lh=function(n){kz(this,n)},Fjn.Ib=function(){return nnn(this)},Fjn.C=null,Fjn.D=null,Fjn.G=-1,EF(PNn,"EClassifierImpl",351),Wfn(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Rf),Fjn.uk=function(n){return function(n,t){return t==n||Fcn(mbn(t),n)}(this,n.Tg())},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frn(this);case 4:return null;case 5:return this.F;case 6:return t?i1(this):BG(this);case 7:return!this.A&&(this.A=new VO(zat,this,7)),this.A;case 8:return TA(),0!=(256&this.Bb);case 9:return TA(),0!=(512&this.Bb);case 10:return Iq(this);case 11:return!this.q&&(this.q=new mK(fat,this,11,10)),this.q;case 12:return emn(this);case 13:return Uvn(this);case 14:return Uvn(this),this.r;case 15:return emn(this),this.k;case 16:return $sn(this);case 17:return Avn(this);case 18:return svn(this);case 19:return mbn(this);case 20:return emn(this),this.o;case 21:return!this.s&&(this.s=new mK(tat,this,21,17)),this.s;case 22:return tW(this);case 23:return Edn(this)}return RY(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?prn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,6,e);case 11:return!this.q&&(this.q=new mK(fat,this,11,10)),wnn(this.q,n,e);case 21:return!this.s&&(this.s=new mK(tat,this,21,17)),wnn(this.s,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),mat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),mat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 6:return opn(this,null,6,e);case 7:return!this.A&&(this.A=new VO(zat,this,7)),Ten(this.A,n,e);case 11:return!this.q&&(this.q=new mK(fat,this,11,10)),Ten(this.q,n,e);case 21:return!this.s&&(this.s=new mK(tat,this,21,17)),Ten(this.s,n,e);case 22:return Ten(tW(this),n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),mat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),mat)),n,e)},Fjn.lh=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!!frn(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!BG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==tW(this.u.a).i||this.n&&sin(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=emn(this).i;case 13:return 0!=Uvn(this).i;case 14:return Uvn(this),0!=this.r.i;case 15:return emn(this),0!=this.k.i;case 16:return 0!=$sn(this).i;case 17:return 0!=Avn(this).i;case 18:return 0!=svn(this).i;case 19:return 0!=mbn(this).i;case 20:return emn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&sin(this.n);case 23:return 0!=Edn(this).i}return xX(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n))},Fjn.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:Ybn(this,n))||jkn(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void kz(this,lL(t));case 2:return void MC(this,lL(t));case 5:return void uyn(this,lL(t));case 7:return!this.A&&(this.A=new VO(zat,this,7)),Hmn(this.A),!this.A&&(this.A=new VO(zat,this,7)),void jF(this.A,Yx(t,14));case 8:return void h9(this,ny(hL(t)));case 9:return void b9(this,ny(hL(t)));case 10:return Wmn(Iq(this)),void jF(Iq(this),Yx(t,14));case 11:return!this.q&&(this.q=new mK(fat,this,11,10)),Hmn(this.q),!this.q&&(this.q=new mK(fat,this,11,10)),void jF(this.q,Yx(t,14));case 21:return!this.s&&(this.s=new mK(tat,this,21,17)),Hmn(this.s),!this.s&&(this.s=new mK(tat,this,21,17)),void jF(this.s,Yx(t,14));case 22:return Hmn(tW(this)),void jF(tW(this),Yx(t,14))}E7(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n),t)},Fjn.zh=function(){return xjn(),mat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,179)&&(Yx(this.Cb,179).tb=null),void E2(this,null);case 2:return j6(this,null),void B1(this,this.D);case 5:return void uyn(this,null);case 7:return!this.A&&(this.A=new VO(zat,this,7)),void Hmn(this.A);case 8:return void h9(this,!1);case 9:return void b9(this,!1);case 10:return void(this.u&&Wmn(this.u));case 11:return!this.q&&(this.q=new mK(fat,this,11,10)),void Hmn(this.q);case 21:return!this.s&&(this.s=new mK(tat,this,21,17)),void Hmn(this.s);case 22:return void(this.n&&Hmn(this.n))}r9(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n))},Fjn.Gh=function(){var n,t;if(emn(this),Uvn(this),$sn(this),Avn(this),svn(this),mbn(this),Edn(this),xV(function(n){return!n.c&&(n.c=new Bo),n.c}(bV(this))),this.s)for(n=0,t=this.s.i;n=0;--t)c1(this,t);return bnn(this,n)},Fjn.Xj=function(){Hmn(this)},Fjn.oi=function(n,t){return z1(this,0,t)},EF(xDn,"EcoreEList",622),Wfn(496,622,JDn,TD),Fjn.ai=function(){return!1},Fjn.aj=function(){return this.c},Fjn.bj=function(){return!1},Fjn.Fk=function(){return!0},Fjn.hi=function(){return!0},Fjn.li=function(n,t){return t},Fjn.ni=function(){return!1},Fjn.c=0,EF(xDn,"EObjectEList",496),Wfn(85,496,JDn,XO),Fjn.bj=function(){return!0},Fjn.Dk=function(){return!1},Fjn.rk=function(){return!0},EF(xDn,"EObjectContainmentEList",85),Wfn(545,85,JDn,WO),Fjn.ci=function(){this.b=!0},Fjn.fj=function(){return this.b},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.b,this.b=!1,_3(this.e,new OV(this.e,2,this.c,n,!1))):this.b=!1},Fjn.b=!1,EF(xDn,"EObjectContainmentEList/Unsettable",545),Wfn(1140,545,JDn,E_),Fjn.ii=function(n,t){var e,i;return e=Yx(L9(this,n,t),87),gC(this.e)&&Xp(this,new jY(this.a,7,(xjn(),kat),d9(t),CO(i=e.c,88)?Yx(i,26):Oat,n)),e},Fjn.jj=function(n,t){return function(n,t,e){var i,r;return i=new yJ(n.e,3,10,null,CO(r=t.c,88)?Yx(r,26):(xjn(),Oat),Ren(n,t),!1),e?e.Ei(i):e=i,e}(this,Yx(n,87),t)},Fjn.kj=function(n,t){return function(n,t,e){var i,r;return i=new yJ(n.e,4,10,CO(r=t.c,88)?Yx(r,26):(xjn(),Oat),null,Ren(n,t),!1),e?e.Ei(i):e=i,e}(this,Yx(n,87),t)},Fjn.lj=function(n,t,e){return function(n,t,e,i){var r,c,a;return r=new yJ(n.e,1,10,CO(a=t.c,88)?Yx(a,26):(xjn(),Oat),CO(c=e.c,88)?Yx(c,26):(xjn(),Oat),Ren(n,t),!1),i?i.Ei(r):i=r,i}(this,Yx(n,87),Yx(t,87),e)},Fjn.Zi=function(n,t,e,i,r){switch(n){case 3:return zG(this,n,t,e,i,this.i>1);case 5:return zG(this,n,t,e,i,this.i-Yx(e,15).gc()>0);default:return new yJ(this.e,n,this.c,t,e,i,!0)}},Fjn.ij=function(){return!0},Fjn.fj=function(){return sin(this)},Fjn.Xj=function(){Hmn(this)},EF(PNn,"EClassImpl/1",1140),Wfn(1154,1153,wDn),Fjn.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=function(n){switch(n.yi(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!=(u=n.Bi())&&(!(t=bV(Yx(u,473))).c&&(t.c=new Bo),qJ(t.c,n.Ai())),null!=(a=n.zi())&&0==(1&(r=Yx(a,473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),fY(t.c,Yx(n.Ai(),26)));break;case 3:null!=(a=n.zi())&&0==(1&(r=Yx(a,473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),fY(t.c,Yx(n.Ai(),26)));break;case 5:if(null!=(a=n.zi()))for(c=Yx(a,14).Kc();c.Ob();)0==(1&(r=Yx(c.Pb(),473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),fY(t.c,Yx(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&0==(1&(r=Yx(u,473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),qJ(t.c,n.Ai()));break;case 6:if(null!=(u=n.Bi()))for(c=Yx(u,14).Kc();c.Ob();)0==(1&(r=Yx(c.Pb(),473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),qJ(t.c,n.Ai()))}this.Hk(i)}},Fjn.Hk=function(n){Gdn(this,n)},Fjn.b=63,EF(PNn,"ESuperAdapter",1154),Wfn(1155,1154,wDn,_g),Fjn.Hk=function(n){rhn(this,n)},EF(PNn,"EClassImpl/10",1155),Wfn(1144,696,JDn),Fjn.Vh=function(n,t){return hun(this,n,t)},Fjn.Wh=function(n){return $in(this,n)},Fjn.Xh=function(n,t){X8(this,n,t)},Fjn.Yh=function(n){NV(this,n)},Fjn.pi=function(n){return AY(this,n)},Fjn.mi=function(n,t){return HJ(this,n,t)},Fjn.lk=function(n,t){throw hp(new xp)},Fjn.Zh=function(){return new u$(this)},Fjn.$h=function(){return new o$(this)},Fjn._h=function(n){return b0(this,n)},Fjn.mk=function(n,t){throw hp(new xp)},Fjn.Wj=function(n){return this},Fjn.fj=function(){return 0!=this.i},Fjn.Wb=function(n){throw hp(new xp)},Fjn.Xj=function(){throw hp(new xp)},EF(xDn,"EcoreEList/UnmodifiableEList",1144),Wfn(319,1144,JDn,HI),Fjn.ni=function(){return!1},EF(xDn,"EcoreEList/UnmodifiableEList/FastCompare",319),Wfn(1147,319,JDn,p5),Fjn.Xc=function(n){var t,e;if(CO(n,170)&&-1!=(t=Yx(n,170).aj()))for(e=this.i;t4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=Yx(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),Yx(CZ(Cq(this.b),this.aj()).Yj(),26).Bj())==nin(Yx(CZ(Cq(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg())for(i=0;i1||-1==e)},Fjn.Dk=function(){var n;return!!CO(n=CZ(Cq(this.b),this.aj()),99)&&!!nin(Yx(n,18))},Fjn.Ek=function(){var n;return!!CO(n=CZ(Cq(this.b),this.aj()),99)&&0!=(Yx(n,18).Bb&eMn)},Fjn.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk())for(t=0,i=this.Vi();t=0;--n)hyn(this,n,this.Oi(n));return this.Wi()},Fjn.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)hyn(this,t,this.Oi(t));return this.Xi(n)},Fjn.Xj=function(){Wmn(this)},Fjn.oi=function(n,t){return $Y(this,0,t)},EF(xDn,"DelegatingEcoreEList",742),Wfn(1150,742,iRn,qL),Fjn.Hi=function(n,t){!function(n,t,e){y9(tW(n.a),t,Ez(e))}(this,n,Yx(t,26))},Fjn.Ii=function(n){!function(n,t){fY(tW(n.a),Ez(t))}(this,Yx(n,26))},Fjn.Oi=function(n){var t;return CO(t=Yx(c1(tW(this.a),n),87).c,88)?Yx(t,26):(xjn(),Oat)},Fjn.Ti=function(n){var t;return CO(t=Yx(tdn(tW(this.a),n),87).c,88)?Yx(t,26):(xjn(),Oat)},Fjn.Ui=function(n,t){return function(n,t,e){var i,r,c;return(0!=(64&(c=CO(r=(i=Yx(c1(tW(n.a),t),87)).c,88)?Yx(r,26):(xjn(),Oat)).Db)?P8(n.b,c):c)==e?Bpn(i):b1(i,e),c}(this,n,Yx(t,26))},Fjn.ai=function(){return!1},Fjn.Zi=function(n,t,e,i,r){return null},Fjn.Ji=function(){return new Fg(this)},Fjn.Ki=function(){Hmn(tW(this.a))},Fjn.Li=function(n){return a9(this,n)},Fjn.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!a9(this,t.Pb()))return!1;return!0},Fjn.Ni=function(n){var t,e,i;if(CO(n,15)&&(i=Yx(n,15)).gc()==tW(this.a).i){for(t=i.Kc(),e=new UO(this);t.Ob();)if(iI(t.Pb())!==iI(hen(e)))return!1;return!0}return!1},Fjn.Pi=function(){var n,t,e,i;for(t=1,n=new UO(tW(this.a));n.e!=n.i.gc();)t=31*t+((e=CO(i=Yx(hen(n),87).c,88)?Yx(i,26):(xjn(),Oat))?KA(e):0);return t},Fjn.Qi=function(n){var t,e,i,r;for(i=0,e=new UO(tW(this.a));e.e!=e.i.gc();){if(t=Yx(hen(e),87),iI(n)===iI(CO(r=t.c,88)?Yx(r,26):(xjn(),Oat)))return i;++i}return-1},Fjn.Ri=function(){return 0==tW(this.a).i},Fjn.Si=function(){return null},Fjn.Vi=function(){return tW(this.a).i},Fjn.Wi=function(){var n,t,e,i,r,c;for(c=tW(this.a).i,r=VQ(U_n,iEn,1,c,5,1),e=0,t=new UO(tW(this.a));t.e!=t.i.gc();)n=Yx(hen(t),87),r[e++]=CO(i=n.c,88)?Yx(i,26):(xjn(),Oat);return r},Fjn.Xi=function(n){var t,e,i,r;for(r=tW(this.a).i,n.lengthr&&DF(n,r,null),e=0,t=new UO(tW(this.a));t.e!=t.i.gc();)DF(n,e++,CO(i=Yx(hen(t),87).c,88)?Yx(i,26):(xjn(),Oat));return n},Fjn.Yi=function(){var n,t,e,i,r;for((r=new Cy).a+="[",n=tW(this.a),t=0,i=tW(this.a).i;t>16)>=0?prn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,6,e);case 9:return!this.a&&(this.a=new mK(sat,this,9,5)),wnn(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Eat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Eat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 6:return opn(this,null,6,e);case 7:return!this.A&&(this.A=new VO(zat,this,7)),Ten(this.A,n,e);case 9:return!this.a&&(this.a=new mK(sat,this,9,5)),Ten(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Eat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Eat)),n,e)},Fjn.lh=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!!frn(this);case 4:return!!x6(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!BG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return xX(this,n-vF((xjn(),Eat)),CZ(Yx(H3(this,16),26)||Eat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void kz(this,lL(t));case 2:return void MC(this,lL(t));case 5:return void uyn(this,lL(t));case 7:return!this.A&&(this.A=new VO(zat,this,7)),Hmn(this.A),!this.A&&(this.A=new VO(zat,this,7)),void jF(this.A,Yx(t,14));case 8:return void f9(this,ny(hL(t)));case 9:return!this.a&&(this.a=new mK(sat,this,9,5)),Hmn(this.a),!this.a&&(this.a=new mK(sat,this,9,5)),void jF(this.a,Yx(t,14))}E7(this,n-vF((xjn(),Eat)),CZ(Yx(H3(this,16),26)||Eat,n),t)},Fjn.zh=function(){return xjn(),Eat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,179)&&(Yx(this.Cb,179).tb=null),void E2(this,null);case 2:return j6(this,null),void B1(this,this.D);case 5:return void uyn(this,null);case 7:return!this.A&&(this.A=new VO(zat,this,7)),void Hmn(this.A);case 8:return void f9(this,!0);case 9:return!this.a&&(this.a=new mK(sat,this,9,5)),void Hmn(this.a)}r9(this,n-vF((xjn(),Eat)),CZ(Yx(H3(this,16),26)||Eat,n))},Fjn.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?Yx(this.Cb,671):null}return RY(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?ncn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,5,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Tat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Tat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 5:return opn(this,null,5,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Tat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Tat)),n,e)},Fjn.lh=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||!Yx(this.Cb,671))}return xX(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return void _1(this,Yx(t,19).a);case 3:return void hfn(this,Yx(t,1940));case 4:return void F0(this,lL(t))}E7(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n),t)},Fjn.zh=function(){return xjn(),Tat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return void _1(this,0);case 3:return void hfn(this,null);case 4:return void F0(this,null)}r9(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n))},Fjn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},Fjn.b=null,Fjn.c=null,Fjn.d=0,EF(PNn,"EEnumLiteralImpl",573);var Wat,Vat,Qat,Yat=aR(PNn,"EFactoryImpl/InternalEDateTimeFormat");Wfn(489,1,{2015:1},Bg),EF(PNn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),Wfn(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},up),Fjn.Sg=function(n,t,e){var i;return e=opn(this,n,t,e),this.e&&CO(n,170)&&(i=dbn(this,this.e))!=this.c&&(e=zyn(this,i,e)),e},Fjn._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new XO(hat,this,1)),this.d;case 2:return t?Bpn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?win(this):this.a}return RY(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n),t,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return S8(this,null,e);case 1:return!this.d&&(this.d=new XO(hat,this,1)),Ten(this.d,n,e);case 3:return M8(this,null,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Sat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Sat)),n,e)},Fjn.lh=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 xX(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n))},Fjn.sh=function(n,t){switch(n){case 0:return void man(this,Yx(t,87));case 1:return!this.d&&(this.d=new XO(hat,this,1)),Hmn(this.d),!this.d&&(this.d=new XO(hat,this,1)),void jF(this.d,Yx(t,14));case 3:return void van(this,Yx(t,87));case 4:return void Xun(this,Yx(t,836));case 5:return void b1(this,Yx(t,138))}E7(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n),t)},Fjn.zh=function(){return xjn(),Sat},Fjn.Bh=function(n){switch(n){case 0:return void man(this,null);case 1:return!this.d&&(this.d=new XO(hat,this,1)),void Hmn(this.d);case 3:return void van(this,null);case 4:return void Xun(this,null);case 5:return void b1(this,null)}r9(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n))},Fjn.Ib=function(){var n;return(n=new SA(_ln(this))).a+=" (expression: ",wmn(this,n),n.a+=")",n.a},EF(PNn,"EGenericTypeImpl",241),Wfn(1969,1964,rRn),Fjn.Xh=function(n,t){DL(this,n,t)},Fjn.lk=function(n,t){return DL(this,this.gc(),n),t},Fjn.pi=function(n){return ken(this.Gi(),n)},Fjn.Zh=function(){return this.$h()},Fjn.Gi=function(){return new Qg(this)},Fjn.$h=function(){return this._h(0)},Fjn._h=function(n){return this.Gi().Zc(n)},Fjn.mk=function(n,t){return V7(this,n,!0),t},Fjn.ii=function(n,t){var e;return e=Urn(this,t),this.Zc(n).Rb(e),e},Fjn.ji=function(n,t){V7(this,t,!0),this.Zc(n).Rb(t)},EF(xDn,"AbstractSequentialInternalEList",1969),Wfn(486,1969,rRn,n$),Fjn.pi=function(n){return ken(this.Gi(),n)},Fjn.Zh=function(){return null==this.b?(jT(),jT(),Qat):this.Jk()},Fjn.Gi=function(){return new GI(this.a,this.b)},Fjn.$h=function(){return null==this.b?(jT(),jT(),Qat):this.Jk()},Fjn._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw hp(new Hm(pDn+n+", size=0"));return jT(),jT(),Qat}for(e=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=Vrt||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(c=this.b.bh(t,this.Lk()),this.f=(TT(),Yx(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=Yx(c,15),this.k=i):(i=Yx(c,69),this.k=this.j=i),CO(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?hsn(this,this.p):zsn(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=Yx(r,72)).ak(),e=n.dd(),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}},Fjn.Pb=function(){return X3(this)},Fjn.Tb=function(){return this.a},Fjn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw hp(new _p)},Fjn.Vb=function(){return this.a-1},Fjn.Qb=function(){throw hp(new xp)},Fjn.Lk=function(){return!1},Fjn.Wb=function(n){throw hp(new xp)},Fjn.Mk=function(){return!0},Fjn.a=0,Fjn.d=0,Fjn.f=!1,Fjn.g=0,Fjn.n=0,Fjn.o=0,EF(xDn,"EContentsEList/FeatureIteratorImpl",279),Wfn(697,279,cRn,H$),Fjn.Lk=function(){return!0},EF(xDn,"EContentsEList/ResolvingFeatureIteratorImpl",697),Wfn(1157,697,cRn,G$),Fjn.Mk=function(){return!1},EF(PNn,"ENamedElementImpl/1/1",1157),Wfn(1158,279,cRn,q$),Fjn.Mk=function(){return!1},EF(PNn,"ENamedElementImpl/1/2",1158),Wfn(36,143,gDn,aW,uW,pK,kY,yJ,OV,W1,aU,V1,uU,PV,oU,J1,sU,IV,hU,Q1,fU,vK,jY,tq,Y1,lU,CV,bU),Fjn._i=function(){return hY(this)},Fjn.gj=function(){var n;return(n=hY(this))?n.zj():null},Fjn.yi=function(n){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},Fjn.Ai=function(){return this.c},Fjn.hj=function(){var n;return!!(n=hY(this))&&n.Kj()},Fjn.b=-1,EF(PNn,"ENotificationImpl",36),Wfn(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},zv),Fjn.Qg=function(n){return scn(this,n)},Fjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),(i=this.t)>1||-1==i;case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Yx(this.Cb,26):null;case 11:return!this.d&&(this.d=new VO(zat,this,11)),this.d;case 12:return!this.c&&(this.c=new mK(lat,this,12,10)),this.c;case 13:return!this.a&&(this.a=new GL(this,this)),this.a;case 14:return IJ(this)}return RY(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?scn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,10,e);case 12:return!this.c&&(this.c=new mK(lat,this,12,10)),wnn(this.c,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Aat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Aat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e);case 10:return opn(this,null,10,e);case 11:return!this.d&&(this.d=new VO(zat,this,11)),Ten(this.d,n,e);case 12:return!this.c&&(this.c=new mK(lat,this,12,10)),Ten(this.c,n,e);case 14:return Ten(IJ(this),n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Aat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Aat)),n,e)},Fjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(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==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return!(this.Db>>16!=10||!Yx(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==IJ(this.a.a).i||this.b&&hin(this.b));case 14:return!!this.b&&hin(this.b)}return xX(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void K1(this,Yx(t,19).a);case 5:return void F1(this,Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 11:return!this.d&&(this.d=new VO(zat,this,11)),Hmn(this.d),!this.d&&(this.d=new VO(zat,this,11)),void jF(this.d,Yx(t,14));case 12:return!this.c&&(this.c=new mK(lat,this,12,10)),Hmn(this.c),!this.c&&(this.c=new mK(lat,this,12,10)),void jF(this.c,Yx(t,14));case 13:return!this.a&&(this.a=new GL(this,this)),Wmn(this.a),!this.a&&(this.a=new GL(this,this)),void jF(this.a,Yx(t,14));case 14:return Hmn(IJ(this)),void jF(IJ(this),Yx(t,14))}E7(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n),t)},Fjn.zh=function(){return xjn(),Aat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void K1(this,0);case 5:return void F1(this,1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 11:return!this.d&&(this.d=new VO(zat,this,11)),void Hmn(this.d);case 12:return!this.c&&(this.c=new mK(lat,this,12,10)),void Hmn(this.c);case 13:return void(this.a&&Wmn(this.a));case 14:return void(this.b&&Hmn(this.b))}r9(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n))},Fjn.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&DF(n,i,null),e=0,t=new UO(IJ(this.a));t.e!=t.i.gc();)DF(n,e++,Yx(hen(t),87).c||(xjn(),Pat));return n},Fjn.Yi=function(){var n,t,e,i;for((i=new Cy).a+="[",n=IJ(this.a),t=0,e=IJ(this.a).i;t1);case 5:return zG(this,n,t,e,i,this.i-Yx(e,15).gc()>0);default:return new yJ(this.e,n,this.c,t,e,i,!0)}},Fjn.ij=function(){return!0},Fjn.fj=function(){return hin(this)},Fjn.Xj=function(){Hmn(this)},EF(PNn,"EOperationImpl/2",1341),Wfn(498,1,{1938:1,498:1},GP),EF(PNn,"EPackageImpl/1",498),Wfn(16,85,JDn,mK),Fjn.zk=function(){return this.d},Fjn.Ak=function(){return this.b},Fjn.Dk=function(){return!0},Fjn.b=0,EF(xDn,"EObjectContainmentWithInverseEList",16),Wfn(353,16,JDn,EN),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentWithInverseEList/Resolving",353),Wfn(298,353,JDn,dK),Fjn.ci=function(){this.a.tb=null},EF(PNn,"EPackageImpl/2",298),Wfn(1228,1,{},Oo),EF(PNn,"EPackageImpl/3",1228),Wfn(718,43,gMn,Xv),Fjn._b=function(n){return aI(n)?hq(this,n):!!Dq(this.f,n)},EF(PNn,"EPackageRegistryImpl",718),Wfn(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Uv),Fjn.Qg=function(n){return hcn(this,n)},Fjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),(i=this.t)>1||-1==i;case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Yx(this.Cb,59):null}return RY(this,n-vF((xjn(),Nat)),CZ(Yx(H3(this,16),26)||Nat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),wnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?hcn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,10,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Nat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Nat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e);case 10:return opn(this,null,10,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Nat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Nat)),n,e)},Fjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(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==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return!(this.Db>>16!=10||!Yx(this.Cb,59))}return xX(this,n-vF((xjn(),Nat)),CZ(Yx(H3(this,16),26)||Nat,n))},Fjn.zh=function(){return xjn(),Nat},EF(PNn,"EParameterImpl",509),Wfn(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},cL),Fjn._g=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),(r=this.t)>1||-1==r;case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return TA(),0!=(this.Bb&DNn);case 11:return TA(),0!=(this.Bb&FDn);case 12:return TA(),0!=(this.Bb&nMn);case 13:return this.j;case 14:return Pbn(this);case 15:return TA(),0!=(this.Bb&KDn);case 16:return TA(),0!=(this.Bb&MEn);case 17:return HG(this);case 18:return TA(),0!=(this.Bb&MNn);case 19:return TA(),!(!(i=nin(this))||0==(i.Bb&MNn));case 20:return TA(),0!=(this.Bb&eMn);case 21:return t?nin(this):this.b;case 22:return t?O5(this):dV(this);case 23:return!this.a&&(this.a=new JO(eat,this,23)),this.a}return RY(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n),t,e)},Fjn.lh=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 0==(256&this.Bb);case 3:return 0==(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==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return 0==(this.Bb&DNn);case 11:return 0!=(this.Bb&FDn);case 12:return 0!=(this.Bb&nMn);case 13:return null!=this.j;case 14:return null!=Pbn(this);case 15:return 0!=(this.Bb&KDn);case 16:return 0!=(this.Bb&MEn);case 17:return!!HG(this);case 18:return 0!=(this.Bb&MNn);case 19:return!!(t=nin(this))&&0!=(t.Bb&MNn);case 20:return 0==(this.Bb&eMn);case 21:return!!this.b;case 22:return!!dV(this);case 23:return!!this.a&&0!=this.a.i}return xX(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void yz(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void K1(this,Yx(t,19).a);case 5:return void F1(this,Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 10:return void x9(this,ny(hL(t)));case 11:return void _9(this,ny(hL(t)));case 12:return void D9(this,ny(hL(t)));case 13:return void ZP(this,lL(t));case 15:return void R9(this,ny(hL(t)));case 16:return void H9(this,ny(hL(t)));case 18:return void function(n,t){G9(n,t),CO(n.Cb,88)&&rhn(bV(Yx(n.Cb,88)),2)}(this,ny(hL(t)));case 20:return void z9(this,ny(hL(t)));case 21:return void Q0(this,Yx(t,18));case 23:return!this.a&&(this.a=new JO(eat,this,23)),Hmn(this.a),!this.a&&(this.a=new JO(eat,this,23)),void jF(this.a,Yx(t,14))}E7(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n),t)},Fjn.zh=function(){return xjn(),xat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),4),void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void K1(this,0);case 5:return void F1(this,1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 10:return void x9(this,!0);case 11:return void _9(this,!1);case 12:return void D9(this,!1);case 13:return this.i=null,void J0(this,null);case 15:return void R9(this,!1);case 16:return void H9(this,!1);case 18:return G9(this,!1),void(CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),2));case 20:return void z9(this,!0);case 21:return void Q0(this,null);case 23:return!this.a&&(this.a=new JO(eat,this,23)),void Hmn(this.a)}r9(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n))},Fjn.Gh=function(){O5(this),nH(PJ((wsn(),wut),this)),fcn(this),this.Bb|=1},Fjn.Lj=function(){return nin(this)},Fjn.qk=function(){var n;return!!(n=nin(this))&&0!=(n.Bb&MNn)},Fjn.rk=function(){return 0!=(this.Bb&MNn)},Fjn.sk=function(){return 0!=(this.Bb&eMn)},Fjn.nk=function(n,t){return this.c=null,z8(this,n,t)},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Qdn(this):((n=new MA(Qdn(this))).a+=" (containment: ",nj(n,0!=(this.Bb&MNn)),n.a+=", resolveProxies: ",nj(n,0!=(this.Bb&eMn)),n.a+=")",n.a)},EF(PNn,"EReferenceImpl",99),Wfn(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Ao),Fjn.Fb=function(n){return this===n},Fjn.cd=function(){return this.b},Fjn.dd=function(){return this.c},Fjn.Hb=function(){return KA(this)},Fjn.Uh=function(n){!function(n,t){R0(n,null==t?null:(vB(t),t))}(this,lL(n))},Fjn.ed=function(n){return function(n,t){var e;return e=n.c,_0(n,t),e}(this,lL(n))},Fjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return RY(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n),t,e)},Fjn.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return xX(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n))},Fjn.sh=function(n,t){switch(n){case 0:return void function(n,t){R0(n,null==t?null:(vB(t),t))}(this,lL(t));case 1:return void _0(this,lL(t))}E7(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n),t)},Fjn.zh=function(){return xjn(),Dat},Fjn.Bh=function(n){switch(n){case 0:return void R0(this,null);case 1:return void _0(this,null)}r9(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n))},Fjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:Xen(n)),this.a},Fjn.Th=function(n){this.a=n},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):((n=new MA(_ln(this))).a+=" (key: ",pI(n,this.b),n.a+=", value: ",pI(n,this.c),n.a+=")",n.a)},Fjn.a=-1,Fjn.b=null,Fjn.c=null;var Jat,Zat,nut,tut,eut,iut,rut,cut,aut,uut,out=EF(PNn,"EStringToStringMapEntryImpl",548),sut=aR(xDn,"FeatureMap/Entry/Internal");Wfn(565,1,aRn),Fjn.Ok=function(n){return this.Pk(Yx(n,49))},Fjn.Pk=function(n){return this.Ok(n)},Fjn.Fb=function(n){var t,e;return this===n||!!CO(n,72)&&(t=Yx(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():Q8(e,t.dd()))},Fjn.ak=function(){return this.c},Fjn.Hb=function(){var n;return n=this.dd(),W5(this.c)^(null==n?0:W5(n))},Fjn.Ib=function(){var n,t;return t=i1((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},EF(PNn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),Wfn(776,565,aRn,FL),Fjn.Pk=function(n){return new FL(this.c,n)},Fjn.dd=function(){return this.a},Fjn.Qk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=tnn(t.Tg(),n.c),r=e.gh(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},Fjn.Rk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=tnn(t.Tg(),n.c),r=e.ih(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},EF(PNn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),Wfn(1314,1,{},zP),Fjn.Pj=function(n,t,e,i,r){return Yx(TY(n,this.b),215).nl(this.a).Wj(i)},Fjn.Qj=function(n,t,e,i,r){return Yx(TY(n,this.b),215).el(this.a,i,r)},Fjn.Rj=function(n,t,e,i,r){return Yx(TY(n,this.b),215).fl(this.a,i,r)},Fjn.Sj=function(n,t,e){return Yx(TY(n,this.b),215).nl(this.a).fj()},Fjn.Tj=function(n,t,e,i){Yx(TY(n,this.b),215).nl(this.a).Wb(i)},Fjn.Uj=function(n,t,e){return Yx(TY(n,this.b),215).nl(this.a)},Fjn.Vj=function(n,t,e){Yx(TY(n,this.b),215).nl(this.a).Xj()},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),Wfn(89,1,{},Kx,LH,Hq,sW),Fjn.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=Mjn(this,n)),!r)switch(this.e){case 50:case 41:return Yx(c,589).sj();case 40:return Yx(c,215).kl()}return c},Fjn.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=Mjn(this,n)),Yx(c,69).lk(i,r)},Fjn.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=Yx(c,69).mk(i,r)),r},Fjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&Yx(i,76).fj()},Fjn.Tj=function(n,t,e,i){var r;!(r=Yx(t.Ch(e),76))&&t.Dh(e,r=Mjn(this,n)),r.Wb(i)},Fjn.Uj=function(n,t,e){var i;return null==(i=t.Ch(e))&&t.Dh(e,i=Mjn(this,n)),CO(i,76)?Yx(i,76):new Ug(Yx(t.Ch(e),15))},Fjn.Vj=function(n,t,e){var i;!(i=Yx(t.Ch(e),76))&&t.Dh(e,i=Mjn(this,n)),i.Xj()},Fjn.b=0,Fjn.e=0,EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),Wfn(504,1,{}),Fjn.Qj=function(n,t,e,i,r){throw hp(new xp)},Fjn.Rj=function(n,t,e,i,r){throw hp(new xp)},Fjn.Uj=function(n,t,e){return new NH(this,n,t,e)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),Wfn(1331,1,DDn,NH),Fjn.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},Fjn.fj=function(){return this.a.Sj(this.c,this.d,this.b)},Fjn.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},Fjn.Xj=function(){this.a.Vj(this.c,this.d,this.b)},Fjn.b=0,EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),Wfn(769,504,{},tG),Fjn.Pj=function(n,t,e,i,r){return Ign(n,n.eh(),n.Vg())==this.b?this.sk()&&i?Bfn(n):n.eh():null},Fjn.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=tnn(n.Tg(),this.e),n.Sg(i,a,r)},Fjn.Rj=function(n,t,e,i,r){var c;return c=tnn(n.Tg(),this.e),n.Sg(null,c,r)},Fjn.Sj=function(n,t,e){var i;return i=tnn(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},Fjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Ypn(this.a,i))throw hp(new Vm(uRn+(CO(i,56)?gan(Yx(i,56).Tg()):LZ(V5(i)))+oRn+this.a+"'"));if(r=n.eh(),a=tnn(n.Tg(),this.e),iI(i)!==iI(r)||n.Vg()!=a&&null!=i){if(ccn(n,Yx(i,56)))throw hp(new Qm(CNn+n.Ib()));o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=Yx(i,49))&&(o=u.gh(n,tnn(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&_3(n,new pK(n,1,a,i,i))},Fjn.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=tnn(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&_3(n,new vK(n,1,this.e,null,null))},Fjn.sk=function(){return!1},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),Wfn(1315,769,{},Fx),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),Wfn(563,504,{}),Fjn.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:iI(c)===iI(Jat)?null:c},Fjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(iI(i)===iI(Jat)||!Q8(i,this.b))},Fjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:iI(c)===iI(Jat)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,Jat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),_3(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,Jat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},Fjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:iI(r)===iI(Jat)?null:r,t.Eh(e),_3(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},Fjn.Sk=function(n){throw hp(new Ap)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),Wfn(sRn,1,{},$o),Fjn.Tk=function(n,t,e,i,r){return new vK(n,t,e,i,r)},Fjn.Uk=function(n,t,e,i,r,c){return new tq(n,t,e,i,r,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",sRn),Wfn(1332,sRn,{},Lo),Fjn.Tk=function(n,t,e,i,r){return new CV(n,t,e,ny(hL(i)),ny(hL(r)))},Fjn.Uk=function(n,t,e,i,r,c){return new bU(n,t,e,ny(hL(i)),ny(hL(r)),c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),Wfn(1333,sRn,{},No),Fjn.Tk=function(n,t,e,i,r){return new W1(n,t,e,Yx(i,217).a,Yx(r,217).a)},Fjn.Uk=function(n,t,e,i,r,c){return new aU(n,t,e,Yx(i,217).a,Yx(r,217).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),Wfn(1334,sRn,{},xo),Fjn.Tk=function(n,t,e,i,r){return new V1(n,t,e,Yx(i,172).a,Yx(r,172).a)},Fjn.Uk=function(n,t,e,i,r,c){return new uU(n,t,e,Yx(i,172).a,Yx(r,172).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),Wfn(1335,sRn,{},Do),Fjn.Tk=function(n,t,e,i,r){return new PV(n,t,e,ty(fL(i)),ty(fL(r)))},Fjn.Uk=function(n,t,e,i,r,c){return new oU(n,t,e,ty(fL(i)),ty(fL(r)),c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),Wfn(1336,sRn,{},Ro),Fjn.Tk=function(n,t,e,i,r){return new J1(n,t,e,Yx(i,155).a,Yx(r,155).a)},Fjn.Uk=function(n,t,e,i,r,c){return new sU(n,t,e,Yx(i,155).a,Yx(r,155).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),Wfn(1337,sRn,{},_o),Fjn.Tk=function(n,t,e,i,r){return new IV(n,t,e,Yx(i,19).a,Yx(r,19).a)},Fjn.Uk=function(n,t,e,i,r,c){return new hU(n,t,e,Yx(i,19).a,Yx(r,19).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),Wfn(1338,sRn,{},Ko),Fjn.Tk=function(n,t,e,i,r){return new Q1(n,t,e,Yx(i,162).a,Yx(r,162).a)},Fjn.Uk=function(n,t,e,i,r,c){return new fU(n,t,e,Yx(i,162).a,Yx(r,162).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),Wfn(1339,sRn,{},Fo),Fjn.Tk=function(n,t,e,i,r){return new Y1(n,t,e,Yx(i,184).a,Yx(r,184).a)},Fjn.Uk=function(n,t,e,i,r,c){return new lU(n,t,e,Yx(i,184).a,Yx(r,184).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),Wfn(1317,563,{},xH),Fjn.Sk=function(n){if(!this.a.wj(n))throw hp(new Vm(uRn+V5(n)+oRn+this.a+"'"))},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),Wfn(1318,563,{},M_),Fjn.Sk=function(n){},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),Wfn(770,563,{}),Fjn.Sj=function(n,t,e){return null!=t.Ch(e)},Fjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):iI(c)===iI(Jat)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,Jat):(this.Sk(i),t.Dh(e,i)),_3(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,Jat):(this.Sk(i),t.Dh(e,i))},Fjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):iI(r)===iI(Jat)&&(r=null),t.Eh(e),_3(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),Wfn(1319,770,{},DH),Fjn.Sk=function(n){if(!this.a.wj(n))throw hp(new Vm(uRn+V5(n)+oRn+this.a+"'"))},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),Wfn(1320,770,{},S_),Fjn.Sk=function(n){},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),Wfn(398,504,{},_R),Fjn.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&iI(s)===iI(Jat))return null;if(this.sk()&&i&&null!=s){if((u=Yx(s,49)).kh()&&u!=(o=P8(n,u))){if(!Ypn(this.a,o))throw hp(new Vm(uRn+V5(o)+oRn+this.a+"'"));t.Dh(e,s=o),this.rk()&&(c=Yx(o,49),a=u.ih(n,this.b?tnn(u.Tg(),this.b):-1-tnn(n.Tg(),this.e),null,null),!c.eh()&&(a=c.gh(n,this.b?tnn(c.Tg(),this.b):-1-tnn(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&_3(n,new vK(n,9,this.e,u,o))}return s}return s},Fjn.Qj=function(n,t,e,i,r){var c,a;return iI(a=t.Ch(e))===iI(Jat)&&(a=null),t.Dh(e,i),this.bj()?iI(a)!==iI(i)&&null!=a&&(r=(c=Yx(a,49)).ih(n,tnn(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=Yx(a,49).ih(n,-1-tnn(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(!r&&(r=new Ek(4)),r.Ei(new vK(n,1,this.e,a,i))),r},Fjn.Rj=function(n,t,e,i,r){var c;return iI(c=t.Ch(e))===iI(Jat)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(!r&&(r=new Ek(4)),this.Kj()?r.Ei(new vK(n,2,this.e,c,null)):r.Ei(new vK(n,1,this.e,c,null))),r},Fjn.Sj=function(n,t,e){return null!=t.Ch(e)},Fjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Ypn(this.a,i))throw hp(new Vm(uRn+(CO(i,56)?gan(Yx(i,56).Tg()):LZ(V5(i)))+oRn+this.a+"'"));u=null!=(o=t.Ch(e)),this.Kj()&&iI(o)===iI(Jat)&&(o=null),a=null,this.bj()?iI(o)!==iI(i)&&(null!=o&&(a=(r=Yx(o,49)).ih(n,tnn(r.Tg(),this.b),null,a)),null!=i&&(a=(r=Yx(i,49)).gh(n,tnn(r.Tg(),this.b),null,a))):this.rk()&&iI(o)!==iI(i)&&(null!=o&&(a=Yx(o,49).ih(n,-1-tnn(n.Tg(),this.e),null,a)),null!=i&&(a=Yx(i,49).gh(n,-1-tnn(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,Jat):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new tq(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):_3(n,c)):a&&a.Fi()},Fjn.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&iI(u)===iI(Jat)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=Yx(u,49)).ih(n,tnn(i.Tg(),this.b),null,c):this.rk()&&(c=Yx(u,49).ih(n,-1-tnn(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new tq(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):_3(n,r)):c&&c.Fi()},Fjn.bj=function(){return!1},Fjn.rk=function(){return!1},Fjn.sk=function(){return!1},Fjn.Kj=function(){return!1},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),Wfn(564,398,{},U$),Fjn.rk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),Wfn(1323,564,{},X$),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),Wfn(772,564,{},W$),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),Wfn(1325,772,{},V$),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),Wfn(640,564,{},Bx),Fjn.bj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),Wfn(1324,640,{},Gx),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),Wfn(773,640,{},zx),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),Wfn(1326,773,{},Ux),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),Wfn(641,398,{},Q$),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),Wfn(1327,641,{},Y$),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),Wfn(774,641,{},Hx),Fjn.bj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),Wfn(1328,774,{},Xx),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),Wfn(1321,398,{},J$),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),Wfn(771,398,{},qx),Fjn.bj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),Wfn(1322,771,{},Wx),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),Wfn(775,565,aRn,cB),Fjn.Pk=function(n){return new cB(this.a,this.c,n)},Fjn.dd=function(){return this.b},Fjn.Qk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.gh(t,tnn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},Fjn.Rk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.ih(t,tnn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},EF(PNn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),Wfn(1329,1,DDn,Ug),Fjn.Wj=function(n){return this.a},Fjn.fj=function(){return CO(this.a,95)?Yx(this.a,95).fj():!this.a.dc()},Fjn.Wb=function(n){this.a.$b(),this.a.Gc(Yx(n,15))},Fjn.Xj=function(){CO(this.a,95)?Yx(this.a,95).Xj():this.a.$b()},EF(PNn,"EStructuralFeatureImpl/SettingMany",1329),Wfn(1330,565,aRn,fW),Fjn.Ok=function(n){return new BL((ayn(),tot),this.b.Ih(this.a,n))},Fjn.dd=function(){return null},Fjn.Qk=function(n,t,e){return e},Fjn.Rk=function(n,t,e){return e},EF(PNn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),Wfn(642,565,aRn,BL),Fjn.Ok=function(n){return new BL(this.c,n)},Fjn.dd=function(){return this.a},Fjn.Qk=function(n,t,e){return e},Fjn.Rk=function(n,t,e){return e},EF(PNn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),Wfn(391,497,Mxn,Bo),Fjn.ri=function(n){return VQ(rat,iEn,26,n,0,1)},Fjn.ni=function(){return!1},EF(PNn,"ESuperAdapter/1",391),Wfn(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},Ho),Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new KR(this,hat,this)),this.a}return RY(this,n-vF((xjn(),Kat)),CZ(Yx(H3(this,16),26)||Kat,n),t,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Ten(this.Ab,n,e);case 2:return!this.a&&(this.a=new KR(this,hat,this)),Ten(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Kat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Kat)),n,e)},Fjn.lh=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 xX(this,n-vF((xjn(),Kat)),CZ(Yx(H3(this,16),26)||Kat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return!this.a&&(this.a=new KR(this,hat,this)),Hmn(this.a),!this.a&&(this.a=new KR(this,hat,this)),void jF(this.a,Yx(t,14))}E7(this,n-vF((xjn(),Kat)),CZ(Yx(H3(this,16),26)||Kat,n),t)},Fjn.zh=function(){return xjn(),Kat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new mK(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return!this.a&&(this.a=new KR(this,hat,this)),void Hmn(this.a)}r9(this,n-vF((xjn(),Kat)),CZ(Yx(H3(this,16),26)||Kat,n))},EF(PNn,"ETypeParameterImpl",444),Wfn(445,85,JDn,KR),Fjn.cj=function(n,t){return function(n,t,e){var i,r;for(e=men(t,n.e,-1-n.c,e),r=new Wg(new t6(new Ql(EB(n.a).a).a));r.a.b;)e=zyn(i=Yx(s1(r.a).cd(),87),dbn(i,n.a),e);return e}(this,Yx(n,87),t)},Fjn.dj=function(n,t){return function(n,t,e){var i,r;for(e=Uq(t,n.e,-1-n.c,e),r=new Wg(new t6(new Ql(EB(n.a).a).a));r.a.b;)e=zyn(i=Yx(s1(r.a).cd(),87),dbn(i,n.a),e);return e}(this,Yx(n,87),t)},EF(PNn,"ETypeParameterImpl/1",445),Wfn(634,43,gMn,Wv),Fjn.ec=function(){return new Xg(this)},EF(PNn,"ETypeParameterImpl/2",634),Wfn(556,dEn,gEn,Xg),Fjn.Fc=function(n){return kN(this,Yx(n,87))},Fjn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=Yx(e.Pb(),87),null==xB(this.a,t,"")&&(i=!0);return i},Fjn.$b=function(){UK(this.a)},Fjn.Hc=function(n){return PK(this.a,n)},Fjn.Kc=function(){return new Wg(new t6(new Ql(this.a).a))},Fjn.Mc=function(n){return hQ(this,n)},Fjn.gc=function(){return hE(this.a)},EF(PNn,"ETypeParameterImpl/2/1",556),Wfn(557,1,fEn,Wg),Fjn.Nb=function(n){IK(this,n)},Fjn.Pb=function(){return Yx(s1(this.a).cd(),87)},Fjn.Ob=function(){return this.a.b},Fjn.Qb=function(){oY(this.a)},EF(PNn,"ETypeParameterImpl/2/1/1",557),Wfn(1276,43,gMn,Vv),Fjn._b=function(n){return aI(n)?hq(this,n):!!Dq(this.f,n)},Fjn.xc=function(n){var t;return CO(t=aI(n)?aG(this,n):eI(Dq(this.f,n)),837)?(t=Yx(t,837)._j(),xB(this,Yx(n,235),t),t):null!=t?t:null==n?(ET(),mut):null},EF(PNn,"EValidatorRegistryImpl",1276),Wfn(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},qo),Fjn.Ih=function(n,t){switch(n.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:I7(t);case 25:return r1(t);case 27:case 28:return function(n){return CO(n,172)?""+Yx(n,172).a:null==n?null:I7(n)}(t);case 29:return null==t?null:gO(Grt[0],Yx(t,199));case 41:return null==t?"":Nk(Yx(t,290));case 42:return I7(t);case 50:return lL(t);default:throw hp(new Qm(ONn+n.ne()+ANn))}},Fjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=i1(n))?Ren(t.Mh(),n):-1),n.G){case 0:return new qv;case 1:return new jo;case 2:return new Rf;case 4:return new Bp;case 5:return new Gv;case 6:return new Fp;case 7:return new xf;case 10:return new yo;case 11:return new zv;case 12:return new Sq;case 13:return new Uv;case 14:return new cL;case 17:return new Ao;case 18:return new up;case 19:return new Ho;default:throw hp(new Qm(NNn+n.zb+ANn))}},Fjn.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new Wk(t);case 21:return null==t?null:new IC(t);case 23:case 22:return null==t?null:function(n){if(vtn(kLn,n))return TA(),LKn;if(vtn(jLn,n))return TA(),$Kn;throw hp(new Qm("Expecting true or false"))}(t);case 26:case 24:return null==t?null:iZ(ipn(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,u;if(null==n)return null;for(u=n.length,a=VQ(Yot,LNn,25,r=(u+1)/2|0,15,1),u%2!=0&&(a[--r]=Odn((Lz(u-1,n.length),n.charCodeAt(u-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=ipn(n,nTn,Yjn)&fTn}catch(e){if(!CO(e=j4(e),127))throw hp(e);t=xJ(n)[0]}return k4(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=ipn(n,nTn,Yjn)&fTn}catch(e){if(!CO(e=j4(e),127))throw hp(e);t=xJ(n)[0]}return k4(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 hp(new Qm(ONn+n.ne()+ANn))}},EF(PNn,"EcoreFactoryImpl",1313),Wfn(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},$B),Fjn.gb=!1,Fjn.hb=!1;var hut,fut=!1;EF(PNn,"EcorePackageImpl",547),Wfn(1184,1,{837:1},Go),Fjn._j=function(){return EA(),yut},EF(PNn,"EcorePackageImpl/1",1184),Wfn(1193,1,TRn,zo),Fjn.wj=function(n){return CO(n,147)},Fjn.xj=function(n){return VQ(ect,iEn,147,n,0,1)},EF(PNn,"EcorePackageImpl/10",1193),Wfn(1194,1,TRn,Uo),Fjn.wj=function(n){return CO(n,191)},Fjn.xj=function(n){return VQ(rct,iEn,191,n,0,1)},EF(PNn,"EcorePackageImpl/11",1194),Wfn(1195,1,TRn,Xo),Fjn.wj=function(n){return CO(n,56)},Fjn.xj=function(n){return VQ(Wrt,iEn,56,n,0,1)},EF(PNn,"EcorePackageImpl/12",1195),Wfn(1196,1,TRn,Wo),Fjn.wj=function(n){return CO(n,399)},Fjn.xj=function(n){return VQ(fat,QDn,59,n,0,1)},EF(PNn,"EcorePackageImpl/13",1196),Wfn(1197,1,TRn,Vo),Fjn.wj=function(n){return CO(n,235)},Fjn.xj=function(n){return VQ(cct,iEn,235,n,0,1)},EF(PNn,"EcorePackageImpl/14",1197),Wfn(1198,1,TRn,Qo),Fjn.wj=function(n){return CO(n,509)},Fjn.xj=function(n){return VQ(lat,iEn,2017,n,0,1)},EF(PNn,"EcorePackageImpl/15",1198),Wfn(1199,1,TRn,Yo),Fjn.wj=function(n){return CO(n,99)},Fjn.xj=function(n){return VQ(bat,VDn,18,n,0,1)},EF(PNn,"EcorePackageImpl/16",1199),Wfn(1200,1,TRn,Jo),Fjn.wj=function(n){return CO(n,170)},Fjn.xj=function(n){return VQ(tat,VDn,170,n,0,1)},EF(PNn,"EcorePackageImpl/17",1200),Wfn(1201,1,TRn,Zo),Fjn.wj=function(n){return CO(n,472)},Fjn.xj=function(n){return VQ(nat,iEn,472,n,0,1)},EF(PNn,"EcorePackageImpl/18",1201),Wfn(1202,1,TRn,ns),Fjn.wj=function(n){return CO(n,548)},Fjn.xj=function(n){return VQ(out,kDn,548,n,0,1)},EF(PNn,"EcorePackageImpl/19",1202),Wfn(1185,1,TRn,ts),Fjn.wj=function(n){return CO(n,322)},Fjn.xj=function(n){return VQ(eat,VDn,34,n,0,1)},EF(PNn,"EcorePackageImpl/2",1185),Wfn(1203,1,TRn,es),Fjn.wj=function(n){return CO(n,241)},Fjn.xj=function(n){return VQ(hat,eRn,87,n,0,1)},EF(PNn,"EcorePackageImpl/20",1203),Wfn(1204,1,TRn,is),Fjn.wj=function(n){return CO(n,444)},Fjn.xj=function(n){return VQ(zat,iEn,836,n,0,1)},EF(PNn,"EcorePackageImpl/21",1204),Wfn(1205,1,TRn,rs),Fjn.wj=function(n){return rI(n)},Fjn.xj=function(n){return VQ(DKn,TEn,476,n,8,1)},EF(PNn,"EcorePackageImpl/22",1205),Wfn(1206,1,TRn,cs),Fjn.wj=function(n){return CO(n,190)},Fjn.xj=function(n){return VQ(Yot,TEn,190,n,0,2)},EF(PNn,"EcorePackageImpl/23",1206),Wfn(1207,1,TRn,as),Fjn.wj=function(n){return CO(n,217)},Fjn.xj=function(n){return VQ(KKn,TEn,217,n,0,1)},EF(PNn,"EcorePackageImpl/24",1207),Wfn(1208,1,TRn,us),Fjn.wj=function(n){return CO(n,172)},Fjn.xj=function(n){return VQ(BKn,TEn,172,n,0,1)},EF(PNn,"EcorePackageImpl/25",1208),Wfn(1209,1,TRn,os),Fjn.wj=function(n){return CO(n,199)},Fjn.xj=function(n){return VQ(NKn,TEn,199,n,0,1)},EF(PNn,"EcorePackageImpl/26",1209),Wfn(1210,1,TRn,ss),Fjn.wj=function(n){return!1},Fjn.xj=function(n){return VQ(est,iEn,2110,n,0,1)},EF(PNn,"EcorePackageImpl/27",1210),Wfn(1211,1,TRn,hs),Fjn.wj=function(n){return cI(n)},Fjn.xj=function(n){return VQ(HKn,TEn,333,n,7,1)},EF(PNn,"EcorePackageImpl/28",1211),Wfn(1212,1,TRn,fs),Fjn.wj=function(n){return CO(n,58)},Fjn.xj=function(n){return VQ(jct,dPn,58,n,0,1)},EF(PNn,"EcorePackageImpl/29",1212),Wfn(1186,1,TRn,ls),Fjn.wj=function(n){return CO(n,510)},Fjn.xj=function(n){return VQ(Zct,{3:1,4:1,5:1,1934:1},590,n,0,1)},EF(PNn,"EcorePackageImpl/3",1186),Wfn(1213,1,TRn,bs),Fjn.wj=function(n){return CO(n,573)},Fjn.xj=function(n){return VQ(xct,iEn,1940,n,0,1)},EF(PNn,"EcorePackageImpl/30",1213),Wfn(1214,1,TRn,ws),Fjn.wj=function(n){return CO(n,153)},Fjn.xj=function(n){return VQ(Eut,dPn,153,n,0,1)},EF(PNn,"EcorePackageImpl/31",1214),Wfn(1215,1,TRn,ds),Fjn.wj=function(n){return CO(n,72)},Fjn.xj=function(n){return VQ(Xat,MRn,72,n,0,1)},EF(PNn,"EcorePackageImpl/32",1215),Wfn(1216,1,TRn,gs),Fjn.wj=function(n){return CO(n,155)},Fjn.xj=function(n){return VQ(qKn,TEn,155,n,0,1)},EF(PNn,"EcorePackageImpl/33",1216),Wfn(1217,1,TRn,ps),Fjn.wj=function(n){return CO(n,19)},Fjn.xj=function(n){return VQ(UKn,TEn,19,n,0,1)},EF(PNn,"EcorePackageImpl/34",1217),Wfn(1218,1,TRn,vs),Fjn.wj=function(n){return CO(n,290)},Fjn.xj=function(n){return VQ(X_n,iEn,290,n,0,1)},EF(PNn,"EcorePackageImpl/35",1218),Wfn(1219,1,TRn,ms),Fjn.wj=function(n){return CO(n,162)},Fjn.xj=function(n){return VQ(JKn,TEn,162,n,0,1)},EF(PNn,"EcorePackageImpl/36",1219),Wfn(1220,1,TRn,ys),Fjn.wj=function(n){return CO(n,83)},Fjn.xj=function(n){return VQ(V_n,iEn,83,n,0,1)},EF(PNn,"EcorePackageImpl/37",1220),Wfn(1221,1,TRn,ks),Fjn.wj=function(n){return CO(n,591)},Fjn.xj=function(n){return VQ(vut,iEn,591,n,0,1)},EF(PNn,"EcorePackageImpl/38",1221),Wfn(1222,1,TRn,js),Fjn.wj=function(n){return!1},Fjn.xj=function(n){return VQ(ist,iEn,2111,n,0,1)},EF(PNn,"EcorePackageImpl/39",1222),Wfn(1187,1,TRn,Es),Fjn.wj=function(n){return CO(n,88)},Fjn.xj=function(n){return VQ(rat,iEn,26,n,0,1)},EF(PNn,"EcorePackageImpl/4",1187),Wfn(1223,1,TRn,Ts),Fjn.wj=function(n){return CO(n,184)},Fjn.xj=function(n){return VQ(nFn,TEn,184,n,0,1)},EF(PNn,"EcorePackageImpl/40",1223),Wfn(1224,1,TRn,Ms),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(PNn,"EcorePackageImpl/41",1224),Wfn(1225,1,TRn,Ss),Fjn.wj=function(n){return CO(n,588)},Fjn.xj=function(n){return VQ(Tct,iEn,588,n,0,1)},EF(PNn,"EcorePackageImpl/42",1225),Wfn(1226,1,TRn,Ps),Fjn.wj=function(n){return!1},Fjn.xj=function(n){return VQ(rst,TEn,2112,n,0,1)},EF(PNn,"EcorePackageImpl/43",1226),Wfn(1227,1,TRn,Is),Fjn.wj=function(n){return CO(n,42)},Fjn.xj=function(n){return VQ(iKn,DEn,42,n,0,1)},EF(PNn,"EcorePackageImpl/44",1227),Wfn(1188,1,TRn,Cs),Fjn.wj=function(n){return CO(n,138)},Fjn.xj=function(n){return VQ(iat,iEn,138,n,0,1)},EF(PNn,"EcorePackageImpl/5",1188),Wfn(1189,1,TRn,Os),Fjn.wj=function(n){return CO(n,148)},Fjn.xj=function(n){return VQ(cat,iEn,148,n,0,1)},EF(PNn,"EcorePackageImpl/6",1189),Wfn(1190,1,TRn,As),Fjn.wj=function(n){return CO(n,457)},Fjn.xj=function(n){return VQ(oat,iEn,671,n,0,1)},EF(PNn,"EcorePackageImpl/7",1190),Wfn(1191,1,TRn,$s),Fjn.wj=function(n){return CO(n,573)},Fjn.xj=function(n){return VQ(sat,iEn,678,n,0,1)},EF(PNn,"EcorePackageImpl/8",1191),Wfn(1192,1,TRn,Ls),Fjn.wj=function(n){return CO(n,471)},Fjn.xj=function(n){return VQ(ict,iEn,471,n,0,1)},EF(PNn,"EcorePackageImpl/9",1192),Wfn(1025,1982,mDn,Um),Fjn.bi=function(n,t){!function(n,t){var e,i,r;if(t.vi(n.a),null!=(r=Yx(H3(n.a,8),1936)))for(e=0,i=r.length;e0){if(Lz(0,n.length),47==n.charCodeAt(0)){for(c=new pQ(4),r=1,t=1;t0&&(n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,u;for(c=null,r=new kK((!n.a&&(n.a=new Vg(n)),n.a));ufn(r);)if(emn(a=(e=Yx(abn(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?RN(v4(u),e.ah(u)):null)&&KN(i,t)){c=e;break}return c}(this,n)},Fjn.Xk=function(){return this.c},Fjn.Ib=function(){return Nk(this.gm)+"@"+(W5(this)>>>0).toString(16)+" uri='"+this.d+"'"},Fjn.b=!1,EF(IRn,"ResourceImpl",781),Wfn(1379,781,PRn,Yg),EF(IRn,"BinaryResourceImpl",1379),Wfn(1169,694,Sxn),Fjn.si=function(n){return CO(n,56)?function(n,t){return n.a?t.Wg().Kc():Yx(t.Wg(),69).Zh()}(this,Yx(n,56)):CO(n,591)?new UO(Yx(n,591).Vk()):iI(n)===iI(this.f)?Yx(n,14).Kc():(iL(),$ct.a)},Fjn.Ob=function(){return ufn(this)},Fjn.a=!1,EF(xDn,"EcoreUtil/ContentTreeIterator",1169),Wfn(1380,1169,Sxn,kK),Fjn.si=function(n){return iI(n)===iI(this.f)?Yx(n,15).Kc():new hX(Yx(n,56))},EF(IRn,"ResourceImpl/5",1380),Wfn(648,1994,YDn,Vg),Fjn.Hc=function(n){return this.i<=4?Fcn(this,n):CO(n,49)&&Yx(n,49).Zg()==this.a},Fjn.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},Fjn.di=function(n,t){0==n?this.a.b||(this.a.b=!0):XQ(this,n,t)},Fjn.fi=function(n,t){},Fjn.gi=function(n,t,e){},Fjn.aj=function(){return 2},Fjn.Ai=function(){return this.a},Fjn.bj=function(){return!0},Fjn.cj=function(n,t){return Yx(n,49).wh(this.a,t)},Fjn.dj=function(n,t){return Yx(n,49).wh(null,t)},Fjn.ej=function(){return!1},Fjn.hi=function(){return!0},Fjn.ri=function(n){return VQ(Wrt,iEn,56,n,0,1)},Fjn.ni=function(){return!1},EF(IRn,"ResourceImpl/ContentsEList",648),Wfn(957,1964,WEn,Qg),Fjn.Zc=function(n){return this.a._h(n)},Fjn.gc=function(){return this.a.gc()},EF(xDn,"AbstractSequentialInternalEList/1",957),Wfn(624,1,{},OD),EF(xDn,"BasicExtendedMetaData",624),Wfn(1160,1,{},UP),Fjn.$k=function(){return null},Fjn._k=function(){return-2==this.a&&(n=this,t=function(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),tRn)))for(i=1;i<(wsn(),lut).length;++i)if(KN(lut[i],r))return i;return 0}(this.d,this.b),n.a=t),this.a;var n,t},Fjn.al=function(){return null},Fjn.bl=function(){return XH(),XH(),TFn},Fjn.ne=function(){return this.c==qRn&&(n=this,t=ktn(this.d,this.b),n.c=t),this.c;var n,t},Fjn.cl=function(){return 0},Fjn.a=-2,Fjn.c=qRn,EF(xDn,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),Wfn(1161,1,{},mU),Fjn.$k=function(){return this.a==(wV(),gut)&&function(n,t){n.a=t}(this,(n=this.f,t=this.b,(i=t.Hh(n.a))&&(!i.b&&(i.b=new z$((xjn(),Dat),out,i)),null!=(e=lL(ynn(i.b,bRn)))&&CO(c=-1==(r=e.lastIndexOf("#"))?Z$(n,t.Aj(),e):0==r?EY(n,null,e.substr(1)):EY(n,e.substr(0,r),e.substr(r+1)),148))?Yx(c,148):null)),this.a;var n,t,e,i,r,c},Fjn._k=function(){return 0},Fjn.al=function(){return this.c==(wV(),gut)&&function(n,t){n.c=t}(this,(n=this.f,t=this.b,(e=t.Hh(n.a))&&(!e.b&&(e.b=new z$((xjn(),Dat),out,e)),null!=(r=lL(ynn(e.b,DRn)))&&CO(c=-1==(i=r.lastIndexOf("#"))?Z$(n,t.Aj(),r):0==i?EY(n,null,r.substr(1)):EY(n,r.substr(0,i),r.substr(i+1)),148))?Yx(c,148):null)),this.c;var n,t,e,i,r,c},Fjn.bl=function(){return!this.d&&(n=this,t=function(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),"memberTypes")))){for(s=new ip,a=0,u=(c=Ogn(o,"\\w")).length;ae?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=Yx(L9(n,t,e),72),u!=o&&Xp(n,new jY(n.e,7,a,d9(u),b.dd(),o)),l}return Yx(L9(n,t,e),72)}(this,n,t)},Fjn.li=function(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(CO(a=e.ak(),99)&&0!=(Yx(a,18).Bb&eMn)&&(l=Yx(e.dd(),49),(d=P8(n.e,l))!=l)){if(KO(n,t,zan(n,0,h=VX(a,d))),f=null,gC(n.e)&&(i=iyn((wsn(),wut),n.e.Tg(),a))!=CZ(n.e.Tg(),n.c)){for(g=dwn(n.e.Tg(),a),u=0,c=Yx(n.g,119),o=0;o=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},EF(xDn,"BasicFeatureMap/FeatureEIterator",410),Wfn(662,410,yEn,qI),Fjn.Lk=function(){return!0},EF(xDn,"BasicFeatureMap/ResolvingFeatureEIterator",662),Wfn(955,486,rRn,vO),Fjn.Gi=function(){return this},EF(xDn,"EContentsEList/1",955),Wfn(956,486,rRn,GI),Fjn.Lk=function(){return!1},EF(xDn,"EContentsEList/2",956),Wfn(954,279,cRn,mO),Fjn.Nk=function(n){},Fjn.Ob=function(){return!1},Fjn.Sb=function(){return!1},EF(xDn,"EContentsEList/FeatureIteratorImpl/1",954),Wfn(825,585,JDn,ZO),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,_3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EDataTypeEList/Unsettable",825),Wfn(1849,585,JDn,nA),Fjn.hi=function(){return!0},EF(xDn,"EDataTypeUniqueEList",1849),Wfn(1850,825,JDn,tA),Fjn.hi=function(){return!0},EF(xDn,"EDataTypeUniqueEList/Unsettable",1850),Wfn(139,85,JDn,VO),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentEList/Resolving",139),Wfn(1163,545,JDn,QO),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentEList/Unsettable/Resolving",1163),Wfn(748,16,JDn,TN),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,_3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EObjectContainmentWithInverseEList/Unsettable",748),Wfn(1173,748,JDn,MN),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),Wfn(743,496,JDn,YO),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,_3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EObjectEList/Unsettable",743),Wfn(328,496,JDn,JO),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectResolvingEList",328),Wfn(1641,743,JDn,eA),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectResolvingEList/Unsettable",1641),Wfn(1381,1,{},Ns),EF(xDn,"EObjectValidator",1381),Wfn(546,496,JDn,yK),Fjn.zk=function(){return this.d},Fjn.Ak=function(){return this.b},Fjn.bj=function(){return!0},Fjn.Dk=function(){return!0},Fjn.b=0,EF(xDn,"EObjectWithInverseEList",546),Wfn(1176,546,JDn,SN),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseEList/ManyInverse",1176),Wfn(625,546,JDn,PN),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,_3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EObjectWithInverseEList/Unsettable",625),Wfn(1175,625,JDn,CN),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),Wfn(749,546,JDn,IN),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectWithInverseResolvingEList",749),Wfn(31,749,JDn,AN),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseResolvingEList/ManyInverse",31),Wfn(750,625,JDn,ON),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectWithInverseResolvingEList/Unsettable",750),Wfn(1174,750,JDn,$N),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),Wfn(1164,622,JDn),Fjn.ai=function(){return 0==(1792&this.b)},Fjn.ci=function(){this.b|=1},Fjn.Bk=function(){return 0!=(4&this.b)},Fjn.bj=function(){return 0!=(40&this.b)},Fjn.Ck=function(){return 0!=(16&this.b)},Fjn.Dk=function(){return 0!=(8&this.b)},Fjn.Ek=function(){return 0!=(this.b&FDn)},Fjn.rk=function(){return 0!=(32&this.b)},Fjn.Fk=function(){return 0!=(this.b&DNn)},Fjn.wj=function(n){return this.d?KX(this.d,n):this.ak().Yj().wj(n)},Fjn.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},Fjn.hi=function(){return 0!=(128&this.b)},Fjn.Xj=function(){var n;Hmn(this),0!=(2&this.b)&&(gC(this.e)?(n=0!=(1&this.b),this.b&=-2,Xp(this,new OV(this.e,2,tnn(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},Fjn.ni=function(){return 0==(1536&this.b)},Fjn.b=0,EF(xDn,"EcoreEList/Generic",1164),Wfn(1165,1164,JDn,eq),Fjn.ak=function(){return this.a},EF(xDn,"EcoreEList/Dynamic",1165),Wfn(747,63,Mxn,Jg),Fjn.ri=function(n){return H1(this.a.a,n)},EF(xDn,"EcoreEMap/1",747),Wfn(746,85,JDn,gK),Fjn.bi=function(n,t){tin(this.b,Yx(t,133))},Fjn.di=function(n,t){A3(this.b)},Fjn.ei=function(n,t,e){var i;++(i=this.b,Yx(t,133),i).e},Fjn.fi=function(n,t){N9(this.b,Yx(t,133))},Fjn.gi=function(n,t,e){N9(this.b,Yx(e,133)),iI(e)===iI(t)&&Yx(e,133).Th(function(n){return null==n?0:W5(n)}(Yx(t,133).cd())),tin(this.b,Yx(t,133))},EF(xDn,"EcoreEMap/DelegateEObjectContainmentEList",746),Wfn(1171,151,RDn,j0),EF(xDn,"EcoreEMap/Unsettable",1171),Wfn(1172,746,JDn,LN),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,_3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),Wfn(1168,228,gMn,pF),Fjn.a=!1,Fjn.b=!1,EF(xDn,"EcoreUtil/Copier",1168),Wfn(745,1,fEn,hX),Fjn.Nb=function(n){IK(this,n)},Fjn.Ob=function(){return jnn(this)},Fjn.Pb=function(){var n;return jnn(this),n=this.b,this.b=null,n},Fjn.Qb=function(){this.a.Qb()},EF(xDn,"EcoreUtil/ProperContentIterator",745),Wfn(1382,1381,{},_f),EF(xDn,"EcoreValidator",1382),aR(xDn,"FeatureMapUtil/Validator"),Wfn(1260,1,{1942:1},xs),Fjn.rl=function(n){return!0},EF(xDn,"FeatureMapUtil/1",1260),Wfn(757,1,{1942:1},ykn),Fjn.rl=function(n){var t;return this.c==n||(null==(t=hL(BF(this.a,n)))?function(n,t){var e;return n.f==jut?(e=TB(PJ((wsn(),wut),t)),n.e?4==e&&t!=(dfn(),Put)&&t!=(dfn(),Tut)&&t!=(dfn(),Mut)&&t!=(dfn(),Sut):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(Bz(PJ((wsn(),wut),t)))||n.d.Hc(iyn((wsn(),wut),n.b,t))))||!(!n.f||!_bn((wsn(),n.f),tH(PJ(wut,t))))&&(e=TB(PJ(wut,t)),n.e?4==e:2==e)}(this,n)?(LV(this.a,n,(TA(),LKn)),!0):(LV(this.a,n,(TA(),$Kn)),!1):t==(TA(),LKn))},Fjn.e=!1,EF(xDn,"FeatureMapUtil/BasicValidator",757),Wfn(758,43,gMn,yO),EF(xDn,"FeatureMapUtil/BasicValidator/Cache",758),Wfn(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},VP),Fjn.Vc=function(n,t){$wn(this.c,this.b,n,t)},Fjn.Fc=function(n){return Rgn(this.c,this.b,n)},Fjn.Wc=function(n,t){return function(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(TT(),a=(o=Yx(t,66).Oj())?i:new FZ(i.gc()),Lwn(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)fvn(n,t,s=h.Pb(),CO(t,99)&&0!=(Yx(t,18).Bb&eMn))||(c=VX(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=VX(t,s=h.Pb()),a.Fc(c)}else{for(f=dwn(n.e.Tg(),t),r=Yx(n.g,119),u=0;u1)throw hp(new Qm(GRn));o||(c=VX(t,i.Kc().Pb()),a.Fc(c))}return f5(n,fsn(n,t,e),a)}(this.c,this.b,n,t)},Fjn.Gc=function(n){return TO(this,n)},Fjn.Xh=function(n,t){!function(n,t,e,i){n.j=-1,Afn(n,fsn(n,t,e),(TT(),Yx(t,66).Mj().Ok(i)))}(this.c,this.b,n,t)},Fjn.lk=function(n,t){return Ydn(this.c,this.b,n,t)},Fjn.pi=function(n){return amn(this.c,this.b,n,!1)},Fjn.Zh=function(){return mC(this.c,this.b)},Fjn.$h=function(){return n=this.c,new Y3(this.b,n);var n},Fjn._h=function(n){return function(n,t,e){var i,r;for(r=new Y3(t,n),i=0;i0)if((i-=r.length-t)>=0){for(c.a+="0.";i>rFn.length;i-=rFn.length)ER(c,rFn);QL(c,rFn,oG(i)),yI(c,r.substr(t))}else yI(c,l$(r,t,oG(i=t-i))),c.a+=".",yI(c,lI(r,oG(i)));else{for(yI(c,r.substr(t));i<-rFn.length;i+=rFn.length)ER(c,rFn);QL(c,rFn,oG(-i))}return c.a}(Yx(t,240));case 15:case 14:return null==t?null:function(n){return n==JTn?QRn:n==ZTn?"-INF":""+n}(ty(fL(t)));case 17:return yan((ayn(),t));case 18:return yan(t);case 21:case 20:return null==t?null:function(n){return n==JTn?QRn:n==ZTn?"-INF":""+n}(Yx(t,155).a);case 27:return oL(Yx(t,190));case 30:return Yin((ayn(),Yx(t,15)));case 31:return Yin(Yx(t,15));case 40:case 59:case 48:return function(n){return null==n?null:I7(n)}((ayn(),t));case 42:return kan((ayn(),t));case 43:return kan(t);default:throw hp(new Qm(ONn+n.ne()+ANn))}},Fjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=i1(n))?Ren(t.Mh(),n):-1),n.G){case 0:return new Qv;case 1:return new Rs;case 2:return new Jv;case 3:return new Yv;default:throw hp(new Qm(NNn+n.zb+ANn))}},Fjn.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return sen(t);case 8:case 7:return null==t?null:function(n){if(n=Vvn(n,!0),KN(kLn,n)||KN("1",n))return TA(),LKn;if(KN(jLn,n)||KN("0",n))return TA(),$Kn;throw hp(new fy("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:iZ(ipn((i=Vvn(t,!0)).length>0&&(Lz(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:iZ(ipn((r=Vvn(t,!0)).length>0&&(Lz(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return lL(fjn(this,(ayn(),Dut),t));case 12:return lL(fjn(this,(ayn(),Rut),t));case 13:return null==t?null:new Wk(Vvn(t,!0));case 15:case 14:return function(n){var t,e,i,r;if(null==n)return null;if(i=Vvn(n,!0),r=QRn.length,KN(i.substr(i.length-r,r),QRn))if(4==(e=i.length)){if(Lz(0,i.length),43==(t=i.charCodeAt(0)))return iot;if(45==t)return eot}else if(3==e)return iot;return gon(i)}(t);case 16:return lL(fjn(this,(ayn(),_ut),t));case 17:return Qnn((ayn(),t));case 18:return Qnn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Vvn(t,!0);case 21:case 20:return function(n){var t,e,i,r;if(null==n)return null;if(i=Vvn(n,!0),r=QRn.length,KN(i.substr(i.length-r,r),QRn))if(4==(e=i.length)){if(Lz(0,i.length),43==(t=i.charCodeAt(0)))return cot;if(45==t)return rot}else if(3==e)return cot;return new Vp(i)}(t);case 22:return lL(fjn(this,(ayn(),Kut),t));case 23:return lL(fjn(this,(ayn(),Fut),t));case 24:return lL(fjn(this,(ayn(),But),t));case 25:return lL(fjn(this,(ayn(),Hut),t));case 26:return lL(fjn(this,(ayn(),qut),t));case 27:return ztn(t);case 30:return Ynn((ayn(),t));case 31:return Ynn(t);case 32:return null==t?null:d9(ipn((h=Vvn(t,!0)).length>0&&(Lz(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,nTn,Yjn));case 33:return null==t?null:new IC((f=Vvn(t,!0)).length>0&&(Lz(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:d9(ipn((l=Vvn(t,!0)).length>0&&(Lz(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,nTn,Yjn));case 36:return null==t?null:ytn(mkn((b=Vvn(t,!0)).length>0&&(Lz(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:ytn(mkn((w=Vvn(t,!0)).length>0&&(Lz(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:case 59:case 48:return function(n){var t;return null==n?null:new IC((t=Vvn(n,!0)).length>0&&(Lz(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}((ayn(),t));case 42:return Jnn((ayn(),t));case 43:return Jnn(t);case 44:return null==t?null:new IC((d=Vvn(t,!0)).length>0&&(Lz(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new IC((g=Vvn(t,!0)).length>0&&(Lz(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return Vvn(t,!1);case 47:return lL(fjn(this,(ayn(),Gut),t));case 49:return lL(fjn(this,(ayn(),Uut),t));case 50:return null==t?null:g9(ipn((p=Vvn(t,!0)).length>0&&(Lz(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,fRn,32767)<<16>>16);case 51:return null==t?null:g9(ipn((c=Vvn(t,!0)).length>0&&(Lz(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,fRn,32767)<<16>>16);case 53:return lL(fjn(this,(ayn(),Vut),t));case 55:return null==t?null:g9(ipn((a=Vvn(t,!0)).length>0&&(Lz(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,fRn,32767)<<16>>16);case 56:return null==t?null:g9(ipn((u=Vvn(t,!0)).length>0&&(Lz(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,fRn,32767)<<16>>16);case 57:return null==t?null:ytn(mkn((o=Vvn(t,!0)).length>0&&(Lz(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:ytn(mkn((s=Vvn(t,!0)).length>0&&(Lz(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:d9(ipn((e=Vvn(t,!0)).length>0&&(Lz(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,nTn,Yjn));case 61:return null==t?null:d9(ipn(Vvn(t,!0),nTn,Yjn));default:throw hp(new Qm(ONn+n.ne()+ANn))}},EF(VRn,"XMLTypeFactoryImpl",1919),Wfn(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},AB),Fjn.N=!1,Fjn.O=!1;var sot,hot,fot,lot,bot,wot=!1;EF(VRn,"XMLTypePackageImpl",586),Wfn(1852,1,{837:1},_s),Fjn._j=function(){return Fpn(),Kot},EF(VRn,"XMLTypePackageImpl/1",1852),Wfn(1861,1,TRn,Ks),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/10",1861),Wfn(1862,1,TRn,Fs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/11",1862),Wfn(1863,1,TRn,Bs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/12",1863),Wfn(1864,1,TRn,Hs),Fjn.wj=function(n){return cI(n)},Fjn.xj=function(n){return VQ(HKn,TEn,333,n,7,1)},EF(VRn,"XMLTypePackageImpl/13",1864),Wfn(1865,1,TRn,qs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/14",1865),Wfn(1866,1,TRn,Gs),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(J_n,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/15",1866),Wfn(1867,1,TRn,zs),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(J_n,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/16",1867),Wfn(1868,1,TRn,Us),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/17",1868),Wfn(1869,1,TRn,Xs),Fjn.wj=function(n){return CO(n,155)},Fjn.xj=function(n){return VQ(qKn,TEn,155,n,0,1)},EF(VRn,"XMLTypePackageImpl/18",1869),Wfn(1870,1,TRn,Ws),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/19",1870),Wfn(1853,1,TRn,Vs),Fjn.wj=function(n){return CO(n,843)},Fjn.xj=function(n){return VQ(Cut,iEn,843,n,0,1)},EF(VRn,"XMLTypePackageImpl/2",1853),Wfn(1871,1,TRn,Qs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/20",1871),Wfn(1872,1,TRn,Ys),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/21",1872),Wfn(1873,1,TRn,Js),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/22",1873),Wfn(1874,1,TRn,Zs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/23",1874),Wfn(1875,1,TRn,nh),Fjn.wj=function(n){return CO(n,190)},Fjn.xj=function(n){return VQ(Yot,TEn,190,n,0,2)},EF(VRn,"XMLTypePackageImpl/24",1875),Wfn(1876,1,TRn,th),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/25",1876),Wfn(1877,1,TRn,eh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/26",1877),Wfn(1878,1,TRn,ih),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(J_n,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/27",1878),Wfn(1879,1,TRn,rh),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(J_n,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/28",1879),Wfn(1880,1,TRn,ch),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/29",1880),Wfn(1854,1,TRn,ah),Fjn.wj=function(n){return CO(n,667)},Fjn.xj=function(n){return VQ(aot,iEn,2021,n,0,1)},EF(VRn,"XMLTypePackageImpl/3",1854),Wfn(1881,1,TRn,uh),Fjn.wj=function(n){return CO(n,19)},Fjn.xj=function(n){return VQ(UKn,TEn,19,n,0,1)},EF(VRn,"XMLTypePackageImpl/30",1881),Wfn(1882,1,TRn,oh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/31",1882),Wfn(1883,1,TRn,sh),Fjn.wj=function(n){return CO(n,162)},Fjn.xj=function(n){return VQ(JKn,TEn,162,n,0,1)},EF(VRn,"XMLTypePackageImpl/32",1883),Wfn(1884,1,TRn,hh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/33",1884),Wfn(1885,1,TRn,fh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/34",1885),Wfn(1886,1,TRn,lh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/35",1886),Wfn(1887,1,TRn,bh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/36",1887),Wfn(1888,1,TRn,wh),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(J_n,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/37",1888),Wfn(1889,1,TRn,dh),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(J_n,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/38",1889),Wfn(1890,1,TRn,gh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/39",1890),Wfn(1855,1,TRn,ph),Fjn.wj=function(n){return CO(n,668)},Fjn.xj=function(n){return VQ(uot,iEn,2022,n,0,1)},EF(VRn,"XMLTypePackageImpl/4",1855),Wfn(1891,1,TRn,vh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/40",1891),Wfn(1892,1,TRn,mh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/41",1892),Wfn(1893,1,TRn,yh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/42",1893),Wfn(1894,1,TRn,kh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/43",1894),Wfn(1895,1,TRn,jh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/44",1895),Wfn(1896,1,TRn,Eh),Fjn.wj=function(n){return CO(n,184)},Fjn.xj=function(n){return VQ(nFn,TEn,184,n,0,1)},EF(VRn,"XMLTypePackageImpl/45",1896),Wfn(1897,1,TRn,Th),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/46",1897),Wfn(1898,1,TRn,Mh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/47",1898),Wfn(1899,1,TRn,Sh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/48",1899),Wfn(TTn,1,TRn,Ph),Fjn.wj=function(n){return CO(n,184)},Fjn.xj=function(n){return VQ(nFn,TEn,184,n,0,1)},EF(VRn,"XMLTypePackageImpl/49",TTn),Wfn(1856,1,TRn,Ih),Fjn.wj=function(n){return CO(n,669)},Fjn.xj=function(n){return VQ(oot,iEn,2023,n,0,1)},EF(VRn,"XMLTypePackageImpl/5",1856),Wfn(1901,1,TRn,Ch),Fjn.wj=function(n){return CO(n,162)},Fjn.xj=function(n){return VQ(JKn,TEn,162,n,0,1)},EF(VRn,"XMLTypePackageImpl/50",1901),Wfn(1902,1,TRn,Oh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/51",1902),Wfn(1903,1,TRn,Ah),Fjn.wj=function(n){return CO(n,19)},Fjn.xj=function(n){return VQ(UKn,TEn,19,n,0,1)},EF(VRn,"XMLTypePackageImpl/52",1903),Wfn(1857,1,TRn,$h),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/6",1857),Wfn(1858,1,TRn,Lh),Fjn.wj=function(n){return CO(n,190)},Fjn.xj=function(n){return VQ(Yot,TEn,190,n,0,2)},EF(VRn,"XMLTypePackageImpl/7",1858),Wfn(1859,1,TRn,Nh),Fjn.wj=function(n){return rI(n)},Fjn.xj=function(n){return VQ(DKn,TEn,476,n,8,1)},EF(VRn,"XMLTypePackageImpl/8",1859),Wfn(1860,1,TRn,xh),Fjn.wj=function(n){return CO(n,217)},Fjn.xj=function(n){return VQ(KKn,TEn,217,n,0,1)},EF(VRn,"XMLTypePackageImpl/9",1860),Wfn(50,60,eTn,wy),EF(k_n,"RegEx/ParseException",50),Wfn(820,1,{},Dh),Fjn.sl=function(n){return n16*e)throw hp(new wy(_jn((GC(),iDn))));e=16*e+r}if(125!=this.a)throw hp(new wy(_jn((GC(),rDn))));if(e>j_n)throw hp(new wy(_jn((GC(),cDn))));n=e}else{if(r=0,0!=this.c||(r=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(e=r,kjn(this),0!=this.c||(r=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));n=e=16*e+r}break;case 117:if(i=0,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));n=t=16*t+i;break;case 118:if(kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(_jn((GC(),eDn))));if((t=16*t+i)>j_n)throw hp(new wy(_jn((GC(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw hp(new wy(_jn((GC(),aDn))))}return n},Fjn.ul=function(n){var t;switch(n){case 100:t=32==(32&this.e)?Gkn("Nd",!0):(Ljn(),jot);break;case 68:t=32==(32&this.e)?Gkn("Nd",!1):(Ljn(),Pot);break;case 119:t=32==(32&this.e)?Gkn("IsWord",!0):(Ljn(),Dot);break;case 87:t=32==(32&this.e)?Gkn("IsWord",!1):(Ljn(),Cot);break;case 115:t=32==(32&this.e)?Gkn("IsSpace",!0):(Ljn(),Aot);break;case 83:t=32==(32&this.e)?Gkn("IsSpace",!1):(Ljn(),Iot);break;default:throw hp(new Im(E_n+n.toString(16)))}return t},Fjn.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,kjn(this),t=null,0==this.c&&94==this.a?(kjn(this),n?(Ljn(),Ljn(),s=new cU(5)):(Ljn(),Ljn(),zwn(t=new cU(4),0,j_n),s=new cU(4))):(Ljn(),Ljn(),s=new cU(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:fmn(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=Hhn(this,e)))throw hp(new wy(_jn((GC(),zxn))));fmn(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=b$(this.i,58,this.d))<0)throw hp(new wy(_jn((GC(),Uxn))));if(a=!0,94==XB(this.i,this.d)&&(++this.d,a=!1),!(u=bY(l$(this.i,this.d,c),a,512==(512&this.e))))throw hp(new wy(_jn((GC(),Wxn))));if(fmn(s,u),i=!0,c+1>=this.j||93!=XB(this.i,c+1))throw hp(new wy(_jn((GC(),Uxn))));this.d=c+2}if(kjn(this),!i)if(0!=this.c||45!=this.a)zwn(s,e,e);else{if(kjn(this),1==(f=this.c))throw hp(new wy(_jn((GC(),Xxn))));0==f&&93==this.a?(zwn(s,e,e),zwn(s,45,45)):(o=this.a,10==f&&(o=this.tl()),kjn(this),zwn(s,e,o))}(this.e&DNn)==DNn&&0==this.c&&44==this.a&&kjn(this)}if(1==this.c)throw hp(new wy(_jn((GC(),Xxn))));return t&&(Kyn(t,s),s=t),xln(s),Lmn(s),this.b=0,kjn(this),s},Fjn.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw hp(new wy(_jn((GC(),nDn))));if(kjn(this),9!=this.c)throw hp(new wy(_jn((GC(),Zxn))));if(t=this.vl(!1),4==i)fmn(e,t);else if(45==n)Kyn(e,t);else{if(38!=n)throw hp(new Im("ASSERT"));Eyn(e,t)}}return kjn(this),e},Fjn.xl=function(){var n,t;return n=this.a-48,Ljn(),Ljn(),t=new nG(12,null,n),!this.g&&(this.g=new Jp),Up(this.g,new Zg(n)),kjn(this),t},Fjn.yl=function(){return kjn(this),Ljn(),$ot},Fjn.zl=function(){return kjn(this),Ljn(),Oot},Fjn.Al=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Bl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Cl=function(){return kjn(this),r6()},Fjn.Dl=function(){return kjn(this),Ljn(),Not},Fjn.El=function(){return kjn(this),Ljn(),Rot},Fjn.Fl=function(){var n;if(this.d>=this.j||64!=(65504&(n=XB(this.i,this.d++))))throw hp(new wy(_jn((GC(),Bxn))));return kjn(this),Ljn(),Ljn(),new BR(0,n-64)},Fjn.Gl=function(){return kjn(this),function(){var n,t,e,i,r,c;if(Ljn(),qot)return qot;for(fmn(n=new cU(4),Gkn($_n,!0)),Kyn(n,Gkn("M",!0)),Kyn(n,Gkn("C",!0)),c=new cU(4),i=0;i<11;i++)zwn(c,i,i);return fmn(t=new cU(4),Gkn("M",!0)),zwn(t,4448,4607),zwn(t,65438,65439),Rmn(r=new HC(2),n),Rmn(r,Tot),(e=new HC(2)).$l(VR(c,Gkn("L",!0))),e.$l(t),e=new tF(r,e=new cW(3,e)),qot=e}()},Fjn.Hl=function(){return kjn(this),Ljn(),_ot},Fjn.Il=function(){var n;return Ljn(),Ljn(),n=new BR(0,105),kjn(this),n},Fjn.Jl=function(){return kjn(this),Ljn(),xot},Fjn.Kl=function(){return kjn(this),Ljn(),Lot},Fjn.Ll=function(n,t){return this.tl()},Fjn.Ml=function(){return kjn(this),Ljn(),Mot},Fjn.Nl=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw hp(new wy(_jn((GC(),_xn))));if(i=-1,t=null,49<=(n=XB(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new Jp),Up(this.g,new Zg(i)),++this.d,41!=XB(this.i,this.d))throw hp(new wy(_jn((GC(),xxn))));++this.d}else switch(63==n&&--this.d,kjn(this),(t=ujn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw hp(new wy(_jn((GC(),xxn))));break;default:throw hp(new wy(_jn((GC(),Kxn))))}if(kjn(this),e=null,2==(r=etn(this)).e){if(2!=r.em())throw hp(new wy(_jn((GC(),Fxn))));e=r.am(1),r=r.am(0)}if(7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),Ljn(),Ljn(),new nZ(i,t,r,e)},Fjn.Ol=function(){return kjn(this),Ljn(),Sot},Fjn.Pl=function(){var n;if(kjn(this),n=TK(24,etn(this)),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Ql=function(){var n;if(kjn(this),n=TK(20,etn(this)),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Rl=function(){var n;if(kjn(this),n=TK(22,etn(this)),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw hp(new wy(_jn((GC(),Dxn))));if(45==t){for(++this.d;this.d=this.j)throw hp(new wy(_jn((GC(),Dxn))))}if(58==t){if(++this.d,kjn(this),i=xF(etn(this),n,e),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));kjn(this)}else{if(41!=t)throw hp(new wy(_jn((GC(),Rxn))));++this.d,kjn(this),i=xF(etn(this),n,e)}return i},Fjn.Tl=function(){var n;if(kjn(this),n=TK(21,etn(this)),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Ul=function(){var n;if(kjn(this),n=TK(23,etn(this)),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Vl=function(){var n,t;if(kjn(this),n=this.f++,t=MK(etn(this),n),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),t},Fjn.Wl=function(){var n;if(kjn(this),n=MK(etn(this),0),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Xl=function(n){return kjn(this),5==this.c?(kjn(this),VR(n,(Ljn(),Ljn(),new cW(9,n)))):VR(n,(Ljn(),Ljn(),new cW(3,n)))},Fjn.Yl=function(n){var t;return kjn(this),Ljn(),Ljn(),t=new HC(2),5==this.c?(kjn(this),Rmn(t,Tot),Rmn(t,n)):(Rmn(t,n),Rmn(t,Tot)),t},Fjn.Zl=function(n){return kjn(this),5==this.c?(kjn(this),Ljn(),Ljn(),new cW(9,n)):(Ljn(),Ljn(),new cW(3,n))},Fjn.a=0,Fjn.b=0,Fjn.c=0,Fjn.d=0,Fjn.e=0,Fjn.f=1,Fjn.g=null,Fjn.j=0,EF(k_n,"RegEx/RegexParser",820),Wfn(1824,820,{},Zv),Fjn.sl=function(n){return!1},Fjn.tl=function(){return Tdn(this)},Fjn.ul=function(n){return rpn(n)},Fjn.vl=function(n){return Ejn(this)},Fjn.wl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.xl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.yl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.zl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Al=function(){return kjn(this),rpn(67)},Fjn.Bl=function(){return kjn(this),rpn(73)},Fjn.Cl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Dl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.El=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Fl=function(){return kjn(this),rpn(99)},Fjn.Gl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Hl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Il=function(){return kjn(this),rpn(105)},Fjn.Jl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Kl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Ll=function(n,t){return fmn(n,rpn(t)),-1},Fjn.Ml=function(){return kjn(this),Ljn(),Ljn(),new BR(0,94)},Fjn.Nl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Ol=function(){return kjn(this),Ljn(),Ljn(),new BR(0,36)},Fjn.Pl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Ql=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Rl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Sl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Tl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Ul=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Vl=function(){var n;if(kjn(this),n=MK(etn(this),0),7!=this.c)throw hp(new wy(_jn((GC(),xxn))));return kjn(this),n},Fjn.Wl=function(){throw hp(new wy(_jn((GC(),uDn))))},Fjn.Xl=function(n){return kjn(this),VR(n,(Ljn(),Ljn(),new cW(3,n)))},Fjn.Yl=function(n){var t;return kjn(this),Ljn(),Ljn(),Rmn(t=new HC(2),n),Rmn(t,Tot),t},Fjn.Zl=function(n){return kjn(this),Ljn(),Ljn(),new cW(3,n)};var dot=null,got=null;EF(k_n,"RegEx/ParserForXMLSchema",1824),Wfn(117,1,x_n,np),Fjn.$l=function(n){throw hp(new Im("Not supported."))},Fjn._l=function(){return-1},Fjn.am=function(n){return null},Fjn.bm=function(){return null},Fjn.cm=function(n){},Fjn.dm=function(n){},Fjn.em=function(){return 0},Fjn.Ib=function(){return this.fm(0)},Fjn.fm=function(n){return 11==this.e?".":""},Fjn.e=0;var pot,vot,mot,yot,kot,jot,Eot,Tot,Mot,Sot,Pot,Iot,Cot,Oot,Aot,$ot,Lot,Not,xot,Dot,Rot,_ot,Kot,Fot,Bot=null,Hot=null,qot=null,Got=EF(k_n,"RegEx/Token",117);Wfn(136,117,{3:1,136:1,117:1},cU),Fjn.fm=function(n){var t,e,i;if(4==this.e)if(this==Eot)e=".";else if(this==jot)e="\\d";else if(this==Dot)e="\\w";else if(this==Aot)e="\\s";else{for((i=new Cy).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?pI(i,jvn(this.b[t])):(pI(i,jvn(this.b[t])),i.a+="-",pI(i,jvn(this.b[t+1])));i.a+="]",e=i.a}else if(this==Pot)e="\\D";else if(this==Cot)e="\\W";else if(this==Iot)e="\\S";else{for((i=new Cy).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?pI(i,jvn(this.b[t])):(pI(i,jvn(this.b[t])),i.a+="-",pI(i,jvn(this.b[t+1])));i.a+="]",e=i.a}return e},Fjn.a=!1,Fjn.c=!1,EF(k_n,"RegEx/RangeToken",136),Wfn(584,1,{584:1},Zg),Fjn.a=0,EF(k_n,"RegEx/RegexParser/ReferencePosition",584),Wfn(583,1,{3:1,583:1},Mj),Fjn.Fb=function(n){var t;return null!=n&&!!CO(n,583)&&(t=Yx(n,583),KN(this.b,t.b)&&this.a==t.a)},Fjn.Hb=function(){return Xen(this.b+"/"+fwn(this.a))},Fjn.Ib=function(){return this.c.fm(this.a)},Fjn.a=0,EF(k_n,"RegEx/RegularExpression",583),Wfn(223,117,x_n,BR),Fjn._l=function(){return this.a},Fjn.fm=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="\\"+iN(this.a&fTn);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>=eMn?"\\v"+l$(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+iN(this.a&fTn)}break;case 8:e=this==Mot||this==Sot?""+iN(this.a&fTn):"\\"+iN(this.a&fTn);break;default:e=null}return e},Fjn.a=0,EF(k_n,"RegEx/Token/CharToken",223),Wfn(309,117,x_n,cW),Fjn.am=function(n){return this.a},Fjn.cm=function(n){this.b=n},Fjn.dm=function(n){this.c=n},Fjn.em=function(){return 1},Fjn.fm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw hp(new Im("Token#toString(): CLOSURE "+this.c+tEn+this.b));t=this.a.fm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw hp(new Im("Token#toString(): NONGREEDYCLOSURE "+this.c+tEn+this.b));t=this.a.fm(n)+"{"+this.c+",}?"}return t},Fjn.b=0,Fjn.c=0,EF(k_n,"RegEx/Token/ClosureToken",309),Wfn(821,117,x_n,tF),Fjn.am=function(n){return 0==n?this.a:this.b},Fjn.em=function(){return 2},Fjn.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},EF(k_n,"RegEx/Token/ConcatToken",821),Wfn(1822,117,x_n,nZ),Fjn.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw hp(new Im("Internal Error: "+n))},Fjn.em=function(){return this.b?2:1},Fjn.fm=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},Fjn.c=0,EF(k_n,"RegEx/Token/ConditionToken",1822),Wfn(1823,117,x_n,rU),Fjn.am=function(n){return this.b},Fjn.em=function(){return 1},Fjn.fm=function(n){return"(?"+(0==this.a?"":fwn(this.a))+(0==this.c?"":fwn(this.c))+":"+this.b.fm(n)+")"},Fjn.a=0,Fjn.c=0,EF(k_n,"RegEx/Token/ModifierToken",1823),Wfn(822,117,x_n,rB),Fjn.am=function(n){return this.a},Fjn.em=function(){return 1},Fjn.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},Fjn.b=0,EF(k_n,"RegEx/Token/ParenToken",822),Wfn(521,117,{3:1,117:1,521:1},nG),Fjn.bm=function(){return this.b},Fjn.fm=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 Oy,i>0&&pI(t,n.substr(0,i))),t.a+="\\",_F(t,e&fTn)):t&&_F(t,e&fTn);return t?t.a:n}(this.b)},Fjn.a=0,EF(k_n,"RegEx/Token/StringToken",521),Wfn(465,117,x_n,HC),Fjn.$l=function(n){Rmn(this,n)},Fjn.am=function(n){return Yx(lB(this.a,n),117)},Fjn.em=function(){return this.a?this.a.a.c.length:0},Fjn.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=Yx(lB(this.a,0),117),r=3==(e=Yx(lB(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(c=new Cy,i=0;i=n.c.b:n.a<=n.c.b))throw hp(new _p);return t=n.a,n.a+=n.c.c,++n.b,d9(t)}(this)},Fjn.Ub=function(){return function(n){if(n.b<=0)throw hp(new _p);return--n.b,n.a-=n.c.c,d9(n.a)}(this)},Fjn.Wb=function(n){Yx(n,19),function(){throw hp(new sy(F_n))}()},Fjn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Fjn.Sb=function(){return this.b>0},Fjn.Tb=function(){return this.b},Fjn.Vb=function(){return this.b-1},Fjn.Qb=function(){throw hp(new sy(B_n))},Fjn.a=0,Fjn.b=0,EF(__n,"ExclusiveRange/RangeIterator",254);var zot,Uot,Xot=MB(HDn,"C"),Wot=MB(zDn,"I"),Vot=MB(Xjn,"Z"),Qot=MB(UDn,"J"),Yot=MB(BDn,"B"),Jot=MB(qDn,"D"),Zot=MB(GDn,"F"),nst=MB(XDn,"S"),tst=aR("org.eclipse.elk.core.labels","ILabelManager"),est=aR(exn,"DiagnosticChain"),ist=aR(SRn,"ResourceSet"),rst=EF(exn,"InvocationTargetException",null),cst=(Ky(),function(n){return Ky(),function(){return sX(n,this,arguments)}}),ast=ast=function(n,t,e,i){Cj();var r=Hjn;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)},3366:function(n,t,e){"use strict";e.d(t,{diagram:function(){return v}});var i=e(6320),r=e(7274),c=e(580),a=e(8454),u=e(7295);e(7484),e(7967),e(7856);const o=new u;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,a.l.info("abc88",e,t,n),i[e][t][n]},b=(n,t,e)=>{if(a.l.info("getNextPort abc88",{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,u){const o=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+o.x,n.y+o.y])),b=[[s.x+o.x,s.y+o.y],...l,[h.x+o.x,h.y+o.y]],{x:w,y:d}=(0,c.j)(t.edgeData),g=(0,r.jvg)().x(w).y(d).curve(r.c_6),p=n.insert("path").attr("d",g(b)).attr("class","path "+e.classes).attr("fill","none"),v=n.insert("g").attr("class","edgeLabel"),m=(0,r.Ys)(v.node().appendChild(t.labelEl)),y=m.node().firstChild.getBoundingClientRect();m.attr("width",y.width),m.attr("height",y.height),v.attr("transform",`translate(${t.labels[0].x+o.x}, ${t.labels[0].y+o.y})`),function(n,t,e,i,r){let c="";switch(i&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),t.arrowTypeStart){case"arrow_cross":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-crossStart)");break;case"arrow_point":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-pointStart)");break;case"arrow_barb":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-barbStart)");break;case"arrow_circle":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-circleStart)");break;case"aggregation":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-aggregationStart)");break;case"extension":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-extensionStart)");break;case"composition":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-compositionStart)");break;case"dependency":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-dependencyStart)");break;case"lollipop":n.attr("marker-start","url("+c+"#"+r+"_"+e+"-lollipopStart)")}switch(t.arrowTypeEnd){case"arrow_cross":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-crossEnd)");break;case"arrow_point":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-pointEnd)");break;case"arrow_barb":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-barbEnd)");break;case"arrow_circle":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-circleEnd)");break;case"aggregation":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-aggregationEnd)");break;case"extension":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-extensionEnd)");break;case"composition":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-compositionEnd)");break;case"dependency":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-dependencyEnd)");break;case"lollipop":n.attr("marker-end","url("+c+"#"+r+"_"+e+"-lollipopEnd)")}}(p,e,i.type,i.arrowMarkerAbsolute,u)},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,u)=>{e.forEach((function(e){if(e)if(f[e.id].offset={posX:e.x+n,posY:e.y+t,x:n,y:t,depth:u,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-"+u%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"),o=(0,a.c)().flowchart.htmlLabels?e.labelData.width/2:0;c.attr("transform",`translate(${e.labels[0].x+n+e.x+o}, ${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,u+1)}))},p={getClasses:function(n,t){return a.l.info("Extracting classes"),t.db.getClasses()},draw:async function(n,t,e,i){var u;f={},s={};const l=(0,r.Ys)("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",o),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:v,flowchart:m}=(0,a.c)();let y;"sandbox"===v&&(y=(0,r.Ys)("#i"+t));const k="sandbox"===v?(0,r.Ys)(y.nodes()[0].contentDocument.body):(0,r.Ys)("body"),j="sandbox"===v?y.nodes()[0].contentDocument:document,E=k.select(`[id="${t}"]`);(0,c.a)(E,["point","circle","cross"],i.type,t);const T=i.db.getVertices();let M;const S=i.db.getSubGraphs();a.l.info("Subgraphs - ",S);for(let n=S.length-1;n>=0;n--)M=S[n],i.db.addVertex(M.id,{text:M.title,type:M.labelType},"group",void 0,M.classes,M.dir);const P=E.insert("g").attr("class","subgraphs"),I=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,u,o){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 o="default";e.classes.length>0&&(o=e.classes.join(" ")),o+=" 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 v={labelStyle:h.labelStyle,shape:g,labelText:l,labelType:e.labelType,rx:d,ry:d,class:o,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.c)().flowchart.padding};let m,y;if("group"!==v.type)y=await(0,c.e)(s,v,e.dir),m=y.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:n,bbox:t}=await(0,c.l)(s,v,void 0,!0);b.width=t.width,b.wrappingWidth=(0,a.c)().flowchart.wrappingWidth,b.height=t.height,b.labelNode=n.node(),v.labelData=b}const k={id:e.id,ports:"diamond"===e.type?w:[],layoutOptions:p,labelText:l,labelData:b,domId:r.db.lookUpDomId(e.id),width:null==m?void 0:m.width,height:null==m?void 0:m.height,type:e.type,el:y,parent:u.parentById[e.id]};f[v.id]=k}))),o}(T,t,k,j,i,I,p);const C=E.insert("g").attr("class","edges edgePath"),O=i.db.getEdges();p=function(n,t,e,i){a.l.info("abc78 edges = ",n);const u=i.insert("g").attr("class","edgeLabels");let o,s,l={},w=t.db.getDirection();if(void 0!==n.defaultStyle){const t=(0,a.k)(n.defaultStyle);o=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,v={style:"",labelStyle:""};switch(v.minlen=t.length||1,"arrow_open"===t.type?v.arrowhead="none":v.arrowhead="normal",v.arrowTypeStart="arrow_open",v.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":v.arrowTypeStart="arrow_cross";case"arrow_cross":v.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":v.arrowTypeStart="arrow_point";case"arrow_point":v.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":v.arrowTypeStart="arrow_circle";case"arrow_circle":v.arrowTypeEnd="arrow_circle"}let m="",y="";switch(t.stroke){case"normal":m="fill:none;",void 0!==o&&(m=o),void 0!==s&&(y=s),v.thickness="normal",v.pattern="solid";break;case"dotted":v.thickness="normal",v.pattern="dotted",v.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v.thickness="thick",v.pattern="solid",v.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=(0,a.k)(t.style);m=n.style,y=n.labelStyle}v.style=v.style+=m,v.labelStyle=v.labelStyle+=y,void 0!==t.interpolate?v.curve=(0,a.n)(t.interpolate,r.c_6):void 0!==n.defaultInterpolate?v.curve=(0,a.n)(n.defaultInterpolate,r.c_6):v.curve=(0,a.n)(h.curve,r.c_6),void 0===t.text?void 0!==t.style&&(v.arrowheadStyle="fill: #333"):(v.arrowheadStyle="fill: #333",v.labelpos="c"),v.labelType=t.labelType,v.label=t.text.replace(a.e.lineBreakRegex,"\n"),void 0===t.style&&(v.style=v.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),v.labelStyle=v.labelStyle.replace("color:","fill:"),v.id=d,v.classes="flowchart-link "+g+" "+p;const k=(0,c.f)(u,v),{source:j,target:E,sourceId:T,targetId:M}=((n,t)=>{let e=n.start,i=n.end;const r=e,c=i,a=f[e],u=f[i];return a&&u?("diamond"===a.type&&(e=`${e}-${b(e,"out",t)}`),"diamond"===u.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",j,E),e.edges.push({id:"e"+t.start+t.end,sources:[j],targets:[E],sourceId:T,targetId:M,labelEl:k,labels:[{width:v.width,height:v.height,orgWidth:v.width,orgHeight:v.height,text:v.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:v})})),e}(O,i,p,E),Object.keys(f).forEach((n=>{const t=f[n];t.parent||p.children.push(t),void 0!==I.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,I),a.l.info("after layout",JSON.stringify(p,null,2));const A=await o.layout(p);g(0,0,A.children,E,P,i,0),a.l.info("after layout",A),null==(u=A.edges)||u.map((n=>{w(C,n,n.edgeData,i,I,t)})),(0,a.o)({},E,m.diagramPadding,m.useMaxWidth),l.remove()}},v={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/docs/themes/hugo-geekdoc/static/js/411-d351386b.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/411-d351386b.chunk.min.js new file mode 100644 index 00000000..abd825b9 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/411-d351386b.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[411],{5411:function(t,e,a){a.d(e,{diagram:function(){return f}});var r=a(6281),i=a(7274),n=a(3771),d=a(5625),o=a(8454);a(7484),a(7967),a(7856);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.v)(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,u;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){u=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 y=d.node().getBBox();var b=" ";e.cssClasses.length>0&&(b+=e.cssClasses.join(" "));const k=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*a.padding).attr("height",y.height+a.padding+.5*a.dividerMargin).attr("class",b).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(k-t.getBBox().width)/2)})),e.tooltip&&s.insert("title").text(e.tooltip),f&&f.attr("x2",k),u&&u.attr("x2",k),n.width=k,n.height=y.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.Ys)("#i"+e));const x="sandbox"===h?(0,i.Ys)(f.nodes()[0].contentDocument.body):(0,i.Ys)("body"),u=x.select(`[id='${e}']`);var y;(y=u).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"),y.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"),y.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"),y.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"),y.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"),y.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"),y.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"),y.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 b=new d.k({multigraph:!0});b.setGraph({isMultiGraph:!0}),b.setDefaultEdgeLabel((function(){return{}}));const k=r.db.getClasses(),m=Object.keys(k);for(const t of m){const e=k[t],a=p(u,e,l,r);c[a.id]=a,b.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)),b.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,r){o.l.debug("Rendering note ",e,a);const i=e.id,n={id:i,text:e.text,width:0,height:0},d=t.append("g").attr("id",i).attr("class","classGroup");let s=d.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const l=JSON.parse(`"${e.text}"`).split("\n");l.forEach((function(t){o.l.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const p=d.node().getBBox(),c=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(c-t.getBBox().width)/2)})),n.width=c,n.height=p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin,n}(u,t,l);c[e.id]=e,b.setNode(e.id,e),t.class&&t.class in k&&b.setEdge(t.id,g(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,n.bK)(b),b.nodes().forEach((function(t){void 0!==t&&void 0!==b.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(b.node(t))),x.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(b.node(t).x-b.node(t).width/2)+","+(b.node(t).y-b.node(t).height/2)+" )"))})),b.edges().forEach((function(t){void 0!==t&&void 0!==b.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(b.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.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(i.$0Z),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 u,y,b,k,m=o.u.calcLabelPosition(e.points);if(g=m.x,h=m.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)),u=t.x,y=t.y,b=r.x,k=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",u).attr("y",y).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",b).attr("y",k).attr("fill","black").attr("font-size","6").text(a.relationTitle2),s++}(u,b.edge(t),b.edge(t).relation,l,r))}));const w=u.node().getBBox(),L=w.width+40,v=w.height+40;(0,o.i)(u,v,L,l.useMaxWidth);const E=`${w.x-20} ${w.y-20} ${L} ${v}`;o.l.debug(`viewBox ${E}`),u.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/docs/themes/hugo-geekdoc/static/js/425-a8288851.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/425-a8288851.chunk.min.js new file mode 100644 index 00000000..85c5d600 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/425-a8288851.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[425],{425:function(t,e,n){n.d(e,{diagram:function(){return W}});var a=n(8454),i=n(7274),s=n(3463),r=n(7967),l=(n(7484),n(7856),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],u=[1,68],p=[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],k=[1,40],O=[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],Y=[1,53],L=[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:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,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 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;i.push(p);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 k;for(_ in A=[],s[b])this.terminals_[_]&&_>2&&A.push("'"+this.terminals_[_]+"'");k=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(k,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,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,p=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=[""],u="global",p="",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(){return g},S={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=u,l.wrap=A()},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=u,s.wrap=A(),p=u,u=t,d.push(p)},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=A(),o.typeC4Shape={text:t},o.parentBoundary=u},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=u,s.wrap=A(),p=u,u=t,d.push(p)},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=A(),o.typeC4Shape={text:t},o.parentBoundary=u},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=u,o.wrap=A(),p=u,u=e,d.push(p)},popBoundaryParseStack:function(){u=p,d.pop(),p=d.pop(),d.push(p)},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=A()},updateElStyle:function(t,e,n,a,i,s,r,l,o,c,d){let u=h.find((t=>t.alias===e));if(void 0!==u||(u=y.find((t=>t.alias===e)),void 0!==u)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];u[t]=e}else u.bgColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]=e}else u.fontColor=a;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];u[t]=e}else u.borderColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]=e}else u.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];u[t]=e}else u.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.legendText=c;if(null!=d)if("object"==typeof d){let[t,e]=Object.entries(d)[0];u[t]=e}else u.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:A,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))},getBoundarys:function(t){return null==t?y:y.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return u},getParentBoundaryParse:function(){return p},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:""}],p="",u="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}},C=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:u}=c,p=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.Nm)(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 v=0,T=0,w=4,R=2;l.yy=S;let D={};class N{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,P(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>w)&&(e=this.nextData.startx+t.margin+D.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},P(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const P=function(t){(0,a.f)(D,t),t.fontFamily&&(D.personFontFamily=D.systemFontFamily=D.messageFontFamily=t.fontFamily),t.fontSize&&(D.personFontSize=D.systemFontSize=D.messageFontSize=t.fontSize),t.fontWeight&&(D.personFontWeight=D.systemFontWeight=D.messageFontWeight=t.fontWeight)},M=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),j=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function B(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=D.c4ShapeMargin-35;let i=e.wrap&&D.wrap,s=j(D);s.fontSize=s.fontSize+2,s.fontWeight="bold",B("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};C(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,D)},L=function(t,e,n,i){let s=0;for(const r of i){s=0;const i=n[r];let l=M(D,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=D.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&&D.wrap,c=D.width-2*D.c4ShapePadding,h=M(D,i.typeC4Shape.text);h.fontSize=h.fontSize+2,h.fontWeight="bold",B("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+"]",B("type",i,o,M(D,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+"]",B("techn",i,o,M(D,i.techn.text),c),i.techn.Y=s+5,s=i.techn.Y+i.techn.height);let d=s,u=i.label.width;i.descr&&""!==i.descr.text&&(B("descr",i,o,M(D,i.typeC4Shape.text),c),i.descr.Y=s+20,s=i.descr.Y+i.descr.height,u=Math.max(i.label.width,i.descr.width),d=s-5*i.descr.textLines),u+=D.c4ShapePadding,i.width=Math.max(i.width||D.width,u,D.width),i.height=Math.max(i.height||D.height,d,D.height),i.margin=i.margin||D.c4ShapeMargin,t.insert(i),O(e,i,D)}t.bumpLastMargin(D.c4ShapeMargin)};class I{constructor(t,e){this.x=t,this.y=e}}let U=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,u=null;return a==s&&ni?u=new I(n,l):n==i&&as&&(u=new I(r,a)),n>i&&a=h?new I(n,l+h*t.width/2):new I(r-o/c*t.height/2,a+t.height):n=h?new I(n+t.width,l+h*t.width/2):new I(r+o/c*t.height/2,a+t.height):ns?u=d>=h?new I(n+t.width,l-h*t.width/2):new I(r+t.height/2*o/c,a):n>i&&a>s&&(u=d>=h?new I(n,l-t.width/2*h):new I(r-t.height/2*o/c,a)),u},F=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=U(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:a,endPoint:U(e,n)}};function X(t,e,n,a,i){let s=new N(i);s.data.widthLimit=n.data.widthLimit/Math.min(R,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&&D.wrap,c=j(D);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",B("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+"]",B("type",l,o,j(D),s.data.widthLimit),l.type.Y=a+5,a=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=j(D);t.fontSize=t.fontSize-2,B("descr",l,o,t,s.data.widthLimit),l.descr.Y=a+20,a=l.descr.Y+l.descr.height}if(0==r||r%R==0){let t=n.data.startx+D.diagramMarginX,e=n.data.stopy+D.diagramMarginY+a;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+D.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&&L(s,t,h,d),e=l.alias;let u=i.db.getBoundarys(e);u.length>0&&X(t,e,s,u,i),"global"!==l.alias&&Y(t,l,s),n.data.stopy=Math.max(s.data.stopy+D.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(s.data.stopx+D.c4ShapeMargin,n.data.stopx),v=Math.max(v,n.data.stopx),T=Math.max(T,n.data.stopy)}}const z={drawPersonOrSystemArray:L,drawBoundary:Y,setConf:P,draw:function(t,e,n,s){D=(0,a.c)().c4;const r=(0,a.c)().securityLevel;let l;"sandbox"===r&&(l=(0,i.Ys)("#i"+e));const o="sandbox"===r?(0,i.Ys)(l.nodes()[0].contentDocument.body):(0,i.Ys)("body");let c=s.db;s.db.setWrap(D.wrap),w=c.getC4ShapeInRow(),R=c.getC4BoundaryInRow(),a.l.debug(`C:${JSON.stringify(D,null,2)}`);const h="sandbox"===r?o.select(`[id="${e}"]`):(0,i.Ys)(`[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 N(s);d.setData(D.diagramMarginX,D.diagramMarginX,D.diagramMarginY,D.diagramMarginY),d.data.widthLimit=screen.availWidth,v=D.diagramMarginX,T=D.diagramMarginY;const u=s.db.getTitle();X(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&&D.wrap,l={fontFamily:(r=D).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);B("label",t,e,l,o),t.techn&&""!==t.techn.text&&(o=(0,a.h)(t.techn.text,l),B("techn",t,e,l,o)),t.descr&&""!==t.descr.text&&(o=(0,a.h)(t.descr.text,l),B("descr",t,e,l,o));let c=n(t.from),h=n(t.to),d=F(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,D)}(h,s.db.getRels(),s.db.getC4Shape,s),d.data.stopx=v,d.data.stopy=T;const p=d.data;let y=p.stopy-p.starty+2*D.diagramMarginY;const f=p.stopx-p.startx+2*D.diagramMarginX;u&&h.append("text").text(u).attr("x",(p.stopx-p.startx)/2-4*D.diagramMarginX).attr("y",p.starty+D.diagramMarginY),(0,a.i)(h,y,f,D.useMaxWidth);const b=u?60:0;h.attr("viewBox",p.startx-D.diagramMarginX+" -"+(D.diagramMarginY+b)+" "+f+" "+(y+b)),a.l.debug("models:",p)}},W={parser:o,db:S,renderer:z,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:({c4:t,wrap:e})=>{z.setConf(t),S.setWrap(e)}}},3463:function(t,e,n){n.d(e,{a:function(){return r},b:function(){return c},c:function(){return o},d:function(){return s},e:function(){return d},f:function(){return l},g:function(){return h}});var a=n(7967),i=n(8454);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),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.H," "),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.Nm)(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.Nm)(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/docs/themes/hugo-geekdoc/static/js/554-980b1ae9.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/554-980b1ae9.chunk.min.js new file mode 100644 index 00000000..ff7a657b --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/554-980b1ae9.chunk.min.js @@ -0,0 +1 @@ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[554],{8734:function(t){t.exports=function(){"use strict";return 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)}}}()},285:function(t){t.exports=function(){"use strict";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,x=d||0;return u?new Date(Date.UTC(m,k,y,p,g,b,x+60*u.offset*1e3)):n?new Date(Date.UTC(m,k,y,p,g,b,x)):new Date(m,k,y,p,g,b,x)}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)}}}()},9542:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var s=function(e){return e.add(4-e.isoWeekday(),t)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);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,t));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)}}}()},1554:function(t,e,n){"use strict";n.d(e,{diagram:function(){return X}});var i=n(7967),s=n(7484),r=n(9542),a=n(285),o=n(8734),c=n(8454),l=n(7274),d=(n(7856),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],x=[1,21],T=[1,22],v=[1,24],_=[1,32],w={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:x,33:T,34:23,35:v,37:_},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:x,33:T,34:23,35:v,37:_},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,x,T,v,_,w={};;){if(k=e[e.length-1],this.defaultActions[k]?p=this.defaultActions[k]:(null==m&&(_=void 0,"number"!=typeof(_=n.pop()||d.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),m=_),p=r[k]&&r[k][m]),void 0===p||!p.length||!p[0]){var $;for(b in v=[],r[k])this.terminals_[b]&&b>2&&v.push("'"+this.terminals_[b]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+v.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:v})}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(x=this.productions_[p[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},y&&(w._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(g=this.performAction.apply(w,[a,c,o,u.yy,p[1],i,s].concat(l))))return g;x&&(e=e.slice(0,-1*x*2),i=i.slice(0,-1*x),s=s.slice(0,-1*x)),e.push(this.productions_[p[1]][0]),i.push(w.$),s.push(w._$),T=r[e[e.length-2]][e[e.length-1]],e.push(T);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 16:case 19:case 22:case 25:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:case 14:break;case 11:return 10;case 15:this.begin("href");break;case 17:return 40;case 18:this.begin("callbackname");break;case 20:this.popState(),this.begin("callbackargs");break;case 21:return 38;case 23:return 39;case 24:this.begin("click");break;case 26:return 37;case 27:return 4;case 28:return 19;case 29:return 20;case 30:return 21;case 31:return 22;case 32:return 23;case 33:return 25;case 34:return 24;case 35:return 26;case 36:return 12;case 37:return 13;case 38:return 14;case 39:return 15;case 40:return 16;case 41:return 17;case 42:return 18;case 43:return"date";case 44:return 27;case 45:return"accDescription";case 46:return 33;case 47:return 35;case 48:return 36;case 49:return":";case 50:return 6;case 51: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,/^(?:%[^\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:[22,23],inclusive:!1},callbackname:{rules:[19,20,21],inclusive:!1},href:{rules:[16,17],inclusive:!1},click:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,18,24,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],inclusive:!0}}};function D(){this.yy={}}return w.lexer=$,D.prototype=w,w.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=[],x=[],T="",v="";const _=["active","done","crit","milestone"];let w=[],$=!1,D=!1,S="sunday",C=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())))},M=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]=Y(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},Y=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]},A=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==i){let t=null;if(i[1].split(" ").forEach((function(e){let n=N(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n)})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}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"]},F=function(t,e,n,i=!1){n=n.trim();let r=s(n,e.trim(),!0);if(r.isValid())return i&&(r=r.add(1,"d")),r.toDate();let a=s(t);const[o,c]=L(n);if(!Number.isNaN(o)){const t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()};let I=0;const O=function(t){return void 0===t?(I+=1,"task"+I):t};let W,z,B=[];const P={},N=function(t){const e=P[t];return B[e]},H=function(){const t=function(t){const e=B[t];let n="";switch(B[t].raw.startTime.type){case"prevTaskEnd":{const t=N(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=A(0,f,B[t].raw.startTime.startData),n&&(B[t].startTime=n)}return B[t].startTime&&(B[t].endTime=F(B[t].startTime,f,B[t].raw.endTime.data,$),B[t].endTime&&(B[t].processed=!0,B[t].manualEndTime=s(B[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),M(B[t],f,p,k))),B[t].processed};let e=!0;for(const[n,i]of B.entries())t(n),e=e&&i.processed;return e},j=function(t,e){t.split(",").forEach((function(t){let n=N(t);void 0!==n&&n.classes.push(e)}))},Z=function(t,e){w.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e()}))}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e()}))}))},G={getConfig:()=>(0,c.c)().gantt,clear:function(){b=[],x=[],T="",w=[],I=0,W=void 0,z=void 0,B=[],f="",y="",v="",h=void 0,m="",k=[],p=[],$=!1,D=!1,C=0,g={},(0,c.t)(),S="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.r,setDisplayMode:function(t){v=t},getDisplayMode:function(){return v},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){T=t,b.push(t)},getSections:function(){return b},getTasks:function(){let t=H(),e=0;for(;!t&&e<10;)t=H(),e++;return x=B,x},addTask:function(t,e){const n={section:T,type:T,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={};V(i,s,_);for(let t=0;t{c.u.runFunc(e,...i)}))}(t,e,n)})),j(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.Nm)(e)),t.split(",").forEach((function(t){void 0!==N(t)&&(Z(t,(()=>{window.open(n,"_self")})),g[t]=n)})),j(t,"clickable")},getLinks:function(){return g},bindFunctions:function(t){w.forEach((function(e){e(t)}))},parseDuration:L,isInvalidDate:E,setWeekday:function(t){S=t},getWeekday:function(){return S}};function V(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 q={monday:l.Ox9,tuesday:l.YDX,wednesday:l.EFj,thursday:l.Igq,friday:l.y2j,saturday:l.LqH,sunday:l.Zyz},R=(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 U;const X={parser:u,db:G,renderer:{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.Ys)("#i"+e));const d="sandbox"===a?(0,l.Ys)(o.nodes()[0].contentDocument.body):(0,l.Ys)("body"),u="sandbox"===a?o.nodes()[0].contentDocument:document,h=u.getElementById(e);U=h.parentElement.offsetWidth,void 0===U&&(U=1200),void 0!==r.useWidth&&(U=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 "+U+" "+k);const p=d.select(`[id="${e}"]`),g=(0,l.Xf)().domain([(0,l.VV$)(f,(function(t){return t.startTime})),(0,l.Fp7)(f,(function(t){return t.endTime}))]).rangeRound([0,U-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.LLu)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.i$Z)(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.U8T.every(t));break;case"second":a.ticks(l.S1K.every(t));break;case"minute":a.ticks(l.Z_i.every(t));break;case"hour":a.ticks(l.WQD.every(t));break;case"day":a.ticks(l.rr1.every(t));break;case"week":a.ticks(q[n].every(t));break;case"month":a.ticks(l.F0B.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.F5q)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.i$Z)(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.U8T.every(t));break;case"second":n.ticks(l.S1K.every(t));break;case"minute":n.ticks(l.Z_i.every(t));break;case"hour":n.ticks(l.WQD.every(t));break;case"day":n.ticks(l.rr1.every(t));break;case"week":n.ticks(q[s].every(t));break;case"month":n.ticks(l.F0B.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.Ys)("#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: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\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-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\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: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\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 /* 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.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/580-fabed2ac.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/580-fabed2ac.chunk.min.js new file mode 100644 index 00000000..192c879f --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/580-fabed2ac.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[580],{580:function(t,e,r){r.d(e,{a:function(){return l},b:function(){return M},c:function(){return o},d:function(){return H},e:function(){return v},f:function(){return I},g:function(){return W},h:function(){return X},i:function(){return f},j:function(){return Y},l:function(){return d},p:function(){return T},s:function(){return _},u:function(){return c}});var a=r(8454),n=r(7274),i=r(4027);const s={extension:(t,e,r)=>{a.l.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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,r,a)=>{e.forEach((e=>{s[e](t,r,a)}))},o=(t,e,r,i)=>{let s=t||"";if("object"==typeof s&&(s=s[0]),(0,a.m)((0,a.c)().flowchart.htmlLabels)){return s=s.replace(/\\n|\n/g,"
    "),a.l.info("vertexText"+s),function(t){const e=(0,n.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),a=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var s;return r.html('"+a+""),(s=t.labelStyle)&&r.attr("style",s),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:i,label:(0,a.J)(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 a=[];a="string"==typeof s?s.split(/\\n|\n|/gi):Array.isArray(s)?s:[];for(const e of a){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},d=async(t,e,r,s)=>{let l;const d=e.useHtmlLabels||(0,a.m)((0,a.c)().flowchart.htmlLabels);l=r||"node default";const c=t.insert("g").attr("class",l).attr("id",e.domId||e.id),h=c.insert("g").attr("class","label").attr("style",e.labelStyle);let p;p=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const g=h.node();let y;y="markdown"===e.labelType?(0,i.c)(h,(0,a.d)((0,a.J)(p),(0,a.c)()),{useHtmlLabels:d,width:e.width||(0,a.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):g.appendChild(o((0,a.d)((0,a.J)(p),(0,a.c)()),e.labelStyle,!1,s));let f=y.getBBox();const u=e.padding/2;if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=y.children[0],e=(0,n.Ys)(y),r=t.getElementsByTagName("img");if(r){const t=""===p.replace(/]*>/g,"").trim();await Promise.all([...r].map((e=>new Promise((r=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,a.c)().fontSize?(0,a.c)().fontSize:window.getComputedStyle(document.body).fontSize,r=5;e.style.width=parseInt(t,10)*r+"px"}else e.style.width="100%";r(e)}setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return d?h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):h.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:u,label:h}},c=(t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height};function h(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}function p(t,e,r,a){var n=t.x,i=t.y,s=n-a.x,l=i-a.y,o=Math.sqrt(e*e*l*l+r*r*s*s),d=Math.abs(e*r*s/o);a.x0}const f=(t,e)=>{var r,a,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),r=0===l?0:d*s/l,a=d):(s<0&&(o=-o),r=o,a=0===s?0:o*l/s),{x:n+r,y:i+a}},u={node:function(t,e){return t.intersect(e)},circle:function(t,e,r){return p(t,e,e,r)},ellipse:p,polygon:function(t,e,r){var a=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=a-t.width/2-s,d=n-t.height/2-l,c=0;c1&&i.sort((function(t,e){var a=t.x-r.x,n=t.y-r.y,i=Math.sqrt(a*a+n*n),s=e.x-r.x,l=e.y-r.y,o=Math.sqrt(s*s+l*l);return it?" "+t:"",b=(t,e)=>`${e||"node default"}${w(t.classes)} ${w(t.class)}`,x=async(t,e)=>{const{shapeSvg:r,bbox:n}=await d(t,e,b(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}];a.l.info("Question main (Circle)");const l=h(r,i,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return a.l.warn("Intersect called"),u.polygon(e,s,t)},r};function m(t,e,r,n){const i=[],s=t=>{i.push(t,0)},l=t=>{i.push(0,t)};e.includes("t")?(a.l.debug("add top border"),s(r)):l(r),e.includes("r")?(a.l.debug("add right border"),s(n)):l(n),e.includes("b")?(a.l.debug("add bottom border"),s(r)):l(r),e.includes("l")?(a.l.debug("add left border"),s(n)):l(n),t.attr("stroke-dasharray",i.join(" "))}const k=(t,e,r)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,i=10;"LR"===r&&(n=10,i=70);const s=a.append("rect").attr("x",-1*n/2).attr("y",-1*i/2).attr("width",n).attr("height",i).attr("class","fork-join");return c(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return u.rect(e,t)},a},L={rhombus:x,question:x,rect:async(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes+" "+e.class,!0),s=r.insert("rect",":first-child"),l=n.width+e.padding,o=n.height+e.padding;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).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=>{a.l.warn(`Unknown node property ${t}`)}))}return c(e,s),e.intersect=function(t){return u.rect(e,t)},r},labelRect:async(t,e)=>{const{shapeSvg:r}=await d(t,e,"label",!0);a.l.trace("Classes = ",e.class);const n=r.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),r.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=>{a.l.warn(`Unknown node property ${t}`)}))}return c(e,n),e.intersect=function(t){return u.rect(e,t)},r},rectWithTitle:(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),d=i.insert("g").attr("class","label"),h=e.labelText.flat?e.labelText.flat():e.labelText;let p="";p="object"==typeof h?h[0]:h,a.l.info("Label text abc79",p,h,"object"==typeof h);const g=d.node().appendChild(o(p,e.labelStyle,!0,!0));let y={width:0,height:0};if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,n.Ys)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}a.l.info("Text 2",h);const f=h.slice(1,h.length);let w=g.getBBox();const b=d.node().appendChild(o(f.join?f.join("
    "):f,e.labelStyle,!0,!0));if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=b.children[0],e=(0,n.Ys)(b);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}const x=e.padding/2;return(0,n.Ys)(b).attr("transform","translate( "+(y.width>w.width?0:(w.width-y.width)/2)+", "+(w.height+x+5)+")"),(0,n.Ys)(g).attr("transform","translate( "+(y.width{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.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 u.circle(e,14,t)},r},circle:async(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=await d(t,e,b(e,void 0),!0),s=r.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),a.l.info("Circle main"),c(e,s),e.intersect=function(t){return a.l.info("Circle intersect",e,n.width/2+i,t),u.circle(e,n.width/2+i,t)},r},doublecircle:async(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=await d(t,e,b(e,void 0),!0),s=r.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),a.l.info("DoubleCircle main"),c(e,l),e.intersect=function(t){return a.l.info("DoubleCircle intersect",e,n.width/2+i+5,t),u.circle(e,n.width/2+i+5,t)},r},stadium:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.height+e.padding,i=a.width+n/4+e.padding,s=r.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 c(e,s),e.intersect=function(t){return u.rect(e,t)},r},hexagon:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.height+e.padding,i=n/4,s=a.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=h(r,s,n,l);return o.attr("style",e.style),c(e,o),e.intersect=function(t){return u.polygon(e,l,t)},r},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=a.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 h(r,n,i,s).attr("style",e.style),e.width=n+i,e.height=i,e.intersect=function(t){return u.polygon(e,s,t)},r},lean_right:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e),!0),n=a.width+e.padding,i=a.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=h(r,n,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return u.polygon(e,s,t)},r},lean_left:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=a.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=h(r,n,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return u.polygon(e,s,t)},r},trapezoid:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=a.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=h(r,n,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return u.polygon(e,s,t)},r},inv_trapezoid:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=a.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=h(r,n,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return u.polygon(e,s,t)},r},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=a.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=h(r,n,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return u.polygon(e,s,t)},r},cylinder:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=n/2,s=i/(2.5+n/50),l=a.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,h=r.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 c(e,h),e.intersect=function(t){const r=u.rect(e,t),a=r.x-e.x;if(0!=i&&(Math.abs(a)e.height/2-s)){let n=s*s*(1-a*a/(i*i));0!=n&&(n=Math.sqrt(n)),n=s-n,t.y-e.y>0&&(n=-n),r.y+=n}return r},r},start:(t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),c(e,a),e.intersect=function(t){return u.circle(e,7,t)},r},end:(t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),c(e,n),e.intersect=function(t){return u.circle(e,7,t)},r},note:async(t,e)=>{e.useHtmlLabels||(0,a.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:r,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes,!0);a.l.info("Classes = ",e.classes);const s=r.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),c(e,s),e.intersect=function(t){return u.rect(e,t)},r},subroutine:async(t,e)=>{const{shapeSvg:r,bbox:a}=await d(t,e,b(e,void 0),!0),n=a.width+e.padding,i=a.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=h(r,n,i,s);return l.attr("style",e.style),c(e,l),e.intersect=function(t){return u.polygon(e,s,t)},r},fork:k,join:k,class_box:(t,e)=>{const r=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"),h=s.insert("line");let p=0,g=4;const y=s.insert("g").attr("class","label");let f=0;const w=e.classData.annotations&&e.classData.annotations[0],b=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",x=y.node().appendChild(o(b,e.labelStyle,!0,!0));let m=x.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=x.children[0],e=(0,n.Ys)(x);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}e.classData.annotations[0]&&(g+=m.height+4,p+=m.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,a.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");const L=y.node().appendChild(o(k,e.labelStyle,!0,!0));(0,n.Ys)(L).attr("class","classTitle");let S=L.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=L.children[0],e=(0,n.Ys)(L);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}g+=S.height+4,S.width>p&&(p=S.width);const v=[];e.classData.members.forEach((t=>{const r=t.getDisplayDetails();let i=r.displayText;(0,a.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const s=y.node().appendChild(o(i,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ys)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>p&&(p=l.width),g+=l.height+4,v.push(s)})),g+=8;const _=[];if(e.classData.methods.forEach((t=>{const r=t.getDisplayDetails();let i=r.displayText;(0,a.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const s=y.node().appendChild(o(i,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ys)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>p&&(p=l.width),g+=l.height+4,_.push(s)})),g+=8,w){let t=(p-m.width)/2;(0,n.Ys)(x).attr("transform","translate( "+(-1*p/2+t)+", "+-1*g/2+")"),f=m.height+4}let M=(p-S.width)/2;return(0,n.Ys)(L).attr("transform","translate( "+(-1*p/2+M)+", "+(-1*g/2+f)+")"),f+=S.height+4,d.attr("class","divider").attr("x1",-p/2-r).attr("x2",p/2+r).attr("y1",-g/2-r+8+f).attr("y2",-g/2-r+8+f),f+=8,v.forEach((t=>{(0,n.Ys)(t).attr("transform","translate( "+-p/2+", "+(-1*g/2+f+4)+")");const e=null==t?void 0:t.getBBox();f+=((null==e?void 0:e.height)??0)+4})),f+=8,h.attr("class","divider").attr("x1",-p/2-r).attr("x2",p/2+r).attr("y1",-g/2-r+8+f).attr("y2",-g/2-r+8+f),f+=8,_.forEach((t=>{(0,n.Ys)(t).attr("transform","translate( "+-p/2+", "+(-1*g/2+f)+")");const e=null==t?void 0:t.getBBox();f+=((null==e?void 0:e.height)??0)+4})),l.attr("class","outer title-state").attr("x",-p/2-r).attr("y",-g/2-r).attr("width",p+e.padding).attr("height",g+e.padding),c(e,l),e.intersect=function(t){return u.rect(e,t)},s}};let S={};const v=async(t,e,r)=>{let n,i;if(e.link){let s;"sandbox"===(0,a.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 L[e.shape](n,e,r)}else i=await L[e.shape](t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),S[e.id]=n,e.haveCallback&&S[e.id].attr("class",S[e.id].attr("class")+" clickable"),n},_=(t,e)=>{S[e.id]=t},M=()=>{S={}},T=t=>{const e=S[t.id];a.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},E={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function B(t,e){t=C(t),e=C(e);const[r,a]=[t.x,t.y],[n,i]=[e.x,e.y],s=n-r,l=i-a;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}const C=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,Y=t=>({x:function(e,r,a){let n=0;if(0===r&&Object.hasOwn(E,t.arrowTypeStart)){const{angle:e,deltaX:r}=B(a[0],a[1]);n=E[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===a.length-1&&Object.hasOwn(E,t.arrowTypeEnd)){const{angle:e,deltaX:r}=B(a[a.length-1],a[a.length-2]);n=E[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}return C(e).x+n},y:function(e,r,a){let n=0;if(0===r&&Object.hasOwn(E,t.arrowTypeStart)){const{angle:e,deltaY:r}=B(a[0],a[1]);n=E[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===a.length-1&&Object.hasOwn(E,t.arrowTypeEnd)){const{angle:e,deltaY:r}=B(a[a.length-1],a[a.length-2]);n=E[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}return C(e).y+n}});let P={},R={};const H=()=>{P={},R={}},I=(t,e)=>{const r=(0,a.m)((0,a.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,i.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:r,addSvgBackground:!0}):o(e.label,e.labelStyle);a.l.info("abc82",e,e.labelType);const l=t.insert("g").attr("class","edgeLabel"),d=l.insert("g").attr("class","label");d.node().appendChild(s);let c,h=s.getBBox();if(r){const t=s.children[0],e=(0,n.Ys)(s);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}if(d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),P[e.id]=l,e.width=h.width,e.height=h.height,e.startLabelLeft){const r=o(e.startLabelLeft,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),R[e.id]||(R[e.id]={}),R[e.id].startLeft=a,O(c,e.startLabelLeft)}if(e.startLabelRight){const r=o(e.startLabelRight,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=a.node().appendChild(r),n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),R[e.id]||(R[e.id]={}),R[e.id].startRight=a,O(c,e.startLabelRight)}if(e.endLabelLeft){const r=o(e.endLabelLeft,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),a.node().appendChild(r),R[e.id]||(R[e.id]={}),R[e.id].endLeft=a,O(c,e.endLabelLeft)}if(e.endLabelRight){const r=o(e.endLabelRight,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),a.node().appendChild(r),R[e.id]||(R[e.id]={}),R[e.id].endRight=a,O(c,e.endLabelRight)}return s};function O(t,e){(0,a.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const X=(t,e)=>{a.l.info("Moving label abc78 ",t.id,t.label,P[t.id]);let r=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const n=P[t.id];let i=t.x,s=t.y;if(r){const n=a.u.calcLabelPosition(r);a.l.info("Moving label "+t.label+" from (",i,",",s,") to (",n.x,",",n.y,") abc78"),e.updatedPath&&(i=n.x,s=n.y)}n.attr("transform","translate("+i+", "+s+")")}if(t.startLabelLeft){const e=R[t.id].startLeft;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.startLabelRight){const e=R[t.id].startRight;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.endLabelLeft){const e=R[t.id].endLeft;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.endLabelRight){const e=R[t.id].endRight;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}},$=(t,e)=>{a.l.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach((t=>{if(a.l.info("abc88 checking point",t,e),((t,e)=>{const r=t.x,a=t.y,n=Math.abs(e.x-r),i=Math.abs(e.y-a),s=t.width/2,l=t.height/2;return n>=s||i>=l})(e,t)||i)a.l.warn("abc88 outside",t,n),n=t,i||r.push(t);else{const s=((t,e,r)=>{a.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\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-r.x),l=t.width/2;let o=r.xMath.abs(n-e.x)*d){let t=r.y{l=l||t.x===s.x&&t.y===s.y})),r.some((t=>t.x===s.x&&t.y===s.y))?a.l.warn("abc88 no intersect",s,r):r.push(s),i=!0}})),a.l.warn("abc88 returning points",r),r},W=function(t,e,r,i,s,l,o){let d=r.points,c=!1;const h=l.node(e.v);var p=l.node(e.w);a.l.info("abc88 InsertEdge: ",r),p.intersect&&h.intersect&&(d=d.slice(1,r.points.length-1),d.unshift(h.intersect(d[0])),a.l.info("Last point",d[d.length-1],p,p.intersect(d[d.length-1])),d.push(p.intersect(d[d.length-1]))),r.toCluster&&(a.l.info("to cluster abc88",i[r.toCluster]),d=$(r.points,i[r.toCluster].node),c=!0),r.fromCluster&&(a.l.info("from cluster abc88",i[r.fromCluster]),d=$(d.reverse(),i[r.fromCluster].node).reverse(),c=!0);const g=d.filter((t=>!Number.isNaN(t.y)));let y=n.$0Z;!r.curve||"graph"!==s&&"flowchart"!==s||(y=r.curve);const{x:f,y:u}=Y(r),w=(0,n.jvg)().x(f).y(u).curve(y);let b;switch(r.thickness){case"normal":b="edge-thickness-normal";break;case"thick":case"invisible":b="edge-thickness-thick";break;default:b=""}switch(r.pattern){case"solid":b+=" edge-pattern-solid";break;case"dotted":b+=" edge-pattern-dotted";break;case"dashed":b+=" edge-pattern-dashed"}const x=t.append("path").attr("d",w(g)).attr("id",r.id).attr("class"," "+b+(r.classes?" "+r.classes:"")).attr("style",r.style);let m="";switch(((0,a.c)().flowchart.arrowMarkerAbsolute||(0,a.c)().state.arrowMarkerAbsolute)&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),a.l.info("arrowTypeStart",r.arrowTypeStart),a.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+m+"#"+o+"_"+s+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+m+"#"+o+"_"+s+"-lollipopEnd)")}let k={};return c&&(k.updatedPath=d),k.originalPath=r.points,k}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/626-ec18a767.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/626-ec18a767.chunk.min.js new file mode 100644 index 00000000..a8a78749 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/626-ec18a767.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[626],{3349:function(e,t,n){n.d(t,{a:function(){return l}});var r=n(6225);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.bg(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}},6225:function(e,t,n){n.d(t,{$p:function(){return d},O1:function(){return a},WR:function(){return p},bF:function(){return o},bg:function(){return c}});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var i=/:/g;function s(e){return e?String(e).replace(i,"\\:"):""}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.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},4626:function(e,t,n){n.d(t,{diagram:function(){return a}});var r=n(6320),l=n(1192),o=n(8454);n(7274),n(5625),n(3771),n(9368),n(7484),n(7967),n(7856);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")}}},1192:function(e,t,n){n.d(t,{a:function(){return h},f:function(){return w}});var r=n(5625),l=n(7274),o=n(8454),a=n(7644),i=n(3349),s=n(5971),c=n(1767),d=(e,t)=>s.Z.lang.round(c.Z.parse(e)[t]),p=n(1117);const b={},u=function(e,t,n,r,l,a){const s=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){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.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};p=(0,i.a)(s,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 u=0,f="";switch(r.type){case"round":u=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"}t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:b,labelType:r.labelType,rx:u,ry:u,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:b,rx:u,ry:u,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})}))},f=function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,i=0,s={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}e.forEach((function(n){i++;const c="L-"+n.start+"-"+n.end;void 0===s[c]?(s[c]=0,o.l.info("abc78 new entry",c,s[c])):(s[c]++,o.l.info("abc78 new entry",c,s[c]));let d=c+"-"+s[c];o.l.info("abc78 new link id to be used is",c,d,s[c]);const p="LS-"+n.start,u="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 w="",h="";switch(n.stroke){case"normal":w="fill:none;",void 0!==r&&(w=r),void 0!==a&&(h=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);w=e.style,h=e.labelStyle}f.style=f.style+=w,f.labelStyle=f.labelStyle+=h,void 0!==n.interpolate?f.curve=(0,o.n)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,l.c_6):f.curve=(0,o.n)(b.curve,l.c_6),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=n.text.replace(o.e.lineBreakRegex,"\n"),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=d,f.classes="flowchart-link "+p+" "+u,t.setEdge(n.start,n.end,f,i)}))},w={setConf:function(e){const t=Object.keys(e);for(const n of t)b[n]=e[n]},addVertices:u,addEdges:f,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,i){o.l.info("Drawing flowchart");let s=i.db.getDirection();void 0===s&&(s="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),p=d.nodeSpacing||50,b=d.rankSpacing||50;let w;"sandbox"===c&&(w=(0,l.Ys)("#i"+t));const h="sandbox"===c?(0,l.Ys)(w.nodes()[0].contentDocument.body):(0,l.Ys)("body"),g="sandbox"===c?w.nodes()[0].contentDocument:document,y=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:p,ranksep:b,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=i.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),i.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=i.db.getVertices(),m=i.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.td_)("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 .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,t)=>{const n=d,r=n(e,"r"),l=n(e,"g"),o=n(e,"b");return p.Z(r,l,o,.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/docs/themes/hugo-geekdoc/static/js/637-687440a7.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/637-687440a7.chunk.min.js new file mode 100644 index 00000000..d0f12779 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/637-687440a7.chunk.min.js @@ -0,0 +1,2 @@ +/*! For license information please see 637-687440a7.chunk.min.js.LICENSE.txt */ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[637],{7967:function(t,e){"use strict";e.Nm=e.Rq=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.Rq="about:blank",e.Nm=function(t){if(!t)return e.Rq;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.Rq;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.Rq:h}},7484:function(t){t.exports=function(){"use strict";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",f="Invalid Date",d=/^(\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])+"]"}},m=function(t,e,i){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(i)+t},y={s:m,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),r=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(n,2,"0")},m:function t(e,i){if(e.date()1)return t(a[0])}else{var s=e.name;b[s]=e,n=s}return!r&&n&&(_=n),n||!r&&_},k=function(t,e){if(x(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new w(i)},T=y;T.l=v,T.i=x,T.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function g(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[C]=!0}var m=g.prototype;return m.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(d);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()},m.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()},m.$utils=function(){return T},m.isValid=function(){return!(this.$d.toString()===f)},m.isSame=function(t,e){var i=k(t);return this.startOf(e)<=i&&i<=this.endOf(e)},m.isAfter=function(t,e){return k(t)1?i-1:0),n=1;n/gm),$=a(/\${[\w\W]*}/gm),z=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),R=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U=a(/^html$/i);var H=Object.freeze({__proto__:null,MUSTACHE_EXPR:N,ERB_EXPR:D,TMPLIT_EXPR:$,DATA_ATTR:z,ARIA_ATTR:j,IS_ALLOWED_URI:P,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:W,DOCTYPE_NAME:U});const Y=()=>"undefined"==typeof window?null:window;return function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y();const r=t=>e(t);if(r.version="3.0.5",r.removed=[],!i||!i.document||9!==i.document.nodeType)return r.isSupported=!1,r;const n=i.document,a=n.currentScript;let{document:s}=i;const{DocumentFragment:l,HTMLTemplateElement:h,Node:x,Element:v,NodeFilter:N,NamedNodeMap:D=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:z,trustedTypes:j}=i,R=v.prototype,W=w(R,"cloneNode"),V=w(R,"nextSibling"),G=w(R,"childNodes"),X=w(R,"parentNode");if("function"==typeof h){const t=s.createElement("template");t.content&&t.content.ownerDocument&&(s=t.content.ownerDocument)}let Q,J="";const{implementation:K,createNodeIterator:tt,createDocumentFragment:et,getElementsByTagName:it}=s,{importNode:rt}=n;let nt={};r.isSupported="function"==typeof t&&"function"==typeof X&&K&&void 0!==K.createHTMLDocument;const{MUSTACHE_EXPR:ot,ERB_EXPR:at,TMPLIT_EXPR:st,DATA_ATTR:lt,ARIA_ATTR:ht,IS_SCRIPT_OR_DATA:ct,ATTR_WHITESPACE:ut}=H;let{IS_ALLOWED_URI:ft}=H,dt=null;const pt=k({},[...S,...B,...F,...M,...E]);let gt=null;const mt=k({},[...Z,...O,...I,...q]);let yt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_t=null,bt=null,Ct=!0,xt=!0,vt=!1,kt=!0,Tt=!1,wt=!1,St=!1,Bt=!1,Ft=!1,Lt=!1,Mt=!1,At=!0,Et=!1,Zt=!0,Ot=!1,It={},qt=null;const Nt=k({},["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 Dt=null;const $t=k({},["audio","video","img","source","image","track"]);let zt=null;const jt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pt="http://www.w3.org/1998/Math/MathML",Rt="http://www.w3.org/2000/svg",Wt="http://www.w3.org/1999/xhtml";let Ut=Wt,Ht=!1,Yt=null;const Vt=k({},[Pt,Rt,Wt],p);let Gt;const Xt=["application/xhtml+xml","text/html"];let Qt,Jt=null;const Kt=s.createElement("form"),te=function(t){return t instanceof RegExp||t instanceof Function},ee=function(t){if(!Jt||Jt!==t){if(t&&"object"==typeof t||(t={}),t=T(t),Gt=Gt=-1===Xt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Qt="application/xhtml+xml"===Gt?p:d,dt="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,Qt):pt,gt="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,Qt):mt,Yt="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,p):Vt,zt="ADD_URI_SAFE_ATTR"in t?k(T(jt),t.ADD_URI_SAFE_ATTR,Qt):jt,Dt="ADD_DATA_URI_TAGS"in t?k(T($t),t.ADD_DATA_URI_TAGS,Qt):$t,qt="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,Qt):Nt,_t="FORBID_TAGS"in t?k({},t.FORBID_TAGS,Qt):{},bt="FORBID_ATTR"in t?k({},t.FORBID_ATTR,Qt):{},It="USE_PROFILES"in t&&t.USE_PROFILES,Ct=!1!==t.ALLOW_ARIA_ATTR,xt=!1!==t.ALLOW_DATA_ATTR,vt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,kt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Tt=t.SAFE_FOR_TEMPLATES||!1,wt=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Lt=t.RETURN_DOM_FRAGMENT||!1,Mt=t.RETURN_TRUSTED_TYPE||!1,Bt=t.FORCE_BODY||!1,At=!1!==t.SANITIZE_DOM,Et=t.SANITIZE_NAMED_PROPS||!1,Zt=!1!==t.KEEP_CONTENT,Ot=t.IN_PLACE||!1,ft=t.ALLOWED_URI_REGEXP||P,Ut=t.NAMESPACE||Wt,yt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&te(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(yt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&te(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(yt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(yt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Tt&&(xt=!1),Lt&&(Ft=!0),It&&(dt=k({},[...E]),gt=[],!0===It.html&&(k(dt,S),k(gt,Z)),!0===It.svg&&(k(dt,B),k(gt,O),k(gt,q)),!0===It.svgFilters&&(k(dt,F),k(gt,O),k(gt,q)),!0===It.mathMl&&(k(dt,M),k(gt,I),k(gt,q))),t.ADD_TAGS&&(dt===pt&&(dt=T(dt)),k(dt,t.ADD_TAGS,Qt)),t.ADD_ATTR&&(gt===mt&&(gt=T(gt)),k(gt,t.ADD_ATTR,Qt)),t.ADD_URI_SAFE_ATTR&&k(zt,t.ADD_URI_SAFE_ATTR,Qt),t.FORBID_CONTENTS&&(qt===Nt&&(qt=T(qt)),k(qt,t.FORBID_CONTENTS,Qt)),Zt&&(dt["#text"]=!0),wt&&k(dt,["html","head","body"]),dt.table&&(k(dt,["tbody"]),delete _t.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,J=Q.createHTML("")}else void 0===Q&&(Q=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){return t},createScriptURL(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}}(j,a)),null!==Q&&"string"==typeof J&&(J=Q.createHTML(""));o&&o(t),Jt=t}},ie=k({},["mi","mo","mn","ms","mtext"]),re=k({},["foreignobject","desc","title","annotation-xml"]),ne=k({},["title","style","font","a","script"]),oe=k({},B);k(oe,F),k(oe,L);const ae=k({},M);k(ae,A);const se=function(t){f(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},le=function(t,e){try{f(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!gt[t])if(Ft||Lt)try{se(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},he=function(t){let e,i;if(Bt)t=""+t;else{const e=g(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===Gt&&Ut===Wt&&(t=''+t+"");const r=Q?Q.createHTML(t):t;if(Ut===Wt)try{e=(new z).parseFromString(r,Gt)}catch(t){}if(!e||!e.documentElement){e=K.createDocument(Ut,"template",null);try{e.documentElement.innerHTML=Ht?J:r}catch(t){}}const n=e.body||e.documentElement;return t&&i&&n.insertBefore(s.createTextNode(i),n.childNodes[0]||null),Ut===Wt?it.call(e,wt?"html":"body")[0]:wt?e.documentElement:n},ce=function(t){return tt.call(t.ownerDocument||t,t,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT,null,!1)},ue=function(t){return"object"==typeof x?t instanceof x:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},fe=function(t,e,i){nt[t]&&c(nt[t],(t=>{t.call(r,e,i,Jt)}))},de=function(t){let e;if(fe("beforeSanitizeElements",t,null),(i=t)instanceof $&&("string"!=typeof i.nodeName||"string"!=typeof i.textContent||"function"!=typeof i.removeChild||!(i.attributes instanceof D)||"function"!=typeof i.removeAttribute||"function"!=typeof i.setAttribute||"string"!=typeof i.namespaceURI||"function"!=typeof i.insertBefore||"function"!=typeof i.hasChildNodes))return se(t),!0;var i;const n=Qt(t.nodeName);if(fe("uponSanitizeElement",t,{tagName:n,allowedTags:dt}),t.hasChildNodes()&&!ue(t.firstElementChild)&&(!ue(t.content)||!ue(t.content.firstElementChild))&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent))return se(t),!0;if(!dt[n]||_t[n]){if(!_t[n]&&ge(n)){if(yt.tagNameCheck instanceof RegExp&&b(yt.tagNameCheck,n))return!1;if(yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n))return!1}if(Zt&&!qt[n]){const e=X(t)||t.parentNode,i=G(t)||t.childNodes;if(i&&e)for(let r=i.length-1;r>=0;--r)e.insertBefore(W(i[r],!0),V(t))}return se(t),!0}return t instanceof v&&!function(t){let e=X(t);e&&e.tagName||(e={namespaceURI:Ut,tagName:"template"});const i=d(t.tagName),r=d(e.tagName);return!!Yt[t.namespaceURI]&&(t.namespaceURI===Rt?e.namespaceURI===Wt?"svg"===i:e.namespaceURI===Pt?"svg"===i&&("annotation-xml"===r||ie[r]):Boolean(oe[i]):t.namespaceURI===Pt?e.namespaceURI===Wt?"math"===i:e.namespaceURI===Rt?"math"===i&&re[r]:Boolean(ae[i]):t.namespaceURI===Wt?!(e.namespaceURI===Rt&&!re[r])&&!(e.namespaceURI===Pt&&!ie[r])&&!ae[i]&&(ne[i]||!oe[i]):!("application/xhtml+xml"!==Gt||!Yt[t.namespaceURI]))}(t)?(se(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!b(/<\/no(script|embed|frames)/i,t.innerHTML)?(Tt&&3===t.nodeType&&(e=t.textContent,e=m(e,ot," "),e=m(e,at," "),e=m(e,st," "),t.textContent!==e&&(f(r.removed,{element:t.cloneNode()}),t.textContent=e)),fe("afterSanitizeElements",t,null),!1):(se(t),!0)},pe=function(t,e,i){if(At&&("id"===e||"name"===e)&&(i in s||i in Kt))return!1;if(xt&&!bt[e]&&b(lt,e));else if(Ct&&b(ht,e));else if(!gt[e]||bt[e]){if(!(ge(t)&&(yt.tagNameCheck instanceof RegExp&&b(yt.tagNameCheck,t)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(t))&&(yt.attributeNameCheck instanceof RegExp&&b(yt.attributeNameCheck,e)||yt.attributeNameCheck instanceof Function&&yt.attributeNameCheck(e))||"is"===e&&yt.allowCustomizedBuiltInElements&&(yt.tagNameCheck instanceof RegExp&&b(yt.tagNameCheck,i)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(i))))return!1}else if(zt[e]);else if(b(ft,m(i,ut,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(i,"data:")||!Dt[t])if(vt&&!b(ct,m(i,ut,"")));else if(i)return!1;return!0},ge=function(t){return t.indexOf("-")>0},me=function(t){let e,i,n,o;fe("beforeSanitizeAttributes",t,null);const{attributes:a}=t;if(!a)return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gt};for(o=a.length;o--;){e=a[o];const{name:l,namespaceURI:h}=e;if(i="value"===l?e.value:_(e.value),n=Qt(l),s.attrName=n,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,fe("uponSanitizeAttribute",t,s),i=s.attrValue,s.forceKeepAttr)continue;if(le(l,t),!s.keepAttr)continue;if(!kt&&b(/\/>/i,i)){le(l,t);continue}Tt&&(i=m(i,ot," "),i=m(i,at," "),i=m(i,st," "));const c=Qt(t.nodeName);if(pe(c,n,i)){if(!Et||"id"!==n&&"name"!==n||(le(l,t),i="user-content-"+i),Q&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(h);else switch(j.getAttributeType(c,n)){case"TrustedHTML":i=Q.createHTML(i);break;case"TrustedScriptURL":i=Q.createScriptURL(i)}try{h?t.setAttributeNS(h,l,i):t.setAttribute(l,i),u(r.removed)}catch(t){}}}fe("afterSanitizeAttributes",t,null)},ye=function t(e){let i;const r=ce(e);for(fe("beforeSanitizeShadowDOM",e,null);i=r.nextNode();)fe("uponSanitizeShadowNode",i,null),de(i)||(i.content instanceof l&&t(i.content),me(i));fe("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e,i,o,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ht=!t,Ht&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ue(t)){if("function"!=typeof t.toString)throw C("toString is not a function");if("string"!=typeof(t=t.toString()))throw C("dirty is not a string, aborting")}if(!r.isSupported)return t;if(St||ee(s),r.removed=[],"string"==typeof t&&(Ot=!1),Ot){if(t.nodeName){const e=Qt(t.nodeName);if(!dt[e]||_t[e])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof x)e=he("\x3c!----\x3e"),i=e.ownerDocument.importNode(t,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?e=i:e.appendChild(i);else{if(!Ft&&!Tt&&!wt&&-1===t.indexOf("<"))return Q&&Mt?Q.createHTML(t):t;if(e=he(t),!e)return Ft?null:Mt?J:""}e&&Bt&&se(e.firstChild);const h=ce(Ot?t:e);for(;o=h.nextNode();)de(o)||(o.content instanceof l&&ye(o.content),me(o));if(Ot)return t;if(Ft){if(Lt)for(a=et.call(e.ownerDocument);e.firstChild;)a.appendChild(e.firstChild);else a=e;return(gt.shadowroot||gt.shadowrootmode)&&(a=rt.call(n,a,!0)),a}let c=wt?e.outerHTML:e.innerHTML;return wt&&dt["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&b(U,e.ownerDocument.doctype.name)&&(c="\n"+c),Tt&&(c=m(c,ot," "),c=m(c,at," "),c=m(c,st," ")),Q&&Mt?Q.createHTML(c):c},r.setConfig=function(t){ee(t),St=!0},r.clearConfig=function(){Jt=null,St=!1},r.isValidAttribute=function(t,e,i){Jt||ee({});const r=Qt(t),n=Qt(e);return pe(r,n,i)},r.addHook=function(t,e){"function"==typeof e&&(nt[t]=nt[t]||[],f(nt[t],e))},r.removeHook=function(t){if(nt[t])return u(nt[t])},r.removeHooks=function(t){nt[t]&&(nt[t]=[])},r.removeAllHooks=function(){nt={}},r}()}()},8464:function(t,e,i){"use strict";function r(t){for(var e=[],i=1;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,{Nb1:function(){return Ya},LLu:function(){return _},F5q:function(){return y},$0Z:function(){return as},Dts:function(){return ls},WQY:function(){return cs},qpX:function(){return fs},u93:function(){return ds},tFB:function(){return gs},YY7:function(){return _s},OvA:function(){return Cs},dCK:function(){return vs},zgE:function(){return ws},fGX:function(){return Bs},$m7:function(){return Ls},c_6:function(){return Xa},fxm:function(){return As},FdL:function(){return $s},ak_:function(){return zs},SxZ:function(){return Rs},eA_:function(){return Us},jsv:function(){return Ys},iJ:function(){return Hs},JHv:function(){return or},jvg:function(){return Ka},Fp7:function(){return r},VV$:function(){return n},ve8:function(){return is},BYU:function(){return Gr},PKp:function(){return tn},Xf:function(){return ya},K2I:function(){return _a},Ys:function(){return ba},td_:function(){return Ca},YPS:function(){return $i},rr1:function(){return yn},i$Z:function(){return Gn},y2j:function(){return Sn},WQD:function(){return gn},U8T:function(){return un},Z_i:function(){return dn},Ox9:function(){return vn},F0B:function(){return qn},LqH:function(){return Bn},S1K:function(){return fn},Zyz:function(){return xn},Igq:function(){return wn},YDX:function(){return kn},EFj:function(){return Tn}});var a=1,s=2,l=3,h=4,c=1e-6;function u(t){return"translate("+t+",0)"}function f(t){return"translate(0,"+t+")"}function d(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 m(t,e){var i=[],r=null,n=null,m=6,y=6,_=3,b="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,C=t===a||t===h?-1:1,x=t===h||t===s?"x":"y",v=t===a||t===l?u:f;function k(u){var f=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(m,0)+_,w=e.range(),S=+w[0]+b,B=+w[w.length-1]+b,F=(e.bandwidth?p:d)(e.copy(),b),L=u.selection?u.selection():u,M=L.selectAll(".domain").data([null]),A=L.selectAll(".tick").data(f,e).order(),E=A.exit(),Z=A.enter().append("g").attr("class","tick"),O=A.select("line"),I=A.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(Z),O=O.merge(Z.append("line").attr("stroke","currentColor").attr(x+"2",C*m)),I=I.merge(Z.append("text").attr("fill","currentColor").attr(x,C*T).attr("dy",t===a?"0em":t===l?"0.71em":"0.32em")),u!==L&&(M=M.transition(u),A=A.transition(u),O=O.transition(u),I=I.transition(u),E=E.transition(u).attr("opacity",c).attr("transform",(function(t){return isFinite(t=F(t))?v(t+b):this.getAttribute("transform")})),Z.attr("opacity",c).attr("transform",(function(t){var e=this.parentNode.__axis;return v((e&&isFinite(e=e(t))?e:F(t))+b)}))),E.remove(),M.attr("d",t===h||t===s?y?"M"+C*y+","+S+"H"+b+"V"+B+"H"+C*y:"M"+b+","+S+"V"+B:y?"M"+S+","+C*y+"V"+b+"H"+B+"V"+C*y:"M"+S+","+b+"H"+B),A.attr("opacity",1).attr("transform",(function(t){return v(F(t)+b)})),O.attr(x+"2",C*m),I.attr(x,C*T).text(k),L.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===s?"start":t===h?"end":"middle"),L.each((function(){this.__axis=F}))}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?(m=y=+t,k):m},k.tickSizeInner=function(t){return arguments.length?(m=+t,k):m},k.tickSizeOuter=function(t){return arguments.length?(y=+t,k):y},k.tickPadding=function(t){return arguments.length?(_=+t,k):_},k.offset=function(t){return arguments.length?(b=+t,k):b},k}function y(t){return m(a,t)}function _(t){return m(l,t)}function b(){}function C(t){return null==t?b:function(){return this.querySelector(t)}}function x(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 w(t){return function(e){return e.matches(t)}}var S=Array.prototype.find;function B(){return this.firstElementChild}var F=Array.prototype.filter;function L(){return Array.from(this.children)}function M(t){return new Array(t.length)}function A(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}A.prototype={constructor:A,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 N="http://www.w3.org/1999/xhtml",D={svg:"http://www.w3.org/2000/svg",xhtml:N,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function $(t){var e=t+="",i=e.indexOf(":");return i>=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),D.hasOwnProperty(e)?{space:D[e],local:t}:t}function z(t){return function(){this.removeAttribute(t)}}function j(t){return function(){this.removeAttributeNS(t.space,t.local)}}function P(t,e){return function(){this.setAttribute(t,e)}}function R(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}function U(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 H(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Y(t){return function(){this.style.removeProperty(t)}}function V(t,e,i){return function(){this.style.setProperty(t,e,i)}}function G(t,e,i){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,i)}}function X(t,e){return t.style.getPropertyValue(e)||H(t).getComputedStyle(t,null).getPropertyValue(e)}function Q(t){return function(){delete this[t]}}function J(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 Ft=[null];function Lt(t,e){this._groups=t,this._parents=e}function Mt(){return new Lt([[document.documentElement]],Ft)}Lt.prototype=Mt.prototype={constructor:Lt,select:function(t){"function"!=typeof t&&(t=C(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n=x&&(x=C+1);!(b=y[x])&&++x=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=q);for(var i=this._groups,r=i.length,n=new Array(r),o=0;o1?this.each((null==e?Y:"function"==typeof e?G:V)(t,e,null==i?"":i)):X(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Q:"function"==typeof e?K:J)(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 Zt(){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;--zt}()}finally{zt=0,function(){for(var t,e,i=Nt,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:Nt=e);Dt=t,ee(r)}(),Ut=0}}function te(){var t=Yt.now(),e=t-Wt;e>Rt&&(Ht-=e,Wt=t)}function ee(t){zt||(jt&&(jt=clearTimeout(jt)),t-Ut>24?(t<1/0&&(jt=setTimeout(Kt,t-Yt.now()-Ht)),Pt&&(Pt=clearInterval(Pt))):(Pt||(Wt=Yt.now(),Pt=setInterval(te,Rt)),zt=1,Vt(Kt)))}function ie(t,e,i){var r=new Qt;return e=null==e?0:+e,r.restart((i=>{r.stop(),t(i+e)}),e,i),r}Qt.prototype=Jt.prototype={constructor:Qt,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?Gt():+i)+(null==e?0:+e),this._next||Dt===this||(Dt?Dt._next=this:Nt=this,Dt=this),this._call=t,this._time=i,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=$t("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,f;if(1!==i.state)return s();for(h in n)if((f=n[h]).name===i.name){if(f.state===ae)return ie(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.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 fe,de=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?Pe(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===i?Pe(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=Ae.exec(t))?new Ue(e[1],e[2],e[3],1):(e=Ee.exec(t))?new Ue(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ze.exec(t))?Pe(e[1],e[2],e[3],e[4]):(e=Oe.exec(t))?Pe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ie.exec(t))?Qe(e[1],e[2]/100,e[3]/100,1):(e=qe.exec(t))?Qe(e[1],e[2]/100,e[3]/100,e[4]):Ne.hasOwnProperty(t)?je(Ne[t]):"transparent"===t?new Ue(NaN,NaN,NaN,0):null}function je(t){return new Ue(t>>16&255,t>>8&255,255&t,1)}function Pe(t,e,i,r){return r<=0&&(t=e=i=NaN),new Ue(t,e,i,r)}function Re(t){return t instanceof Te||(t=ze(t)),t?new Ue((t=t.rgb()).r,t.g,t.b,t.opacity):new Ue}function We(t,e,i,r){return 1===arguments.length?Re(t):new Ue(t,e,i,null==r?1:r)}function Ue(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}function He(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}`}function Ye(){const t=Ve(this.opacity);return`${1===t?"rgb(":"rgba("}${Ge(this.r)}, ${Ge(this.g)}, ${Ge(this.b)}${1===t?")":`, ${t})`}`}function Ve(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Xe(t){return((t=Ge(t))<16?"0":"")+t.toString(16)}function Qe(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 Je(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof Te||(t=ze(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,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:De,formatHex:De,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Je(this).formatHsl()},formatRgb:$e,toString:$e}),ve(Ue,We,ke(Te,{brighter(t){return t=null==t?Se:Math.pow(Se,t),new Ue(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?we:Math.pow(we,t),new Ue(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ue(Ge(this.r),Ge(this.g),Ge(this.b),Ve(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:He,formatHex:He,formatHex8:function(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}${Xe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ye,toString:Ye})),ve(Ke,(function(t,e,i,r){return 1===arguments.length?Je(t):new Ke(t,e,i,null==r?1:r)}),ke(Te,{brighter(t){return t=null==t?Se:Math.pow(Se,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?we:Math.pow(we,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 Ue(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),Ve(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=Ve(this.opacity);return`${1===t?"hsl(":"hsla("}${ti(this.h)}, ${100*ei(this.s)}%, ${100*ei(this.l)}%${1===t?")":`, ${t})`}`}}));var 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)}var 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=We(t)).r,(e=We(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=$(t),r="transform"===i?_e:fi;return this.attrTween(t,"function"==typeof e?(i.local?_i:yi)(i,r,xe(this,"attr."+t,e)):null==e?(i.local?pi:di)(i):(i.local?mi: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=$(t);return this.tween(i,(r.local?bi:Ci)(r,e))},style:function(t,e,i){var r="transform"==(t+="")?ye:fi;return null==e?this.styleTween(t,function(t,e){var i,r,n;return function(){var o=X(this,t),a=(this.style.removeProperty(t),X(this,t));return o===a?null:o===i&&a===r?n:n=e(i=o,r=a)}}(t,r)).on("end.style."+t,Si(t)):"function"==typeof e?this.styleTween(t,function(t,e,i){var r,n,o;return function(){var a=X(this,t),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=X(this,t)),a===l?null:a===r&&l===n?o:(n=l,o=e(r=a,s))}}(t,r,xe(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=Si(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=X(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}}(xe(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)}))},At.prototype.transition=function(t){var e,i;t instanceof Fi?(e=t._id,t=t._name):(e=Li(),(i=Ai).time=Gt(),t=null==t?null:t+"");for(var r=this._groups,n=r.length,o=0;ofunction(t,e){return fetch(t,e).then(Ni)}(e,i).then((e=>(new DOMParser).parseFromString(e,t)))}["w","e"].map(qi),["n","s"].map(qi),["n","w","e","s","nw","ne","sw","se"].map(qi),Di("application/xml"),Di("text/html");var $i=Di("image/svg+xml");const zi=Math.PI/180,ji=180/Math.PI,Pi=.96422,Ri=1,Wi=.82521,Ui=4/29,Hi=6/29,Yi=3*Hi*Hi,Vi=Hi*Hi*Hi;function Gi(t){if(t instanceof Xi)return new Xi(t.l,t.a,t.b,t.opacity);if(t instanceof ir)return rr(t);t instanceof Ue||(t=Re(t));var e,i,r=tr(t.r),n=tr(t.g),o=tr(t.b),a=Qi((.2225045*r+.7168786*n+.0606169*o)/Ri);return r===n&&n===o?e=i=a:(e=Qi((.4360747*r+.3850649*n+.1430804*o)/Pi),i=Qi((.0139322*r+.0971045*n+.7141733*o)/Wi)),new Xi(116*a-16,500*(e-a),200*(a-i),t.opacity)}function Xi(t,e,i,r){this.l=+t,this.a=+e,this.b=+i,this.opacity=+r}function Qi(t){return t>Vi?Math.pow(t,1/3):t/Yi+Ui}function Ji(t){return t>Hi?t*t*t:Yi*(t-Ui)}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 Xi||(t=Gi(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)}));nr(ai);const ar=Math.sqrt(50),sr=Math.sqrt(10),lr=Math.sqrt(2);function hr(t,e,i){const r=(e-t)/Math.max(0,i),n=Math.floor(Math.log10(r)),o=r/Math.pow(10,n),a=o>=ar?10:o>=sr?5:o>=lr?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 dr(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function pr(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(nfr(t(e),i),r=(e,i)=>t(e)-i):(e=t===fr||t===dr?t:gr,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?Mr:Lr,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,wr),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=Tr,c()},u.clamp=function(t){return arguments.length?(h=!!t||Br,c()):h!==Br},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()}}()(Br,Br)}function Zr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Or,Ir=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function qr(t){if(!(e=Ir.exec(t)))throw new Error("invalid format: "+t);var e;return new Nr({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 Nr(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 Dr(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 $r(t){return(t=Dr(Math.abs(t)))?t[1]:NaN}function zr(t,e){var i=Dr(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")}qr.prototype=Nr.prototype,Nr.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};var jr={"%":(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)=>zr(100*t,e),r:zr,s:function(t,e){var i=Dr(t,e);if(!i)return t+"";var r=i[0],n=i[1],o=n-(Or=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")+Dr(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Pr(t){return t}var Rr,Wr,Ur,Hr=Array.prototype.map,Yr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Vr(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=cr(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 Gr(){var t=Er();return t.copy=function(){return Ar(t,Gr())},Zr.apply(t,arguments),Vr(t)}Rr=function(t){var e,i,r=void 0===t.grouping||void 0===t.thousands?Pr:(e=Hr.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?Pr:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Hr.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=qr(t)).fill,i=t.align,u=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,_=t.type;"n"===_?(g=!0,_="g"):jr[_]||(void 0===m&&(m=12),y=!0,_="g"),(d||"0"===e&&"="===i)&&(d=!0,e="0",i="=");var b="$"===f?n:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",C="$"===f?o:/[%p]/.test(_)?l:"",x=jr[_],v=/[defgprs%]/.test(_);function k(t){var n,o,l,f=b,k=C;if("c"===_)k=x(t)+k,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:x(Math.abs(t),m),y&&(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),f=(T?"("===u?u:h:"-"===u||"("===u?"":u)+f,k=("s"===_?Yr[8+Or/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&&!d&&(t=r(t,1/0));var w=f.length+t.length+k.length,S=w>1)+f+t+k+S.slice(w);break;default:t=S+f+t+k}return s(t)}return m=void 0===m?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:u,formatPrefix:function(t,e){var i=u(((t=qr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor($r(e)/3))),n=Math.pow(10,-r),o=Yr[8+r/3];return function(t){return i(n*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Wr=Rr.format,Ur=Rr.formatPrefix;class Xr extends Map{constructor(t,e=Jr){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(Qr(this,t))}has(t){return super.has(Qr(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 Qr({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):i}function Jr(t){return null!==t&&"object"==typeof t?t.valueOf():t}const Kr=Symbol("implicit");function tn(){var t=new Xr,e=[],i=[],r=Kr;function n(n){let o=t.get(n);if(void 0===o){if(r!==Kr)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 Xr;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 tn(e,i).unknown(r)},Zr.apply(n,arguments),n}const en=1e3,rn=6e4,nn=36e5,on=864e5,an=6048e5,sn=31536e6,ln=new Date,hn=new Date;function cn(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(scn((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)=>(ln.setTime(+e),hn.setTime(+r),t(ln),t(hn),Math.floor(i(ln,hn))),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 un=cn((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));un.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?cn((e=>{e.setTime(Math.floor(e/t)*t)}),((e,i)=>{e.setTime(+e+i*t)}),((e,i)=>(i-e)/t)):un:null),un.range;const fn=cn((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*en)}),((t,e)=>(e-t)/en),(t=>t.getUTCSeconds())),dn=(fn.range,cn((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*en)}),((t,e)=>{t.setTime(+t+e*rn)}),((t,e)=>(e-t)/rn),(t=>t.getMinutes()))),pn=(dn.range,cn((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*rn)}),((t,e)=>(e-t)/rn),(t=>t.getUTCMinutes()))),gn=(pn.range,cn((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*en-t.getMinutes()*rn)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getHours()))),mn=(gn.range,cn((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getUTCHours()))),yn=(mn.range,cn((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rn)/on),(t=>t.getDate()-1))),_n=(yn.range,cn((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/on),(t=>t.getUTCDate()-1))),bn=(_n.range,cn((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/on),(t=>Math.floor(t/on))));function Cn(t){return cn((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())*rn)/an))}bn.range;const xn=Cn(0),vn=Cn(1),kn=Cn(2),Tn=Cn(3),wn=Cn(4),Sn=Cn(5),Bn=Cn(6);function Fn(t){return cn((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)/an))}xn.range,vn.range,kn.range,Tn.range,wn.range,Sn.range,Bn.range;const Ln=Fn(0),Mn=Fn(1),An=Fn(2),En=Fn(3),Zn=Fn(4),On=Fn(5),In=Fn(6),qn=(Ln.range,Mn.range,An.range,En.range,Zn.range,On.range,In.range,cn((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()))),Nn=(qn.range,cn((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()))),Dn=(Nn.range,cn((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())));Dn.every=t=>isFinite(t=Math.floor(t))&&t>0?cn((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,Dn.range;const $n=cn((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 zn(t,e,i,r,n,o){const a=[[fn,1,en],[fn,5,5e3],[fn,15,15e3],[fn,30,3e4],[o,1,rn],[o,5,3e5],[o,15,9e5],[o,30,18e5],[n,1,nn],[n,3,108e5],[n,6,216e5],[n,12,432e5],[r,1,on],[r,2,1728e5],[i,1,an],[e,1,2592e6],[e,3,7776e6],[t,1,sn]];function s(e,i,r){const n=Math.abs(i-e)/r,o=pr((([,,t])=>t)).right(a,n);if(o===a.length)return t.every(ur(e/sn,i/sn,r));if(0===o)return un.every(Math.max(ur(e,i,r),1));const[s,l]=a[n/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?cn((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,$n.range;const[jn,Pn]=zn($n,Nn,Ln,bn,mn,pn),[Rn,Wn]=zn(Dn,qn,xn,yn,gn,dn);function Un(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 Hn(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 Yn(t,e,i){return{y:t,m:e,d:i,H:0,M:0,S:0,L:0}}var Vn,Gn,Xn={"-":"",_:" ",0:"0"},Qn=/^\s*\d+/,Jn=/^%/,Kn=/[\\^$*+?|[\]().{}]/g;function to(t,e,i){var r=t<0?"-":"",n=(r?-t:t)+"",o=n.length;return r+(o[t.toLowerCase(),e])))}function no(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.w=+r[0],i+r[0].length):-1}function oo(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.u=+r[0],i+r[0].length):-1}function ao(t,e,i){var r=Qn.exec(e.slice(i,i+2));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.V=+r[0],i+r[0].length):-1}function lo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.W=+r[0],i+r[0].length):-1}function ho(t,e,i){var r=Qn.exec(e.slice(i,i+4));return r?(t.y=+r[0],i+r[0].length):-1}function co(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 uo(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 fo(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 po(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 go(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 yo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.H=+r[0],i+r[0].length):-1}function _o(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.M=+r[0],i+r[0].length):-1}function bo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.S=+r[0],i+r[0].length):-1}function Co(t,e,i){var r=Qn.exec(e.slice(i,i+3));return r?(t.L=+r[0],i+r[0].length):-1}function xo(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 vo(t,e,i){var r=Jn.exec(e.slice(i,i+1));return r?i+r[0].length:-1}function ko(t,e,i){var r=Qn.exec(e.slice(i));return r?(t.Q=+r[0],i+r[0].length):-1}function To(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 to(t.getDate(),e,2)}function So(t,e){return to(t.getHours(),e,2)}function Bo(t,e){return to(t.getHours()%12||12,e,2)}function Fo(t,e){return to(1+yn.count(Dn(t),t),e,3)}function Lo(t,e){return to(t.getMilliseconds(),e,3)}function Mo(t,e){return Lo(t,e)+"000"}function Ao(t,e){return to(t.getMonth()+1,e,2)}function Eo(t,e){return to(t.getMinutes(),e,2)}function Zo(t,e){return to(t.getSeconds(),e,2)}function Oo(t){var e=t.getDay();return 0===e?7:e}function Io(t,e){return to(xn.count(Dn(t)-1,t),e,2)}function qo(t){var e=t.getDay();return e>=4||0===e?wn(t):wn.ceil(t)}function No(t,e){return t=qo(t),to(wn.count(Dn(t),t)+(4===Dn(t).getDay()),e,2)}function Do(t){return t.getDay()}function $o(t,e){return to(vn.count(Dn(t)-1,t),e,2)}function zo(t,e){return to(t.getFullYear()%100,e,2)}function jo(t,e){return to((t=qo(t)).getFullYear()%100,e,2)}function Po(t,e){return to(t.getFullYear()%1e4,e,4)}function Ro(t,e){var i=t.getDay();return to((t=i>=4||0===i?wn(t):wn.ceil(t)).getFullYear()%1e4,e,4)}function Wo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+to(e/60|0,"0",2)+to(e%60,"0",2)}function Uo(t,e){return to(t.getUTCDate(),e,2)}function Ho(t,e){return to(t.getUTCHours(),e,2)}function Yo(t,e){return to(t.getUTCHours()%12||12,e,2)}function Vo(t,e){return to(1+_n.count($n(t),t),e,3)}function Go(t,e){return to(t.getUTCMilliseconds(),e,3)}function Xo(t,e){return Go(t,e)+"000"}function Qo(t,e){return to(t.getUTCMonth()+1,e,2)}function Jo(t,e){return to(t.getUTCMinutes(),e,2)}function Ko(t,e){return to(t.getUTCSeconds(),e,2)}function ta(t){var e=t.getUTCDay();return 0===e?7:e}function ea(t,e){return to(Ln.count($n(t)-1,t),e,2)}function ia(t){var e=t.getUTCDay();return e>=4||0===e?Zn(t):Zn.ceil(t)}function ra(t,e){return t=ia(t),to(Zn.count($n(t),t)+(4===$n(t).getUTCDay()),e,2)}function na(t){return t.getUTCDay()}function oa(t,e){return to(Mn.count($n(t)-1,t),e,2)}function aa(t,e){return to(t.getUTCFullYear()%100,e,2)}function sa(t,e){return to((t=ia(t)).getUTCFullYear()%100,e,2)}function la(t,e){return to(t.getUTCFullYear()%1e4,e,4)}function ha(t,e){var i=t.getUTCDay();return to((t=i>=4||0===i?Zn(t):Zn.ceil(t)).getUTCFullYear()%1e4,e,4)}function ca(){return"+0000"}function ua(){return"%"}function fa(t){return+t}function da(t){return Math.floor(+t/1e3)}function pa(t){return new Date(t)}function ga(t){return t instanceof Date?+t:+new Date(+t)}function ma(t,e,i,r,n,o,a,s,l,h){var c=Er(),u=c.invert,f=c.domain,d=h(".%L"),p=h(":%S"),g=h("%I:%M"),m=h("%I %p"),y=h("%a %d"),_=h("%b %d"),b=h("%B"),C=h("%Y");function x(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:fa,s:da,S:Zo,u:Oo,U:Io,V:No,w:Do,W:$o,x:null,X:null,y:zo,Y:Po,Z:Wo,"%":ua},C={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:Uo,e:Uo,f:Xo,g:sa,G:ha,H:Ho,I:Yo,j:Vo,L:Go,m:Qo,M:Jo,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:fa,s:da,S:Ko,u:ta,U:ea,V:ra,w:na,W:oa,x:null,X:null,y:aa,Y:la,Z:ca,"%":ua},x={a:function(t,e,i){var r=d.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=f.get(r[0].toLowerCase()),i+r[0].length):-1},b:function(t,e,i){var r=y.exec(e.slice(i));return r?(t.m=_.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=m.get(r[0].toLowerCase()),i+r[0].length):-1},c:function(t,i,r){return T(t,e,i,r)},d:go,e:go,f:xo,g:co,G:ho,H:yo,I:yo,j:mo,L:Co,m:po,M:_o,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:fo,Q:ko,s:To,S:bo,u:oo,U:ao,V:so,w:no,W:lo,x:function(t,e,r){return T(t,i,e,r)},X:function(t,e,i){return T(t,r,e,i)},y:co,Y:ho,Z:uo,"%":vo};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=Hn(Yn(o.y,0,1))).getUTCDay(),r=n>4||0===n?Mn.ceil(r):Mn(r),r=_n.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(n=(r=Un(Yn(o.y,0,1))).getDay(),r=n>4||0===n?vn.ceil(r):vn(r),r=yn.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?Hn(Yn(o.y,0,1)).getUTCDay():Un(Yn(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,Hn(o)):Un(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=x[n in Xn?e.charAt(a++):n])||(r=o(t,i,r))<0)return-1}else if(n!=i.charCodeAt(r++))return-1}return r}return b.x=v(i,b),b.X=v(r,b),b.c=v(e,b),C.x=v(i,C),C.X=v(r,C),C.c=v(e,C),{format:function(t){var e=v(t+="",b);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+="",C);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"]}),Gn=Vn.format,Vn.parse,Vn.utcFormat,Vn.utcParse;var _a=function(t){for(var e=new Array(10),i=0;i<10;)e[i]="#"+t.slice(6*i,6*++i);return e}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function ba(t){return"string"==typeof t?new Lt([[document.querySelector(t)]],[document.documentElement]):new Lt([[t]],Ft)}function Ca(t){return"string"==typeof t?new Lt([document.querySelectorAll(t)],[document.documentElement]):new Lt([x(t)],Ft)}function xa(t){return function(){return t}}const va=Math.abs,ka=Math.atan2,Ta=Math.cos,wa=Math.max,Sa=Math.min,Ba=Math.sin,Fa=Math.sqrt,La=1e-12,Ma=Math.PI,Aa=Ma/2,Ea=2*Ma;function Za(t){return t>=1?Aa:t<=-1?-Aa:Math.asin(t)}const Oa=Math.PI,Ia=2*Oa,qa=1e-6,Na=Ia-qa;function Da(t){this._+=t[0];for(let e=1,i=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Da;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 f=i-o,d=r-a,p=s*s+l*l,g=f*f+d*d,m=Math.sqrt(p),y=Math.sqrt(u),_=n*Math.tan((Oa-Math.acos((p+u-g)/(2*m*y)))/2),b=_/y,C=_/m;Math.abs(b-1)>qa&&this._append`L${t+b*h},${e+b*c}`,this._append`A${n},${n},0,0,${+(c*f>h*d)},${this._x1=t+C*s},${this._y1=e+C*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%Ia+Ia),u>Na?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>=Oa)},${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 za(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 $a(e)}function ja(t){return t.innerRadius}function Pa(t){return t.outerRadius}function Ra(t){return t.startAngle}function Wa(t){return t.endAngle}function Ua(t){return t&&t.padAngle}function Ha(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,f=t+c,d=e+u,p=i+c,g=r+u,m=(f+p)/2,y=(d+g)/2,_=p-f,b=g-d,C=_*_+b*b,x=n-o,v=f*g-p*d,k=(b<0?-1:1)*Fa(wa(0,x*x*C-v*v)),T=(v*b-_*k)/C,w=(-v*_-b*k)/C,S=(v*b+_*k)/C,B=(-v*_+b*k)/C,F=T-m,L=w-y,M=S-m,A=B-y;return F*F+L*L>M*M+A*A&&(T=S,w=B),{cx:T,cy:w,x01:-c,y01:-u,x11:T*(n/x-1),y11:w*(n/x-1)}}function Ya(){var t=ja,e=Pa,i=xa(0),r=null,n=Ra,o=Wa,a=Ua,s=null,l=za(h);function h(){var h,c,u,f=+t.apply(this,arguments),d=+e.apply(this,arguments),p=n.apply(this,arguments)-Aa,g=o.apply(this,arguments)-Aa,m=va(g-p),y=g>p;if(s||(s=h=l()),dLa)if(m>Ea-La)s.moveTo(d*Ta(p),d*Ba(p)),s.arc(0,0,d,p,g,!y),f>La&&(s.moveTo(f*Ta(g),f*Ba(g)),s.arc(0,0,f,g,p,y));else{var _,b,C=p,x=g,v=p,k=g,T=m,w=m,S=a.apply(this,arguments)/2,B=S>La&&(r?+r.apply(this,arguments):Fa(f*f+d*d)),F=Sa(va(d-f)/2,+i.apply(this,arguments)),L=F,M=F;if(B>La){var A=Za(B/f*Ba(S)),E=Za(B/d*Ba(S));(T-=2*A)>La?(v+=A*=y?1:-1,k-=A):(T=0,v=k=(p+g)/2),(w-=2*E)>La?(C+=E*=y?1:-1,x-=E):(w=0,C=x=(p+g)/2)}var Z=d*Ta(C),O=d*Ba(C),I=f*Ta(k),q=f*Ba(k);if(F>La){var N,D=d*Ta(x),$=d*Ba(x),z=f*Ta(v),j=f*Ba(v);if(m1?0:u<-1?Ma:Math.acos(u))/2),Y=Fa(N[0]*N[0]+N[1]*N[1]);L=Sa(F,(f-Y)/(H-1)),M=Sa(F,(d-Y)/(H+1))}else L=M=0}w>La?M>La?(_=Ha(z,j,Z,O,d,M,y),b=Ha(D,$,I,q,d,M,y),s.moveTo(_.cx+_.x01,_.cy+_.y01),MLa&&T>La?L>La?(_=Ha(I,q,D,$,f,-L,y),b=Ha(Z,O,z,j,f,-L,y),s.lineTo(_.cx+_.x01,_.cy+_.y01),Lt?1:e>=t?0:NaN}function es(t){return t}function is(){var t=es,e=ts,i=null,r=xa(0),n=xa(Ea),o=xa(0);function a(a){var s,l,h,c,u,f=(a=Va(a)).length,d=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),y=Math.min(Ea,Math.max(-Ea,n.apply(this,arguments)-m)),_=Math.min(Math.abs(y)/f,o.apply(this,arguments)),b=_*(y<0?-1:1);for(s=0;s0&&(d+=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=d?(y-f*b)/d:0;s0?u*h:0)+b,g[l]={data:a[l],index:s,value:u,startAngle:m,endAngle:c,padAngle:_};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:xa(+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:xa(+t),a):r},a.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:xa(+t),a):n},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:xa(+t),a):o},a}function rs(){}function ns(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 os(t){this._context=t}function as(t){return new os(t)}function ss(t){this._context=t}function ls(t){return new ss(t)}function hs(t){this._context=t}function cs(t){return new hs(t)}$a.prototype,Array.prototype.slice,Ga.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)}}},os.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:ns(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:ns(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ss.prototype={areaStart:rs,areaEnd:rs,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:ns(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},hs.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:ns(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class us{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 us(t,!0)}function ds(t){return new us(t,!1)}function ps(t,e){this._basis=new os(t),this._beta=e}ps.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)}};var gs=function t(e){function i(t){return 1===e?new os(t):new ps(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 ys(t,e){this._context=t,this._k=(1-e)/6}ys.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}};var _s=function t(e){function i(t){return new ys(t,e)}return i.tension=function(e){return t(+e)},i}(0);function bs(t,e){this._context=t,this._k=(1-e)/6}bs.prototype={areaStart:rs,areaEnd:rs,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}};var Cs=function t(e){function i(t){return new bs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function xs(t,e){this._context=t,this._k=(1-e)/6}xs.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}};var vs=function t(e){function i(t){return new xs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function ks(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 Ts(t,e){this._context=t,this._alpha=e}Ts.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:ks(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}};var ws=function t(e){function i(t){return e?new Ts(t,e):new ys(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:rs,areaEnd:rs,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:ks(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}};var Bs=function t(e){function i(t){return e?new Ss(t,e):new bs(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:ks(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}};var Ls=function t(e){function i(t){return e?new Fs(t,e):new xs(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ms(t){this._context=t}function As(t){return new Ms(t)}function Es(t){return t<0?-1:1}function Zs(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(Es(o)+Es(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Os(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Is(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 Ns(t){this._context=new Ds(t)}function Ds(t){this._context=t}function $s(t){return new qs(t)}function zs(t){return new Ns(t)}function js(t){this._context=t}function Ps(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}},Vs.prototype={constructor:Vs,scale:function(t){return 1===t?this:new Vs(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Vs(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 Vs(1,0,0),Vs.prototype},4549:function(t,e,i){"use strict";i.d(e,{Z:function(){return a}});var r=i(5971),n=i(2142),o=class{constructor(){this.type=n.w.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.w.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.w.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:i,l:n}=t;void 0===e&&(t.h=r.Z.channel.rgb2hsl(t,"h")),void 0===i&&(t.s=r.Z.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=r.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:i,b:n}=t;void 0===e&&(t.r=r.Z.channel.hsl2rgb(t,"r")),void 0===i&&(t.g=r.Z.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=r.Z.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.w.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")},1767:function(t,e,i){"use strict";i.d(e,{Z:function(){return g}});var r=i(4549),n=i(2142);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,f=l?255:15;return r.Z.set({r:(n>>c*(u+3)&f)*h,g:(n>>c*(u+2)&f)*h,b:(n>>c*(u+1)&f)*h,a:s?(n&f)*h/255:1},t)},stringify:t=>{const{r:e,g:i,b:r,a:o}=t;return o<1?`#${n.Q[Math.round(e)]}${n.Q[Math.round(i)]}${n.Q[Math.round(r)]}${n.Q[Math.round(255*o)]}`:`#${n.Q[Math.round(e)]}${n.Q[Math.round(i)]}${n.Q[Math.round(r)]}`}};var a=o,s=i(5971);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.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return s.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.Z.channel.clamp.h(360*parseFloat(t))}}return s.Z.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.Z.set({h:l._hue2deg(n),s:s.Z.channel.clamp.s(parseFloat(o)),l:s.Z.channel.clamp.l(parseFloat(a)),a:h?s.Z.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.Z.lang.round(e)}, ${s.Z.lang.round(i)}%, ${s.Z.lang.round(r)}%, ${n})`:`hsl(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}%, ${s.Z.lang.round(r)}%)`}};var h=l;const 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}};var u=c;const f={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(f.re);if(!i)return;const[,n,o,a,l,h,c,u,d]=i;return r.Z.set({r:s.Z.channel.clamp.r(o?2.55*parseFloat(n):parseFloat(n)),g:s.Z.channel.clamp.g(l?2.55*parseFloat(a):parseFloat(a)),b:s.Z.channel.clamp.b(c?2.55*parseFloat(h):parseFloat(h)),a:u?s.Z.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`rgba(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}, ${s.Z.lang.round(r)}, ${s.Z.lang.round(n)})`:`rgb(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}, ${s.Z.lang.round(r)})`}};var d=f;const p={format:{keyword:c,hex:a,rgb:f,rgba:f,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=a.parse(t)||d.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.w.HSL)||void 0===t.data.r?h.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?d.stringify(t):a.stringify(t)};var g=p},2142:function(t,e,i){"use strict";i.d(e,{Q:function(){return n},w:function(){return o}});var r=i(5971);const n={};for(let t=0;t<=255;t++)n[t]=r.Z.unit.dec2hex(t);const o={ALL:0,RGB:1,HSL:2}},6174:function(t,e,i){"use strict";var r=i(5971),n=i(1767);e.Z=(t,e,i)=>{const o=n.Z.parse(t),a=o[e],s=r.Z.channel.clamp[e](a+i);return a!==s&&(o[e]=s),n.Z.stringify(o)}},3438:function(t,e,i){"use strict";var r=i(5971),n=i(1767);e.Z=(t,e)=>{const i=n.Z.parse(t);for(const t in e)i[t]=r.Z.channel.clamp[t](e[t]);return n.Z.stringify(i)}},7201:function(t,e,i){"use strict";var r=i(6174);e.Z=(t,e)=>(0,r.Z)(t,"l",-e)},6500:function(t,e,i){"use strict";i.d(e,{Z:function(){return a}});var r=i(5971),n=i(1767),o=t=>(t=>{const{r:e,g:i,b:o}=n.Z.parse(t),a=.2126*r.Z.channel.toLinear(e)+.7152*r.Z.channel.toLinear(i)+.0722*r.Z.channel.toLinear(o);return r.Z.lang.round(a)})(t)>=.5,a=t=>!o(t)},2281:function(t,e,i){"use strict";var r=i(6174);e.Z=(t,e)=>(0,r.Z)(t,"l",e)},1117:function(t,e,i){"use strict";var r=i(5971),n=i(4549),o=i(1767),a=i(3438);e.Z=(t,e,i=0,s=1)=>{if("number"!=typeof t)return(0,a.Z)(t,{a:e});const l=n.Z.set({r:r.Z.channel.clamp.r(t),g:r.Z.channel.clamp.g(e),b:r.Z.channel.clamp.b(i),a:r.Z.channel.clamp.a(s)});return o.Z.stringify(l)}},5971:function(t,e,i){"use strict";i.d(e,{Z:function(){return 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}`}}}},2536:function(t,e,i){"use strict";i.d(e,{Z:function(){return s}});var r=i(9651),n=function(t,e){for(var i=t.length;i--;)if((0,r.Z)(t[i][0],e))return i;return-1},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};var s=a},6183:function(t,e,i){"use strict";var r=i(2119),n=i(6092),o=(0,r.Z)(n.Z,"Map");e.Z=o},520:function(t,e,i){"use strict";i.d(e,{Z:function(){return f}});var r=(0,i(2119).Z)(Object,"create"),n=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0){if(++n>=800)return arguments[0]}else n=0;return r.apply(void 0,arguments)})},19:function(t,e){"use strict";var i=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2002:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},9651:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},9203:function(t,e){"use strict";e.Z=function(t){return t}},4732:function(t,e,i){"use strict";i.d(e,{Z:function(){return c}});var r=i(1922),n=i(8533),o=function(t){return(0,n.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable,h=o(function(){return arguments}())?o:function(t){return(0,n.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")},c=h},7771:function(t,e){"use strict";var i=Array.isArray;e.Z=i},585:function(t,e,i){"use strict";var r=i(3234),n=i(1656);e.Z=function(t){return null!=t&&(0,n.Z)(t.length)&&!(0,r.Z)(t)}},836:function(t,e,i){"use strict";var r=i(585),n=i(8533);e.Z=function(t){return(0,n.Z)(t)&&(0,r.Z)(t)}},6706:function(t,e,i){"use strict";i.d(e,{Z:function(){return s}});var r=i(6092),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n?r.Z.Buffer:void 0,s=(a?a.isBuffer:void 0)||function(){return!1}},9697:function(t,e,i){"use strict";var r=i(8448),n=i(6155),o=i(4732),a=i(7771),s=i(585),l=i(6706),h=i(2764),c=i(7212),u=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,a.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.Z)(t)||(0,c.Z)(t)||(0,o.Z)(t)))return!t.length;var e=(0,n.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.Z)(t))return!(0,r.Z)(t).length;for(var i in t)if(u.call(t,i))return!1;return!0}},3234:function(t,e,i){"use strict";var r=i(1922),n=i(7226);e.Z=function(t){if(!(0,n.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1656:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7226:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},7514:function(t,e,i){"use strict";var r=i(1922),n=i(2513),o=i(8533),a=Function.prototype,s=Object.prototype,l=a.toString,h=s.hasOwnProperty,c=l.call(Object);e.Z=function(t){if(!(0,o.Z)(t)||"[object Object]"!=(0,r.Z)(t))return!1;var e=(0,n.Z)(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}},7212:function(t,e,i){"use strict";i.d(e,{Z:function(){return c}});var r=i(1922),n=i(1656),o=i(8533),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(1162),l=i(4254),h=l.Z&&l.Z.isTypedArray,c=h?(0,s.Z)(h):function(t){return(0,o.Z)(t)&&(0,n.Z)(t.length)&&!!a[(0,r.Z)(t)]}},7590:function(t,e,i){"use strict";i.d(e,{Z:function(){return h}});var r=i(9001),n=i(7226),o=i(2764),a=Object.prototype.hasOwnProperty,s=function(t){if(!(0,n.Z)(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.Z)(t),i=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&i.push(r);return i},l=i(585),h=function(t){return(0,l.Z)(t)?(0,r.Z)(t,!0):s(t)}},2454:function(t,e,i){"use strict";var r=i(520);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.Z),i}n.Cache=r.Z,e.Z=n},6841:function(t,e,i){"use strict";i.d(e,{Z:function(){return F}});var r,n=i(5365),o=i(4752),a=i(9651),s=function(t,e,i){(void 0!==i&&!(0,a.Z)(t[e],i)||void 0===i&&!(e in t))&&(0,o.Z)(t,e,i)},l=i(5381),h=i(1050),c=i(2701),u=i(7215),f=i(5418),d=i(4732),p=i(7771),g=i(836),m=i(6706),y=i(3234),_=i(7226),b=i(7514),C=i(7212),x=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},v=i(1899),k=i(7590),T=function(t,e,i,r,n,o,a){var l,T=x(t,i),w=x(e,i),S=a.get(w);if(S)s(t,i,S);else{var B=o?o(T,w,i+"",t,e,a):void 0,F=void 0===B;if(F){var L=(0,p.Z)(w),M=!L&&(0,m.Z)(w),A=!L&&!M&&(0,C.Z)(w);B=w,L||M||A?(0,p.Z)(T)?B=T:(0,g.Z)(T)?B=(0,u.Z)(T):M?(F=!1,B=(0,h.Z)(w,!0)):A?(F=!1,B=(0,c.Z)(w,!0)):B=[]:(0,b.Z)(w)||(0,d.Z)(w)?(B=T,(0,d.Z)(T)?(l=T,B=(0,v.Z)(l,(0,k.Z)(l))):(0,_.Z)(T)&&!(0,y.Z)(T)||(B=(0,f.Z)(w))):F=!1}F&&(a.set(w,B),n(B,w,r,o,a),a.delete(w)),s(t,i,B)}},w=function t(e,i,r,o,a){e!==i&&(0,l.Z)(i,(function(l,h){if(a||(a=new n.Z),(0,_.Z)(l))T(e,i,h,r,t,o,a);else{var c=o?o(x(e,h),l,h+"",e,i,a):void 0;void 0===c&&(c=l),s(e,h,c)}}),k.Z)},S=i(9581),B=i(439),F=(r=function(t,e,i){w(t,e,i)},(0,S.Z)((function(t,e){var i=-1,n=e.length,o=n>1?e[n-1]:void 0,a=n>2?e[2]:void 0;for(o=r.length>3&&"function"==typeof o?(n--,o):void 0,a&&(0,B.Z)(e[0],e[1],a)&&(o=n<3?void 0:o,n=1),t=Object(t);++i{const i=l.Z.parse(t),r={};for(const t in e)e[t]&&(r[t]=i[t]+e[t]);return(0,h.Z)(t,r)},u=i(1117),f=(t,e=100)=>{const i=l.Z.parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,((t,e,i=50)=>{const{r:r,g:n,b:o,a:a}=l.Z.parse(t),{r:s,g:h,b:c,a:f}=l.Z.parse(e),d=i/100,p=2*d-1,g=a-f,m=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,y=1-m,_=r*m+s*y,b=n*m+h*y,C=o*m+c*y,x=a*d+f*(1-d);return(0,u.Z)(_,b,C,x)})(i,t,e)},d=i(7201),p=i(2281),g=i(6500),m=i(2454),y=i(6841),_="comm",b="rule",C="decl",x=Math.abs,v=String.fromCharCode;function k(t){return t.trim()}function T(t,e,i){return t.replace(e,i)}function w(t,e){return t.indexOf(e)}function S(t,e){return 0|t.charCodeAt(e)}function B(t,e,i){return t.slice(e,i)}function F(t){return t.length}function L(t,e){return e.push(t),t}function M(t,e){for(var i="",r=0;r0?S(N,--I):0,Z--,10===q&&(Z=1,E--),q}function z(){return q=I2||W(q)>3?"":" "}function Y(t,e){for(;--e&&z()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return R(t,P()+(e<6&&32==j()&&32==z()))}function V(t){for(;z();)switch(q){case t:return I;case 34:case 39:34!==t&&39!==t&&V(q);break;case 40:41===t&&V(t);break;case 92:z()}return I}function G(t,e){for(;z()&&t+q!==57&&(t+q!==84||47!==j()););return"/*"+R(e,I-1)+"*"+v(47===t?t:z())}function X(t){for(;!W(j());)z();return R(t,I)}function Q(t){return function(t){return N="",t}(J("",null,null,null,[""],t=function(t){return E=Z=1,O=F(N=t),I=0,[]}(t),0,[0],t))}function J(t,e,i,r,n,o,a,s,l){for(var h=0,c=0,u=a,f=0,d=0,p=0,g=1,m=1,y=1,_=0,b="",C=n,x=o,k=r,B=b;m;)switch(p=_,_=z()){case 40:if(108!=p&&58==S(B,u-1)){-1!=w(B+=T(U(_),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:B+=U(_);break;case 9:case 10:case 13:case 32:B+=H(p);break;case 92:B+=Y(P()-1,7);continue;case 47:switch(j()){case 42:case 47:L(tt(G(z(),P()),e,i,l),l);break;default:B+="/"}break;case 123*g:s[h++]=F(B)*y;case 125*g:case 59:case 0:switch(_){case 0:case 125:m=0;case 59+c:-1==y&&(B=T(B,/\f/g,"")),d>0&&F(B)-u&&L(d>32?et(B+";",r,i,u-1,l):et(T(B," ","")+";",r,i,u-2,l),l);break;case 59:B+=";";default:if(L(k=K(B,e,i,h,c,n,s,b,C=[],x=[],u,o),o),123===_)if(0===c)J(B,e,k,k,C,o,u,s,x);else switch(99===f&&110===S(B,3)?100:f){case 100:case 108:case 109:case 115:J(t,k,k,r&&L(K(t,k,k,0,0,n,s,b,n,C=[],u,x),x),n,x,u,s,r?C:x);break;default:J(B,k,k,k,[""],x,0,s,x)}}h=c=d=0,g=y=1,b=B="",u=a;break;case 58:u=1+F(B),d=p;default:if(g<1)if(123==_)--g;else if(125==_&&0==g++&&125==$())continue;switch(B+=v(_),_*g){case 38:y=c>0?1:(B+="\f",-1);break;case 44:s[h++]=(F(B)-1)*y,y=1;break;case 64:45===j()&&(B+=U(z())),f=j(),c=u=F(b=B+=X(P())),_++;break;case 45:45===p&&2==F(B)&&(g=0)}}return o}function K(t,e,i,r,n,o,a,s,l,h,c,u){for(var f=n-1,d=0===n?o:[""],p=function(t){return t.length}(d),g=0,m=0,y=0;g0?d[_]+" "+C:T(C,/&\f/g,d[_])))&&(l[y++]=v);return D(t,e,i,0===n?b:s,l,h,c,u)}function tt(t,e,i,r){return D(t,e,i,_,v(q),B(t,2,-2),0,r)}function et(t,e,i,r,n){return D(t,e,i,C,B(t,0,r),B(t,r+1,-1),r,n)}var it=i(9697);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=t=>s.sanitize(t),ht=(t,e)=>{var i;if(!1!==(null==(i=e.flowchart)?void 0:i.htmlLabels)){const i=e.securityLevel;"antiscript"===i||"strict"===i?t=lt(t):"loose"!==i&&(t=(t=(t=ft(t)).replace(//g,">")).replace(/=/g,"="),t=ut(t))}return t},ct=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(ht(t,e),e.dompurifyConfig).toString():s.sanitize(ht(t,e),{FORBID_TAGS:["style"]}).toString():t,ut=t=>t.replace(/#br#/g,"
    "),ft=t=>t.replace(st,"#br#"),dt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),pt=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=gt(t,"~"),r=gt(e,"~");return 1===i&&1===r},yt=t=>{const e=gt(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("")},_t={getRows:t=>t?ft(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:ct,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ct(t,e):t.flat().map((t=>ct(t,e))),hasBreaks:t=>st.test(t),splitBreaks:t=>t.split(st),lineBreakRegex:st,removeScript:lt,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:dt,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)}},bt=(t,e)=>c(t,e?{s:-40,l:10}:{s:-40,l:-10}),Ct="#ffffff",xt="#f2f2f2";let vt=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(){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||bt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||bt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||bt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||bt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||f(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||f(this.tertiaryColor),this.lineColor=this.lineColor||f(this.background),this.arrowheadColor=this.arrowheadColor||f(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,d.Z)(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,d.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||f(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.Z)(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]}))}},kt=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,p.Z)(this.primaryColor,16),this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=f(this.background),this.secondaryBorderColor=bt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=bt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.tertiaryColor),this.lineColor=f(this.background),this.textColor=f(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,p.Z)(f("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,u.Z)(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,d.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,u.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,u.Z)(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(){this.secondBkg=(0,p.Z)(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.Z)(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.Z)(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]}))}},Tt=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=bt(this.primaryColor,this.darkMode),this.secondaryBorderColor=bt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=bt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.tertiaryColor),this.lineColor=f(this.background),this.textColor=f(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.Z)(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(){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,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const wt=t=>{const e=new Tt;return e.calculate(t),e};let St=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.Z)("#cde498",10),this.primaryBorderColor=bt(this.primaryColor,this.darkMode),this.secondaryBorderColor=bt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=bt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.primaryColor),this.lineColor=f(this.background),this.textColor=f(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(){this.actorBorder=(0,d.Z)(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,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};class Bt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,p.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=bt(this.primaryColor,this.darkMode),this.secondaryBorderColor=bt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=bt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.tertiaryColor),this.lineColor=f(this.background),this.textColor=f(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(){this.secondBkg=(0,p.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,p.Z)(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 Ft={base:{getThemeVariables:t=>{const e=new vt;return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new kt;return e.calculate(t),e}},default:{getThemeVariables:wt},forest:{getThemeVariables:t=>{const e=new St;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new Bt;return e.calculate(t),e}}},Lt={flowchart:{useMaxWidth:!0,titleTopMargin:25,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},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,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:""},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},Mt={...Lt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Ft.default.getThemeVariables(),sequence:{...Lt.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:{...Lt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Lt.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:{...Lt.pie,useWidth:984},requirement:{...Lt.requirement,useWidth:void 0},gitGraph:{...Lt.gitGraph,useMaxWidth:!1},sankey:{...Lt.sankey,useMaxWidth:!1}},At=(t,e="")=>Object.keys(t).reduce(((i,r)=>Array.isArray(t[r])?i:"object"==typeof t[r]&&null!==t[r]?[...i,e+r,...At(t[r],"")]:[...i,e+r]),[]),Et=new Set(At(Mt,"")),Zt=Mt,Ot=t=>{if(nt.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>Ot(t)));else{for(const e of Object.keys(t)){if(nt.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Et.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),Ot(t[e]);continue}const i=["themeCSS","fontFamily","altFontFamily"];for(const r of i)e.includes(r)&&(nt.debug("sanitizing css option",e),t[e]=It(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)}},It=t=>{let e=0,i=0;for(const r of t){if(e{for(const{id:e,detector:i,loader:r}of t)Rt(e,i,r)},Rt=(t,e,i)=>{zt[t]?nt.error(`Detector with key ${t} already exists`):zt[t]={detector:e,loader:i},nt.debug(`Detector with key ${t} added${i?" with loader":""}`)},Wt=(t,e,{depth:i=2,clobber:r=!1}={})=>{const n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Wt(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]=Wt(t[n],e[n],{depth:i-1,clobber:r}))})),t)},Ut=Wt,Ht="​",Yt={curveBasis:a.$0Z,curveBasisClosed:a.Dts,curveBasisOpen:a.WQY,curveBumpX:a.qpX,curveBumpY:a.u93,curveBundle:a.tFB,curveCardinalClosed:a.OvA,curveCardinalOpen:a.dCK,curveCardinal:a.YY7,curveCatmullRomClosed:a.fGX,curveCatmullRomOpen:a.$m7,curveCatmullRom:a.zgE,curveLinear:a.c_6,curveLinearClosed:a.fxm,curveMonotoneX:a.FdL,curveMonotoneY:a.ak_,curveNatural:a.SxZ,curveStep:a.eA_,curveStepAfter:a.jsv,curveStepBefore:a.iJ},Vt=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Gt=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${Vt.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=Nt.exec(t));)if(r.index===Nt.lastIndex&&Nt.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 Xt(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Yt[i]??e}function Qt(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}const Jt=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},Kt=(t,e)=>{let i,r=e;for(const e of t){if(i){const t=Qt(e,i);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:Jt((1-n)*i.x+n*e.x,5),y:Jt((1-n)*i.y+n*e.y,5)}}}i=e}throw new Error("Could not find a suitable point for the given distance")};function te(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 ee=0;const ie=()=>(ee++,"id-"+Math.random().toString(36).substr(2,12)+"-"+ee),re=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),_t.lineBreakRegex.test(t))return t;const r=t.split(" "),n=[];let o="";return r.forEach(((t,a)=>{const s=le(`${t} `,i),l=le(o,i);if(s>e){const{hyphenatedStrings:r,remainingWord:a}=ae(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}`)),ae=(0,m.Z)(((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(le(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 se(t,e){return he(t,e).height}function le(t,e){return he(t,e).width}const he=(0,m.Z)(((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=fe(i),s=["sans-serif",r],l=t.split(_t.lineBreakRegex),h=[],c=(0,a.Ys)("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||Ht;const s=ne(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 ce;function ue(t){return"str"in t}const fe=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 de(t,e){return(0,y.Z)({},t,e)}const pe={assignWithDepth:Ut,wrapLabel:oe,calculateTextHeight:se,calculateTextWidth:le,calculateTextDimensions:he,cleanAndMerge:de,detectInit:function(t,e){const i=Gt(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const t=i.map((t=>t.args));Ot(t),r=Ut(r,[...t])}else r=i.args;if(!r)return;let n=jt(t,e);const o="config";return void 0!==r[o]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[o],delete r[o]),r},detectDirective:Gt,isSubstringInArray:function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1},interpolateToCurve:Xt,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,i=0;return t.forEach((t=>{i+=Qt(t,e),e=t})),Kt(t,i/2)}(t)},calcCardinalityPosition:(t,e,i)=>{nt.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const r=Kt(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=Kt(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.Nm)(i):i},getStylesFromArray:te,generateId:ie,random:re,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:fe,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},ge="10.5.0",me=Object.freeze(Zt);let ye,_e=Ut({},me),be=[],Ce=Ut({},me);const xe=(t,e)=>{let i=Ut({},t),r={};for(const t of e)we(t),r=Ut(r,t);if(i=Ut(i,r),r.theme&&r.theme in Ft){const t=Ut({},ye),e=Ut(t.themeVariables||{},r.themeVariables);i.theme&&i.theme in Ft&&(i.themeVariables=Ft[i.theme].getThemeVariables(e))}return Ce=i,Le(Ce),Ce},ve=()=>Ut({},_e),ke=t=>(Le(t),Ut(Ce,t),Te()),Te=()=>Ut({},Ce),we=t=>{t&&(["secure",..._e.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]&&we(t[e])})))},Se=(t=_e)=>{be=[],xe(t,be)},Be={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Fe={},Le=t=>{var e;t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(Fe[e="LAZY_LOAD_DEPRECATED"]||(nt.warn(Be[e]),Fe[e]=!0))},Me={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await i.e(425).then(i.bind(i,425));return{id:"c4",diagram:t}}},Ae="flowchart",Ee={id:Ae,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(771),i.e(27),i.e(580),i.e(644),i.e(320),i.e(869)]).then(i.bind(i,1869));return{id:Ae,diagram:t}}},Ze="flowchart-v2",Oe={id:Ze,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(771),i.e(27),i.e(580),i.e(644),i.e(320),i.e(626)]).then(i.bind(i,4626));return{id:Ze,diagram:t}}},Ie={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(771),i.e(305)]).then(i.bind(i,3305));return{id:"er",diagram:t}}},qe="gitGraph",Ne={id:qe,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await i.e(86).then(i.bind(i,5086));return{id:qe,diagram:t}}},De="gantt",$e={id:De,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await i.e(554).then(i.bind(i,1554));return{id:De,diagram:t}}},ze="info",je={id:ze,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await i.e(693).then(i.bind(i,684));return{id:ze,diagram:t}}},Pe={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await i.e(875).then(i.bind(i,7875));return{id:"pie",diagram:t}}},Re="quadrantChart",We={id:Re,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await i.e(69).then(i.bind(i,2069));return{id:Re,diagram:t}}},Ue="requirement",He={id:Ue,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(771),i.e(841)]).then(i.bind(i,8841));return{id:Ue,diagram:t}}},Ye="sequence",Ve={id:Ye,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await i.e(770).then(i.bind(i,9770));return{id:Ye,diagram:t}}},Ge="class",Xe={id:Ge,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(771),i.e(281),i.e(411)]).then(i.bind(i,5411));return{id:Ge,diagram:t}}},Qe="classDiagram",Je={id:Qe,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(771),i.e(27),i.e(580),i.e(644),i.e(281),i.e(31)]).then(i.bind(i,8031));return{id:Qe,diagram:t}}},Ke="state",ti={id:Ke,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(771),i.e(990),i.e(206)]).then(i.bind(i,4206));return{id:Ke,diagram:t}}},ei="stateDiagram",ii={id:ei,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(771),i.e(27),i.e(580),i.e(644),i.e(990),i.e(284)]).then(i.bind(i,4284));return{id:ei,diagram:t}}},ri="journey",ni={id:ri,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await i.e(764).then(i.bind(i,8764));return{id:ri,diagram:t}}},oi=t=>{var e;const{securityLevel:i}=Te();let r=(0,a.Ys)("body");if("sandbox"===i){const i=(null==(e=(0,a.Ys)(`#i${t}`).node())?void 0:e.contentDocument)??document;r=(0,a.Ys)(i.body)}return r.select(`#${t}`)},ai=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)},si=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}`),ai(e,l,s,r);const h=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",h)},li={draw:(t,e,i)=>{nt.debug("renering svg for syntax error\n");const r=oi(e);r.attr("viewBox","0 0 2412 512"),ai(r,100,512,!0);const n=r.append("g");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}`)}},hi=li,ci={db:{},renderer:li,parser:{parser:{yy:{}},parse:()=>{}}},ui="flowchart-elk",fi={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(27),i.e(580),i.e(320),i.e(366)]).then(i.bind(i,3366));return{id:ui,diagram:t}}},di="timeline",pi={id:di,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await i.e(68).then(i.bind(i,6086));return{id:di,diagram:t}}},gi="mindmap",mi={id:gi,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(27),i.e(254)]).then(i.bind(i,7254));return{id:gi,diagram:t}}},yi="sankey",_i={id:yi,detector:t=>/^\s*sankey-beta/.test(t),loader:async()=>{const{diagram:t}=await i.e(791).then(i.bind(i,1791));return{id:yi,diagram:t}}},bi={};let Ci="",xi="",vi="";const ki=t=>ct(t,Te()),Ti=()=>{Ci="",vi="",xi=""},wi=t=>{Ci=ki(t).replace(/^\s+/g,"")},Si=()=>Ci,Bi=t=>{vi=ki(t).replace(/\n\s+/g,"\n")},Fi=()=>vi,Li=t=>{xi=ki(t)},Mi=()=>xi,Ai=Object.freeze(Object.defineProperty({__proto__:null,clear:Ti,getAccDescription:Fi,getAccTitle:Si,getDiagramTitle:Mi,setAccDescription:Bi,setAccTitle:wi,setDiagramTitle:Li},Symbol.toStringTag,{value:"Module"})),Ei=nt,Zi=ot,Oi=Te,Ii=t=>ct(t,Oi()),qi=si,Ni={},Di=(t,e,i)=>{var r,n,o;if(Ni[t])throw new Error(`Diagram ${t} already registered.`);Ni[t]=e,i&&Rt(t,i),n=t,void 0!==(o=e.styles)&&(bi[n]=o),null==(r=e.injectUtils)||r.call(e,Ei,Zi,Oi,Ii,qi,Ai,(()=>{}))},$i=t=>{if(t in Ni)return Ni[t];throw new zi(t)};class zi extends Error{constructor(t){super(`Diagram ${t} not found.`)}}let ji=!1;const Pi=()=>{ji||(ji=!0,Di("error",ci,(t=>"error"===t.toLowerCase().trim())),Di("---",{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("---"))),Pt(Me,Je,Xe,Ie,$e,je,Pe,He,Ve,fi,Oe,Ee,mi,pi,Ne,ii,ti,ni,We,_i))};class Ri{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text+="\n";const i=Te();try{this.type=jt(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=Te();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}}const Wi=async(t,e={})=>{const i=jt(t,Te());try{$i(i)}catch(t){const e=zt[i].loader;if(!e)throw new $t(`Diagram ${i} not found.`);const{id:r,diagram:n}=await e();Di(r,n)}return new Ri(t,e)};let Ui=[];const Hi=t=>{Ui.push(t)},Yi=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function Vi(t){return null==t}var Gi={isNothing:Vi,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:Vi(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 tr(t,e){return Gi.repeat(" ",e-t.length)+t}var er=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=Ki(t.buffer,n[a-s],o[a-s],t.position-(n[a]-n[a-s]),u),h=Gi.repeat(" ",e.indent)+tr((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=Ki(t.buffer,n[a],o[a],t.position,u),h+=Gi.repeat(" ",e.indent)+tr((t.line+1).toString(),c)+" | "+l.str+"\n",h+=Gi.repeat("-",e.indent+c+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=Ki(t.buffer,n[a+s],o[a+s],t.position-(n[a]-n[a+s]),u),h+=Gi.repeat(" ",e.indent)+tr((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")},ir=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],rr=["scalar","sequence","mapping"],nr=function(t,e){var i,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===ir.indexOf(e))throw new Ji('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===rr.indexOf(this.kind))throw new Ji('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function or(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 ar(t){return this.extend(t)}ar.prototype.extend=function(t){var e=[],i=[];if(t instanceof nr)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 Ji("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 nr))throw new Ji("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Ji("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 Ji("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 nr))throw new Ji("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(ar.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=or(r,"implicit"),r.compiledExplicit=or(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"]}}),dr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),pr=/^[-+]?[0-9]+e/,gr=new nr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!dr.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||Gi.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(Gi.isNegativeZero(t))return"-0.0";return i=t.toString(10),pr.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),mr=sr.extend({implicit:[lr,hr,fr,gr]}),yr=mr,_r=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),br=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]))?))?$"),Cr=new nr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==_r.exec(t)||null!==br.exec(t))},construct:function(t){var e,i,r,n,o,a,s,l,h=0,c=null;if(null===(e=_r.exec(t))&&(e=br.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()}}),xr=new nr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",kr=new nr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,i,r=0,n=t.length,o=vr;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=vr,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=vr;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}}),Tr=Object.prototype.hasOwnProperty,wr=Object.prototype.toString,Sr=new nr("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 Kr=new Array(256),tn=new Array(256),en=0;en<256;en++)Kr[en]=Qr(en)?1:0,tn[en]=Qr(en);function rn(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Ar,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 nn(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=er(i),new Ji(e,i)}function on(t,e){throw nn(t,e)}function an(t,e){t.onWarning&&t.onWarning.call(null,nn(t,e))}var sn={YAML:function(t,e,i){var r,n,o;null!==t.version&&on(t,"duplication of %YAML directive"),1!==i.length&&on(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&on(t,"ill-formed argument of the YAML directive"),n=parseInt(r[1],10),o=parseInt(r[2],10),1!==n&&on(t,"unacceptable YAML version of the document"),t.version=i[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&an(t,"unsupported YAML version of the document")},TAG:function(t,e,i){var r,n;2!==i.length&&on(t,"TAG directive accepts exactly two arguments"),r=i[0],n=i[1],Rr.test(r)||on(t,"ill-formed tag handle (first argument) of the TAG directive"),Er.call(t.tagMap,r)&&on(t,'there is a previously declared suffix for "'+r+'" tag handle'),Wr.test(n)||on(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){on(t,"tag prefix is malformed: "+n)}t.tagMap[r]=n}};function ln(t,e,i,r){var n,o,a,s;if(e1&&(t.result+=Gi.repeat("\n",e-1))}function gn(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,on(t,"tab characters must not be used in indentation")),45===r)&&Vr(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,fn(t,!0,-1)&&t.lineIndent<=e)a.push(null),r=t.input.charCodeAt(t.position);else if(i=t.line,_n(t,e,Ir,!1,!0),a.push(t.result),fn(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&0!==r)on(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)&&(y&&(a=t.line,s=t.lineStart,l=t.position),_n(t,e,qr,!0,n)&&(y?g=t.result:m=t.result),y||(cn(t,f,d,p,g,m,a,s,l),p=g=m=null),fn(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==h)on(t,"bad indentation of a mapping entry");else if(t.lineIndent=0))break;0===n?on(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?on(t,"repeat of an indentation width identifier"):(c=e+n-1,h=!0)}if(Yr(o)){do{o=t.input.charCodeAt(++t.position)}while(Yr(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!Hr(o)&&0!==o)}for(;0!==o;){for(un(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!h||t.lineIndentc&&(c=t.lineIndent),Hr(o))u++;else{if(t.lineIndent0){for(n=a,o=0;n>0;n--)(a=Xr(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:on(t,"expected hexadecimal character");t.result+=Jr(o),t.position++}else on(t,"unknown escape sequence");i=r=t.position}else Hr(s)?(ln(t,i,r,!0),pn(t,fn(t,!1,e)),i=r=t.position):t.position===t.lineStart&&dn(t)?on(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}on(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?m=!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&&!Vr(r)&&!Gr(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&on(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),Er.call(t.anchorMap,i)||on(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],fn(t,!0,-1),!0}(t)?(m=!0,null===t.tag&&null===t.anchor||on(t,"alias node should not have any properties")):function(t,e,i){var r,n,o,a,s,l,h,c,u=t.kind,f=t.result;if(Vr(c=t.input.charCodeAt(t.position))||Gr(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)&&(Vr(r=t.input.charCodeAt(t.position+1))||i&&Gr(r)))return!1;for(t.kind="scalar",t.result="",n=o=t.position,a=!1;0!==c;){if(58===c){if(Vr(r=t.input.charCodeAt(t.position+1))||i&&Gr(r))break}else if(35===c){if(Vr(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&dn(t)||i&&Gr(c))break;if(Hr(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,fn(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&&(ln(t,n,o,!1),pn(t,t.line-s),n=o=t.position,a=!1),Yr(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return ln(t,n,o,!1),!!t.result||(t.kind=u,t.result=f,!1)}(t,f,Zr===i)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(m=s&&gn(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&on(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&&on(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)):on(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}function bn(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))&&(fn(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&&!Vr(n);)n=t.input.charCodeAt(++t.position);for(r=[],(i=t.input.slice(e,t.position)).length<1&&on(t,"directive name must not be less than one character in length");0!==n;){for(;Yr(n);)n=t.input.charCodeAt(++t.position);if(35===n){do{n=t.input.charCodeAt(++t.position)}while(0!==n&&!Hr(n));break}if(Hr(n))break;for(e=t.position;0!==n&&!Vr(n);)n=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==n&&un(t),Er.call(sn,i)?sn[i](t,i,r):an(t,'unknown document directive "'+i+'"')}fn(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,fn(t,!0,-1)):a&&on(t,"directives end mark is expected"),_n(t,t.lineIndent-1,qr,!1,!0),fn(t,!0,-1),t.checkLineBreaks&&jr.test(t.input.slice(o,t.position))&&an(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&dn(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,fn(t,!0,-1)):t.positiont.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,i)=>"<"+e+i.replace(/="([^"]*)"/g,"='$1'")+">")))(t),i=(t=>{const{text:e,metadata:i}=function(t){const e=t.match(qt);if(!e)return{text:t,metadata:{}};let i=vn(e[1],{schema:xn})??{};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}})(e),r=(t=>{const e=pe.detectInit(t)??{},i=pe.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(Nt,"")),directive:e};var r})(i.text),n=de(i.config,r.directive);return{code:t=Yi(r.text),title:i.title,config:n}}(t);return Se(),i=e.config??{},Ot(i),!i.fontFamily||i.themeVariables&&i.themeVariables.fontFamily||(i.themeVariables={fontFamily:i.fontFamily}),be.push(i),xe(_e,be),e;var i}const Sn=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},Bn=(t,e,i=[])=>`\n.${t} ${e} { ${i.join(" !important; ")} !important; }`,Fn=(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.Z)(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.Z)(i.styles)||n.forEach((t=>{r+=Bn(i.id,t,i.styles)})),(0,it.Z)(i.textStyles)||(r+=Bn(i.id,"tspan",i.textStyles))}}return r})(t,i);return M(Q(`${r}{${((t,e,i)=>{let r="";return t in bi&&bi[t]?r=bi[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)}}`),A)},Ln=(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 Mn(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const An=Object.freeze({render:async function(t,e,i){var r,n,o,l,h,c;Pi();const u=wn(e);e=u.code;const f=Te();nt.debug(f),e.length>((null==f?void 0:f.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const d="#"+t,p="i"+t,g="#"+p,m="d"+t,y="#"+m;let _=(0,a.Ys)("body");const b="sandbox"===f.securityLevel,C="loose"===f.securityLevel,x=f.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),b){const t=Mn((0,a.Ys)(i),p);_=(0,a.Ys)(t.nodes()[0].contentDocument.body),_.node().style.margin=0}else _=(0,a.Ys)(i);Ln(_,t,m,`font-family: ${x}`,"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,m,p),b){const t=Mn((0,a.Ys)("body"),p);_=(0,a.Ys)(t.nodes()[0].contentDocument.body),_.node().style.margin=0}else _=(0,a.Ys)("body");Ln(_,t,m)}let v,k;e=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}(e);try{v=await Wi(e,{title:u.title})}catch(t){v=new Ri("error"),k=t}const T=_.select(y).node(),w=v.type,S=T.firstChild,B=S.firstChild,F=null==(n=(r=v.renderer).getClasses)?void 0:n.call(r,e,v),L=Fn(f,w,F,d),M=document.createElement("style");M.innerHTML=L,S.insertBefore(M,B);try{await v.renderer.draw(e,t,ge,v)}catch(i){throw hi.draw(e,t,ge),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"))}(w,_.select(`${y} svg`),null==(l=(o=v.db).getAccTitle)?void 0:l.call(o),null==(c=(h=v.db).getAccDescription)?void 0:c.call(h)),_.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let A=_.select(y).node().innerHTML;if(nt.debug("config.arrowMarkerAbsolute",f.arrowMarkerAbsolute),A=((t="",e,i)=>{let r=t;return i||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=Sn(r),r=r.replace(/
    /g,"
    "),r})(A,b,dt(f.arrowMarkerAbsolute)),b?A=((t="",e)=>{var i,r;return``})(A,_.select(y+" svg").node()):C||(A=s.sanitize(A,{ADD_TAGS:kn,ADD_ATTR:Tn})),Ui.forEach((t=>{t()})),Ui=[],k)throw k;const E=b?g:y,Z=(0,a.Ys)(E).node();return Z&&"remove"in Z&&Z.remove(),{svg:A,bindFunctions:v.db.bindFunctions}},parse:async function(t,e){Pi(),t=wn(t).code;try{await Wi(t)}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},getDiagramFromText:Wi,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),ye=Ut({},t),(null==t?void 0:t.theme)&&t.theme in Ft?t.themeVariables=Ft[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Ft.default.getThemeVariables(t.themeVariables));const i="object"==typeof t?(r=t,_e=Ut({},me),_e=Ut(_e,r),r.theme&&Ft[r.theme]&&(_e.themeVariables=Ft[r.theme].getThemeVariables(r.themeVariables)),xe(_e,be),_e):ve();var r;ot(i.logLevel),Pi()},getConfig:Te,setConfig:ke,getSiteConfig:ve,updateSiteConfig:t=>(_e=Ut(_e,t),xe(_e,be),_e),reset:()=>{Se()},globalReset:()=>{Se(me)},defaultConfig:me});ot(Te().logLevel),Se(Te());const En=(t,e,i)=>{nt.warn(t),ue(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}))},Zn=async function(t={querySelector:".mermaid"}){try{await On(t)}catch(e){if(ue(e)&&nt.error(e.str),jn.parseError&&jn.parseError(e),!t.suppressErrors)throw nt.error("Use the suppressErrors option to suppress these errors"),e}},On=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const n=An.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)),An.updateSiteConfig({startOnLoad:null==n?void 0:n.startOnLoad}));const a=new pe.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.Z)(pe.entityDecode(s)).trim().replace(//gi,"
    ");const n=pe.detectInit(s);n&&nt.debug("Detected early reinit: ",n);try{const{svg:r,bindFunctions:n}=await zn(i,s,e);e.innerHTML=r,t&&await t(i),n&&n(e)}catch(t){En(t,l,jn.parseError)}}if(l.length>0)throw l[0]},In=function(t){An.initialize(t)},qn=function(){if(jn.startOnLoad){const{startOnLoad:t}=An.getConfig();t&&jn.run().catch((t=>nt.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",qn,!1);const Nn=[];let Dn=!1;const $n=async()=>{if(!Dn){for(Dn=!0;Nn.length>0;){const t=Nn.shift();if(t)try{await t()}catch(t){nt.error("Error executing queue",t)}}Dn=!1}},zn=(t,e,i)=>new Promise(((r,n)=>{Nn.push((()=>new Promise(((o,a)=>{An.render(t,e,i).then((t=>{o(t),r(t)}),(t=>{var e;nt.error("Error parsing",t),null==(e=jn.parseError)||e.call(jn,t),a(t),n(t)}))})))),$n().catch(n)})),jn={startOnLoad:!0,mermaidAPI:An,parse:async(t,e)=>new Promise(((i,r)=>{Nn.push((()=>new Promise(((n,o)=>{An.parse(t,e).then((t=>{n(t),i(t)}),(t=>{var e;nt.error("Error parsing",t),null==(e=jn.parseError)||e.call(jn,t),o(t),r(t)}))})))),$n().catch(r)})),render:zn,init:async function(t,e,i){nt.warn("mermaid.init is deprecated. Please use run instead."),t&&In(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await Zn(r)},run:Zn,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Pt(...t),!1===e&&await(async()=>{nt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(zt).map((async([t,{detector:e,loader:i}])=>{if(i)try{$i(t)}catch(r){try{const{diagram:t,id:r}=await i();Di(r,t,e)}catch(e){throw nt.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete zt[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:In,parseError:void 0,contentLoaded:qn,setParseErrorHandler:function(t){jn.parseError=t},detectType:jt}},6637:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return r.L}});var r=i(8454);i(7484),i(7967),i(7274),i(7856)}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/637-687440a7.chunk.min.js.LICENSE.txt b/docs/themes/hugo-geekdoc/static/js/637-687440a7.chunk.min.js.LICENSE.txt new file mode 100644 index 00000000..8e6284a6 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/637-687440a7.chunk.min.js.LICENSE.txt @@ -0,0 +1,9 @@ +/*! + * Wait for document loaded before starting the execution + */ + +/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */ + +/*! Check if previously processed */ + +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ diff --git a/docs/themes/hugo-geekdoc/static/js/644-a3e6d7ca.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/644-a3e6d7ca.chunk.min.js new file mode 100644 index 00000000..bc041240 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/644-a3e6d7ca.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[644],{9368:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(9360),i=n(9103),a=function(e){return(0,i.Z)(e,4)},d=n(3836);function o(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:l(e),edges:s(e)};return r.Z(e.graph())||(t.value=a(e.graph())),t}function l(e){return d.Z(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),a={v:t};return r.Z(n)||(a.value=n),r.Z(i)||(a.parent=i),a}))}function s(e){return d.Z(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.Z(t.name)||(i.name=t.name),r.Z(n)||(i.value=n),i}))}n(5351)},7644:function(e,t,n){n.d(t,{r:function(){return X}});var r=n(3771),i=n(9368),a=n(580),d=n(8454),o=n(5625),l=n(4027),s=n(7274);let c={},h={},g={};const f=(e,t)=>(d.l.trace("In isDecendant",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("Decendants 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 decendants"),!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.c(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.k({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.c(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.c(a)),d.l.debug("Old graph after copy",i.c(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())},m=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=m(e,r);n=[...n,...i]})),n},x={rect:(e,t)=>{d.l.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=(0,d.m)((0,d.c)().flowchart.htmlLabels),o=n.insert("g").attr("class","cluster-label"),c="markdown"===t.labelType?(0,l.c)(o,t.labelText,{style:t.labelStyle,useHtmlLabels:i}):o.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let h=c.getBBox();if((0,d.m)((0,d.c)().flowchart.htmlLabels)){const e=c.children[0],t=(0,s.Ys)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}const g=0*t.padding,f=g/2,u=t.width<=h.width+g?h.width+g:t.width;t.width<=h.width+g?t.diff=(h.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,d.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-u/2).attr("y",t.y-t.height/2-f).attr("width",u).attr("height",t.height+g),i?o.attr("transform","translate("+(t.x-h.width/2)+", "+(t.y-t.height/2)+")"):o.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const w=r.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(e){return(0,a.i)(t,e)},n},roundedWithTitle:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),o=n.append("rect"),l=i.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let c=l.getBBox();if((0,d.m)((0,d.c)().flowchart.htmlLabels)){const e=l.children[0],t=(0,s.Ys)(l);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}c=l.getBBox();const h=0*t.padding,g=h/2,f=t.width<=c.width+t.padding?c.width+t.padding:t.width;t.width<=c.width+t.padding?t.diff=(c.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g).attr("width",f+h).attr("height",t.height+h),o.attr("class","inner").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g+c.height-1).attr("width",f+h).attr("height",t.height+h-c.height-3),i.attr("transform","translate("+(t.x-c.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,d.m)((0,d.c)().flowchart.htmlLabels)?5:3))+")");const u=r.node().getBBox();return t.height=u.height,t.intersect=function(e){return(0,a.i)(t,e)},n},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 N=async(e,t,n,o,l)=>{d.l.info("Graph in recursive render: XXX",i.c(t),l);const s=t.graph().rankdir;d.l.trace("Dir in recursive render - dir:",s);const h=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 g=h.insert("g").attr("class","clusters"),f=h.insert("g").attr("class","edgePaths"),u=h.insert("g").attr("class","edgeLabels"),w=h.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 N(w,r.graph,n,o,t.node(e)),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)(w,t.node(e),s))}))),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,"Translateing: ",c[e.v],c[e.w]),(0,a.f)(u,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.bK)(t),d.l.info("Graph after layout:",i.c(t));let v=0;return(e=>m(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?(0,a.p)(n):t.children(e).length>0?(((e,t)=>{d.l.trace("Inserting cluster");const n=t.shape||"rect";b[t.id]=x[n](e,t)})(g,n),c[n.id].node=n):(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);const i=(0,a.g)(f,e,r,c,n,t,o);(0,a.h)(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);d.l.info(e,n.type,n.diff),"group"===n.type&&(v=n.diff)})),{elem:h,diff:v}},X=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.c(t))),((e,t)=>{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("Decendants of XXX ",t,": ",h[t]),c[t].externalConnections=!0)}))):d.l.debug("Not a cluster ",t,h)})),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(c[t.v]||c[t.w])&&(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&&(n.fromCluster=t.v),i!==t.w&&(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.c(e)),y(e,0),d.l.trace(c)):d.l.debug("Opting out, no graph ")})(t),d.l.warn("Graph after:",JSON.stringify(i.c(t))),await N(e,t,r,o)}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/68-408c048c.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/68-408c048c.chunk.min.js new file mode 100644 index 00000000..ab37114c --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/68-408c048c.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[68],{6086:function(t,e,n){n.d(e,{diagram:function(){return A}});var i=n(8454),s=n(7274),r=n(6500),a=n(2281),o=n(7201),c=(n(7484),n(7967),n(7856),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,k,x,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(k=this.productions_[m[1]][1],w.$=i[i.length-k],w._$={first_line:s[s.length-(k||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(k||1)].first_column,last_column:s[s.length-1].last_column},g&&(w._$.range=[s[s.length-(k||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 _;k&&(e=e.slice(0,-1*k*2),i=i.slice(0,-1*k),s=s.slice(0,-1*k)),e.push(this.productions_[m[1]][0]),i.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);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.K,f=function(){u.length=0,p.length=0,h="",g.length=0,(0,i.t)()},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},k=function(t,e,n){const i={id:d++,section:h,type:h,task:t,score:e||0,events:n?[n]:[]};g.push(i)},x=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:k,addTaskOrg:v,addEvent:x},$=Object.freeze(Object.defineProperty({__proto__:null,addEvent:x,addSection:m,addTask:k,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.Ys)(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},T=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},C=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+=L(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},L=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},A={db:$,renderer:{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.Ys)("#i"+e));const u=("sandbox"===h?(0,s.Ys)(d.nodes()[0].contentDocument.body):(0,s.Ys)("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,k=50+l,x=50;b=50;let v=0,S=!0;y.forEach((function(t){const e=T(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=T(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(${k}, 50)`),x+=f+50,e.length>0&&C(u,e,v,k,x,m,c,0,$,f,!1),k+=200*Math.max(e.length,1),x=50,v++})):(S=!1,C(u,p,v,k,x,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)}},parser:l,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e2&&_.push("'"+this.terminals_[T]+"'");k=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(k,{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=0===this.data.points.length,x=[];return this.data.xAxisLeftText&&i&&x.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&&x.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&&x.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-(u?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&e&&x.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-(u?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:-90}),x}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.BYU)().domain([0,1]).range([a,s+a]),o=(0,n.BYU)().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={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.r)()}),c.build()},clear:function(){c.clear(),(0,a.t)()},setAccTitle:a.s,getAccTitle:a.g,setDiagramTitle:a.q,getDiagramTitle:a.r,getAccDescription:a.a,setAccDescription:a.b},renderer:{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.Ys)("#i"+i));const f=("sandbox"===x?(0,n.Ys)(g.nodes()[0].contentDocument.body):(0,n.Ys)("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 k=m.selectAll("g.quadrant").data(T.quadrants).enter().append("g").attr("class","quadrant");k.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)),k.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 F=_.selectAll("g.data-point").data(T.points).enter().append("g").attr("class","data-point");F.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),F.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)))}},styles:()=>""}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/693-2124948a.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/693-2124948a.chunk.min.js new file mode 100644 index 00000000..483df04e --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/693-2124948a.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[693],{684:function(t,i,n){n.d(i,{diagram:function(){return h}});var e=n(8454),s=(n(7484),n(7967),n(7274),n(7856),function(){var t=function(t,i,n,e){for(n=n||{},e=t.length;e--;n[t[e]]=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,e,s,r,h){switch(r.length,s){case 1:return e;case 4:break;case 6:e.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=[],e=[null],s=[],r=this.table,h="",o=0,l=0,c=s.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;s.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,w,I={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==g&&(w=void 0,"number"!=typeof(w=n.pop()||a.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=this.symbols_[w]||w),g=w),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 "+(o+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+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),e.push(a.yytext),s.push(a.yylloc),i.push(m[1]),g=null,l=a.yyleng,h=a.yytext,o=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[m[1]][1],I.$=e[e.length-x],I._$={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},f&&(I._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(d=this.performAction.apply(I,[h,l,o,y.yy,m[1],e,s].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),e=e.slice(0,-1*x),s=s.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),e.push(I.$),s.push(I._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},e={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 e=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===e.length?this.yylloc.first_column:0)+e[e.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[s[0],s[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,e,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))),(e=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.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 s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;ri[0].length)){if(i=n,e=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,s[e]))&&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,e){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 s(){this.yy={}}return n.lexer=e,s.prototype=n,n.Parser=s,new s}());s.parser=s;let r=false;const h={parser:s,db:{clear:()=>{r=false},setInfo:t=>{r=t},getInfo:()=>r},renderer:{draw:(t,i,n)=>{e.l.debug("rendering info diagram\n"+t);const s=(0,e.A)(i);(0,e.i)(s,100,400,!0),s.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}}}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/764-e8ff889e.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/764-e8ff889e.chunk.min.js new file mode 100644 index 00000000..693ad78d --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/764-e8ff889e.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[764],{8764:function(t,e,n){n.d(e,{diagram:function(){return A}});var i=n(8454),s=n(7274),r=n(3463),a=(n(7484),n(7967),n(7856),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],c={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,c=0,l=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 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,c=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,c,o,u.yy,x[1],i,s].concat(l))))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}},l={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 c.lexer=l,h.prototype=c,c.Parser=h,new h}());a.parser=a;const o=a;let c="";const l=[],h=[],u=[],y=function(){let t=!0;for(const[e,n]of u.entries())u[e].processed,t=t&&n.processed;return t},p={getConfig:()=>(0,i.c)().journey,clear:function(){l.length=0,h.length=0,c="",u.length=0,(0,i.t)()},setDiagramTitle:i.q,getDiagramTitle:i.r,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){c=t,l.push(t)},getSections:function(){return l},getTasks:function(){let t=y(),e=0;for(;!t&&e<100;)t=y(),e++;return h.push(...u),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:c,type:c,people:r,task:t,score:i};u.push(a)},addTaskOrg:function(t){const e={section:c,type:c,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,c){i(e.append("text").attr("x",n+r/2).attr("y",s+a/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,s,r,a,o,c,l){const{taskFontSize:h,taskFontFamily:u}=c,y=t.split(//gi);for(let t=0;t3?function(t){const n=(0,s.Nb1)().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.Nb1)().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 c=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:c,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};f(a,i),c+=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 c=a.sequenceItems.length-o+1;a.updateVal(i,"starty",e-c*r.boxMargin,Math.min),a.updateVal(i,"stopy",s+c*r.boxMargin,Math.max),a.updateVal(M.data,"startx",t-c*r.boxMargin,Math.min),a.updateVal(M.data,"stopx",n+c*r.boxMargin,Math.max),a.updateVal(i,"startx",t-c*r.boxMargin,Math.min),a.updateVal(i,"stopx",n+c*r.boxMargin,Math.max),a.updateVal(M.data,"starty",e-c*r.boxMargin,Math.min),a.updateVal(M.data,"stopy",s+c*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 c;"sandbox"===o&&(c=(0,s.Ys)("#i"+e));const l="sandbox"===o?(0,s.Ys)(c.nodes()[0].contentDocument.body):(0,s.Ys)("body");M.init();const h=l.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 u=r.db.getTasks(),y=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,c="#CCC",l="black",h=0;for(const[n,i]of e.entries()){if(r!==i.section){c=E[o%E.length],h=o%E.length,l=T[o%T.length];let a=0;const u=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=l,i.fill=c,i.num=h,i.actors=u,b(t,i,s),M.insert(i.x,i.y,i.x+i.width+s.taskMargin,450)}}(h,u,0);const f=M.getBounds();y&&h.append("text").text(y).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 $=y?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()}}},3463:function(t,e,n){n.d(e,{a:function(){return a},b:function(){return l},c:function(){return c},d:function(){return r},e:function(){return u},f:function(){return o},g:function(){return h}});var i=n(7967),s=n(8454);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),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.H," "),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},c=(t,e,n,s)=>{const r=t.append("image");r.attr("x",e),r.attr("y",n);const a=(0,i.Nm)(s);r.attr("xlink:href",a)},l=(t,e,n,s)=>{const r=t.append("use");r.attr("x",e),r.attr("y",n);const a=(0,i.Nm)(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}),u=()=>({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/docs/themes/hugo-geekdoc/static/js/770-c8f14079.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/770-c8f14079.chunk.min.js new file mode 100644 index 00000000..b076feba --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/770-c8f14079.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[770],{9770:function(t,e,a){a.d(e,{diagram:function(){return mt}});var r=a(8454),i=a(7274),s=a(3463),n=a(7967),o=(a(7484),a(7856),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],i=[2,4],s=[1,9],n=[1,11],o=[1,13],c=[1,14],l=[1,16],h=[1,17],d=[1,18],p=[1,24],g=[1,25],u=[1,26],x=[1,27],y=[1,28],m=[1,29],f=[1,30],b=[1,31],T=[1,32],E=[1,33],w=[1,34],P=[1,35],_=[1,36],k=[1,37],L=[1,38],v=[1,39],I=[1,41],M=[1,42],N=[1,43],A=[1,44],S=[1,45],O=[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],Y=[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],C=[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],V=[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],B=[68,69,70],F=[1,120],W={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,i,s,n){var o=s.length-1;switch(i){case 3:return r.apply(s[o]),s[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:s[o-1].push(s[o]),this.$=s[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=s[o];break;case 15:s[o].type="createParticipant",this.$=s[o];break;case 16:s[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(s[o-2])}),s[o-1].push({type:"boxEnd",boxText:s[o-2]}),this.$=s[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-2]),sequenceIndexStep:Number(s[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(s[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:s[o-1]};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-1]};break;case 29:r.setDiagramTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 30:r.setDiagramTitle(s[o].substring(7)),this.$=s[o].substring(7);break;case 31:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 34:s[o-1].unshift({type:"loopStart",loopText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.LOOP_START}),s[o-1].push({type:"loopEnd",loopText:s[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=s[o-1];break;case 35:s[o-1].unshift({type:"rectStart",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_START}),s[o-1].push({type:"rectEnd",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=s[o-1];break;case 36:s[o-1].unshift({type:"optStart",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_START}),s[o-1].push({type:"optEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=s[o-1];break;case 37:s[o-1].unshift({type:"altStart",altText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.ALT_START}),s[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=s[o-1];break;case 38:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 39:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 40:s[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.CRITICAL_START}),s[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=s[o-1];break;case 41:s[o-1].unshift({type:"breakStart",breakText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_START}),s[o-1].push({type:"breakEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=s[o-1];break;case 43:this.$=s[o-3].concat([{type:"option",optionText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},s[o]]);break;case 45:this.$=s[o-3].concat([{type:"and",parText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.PAR_AND},s[o]]);break;case 47:this.$=s[o-3].concat([{type:"else",altText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.ALT_ELSE},s[o]]);break;case 48:s[o-3].draw="participant",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 49:s[o-1].draw="participant",s[o-1].type="addParticipant",this.$=s[o-1];break;case 50:s[o-3].draw="actor",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 51:s[o-1].draw="actor",s[o-1].type="addParticipant",this.$=s[o-1];break;case 52:s[o-1].type="destroyParticipant",this.$=s[o-1];break;case 53:this.$=[s[o-1],{type:"addNote",placement:s[o-2],actor:s[o-1].actor,text:s[o]}];break;case 54:s[o-2]=[].concat(s[o-1],s[o-1]).slice(0,2),s[o-2][0]=s[o-2][0].actor,s[o-2][1]=s[o-2][1].actor,this.$=[s[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:s[o-2].slice(0,2),text:s[o]}];break;case 55:this.$=[s[o-1],{type:"addLinks",actor:s[o-1].actor,text:s[o]}];break;case 56:this.$=[s[o-1],{type:"addALink",actor:s[o-1].actor,text:s[o]}];break;case 57:this.$=[s[o-1],{type:"addProperties",actor:s[o-1].actor,text:s[o]}];break;case 58:this.$=[s[o-1],{type:"addDetails",actor:s[o-1].actor,text:s[o]}];break;case 61:this.$=[s[o-2],s[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1]}];break;case 66:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-4]}];break;case 67:this.$=[s[o-3],s[o-1],{type:"addMessage",from:s[o-3].actor,to:s[o-1].actor,signalType:s[o-2],msg:s[o]}];break;case 68:this.$={type:"addParticipant",actor:s[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(s[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],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:n,8:8,9:10,12:12,13:o,14:c,17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},t(D,[2,5]),{9:47,12:12,13:o,14:c,17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},t(D,[2,7]),t(D,[2,8]),t(D,[2,14]),{12:48,50:k,52:L,53:v},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:O},{22:55,70:O},{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:O},{22:72,70:O},{22:73,70:O},{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:O},{22:88,70:O},{22:89,70:O},{22:90,70:O},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(Y,i,{7:97}),t(Y,i,{7:98}),t(Y,i,{7:99}),t($,i,{40:100,7:101}),t(C,i,{42:102,7:103}),t(C,i,{7:103,42:104}),t(V,i,{45:105,7:106}),t(Y,i,{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:O},t(B,[2,69]),t(B,[2,70]),t(B,[2,71]),t(B,[2,72]),t(B,[2,73]),t(B,[2,74]),t(B,[2,75]),t(B,[2,76]),{22:116,70:O},{22:118,58:117,70:O},{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:k,52:L,53:v},{5:[1,129]},t(D,[2,19]),t(D,[2,20]),t(D,[2,22]),t(D,[2,23]),{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,130],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,131],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,132],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{16:[1,133]},{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,46],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,49:[1,134],50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{16:[1,135]},{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,44],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,48:[1,136],50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{16:[1,137]},{16:[1,138]},{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,42],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,47:[1,139],50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{4:s,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,140],17:15,18:l,21:h,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:f,38:b,39:T,41:E,43:w,44:P,46:_,50:k,52:L,53:v,54:I,59:M,60:N,61:A,62:S,70:O},{15:[1,141]},t(D,[2,49]),{15:[1,142]},t(D,[2,51]),t(D,[2,52]),{22:143,70:O},{22:144,70:O},{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:k,52:L,53:v},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:O},t(R,[2,11]),t($,i,{7:101,40:158}),t(C,i,{7:103,42:159}),t(V,i,{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],i=[],s=this.table,n="",o=0,c=0,l=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 g=h.yylloc;i.push(g);var u=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,y,m,f,b,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()||h.lex()||1)&&(P instanceof Array&&(P=(a=P).pop()),P=this.symbols_[P]||P),x=P),m=s[y]&&s[y][x]),void 0===m||!m.length||!m[0]){var k;for(b in w=[],s[y])this.terminals_[b]&&b>2&&w.push("'"+this.terminals_[b]+"'");k=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.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(k,{text:h.match,token:this.terminals_[x]||x,line:h.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(h.yytext),i.push(h.yylloc),e.push(m[1]),x=null,c=h.yyleng,n=h.yytext,o=h.yylineno,g=h.yylloc;break;case 2:if(T=this.productions_[m[1]][1],_.$=r[r.length-T],_._$={first_line:i[i.length-(T||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(T||1)].first_column,last_column:i[i.length-1].last_column},u&&(_._$.range=[i[i.length-(T||1)].range[0],i[i.length-1].range[1]]),void 0!==(f=this.performAction.apply(_,[n,c,o,d.yy,m[1],r,i].concat(l))))return f;T&&(e=e.slice(0,-1*T*2),r=r.slice(0,-1*T),i=i.slice(0,-1*T)),e.push(this.productions_[m[1]][0]),r.push(_.$),i.push(_._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},q={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 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: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=[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 a,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=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 s in i)this[s]=i[s];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 i=this._currentRules(),s=0;se[0].length)){if(e=a,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,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[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 W.lexer=q,z.prototype=W,W.Parser=z,new z}());o.parser=o;const c=o;let l,h,d,p,g,u={},x={},y={},m=[],f=[],b=!1;const T=function(t,e,a,r){let i=d;const s=u[t];if(s){if(d&&s.box&&d!==s.box)throw new Error("A same participant should only be defined in one Box: "+s.name+" can't be in '"+s.box.name+"' and in '"+d.name+"' at the same time.");if(i=s.box?s.box:d,s.box=i,s&&e===s.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}),u[t]={box:i,name:e,description:a.text,wrap:void 0===a.wrap&&P()||!!a.wrap,prevActor:l,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},l&&u[l]&&(u[l].nextActor=t),d&&d.actorKeys.push(t),l=t},E=function(t,e,a={text:void 0,wrap:void 0},r,i=!1){if(r===_.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 f.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&P()||!!a.wrap,type:r,activate:i}),!0},w=function(t){return u[t]},P=()=>void 0!==h?h:(0,r.c)().sequence.wrap,_={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},k=function(t,e,a){a.text,void 0===a.wrap&&P()||a.wrap;const r=[].concat(t,t);f.push({from:r[0],to:r[1],message:a.text,wrap:void 0===a.wrap&&P()||!!a.wrap,type:_.NOTE,placement:e})},L=function(t,e){const a=w(t);try{let t=(0,r.d)(e.text,(0,r.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),v(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor link text",t)}};function v(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}const I=function(t,e){const a=w(t);try{let t=(0,r.d)(e.text,(0,r.c)());M(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor properties text",t)}};function M(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}const N=function(t,e){const a=w(t),i=document.getElementById(e.text);try{const t=i.innerHTML,e=JSON.parse(t);e.properties&&M(a,e.properties),e.links&&v(a,e.links)}catch(t){r.l.error("error while parsing actor details text",t)}},A=function(t){if(Array.isArray(t))t.forEach((function(t){A(t)}));else switch(t.type){case"sequenceIndex":f.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":T(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(u[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");p=t.actor,T(t.actor,t.actor,t.description,t.draw),x[t.actor]=f.length;break;case"destroyParticipant":g=t.actor,y[t.actor]=f.length;break;case"activeStart":case"activeEnd":E(t.actor,void 0,void 0,t.signalType);break;case"addNote":k(t.actor,t.placement,t.text);break;case"addLinks":L(t.actor,t.text);break;case"addALink":!function(t,e){const a=w(t);try{const t={};let o=(0,r.d)(e.text,(0,r.c)());var i=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var s=o.slice(0,i-1).trim(),n=o.slice(i+1).trim();t[s]=n,v(a,t)}catch(t){r.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":I(t.actor,t.text);break;case"addDetails":N(t.actor,t.text);break;case"addMessage":if(p){if(t.to!==p)throw new Error("The created participant "+p+" does not have an associated creating message after its declaration. Please check the sequence diagram.");p=void 0}else if(g){if(t.to!==g&&t.from!==g)throw new Error("The destroyed participant "+g+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");g=void 0}E(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":e=t.boxData,m.push({name:e.text,wrap:void 0===e.wrap&&P()||!!e.wrap,fill:e.color,actorKeys:[]}),d=m.slice(-1)[0];break;case"boxEnd":d=void 0;break;case"loopStart":E(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":E(void 0,void 0,void 0,t.signalType);break;case"rectStart":E(void 0,void 0,t.color,t.signalType);break;case"optStart":E(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":E(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,r.s)(t.text);break;case"parStart":case"and":E(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":E(void 0,void 0,t.criticalText,t.signalType);break;case"option":E(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":E(void 0,void 0,t.breakText,t.signalType)}var e},S={addActor:T,addMessage:function(t,e,a,r){f.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&P()||!!a.wrap,answer:r})},addSignal:E,addLinks:L,addDetails:N,addProperties:I,autoWrap:P,setWrap:function(t){h=t},enableSequenceNumbers:function(){b=!0},disableSequenceNumbers:function(){b=!1},showSequenceNumbers:()=>b,getMessages:function(){return f},getActors:function(){return u},getCreatedActors:function(){return x},getDestroyedActors:function(){return y},getActor:w,getActorKeys:function(){return Object.keys(u)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:r.g,getBoxes:function(){return m},getDiagramTitle:r.r,setDiagramTitle:r.q,getConfig:()=>(0,r.c)().sequence,clear:function(){u={},x={},y={},m=[],f=[],b=!1,(0,r.t)()},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",i=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",i=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",i=t.trim())}return{color:a,text:void 0!==i?(0,r.d)(i.replace(/^:?(?:no)?wrap:/,""),(0,r.c)()):void 0,wrap:void 0!==i?null!==i.match(/^:?wrap:/)||null===i.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:_,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:k,setAccTitle:r.s,apply:A,setAccDescription:r.b,getAccDescription:r.a,hasAtLeastOneBox:function(){return m.length>0},hasAtLeastOneBoxWithTitle:function(){return m.some((t=>t.name))}},O=function(t,e){return(0,s.d)(t,e)},D=(t,e)=>{(0,r.F)((()=>{const a=document.querySelectorAll(t);0!==a.length&&(a[0].addEventListener("mouseover",(function(){R("actor"+e+"_popup")})),a[0].addEventListener("mouseout",(function(){Y("actor"+e+"_popup")})))}))},R=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},Y=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},$=function(t,e){let a=0,i=0;const s=e.text.split(r.e.lineBreakRegex),[n,o]=(0,r.D)(e.fontSize);let c=[],l=0,h=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":h=()=>Math.round(e.y+(a+i+e.textMargin)/2);break;case"bottom":case"end":h=()=>Math.round(e.y+(a+i+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[d,p]of s.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==n&&(l=d*n);const s=t.append("text");s.attr("x",e.x),s.attr("y",h()),void 0!==e.anchor&&s.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&s.style("font-family",e.fontFamily),void 0!==o&&s.style("font-size",o),void 0!==e.fontWeight&&s.style("font-weight",e.fontWeight),void 0!==e.fill&&s.attr("fill",e.fill),void 0!==e.class&&s.attr("class",e.class),void 0!==e.dy?s.attr("dy",e.dy):0!==l&&s.attr("dy",l);const g=p||r.Z;if(e.tspan){const t=s.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else s.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(i+=(s._groups||s)[0][0].getBBox().height,a=i),c.push(s)}return c},C=function(t,e){const a=t.append("polygon");var r,i,s,n;return a.attr("points",(r=e.x)+","+(i=e.y)+" "+(r+(s=e.width))+","+i+" "+(r+s)+","+(i+(n=e.height)-7)+" "+(r+s-8.4)+","+(i+n)+" "+r+","+(i+n)),a.attr("class","labelBox"),e.y=e.y+e.height/2,$(t,e),a};let V=-1;const B=(t,e,a,r)=>{t.select&&a.forEach((a=>{const i=e[a],s=t.select("#actor"+i.actorCnt);!r.mirrorActors&&i.stopy?s.attr("y2",i.stopy+i.height/2):r.mirrorActors&&s.attr("y2",i.stopy)}))},F=function(t,e){(0,s.a)(t,e)},W=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:h,actorFontFamily:d,actorFontWeight:p}=l,[g,u]=(0,r.D)(h),x=t.split(r.e.lineBreakRegex);for(let t=0;ta?c.width:a;const g=h.append("rect");if(g.attr("class","actorPopupMenuPanel"+d),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!=s){var u=20;for(let t in s){var x=h.append("a"),y=(0,n.Nm)(s[t]);x.attr("xlink:href",y),x.attr("target","_blank"),q(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}},K=function(t){return t.append("g")},X=function(t,e,a,r,i){const n=(0,s.g)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+i%3,n.width=e.stopx-e.startx,n.height=a-e.starty,O(o,n)},G=function(t,e,a,r){const{boxMargin:i,boxTextMargin:n,labelBoxHeight:o,labelBoxWidth:c,messageFontFamily:l,messageFontSize:h,messageFontWeight:d}=r,p=t.append("g"),g=function(t,e,a,r){return p.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")};g(e.startx,e.starty,e.stopx,e.starty),g(e.stopx,e.starty,e.stopx,e.stopy),g(e.startx,e.stopy,e.stopx,e.stopy),g(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){g(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let u=(0,s.e)();u.text=a,u.x=e.startx,u.y=e.starty,u.fontFamily=l,u.fontSize=h,u.fontWeight=d,u.anchor="middle",u.valign="middle",u.tspan=!1,u.width=c||50,u.height=o||20,u.textMargin=n,u.class="labelText",C(p,u),u={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},u.text=e.title,u.x=e.startx+c/2+(e.stopx-e.startx)/2,u.y=e.starty+i+n,u.anchor="middle",u.valign="middle",u.textMargin=n,u.class="loopText",u.fontFamily=l,u.fontSize=h,u.fontWeight=d,u.wrap=!0;let x=$(p,u);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,a){if(t.message){u.text=t.message,u.x=e.startx+(e.stopx-e.startx)/2,u.y=e.sections[a].y+i+n,u.class="loopText",u.anchor="middle",u.valign="middle",u.tspan=!1,u.fontFamily=l,u.fontSize=h,u.fontWeight=d,u.wrap=e.wrap,x=$(p,u);let r=Math.round(x.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[a].height+=r-(i+n)}})),e.height=Math.round(e.stopy-e.starty),p},J=F,Z=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")},Q=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")},tt=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)},et=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")},at=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")},rt=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")},it=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.Nm;let st={};const nt={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,pt((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 i=this;let s=0;function n(n){return function(o){s++;const c=i.sequenceItems.length-s+1;i.updateVal(o,"starty",e-c*st.boxMargin,Math.min),i.updateVal(o,"stopy",r+c*st.boxMargin,Math.max),i.updateVal(nt.data,"startx",t-c*st.boxMargin,Math.min),i.updateVal(nt.data,"stopx",a+c*st.boxMargin,Math.max),"activation"!==n&&(i.updateVal(o,"startx",t-c*st.boxMargin,Math.min),i.updateVal(o,"stopx",a+c*st.boxMargin,Math.max),i.updateVal(nt.data,"starty",e-c*st.boxMargin,Math.min),i.updateVal(nt.data,"stopy",r+c*st.boxMargin,Math.max))}}this.sequenceItems.forEach(n()),this.activations.forEach(n("activation"))},insert:function(t,e,a,i){const s=r.e.getMin(t,a),n=r.e.getMax(t,a),o=r.e.getMin(e,i),c=r.e.getMax(e,i);this.updateVal(nt.data,"startx",s,Math.min),this.updateVal(nt.data,"starty",o,Math.min),this.updateVal(nt.data,"stopx",n,Math.max),this.updateVal(nt.data,"stopy",c,Math.max),this.updateBounds(s,o,n,c)},newActivation:function(t,e,a){const r=a[t.from.actor],i=gt(t.from.actor).length||0,s=r.x+r.width/2+(i-1)*st.activationWidth/2;this.activations.push({startx:s,starty:this.verticalPos+2,stopx:s+st.activationWidth,stopy:void 0,actor:t.from.actor,anchored:K(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:nt.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}}},ot=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),ct=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),lt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),ht=function(t,e,a,i){if(i){let i=0;nt.bumpVerticalPos(2*st.boxMargin);for(const s of a){const a=e[s];a.stopy||(a.stopy=nt.getVerticalPos());const n=H(t,a,st,!0);i=r.e.getMax(i,n)}nt.bumpVerticalPos(i+st.boxMargin)}else for(const r of a){const a=e[r];H(t,a,st,!1)}},dt=function(t,e,a,r){let i=0,s=0;for(const n of a){const a=e[n],o=yt(a),c=j(t,a,o,st,st.forceMenus,r);c.height>i&&(i=c.height),c.width+a.x>s&&(s=c.width+a.x)}return{maxHeight:i,maxWidth:s}},pt=function(t){(0,r.f)(st,t),t.fontFamily&&(st.actorFontFamily=st.noteFontFamily=st.messageFontFamily=t.fontFamily),t.fontSize&&(st.actorFontSize=st.noteFontSize=st.messageFontSize=t.fontSize),t.fontWeight&&(st.actorFontWeight=st.noteFontWeight=st.messageFontWeight=t.fontWeight)},gt=function(t){return nt.activations.filter((function(e){return e.actor===t}))},ut=function(t,e){const a=e[t],i=gt(t);return[i.reduce((function(t,e){return r.e.getMin(t,e.startx)}),a.x+a.width/2-1),i.reduce((function(t,e){return r.e.getMax(t,e.stopx)}),a.x+a.width/2+1)]};function xt(t,e,a,i,s){nt.bumpVerticalPos(a);let n=i;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,s=ot(st);e.message=r.u.wrapLabel(`[${e.message}]`,a-2*st.wrapPadding,s),e.width=a,e.wrap=!0;const o=r.u.calculateTextDimensions(e.message,s),c=r.e.getMax(o.height,st.labelBoxHeight);n=i+c,r.l.debug(`${c} - ${e.message}`)}s(e),nt.bumpVerticalPos(n)}const yt=function(t){let e=0;const a=lt(st);for(const i in t.links){const t=r.u.calculateTextDimensions(i,a).width+2*st.wrapPadding+2*st.boxMargin;e{const a=t[e];a.wrap&&(a.description=r.u.wrapLabel(a.description,st.width-2*st.wrapPadding,lt(st)));const s=r.u.calculateTextDimensions(a.description,lt(st));a.width=a.wrap?st.width:r.e.getMax(st.width,s.width+2*st.wrapPadding),a.height=a.wrap?r.e.getMax(s.height,st.height):st.height,i=r.e.getMax(i,a.height)}));for(const a in e){const i=t[a];if(!i)continue;const s=t[i.nextActor];if(!s){const t=e[a]+st.actorMargin-i.width/2;i.margin=r.e.getMax(t,st.actorMargin);continue}const n=e[a]+st.actorMargin-i.width/2-s.width/2;i.margin=r.e.getMax(n,st.actorMargin)}let s=0;return a.forEach((e=>{const a=ot(st);let i=e.actorKeys.reduce(((e,a)=>e+(t[a].width+(t[a].margin||0))),0);i-=2*st.boxTextMargin,e.wrap&&(e.name=r.u.wrapLabel(e.name,i-2*st.wrapPadding,a));const n=r.u.calculateTextDimensions(e.name,a);s=r.e.getMax(n.height,s);const o=r.e.getMax(i,n.width+2*st.wrapPadding);if(e.margin=st.boxTextMargin,it.textMaxHeight=s)),r.e.getMax(i,st.height)}(g,w,y),rt(p),at(p),it(p),T&&(nt.bumpVerticalPos(st.boxMargin),E&&nt.bumpVerticalPos(y[0].textMaxHeight)),!0===st.hideUnusedParticipants){const t=new Set;f.forEach((e=>{t.add(e.from),t.add(e.to)})),m=m.filter((e=>t.has(e)))}!function(t,e,a,i,s,n,o){let c,l=0,h=0,d=0;for(const t of i){const i=e[t],s=i.box;c&&c!=s&&(nt.models.addBox(c),h+=st.boxMargin+c.margin),s&&s!=c&&(s.x=l+h,s.y=0,h+=s.margin),i.width=i.width||st.width,i.height=r.e.getMax(i.height||st.height,st.height),i.margin=i.margin||st.actorMargin,d=r.e.getMax(d,i.height),a[i.name]&&(h+=i.width/2),i.x=l+h,i.starty=nt.getVerticalPos(),nt.insert(i.x,0,i.x+i.width,i.height),l+=i.width+h,i.box&&(i.box.width=l+s.margin-i.box.x),h=i.margin,c=i.box,nt.models.addActor(i)}c&&nt.models.addBox(c),nt.bumpVerticalPos(d)}(0,g,u,m);const P=function(t,e,a,i){const s={},n=[];let o,c,l;return t.forEach((function(t){switch(t.id=r.u.random({length:10}),t.type){case i.db.LINETYPE.LOOP_START:case i.db.LINETYPE.ALT_START:case i.db.LINETYPE.OPT_START:case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.PAR_OVER_START:case i.db.LINETYPE.CRITICAL_START:case i.db.LINETYPE.BREAK_START:n.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case i.db.LINETYPE.ALT_ELSE:case i.db.LINETYPE.PAR_AND:case i.db.LINETYPE.CRITICAL_OPTION:t.message&&(o=n.pop(),s[o.id]=o,s[t.id]=o,n.push(o));break;case i.db.LINETYPE.LOOP_END:case i.db.LINETYPE.ALT_END:case i.db.LINETYPE.OPT_END:case i.db.LINETYPE.PAR_END:case i.db.LINETYPE.CRITICAL_END:case i.db.LINETYPE.BREAK_END:o=n.pop(),s[o.id]=o;break;case i.db.LINETYPE.ACTIVE_START:{const a=e[t.from?t.from.actor:t.to.actor],r=gt(t.from?t.from.actor:t.to.actor).length,i=a.x+a.width/2+(r-1)*st.activationWidth/2,s={startx:i,stopx:i+st.activationWidth,actor:t.from.actor,enabled:!0};nt.activations.push(s)}break;case i.db.LINETYPE.ACTIVE_END:{const e=nt.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete nt.activations.splice(e,1)[0]}}void 0!==t.placement?(c=function(t,e,a){const i=e[t.from].x,s=e[t.to].x,n=t.wrap&&t.message;let o=r.u.calculateTextDimensions(n?r.u.wrapLabel(t.message,st.width,ct(st)):t.message,ct(st));const c={width:n?st.width:r.e.getMax(st.width,o.width+2*st.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(c.width=n?r.e.getMax(st.width,o.width):r.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*st.noteMargin),c.startx=i+(e[t.from].width+st.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(c.width=n?r.e.getMax(st.width,o.width+2*st.noteMargin):r.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*st.noteMargin),c.startx=i-c.width+(e[t.from].width-st.actorMargin)/2):t.to===t.from?(o=r.u.calculateTextDimensions(n?r.u.wrapLabel(t.message,r.e.getMax(st.width,e[t.from].width),ct(st)):t.message,ct(st)),c.width=n?r.e.getMax(st.width,e[t.from].width):r.e.getMax(e[t.from].width,st.width,o.width+2*st.noteMargin),c.startx=i+(e[t.from].width-c.width)/2):(c.width=Math.abs(i+e[t.from].width/2-(s+e[t.to].width/2))+st.actorMargin,c.startx=i{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))-st.labelBoxWidth}))):(l=function(t,e,a){if(![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT].includes(t.type))return{};const[i,s]=ut(t.from,e),[n,o]=ut(t.to,e),c=i<=n,l=c?s:i;let h=c?n:o;const d=Math.abs(n-o)>2,p=t=>c?-t:t;t.from===t.to?h=l:(t.activate&&!d&&(h+=p(st.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=p(3)));const g=[i,s,n,o],u=Math.abs(l-h);t.wrap&&t.message&&(t.message=r.u.wrapLabel(t.message,r.e.getMax(u+2*st.wrapPadding,st.width),ot(st)));const x=r.u.calculateTextDimensions(t.message,ot(st));return{width:r.e.getMax(t.wrap?0:x.width+2*st.wrapPadding,u+2*st.wrapPadding,st.width),height:0,startx:l,stopx:h,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)}}(t,e,i),t.msgModel=l,l.startx&&l.stopx&&n.length>0&&n.forEach((a=>{if(o=a,l.startx===l.stopx){const a=e[t.from],i=e[t.to];o.from=r.e.getMin(a.x-l.width/2,a.x-a.width/2,o.from),o.to=r.e.getMax(i.x+l.width/2,i.x+a.width/2,o.to),o.width=r.e.getMax(o.width,Math.abs(o.to-o.from))-st.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)-st.labelBoxWidth})))})),nt.activations=[],r.l.debug("Loop type widths:",s),s}(f,g,0,n);Z(p),et(p),Q(p),tt(p);let _=1,k=1;const L=[],v=[];f.forEach((function(t,e){let a,i,o;switch(t.type){case n.db.LINETYPE.NOTE:nt.resetVerticalPos(),i=t.noteModel,function(t,e){nt.bumpVerticalPos(st.boxMargin),e.height=st.boxMargin,e.starty=nt.getVerticalPos();const a=(0,s.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||st.width,a.class="note";const r=t.append("g"),i=z(r,a),n=(0,s.e)();n.x=e.startx,n.y=e.starty,n.width=a.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=st.noteFontFamily,n.fontSize=st.noteFontSize,n.fontWeight=st.noteFontWeight,n.anchor=st.noteAlign,n.textMargin=st.noteMargin,n.valign="center";const o=$(r,n),c=Math.round(o.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));i.attr("height",c+2*st.noteMargin),e.height+=c+2*st.noteMargin,nt.bumpVerticalPos(c+2*st.noteMargin),e.stopy=e.starty+c+2*st.noteMargin,e.stopx=e.startx+a.width,nt.insert(e.startx,e.starty,e.stopx,e.stopy),nt.models.addNote(e)}(p,i);break;case n.db.LINETYPE.ACTIVE_START:nt.newActivation(t,p,g);break;case n.db.LINETYPE.ACTIVE_END:!function(t,e){const a=nt.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),X(p,a,e,st,gt(t.from.actor).length),nt.insert(a.startx,e-10,a.stopx,e)}(t,nt.getVerticalPos());break;case n.db.LINETYPE.LOOP_START:xt(P,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.LOOP_END:a=nt.endLoop(),G(p,a,"loop",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.RECT_START:xt(P,t,st.boxMargin,st.boxMargin,(t=>nt.newLoop(void 0,t.message)));break;case n.db.LINETYPE.RECT_END:a=nt.endLoop(),v.push(a),nt.models.addLoop(a),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos());break;case n.db.LINETYPE.OPT_START:xt(P,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.OPT_END:a=nt.endLoop(),G(p,a,"opt",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.ALT_START:xt(P,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.ALT_ELSE:xt(P,t,st.boxMargin+st.boxTextMargin,st.boxMargin,(t=>nt.addSectionToLoop(t)));break;case n.db.LINETYPE.ALT_END:a=nt.endLoop(),G(p,a,"alt",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:xt(P,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t))),nt.saveVerticalPos();break;case n.db.LINETYPE.PAR_AND:xt(P,t,st.boxMargin+st.boxTextMargin,st.boxMargin,(t=>nt.addSectionToLoop(t)));break;case n.db.LINETYPE.PAR_END:a=nt.endLoop(),G(p,a,"par",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.AUTONUMBER:_=t.message.start||_,k=t.message.step||k,t.message.visible?n.db.enableSequenceNumbers():n.db.disableSequenceNumbers();break;case n.db.LINETYPE.CRITICAL_START:xt(P,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.CRITICAL_OPTION:xt(P,t,st.boxMargin+st.boxTextMargin,st.boxMargin,(t=>nt.addSectionToLoop(t)));break;case n.db.LINETYPE.CRITICAL_END:a=nt.endLoop(),G(p,a,"critical",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.BREAK_START:xt(P,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.BREAK_END:a=nt.endLoop(),G(p,a,"break",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;default:try{o=t.msgModel,o.starty=nt.getVerticalPos(),o.sequenceIndex=_,o.sequenceVisible=n.db.showSequenceNumbers();const a=function(t,e){nt.bumpVerticalPos(10);const{startx:a,stopx:i,message:s}=e,n=r.e.splitBreaks(s).length,o=r.u.calculateTextDimensions(s,ot(st)),c=o.height/n;let l;e.height+=c,nt.bumpVerticalPos(c);let h=o.height-10;const d=o.width;if(a===i){l=nt.getVerticalPos()+h,st.rightAngles||(h+=st.boxMargin,l=nt.getVerticalPos()+h),h+=30;const t=r.e.getMax(d/2,st.width/2);nt.insert(a-t,nt.getVerticalPos()-10+h,i+t,nt.getVerticalPos()+30+h)}else h+=st.boxMargin,l=nt.getVerticalPos()+h,nt.insert(a,l-10,i,l);return nt.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,nt.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}(0,o);!function(t,e,a,r,i,s,n){function o(a,r){a.xfunction(t,e,a,i){const{startx:n,stopx:o,starty:c,message:l,type:h,sequenceIndex:d,sequenceVisible:p}=e,g=r.u.calculateTextDimensions(l,ot(st)),u=(0,s.e)();u.x=n,u.y=c+10,u.width=o-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=st.messageFontFamily,u.fontSize=st.messageFontSize,u.fontWeight=st.messageFontWeight,u.anchor=st.messageAlign,u.valign="center",u.textMargin=st.wrapPadding,u.tspan=!1,$(t,u);const x=g.width;let y;n===o?y=st.rightAngles?t.append("path").attr("d",`M ${n},${a} H ${n+r.e.getMax(st.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)),h===i.db.LINETYPE.DOTTED||h===i.db.LINETYPE.DOTTED_CROSS||h===i.db.LINETYPE.DOTTED_POINT||h===i.db.LINETYPE.DOTTED_OPEN?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";st.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"),h!==i.db.LINETYPE.SOLID&&h!==i.db.LINETYPE.DOTTED||y.attr("marker-end","url("+m+"#arrowhead)"),h!==i.db.LINETYPE.SOLID_POINT&&h!==i.db.LINETYPE.DOTTED_POINT||y.attr("marker-end","url("+m+"#filled-head)"),h!==i.db.LINETYPE.SOLID_CROSS&&h!==i.db.LINETYPE.DOTTED_CROSS||y.attr("marker-end","url("+m+"#crosshead)"),(p||st.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(d))}(p,t.messageModel,t.lineStartY,n))),st.mirrorActors&&ht(p,g,m,!0),v.forEach((t=>J(p,t))),B(p,g,m,st),nt.models.boxes.forEach((function(t){t.height=nt.getVerticalPos()-t.y,nt.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)",U(p,t,st)})),T&&nt.bumpVerticalPos(st.boxMargin);const I=dt(p,g,m,d),{bounds:M}=nt.getBounds();let N=M.stopy-M.starty;N`.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})=>{S.setWrap(t)}}},3463:function(t,e,a){a.d(e,{a:function(){return n},b:function(){return l},c:function(){return c},d:function(){return s},e:function(){return d},f:function(){return o},g:function(){return h}});var r=a(7967),i=a(8454);const s=(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),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"};s(t,a).lower()},o=(t,e)=>{const a=e.text.replace(i.H," "),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 s=r.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(a),r},c=(t,e,a,i)=>{const s=t.append("image");s.attr("x",e),s.attr("y",a);const n=(0,r.Nm)(i);s.attr("xlink:href",n)},l=(t,e,a,i)=>{const s=t.append("use");s.attr("x",e),s.attr("y",a);const n=(0,r.Nm)(i);s.attr("xlink:href",`#${n}`)},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/docs/themes/hugo-geekdoc/static/js/771-942a62df.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/771-942a62df.chunk.min.js new file mode 100644 index 00000000..d3784617 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/771-942a62df.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[771],{3771:function(n,e,t){t.d(e,{bK:function(){return ge}});var r=t(870),o=t(6749),i=t(3402),u=t(2002),a=t(7961),c=t(3836),f=t(6446),s=t(5625);class d{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,e=n._prev;if(e!==n)return h(e),e}enqueue(n){var e=this._sentinel;n._prev&&n._next&&h(n),n._next=e._next,e._next._prev=n,e._next=n,n._prev=e}toString(){for(var n=[],e=this._sentinel,t=e._prev;t!==e;)n.push(JSON.stringify(t,v)),t=t._prev;return"["+n.join(", ")+"]"}}function h(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function v(n,e){if("_next"!==n&&"_prev"!==n)return e}var l=u.Z(1);function Z(n,e,t,o,i){var u=i?[]:void 0;return r.Z(n.inEdges(o.v),(function(r){var o=n.edge(r),a=n.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,g(e,t,a)})),r.Z(n.outEdges(o.v),(function(r){var o=n.edge(r),i=r.w,u=n.node(i);u.in-=o,g(e,t,u)})),n.removeNode(o.v),u}function g(n,e,t){t.out?t.in?n[t.out-t.in+e].enqueue(t):n[n.length-1].enqueue(t):n[0].enqueue(t)}function p(n){var e="greedy"===n.graph().acyclicer?function(n,e){if(n.nodeCount()<=1)return[];var t=function(n,e){var t=new s.k,o=0,i=0;r.Z(n.nodes(),(function(n){t.setNode(n,{v:n,in:0,out:0})})),r.Z(n.edges(),(function(n){var r=t.edge(n.v,n.w)||0,u=e(n),a=r+u;t.setEdge(n.v,n.w,a),i=Math.max(i,t.node(n.v).out+=u),o=Math.max(o,t.node(n.w).in+=u)}));var u=f.Z(i+o+3).map((function(){return new d})),a=o+1;return r.Z(t.nodes(),(function(n){g(u,a,t.node(n))})),{graph:t,buckets:u,zeroIdx:a}}(n,e||l),o=function(n,e,t){for(var r,o=[],i=e[e.length-1],u=e[0];n.nodeCount();){for(;r=u.dequeue();)Z(n,e,t,r);for(;r=i.dequeue();)Z(n,e,t,r);if(n.nodeCount())for(var a=e.length-2;a>0;--a)if(r=e[a].dequeue()){o=o.concat(Z(n,e,t,r,!0));break}}return o}(t.graph,t.buckets,t.zeroIdx);return a.Z(c.Z(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=[],t={},o={};return r.Z(n.nodes(),(function u(a){i.Z(o,a)||(o[a]=!0,t[a]=!0,r.Z(n.outEdges(a),(function(n){i.Z(t,n.w)?e.push(n):u(n.w)})),delete t[a])})),e}(n);r.Z(e,(function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,o.Z("rev"))}))}var b=t(6841),w=t(3032),m=t(3688),y=t(2714),_=function(n,e,t){for(var r=-1,o=n.length;++re},k=t(9203),j=function(n){return n&&n.length?_(n,k.Z,E):void 0},x=function(n){var e=null==n?0:n.length;return e?n[e-1]:void 0},N=t(4752),C=t(2693),I=t(7058),O=function(n,e){var t={};return e=(0,I.Z)(e,3),(0,C.Z)(n,(function(n,r,o){(0,N.Z)(t,r,e(n,r,o))})),t},L=t(9360),M=function(n,e){return nMath.abs(u)*f?(a<0&&(f=-f),t=f*u/a,r=f):(u<0&&(c=-c),t=c,r=c*a/u),{x:o+t,y:i+r}}function D(n){var e=c.Z(f.Z(G(n)+1),(function(){return[]}));return r.Z(n.nodes(),(function(t){var r=n.node(t),o=r.rank;L.Z(o)||(e[o][r.order]=t)})),e}function B(n,e,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),P(n,"border",o,e)}function G(n){return j(c.Z(n.nodes(),(function(e){var t=n.node(e).rank;if(!L.Z(t))return t})))}function V(n,e){var t=S();try{return e()}finally{console.log(n+" time: "+(S()-t)+"ms")}}function z(n,e){return e()}function q(n,e,t,r,o,i){var u={width:0,height:0,rank:i,borderType:e},a=o[e][i-1],c=P(n,"border",u,t);o[e][i]=c,n.setParent(c,r),a&&n.setEdge(a,c,{weight:1})}function U(n){r.Z(n.nodes(),(function(e){Y(n.node(e))})),r.Z(n.edges(),(function(e){Y(n.edge(e))}))}function Y(n){var e=n.width;n.width=n.height,n.height=e}function $(n){n.y=-n.y}function J(n){var e=n.x;n.x=n.y,n.y=e}var K=function(n,e){return n&&n.length?_(n,(0,I.Z)(e,2),M):void 0};function W(n){var e={};r.Z(n.sources(),(function t(r){var o=n.node(r);if(i.Z(e,r))return o.rank;e[r]=!0;var u=A(c.Z(n.outEdges(r),(function(e){return t(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))}function H(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function Q(n){var e,t,r=new s.k({directed:!1}),o=n.nodes()[0],i=n.nodeCount();for(r.setNode(o,{});X(r,n)-1?r[o?n[i]:i]:void 0}),sn=t(2489);u.Z(1),u.Z(1),t(8448),t(6155),t(1922);var dn=t(7771);t(8533),(0,t(4193).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var hn="\\ud800-\\udfff",vn="["+hn+"]",ln="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Zn="\\ud83c[\\udffb-\\udfff]",gn="[^"+hn+"]",pn="(?:\\ud83c[\\udde6-\\uddff]){2}",bn="[\\ud800-\\udbff][\\udc00-\\udfff]",wn="(?:"+ln+"|"+Zn+")?",mn="[\\ufe0e\\ufe0f]?",yn=mn+wn+"(?:\\u200d(?:"+[gn,pn,bn].join("|")+")"+mn+wn+")*",_n="(?:"+[gn+ln+"?",ln,pn,bn,vn].join("|")+")";function En(n,e,t){dn.Z(e)||(e=[e]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return r.Z(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);kn(n,e,"post"===t,u,o,i)})),i}function kn(n,e,t,o,u,a){i.Z(o,e)||(o[e]=!0,t||a.push(e),r.Z(u(e),(function(e){kn(n,e,t,o,u,a)})),t&&a.push(e))}function jn(n){n=function(n){var e=(new s.k).setGraph(n.graph());return r.Z(n.nodes(),(function(t){e.setNode(t,n.node(t))})),r.Z(n.edges(),(function(t){var r=e.edge(t.v,t.w)||{weight:0,minlen:1},o=n.edge(t);e.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),e}(n),W(n);var e,t=Q(n);for(Cn(t),xn(t,n);e=On(t);)Mn(t,n,e,Ln(t,n,e))}function xn(n,e){var t=function(n,e){return En(n,e,"post")}(n,n.nodes());t=t.slice(0,t.length-1),r.Z(t,(function(t){!function(n,e,t){var r=n.node(t).parent;n.edge(t,r).cutvalue=Nn(n,e,t)}(n,e,t)}))}function Nn(n,e,t){var o=n.node(t).parent,i=!0,u=e.edge(t,o),a=0;return u||(i=!1,u=e.edge(o,t)),a=u.weight,r.Z(e.nodeEdges(t),(function(r){var u,c,f=r.v===t,s=f?r.w:r.v;if(s!==o){var d=f===i,h=e.edge(r).weight;if(a+=d?h:-h,u=t,c=s,n.hasEdge(u,c)){var v=n.edge(t,s).cutvalue;a+=d?-v:v}}})),a}function Cn(n,e){arguments.length<2&&(e=n.nodes()[0]),In(n,{},1,e)}function In(n,e,t,o,u){var a=t,c=n.node(o);return e[o]=!0,r.Z(n.neighbors(o),(function(r){i.Z(e,r)||(t=In(n,e,t,r,o))})),c.low=a,c.lim=t++,u?c.parent=u:delete c.parent,t}function On(n){return fn(n.edges(),(function(e){return n.edge(e).cutvalue<0}))}function Ln(n,e,t){var r=t.v,o=t.w;e.hasEdge(r,o)||(r=t.w,o=t.v);var i=n.node(r),u=n.node(o),a=i,c=!1;i.lim>u.lim&&(a=u,c=!0);var f=sn.Z(e.edges(),(function(e){return c===An(0,n.node(e.v),a)&&c!==An(0,n.node(e.w),a)}));return K(f,(function(n){return H(e,n)}))}function Mn(n,e,t,o){var i=t.v,u=t.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),Cn(n),xn(n,e),function(n,e){var t=fn(n.nodes(),(function(n){return!e.node(n).parent})),o=function(n,e){return En(n,e,"pre")}(n,t);o=o.slice(1),r.Z(o,(function(t){var r=n.node(t).parent,o=e.edge(t,r),i=!1;o||(o=e.edge(r,t),i=!0),e.node(t).rank=e.node(r).rank+(i?o.minlen:-o.minlen)}))}(n,e)}function An(n,e,t){return t.low<=e.lim&&e.lim<=t.lim}function Rn(n){switch(n.graph().ranker){case"network-simplex":default:!function(n){jn(n)}(n);break;case"tight-tree":!function(n){W(n),Q(n)}(n);break;case"longest-path":Sn(n)}}RegExp(Zn+"(?="+Zn+")|"+_n+yn,"g"),new Error,t(5351),jn.initLowLimValues=Cn,jn.initCutValues=xn,jn.calcCutValue=Nn,jn.leaveEdge=On,jn.enterEdge=Ln,jn.exchangeEdges=Mn;var Sn=W;var Pn=t(4657),Tn=t(4283);function Fn(n){var e=P(n,"root",{},"_root"),t=function(n){var e={};function t(o,i){var u=n.children(o);u&&u.length&&r.Z(u,(function(n){t(n,i+1)})),e[o]=i}return r.Z(n.children(),(function(n){t(n,1)})),e}(n),o=j(Pn.Z(t))-1,i=2*o+1;n.graph().nestingRoot=e,r.Z(n.edges(),(function(e){n.edge(e).minlen*=i}));var u=function(n){return Tn.Z(n.edges(),(function(e,t){return e+n.edge(t).weight}),0)}(n)+1;r.Z(n.children(),(function(r){Dn(n,e,i,u,o,t,r)})),n.graph().nodeRankFactor=i}function Dn(n,e,t,o,i,u,a){var c=n.children(a);if(c.length){var f=B(n,"_bt"),s=B(n,"_bb"),d=n.node(a);n.setParent(f,a),d.borderTop=f,n.setParent(s,a),d.borderBottom=s,r.Z(c,(function(r){Dn(n,e,t,o,i,u,r);var c=n.node(r),d=c.borderTop?c.borderTop:r,h=c.borderBottom?c.borderBottom:r,v=c.borderTop?o:2*o,l=d!==h?1:i-u[a]+1;n.setEdge(f,d,{weight:v,minlen:l,nestingEdge:!0}),n.setEdge(h,s,{weight:v,minlen:l,nestingEdge:!0})})),n.parent(a)||n.setEdge(e,f,{weight:0,minlen:i+u[a]})}else a!==e&&n.setEdge(e,a,{weight:0,minlen:t})}var Bn=t(9103),Gn=function(n){return(0,Bn.Z)(n,5)};var Vn=t(2954),zn=function(n,e){return function(n,e,t){for(var r=-1,o=n.length,i=e.length,u={};++re||i&&u&&c&&!a&&!f||r&&u&&c||!t&&c||!o)return 1;if(!r&&!i&&!f&&n=a?c:c*("desc"==t[r]?-1:1)}return n.index-e.index}(n,e,t)}))},Hn=t(9581),Qn=t(439),Xn=(0,Hn.Z)((function(n,e){if(null==n)return[];var t=e.length;return t>1&&(0,Qn.Z)(n,e[0],e[1])?e=[]:t>2&&(0,Qn.Z)(e[0],e[1],e[2])&&(e=[e[0]]),Wn(n,(0,qn.Z)(e,1),[])}));function ne(n,e){for(var t=0,r=1;r0;)e%2&&(t+=s[e+1]),s[e=e-1>>1]+=n.weight;d+=n.weight*t}))),d}function te(n,e){var t,o=function(n,e){var t={lhs:[],rhs:[]};return r.Z(n,(function(n){var e;e=n,i.Z(e,"barycenter")?t.lhs.push(n):t.rhs.push(n)})),t}(n),u=o.lhs,c=Xn(o.rhs,(function(n){return-n.i})),f=[],s=0,d=0,h=0;u.sort((t=!!e,function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.i})),h=re(f,c,h),r.Z(u,(function(n){h+=n.vs.length,f.push(n.vs),s+=n.barycenter*n.weight,d+=n.weight,h=re(f,c,h)}));var v={vs:a.Z(f)};return d&&(v.barycenter=s/d,v.weight=d),v}function re(n,e,t){for(var r;e.length&&(r=x(e)).i<=t;)e.pop(),n.push(r.vs),t++;return t}function oe(n,e,t,o){var u=n.children(e),f=n.node(e),s=f?f.borderLeft:void 0,d=f?f.borderRight:void 0,h={};s&&(u=sn.Z(u,(function(n){return n!==s&&n!==d})));var v=function(n,e){return c.Z(e,(function(e){var t=n.inEdges(e);if(t.length){var r=Tn.Z(t,(function(e,t){var r=n.edge(t),o=n.node(t.v);return{sum:e.sum+r.weight*o.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}(n,u);r.Z(v,(function(e){if(n.children(e.v).length){var r=oe(n,e.v,t,o);h[e.v]=r,i.Z(r,"barycenter")&&(u=e,a=r,L.Z(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 l=function(n,e){var t={};return r.Z(n,(function(n,e){var r=t[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};L.Z(n.barycenter)||(r.barycenter=n.barycenter,r.weight=n.weight)})),r.Z(e.edges(),(function(n){var e=t[n.v],r=t[n.w];L.Z(e)||L.Z(r)||(r.indegree++,e.out.push(t[n.w]))})),function(n){var e=[];function t(n){return function(e){var t,r,o,i;e.merged||(L.Z(e.barycenter)||L.Z(n.barycenter)||e.barycenter>=n.barycenter)&&(r=e,o=0,i=0,(t=n).weight&&(o+=t.barycenter*t.weight,i+=t.weight),r.weight&&(o+=r.barycenter*r.weight,i+=r.weight),t.vs=r.vs.concat(t.vs),t.barycenter=o/i,t.weight=i,t.i=Math.min(r.i,t.i),r.merged=!0)}}function o(e){return function(t){t.in.push(e),0==--t.indegree&&n.push(t)}}for(;n.length;){var i=n.pop();e.push(i),r.Z(i.in.reverse(),t(i)),r.Z(i.out,o(i))}return c.Z(sn.Z(e,(function(n){return!n.merged})),(function(n){return w.Z(n,["vs","i","barycenter","weight"])}))}(sn.Z(t,(function(n){return!n.indegree})))}(v,t);!function(n,e){r.Z(n,(function(n){n.vs=a.Z(n.vs.map((function(n){return e[n]?e[n].vs:n})))}))}(l,h);var Z=te(l,o);if(s&&(Z.vs=a.Z([s,Z.vs,d]),n.predecessors(s).length)){var g=n.node(n.predecessors(s)[0]),p=n.node(n.predecessors(d)[0]);i.Z(Z,"barycenter")||(Z.barycenter=0,Z.weight=0),Z.barycenter=(Z.barycenter*Z.weight+g.order+p.order)/(Z.weight+2),Z.weight+=2}return Z}function ie(n,e,t){return c.Z(e,(function(e){return function(n,e,t){var u=function(n){for(var e;n.hasNode(e=o.Z("_root")););return e}(n),a=new s.k({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(e){return n.node(e)}));return r.Z(n.nodes(),(function(o){var c=n.node(o),f=n.parent(o);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(a.setNode(o),a.setParent(o,f||u),r.Z(n[t](o),(function(e){var t=e.v===o?e.w:e.v,r=a.edge(t,o),i=L.Z(r)?0:r.weight;a.setEdge(t,o,{weight:n.edge(e).weight+i})})),i.Z(c,"minRank")&&a.setNode(o,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),a}(n,e,t)}))}function ue(n,e){var t=new s.k;r.Z(n,(function(n){var o=n.graph().root,i=oe(n,o,t,e);r.Z(i.vs,(function(e,t){n.node(e).order=t})),function(n,e,t){var o,i={};r.Z(t,(function(t){for(var r,u,a=n.parent(t);a;){if((r=n.parent(a))?(u=i[r],i[r]=a):(u=o,o=a),u&&u!==a)return void e.setEdge(u,a);a=r}}))}(n,t,i.vs)}))}function ae(n,e){r.Z(e,(function(e){r.Z(e,(function(e,t){n.node(e).order=t}))}))}var ce=t(8882),fe=function(n,e){return n&&(0,C.Z)(n,(0,ce.Z)(e))},se=t(5381),de=t(7590),he=function(n,e){return null==n?n:(0,se.Z)(n,(0,ce.Z)(e),de.Z)};function ve(n,e,t){if(e>t){var r=e;e=t,t=r}var o=n[e];o||(n[e]=o={}),o[t]=!0}function le(n,e,t){if(e>t){var r=e;e=t,t=r}return i.Z(n[e],t)}function Ze(n){var e,t=D(n),o=b.Z(function(n,e){var t={};return Tn.Z(e,(function(e,o){var i=0,u=0,a=e.length,c=x(o);return r.Z(o,(function(e,f){var s=function(n,e){if(n.node(e).dummy)return fn(n.predecessors(e),(function(e){return n.node(e).dummy}))}(n,e),d=s?n.node(s).order:a;(s||e===c)&&(r.Z(o.slice(u,f+1),(function(e){r.Z(n.predecessors(e),(function(r){var o=n.node(r),u=o.order;!(ua)&&ve(t,e,c)}))}))}return Tn.Z(e,(function(e,t){var i,u=-1,a=0;return r.Z(t,(function(r,c){if("border"===n.node(r).dummy){var f=n.predecessors(r);f.length&&(i=n.node(f[0]).order,o(t,a,c,u,i),a=c,u=i)}o(t,a,t.length,i,e.length)})),t})),t}(n,t)),u={};r.Z(["u","d"],(function(a){e="u"===a?t:Pn.Z(t).reverse(),r.Z(["l","r"],(function(t){"r"===t&&(e=c.Z(e,(function(n){return Pn.Z(n).reverse()})));var f=("u"===a?n.predecessors:n.successors).bind(n),d=function(n,e,t,o){var i={},u={},a={};return r.Z(e,(function(n){r.Z(n,(function(n,e){i[n]=n,u[n]=n,a[n]=e}))})),r.Z(e,(function(n){var e=-1;r.Z(n,(function(n){var r=o(n);if(r.length){r=Xn(r,(function(n){return a[n]}));for(var c=(r.length-1)/2,f=Math.floor(c),s=Math.ceil(c);f<=s;++f){var d=r[f];u[n]===n&&ec||f>e[o].lim));for(i=o,o=r;(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,c=0,f=u[c],s=!0;t!==o.w;){if(r=n.node(t),s){for(;(f=u[c])!==a&&n.node(f).maxRank=2);var v=ne(n,u=D(n));v-1},p=function(n,e,t){for(var r=-1,o=null==n?0:n.length;++r=200){var f=e?null:_(n);if(f)return(0,m.Z)(f);u=!1,o=b.Z,c=new v.Z}else c=e?[]:a;n:for(;++r1?r.setNode(n,e):r.setNode(n)})),this}setNode(n,e){return r.Z(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=e),this):(this._nodes[n]=arguments.length>1?e:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=C,this._children[n]={},this._children[C][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return r.Z(this._nodes,n)}removeNode(n){var e=this;if(r.Z(this._nodes,n)){var t=function(n){e.removeEdge(e._edgeObjs[n])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],f.Z(this.children(n),(function(n){e.setParent(n)})),delete this._children[n]),f.Z(u.Z(this._in[n]),t),delete this._in[n],delete this._preds[n],f.Z(u.Z(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(s.Z(e))e=C;else{for(var t=e+="";!s.Z(t);t=this.parent(t))if(t===n)throw new Error("Setting "+e+" as parent of "+n+" would create a cycle");this.setNode(e)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=e,this._children[e][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var e=this._parent[n];if(e!==C)return e}}children(n){if(s.Z(n)&&(n=C),this._isCompound){var e=this._children[n];if(e)return u.Z(e)}else{if(n===C)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var e=this._preds[n];if(e)return u.Z(e)}successors(n){var e=this._sucs[n];if(e)return u.Z(e)}neighbors(n){var e=this.predecessors(n);if(e)return k(e,this.successors(n))}isLeaf(n){return 0===(this.isDirected()?this.successors(n):this.neighbors(n)).length}filterNodes(n){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var t=this;f.Z(this._nodes,(function(t,r){n(r)&&e.setNode(r,t)})),f.Z(this._edgeObjs,(function(n){e.hasNode(n.v)&&e.hasNode(n.w)&&e.setEdge(n,t.edge(n))}));var r={};function o(n){var i=t.parent(n);return void 0===i||e.hasNode(i)?(r[n]=i,i):i in r?r[i]:o(i)}return this._isCompound&&f.Z(e.nodes(),(function(n){e.setParent(n,o(n))})),e}setDefaultEdgeLabel(n){return i.Z(n)||(n=o.Z(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return j.Z(this._edgeObjs)}setPath(n,e){var t=this,r=arguments;return x.Z(n,(function(n,o){return r.length>1?t.setEdge(n,o,e):t.setEdge(n,o),o})),this}setEdge(){var n,e,t,o,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(n=u.v,e=u.w,t=u.name,2===arguments.length&&(o=arguments[1],i=!0)):(n=u,e=arguments[1],t=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),n=""+n,e=""+e,s.Z(t)||(t=""+t);var a=A(this._isDirected,n,e,t);if(r.Z(this._edgeLabels,a))return i&&(this._edgeLabels[a]=o),this;if(!s.Z(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(e),this._edgeLabels[a]=i?o:this._defaultEdgeLabelFn(n,e,t);var c=function(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,n,e,t);return n=c.v,e=c.w,Object.freeze(c),this._edgeObjs[a]=c,L(this._preds[e],n),L(this._sucs[n],e),this._in[e][a]=c,this._out[n][a]=c,this._edgeCount++,this}edge(n,e,t){var r=1===arguments.length?R(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return this._edgeLabels[r]}hasEdge(n,e,t){var o=1===arguments.length?R(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return r.Z(this._edgeLabels,o)}removeEdge(n,e,t){var r=1===arguments.length?R(this._isDirected,arguments[0]):A(this._isDirected,n,e,t),o=this._edgeObjs[r];return o&&(n=o.v,e=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],M(this._preds[e],n),M(this._sucs[n],e),delete this._in[e][r],delete this._out[n][r],this._edgeCount--),this}inEdges(n,e){var t=this._in[n];if(t){var r=j.Z(t);return e?a.Z(r,(function(n){return n.v===e})):r}}outEdges(n,e){var t=this._out[n];if(t){var r=j.Z(t);return e?a.Z(r,(function(n){return n.w===e})):r}}nodeEdges(n,e){var t=this.inEdges(n,e);if(t)return t.concat(this.outEdges(n,e))}}function L(n,e){n[e]?n[e]++:n[e]=1}function M(n,e){--n[e]||delete n[e]}function A(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}return o+I+i+I+(s.Z(r)?N:r)}function R(n,e){return A(n,e.v,e.w,e.name)}O.prototype._nodeCount=0,O.prototype._edgeCount=0},5625:function(n,e,t){t.d(e,{k:function(){return r.k}});var r=t(5351)},5084:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(520);function o(n){var e=-1,t=null==n?0:n.length;for(this.__data__=new r.Z;++e0&&o(s)?t>1?n(s,t-1,o,i,u):(0,r.Z)(u,s):i||(u[u.length]=s)}return u}},2693:function(n,e,t){var r=t(5381),o=t(7179);e.Z=function(n,e){return n&&(0,r.Z)(n,e,o.Z)}},3317:function(n,e,t){var r=t(1036),o=t(2656);e.Z=function(n,e){for(var t=0,i=(e=(0,r.Z)(e,n)).length;null!=n&&ts))return!1;var h=c.get(n),v=c.get(e);if(h&&v)return h==e&&v==n;var l=-1,Z=!0,g=2&t?new o.Z:void 0;for(c.set(n,e),c.set(e,n);++l2?e[2]:void 0;for(f&&(0,i.Z)(e[0],e[1],f)&&(r=1);++tn||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 k(t,n){const e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function x({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 E(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function L(){return new E}E.prototype=L.prototype={constructor:E,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),k=s*Math.tan((m-Math.acos((d+u-p)/(2*g*_)))/2),x=k/_,v=k/g;Math.abs(x-1)>b&&(this._+="L"+(t+x*h)+","+(n+x*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._}};var A=L,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 P(t){return t.target}function C(t,n,e,i,s){t.moveTo(n,e),t.bezierCurveTo(n=(n+i)/2,e,n,s,i,s)}function D(t){return[t.source.x1,t.y0]}function N(t){return[t.target.x0,t.y1]}function $(){return function(t){var n=O,e=P,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}(C).source(D).target(N)}e(7484),e(7967),e(7856);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,_,k,x,m,v,b,w,E={};;){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 L;for(x in b=[],r[g])this.terminals_[x]&&x>2&&b.push("'"+this.terminals_[x]+"'");L=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(L,{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],E.$=i[i.length-m],E._$={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&&(E._$.range=[s[s.length-(m||1)].range[0],s[s.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[o,l,c,u.yy,_[1],i,s].concat(h))))return k;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(E.$),s.push(E._$),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:{easy_keword_rules:!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)/,/^(?:$)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:(\u002C))/,/^(?:(\u0022))/,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/,/^(?:(\u0022)(?!(\u0022)))/,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],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 Y=[],F=[],U={};class W{constructor(t,n,e=0){this.source=t,this.target=n,this.value=e}}class q{constructor(t){this.ID=t}}const G={nodesMap:U,getConfig:()=>(0,i.c)().sankey,getNodes:()=>F,getLinks:()=>Y,getGraph:()=>({nodes:F.map((t=>({id:t.ID}))),links:Y.map((t=>({source:t.source.ID,target:t.target.ID,value:t.value})))}),addLink:(t,n,e)=>{Y.push(new W(t,n,e))},findOrCreateNode:t=>(t=i.e.sanitizeText(t,(0,i.c)()),U[t]||(U[t]=new q(t),F.push(U[t])),U[t]),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,getDiagramTitle:i.r,setDiagramTitle:i.q,clear:()=>{Y=[],F=[],U={},(0,i.t)()}},K=class{static next(t){return new K(t+ ++K.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}};let V=K;V.count=0;const X={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},Q={draw:function(t,n,e,o){const{securityLevel:m,sankey:v}=(0,i.c)(),b=i.I.sankey;let w;"sandbox"===m&&(w=(0,s.Ys)("#i"+n));const E="sandbox"===m?(0,s.Ys)(w.nodes()[0].contentDocument.body):(0,s.Ys)("body"),L="sandbox"===m?E.select(`[id="${n}"]`):(0,s.Ys)(`[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,P=(null==v?void 0:v.showValues)??b.showValues;(0,i.i)(L,S,A,M);const C=o.db.getGraph(),D=X[I];(function(){let t,n,e,i=0,s=0,o=1,m=1,v=24,b=8,w=p,E=c,L=g,A=_,S=6;function M(){const c={nodes:L.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=k(i,n)),"object"!=typeof s&&(s=e.target=k(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(E.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,D(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,D(t)}void 0===n&&r.sort(y),O(r,i)}}function O(n,e){const i=n.length>>1,r=n[i];C(n,r.y0-t,i-1,e),P(n,r.y1+t,i+1,e),C(n,m,n.length-1,e),P(n,s,0,e)}function P(n,e,i,s){for(;i1e-6&&(r.y0+=o,r.y1+=o),e=r.y1+t}}function C(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 D({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 N(t){if(void 0===e)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(f),e.sort(u)}function $(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 x(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?(E="function"==typeof t?t:a(t),M):E},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?(L="function"==typeof t?t:a(t),M):L},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+(P?15:0)).nodeAlign(D).extent([[0,0],[A,S]])(C);const N=(0,s.PKp)(s.K2I);L.append("g").attr("class","nodes").selectAll(".node").data(C.nodes).join("g").attr("class","node").attr("id",(t=>(t.uid=V.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=>N(t.id))),L.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(C.nodes).join("text").attr("x",(t=>t.x0(t.y1+t.y0)/2)).attr("dy",(P?"0":"0.35")+"em").attr("text-anchor",(t=>t.x0P?`${t}\n${T}${Math.round(100*n)/100}${O}`:t));const j=L.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(C.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=V.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=>N(t.source.id))),t.append("stop").attr("offset","100%").attr("stop-color",(t=>N(t.target.id)))}let Y;switch(z){case"gradient":Y=t=>t.uid;break;case"source":Y=t=>N(t.source.id);break;case"target":Y=t=>N(t.target.id);break;default:Y=z}j.append("path").attr("d",$()).attr("stroke",Y).attr("stroke-width",(t=>Math.max(1,t.width)))}},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:G,renderer:Q}}}]); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/841-54550e4a.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/841-54550e4a.chunk.min.js new file mode 100644 index 00000000..40f88ad1 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/841-54550e4a.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[841],{8841:function(t,e,i){i.d(e,{diagram:function(){return k}});var n=i(8454),r=i(7274),s=i(3771),a=i(5625),c=(i(7484),i(7967),i(7856),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],c=[2,7],l=[1,22],o=[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],f=[1,47],m=[1,48],I=[1,49],b=[1,50],k=[1,51],S=[1,52],T=[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 c=s.length-1;switch(r){case 4:this.$=s[c].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[c].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[c-3],s[c-4]);break;case 14:n.setNewReqId(s[c-2]);break;case 15:n.setNewReqText(s[c-2]);break;case 16:n.setNewReqRisk(s[c-2]);break;case 17:n.setNewReqVerifyMethod(s[c-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[c-3]);break;case 34:n.setNewElementType(s[c-2]);break;case 35:n.setNewElementDocRef(s[c-2]);break;case 38:n.addRelationship(s[c-2],s[c],s[c-4]);break;case 39:n.addRelationship(s[c-2],s[c-4],s[c]);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:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,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:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:32,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:33,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:34,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:35,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,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:f,56:m,57:I,58:b,59:k,60:S,61:T},{52:54,55:f,56:m,57:I,58:b,59:k,60:S,61:T},{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="",c=0,l=0,o=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,f,m,I,b,k,S={};;){if(E=e[e.length-1],this.defaultActions[E]?g=this.defaultActions[E]:(null==_&&(k=void 0,"number"!=typeof(k=i.pop()||h.lex()||1)&&(k instanceof Array&&(k=(i=k).pop()),k=this.symbols_[k]||k),_=k),g=s[E]&&s[E][_]),void 0===g||!g.length||!g[0]){var T;for(f in b=[],s[E])this.terminals_[f]&&f>2&&b.push("'"+this.terminals_[f]+"'");T=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{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,c=h.yylineno,d=h.yylloc;break;case 2:if(m=this.productions_[g[1]][1],S.$=n[n.length-m],S._$={first_line:r[r.length-(m||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(m||1)].first_column,last_column:r[r.length-1].last_column},p&&(S._$.range=[r[r.length-(m||1)].range[0],r[r.length-1].range[1]]),void 0!==(R=this.performAction.apply(S,[a,l,c,u.yy,g[1],n,r].concat(o))))return R;m&&(e=e.slice(0,-1*m*2),n=n.slice(0,-1*m),r=r.slice(0,-1*m)),e.push(this.productions_[g[1]][0]),n.push(S.$),r.push(S._$),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}());c.parser=c;const l=c;let o=[],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)=>{o.push({type:t,src:e,dst:i})},getRelationships:()=>o,clear:()=>{o=[],h={},u={},y={},d={},(0,n.t)()}},_={CONTAINS:"contains",ARROW:"arrow"},E=_;let g={},R=0;const f=(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"),m=(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,"_"),k={parser:l,db:p,renderer:{draw:(t,e,i,c)=>{g=(0,n.c)().requirement;const l=g.securityLevel;let o;"sandbox"===l&&(o=(0,r.Ys)("#i"+e));const h=("sandbox"===l?(0,r.Ys)(o.nodes()[0].contentDocument.body):(0,r.Ys)("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.k({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=c.db.getRequirements(),d=c.db.getElements(),p=c.db.getRelationships();var k,S,T;k=y,S=u,T=h,Object.keys(k).forEach((t=>{let e=k[t];t=b(t),n.l.info("Added new requirement: ",t);const i=T.append("g").attr("id",t),r=f(i,"req-"+t);let s=m(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();S.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),c="element-"+s,l=f(a,c);let o=m(a,c+"_title",["<>",`${n}`]);I(a,c+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],o.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.bK)(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 c=i.edge(b(e.src),b(e.dst)),l=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})),o=t.insert("path","#"+s).attr("class","er relationshipLine").attr("d",l(c.points)).attr("fill","none");e.type==a.db.Relationships.CONTAINS?o.attr("marker-start","url("+n.e.getUrl(g.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.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 c=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-c.width/2).attr("y",s.y-c.height/2).attr("width",c.width).attr("height",c.height).attr("fill","white").attr("fill-opacity","85%")})(t,o,0,`<<${e.type}>>`)}(h,t,u,e,c)}));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}`)}},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/docs/themes/hugo-geekdoc/static/js/86-841830e3.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/86-841830e3.chunk.min.js new file mode 100644 index 00000000..af0a02b3 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/86-841830e3.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[86],{5086:function(t,e,r){r.d(e,{diagram:function(){return C}});var i=r(8454),n=r(7274),a=(r(7484),r(7967),r(7856),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],n=[1,5],a=[2,5],c=[1,12],s=[5,7,13,19,21,23,24,26,28,31,36,39,46],o=[7,13,19,21,23,24,26,28,31,36,39],l=[7,12,13,19,21,23,24,26,28,31,36,39],h=[7,13,46],m=[1,42],u=[1,41],y=[7,13,29,32,34,37,46],g=[1,55],p=[1,56],b=[1,57],d=[7,13,32,34,41,46],f={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,COMMIT_TAG:34,EMPTYSTR:35,MERGE:36,COMMIT_TYPE:37,commitType:38,COMMIT:39,commit_arg:40,COMMIT_MSG:41,NORMAL:42,REVERSE:43,HIGHLIGHT:44,ID:45,";":46,$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:"COMMIT_TAG",35:"EMPTYSTR",36:"MERGE",37:"COMMIT_TYPE",39:"COMMIT",41:"COMMIT_MSG",42:"NORMAL",43:"REVERSE",44:"HIGHLIGHT",45:"ID",46:";"},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,5],[18,5],[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],[40,0],[40,1],[38,1],[38,1],[38,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(t,e,r,i,n,a,c){var s=a.length-1;switch(n){case 2:return a[s];case 3:return a[s-1];case 4:return i.setDirection(a[s-3]),a[s-1];case 6:i.setOptions(a[s-1]),this.$=a[s];break;case 7:a[s-1]+=a[s],this.$=a[s-1];break;case 9:this.$=[];break;case 10:a[s-1].push(a[s]),this.$=a[s-1];break;case 11:this.$=a[s-1];break;case 16:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 19:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:i.checkout(a[s]);break;case 22:i.branch(a[s]);break;case 23:i.branch(a[s-2],a[s]);break;case 24:i.cherryPick(a[s],"",void 0);break;case 25:i.cherryPick(a[s-2],"",a[s]);break;case 26:case 28:i.cherryPick(a[s-2],"","");break;case 27:i.cherryPick(a[s],"",a[s-2]);break;case 29:i.merge(a[s],"","","");break;case 30:i.merge(a[s-2],a[s],"","");break;case 31:i.merge(a[s-2],"",a[s],"");break;case 32:i.merge(a[s-2],"","",a[s]);break;case 33:i.merge(a[s-4],a[s],"",a[s-2]);break;case 34:i.merge(a[s-4],"",a[s],a[s-2]);break;case 35:i.merge(a[s-4],"",a[s-2],a[s]);break;case 36:i.merge(a[s-4],a[s-2],a[s],"");break;case 37:i.merge(a[s-4],a[s-2],"",a[s]);break;case 38:i.merge(a[s-4],a[s],a[s-2],"");break;case 39:i.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 40:i.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 41:i.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 42:i.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 43:i.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 44:i.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 45:i.commit(a[s]);break;case 46:i.commit("","",i.commitType.NORMAL,a[s]);break;case 47:i.commit("","",a[s],"");break;case 48:i.commit("","",a[s],a[s-2]);break;case 49:i.commit("","",a[s-2],a[s]);break;case 50:i.commit("",a[s],i.commitType.NORMAL,"");break;case 51:i.commit("",a[s-2],i.commitType.NORMAL,a[s]);break;case 52:i.commit("",a[s],i.commitType.NORMAL,a[s-2]);break;case 53:i.commit("",a[s-2],a[s],"");break;case 54:i.commit("",a[s],a[s-2],"");break;case 55:i.commit("",a[s-4],a[s-2],a[s]);break;case 56:i.commit("",a[s-4],a[s],a[s-2]);break;case 57:i.commit("",a[s-2],a[s-4],a[s]);break;case 58:i.commit("",a[s],a[s-4],a[s-2]);break;case 59:i.commit("",a[s],a[s-2],a[s-4]);break;case 60:i.commit("",a[s-2],a[s],a[s-4]);break;case 61:i.commit(a[s],"",i.commitType.NORMAL,"");break;case 62:i.commit(a[s],"",i.commitType.NORMAL,a[s-2]);break;case 63:i.commit(a[s-2],"",i.commitType.NORMAL,a[s]);break;case 64:i.commit(a[s-2],"",a[s],"");break;case 65:i.commit(a[s],"",a[s-2],"");break;case 66:i.commit(a[s],a[s-2],i.commitType.NORMAL,"");break;case 67:i.commit(a[s-2],a[s],i.commitType.NORMAL,"");break;case 68:i.commit(a[s-4],"",a[s-2],a[s]);break;case 69:i.commit(a[s-4],"",a[s],a[s-2]);break;case 70:i.commit(a[s-2],"",a[s-4],a[s]);break;case 71:i.commit(a[s],"",a[s-4],a[s-2]);break;case 72:i.commit(a[s],"",a[s-2],a[s-4]);break;case 73:i.commit(a[s-2],"",a[s],a[s-4]);break;case 74:i.commit(a[s-4],a[s],a[s-2],"");break;case 75:i.commit(a[s-4],a[s-2],a[s],"");break;case 76:i.commit(a[s-2],a[s],a[s-4],"");break;case 77:i.commit(a[s],a[s-2],a[s-4],"");break;case 78:i.commit(a[s],a[s-4],a[s-2],"");break;case 79:i.commit(a[s-2],a[s-4],a[s],"");break;case 80:i.commit(a[s-4],a[s],i.commitType.NORMAL,a[s-2]);break;case 81:i.commit(a[s-4],a[s-2],i.commitType.NORMAL,a[s]);break;case 82:i.commit(a[s-2],a[s],i.commitType.NORMAL,a[s-4]);break;case 83:i.commit(a[s],a[s-2],i.commitType.NORMAL,a[s-4]);break;case 84:i.commit(a[s],a[s-4],i.commitType.NORMAL,a[s-2]);break;case 85:i.commit(a[s-2],a[s-4],i.commitType.NORMAL,a[s]);break;case 86:i.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 87:i.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 88:i.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 89:i.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 90:i.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 91:i.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 92:i.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 93:i.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 94:i.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 95:i.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 96:i.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 97:i.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 98:i.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 99:i.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 100:i.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 101:i.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 102:i.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 103:i.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 104:i.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 105:i.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 106:i.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 107:i.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 108:i.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 109:i.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 110:this.$="";break;case 111:this.$=a[s];break;case 112:this.$=i.commitType.NORMAL;break;case 113:this.$=i.commitType.REVERSE;break;case 114:this.$=i.commitType.HIGHLIGHT}},table:[{3:1,4:2,5:e,7:r,13:i,46:n},{1:[3]},{3:7,4:2,5:e,7:r,13:i,46:n},{6:8,7:a,8:[1,9],9:[1,10],10:11,13:c},t(s,[2,117]),t(s,[2,118]),t(s,[2,119]),{1:[2,1]},{7:[1,13]},{6:14,7:a,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:a,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],36:[1,33],39:[1,32]},t(l,[2,7]),{1:[2,3]},{7:[1,36]},t(o,[2,10]),{4:37,7:r,13:i,46:n},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,45:u},t(h,[2,110],{40:43,32:[1,46],33:[1,48],34:[1,44],37:[1,45],41:[1,47]}),{27:49,33:m,45:u},{32:[1,50],34:[1,51]},{27:52,33:m,45:u},{1:[2,4]},t(o,[2,11]),t(h,[2,16]),t(h,[2,17]),t(h,[2,21]),t(y,[2,115]),t(y,[2,116]),t(h,[2,45]),{33:[1,53]},{38:54,42:g,43:p,44:b},{33:[1,58]},{33:[1,59]},t(h,[2,111]),t(h,[2,29],{32:[1,60],34:[1,62],37:[1,61]}),{33:[1,63]},{33:[1,64],35:[1,65]},t(h,[2,22],{29:[1,66]}),t(h,[2,46],{32:[1,68],37:[1,67],41:[1,69]}),t(h,[2,47],{32:[1,71],34:[1,70],41:[1,72]}),t(d,[2,112]),t(d,[2,113]),t(d,[2,114]),t(h,[2,50],{34:[1,73],37:[1,74],41:[1,75]}),t(h,[2,61],{32:[1,78],34:[1,76],37:[1,77]}),{33:[1,79]},{38:80,42:g,43:p,44:b},{33:[1,81]},t(h,[2,24],{34:[1,82]}),{32:[1,83]},{32:[1,84]},{30:[1,85]},{38:86,42:g,43:p,44:b},{33:[1,87]},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{38:93,42:g,43:p,44:b},{33:[1,94]},{33:[1,95]},{38:96,42:g,43:p,44:b},{33:[1,97]},t(h,[2,30],{34:[1,99],37:[1,98]}),t(h,[2,31],{32:[1,101],34:[1,100]}),t(h,[2,32],{32:[1,102],37:[1,103]}),{33:[1,104],35:[1,105]},{33:[1,106]},{33:[1,107]},t(h,[2,23]),t(h,[2,48],{32:[1,108],41:[1,109]}),t(h,[2,52],{37:[1,110],41:[1,111]}),t(h,[2,62],{32:[1,113],37:[1,112]}),t(h,[2,49],{32:[1,114],41:[1,115]}),t(h,[2,54],{34:[1,116],41:[1,117]}),t(h,[2,65],{32:[1,119],34:[1,118]}),t(h,[2,51],{37:[1,120],41:[1,121]}),t(h,[2,53],{34:[1,122],41:[1,123]}),t(h,[2,66],{34:[1,125],37:[1,124]}),t(h,[2,63],{32:[1,127],37:[1,126]}),t(h,[2,64],{32:[1,129],34:[1,128]}),t(h,[2,67],{34:[1,131],37:[1,130]}),{38:132,42:g,43:p,44:b},{33:[1,133]},{33:[1,134]},{33:[1,135]},{33:[1,136]},{38:137,42:g,43:p,44:b},t(h,[2,25]),t(h,[2,26]),t(h,[2,27]),t(h,[2,28]),{33:[1,138]},{33:[1,139]},{38:140,42:g,43:p,44:b},{33:[1,141]},{38:142,42:g,43:p,44:b},{33:[1,143]},{33:[1,144]},{33:[1,145]},{33:[1,146]},{33:[1,147]},{33:[1,148]},{33:[1,149]},{38:150,42:g,43:p,44:b},{33:[1,151]},{33:[1,152]},{33:[1,153]},{38:154,42:g,43:p,44:b},{33:[1,155]},{38:156,42:g,43:p,44:b},{33:[1,157]},{33:[1,158]},{33:[1,159]},{38:160,42:g,43:p,44:b},{33:[1,161]},t(h,[2,36],{34:[1,162]}),t(h,[2,37],{37:[1,163]}),t(h,[2,35],{32:[1,164]}),t(h,[2,38],{34:[1,165]}),t(h,[2,33],{37:[1,166]}),t(h,[2,34],{32:[1,167]}),t(h,[2,59],{41:[1,168]}),t(h,[2,72],{32:[1,169]}),t(h,[2,60],{41:[1,170]}),t(h,[2,83],{37:[1,171]}),t(h,[2,73],{32:[1,172]}),t(h,[2,82],{37:[1,173]}),t(h,[2,58],{41:[1,174]}),t(h,[2,71],{32:[1,175]}),t(h,[2,57],{41:[1,176]}),t(h,[2,77],{34:[1,177]}),t(h,[2,70],{32:[1,178]}),t(h,[2,76],{34:[1,179]}),t(h,[2,56],{41:[1,180]}),t(h,[2,84],{37:[1,181]}),t(h,[2,55],{41:[1,182]}),t(h,[2,78],{34:[1,183]}),t(h,[2,79],{34:[1,184]}),t(h,[2,85],{37:[1,185]}),t(h,[2,69],{32:[1,186]}),t(h,[2,80],{37:[1,187]}),t(h,[2,68],{32:[1,188]}),t(h,[2,74],{34:[1,189]}),t(h,[2,75],{34:[1,190]}),t(h,[2,81],{37:[1,191]}),{33:[1,192]},{38:193,42:g,43:p,44:b},{33:[1,194]},{33:[1,195]},{38:196,42:g,43:p,44:b},{33:[1,197]},{33:[1,198]},{33:[1,199]},{33:[1,200]},{38:201,42:g,43:p,44:b},{33:[1,202]},{38:203,42:g,43:p,44:b},{33:[1,204]},{33:[1,205]},{33:[1,206]},{33:[1,207]},{33:[1,208]},{33:[1,209]},{33:[1,210]},{38:211,42:g,43:p,44:b},{33:[1,212]},{33:[1,213]},{33:[1,214]},{38:215,42:g,43:p,44:b},{33:[1,216]},{38:217,42:g,43:p,44:b},{33:[1,218]},{33:[1,219]},{33:[1,220]},{38:221,42:g,43:p,44:b},t(h,[2,39]),t(h,[2,41]),t(h,[2,40]),t(h,[2,42]),t(h,[2,44]),t(h,[2,43]),t(h,[2,100]),t(h,[2,101]),t(h,[2,98]),t(h,[2,99]),t(h,[2,103]),t(h,[2,102]),t(h,[2,107]),t(h,[2,106]),t(h,[2,105]),t(h,[2,104]),t(h,[2,109]),t(h,[2,108]),t(h,[2,97]),t(h,[2,96]),t(h,[2,95]),t(h,[2,94]),t(h,[2,92]),t(h,[2,93]),t(h,[2,91]),t(h,[2,90]),t(h,[2,89]),t(h,[2,88]),t(h,[2,86]),t(h,[2,87])],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],n=[],a=this.table,c="",s=0,o=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),m={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(m.yy[u]=this.yy[u]);h.setInput(t,m.yy),m.yy.lexer=h,m.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;n.push(y);var g=h.options&&h.options.ranges;"function"==typeof m.yy.parseError?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,d,f,k,$,x,_,w,T={};;){if(b=e[e.length-1],this.defaultActions[b]?d=this.defaultActions[b]:(null==p&&(w=void 0,"number"!=typeof(w=r.pop()||h.lex()||1)&&(w instanceof Array&&(w=(r=w).pop()),w=this.symbols_[w]||w),p=w),d=a[b]&&a[b][p]),void 0===d||!d.length||!d[0]){var E;for(k in _=[],a[b])this.terminals_[k]&&k>2&&_.push("'"+this.terminals_[k]+"'");E=h.showPosition?"Parse error on line "+(s+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[p]||p,line:h.yylineno,loc:y,expected:_})}if(d[0]instanceof Array&&d.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(d[0]){case 1:e.push(p),i.push(h.yytext),n.push(h.yylloc),e.push(d[1]),p=null,o=h.yyleng,c=h.yytext,s=h.yylineno,y=h.yylloc;break;case 2:if($=this.productions_[d[1]][1],T.$=i[i.length-$],T._$={first_line:n[n.length-($||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-($||1)].first_column,last_column:n[n.length-1].last_column},g&&(T._$.range=[n[n.length-($||1)].range[0],n[n.length-1].range[1]]),void 0!==(f=this.performAction.apply(T,[c,o,s,m.yy,d[1],i,n].concat(l))))return f;$&&(e=e.slice(0,-1*$*2),i=i.slice(0,-1*$),n=n.slice(0,-1*$)),e.push(this.productions_[d[1]][0]),i.push(T.$),n.push(T._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);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 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: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=[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 r,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],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 a in n)this[a]=n[a];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 n=this._currentRules(),a=0;ae[0].length)){if(e=r,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,n[a])))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,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 29:case 33: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 39;case 12:return 32;case 13:return 37;case 14:return 41;case 15:return 42;case 16:return 43;case 17:return 44;case 18:return 34;case 19:return 28;case 20:return 29;case 21:return 36;case 22:return 31;case 23:return 26;case 24:case 25:return 9;case 26:return 8;case 27:return"CARET";case 28:this.begin("options");break;case 30:return 12;case 31:return 35;case 32:this.begin("string");break;case 34:return 33;case 35:return 30;case 36:return 45;case 37: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,/^(?: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:[29,30],inclusive:!1},string:{rules:[33,34],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,31,32,35,36,37,38],inclusive:!0}}};function $(){this.yy={}}return f.lexer=k,$.prototype=f,f.Parser=$,new $}());a.parser=a;const c=a;let s=(0,i.c)().gitGraph.mainBranchName,o=(0,i.c)().gitGraph.mainBranchOrder,l={},h=null,m={};m[s]={name:s,order:o};let u={};u[s]=h;let y=s,g="LR",p=0;function b(){return(0,i.x)({length:7})}let d={};const f=function(t){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0===u[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}{y=t;const e=u[y];h=l[e]}};function k(t,e,r){const i=t.indexOf(e);-1===i?t.push(r):t.splice(i,1,r)}function $(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 n=[r,e.id,e.seq];for(let t in u)u[t]===e.id&&n.push(t);if(i.l.debug(n.join(" ")),e.parents&&2==e.parents.length){const r=l[e.parents[0]];k(t,e,r),t.push(l[e.parents[1]])}else{if(0==e.parents.length)return;{const r=l[e.parents];k(t,e,r)}}$(t=function(t,e){const r=Object.create(null);return t.reduce(((t,e)=>{const i=e.id;return r[i]||(r[i]=!0,t.push(e)),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},w={getConfig:()=>(0,i.c)().gitGraph,setDirection:function(t){g=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,n){i.l.debug("Entering commit:",t,e,r,n),e=i.e.sanitizeText(e,(0,i.c)()),t=i.e.sanitizeText(t,(0,i.c)()),n=i.e.sanitizeText(n,(0,i.c)());const a={id:e||p+"-"+b(),message:t,seq:p++,type:r||_.NORMAL,tag:n||"",parents:null==h?[]:[h.id],branch:y};h=a,l[a.id]=a,u[y]=a.id,i.l.debug("in pushCommit "+a.id)},branch:function(t,e){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0!==u[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}u[t]=null!=h?h.id:null,m[t]={name:t,order:e?parseInt(e,10):null},f(t),i.l.debug("in createBranch")},merge:function(t,e,r,n){t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)());const a=l[u[y]],c=l[u[t]];if(y===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===a||!a){let e=new Error('Incorrect usage of "merge". Current branch ('+y+")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===u[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(a===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+n,token:"merge "+t+e+r+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+r+" "+n]},i}const s={id:e||p+"-"+b(),message:"merged branch "+t+" into "+y,seq:p++,parents:[null==h?null:h.id,u[t]],branch:y,type:_.MERGE,customType:r,customId:!!e,tag:n||""};h=s,l[s.id]=s,u[y]=s.id,i.l.debug(u),i.l.debug("in mergeBranch")},cherryPick:function(t,e,r){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)()),!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],a=n.branch;if(n.type===_.MERGE){let r=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');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}if(!e||void 0===l[e]){if(a===y){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 c=l[u[y]];if(void 0===c||!c){let r=new Error('Incorrect usage of "cherry-pick". Current branch ('+y+")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 s={id:p+"-"+b(),message:"cherry-picked "+n+" into "+y,seq:p++,parents:[null==h?null:h.id,n.id],branch:y,type:_.CHERRY_PICK,tag:r??"cherry-pick:"+n.id};h=s,l[s.id]=s,u[y]=s.id,i.l.debug(u),i.l.debug("in cherryPick")}},checkout:f,prettyPrint:function(){i.l.debug(l),$([x()[0]])},clear:function(){l={},h=null;let t=(0,i.c)().gitGraph.mainBranchName,e=(0,i.c)().gitGraph.mainBranchOrder;u={},u[t]=null,m={},m[t]={name:t,order:e},y=t,p=0,(0,i.t)()},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 u},getCommits:function(){return l},getCommitsArray:x,getCurrentBranch:function(){return y},getDirection:function(){return g},getHead:function(){return h},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,setDiagramTitle:i.q,getDiagramTitle:i.r,commitType:_};let T={};let E={},L={},M=[],v=0,A="LR";const I=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 n=(0,i.y)().gitGraph,a=t.append("g").attr("class","commit-bullets"),c=t.append("g").attr("class","commit-labels");let s=0;"TB"===A&&(s=30),Object.keys(e).sort(((t,r)=>e[t].seq-e[r].seq)).forEach((t=>{const i=e[t],o="TB"===A?s+10:E[i.branch].pos,l="TB"===A?E[i.branch].pos:s+10;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=a.append("rect");e.attr("x",l-10),e.attr("y",o-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${i.id} commit-highlight${E[i.branch].index%8} ${t}-outer`),a.append("rect").attr("x",l-6).attr("y",o-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${E[i.branch].index%8} ${t}-inner`)}else if(4===e)a.append("circle").attr("cx",l).attr("cy",o).attr("r",10).attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",l-3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",l+3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",l+3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",l-3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`);else{const r=a.append("circle");if(r.attr("cx",l),r.attr("cy",o),r.attr("r",3===i.type?9:10),r.attr("class",`commit ${i.id} commit${E[i.branch].index%8}`),3===e){const e=a.append("circle");e.attr("cx",l),e.attr("cy",o),e.attr("r",6),e.attr("class",`commit ${t} ${i.id} commit${E[i.branch].index%8}`)}1===e&&a.append("path").attr("d",`M ${l-5},${o-5}L${l+5},${o+5}M${l-5},${o+5}L${l+5},${o-5}`).attr("class",`commit ${t} ${i.id} commit${E[i.branch].index%8}`)}}if(L[i.id]="TB"===A?{x:l,y:s+10}:{x:s+10,y:o},r){const t=4,e=2;if(4!==i.type&&(i.customId&&3===i.type||3!==i.type)&&n.showCommitLabel){const r=c.append("g"),a=r.insert("rect").attr("class","commit-label-bkg"),h=r.append("text").attr("x",s).attr("y",o+25).attr("class","commit-label").text(i.id);let m=h.node().getBBox();if(a.attr("x",s+10-m.width/2-e).attr("y",o+13.5).attr("width",m.width+2*e).attr("height",m.height+2*e),"TB"===A&&(a.attr("x",l-(m.width+4*t+5)).attr("y",o-12),h.attr("x",l-(m.width+4*t)).attr("y",o+m.height-12)),"TB"!==A&&h.attr("x",s+10-m.width/2),n.rotateCommitLabel)if("TB"===A)h.attr("transform","rotate(-45, "+l+", "+o+")"),a.attr("transform","rotate(-45, "+l+", "+o+")");else{let t=-7.5-(m.width+10)/25*9.5,e=10+m.width/25*8.5;r.attr("transform","translate("+t+", "+e+") rotate(-45, "+s+", "+o+")")}}if(i.tag){const r=c.insert("polygon"),n=c.append("circle"),a=c.append("text").attr("y",o-16).attr("class","tag-label").text(i.tag);let h=a.node().getBBox();a.attr("x",s+10-h.width/2);const m=h.height/2,u=o-19.2;r.attr("class","tag-label-bkg").attr("points",`\n ${s-h.width/2-t/2},${u+e}\n ${s-h.width/2-t/2},${u-e}\n ${s+10-h.width/2-t},${u-m-e}\n ${s+10+h.width/2+t},${u-m-e}\n ${s+10+h.width/2+t},${u+m+e}\n ${s+10-h.width/2-t},${u+m+e}`),n.attr("cx",s-h.width/2+t/2).attr("cy",u).attr("r",1.5).attr("class","tag-hole"),"TB"===A&&(r.attr("class","tag-label-bkg").attr("points",`\n ${l},${s+e}\n ${l},${s-e}\n ${l+10},${s-m-e}\n ${l+10+h.width+t},${s-m-e}\n ${l+10+h.width+t},${s+m+e}\n ${l+10},${s+m+e}`).attr("transform","translate(12,12) rotate(45, "+l+","+s+")"),n.attr("cx",l+t/2).attr("cy",s).attr("transform","translate(12,12) rotate(45, "+l+","+s+")"),a.attr("x",l+5).attr("y",s+3).attr("transform","translate(14,14) rotate(45, "+l+","+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 n=Math.abs(t-e);return O(t,e-n/5,r+1)},C={parser:c,db:w,renderer:{draw:function(t,e,r,a){E={},L={},T={},v=0,M=[],A="LR";const c=(0,i.y)(),s=c.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,r),T=a.db.getCommits();const o=a.db.getBranchesAsObjArray();A=a.db.getDirection();const l=(0,n.Ys)(`[id="${e}"]`);let h=0;o.forEach(((t,e)=>{const r=I(t.name),i=l.append("g"),n=i.insert("g").attr("class","branchLabel"),a=n.insert("g").attr("class","label branch-label");a.node().appendChild(r);let c=r.getBBox();E[t.name]={pos:h,index:e},h+=50+(s.rotateCommitLabel?40:0)+("TB"===A?c.width/2:0),a.remove(),n.remove(),i.remove()})),R(l,T,!1),s.showBranches&&((t,e)=>{const r=(0,i.y)().gitGraph,n=t.append("g");e.forEach(((t,e)=>{const i=e%8,a=E[t.name].pos,c=n.append("line");c.attr("x1",0),c.attr("y1",a),c.attr("x2",v),c.attr("y2",a),c.attr("class","branch branch"+i),"TB"===A&&(c.attr("y1",30),c.attr("x1",a),c.attr("y2",v),c.attr("x2",a)),M.push(a);let s=t.name;const o=I(s),l=n.insert("rect"),h=n.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))+", "+(a-m.height/2-1)+")"),"TB"===A&&(l.attr("x",a-m.width/2-10).attr("y",0),h.attr("transform","translate("+(a-m.width/2-5)+", 0)")),"TB"!==A&&l.attr("transform","translate(-19, "+(a-m.height/2)+")")}))})(l,o),((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 n=L[e.id],a=L[r.id],c=((t,e,r)=>Object.keys(r).filter((i=>r[i].branch===e.branch&&r[i].seq>t.seq&&r[i].seq0)(e,r,i);let s,o="",l="",h=0,m=0,u=E[r.branch].index;if(c){o="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",h=10,m=10,u=E[r.branch].index;const t=n.ya.x&&(o="A 20 20, 0, 0, 0,",l="A 20 20, 0, 0, 1,",h=20,m=20,u=E[e.branch].index,s=`M ${n.x} ${n.y} L ${n.x} ${a.y-h} ${l} ${n.x-m} ${a.y} L ${a.x} ${a.y}`),n.x===a.x&&(u=E[e.branch].index,s=`M ${n.x} ${n.y} L ${n.x+h} ${n.y} ${o} ${n.x+m} ${a.y+h} L ${a.x} ${a.y}`)):(n.ya.y&&(o="A 20 20, 0, 0, 0,",h=20,m=20,u=E[e.branch].index,s=`M ${n.x} ${n.y} L ${a.x-h} ${n.y} ${o} ${a.x} ${n.y-m} L ${a.x} ${a.y}`),n.y===a.y&&(u=E[e.branch].index,s=`M ${n.x} ${n.y} L ${n.x} ${a.y-h} ${o} ${n.x+m} ${a.y} L ${a.x} ${a.y}`));t.append("path").attr("d",s).attr("class","arrow arrow"+u%8)})(r,e[t],i,e)}))}))})(l,T),R(l,T,!0),i.u.insertTitle(l,"gitTitleText",s.titleTopMargin,a.db.getDiagramTitle()),(0,i.z)(void 0,l,s.diagramPadding,s.useMaxWidth??c.useMaxWidth)}},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/docs/themes/hugo-geekdoc/static/js/869-1a62f06a.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/869-1a62f06a.chunk.min.js new file mode 100644 index 00000000..86fd280c --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/869-1a62f06a.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[869],{3349:function(e,t,n){n.d(t,{a:function(){return l}});var r=n(6225);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.bg(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}},6225:function(e,t,n){n.d(t,{$p:function(){return d},O1:function(){return a},WR:function(){return p},bF:function(){return o},bg:function(){return c}});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var i=/:/g;function s(e){return e?String(e).replace(i,"\\:"):""}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.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},1869:function(e,t,n){n.d(t,{diagram:function(){return i}});var r=n(6320),l=(n(5625),n(7274));n(8454),n(3402),n(3688),n(870),n(3771),n(6225),n(3349),n(6749),n(6446),n(3032),l.c_6;var o=n(1192);n(7484),n(7967),n(7856),n(9368);const a={},i={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")}}},1192:function(e,t,n){n.d(t,{a:function(){return g},f:function(){return w}});var r=n(5625),l=n(7274),o=n(8454),a=n(7644),i=n(3349),s=n(5971),c=n(1767),d=(e,t)=>s.Z.lang.round(c.Z.parse(e)[t]),p=n(1117);const b={},u=function(e,t,n,r,l,a){const s=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){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.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};p=(0,i.a)(s,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 u=0,f="";switch(r.type){case"round":u=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"}t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:b,labelType:r.labelType,rx:u,ry:u,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:b,rx:u,ry:u,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})}))},f=function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,i=0,s={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}e.forEach((function(n){i++;const c="L-"+n.start+"-"+n.end;void 0===s[c]?(s[c]=0,o.l.info("abc78 new entry",c,s[c])):(s[c]++,o.l.info("abc78 new entry",c,s[c]));let d=c+"-"+s[c];o.l.info("abc78 new link id to be used is",c,d,s[c]);const p="LS-"+n.start,u="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 w="",g="";switch(n.stroke){case"normal":w="fill:none;",void 0!==r&&(w=r),void 0!==a&&(g=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);w=e.style,g=e.labelStyle}f.style=f.style+=w,f.labelStyle=f.labelStyle+=g,void 0!==n.interpolate?f.curve=(0,o.n)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,l.c_6):f.curve=(0,o.n)(b.curve,l.c_6),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=n.text.replace(o.e.lineBreakRegex,"\n"),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=d,f.classes="flowchart-link "+p+" "+u,t.setEdge(n.start,n.end,f,i)}))},w={setConf:function(e){const t=Object.keys(e);for(const n of t)b[n]=e[n]},addVertices:u,addEdges:f,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,i){o.l.info("Drawing flowchart");let s=i.db.getDirection();void 0===s&&(s="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),p=d.nodeSpacing||50,b=d.rankSpacing||50;let w;"sandbox"===c&&(w=(0,l.Ys)("#i"+t));const g="sandbox"===c?(0,l.Ys)(w.nodes()[0].contentDocument.body):(0,l.Ys)("body"),h="sandbox"===c?w.nodes()[0].contentDocument:document,y=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:p,ranksep:b,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=i.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),i.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=i.db.getVertices(),m=i.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.td_)("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 .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,t)=>{const n=d,r=n(e,"r"),l=n(e,"g"),o=n(e,"b");return p.Z(r,l,o,.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/docs/themes/hugo-geekdoc/static/js/875-0cc44212.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/875-0cc44212.chunk.min.js new file mode 100644 index 00000000..c811108b --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/875-0cc44212.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[875],{7875:function(t,e,i){i.d(e,{diagram:function(){return y}});var n=i(8454),s=i(7274),r=(i(7484),i(7967),i(7856),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],f={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,k,b,x,v,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?_=this.defaultActions[f]:(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),_=r[f]&&r[f][g]),void 0===_||!_.length||!_[0]){var $;for(k in v=[],r[f])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");$=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($,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:p,expected:v})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+g);switch(_[0]){case 1:e.push(g),n.push(h.yytext),s.push(h.yylloc),e.push(_[1]),g=null,c=h.yyleng,l=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(b=this.productions_[_[1]][1],w.$=n[n.length-b],w._$={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&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[l,c,a,u.yy,_[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_[_[1]][0]),n.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);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,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 f.lexer=_,m.prototype=f,f.Parser=m,new m}());r.parser=r;const l=r,a=n.B.pie,c={};let o=c,h=false;const u=structuredClone(a),y={parser:l,db:{getConfig:()=>structuredClone(u),clear:()=>{o=structuredClone(c),h=false,(0,n.t)()},setDiagramTitle:n.q,getDiagramTitle:n.r,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===o[t]&&(o[t]=e,n.l.debug(`added new section: ${t}, with value: ${e}`))},getSections:()=>o,cleanupValue:t=>(":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())),setShowData:t=>{h=t},getShowData:()=>h},renderer:{draw:(t,e,i,r)=>{var l,a;n.l.debug("rendering pie chart\n"+t);const c=r.db,o=(0,n.c)(),h=(0,n.C)(c.getConfig(),o.pie),u=(null==(a=null==(l=document.getElementById(e))?void 0:l.parentElement)?void 0:a.offsetWidth)??h.useWidth,y=(0,n.A)(e);y.attr("viewBox",`0 0 ${u} 450`),(0,n.i)(y,450,u,h.useMaxWidth);const p=y.append("g");p.attr("transform","translate("+u/2+",225)");const{themeVariables:d}=o;let[g]=(0,n.D)(d.pieOuterStrokeWidth);g??(g=2);const f=h.textPosition,_=Math.min(u,450)/2-40,m=(0,s.Nb1)().innerRadius(0).outerRadius(_),k=(0,s.Nb1)().innerRadius(_*f).outerRadius(_*f);p.append("circle").attr("cx",0).attr("cy",0).attr("r",_+g/2).attr("class","pieOuterCircle");const b=c.getSections(),x=(t=>{const e=Object.entries(t).map((t=>({label:t[0],value:t[1]}))).sort(((t,e)=>e.value-t.value));return(0,s.ve8)().value((t=>t.value))(e)})(b),v=[d.pie1,d.pie2,d.pie3,d.pie4,d.pie5,d.pie6,d.pie7,d.pie8,d.pie9,d.pie10,d.pie11,d.pie12],S=(0,s.PKp)(v);p.selectAll("mySlices").data(x).enter().append("path").attr("d",m).attr("fill",(t=>S(t.data.label))).attr("class","pieCircle");let w=0;Object.keys(b).forEach((t=>{w+=b[t]})),p.selectAll("mySlices").data(x).enter().append("text").text((t=>(t.data.value/w*100).toFixed(0)+"%")).attr("transform",(t=>"translate("+k.centroid(t)+")")).style("text-anchor","middle").attr("class","slice"),p.append("text").text(c.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");const $=p.selectAll(".legend").data(S.domain()).enter().append("g").attr("class","legend").attr("transform",((t,e)=>"translate(216,"+(22*e-22*S.domain().length/2)+")"));$.append("rect").attr("width",18).attr("height",18).style("fill",S).style("stroke",S),$.data(x).append("text").attr("x",22).attr("y",14).text((t=>{const{label:e,value:i}=t.data;return c.getShowData()?`${e} [${i}]`:e}))}},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/docs/themes/hugo-geekdoc/static/js/990-52a18bdc.chunk.min.js b/docs/themes/hugo-geekdoc/static/js/990-52a18bdc.chunk.min.js new file mode 100644 index 00000000..6c6c40b9 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/990-52a18bdc.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[990],{2990:function(t,e,s){s.d(e,{D:function(){return l},S:function(){return c},a:function(){return h},b:function(){return a},c:function(){return o},d:function(){return B},p:function(){return r},s:function(){return P}});var i=s(8454),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],k=[1,28],T=[1,29],b=[1,32],E=[1,33],x=[1,34],C=[1,35],$=[1,31],D=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],v=[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:k,41:T,44:b,45:E,46:x,47:C,50:$},t(D,[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:k,41:T,44:b,45:E,46:x,47:C,50:$},t(D,[2,7]),t(D,[2,8]),t(D,[2,9]),t(D,[2,10]),t(D,[2,11],{13:[1,37],14:[1,38]}),t(D,[2,15]),{17:[1,39]},t(D,[2,17],{19:[1,40]}),{22:[1,41]},t(D,[2,21]),t(D,[2,22]),t(D,[2,23]),t(D,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(D,[2,27]),{33:[1,46]},{35:[1,47]},t(D,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(v,[2,40],{51:[1,51]}),t(v,[2,41],{51:[1,52]}),t(D,[2,34]),t(D,[2,35]),t(D,[2,36]),t(D,[2,37]),t(D,[2,6]),t(D,[2,12]),{12:53,23:u,50:$},t(D,[2,16]),t(A,n,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(D,[2,28]),t(D,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(D,[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:k,41:T,44:b,45:E,46:x,47:C,50:$},t(D,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(D,[2,31]),t(D,[2,32]),t(D,[2,33]),t(v,[2,42]),t(v,[2,43]),t(D,[2,14]),t(D,[2,18]),t(A,n,{7:68}),t(D,[2,25]),t(D,[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:k,41:T,44:b,45:E,46:x,47:C,50:$},t(D,[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,_,k,T,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(k=this.productions_[g[1]][1],x.$=i[i.length-k],x._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},y&&(x._$.range=[n[n.length-(k||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;k&&(e=e.slice(0,-1*k*2),i=i.slice(0,-1*k),n=n.slice(0,-1*k)),e.push(this.productions_[g[1]][0]),i.push(x.$),n.push(x._$),T=r[e[e.length-2]][e[e.length-1]],e.push(T);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:{}}},k=_.root,T=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.G)(),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===k.states[h]?(i.l.info("Adding state ",h,n),k.states[h]={id:h,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]}):(k.states[h].doc||(k.states[h].doc=s),k.states[h].type||(k.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&&(k.states[h].note=r,k.states[h].note.text=i.e.sanitizeText(k.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=>w(h,t.trim()))))},$=function(t){_={root:{relations:[],states:{},documents:{}}},k=_.root,T=0,S={},t||(0,i.t)()},D=function(t){return k.states[t]};function v(t=""){let e=t;return t===u&&(T++,e=`${d}${T}`),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=v(t.id.trim()),r=A(t.id.trim(),t.type),o=v(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),k.relations.push({id1:n,id2:o,relationTitle:i.e.sanitizeText(s,(0,i.c)())})}(t,e,s);else{const n=v(t.trim()),r=A(t),o=function(t=""){let e=t;return t===p&&(T++,e=`end${T}`),e}(e.trim()),a=function(t="",e=l){return t===p?"end":e}(e);C(n,r),C(o,a),k.relations.push({id1:n,id2:o,title:i.e.sanitizeText(s,(0,i.c)())})}},I=function(t,e){const s=k.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=D(t);if(void 0===s){const e=t.trim();C(e),s=D(e)}s.classes.push(e)}))},R=function(t,e){const s=D(t);void 0!==s&&s.textStyles.push(e)},w=function(t,e){const s=D(t);void 0!==s&&s.textStyles.push(e)},B={getConfig:()=>(0,i.c)().state,addState:C,clear:$,getState:D,getStates:function(){return k.states},getRelations:function(){return k.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.r},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/docs/themes/hugo-geekdoc/static/js/colortheme-d3e4d351.bundle.min.js b/docs/themes/hugo-geekdoc/static/js/colortheme-d3e4d351.bundle.min.js new file mode 100644 index 00000000..13198f66 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/colortheme-d3e4d351.bundle.min.js @@ -0,0 +1 @@ +!function(){var t={1860:function(t){var e,n,r,i;e=this,n=this&&this.define,r={version:"2.14.2",areas:{},apis:{},nsdelim:".",inherit:function(t,e){for(var n in t)e.hasOwnProperty(n)||Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e},stringify:function(t,e){return void 0===t||"function"==typeof t?t+"":JSON.stringify(t,e||r.replace)},parse:function(t,e){try{return JSON.parse(t,e||r.revive)}catch(e){return t}},fn:function(t,e){for(var n in r.storeAPI[t]=e,r.apis)r.apis[n][t]=e},get:function(t,e){return t.getItem(e)},set:function(t,e,n){t.setItem(e,n)},remove:function(t,e){t.removeItem(e)},key:function(t,e){return t.key(e)},length:function(t){return t.length},clear:function(t){t.clear()},Store:function(t,e,n){var i=r.inherit(r.storeAPI,(function(t,e,n){return 0===arguments.length?i.getAll():"function"==typeof e?i.transact(t,e,n):void 0!==e?i.set(t,e,n):"string"==typeof t||"number"==typeof t?i.get(t):"function"==typeof t?i.each(t):t?i.setAll(t,e):i.clear()}));i._id=t;try{var s="__store2_test";e.setItem(s,"ok"),i._area=e,e.removeItem(s)}catch(t){i._area=r.storage("fake")}return i._ns=n||"",r.areas[t]||(r.areas[t]=i._area),r.apis[i._ns+i._id]||(r.apis[i._ns+i._id]=i),i},storeAPI:{area:function(t,e){var n=this[t];return n&&n.area||(n=r.Store(t,e,this._ns),this[t]||(this[t]=n)),n},namespace:function(t,e,n){if(n=n||this._delim||r.nsdelim,!t)return this._ns?this._ns.substring(0,this._ns.length-n.length):"";var i=t,s=this[i];if(!(s&&s.namespace||((s=r.Store(this._id,this._area,this._ns+i+n))._delim=n,this[i]||(this[i]=s),e)))for(var o in r.areas)s.area(o,r.areas[o]);return s},isFake:function(t){return t?(this._real=this._area,this._area=r.storage("fake")):!1===t&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(t){return this._area.has?this._area.has(this._in(t)):!!(this._in(t)in this._area)},size:function(){return this.keys().length},each:function(t,e){for(var n=0,i=r.length(this._area);nr.length(this._area)&&(i--,n--)}return e||this},keys:function(t){return this.each((function(t,e,n){n.push(t)}),t||[])},get:function(t,e){var n,i=r.get(this._area,this._in(t));return"function"==typeof e&&(n=e,e=null),null!==i?r.parse(i,n):null!=e?e:i},getAll:function(t){return this.each((function(t,e,n){n[t]=e}),t||{})},transact:function(t,e,n){var r=this.get(t,n),i=e(r);return this.set(t,void 0===i?r:i),this},set:function(t,e,n){var i,s=this.get(t);return null!=s&&!1===n?e:("function"==typeof n&&(i=n,n=void 0),r.set(this._area,this._in(t),r.stringify(e,i),n)||s)},setAll:function(t,e){var n,r;for(var i in t)r=t[i],this.set(i,r,e)!==r&&(n=!0);return n},add:function(t,e,n){var i=this.get(t);if(i instanceof Array)e=i.concat(e);else if(null!==i){var s=typeof i;if(s===typeof e&&"object"===s){for(var o in e)i[o]=e[o];e=i}else e=i+e}return r.set(this._area,this._in(t),r.stringify(e,n)),e},remove:function(t,e){var n=this.get(t,e);return r.remove(this._area,this._in(t)),n},clear:function(){return this._ns?this.each((function(t){r.remove(this._area,this._in(t))}),1):r.clear(this._area),this},clearAll:function(){var t=this._area;for(var e in r.areas)r.areas.hasOwnProperty(e)&&(this._area=r.areas[e],this.clear());return this._area=t,this},_in:function(t){return"string"!=typeof t&&(t=r.stringify(t)),this._ns?this._ns+t:t},_out:function(t){return this._ns?t&&0===t.indexOf(this._ns)?t.substring(this._ns.length):void 0:t}},storage:function(t){return r.inherit(r.storageAPI,{items:{},name:t})},storageAPI:{length:0,has:function(t){return this.items.hasOwnProperty(t)},key:function(t){var e=0;for(var n in this.items)if(this.has(n)&&t===e++)return n},setItem:function(t,e){this.has(t)||this.length++,this.items[t]=e},removeItem:function(t){this.has(t)&&(delete this.items[t],this.length--)},getItem:function(t){return this.has(t)?this.items[t]:null},clear:function(){for(var t in this.items)this.removeItem(t)}}},(i=r.Store("local",function(){try{return localStorage}catch(t){}}())).local=i,i._=r,i.area("session",function(){try{return sessionStorage}catch(t){}}()),i.area("page",r.storage("page")),"function"==typeof n&&void 0!==n.amd?n("store2",[],(function(){return i})):t.exports?t.exports=i:(e.store&&(r.conflict=e.store),e.store=i)},6914:function(t,e,n){"use strict";n.r(e),n.d(e,{COLOR_THEME_AUTO:function(){return s},COLOR_THEME_DARK:function(){return r},COLOR_THEME_LIGHT:function(){return i},THEME:function(){return o},TOGGLE_COLOR_THEMES:function(){return a}});const r="dark",i="light",s="auto",o="hugo-geekdoc",a=[s,r,i]}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={exports:{}};return t[r].call(s.exports,s,s.exports,n),s.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){const t=n(1860),{TOGGLE_COLOR_THEMES:e,THEME:r,COLOR_THEME_AUTO:i}=n(6914);function s(n=!0){if(t.isFake())return;let s=t.namespace(r),o=document.documentElement,a=e.includes(s.get("color-theme"))?s.get("color-theme"):i;o.setAttribute("class","color-toggle-"+a),a===i?o.removeAttribute("color-theme"):o.setAttribute("color-theme",a),n||location.reload()}s(),document.addEventListener("DOMContentLoaded",(n=>{document.getElementById("gdoc-color-theme").onclick=function(){let n=t.namespace(r),o=n.get("color-theme")||i,a=function(t=[],e){let n=t.indexOf(e),r=0;return n{t(document.body)})).catch((t=>console.error(t)))}))},3491:function(t,e,o){t.exports=o.p+"fonts/KaTeX_AMS-Regular.woff"},5537:function(t,e,o){t.exports=o.p+"fonts/KaTeX_AMS-Regular.woff2"},282:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Bold.woff"},4842:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Bold.woff2"},1420:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Regular.woff"},5148:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Regular.woff2"},3873:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Bold.woff"},7925:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Bold.woff2"},7206:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Regular.woff"},1872:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Regular.woff2"},7888:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Bold.woff"},7823:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Bold.woff2"},6062:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-BoldItalic.woff"},8216:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-BoldItalic.woff2"},1411:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Italic.woff"},4968:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Italic.woff2"},9430:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Regular.woff"},556:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Regular.woff2"},2379:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-BoldItalic.woff"},7312:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-BoldItalic.woff2"},8212:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-Italic.woff"},621:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-Italic.woff2"},3958:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Bold.woff"},8516:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Bold.woff2"},208:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Italic.woff"},9471:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Italic.woff2"},9229:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Regular.woff"},4671:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Regular.woff2"},2629:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Script-Regular.woff"},9875:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Script-Regular.woff2"},8493:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size1-Regular.woff"},2986:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size1-Regular.woff2"},8398:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size2-Regular.woff"},4118:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size2-Regular.woff2"},498:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size3-Regular.woff"},8932:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size3-Regular.woff2"},8718:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size4-Regular.woff"},7633:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size4-Regular.woff2"},2422:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Typewriter-Regular.woff"},4313:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Typewriter-Regular.woff2"}},f={};function i(t){var e=f[t];if(void 0!==e)return e.exports;var o=f[t]={exports:{}};return r[t].call(o.exports,o,o.exports,i),o.exports}i.m=r,e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},i.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var r=Object.create(null);i.r(r);var f={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&o;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((function(t){f[t]=function(){return o[t]}}));return f.default=function(){return o},i.d(r,f),r},i.d=function(t,e){for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.f={},i.e=function(t){return Promise.all(Object.keys(i.f).reduce((function(e,o){return i.f[o](t,e),e}),[]))},i.u=function(t){return"js/"+t+"-831698f6.chunk.min.js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o={},n="geekdoc:",i.l=function(t,e,r,f){if(o[t])o[t].push(e);else{var a,u;if(void 0!==r)for(var c=document.getElementsByTagName("script"),s=0;s-1&&!t;)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t+"../"}(),function(){var t={793:0};i.f.j=function(e,o){var n=i.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{var r=new Promise((function(o,r){n=t[e]=[o,r]}));o.push(n[2]=r);var f=i.p+i.u(e),a=new Error;i.l(f,(function(o){if(i.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var r=o&&("load"===o.type?"missing":o.type),f=o&&o.target&&o.target.src;a.message="Loading chunk "+e+" failed.\n("+r+": "+f+")",a.name="ChunkLoadError",a.type=r,a.request=f,n[1](a)}}),"chunk-"+e,e)}};var e=function(e,o){var n,r,f=o[0],a=o[1],u=o[2],c=0;if(f.some((function(e){return 0!==t[e]}))){for(n in a)i.o(a,n)&&(i.m[n]=a[n]);u&&u(i)}for(e&&e(o);c1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=f(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=f(t.value,e):(n=a()(t),l("copy")),n};function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function h(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===y(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=i()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,r=t.target,c=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==p(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return c?d(c,{container:o}):r?"cut"===n?s(r):d(r,{container:o}):void 0}({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(o?"success":"error",{action:n,text:o,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){var e=m("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],o=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(t,e)}},{key:"cut",value:function(t){return s(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}],n&&h(e.prototype,n),o&&h(e,o),a}(r()),S=b},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var o=n(828);function r(t,e,n,o,r){var i=c.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}function c(t,e,n,r){return function(n){n.delegateTarget=o(n.target,e),n.delegateTarget&&r.call(t,n)}}t.exports=function(t,e,n,o,c){return"function"==typeof t.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return r(t,e,n,o,c)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var o=n(879),r=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!o.string(e))throw new TypeError("Second argument must be a String");if(!o.fn(n))throw new TypeError("Third argument must be a Function");if(o.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(o.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}(t,e,n);if(o.string(t))return function(t,e,n){return r(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o',e.setAttribute("data-clipboard-text",n),e.setAttribute("data-copy-feedback","Copied!"),e.setAttribute("role","button"),e.setAttribute("aria-label","Copy"),t.classList.add("gdoc-post__codecontainer"),t.insertBefore(e,t.firstChild)}}n.r(e),n.d(e,{createCopyButton:function(){return o}})}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var c=e[o]={exports:{}};return t[o].call(c.exports,c,c.exports,n),c.exports}n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){const{createCopyButton:t}=n(3243),e=n(2152);document.addEventListener("DOMContentLoaded",(function(n){new e(".clip").on("success",(function(t){const e=t.trigger;e.hasAttribute("data-copy-feedback")&&(e.classList.add("gdoc-post__codecopy--success","gdoc-post__codecopy--out"),e.querySelector(".gdoc-icon.copy").classList.add("hidden"),e.querySelector(".gdoc-icon.check").classList.remove("hidden"),setTimeout((function(){e.classList.remove("gdoc-post__codecopy--success","gdoc-post__codecopy--out"),e.querySelector(".gdoc-icon.copy").classList.remove("hidden"),e.querySelector(".gdoc-icon.check").classList.add("hidden")}),3e3)),t.clearSelection()})),document.querySelectorAll(".highlight").forEach((e=>t(e)))}))}()}(); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/main-924a1933.bundle.min.js.LICENSE.txt b/docs/themes/hugo-geekdoc/static/js/main-924a1933.bundle.min.js.LICENSE.txt new file mode 100644 index 00000000..5161813c --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/main-924a1933.bundle.min.js.LICENSE.txt @@ -0,0 +1,6 @@ +/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */ diff --git a/docs/themes/hugo-geekdoc/static/js/mermaid-19cc0b12.bundle.min.js b/docs/themes/hugo-geekdoc/static/js/mermaid-19cc0b12.bundle.min.js new file mode 100644 index 00000000..2450555b --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/mermaid-19cc0b12.bundle.min.js @@ -0,0 +1 @@ +!function(){var t,e,n={1860:function(t){!function(e,n){var r={version:"2.14.2",areas:{},apis:{},nsdelim:".",inherit:function(t,e){for(var n in t)e.hasOwnProperty(n)||Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e},stringify:function(t,e){return void 0===t||"function"==typeof t?t+"":JSON.stringify(t,e||r.replace)},parse:function(t,e){try{return JSON.parse(t,e||r.revive)}catch(e){return t}},fn:function(t,e){for(var n in r.storeAPI[t]=e,r.apis)r.apis[n][t]=e},get:function(t,e){return t.getItem(e)},set:function(t,e,n){t.setItem(e,n)},remove:function(t,e){t.removeItem(e)},key:function(t,e){return t.key(e)},length:function(t){return t.length},clear:function(t){t.clear()},Store:function(t,e,n){var i=r.inherit(r.storeAPI,(function(t,e,n){return 0===arguments.length?i.getAll():"function"==typeof e?i.transact(t,e,n):void 0!==e?i.set(t,e,n):"string"==typeof t||"number"==typeof t?i.get(t):"function"==typeof t?i.each(t):t?i.setAll(t,e):i.clear()}));i._id=t;try{var a="__store2_test";e.setItem(a,"ok"),i._area=e,e.removeItem(a)}catch(t){i._area=r.storage("fake")}return i._ns=n||"",r.areas[t]||(r.areas[t]=i._area),r.apis[i._ns+i._id]||(r.apis[i._ns+i._id]=i),i},storeAPI:{area:function(t,e){var n=this[t];return n&&n.area||(n=r.Store(t,e,this._ns),this[t]||(this[t]=n)),n},namespace:function(t,e,n){if(n=n||this._delim||r.nsdelim,!t)return this._ns?this._ns.substring(0,this._ns.length-n.length):"";var i=t,a=this[i];if(!(a&&a.namespace||((a=r.Store(this._id,this._area,this._ns+i+n))._delim=n,this[i]||(this[i]=a),e)))for(var o in r.areas)a.area(o,r.areas[o]);return a},isFake:function(t){return t?(this._real=this._area,this._area=r.storage("fake")):!1===t&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(t){return this._area.has?this._area.has(this._in(t)):!!(this._in(t)in this._area)},size:function(){return this.keys().length},each:function(t,e){for(var n=0,i=r.length(this._area);nr.length(this._area)&&(i--,n--)}return e||this},keys:function(t){return this.each((function(t,e,n){n.push(t)}),t||[])},get:function(t,e){var n,i=r.get(this._area,this._in(t));return"function"==typeof e&&(n=e,e=null),null!==i?r.parse(i,n):null!=e?e:i},getAll:function(t){return this.each((function(t,e,n){n[t]=e}),t||{})},transact:function(t,e,n){var r=this.get(t,n),i=e(r);return this.set(t,void 0===i?r:i),this},set:function(t,e,n){var i,a=this.get(t);return null!=a&&!1===n?e:("function"==typeof n&&(i=n,n=void 0),r.set(this._area,this._in(t),r.stringify(e,i),n)||a)},setAll:function(t,e){var n,r;for(var i in t)r=t[i],this.set(i,r,e)!==r&&(n=!0);return n},add:function(t,e,n){var i=this.get(t);if(i instanceof Array)e=i.concat(e);else if(null!==i){var a=typeof i;if(a===typeof e&&"object"===a){for(var o in e)i[o]=e[o];e=i}else e=i+e}return r.set(this._area,this._in(t),r.stringify(e,n)),e},remove:function(t,e){var n=this.get(t,e);return r.remove(this._area,this._in(t)),n},clear:function(){return this._ns?this.each((function(t){r.remove(this._area,this._in(t))}),1):r.clear(this._area),this},clearAll:function(){var t=this._area;for(var e in r.areas)r.areas.hasOwnProperty(e)&&(this._area=r.areas[e],this.clear());return this._area=t,this},_in:function(t){return"string"!=typeof t&&(t=r.stringify(t)),this._ns?this._ns+t:t},_out:function(t){return this._ns?t&&0===t.indexOf(this._ns)?t.substring(this._ns.length):void 0:t}},storage:function(t){return r.inherit(r.storageAPI,{items:{},name:t})},storageAPI:{length:0,has:function(t){return this.items.hasOwnProperty(t)},key:function(t){var e=0;for(var n in this.items)if(this.has(n)&&t===e++)return n},setItem:function(t,e){this.has(t)||this.length++,this.items[t]=e},removeItem:function(t){this.has(t)&&(delete this.items[t],this.length--)},getItem:function(t){return this.has(t)?this.items[t]:null},clear:function(){for(var t in this.items)this.removeItem(t)}}},i=r.Store("local",function(){try{return localStorage}catch(t){}}());i.local=i,i._=r,i.area("session",function(){try{return sessionStorage}catch(t){}}()),i.area("page",r.storage("page")),"function"==typeof n&&void 0!==n.amd?n("store2",[],(function(){return i})):t.exports?t.exports=i:(e.store&&(r.conflict=e.store),e.store=i)}(this,this&&this.define)},6914:function(t,e,n){"use strict";n.r(e),n.d(e,{COLOR_THEME_AUTO:function(){return a},COLOR_THEME_DARK:function(){return r},COLOR_THEME_LIGHT:function(){return i},THEME:function(){return o},TOGGLE_COLOR_THEMES:function(){return s}});const r="dark",i="light",a="auto",o="hugo-geekdoc",s=[a,r,i]}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={exports:{}};return n[t].call(a.exports,a,a.exports,i),a.exports}i.m=n,i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.f={},i.e=function(t){return Promise.all(Object.keys(i.f).reduce((function(e,n){return i.f[n](t,e),e}),[]))},i.u=function(t){return"js/"+t+"-"+{27:"3c59de1a",31:"228682ad",68:"408c048c",69:"06c8b62f",86:"841830e3",206:"99fce408",254:"84661edf",281:"18063325",284:"e80fd0b5",305:"02bced6e",320:"1804d5a1",366:"23e20231",411:"d351386b",425:"a8288851",554:"980b1ae9",580:"fabed2ac",626:"ec18a767",637:"687440a7",644:"a3e6d7ca",693:"2124948a",764:"e8ff889e",770:"c8f14079",771:"942a62df",791:"515d9e3a",841:"54550e4a",869:"1a62f06a",875:"0cc44212",990:"52a18bdc"}[t]+".chunk.min.js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t={},e="geekdoc:",i.l=function(n,r,a,o){if(t[n])t[n].push(r);else{var s,c;if(void 0!==a)for(var u=document.getElementsByTagName("script"),f=0;f-1&&!t;)t=n[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t+"../"}(),function(){var t={552:0};i.f.j=function(e,n){var r=i.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,i){r=t[e]=[n,i]}));n.push(r[2]=a);var o=i.p+i.u(e),s=new Error;i.l(o,(function(n){if(i.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,r[1](s)}}),"chunk-"+e,e)}};var e=function(e,n){var r,a,o=n[0],s=n[1],c=n[2],u=0;if(o.some((function(e){return 0!==t[e]}))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);c&&c(i)}for(e&&e(n);u{t.initialize({flowchart:{useMaxWidth:!0},theme:u,themeVariables:{darkMode:c}})})).catch((t=>console.error(t)))}))}()}(); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/search-9719be99.bundle.min.js b/docs/themes/hugo-geekdoc/static/js/search-9719be99.bundle.min.js new file mode 100644 index 00000000..43fd84df --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/search-9719be99.bundle.min.js @@ -0,0 +1,2 @@ +/*! For license information please see search-9719be99.bundle.min.js.LICENSE.txt */ +!function(){var t={3129:function(){!function(t){"use strict";var e;function n(t){return void 0===t||t}function r(t){const e=Array(t);for(let n=0;n=r))));l++);if(n)return i?A(c,r,0):void(e[e.length]=c)}return!n&&c}function A(t,e,n){return t=1===t.length?t[0]:[].concat.apply([],t),n||t.length>e?t.slice(n,n+e):t}function z(t,e,n,r){return t=n?(t=t[(r=r&&e>n)?e:n])&&t[r?n:e]:t[e]}function I(t,e,n,r,o){let i=0;if(t.constructor===Array)if(o)-1!==(e=t.indexOf(e))?1e||n)&&(o=o.slice(n,n+e)),r&&(o=F.call(this,o)),{tag:t,result:o}}function F(t){const e=Array(t.length);for(let n,r=0;r=this.m&&(l||!d[v])){var a=j(h,r,p),s="";switch(this.C){case"full":if(2a;c--)if(c-a>=this.m){var u=j(h,r,p,i,a);L(this,d,s=v.substring(a,c),u,t,n)}break}case"reverse":if(1=this.m&&L(this,d,s,j(h,r,p,i,c),t,n);s=""}case"forward":if(1=this.m&&L(this,d,s,a,t,n);break}default:if(this.F&&(a=Math.min(a/this.F(e,v,p)|0,h-1)),L(this,d,v,a,t,n),l&&1=this.m&&!i[v]){i[v]=1;const e=this.h&&v>a;L(this,f,e?a:v,j(s+(r/2>s?0:1),r,p,c-1,u-1),t,n,e?v:a)}}}}this.D||(this.register[t]=1)}}return this},e.search=function(t,e,n){n||(!e&&s(t)?t=(n=t).query:s(e)&&(n=e));let r,a,c,u=[],f=0;if(n){t=n.query||t,e=n.limit,f=n.offset||0;var d=n.context;a=n.suggest}if(t&&(r=(t=this.encode(""+t)).length,1=this.m&&!n[e]){if(!(this.s||a||this.map[e]))return u;l[i++]=e,n[e]=1}r=(t=l).length}if(!r)return u;e||(e=100),n=0,(d=this.depth&&1o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r=o?t:r(t,e,n)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},5189:function(t,e,n){var r=n(4174),o=n(1119),i=n(1243),a=n(1469);t.exports=function(t,e){return function(n,s){var c=a(n)?r:o,u=e?e():{};return c(n,t,i(s,2),u)}}},9291:function(t,e,n){var r=n(8612);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var i=n.length,a=e?i:-1,s=Object(n);(e?a--:++af))return!1;var l=c.get(t),h=c.get(e);if(l&&h)return l==e&&h==t;var p=-1,v=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++p-1&&t%1==0&&t-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},2634:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},4523:function(t,e,n){var r=n(8306);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},8016:function(t,e,n){var r=n(8983),o=n(2689),i=n(1903);t.exports=function(t){return o(t)?i(t):r(t)}},3140:function(t,e,n){var r=n(4286),o=n(2689),i=n(676);t.exports=function(t){return o(t)?i(t):r(t)}},5514:function(t,e,n){var r=n(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},327:function(t,e,n){var r=n(3448);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},1903:function(t){var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",f=u+c+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+u+c+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",l=RegExp(o+"(?="+o+")|"+d+f,"g");t.exports=function(t){for(var e=l.lastIndex=0;l.test(t);)++e;return e}},676:function(t){var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",f=u+c+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+u+c+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",l=RegExp(o+"(?="+o+")|"+d+f,"g");t.exports=function(t){return t.match(l)||[]}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:function(t,e,n){var r=n(7786);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},7739:function(t,e,n){var r=n(9465),o=n(5189),i=Object.prototype.hasOwnProperty,a=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},9095:function(t,e,n){var r=n(13),o=n(222);t.exports=function(t,e){return null!=t&&o(t,e,r)}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;t.exports=c},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},6347:function(t,e,n){var r=n(3933),o=n(7518),i=n(1167),a=i&&i.isRegExp,s=a?o(a):r;t.exports=s},3448:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},6719:function(t,e,n){var r=n(8749),o=n(7518),i=n(1167),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},8306:function(t,e,n){var r=n(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},9601:function(t,e,n){var r=n(371),o=n(9152),i=n(5403),a=n(327);t.exports=function(t){return i(t)?r(a(t)):o(t)}},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},8601:function(t,e,n){var r=n(4841);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},554:function(t,e,n){var r=n(8601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},4841:function(t,e,n){var r=n(7561),o=n(3218),i=n(3448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?NaN:+t}},9833:function(t,e,n){var r=n(531);t.exports=function(t){return null==t?"":r(t)}},9138:function(t,e,n){var r=n(531),o=n(180),i=n(2689),a=n(3218),s=n(6347),c=n(8016),u=n(3140),f=n(554),d=n(9833),l=/\w*$/;t.exports=function(t,e){var n=30,h="...";if(a(e)){var p="separator"in e?e.separator:p;n="length"in e?f(e.length):n,h="omission"in e?r(e.omission):h}var v=(t=d(t)).length;if(i(t)){var y=u(t);v=y.length}if(n>=v)return t;var m=n-c(h);if(m<1)return h;var g=y?o(y,0,m).join(""):t.slice(0,m);if(void 0===p)return g+h;if(y&&(m+=g.length-m),s(p)){if(t.slice(m).search(p)){var x,$=g;for(p.global||(p=RegExp(p.source,d(l.exec(p))+"g")),p.lastIndex=0;x=p.exec($);)var b=x.index;g=g.slice(0,void 0===b?m:b)}}else if(t.indexOf(r(p),m)!=m){var _=g.lastIndexOf(p);_>-1&&(g=g.slice(0,_))}return g+h}},9707:function(t,e,n){"use strict";function r(t,e){const n=typeof t;if(n!==typeof e)return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o1?e[i.href]=t:(i.hash="",""===r?n=i:d(t,e,n))}}else if(!0!==t&&!1!==t)return e;const i=n.href+(r?"#"+r:"");if(void 0!==e[i])throw new Error(`Duplicate schema URI "${i}".`);if(e[i]=t,!0===t||!1===t)return e;if(void 0===t.__absolute_uri__&&Object.defineProperty(t,"__absolute_uri__",{enumerable:!1,value:i}),t.$ref&&void 0===t.__absolute_ref__){const e=new URL(t.$ref,n.href);e.hash=e.hash,Object.defineProperty(t,"__absolute_ref__",{enumerable:!1,value:e.href})}if(t.$recursiveRef&&void 0===t.__absolute_recursive_ref__){const e=new URL(t.$recursiveRef,n.href);e.hash=e.hash,Object.defineProperty(t,"__absolute_recursive_ref__",{enumerable:!1,value:e.href})}t.$anchor&&(e[new URL("#"+t.$anchor,n.href).href]=t);for(let i in t){if(u[i])continue;const a=`${r}/${o(i)}`,f=t[i];if(Array.isArray(f)){if(s[i]){const t=f.length;for(let r=0;rt.length>1&&t.length<80&&(/^P\d+([.,]\d+)?W$/.test(t)||/^P[\dYMDTHS]*(\d[.,]\d+)?[YMDHS]$/.test(t)&&/^P([.,\d]+Y)?([.,\d]+M)?([.,\d]+D)?(T([.,\d]+H)?([.,\d]+M)?([.,\d]+S)?)?$/.test(t)),uri:function(t){return b.test(t)&&_.test(t)},"uri-reference":v(/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i),"uri-template":v(/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i),url:v(/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)(?:\.(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu),email:t=>{if('"'===t[0])return!1;const[e,n,...r]=t.split("@");return!(!e||!n||0!==r.length||e.length>64||n.length>253)&&"."!==e[0]&&!e.endsWith(".")&&!e.includes("..")&&!(!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(e))&&n.split(".").every((t=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(t)))},hostname:v(/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i),ipv4:v(/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/),ipv6:v(/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i),regex:function(t){if(w.test(t))return!1;try{return new RegExp(t),!0}catch(t){return!1}},uuid:v(/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i),"json-pointer":v(/^(?:\/(?:[^~/]|~0|~1)*)*$/),"json-pointer-uri-fragment":v(/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i),"relative-json-pointer":v(/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/)},m={...y,date:v(/^\d\d\d\d-[0-1]\d-[0-3]\d$/),time:v(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i),"date-time":v(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i),"uri-reference":v(/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i)};function g(t){const e=t.match(l);if(!e)return!1;const n=+e[1],r=+e[2],o=+e[3];return r>=1&&r<=12&&o>=1&&o<=(2==r&&function(t){return t%4==0&&(t%100!=0||t%400==0)}(n)?29:h[r])}function x(t,e){const n=e.match(p);if(!n)return!1;const r=+n[1],o=+n[2],i=+n[3],a=!!n[5];return(r<=23&&o<=59&&i<=59||23==r&&59==o&&60==i)&&(!t||a)}const $=/t|\s/i,b=/\/|:/,_=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,w=/[^\\]\\Z/;function k(t){let e,n=0,r=t.length,o=0;for(;o=55296&&e<=56319&&or(t,e)))||ct.push({instanceLocation:c,keyword:"enum",keywordLocation:`${u}/enum`,error:`Instance does not match any of ${JSON.stringify($)}.`}):$.some((e=>t===e))||ct.push({instanceLocation:c,keyword:"enum",keywordLocation:`${u}/enum`,error:`Instance does not match any of ${JSON.stringify($)}.`})),void 0!==_){const e=`${u}/not`;j(t,_,n,i,a,s,c,e).valid&&ct.push({instanceLocation:c,keyword:"not",keywordLocation:e,error:'Instance matched "not" schema.'})}let ut=[];if(void 0!==w){const e=`${u}/anyOf`,r=ct.length;let o=!1;for(let r=0;r{const u=Object.create(f),d=j(t,r,n,i,a,!0===y?s:null,c,`${e}/${o}`,u);return ct.push(...d.errors),d.valid&&ut.push(u),d.valid})).length;1===o?ct.length=r:ct.splice(r,0,{instanceLocation:c,keyword:"oneOf",keywordLocation:e,error:`Instance does not match exactly one subschema (${o} matches).`})}if("object"!==h&&"array"!==h||Object.assign(f,...ut),void 0!==A){const e=`${u}/if`;if(j(t,A,n,i,a,s,c,e,f).valid){if(void 0!==z){const r=j(t,z,n,i,a,s,c,`${u}/then`,f);r.valid||ct.push({instanceLocation:c,keyword:"if",keywordLocation:e,error:'Instance does not match "then" schema.'},...r.errors)}}else if(void 0!==I){const r=j(t,I,n,i,a,s,c,`${u}/else`,f);r.valid||ct.push({instanceLocation:c,keyword:"if",keywordLocation:e,error:'Instance does not match "else" schema.'},...r.errors)}}if("object"===h){if(void 0!==b)for(const e of b)e in t||ct.push({instanceLocation:c,keyword:"required",keywordLocation:`${u}/required`,error:`Instance does not have required property "${e}".`});const e=Object.keys(t);if(void 0!==M&&e.lengthF&&ct.push({instanceLocation:c,keyword:"maxProperties",keywordLocation:`${u}/maxProperties`,error:`Instance does not have at least ${F} properties.`}),void 0!==D){const e=`${u}/propertyNames`;for(const r in t){const t=`${c}/${o(r)}`,u=j(r,D,n,i,a,s,t,e);u.valid||ct.push({instanceLocation:c,keyword:"propertyNames",keywordLocation:e,error:`Property name "${r}" does not match schema.`},...u.errors)}}if(void 0!==q){const e=`${u}/dependantRequired`;for(const n in q)if(n in t){const r=q[n];for(const o of r)o in t||ct.push({instanceLocation:c,keyword:"dependentRequired",keywordLocation:e,error:`Instance has "${n}" but does not have "${o}".`})}}if(void 0!==N)for(const e in N){const r=`${u}/dependentSchemas`;if(e in t){const u=j(t,N[e],n,i,a,s,c,`${r}/${o(e)}`,f);u.valid||ct.push({instanceLocation:c,keyword:"dependentSchemas",keywordLocation:r,error:`Instance has "${e}" but does not match dependant schema.`},...u.errors)}}if(void 0!==T){const e=`${u}/dependencies`;for(const r in T)if(r in t){const u=T[r];if(Array.isArray(u))for(const n of u)n in t||ct.push({instanceLocation:c,keyword:"dependencies",keywordLocation:e,error:`Instance has "${r}" but does not have "${n}".`});else{const f=j(t,u,n,i,a,s,c,`${e}/${o(r)}`);f.valid||ct.push({instanceLocation:c,keyword:"dependencies",keywordLocation:e,error:`Instance has "${r}" but does not match dependant schema.`},...f.errors)}}}const r=Object.create(null);let d=!1;if(void 0!==E){const e=`${u}/properties`;for(const u in E){if(!(u in t))continue;const l=`${c}/${o(u)}`,h=j(t[u],E[u],n,i,a,s,l,`${e}/${o(u)}`);if(h.valid)f[u]=r[u]=!0;else if(d=a,ct.push({instanceLocation:c,keyword:"properties",keywordLocation:e,error:`Property "${u}" does not match schema.`},...h.errors),d)break}}if(!d&&void 0!==S){const e=`${u}/patternProperties`;for(const u in S){const l=new RegExp(u),h=S[u];for(const p in t){if(!l.test(p))continue;const v=`${c}/${o(p)}`,y=j(t[p],h,n,i,a,s,v,`${e}/${o(u)}`);y.valid?f[p]=r[p]=!0:(d=a,ct.push({instanceLocation:c,keyword:"patternProperties",keywordLocation:e,error:`Property "${p}" matches pattern "${u}" but does not match associated schema.`},...y.errors))}}}if(d||void 0===C){if(!d&&void 0!==R){const e=`${u}/unevaluatedProperties`;for(const r in t)if(!f[r]){const u=`${c}/${o(r)}`,d=j(t[r],R,n,i,a,s,u,e);d.valid?f[r]=!0:ct.push({instanceLocation:c,keyword:"unevaluatedProperties",keywordLocation:e,error:`Property "${r}" does not match unevaluated properties schema.`},...d.errors)}}}else{const e=`${u}/additionalProperties`;for(const u in t){if(r[u])continue;const l=`${c}/${o(u)}`,h=j(t[u],C,n,i,a,s,l,e);h.valid?f[u]=!0:(d=a,ct.push({instanceLocation:c,keyword:"additionalProperties",keywordLocation:e,error:`Property "${u}" does not match additional properties schema.`},...h.errors))}}}else if("array"===h){void 0!==Y&&t.length>Y&&ct.push({instanceLocation:c,keyword:"maxItems",keywordLocation:`${u}/maxItems`,error:`Array has too many items (${t.length} > ${Y}).`}),void 0!==K&&t.length=(J||0)&&(ct.length=o),void 0===J&&void 0===W&&0===d?ct.splice(o,0,{instanceLocation:c,keyword:"contains",keywordLocation:r,error:"Array does not contain item matching schema."}):void 0!==J&&dW&&ct.push({instanceLocation:c,keyword:"maxContains",keywordLocation:`${u}/maxContains`,error:`Array may contain at most ${W} items matching schema. ${d} items were found.`})}if(!d&&void 0!==G){const r=`${u}/unevaluatedItems`;for(;o=Q||t>Q)&&ct.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${u}/maximum`,error:`${t} is greater than ${et?"or equal to ":""} ${Q}.`})):(void 0!==Z&&tQ&&ct.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${u}/maximum`,error:`${t} is greater than ${Q}.`}),void 0!==tt&&t<=tt&&ct.push({instanceLocation:c,keyword:"exclusiveMinimum",keywordLocation:`${u}/exclusiveMinimum`,error:`${t} is less than ${tt}.`}),void 0!==et&&t>=et&&ct.push({instanceLocation:c,keyword:"exclusiveMaximum",keywordLocation:`${u}/exclusiveMaximum`,error:`${t} is greater than or equal to ${et}.`})),void 0!==nt){const e=t%nt;Math.abs(0-e)>=1.1920929e-7&&Math.abs(nt-e)>=1.1920929e-7&&ct.push({instanceLocation:c,keyword:"multipleOf",keywordLocation:`${u}/multipleOf`,error:`${t} is not a multiple of ${nt}.`})}}else if("string"===h){const e=void 0===rt&&void 0===ot?0:k(t);void 0!==rt&&eot&&ct.push({instanceLocation:c,keyword:"maxLength",keywordLocation:`${u}/maxLength`,error:`String is too long (${e} > ${ot}).`}),void 0===it||new RegExp(it).test(t)||ct.push({instanceLocation:c,keyword:"pattern",keywordLocation:`${u}/pattern`,error:"String does not match pattern."}),void 0!==P&&m[P]&&!m[P](t)&&ct.push({instanceLocation:c,keyword:"format",keywordLocation:`${u}/format`,error:`String does not match format "${P}".`})}return{valid:0===ct.length,errors:ct}}class L{constructor(t,e="2019-09",n=!0){this.schema=t,this.draft=e,this.shortCircuit=n,this.lookup=d(t)}validate(t){return j(t,this.schema,this.draft,this.lookup,this.shortCircuit)}addSchema(t,e){e&&(t={...t,$id:e}),d(t,this.lookup)}}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},function(){const t=n(7739),e=n(9138),{FlexSearch:r}=n(3129),{Validator:o}=n(9707);function i(t,e){t.removeEventListener("focus",i);const n=e.indexConfig?e.indexConfig:{tokenize:"forward"},o=e.dataFile;n.document={key:"id",index:["title","content","description"],store:["title","href","parent","description"]};const a=new r.Document(n);window.geekdocSearchIndex=a,c(o,(function(t){t.forEach((t=>{window.geekdocSearchIndex.add(t)}))}))}function a(t,n,r){const o=[];for(const i of t){const t=document.createElement("li"),a=t.appendChild(document.createElement("a")),s=a.appendChild(document.createElement("span"));if(a.href=i.href,s.classList.add("gdoc-search__entry--title"),s.textContent=i.title,a.classList.add("gdoc-search__entry"),!0===r){const t=a.appendChild(document.createElement("span"));t.classList.add("gdoc-search__entry--description"),t.textContent=e(i.description,{length:55,separator:" "})}n?n.appendChild(t):o.push(t)}return o}function s(t){if(!t.ok)throw Error("Failed to fetch '"+t.url+"': "+t.statusText);return t}function c(t,e){fetch(t).then(s).then((t=>t.json())).then((t=>e(t))).catch((function(t){t instanceof AggregateError?(console.error(t.message),t.errors.forEach((t=>{console.error(t)}))):console.error(t)}))}document.addEventListener("DOMContentLoaded",(function(e){const n=document.querySelector("#gdoc-search-input"),r=document.querySelector("#gdoc-search-results"),s=(u=n?n.dataset.siteBaseUrl:"",(f=document.createElement("a")).href=u,f.pathname);var u,f;const d=n?n.dataset.siteLang:"",l=new o({type:"object",properties:{dataFile:{type:"string"},indexConfig:{type:["object","null"]},showParent:{type:"boolean"},showDescription:{type:"boolean"}},additionalProperties:!1});var h,p;n&&c((h=s,(p="/search/"+d+".config.min.json")?h.replace(/\/+$/,"")+"/"+p.replace(/^\/+/,""):h),(function(e){const o=l.validate(e);if(!o.valid)throw AggregateError(o.errors.map((t=>new Error("Validation error: "+t.error))),"Schema validation failed");n&&(n.addEventListener("focus",(()=>{i(n,e)})),n.addEventListener("keyup",(()=>{!function(e,n,r){for(;n.firstChild;)n.removeChild(n.firstChild);if(!e.value)return n.classList.remove("has-hits");let o=function(t){const e=[],n=new Map;for(const r of t)for(const t of r.result)n.has(t.doc.href)||(n.set(t.doc.href,!0),e.push(t.doc));return e}(window.geekdocSearchIndex.search(e.value,{enrich:!0,limit:5}));if(o.length<1)return n.classList.remove("has-hits");n.classList.add("has-hits"),!0===r.showParent&&(o=t(o,(t=>t.parent)));const i=[];if(!0===r.showParent)for(const t in o){const e=document.createElement("li"),n=e.appendChild(document.createElement("span")),s=e.appendChild(document.createElement("ul"));t||n.remove(),n.classList.add("gdoc-search__section"),n.textContent=t,a(o[t],s,r.showDescription),i.push(e)}else{const t=document.createElement("li"),e=t.appendChild(document.createElement("span")),n=t.appendChild(document.createElement("ul"));e.textContent="Results",a(o,n,r.showDescription),i.push(t)}i.forEach((t=>{n.appendChild(t)}))}(n,r,e)})))}))}))}()}(); \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/js/search-9719be99.bundle.min.js.LICENSE.txt b/docs/themes/hugo-geekdoc/static/js/search-9719be99.bundle.min.js.LICENSE.txt new file mode 100644 index 00000000..1c041611 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/js/search-9719be99.bundle.min.js.LICENSE.txt @@ -0,0 +1,7 @@ +/**! + * FlexSearch.js v0.7.31 (Compact) + * Copyright 2018-2022 Nextapps GmbH + * Author: Thomas Wilkerling + * Licence: Apache-2.0 + * https://github.com/nextapps-de/flexsearch + */ diff --git a/docs/themes/hugo-geekdoc/static/katex-1799419e.min.css b/docs/themes/hugo-geekdoc/static/katex-1799419e.min.css new file mode 100644 index 00000000..bc379957 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/katex-1799419e.min.css @@ -0,0 +1 @@ +@font-face{font-family:"KaTeX_AMS";src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Caligraphic";src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_Caligraphic";src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Fraktur";src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_Fraktur";src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:bold;font-style:italic}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype");font-weight:normal;font-style:italic}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Math";src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:bold;font-style:italic}@font-face{font-family:"KaTeX_Math";src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype");font-weight:normal;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:normal;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Script";src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size1";src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size2";src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size3";src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size4";src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Typewriter";src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none !important}.katex *{border-color:currentColor}.katex .katex-version::after{content:"0.16.9"}.katex .katex-mathml{position:absolute;clip:rect(1px, 1px, 1px, 1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:bold}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:bold}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:bold;font-style:italic}.katex .amsrm{font-family:KaTeX_AMS}.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:bold}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:bold}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-0.55555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.83333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.16666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.66666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.45666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.71428571em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.85714286em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.14285714em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.55555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.66666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.77777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.88888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.11111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.30444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.41666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.58333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.66666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.83333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.72833333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.34722222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.41666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.48611111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.55555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.69444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.83333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.44027778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.28935185em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.34722222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.40509259em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.46296296em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.52083333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.69444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.83333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.20023148em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.24108004em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.28929605em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.33751205em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.38572806em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.43394407em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.48216008em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.57859209em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.69431051em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.83317261em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.19961427em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.20096463em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.24115756em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.28135048em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.32154341em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.36173633em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.40192926em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.48231511em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.57877814em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.69453376em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.83360129em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter{position:relative}.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy::before,.katex .stretchy::after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-0.2em;margin-right:-0.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num::before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num::before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo} \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/main-252d384c.min.css b/docs/themes/hugo-geekdoc/static/main-252d384c.min.css new file mode 100644 index 00000000..67aaa204 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/main-252d384c.min.css @@ -0,0 +1 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0;line-height:1.2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.flex{display:flex}.flex-auto{flex:1 1 auto}.flex-25{flex:1 1 25%}.flex-inline{display:inline-flex}.flex-even{flex:1 1}.flex-wrap{flex-wrap:wrap}.flex-grid{flex-direction:column;border:1px solid var(--accent-color);border-radius:.15rem;background:var(--accent-color-lite)}.flex-gap{flex-wrap:wrap;gap:1rem}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.text-center{text-align:center}.text-right{text-align:right}.no-wrap{white-space:nowrap}.hidden{display:none !important}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.table-wrap{overflow:auto;margin:1rem 0}.table-wrap>table{margin:0 !important}.badge-placeholder{display:inline-block;min-width:4rem}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans-Bold.woff2") format("woff2"),url("fonts/LiberationSans-Bold.woff") format("woff");font-weight:bold;font-style:normal;font-display:swap}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans-BoldItalic.woff2") format("woff2"),url("fonts/LiberationSans-BoldItalic.woff") format("woff");font-weight:bold;font-style:italic;font-display:swap}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans-Italic.woff2") format("woff2"),url("fonts/LiberationSans-Italic.woff") format("woff");font-weight:normal;font-style:italic;font-display:swap}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans.woff2") format("woff2"),url("fonts/LiberationSans.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:"Liberation Mono";src:url("fonts/LiberationMono.woff2") format("woff2"),url("fonts/LiberationMono.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:"Metropolis";src:url("fonts/Metropolis.woff2") format("woff2"),url("fonts/Metropolis.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:"GeekdocIcons";src:url("fonts/GeekdocIcons.woff2") format("woff2"),url("fonts/GeekdocIcons.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}body{font-family:"Liberation Sans",sans-serif}code,.gdoc-error__title{font-family:"Liberation Mono",monospace}.gdoc-header{font-family:"Metropolis",sans-serif}:root,:root[color-theme=light]{--code-max-height: none;--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: white;--body-font-color: rgb(52, 58, 64);--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(10, 83, 154);--link-color-visited: rgb(119, 73, 191);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: rgb(206, 212, 218);--accent-color: rgb(233, 236, 239);--accent-color-lite: rgb(248, 249, 250);--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: rgb(248, 249, 250);--code-accent-color: #e6eaed;--code-accent-color-lite: #f2f4f6;--code-font-color: rgb(70, 70, 70);--code-copy-background: rgb(248, 249, 250);--code-copy-font-color: #6c6c6c;--code-copy-border-color: #797979;--code-copy-success-color: rgb(0, 200, 83)}:root .dark-mode-dim .gdoc-markdown img,:root[color-theme=light] .dark-mode-dim .gdoc-markdown img{filter:none}:root .gdoc-markdown .gdoc-hint,:root .gdoc-markdown .gdoc-props__tag,:root .gdoc-markdown .admonitionblock,:root[color-theme=light] .gdoc-markdown .gdoc-hint,:root[color-theme=light] .gdoc-markdown .gdoc-props__tag,:root[color-theme=light] .gdoc-markdown .admonitionblock{filter:none}:root .gdoc-markdown .gdoc-hint__title,:root .gdoc-markdown .admonitionblock table td:first-child,:root[color-theme=light] .gdoc-markdown .gdoc-hint__title,:root[color-theme=light] .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.05)}:root .chroma,:root[color-theme=light] .chroma{color:var(--code-font-color)}:root .chroma .lntable td:nth-child(2) code .hl,:root[color-theme=light] .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root .highlight pre.chroma,:root[color-theme=light] .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root .chroma .lntable,:root[color-theme=light] .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root .chroma .lntable pre.chroma,:root[color-theme=light] .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root .chroma .lntable td:first-child code,:root[color-theme=light] .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root .chroma .lntable td:nth-child(2),:root[color-theme=light] .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root .chroma .x,:root[color-theme=light] .chroma .x{color:inherit}:root .chroma .err,:root[color-theme=light] .chroma .err{color:#a61717;background-color:#e3d2d2}:root .chroma .lntd,:root[color-theme=light] .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root .chroma .hl,:root[color-theme=light] .chroma .hl{display:block;width:100%;background-color:#ffc}:root .chroma .lnt,:root[color-theme=light] .chroma .lnt{padding:0 .8em}:root .chroma .ln,:root[color-theme=light] .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em}:root .chroma .k,:root[color-theme=light] .chroma .k{color:#000;font-weight:bold}:root .chroma .kc,:root[color-theme=light] .chroma .kc{color:#000;font-weight:bold}:root .chroma .kd,:root[color-theme=light] .chroma .kd{color:#000;font-weight:bold}:root .chroma .kn,:root[color-theme=light] .chroma .kn{color:#000;font-weight:bold}:root .chroma .kp,:root[color-theme=light] .chroma .kp{color:#000;font-weight:bold}:root .chroma .kr,:root[color-theme=light] .chroma .kr{color:#000;font-weight:bold}:root .chroma .kt,:root[color-theme=light] .chroma .kt{color:#458;font-weight:bold}:root .chroma .n,:root[color-theme=light] .chroma .n{color:inherit}:root .chroma .na,:root[color-theme=light] .chroma .na{color:#006767}:root .chroma .nb,:root[color-theme=light] .chroma .nb{color:#556165}:root .chroma .bp,:root[color-theme=light] .chroma .bp{color:#676767}:root .chroma .nc,:root[color-theme=light] .chroma .nc{color:#458;font-weight:bold}:root .chroma .no,:root[color-theme=light] .chroma .no{color:#006767}:root .chroma .nd,:root[color-theme=light] .chroma .nd{color:#3c5d5d;font-weight:bold}:root .chroma .ni,:root[color-theme=light] .chroma .ni{color:purple}:root .chroma .ne,:root[color-theme=light] .chroma .ne{color:#900;font-weight:bold}:root .chroma .nf,:root[color-theme=light] .chroma .nf{color:#900;font-weight:bold}:root .chroma .fm,:root[color-theme=light] .chroma .fm{color:inherit}:root .chroma .nl,:root[color-theme=light] .chroma .nl{color:#900;font-weight:bold}:root .chroma .nn,:root[color-theme=light] .chroma .nn{color:#555}:root .chroma .nx,:root[color-theme=light] .chroma .nx{color:inherit}:root .chroma .py,:root[color-theme=light] .chroma .py{color:inherit}:root .chroma .nt,:root[color-theme=light] .chroma .nt{color:navy}:root .chroma .nv,:root[color-theme=light] .chroma .nv{color:#006767}:root .chroma .vc,:root[color-theme=light] .chroma .vc{color:#006767}:root .chroma .vg,:root[color-theme=light] .chroma .vg{color:#006767}:root .chroma .vi,:root[color-theme=light] .chroma .vi{color:#006767}:root .chroma .vm,:root[color-theme=light] .chroma .vm{color:inherit}:root .chroma .l,:root[color-theme=light] .chroma .l{color:inherit}:root .chroma .ld,:root[color-theme=light] .chroma .ld{color:inherit}:root .chroma .s,:root[color-theme=light] .chroma .s{color:#d14}:root .chroma .sa,:root[color-theme=light] .chroma .sa{color:#d14}:root .chroma .sb,:root[color-theme=light] .chroma .sb{color:#d14}:root .chroma .sc,:root[color-theme=light] .chroma .sc{color:#d14}:root .chroma .dl,:root[color-theme=light] .chroma .dl{color:#d14}:root .chroma .sd,:root[color-theme=light] .chroma .sd{color:#d14}:root .chroma .s2,:root[color-theme=light] .chroma .s2{color:#d14}:root .chroma .se,:root[color-theme=light] .chroma .se{color:#d14}:root .chroma .sh,:root[color-theme=light] .chroma .sh{color:#d14}:root .chroma .si,:root[color-theme=light] .chroma .si{color:#d14}:root .chroma .sx,:root[color-theme=light] .chroma .sx{color:#d14}:root .chroma .sr,:root[color-theme=light] .chroma .sr{color:#009926}:root .chroma .s1,:root[color-theme=light] .chroma .s1{color:#d14}:root .chroma .ss,:root[color-theme=light] .chroma .ss{color:#990073}:root .chroma .m,:root[color-theme=light] .chroma .m{color:#027e83}:root .chroma .mb,:root[color-theme=light] .chroma .mb{color:#027e83}:root .chroma .mf,:root[color-theme=light] .chroma .mf{color:#027e83}:root .chroma .mh,:root[color-theme=light] .chroma .mh{color:#027e83}:root .chroma .mi,:root[color-theme=light] .chroma .mi{color:#027e83}:root .chroma .il,:root[color-theme=light] .chroma .il{color:#027e83}:root .chroma .mo,:root[color-theme=light] .chroma .mo{color:#027e83}:root .chroma .o,:root[color-theme=light] .chroma .o{color:#000;font-weight:bold}:root .chroma .ow,:root[color-theme=light] .chroma .ow{color:#000;font-weight:bold}:root .chroma .p,:root[color-theme=light] .chroma .p{color:inherit}:root .chroma .c,:root[color-theme=light] .chroma .c{color:#676765;font-style:italic}:root .chroma .ch,:root[color-theme=light] .chroma .ch{color:#676765;font-style:italic}:root .chroma .cm,:root[color-theme=light] .chroma .cm{color:#676765;font-style:italic}:root .chroma .c1,:root[color-theme=light] .chroma .c1{color:#676765;font-style:italic}:root .chroma .cs,:root[color-theme=light] .chroma .cs{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cp,:root[color-theme=light] .chroma .cp{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cpf,:root[color-theme=light] .chroma .cpf{color:#676767;font-weight:bold;font-style:italic}:root .chroma .g,:root[color-theme=light] .chroma .g{color:inherit}:root .chroma .gd,:root[color-theme=light] .chroma .gd{color:#000;background-color:#fdd}:root .chroma .ge,:root[color-theme=light] .chroma .ge{color:#000;font-style:italic}:root .chroma .gr,:root[color-theme=light] .chroma .gr{color:#a00}:root .chroma .gh,:root[color-theme=light] .chroma .gh{color:#676767}:root .chroma .gi,:root[color-theme=light] .chroma .gi{color:#000;background-color:#dfd}:root .chroma .go,:root[color-theme=light] .chroma .go{color:#6f6f6f}:root .chroma .gp,:root[color-theme=light] .chroma .gp{color:#555}:root .chroma .gs,:root[color-theme=light] .chroma .gs{font-weight:bold}:root .chroma .gu,:root[color-theme=light] .chroma .gu{color:#5f5f5f}:root .chroma .gt,:root[color-theme=light] .chroma .gt{color:#a00}:root .chroma .gl,:root[color-theme=light] .chroma .gl{text-decoration:underline}:root .chroma .w,:root[color-theme=light] .chroma .w{color:#bbb}@media(prefers-color-scheme: light){:root{--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: white;--body-font-color: rgb(52, 58, 64);--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(10, 83, 154);--link-color-visited: rgb(119, 73, 191);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: rgb(206, 212, 218);--accent-color: rgb(233, 236, 239);--accent-color-lite: rgb(248, 249, 250);--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: rgb(248, 249, 250);--code-accent-color: #e6eaed;--code-accent-color-lite: #f2f4f6;--code-font-color: rgb(70, 70, 70);--code-copy-background: rgb(248, 249, 250);--code-copy-font-color: #6c6c6c;--code-copy-border-color: #797979;--code-copy-success-color: rgb(0, 200, 83)}:root .dark-mode-dim .gdoc-markdown img{filter:none}:root .gdoc-markdown .gdoc-hint,:root .gdoc-markdown .gdoc-props__tag,:root .gdoc-markdown .admonitionblock{filter:none}:root .gdoc-markdown .gdoc-hint__title,:root .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.05)}:root .chroma{color:var(--code-font-color)}:root .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root .chroma .x{color:inherit}:root .chroma .err{color:#a61717;background-color:#e3d2d2}:root .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root .chroma .hl{display:block;width:100%;background-color:#ffc}:root .chroma .lnt{padding:0 .8em}:root .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em}:root .chroma .k{color:#000;font-weight:bold}:root .chroma .kc{color:#000;font-weight:bold}:root .chroma .kd{color:#000;font-weight:bold}:root .chroma .kn{color:#000;font-weight:bold}:root .chroma .kp{color:#000;font-weight:bold}:root .chroma .kr{color:#000;font-weight:bold}:root .chroma .kt{color:#458;font-weight:bold}:root .chroma .n{color:inherit}:root .chroma .na{color:#006767}:root .chroma .nb{color:#556165}:root .chroma .bp{color:#676767}:root .chroma .nc{color:#458;font-weight:bold}:root .chroma .no{color:#006767}:root .chroma .nd{color:#3c5d5d;font-weight:bold}:root .chroma .ni{color:purple}:root .chroma .ne{color:#900;font-weight:bold}:root .chroma .nf{color:#900;font-weight:bold}:root .chroma .fm{color:inherit}:root .chroma .nl{color:#900;font-weight:bold}:root .chroma .nn{color:#555}:root .chroma .nx{color:inherit}:root .chroma .py{color:inherit}:root .chroma .nt{color:navy}:root .chroma .nv{color:#006767}:root .chroma .vc{color:#006767}:root .chroma .vg{color:#006767}:root .chroma .vi{color:#006767}:root .chroma .vm{color:inherit}:root .chroma .l{color:inherit}:root .chroma .ld{color:inherit}:root .chroma .s{color:#d14}:root .chroma .sa{color:#d14}:root .chroma .sb{color:#d14}:root .chroma .sc{color:#d14}:root .chroma .dl{color:#d14}:root .chroma .sd{color:#d14}:root .chroma .s2{color:#d14}:root .chroma .se{color:#d14}:root .chroma .sh{color:#d14}:root .chroma .si{color:#d14}:root .chroma .sx{color:#d14}:root .chroma .sr{color:#009926}:root .chroma .s1{color:#d14}:root .chroma .ss{color:#990073}:root .chroma .m{color:#027e83}:root .chroma .mb{color:#027e83}:root .chroma .mf{color:#027e83}:root .chroma .mh{color:#027e83}:root .chroma .mi{color:#027e83}:root .chroma .il{color:#027e83}:root .chroma .mo{color:#027e83}:root .chroma .o{color:#000;font-weight:bold}:root .chroma .ow{color:#000;font-weight:bold}:root .chroma .p{color:inherit}:root .chroma .c{color:#676765;font-style:italic}:root .chroma .ch{color:#676765;font-style:italic}:root .chroma .cm{color:#676765;font-style:italic}:root .chroma .c1{color:#676765;font-style:italic}:root .chroma .cs{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cp{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cpf{color:#676767;font-weight:bold;font-style:italic}:root .chroma .g{color:inherit}:root .chroma .gd{color:#000;background-color:#fdd}:root .chroma .ge{color:#000;font-style:italic}:root .chroma .gr{color:#a00}:root .chroma .gh{color:#676767}:root .chroma .gi{color:#000;background-color:#dfd}:root .chroma .go{color:#6f6f6f}:root .chroma .gp{color:#555}:root .chroma .gs{font-weight:bold}:root .chroma .gu{color:#5f5f5f}:root .chroma .gt{color:#a00}:root .chroma .gl{text-decoration:underline}:root .chroma .w{color:#bbb}}:root[color-theme=dark]{--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: #29363e;--body-font-color: #c2cfd7;--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(110, 168, 212);--link-color-visited: rgb(186, 142, 240);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: #192125;--accent-color: #212b32;--accent-color-lite: #253138;--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: #232e35;--code-accent-color: #1b2329;--code-accent-color-lite: #1f292f;--code-font-color: rgb(185, 185, 185);--code-copy-background: #232e35;--code-copy-font-color: #939393;--code-copy-border-color: #868686;--code-copy-success-color: rgba(0, 200, 83, 0.45)}:root[color-theme=dark] .dark-mode-dim .gdoc-markdown img{filter:brightness(0.75) grayscale(0.2)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint,:root[color-theme=dark] .gdoc-markdown .gdoc-props__tag,:root[color-theme=dark] .gdoc-markdown .admonitionblock{filter:saturate(2.5) brightness(0.85)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint a,:root[color-theme=dark] .gdoc-markdown .admonitionblock a{color:var(--hint-link-color)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint a:visited,:root[color-theme=dark] .gdoc-markdown .admonitionblock a:visited{color:var(--hint-link-color-visited)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint__title,:root[color-theme=dark] .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.15)}:root[color-theme=dark] .chroma{color:var(--code-font-color)}:root[color-theme=dark] .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root[color-theme=dark] .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root[color-theme=dark] .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root[color-theme=dark] .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root[color-theme=dark] .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root[color-theme=dark] .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root[color-theme=dark] .chroma .x{color:inherit}:root[color-theme=dark] .chroma .err{color:inherit}:root[color-theme=dark] .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root[color-theme=dark] .chroma .hl{display:block;width:100%;background-color:#4f1605}:root[color-theme=dark] .chroma .lnt{padding:0 .8em}:root[color-theme=dark] .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em;color:#b3b3b3}:root[color-theme=dark] .chroma .k{color:#ff79c6}:root[color-theme=dark] .chroma .kc{color:#ff79c6}:root[color-theme=dark] .chroma .kd{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .kn{color:#ff79c6}:root[color-theme=dark] .chroma .kp{color:#ff79c6}:root[color-theme=dark] .chroma .kr{color:#ff79c6}:root[color-theme=dark] .chroma .kt{color:#8be9fd}:root[color-theme=dark] .chroma .n{color:inherit}:root[color-theme=dark] .chroma .na{color:#50fa7b}:root[color-theme=dark] .chroma .nb{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .bp{color:inherit}:root[color-theme=dark] .chroma .nc{color:#50fa7b}:root[color-theme=dark] .chroma .no{color:inherit}:root[color-theme=dark] .chroma .nd{color:inherit}:root[color-theme=dark] .chroma .ni{color:inherit}:root[color-theme=dark] .chroma .ne{color:inherit}:root[color-theme=dark] .chroma .nf{color:#50fa7b}:root[color-theme=dark] .chroma .fm{color:inherit}:root[color-theme=dark] .chroma .nl{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .nn{color:inherit}:root[color-theme=dark] .chroma .nx{color:inherit}:root[color-theme=dark] .chroma .py{color:inherit}:root[color-theme=dark] .chroma .nt{color:#ff79c6}:root[color-theme=dark] .chroma .nv{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vc{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vg{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vi{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vm{color:inherit}:root[color-theme=dark] .chroma .l{color:inherit}:root[color-theme=dark] .chroma .ld{color:inherit}:root[color-theme=dark] .chroma .s{color:#f1fa8c}:root[color-theme=dark] .chroma .sa{color:#f1fa8c}:root[color-theme=dark] .chroma .sb{color:#f1fa8c}:root[color-theme=dark] .chroma .sc{color:#f1fa8c}:root[color-theme=dark] .chroma .dl{color:#f1fa8c}:root[color-theme=dark] .chroma .sd{color:#f1fa8c}:root[color-theme=dark] .chroma .s2{color:#f1fa8c}:root[color-theme=dark] .chroma .se{color:#f1fa8c}:root[color-theme=dark] .chroma .sh{color:#f1fa8c}:root[color-theme=dark] .chroma .si{color:#f1fa8c}:root[color-theme=dark] .chroma .sx{color:#f1fa8c}:root[color-theme=dark] .chroma .sr{color:#f1fa8c}:root[color-theme=dark] .chroma .s1{color:#f1fa8c}:root[color-theme=dark] .chroma .ss{color:#f1fa8c}:root[color-theme=dark] .chroma .m{color:#bd93f9}:root[color-theme=dark] .chroma .mb{color:#bd93f9}:root[color-theme=dark] .chroma .mf{color:#bd93f9}:root[color-theme=dark] .chroma .mh{color:#bd93f9}:root[color-theme=dark] .chroma .mi{color:#bd93f9}:root[color-theme=dark] .chroma .il{color:#bd93f9}:root[color-theme=dark] .chroma .mo{color:#bd93f9}:root[color-theme=dark] .chroma .o{color:#ff79c6}:root[color-theme=dark] .chroma .ow{color:#ff79c6}:root[color-theme=dark] .chroma .p{color:inherit}:root[color-theme=dark] .chroma .c{color:#96a6d8}:root[color-theme=dark] .chroma .ch{color:#96a6d8}:root[color-theme=dark] .chroma .cm{color:#96a6d8}:root[color-theme=dark] .chroma .c1{color:#96a6d8}:root[color-theme=dark] .chroma .cs{color:#96a6d8}:root[color-theme=dark] .chroma .cp{color:#ff79c6}:root[color-theme=dark] .chroma .cpf{color:#ff79c6}:root[color-theme=dark] .chroma .g{color:inherit}:root[color-theme=dark] .chroma .gd{color:#d98f90}:root[color-theme=dark] .chroma .ge{text-decoration:underline}:root[color-theme=dark] .chroma .gr{color:inherit}:root[color-theme=dark] .chroma .gh{font-weight:bold;color:inherit}:root[color-theme=dark] .chroma .gi{font-weight:bold}:root[color-theme=dark] .chroma .go{color:#8f9ea8}:root[color-theme=dark] .chroma .gp{color:inherit}:root[color-theme=dark] .chroma .gs{color:inherit}:root[color-theme=dark] .chroma .gu{font-weight:bold}:root[color-theme=dark] .chroma .gt{color:inherit}:root[color-theme=dark] .chroma .gl{text-decoration:underline}:root[color-theme=dark] .chroma .w{color:inherit}:root[code-theme=dark]{--code-background: #232e35;--code-accent-color: #1b2329;--code-accent-color-lite: #1f292f;--code-font-color: rgb(185, 185, 185);--code-copy-background: #232e35;--code-copy-font-color: #939393;--code-copy-border-color: #868686;--code-copy-success-color: rgba(0, 200, 83, 0.45)}:root[code-theme=dark] .chroma{color:var(--code-font-color)}:root[code-theme=dark] .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root[code-theme=dark] .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root[code-theme=dark] .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root[code-theme=dark] .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root[code-theme=dark] .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root[code-theme=dark] .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root[code-theme=dark] .chroma .x{color:inherit}:root[code-theme=dark] .chroma .err{color:inherit}:root[code-theme=dark] .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root[code-theme=dark] .chroma .hl{display:block;width:100%;background-color:#4f1605}:root[code-theme=dark] .chroma .lnt{padding:0 .8em}:root[code-theme=dark] .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em;color:#b3b3b3}:root[code-theme=dark] .chroma .k{color:#ff79c6}:root[code-theme=dark] .chroma .kc{color:#ff79c6}:root[code-theme=dark] .chroma .kd{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .kn{color:#ff79c6}:root[code-theme=dark] .chroma .kp{color:#ff79c6}:root[code-theme=dark] .chroma .kr{color:#ff79c6}:root[code-theme=dark] .chroma .kt{color:#8be9fd}:root[code-theme=dark] .chroma .n{color:inherit}:root[code-theme=dark] .chroma .na{color:#50fa7b}:root[code-theme=dark] .chroma .nb{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .bp{color:inherit}:root[code-theme=dark] .chroma .nc{color:#50fa7b}:root[code-theme=dark] .chroma .no{color:inherit}:root[code-theme=dark] .chroma .nd{color:inherit}:root[code-theme=dark] .chroma .ni{color:inherit}:root[code-theme=dark] .chroma .ne{color:inherit}:root[code-theme=dark] .chroma .nf{color:#50fa7b}:root[code-theme=dark] .chroma .fm{color:inherit}:root[code-theme=dark] .chroma .nl{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .nn{color:inherit}:root[code-theme=dark] .chroma .nx{color:inherit}:root[code-theme=dark] .chroma .py{color:inherit}:root[code-theme=dark] .chroma .nt{color:#ff79c6}:root[code-theme=dark] .chroma .nv{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vc{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vg{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vi{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vm{color:inherit}:root[code-theme=dark] .chroma .l{color:inherit}:root[code-theme=dark] .chroma .ld{color:inherit}:root[code-theme=dark] .chroma .s{color:#f1fa8c}:root[code-theme=dark] .chroma .sa{color:#f1fa8c}:root[code-theme=dark] .chroma .sb{color:#f1fa8c}:root[code-theme=dark] .chroma .sc{color:#f1fa8c}:root[code-theme=dark] .chroma .dl{color:#f1fa8c}:root[code-theme=dark] .chroma .sd{color:#f1fa8c}:root[code-theme=dark] .chroma .s2{color:#f1fa8c}:root[code-theme=dark] .chroma .se{color:#f1fa8c}:root[code-theme=dark] .chroma .sh{color:#f1fa8c}:root[code-theme=dark] .chroma .si{color:#f1fa8c}:root[code-theme=dark] .chroma .sx{color:#f1fa8c}:root[code-theme=dark] .chroma .sr{color:#f1fa8c}:root[code-theme=dark] .chroma .s1{color:#f1fa8c}:root[code-theme=dark] .chroma .ss{color:#f1fa8c}:root[code-theme=dark] .chroma .m{color:#bd93f9}:root[code-theme=dark] .chroma .mb{color:#bd93f9}:root[code-theme=dark] .chroma .mf{color:#bd93f9}:root[code-theme=dark] .chroma .mh{color:#bd93f9}:root[code-theme=dark] .chroma .mi{color:#bd93f9}:root[code-theme=dark] .chroma .il{color:#bd93f9}:root[code-theme=dark] .chroma .mo{color:#bd93f9}:root[code-theme=dark] .chroma .o{color:#ff79c6}:root[code-theme=dark] .chroma .ow{color:#ff79c6}:root[code-theme=dark] .chroma .p{color:inherit}:root[code-theme=dark] .chroma .c{color:#96a6d8}:root[code-theme=dark] .chroma .ch{color:#96a6d8}:root[code-theme=dark] .chroma .cm{color:#96a6d8}:root[code-theme=dark] .chroma .c1{color:#96a6d8}:root[code-theme=dark] .chroma .cs{color:#96a6d8}:root[code-theme=dark] .chroma .cp{color:#ff79c6}:root[code-theme=dark] .chroma .cpf{color:#ff79c6}:root[code-theme=dark] .chroma .g{color:inherit}:root[code-theme=dark] .chroma .gd{color:#d98f90}:root[code-theme=dark] .chroma .ge{text-decoration:underline}:root[code-theme=dark] .chroma .gr{color:inherit}:root[code-theme=dark] .chroma .gh{font-weight:bold;color:inherit}:root[code-theme=dark] .chroma .gi{font-weight:bold}:root[code-theme=dark] .chroma .go{color:#8f9ea8}:root[code-theme=dark] .chroma .gp{color:inherit}:root[code-theme=dark] .chroma .gs{color:inherit}:root[code-theme=dark] .chroma .gu{font-weight:bold}:root[code-theme=dark] .chroma .gt{color:inherit}:root[code-theme=dark] .chroma .gl{text-decoration:underline}:root[code-theme=dark] .chroma .w{color:inherit}@media(prefers-color-scheme: dark){:root{--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: #29363e;--body-font-color: #c2cfd7;--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(110, 168, 212);--link-color-visited: rgb(186, 142, 240);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: #192125;--accent-color: #212b32;--accent-color-lite: #253138;--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: #232e35;--code-accent-color: #1b2329;--code-accent-color-lite: #1f292f;--code-font-color: rgb(185, 185, 185);--code-copy-background: #232e35;--code-copy-font-color: #939393;--code-copy-border-color: #868686;--code-copy-success-color: rgba(0, 200, 83, 0.45)}:root .dark-mode-dim .gdoc-markdown img{filter:brightness(0.75) grayscale(0.2)}:root .gdoc-markdown .gdoc-hint,:root .gdoc-markdown .gdoc-props__tag,:root .gdoc-markdown .admonitionblock{filter:saturate(2.5) brightness(0.85)}:root .gdoc-markdown .gdoc-hint a,:root .gdoc-markdown .admonitionblock a{color:var(--hint-link-color)}:root .gdoc-markdown .gdoc-hint a:visited,:root .gdoc-markdown .admonitionblock a:visited{color:var(--hint-link-color-visited)}:root .gdoc-markdown .gdoc-hint__title,:root .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.15)}:root .chroma{color:var(--code-font-color)}:root .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root .chroma .x{color:inherit}:root .chroma .err{color:inherit}:root .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root .chroma .hl{display:block;width:100%;background-color:#4f1605}:root .chroma .lnt{padding:0 .8em}:root .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em;color:#b3b3b3}:root .chroma .k{color:#ff79c6}:root .chroma .kc{color:#ff79c6}:root .chroma .kd{color:#8be9fd;font-style:italic}:root .chroma .kn{color:#ff79c6}:root .chroma .kp{color:#ff79c6}:root .chroma .kr{color:#ff79c6}:root .chroma .kt{color:#8be9fd}:root .chroma .n{color:inherit}:root .chroma .na{color:#50fa7b}:root .chroma .nb{color:#8be9fd;font-style:italic}:root .chroma .bp{color:inherit}:root .chroma .nc{color:#50fa7b}:root .chroma .no{color:inherit}:root .chroma .nd{color:inherit}:root .chroma .ni{color:inherit}:root .chroma .ne{color:inherit}:root .chroma .nf{color:#50fa7b}:root .chroma .fm{color:inherit}:root .chroma .nl{color:#8be9fd;font-style:italic}:root .chroma .nn{color:inherit}:root .chroma .nx{color:inherit}:root .chroma .py{color:inherit}:root .chroma .nt{color:#ff79c6}:root .chroma .nv{color:#8be9fd;font-style:italic}:root .chroma .vc{color:#8be9fd;font-style:italic}:root .chroma .vg{color:#8be9fd;font-style:italic}:root .chroma .vi{color:#8be9fd;font-style:italic}:root .chroma .vm{color:inherit}:root .chroma .l{color:inherit}:root .chroma .ld{color:inherit}:root .chroma .s{color:#f1fa8c}:root .chroma .sa{color:#f1fa8c}:root .chroma .sb{color:#f1fa8c}:root .chroma .sc{color:#f1fa8c}:root .chroma .dl{color:#f1fa8c}:root .chroma .sd{color:#f1fa8c}:root .chroma .s2{color:#f1fa8c}:root .chroma .se{color:#f1fa8c}:root .chroma .sh{color:#f1fa8c}:root .chroma .si{color:#f1fa8c}:root .chroma .sx{color:#f1fa8c}:root .chroma .sr{color:#f1fa8c}:root .chroma .s1{color:#f1fa8c}:root .chroma .ss{color:#f1fa8c}:root .chroma .m{color:#bd93f9}:root .chroma .mb{color:#bd93f9}:root .chroma .mf{color:#bd93f9}:root .chroma .mh{color:#bd93f9}:root .chroma .mi{color:#bd93f9}:root .chroma .il{color:#bd93f9}:root .chroma .mo{color:#bd93f9}:root .chroma .o{color:#ff79c6}:root .chroma .ow{color:#ff79c6}:root .chroma .p{color:inherit}:root .chroma .c{color:#96a6d8}:root .chroma .ch{color:#96a6d8}:root .chroma .cm{color:#96a6d8}:root .chroma .c1{color:#96a6d8}:root .chroma .cs{color:#96a6d8}:root .chroma .cp{color:#ff79c6}:root .chroma .cpf{color:#ff79c6}:root .chroma .g{color:inherit}:root .chroma .gd{color:#d98f90}:root .chroma .ge{text-decoration:underline}:root .chroma .gr{color:inherit}:root .chroma .gh{font-weight:bold;color:inherit}:root .chroma .gi{font-weight:bold}:root .chroma .go{color:#8f9ea8}:root .chroma .gp{color:inherit}:root .chroma .gs{color:inherit}:root .chroma .gu{font-weight:bold}:root .chroma .gt{color:inherit}:root .chroma .gl{text-decoration:underline}:root .chroma .w{color:inherit}}html{font-size:16px;letter-spacing:.33px;scroll-behavior:smooth}html.color-toggle-hidden #gdoc-color-theme{display:none}html.color-toggle-light #gdoc-color-theme .gdoc_brightness_light{display:inline-block}html.color-toggle-light #gdoc-color-theme .gdoc_brightness_auto,html.color-toggle-light #gdoc-color-theme .gdoc_brightness_dark{display:none}html.color-toggle-dark #gdoc-color-theme .gdoc_brightness_dark{display:inline-block}html.color-toggle-dark #gdoc-color-theme .gdoc_brightness_auto,html.color-toggle-dark #gdoc-color-theme .gdoc_brightness_light{display:none}html.color-toggle-auto #gdoc-color-theme .gdoc_brightness_light{display:none}html.color-toggle-auto #gdoc-color-theme .gdoc_brightness_dark{display:none}html.color-toggle-auto #gdoc-color-theme .gdoc_brightness_auto{display:inline-block}html,body{min-width:20rem;overflow-x:hidden}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5,h6{font-weight:normal;display:flex;align-items:center}h4,h5,h6{font-size:1rem !important}a{text-decoration:none;color:var(--link-color)}a:hover{text-decoration:underline}a:visited{color:var(--link-color-visited)}i.gdoc-icon{font-family:"GeekdocIcons";font-style:normal}img{vertical-align:middle}#gdoc-color-theme{cursor:pointer}.fake-link:hover{background-image:linear-gradient(var(--link-color), var(--link-color));background-position:0 100%;background-size:100% 1px;background-repeat:no-repeat;text-decoration:none}.wrapper{display:flex;flex-direction:column;min-height:100vh;color:var(--body-font-color);background:var(--body-background);font-weight:normal}.container{width:100%;max-width:82rem;margin:0 auto;padding:1.25rem}svg.gdoc-icon{display:inline-block;width:1.25rem;height:1.25rem;vertical-align:middle;stroke-width:0;stroke:currentColor;fill:currentColor;position:relative}.gdoc-header{background:var(--header-background);color:var(--header-font-color);border-bottom:.3em solid var(--footer-background)}.gdoc-header__link,.gdoc-header__link:visited{color:var(--header-font-color)}.gdoc-header__link:hover{text-decoration:none}.gdoc-header svg.gdoc-icon{width:2rem;height:2rem}.gdoc-brand{font-size:2rem;line-height:2rem}.gdoc-brand__img{margin-right:1rem;width:2rem;height:2rem}.gdoc-menu-header__items{display:flex}.gdoc-menu-header__items>span{margin-left:.5rem}.gdoc-menu-header__control,.gdoc-menu-header__home{display:none}.gdoc-menu-header__control svg.gdoc-icon,.gdoc-menu-header__home svg.gdoc-icon{cursor:pointer}.gdoc-nav{flex:0 0 18rem}.gdoc-nav nav{width:18rem;padding:1rem 2rem 1rem 0}.gdoc-nav nav>ul>li>*{font-weight:normal}.gdoc-nav nav section{margin-top:2rem}.gdoc-nav__control{display:none;margin:0;padding:0}.gdoc-nav__control svg.gdoc-icon{cursor:pointer}.gdoc-nav__control svg.gdoc-icon.gdoc_menu{display:inline-block}.gdoc-nav__control svg.gdoc-icon.gdoc_arrow_back{display:none}.gdoc-nav__list{padding-left:1rem;margin:0;padding:0;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gdoc-nav__list ul{padding-left:1rem}.gdoc-nav__list li{margin:.75rem 0}.gdoc-nav__list svg.gdoc-icon{margin-right:.25rem}.gdoc-nav__toggle{display:none}.gdoc-nav__toggle~label{cursor:pointer}.gdoc-nav__toggle~label svg.gdoc-icon.toggle{width:1rem;height:1rem}.gdoc-nav__toggle:not(:checked)~ul,.gdoc-nav__toggle:not(:checked)~label svg.gdoc-icon.gdoc_keyboard_arrow_down{display:none}.gdoc-nav__toggle:not(:checked)~label svg.gdoc-icon.gdoc_keyboard_arrow_left{display:block}.gdoc-nav__toggle:checked~ul,.gdoc-nav__toggle:checked~label svg.gdoc-icon.gdoc_keyboard_arrow_down{display:block}.gdoc-nav__toggle:checked~label svg.gdoc-icon.gdoc_keyboard_arrow_left{display:none}.gdoc-nav--main>ul>li>span,.gdoc-nav--main>ul>li>span>a,.gdoc-nav--main>ul>li>label,.gdoc-nav--main>ul>li>label>a{font-weight:bold}.gdoc-nav__entry,.gdoc-language__entry{flex:1;color:var(--body-font-color)}.gdoc-nav__entry:hover,.gdoc-nav__entry.is-active,.gdoc-language__entry:hover,.gdoc-language__entry.is-active{text-decoration:underline;text-decoration-style:dashed !important}.gdoc-nav__entry:visited,.gdoc-language__entry:visited{color:var(--body-font-color)}.gdoc-search__list,.gdoc-language__list{background:var(--body-background);border-radius:.15rem;box-shadow:0 1px 3px 0 var(--accent-color-dark),0 1px 2px 0 var(--accent-color);position:absolute;margin:0;padding:.5rem .25rem !important;list-style:none;top:calc(100% + 0.5rem);z-index:2}.gdoc-page{min-width:18rem;flex-grow:1;padding:1rem 0}.gdoc-page h1,.gdoc-page h2,.gdoc-page h3,.gdoc-page h4,.gdoc-page h5,.gdoc-page h6{font-weight:600}.gdoc-page__header,.gdoc-page__footer{margin-bottom:1.5rem}.gdoc-page__header svg.gdoc-icon,.gdoc-page__footer svg.gdoc-icon{color:var(--control-icons)}.gdoc-page__header a,.gdoc-page__header a:visited,.gdoc-page__footer a,.gdoc-page__footer a:visited{color:var(--link-color)}.gdoc-page__header{background:var(--accent-color-lite);padding:.5rem 1rem;border-radius:.15rem}.gdoc-page__nav:hover{background-image:linear-gradient(var(--link-color), var(--link-color));background-position:0 100%;background-size:100% 1px;background-repeat:no-repeat}.gdoc-page__anchorwrap{gap:.5em}.gdoc-page__anchorwrap:hover .gdoc-page__anchor svg.gdoc-icon{color:var(--control-icons)}.gdoc-page__anchor svg.gdoc-icon{width:1.85em;height:1.85em;color:rgba(0,0,0,0)}.gdoc-page__anchor:focus svg.gdoc-icon{color:var(--control-icons)}.gdoc-page__footer{margin-top:2rem}.gdoc-page__footer a:hover{text-decoration:none}.gdoc-post{word-wrap:break-word;border-top:1px dashed #868e96;padding:2rem 0}.gdoc-post:first-of-type{padding-top:0}.gdoc-post__header h1{margin-top:0}.gdoc-post__header a,.gdoc-post__header a:visited{color:var(--body-font-color);text-decoration:none}.gdoc-post__header a:hover{background:none;text-decoration:underline;color:var(--body-font-color)}.gdoc-post:first-child{border-top:0}.gdoc-post:first-child h1{margin-top:0}.gdoc-post__readmore{margin:2rem 0}.gdoc-post__readmore a,.gdoc-post__readmore a:hover,.gdoc-post__readmore a:visited{color:var(--link-color);text-decoration:none !important}.gdoc-post__meta span svg.gdoc-icon{margin-left:-5px}.gdoc-post__meta>span{margin:.25rem 0}.gdoc-post__meta>span:not(:last-child){margin-right:.5rem}.gdoc-post__meta svg.gdoc-icon{font-size:1.25rem}.gdoc-post__meta .gdoc-button{margin:0 .125rem 0 0}.gdoc-post__meta--head{margin-bottom:2rem}.gdoc-post__codecontainer{position:relative}.gdoc-post__codecontainer:hover>.gdoc-post__codecopy{visibility:visible}.gdoc-post__codecopy{visibility:hidden;position:absolute;top:.5rem;right:.5rem;border:1.5px solid var(--code-copy-border-color);border-radius:.15rem;background:var(--code-copy-background);width:2rem;height:2rem}.gdoc-post__codecopy svg.gdoc-icon{top:0;width:1.25rem;height:1.25rem;color:var(--code-copy-font-color)}.gdoc-post__codecopy:hover{cursor:pointer}.gdoc-post__codecopy--success{border-color:var(--code-copy-success-color)}.gdoc-post__codecopy--success svg.gdoc-icon{color:var(--code-copy-success-color)}.gdoc-post__codecopy--out{transition:visibility 2s ease-out}.gdoc-footer{background:var(--footer-background);color:var(--footer-font-color)}.gdoc-footer .fake-link:hover{background-image:linear-gradient(var(--footer-link-color), var(--footer-link-color))}.gdoc-footer__item{line-height:2rem}.gdoc-footer__item--row{margin-right:1rem}.gdoc-footer__link{color:var(--footer-link-color)}.gdoc-footer__link:visited{color:var(--footer-link-color-visited)}.gdoc-search{position:relative}.gdoc-search svg.gdoc-icon{position:absolute;left:.5rem;color:var(--control-icons);width:1.25rem;height:1.25rem}.gdoc-search::after{display:block;content:"";clear:both}.gdoc-search__input{width:100%;padding:.5rem;padding-left:2rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;border:1px solid rgba(0,0,0,0);border-radius:.15rem;background:var(--accent-color-lite);color:var(--body-font-color)}.gdoc-search__input:focus{outline:none !important;border:1px solid var(--accent-color)}.gdoc-search__list{visibility:hidden;left:0;width:100%}.gdoc-search__list ul{list-style:none;padding-left:0}.gdoc-search__list>li>span{font-weight:bold}.gdoc-search__list>li+li{margin-top:.25rem}.gdoc-search__list svg.gdoc-icon{margin-right:.25rem}.gdoc-search__section{display:flex;flex-direction:column;padding:.25rem !important}.gdoc-search__entry{display:flex;flex-direction:column;color:var(--body-font-color);padding:.25rem !important;border-radius:.15rem}.gdoc-search__entry:hover,.gdoc-search__entry.is-active{background:var(--accent-color-lite);text-decoration:none}.gdoc-search__entry:hover .gdoc-search__entry--title,.gdoc-search__entry.is-active .gdoc-search__entry--title{text-decoration-style:dashed !important;text-decoration:underline}.gdoc-search__entry:visited{color:var(--body-font-color)}.gdoc-search__entry--description{font-size:.875rem;font-style:italic}.gdoc-search:focus-within .gdoc-search__list.has-hits,.gdoc-search__list.has-hits:hover{visibility:visible}.gdoc-language__selector{position:relative;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;margin:0;padding:0;width:100%}.gdoc-language__selector:focus .gdoc-language__list,.gdoc-language__selector:focus-within .gdoc-language__list,.gdoc-language__selector:active .gdoc-language__list{display:block}.gdoc-language__list{display:none;right:0;width:auto;white-space:nowrap}.gdoc-paging{padding:1rem 0}.gdoc-paging__item{flex:1 1 0}.gdoc-paging__item a:visited{color:var(--link-color)}.gdoc-paging__item a:hover,.gdoc-paging__item a:visited:hover{background:var(--link-color);color:#f8f9fa}.gdoc-paging__item--next{text-align:right}.gdoc-paging__item--prev{text-align:left}.gdoc-error{padding:6rem 1rem;margin:0 auto;max-width:45em}.gdoc-error svg.gdoc-icon{width:8rem;height:8rem;color:var(--body-font-color)}.gdoc-error__link,.gdoc-error__link:visited{color:var(--link-color)}.gdoc-error__message{padding-left:4rem}.gdoc-error__line{padding:.5rem 0}.gdoc-error__title{font-size:4rem}.gdoc-error__code{font-weight:bolder}.gdoc-toc{margin:1rem 0}.gdoc-toc li{margin:.25rem 0}.gdoc-toc__level--1 ul ul,.gdoc-toc__level--2 ul ul ul,.gdoc-toc__level--3 ul ul ul ul,.gdoc-toc__level--4 ul ul ul ul ul,.gdoc-toc__level--5 ul ul ul ul ul ul,.gdoc-toc__level--6 ul ul ul ul ul ul ul{display:none}.gdoc-toc a,.gdoc-toc a:visited{color:var(--link-color)}.gdoc-nav nav,.gdoc-page,.markdown{transition:.2s ease-in-out;transition-property:transform,margin-left,opacity;will-change:transform,margin-left}.breadcrumb{display:inline;padding:0;margin:0}.breadcrumb li{display:inline}.gdoc-markdown{line-height:1.6rem}.gdoc-markdown h1,.gdoc-markdown h2,.gdoc-markdown h3,.gdoc-markdown h4,.gdoc-markdown h5,.gdoc-markdown h6{font-weight:600}.gdoc-markdown h1>code,.gdoc-markdown h2>code,.gdoc-markdown h3>code,.gdoc-markdown h4>code,.gdoc-markdown h5>code,.gdoc-markdown h6>code{border-top:3px solid var(--accent-color);font-size:.75rem !important}.gdoc-markdown h4>code,.gdoc-markdown h5>code,.gdoc-markdown h6>code{font-size:.875rem !important}.gdoc-markdown b,.gdoc-markdown optgroup,.gdoc-markdown strong{font-weight:bolder}.gdoc-markdown a,.gdoc-markdown__link{text-decoration:none;border-bottom:1px solid rgba(0,0,0,0);line-height:normal}.gdoc-markdown a:hover,.gdoc-markdown__link:hover{text-decoration:underline}.gdoc-markdown__link--raw{text-decoration:none !important;color:#343a40 !important}.gdoc-markdown__link--raw:hover{text-decoration:none !important}.gdoc-markdown__link--raw:visited{color:#343a40 !important}.gdoc-markdown__link--code{text-decoration:none}.gdoc-markdown__link--code code{color:inherit !important}.gdoc-markdown__link--code:hover{background:none;color:var(--link-color) !important;text-decoration:underline}.gdoc-markdown__link--code:visited,.gdoc-markdown__link--code:visited:hover{color:var(--link-color-visited) !important}.gdoc-markdown__figure{padding:.25rem;margin:1rem 0;background-color:var(--accent-color);display:table;border-top-left-radius:.15rem;border-top-right-radius:.15rem}.gdoc-markdown__figure--round,.gdoc-markdown__figure--round img{border-radius:50% !important}.gdoc-markdown__figure figcaption{display:table-caption;caption-side:bottom;background-color:var(--accent-color);padding:0 .25rem .25rem;text-align:center;border-bottom-left-radius:.15rem;border-bottom-right-radius:.15rem}.gdoc-markdown__figure img{max-width:100%;height:auto}.gdoc-markdown img{max-width:100%;border-radius:.15rem}.gdoc-markdown blockquote{margin:1rem 0;padding:.5rem 1rem .5rem .75rem;border-left:3px solid var(--accent-color);border-radius:.15rem}.gdoc-markdown table:not(.lntable):not(.highlight){display:table;border-spacing:0;border-collapse:collapse;margin-top:1rem;margin-bottom:1rem;width:100%;text-align:left}.gdoc-markdown table:not(.lntable):not(.highlight) thead{border-bottom:3px solid var(--accent-color)}.gdoc-markdown table:not(.lntable):not(.highlight) tr th,.gdoc-markdown table:not(.lntable):not(.highlight) tr td{padding:.5rem 1rem}.gdoc-markdown table:not(.lntable):not(.highlight) tr{border-bottom:1.5px solid var(--accent-color)}.gdoc-markdown table:not(.lntable):not(.highlight) tr:nth-child(2n){background:var(--accent-color-lite)}.gdoc-markdown hr{height:1.5px;border:none;background:var(--accent-color)}.gdoc-markdown ul,.gdoc-markdown ol{padding-left:2rem}.gdoc-markdown dl dt{font-weight:bolder;margin-top:1rem}.gdoc-markdown dl dd{margin-left:2rem}.gdoc-markdown code{padding:.25rem .5rem}.gdoc-markdown pre,.gdoc-markdown code{background-color:var(--code-background);border-radius:.15rem;color:var(--code-font-color);font-size:.875rem;line-height:1rem}.gdoc-markdown pre code{display:block;padding:1rem;width:100%}.gdoc-markdown mark{background-color:var(--mark-color)}.gdoc-markdown__align--left{text-align:left}.gdoc-markdown__align--left h1,.gdoc-markdown__align--left h2,.gdoc-markdown__align--left h3,.gdoc-markdown__align--left h4,.gdoc-markdown__align--left h5,.gdoc-markdown__align--left h6{justify-content:flex-start}.gdoc-markdown__align--center{text-align:center}.gdoc-markdown__align--center h1,.gdoc-markdown__align--center h2,.gdoc-markdown__align--center h3,.gdoc-markdown__align--center h4,.gdoc-markdown__align--center h5,.gdoc-markdown__align--center h6{justify-content:center}.gdoc-markdown__align--right{text-align:right}.gdoc-markdown__align--right h1,.gdoc-markdown__align--right h2,.gdoc-markdown__align--right h3,.gdoc-markdown__align--right h4,.gdoc-markdown__align--right h5,.gdoc-markdown__align--right h6{justify-content:flex-end}.admonitionblock{margin:1rem 0;padding:0;border-left:3px solid var(--accent-color);border-radius:.15rem}.admonitionblock.info{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40}.admonitionblock.note{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40}.admonitionblock.ok{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40}.admonitionblock.tip{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40}.admonitionblock.important{border-left-color:#ffab00;background-color:#fdfaf4;color:#343a40}.admonitionblock.caution{border-left-color:#7300d3;background-color:#f8f2fd;color:#343a40}.admonitionblock.danger{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40}.admonitionblock.warning{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40}.admonitionblock table{margin:0 !important;padding:0 !important}.admonitionblock table tr{border:0 !important}.admonitionblock table td{display:block;padding:.25rem 1rem !important}.admonitionblock table td:first-child{background-color:rgba(134,142,150,.05);font-weight:bold}.admonitionblock table td:first-child.icon .title{display:flex;align-items:center}.admonitionblock table td:first-child.icon i.fa::after{content:attr(title);font-style:normal;padding-left:1.5rem}.admonitionblock table td:first-child.icon i.fa{color:#000;background-size:auto 90%;background-repeat:no-repeat;filter:invert(30%);margin-left:-5px}.admonitionblock table td:first-child.icon i.fa.icon-info{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.admonitionblock table td:first-child.icon i.fa.icon-note{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.admonitionblock table td:first-child.icon i.fa.icon-ok{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.admonitionblock table td:first-child.icon i.fa.icon-tip{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.admonitionblock table td:first-child.icon i.fa.icon-important{background-image:url(img/geekdoc-stack.svg#gdoc_error_outline)}.admonitionblock table td:first-child.icon i.fa.icon-caution{background-image:url(img/geekdoc-stack.svg#gdoc_dangerous)}.admonitionblock table td:first-child.icon i.fa.icon-danger{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.admonitionblock table td:first-child.icon i.fa.icon-warning{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.gdoc-expand{margin:1rem 0;border:1px solid var(--accent-color);border-radius:.15rem;overflow:hidden}.gdoc-expand__head{background:var(--accent-color-lite);padding:.5rem 1rem;cursor:pointer}.gdoc-expand__content{display:none;padding:0 1rem}.gdoc-expand__control:checked+.gdoc-expand__content{display:block}.gdoc-expand .gdoc-page__anchor{display:none}.gdoc-tabs{margin:1rem 0;border:1px solid var(--accent-color);border-radius:.15rem;overflow:hidden;display:flex;flex-wrap:wrap}.gdoc-tabs__label{display:inline-block;padding:.5rem 1rem;border-bottom:1px rgba(0,0,0,0);cursor:pointer}.gdoc-tabs__content{order:999;width:100%;border-top:1px solid var(--accent-color-lite);padding:0 1rem;display:none}.gdoc-tabs__control:checked+.gdoc-tabs__label{border-bottom:1.5px solid var(--link-color)}.gdoc-tabs__control:checked+.gdoc-tabs__label+.gdoc-tabs__content{display:block}.gdoc-tabs .gdoc-page__anchor{display:none}.gdoc-columns{margin:1rem 0}.gdoc-columns--regular>:first-child{flex:1}.gdoc-columns--small>:first-child{flex:.35;min-width:7rem}.gdoc-columns--large>:first-child{flex:1.65;min-width:33rem}.gdoc-columns__content{flex:1 1;min-width:13.2rem;padding:0}.gdoc-columns .gdoc-post__anchor{display:none}.gdoc-button{margin:1rem 0;display:inline-block;background:var(--accent-color-lite);border:1px solid var(--accent-color);border-radius:.15rem;cursor:pointer}.gdoc-button__link{display:inline-block;color:inherit !important;text-decoration:none !important}.gdoc-button:hover{background:var(--button-background);border-color:var(--button-border-color);color:#f8f9fa}.gdoc-button--regular{font-size:16px}.gdoc-button--regular .gdoc-button__link{padding:.25rem .5rem}.gdoc-button--large{font-size:1.25rem}.gdoc-button--large .gdoc-button__link{padding:.5rem 1rem}.gdoc-hint.info{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40;padding:0}.gdoc-hint.note{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40;padding:0}.gdoc-hint.ok{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40;padding:0}.gdoc-hint.tip{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40;padding:0}.gdoc-hint.important{border-left-color:#ffab00;background-color:#fdfaf4;color:#343a40;padding:0}.gdoc-hint.caution{border-left-color:#7300d3;background-color:#f8f2fd;color:#343a40;padding:0}.gdoc-hint.danger{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40;padding:0}.gdoc-hint.warning{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40;padding:0}.gdoc-hint__title{padding:.25rem 1rem;background-color:rgba(134,142,150,.05);font-weight:bold;color:rgba(52,58,64,.85)}.gdoc-hint__title i.fa::after{content:attr(title);font-style:normal;padding-left:1.5rem}.gdoc-hint__title i.fa{color:#000;background-size:auto 90%;background-repeat:no-repeat;filter:invert(30%);margin-left:-5px}.gdoc-hint__title i.fa.info{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.gdoc-hint__title i.fa.note{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.gdoc-hint__title i.fa.ok{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.gdoc-hint__title i.fa.tip{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.gdoc-hint__title i.fa.important{background-image:url(img/geekdoc-stack.svg#gdoc_error_outline)}.gdoc-hint__title i.fa.caution{background-image:url(img/geekdoc-stack.svg#gdoc_dangerous)}.gdoc-hint__title i.fa.danger{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.gdoc-hint__title i.fa.warning{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.gdoc-hint__title .gdoc-icon{width:1.5rem;height:1.5rem;margin-left:-5px}.gdoc-hint__text{padding:.25rem 1rem}.gdoc-hint .gdoc-page__anchor{display:none}.gdoc-mermaid{font-family:"Liberation Sans",sans-serif}.gdoc-mermaid>svg{height:100%;padding:.5rem}.gdoc-props__title,.gdoc-props__default{padding:0;margin:0;font-family:"Liberation Mono",monospace}.gdoc-props__meta{gap:.5em;line-height:normal;margin-bottom:.25rem}.gdoc-props__meta:hover .gdoc-page__anchor svg.gdoc-icon{color:var(--control-icons)}.gdoc-props__tag.info{border-color:#e8f4fb;background-color:#f3f9fd}.gdoc-props__tag.note{border-color:#e8f4fb;background-color:#f3f9fd}.gdoc-props__tag.ok{border-color:#e5faee;background-color:#f2fdf6}.gdoc-props__tag.tip{border-color:#e5faee;background-color:#f2fdf6}.gdoc-props__tag.important{border-color:#fbf5e9;background-color:#fdfaf4}.gdoc-props__tag.caution{border-color:#f1e6fb;background-color:#f8f2fd}.gdoc-props__tag.danger{border-color:#fbe6e6;background-color:#fdf2f2}.gdoc-props__tag.warning{border-color:#fbe6e6;background-color:#fdf2f2}.gdoc-props__tag{font-size:.875rem;font-weight:normal;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:.15rem;padding:.125rem .25rem;color:#343a40}.gdoc-props__default{font-size:.875rem}.gdoc-progress{margin-bottom:1rem}.gdoc-progress__label{padding:.25rem 0}.gdoc-progress__label--name{font-weight:bold}.gdoc-progress__wrap{background-color:var(--accent-color-lite);border-radius:1em;box-shadow:inset 0 0 0 1px var(--accent-color)}.gdoc-progress__bar{height:1em;border-radius:1em;background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.125) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.125) 50%, rgba(255, 255, 255, 0.125) 75%, transparent 75%, transparent);background-size:2.5em 2.5em;background-color:#205375 !important} \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/mobile-79ddc617.min.css b/docs/themes/hugo-geekdoc/static/mobile-79ddc617.min.css new file mode 100644 index 00000000..abf3504d --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/mobile-79ddc617.min.css @@ -0,0 +1 @@ +@media screen and (max-width: 41rem){.gdoc-nav{margin-left:-18rem;font-size:16px}.gdoc-nav__control{display:inline-block}.gdoc-header svg.gdoc-icon{width:1.5rem;height:1.5rem}.gdoc-brand{font-size:1.5rem;line-height:1.5rem}.gdoc-brand__img{display:none}.gdoc-menu-header__items{display:none}.gdoc-menu-header__control,.gdoc-menu-header__home{display:flex}.gdoc-error{padding:6rem 1rem}.gdoc-error svg.gdoc-icon{width:6rem;height:6rem}.gdoc-error__message{padding-left:2rem}.gdoc-error__line{padding:.25rem 0}.gdoc-error__title{font-size:2rem}.gdoc-page__header .breadcrumb,.hidden-mobile{display:none}.flex-mobile-column{flex-direction:column}.flex-mobile-column.gdoc-columns{margin:2rem 0}.flex-mobile-column .gdoc-columns__content{min-width:auto;margin:0}#menu-control:checked~main .gdoc-nav nav,#menu-control:checked~main .gdoc-page{transform:translateX(18rem)}#menu-control:checked~main .gdoc-page{opacity:.25}#menu-control:checked~.gdoc-header .gdoc-nav__control svg.gdoc-icon.gdoc_menu{display:none}#menu-control:checked~.gdoc-header .gdoc-nav__control svg.gdoc-icon.gdoc_arrow_back{display:inline-block}#menu-header-control:checked~.gdoc-header .gdoc-brand{display:none}#menu-header-control:checked~.gdoc-header .gdoc-menu-header__items{display:flex}#menu-header-control:checked~.gdoc-header .gdoc-menu-header__control svg.gdoc-icon.gdoc_keyboard_arrow_left{display:none}} \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/static/print-735ccc12.min.css b/docs/themes/hugo-geekdoc/static/print-735ccc12.min.css new file mode 100644 index 00000000..01994899 --- /dev/null +++ b/docs/themes/hugo-geekdoc/static/print-735ccc12.min.css @@ -0,0 +1 @@ +@media print{.gdoc-nav,.gdoc-footer .container span:not(:first-child),.gdoc-paging,.editpage{display:none}.gdoc-footer{border-top:1px solid #dee2e6}.gdoc-markdown pre{white-space:pre-wrap;overflow-wrap:break-word}.chroma code{border:1px solid #dee2e6;padding:.5rem !important;font-weight:normal !important}.gdoc-markdown code{font-weight:bold}a,a:visited{color:inherit !important;text-decoration:none !important}.gdoc-toc{flex:none}.gdoc-toc nav{position:relative;width:auto}.wrapper{display:block}.wrapper main{display:block}} \ No newline at end of file diff --git a/docs/themes/hugo-geekdoc/theme.toml b/docs/themes/hugo-geekdoc/theme.toml new file mode 100644 index 00000000..90b7cf59 --- /dev/null +++ b/docs/themes/hugo-geekdoc/theme.toml @@ -0,0 +1,12 @@ +name = "Geekdoc" +license = "MIT" +licenselink = "https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE" +description = "Hugo theme made for documentation" +homepage = "https://geekdocs.de/" +demosite = "https://geekdocs.de/" +tags = ["docs", "documentation", "responsive", "simple"] +min_version = "0.112.0" + +[author] + name = "Robert Kaussow" + homepage = "https://thegeeklab.de/"